/*
 * Theme Name:  Blueprint Child
 * Theme URI:   https://codesupply.co/themes/blueprint/
 * Description: Blueprint Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    blueprint
 * Version:     1.2.2.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */

/**
	UPDATING NOTE
	--------------
	After you make changes to this file, then please
	UPDATE THE VERSION number above by .1
	-
	This update will cause WordPress to append ?ver=1.0.x
	to CSS requests for this style, ensuring that users
	get the latest version!
**/

/********** Body Styles ***************************/

body {
  /* variables - Desktop */
  --aspect-ratio-width: 1903;
  --aspect-ratio-height: 1080;
  --global-padding: 140;

  /* font size, padding bases */
  --font-size-base: calc(
    var(--global-content-width, 100vw) / var(--aspect-ratio-width)
  );
  --padding: calc(var(--font-size-base) * var(--global-padding));

  /* overrides */
  --cs-header-initial-height: calc(var(--font-size-base) * 121) !important;
}

@media (max-width: 1028px) {
  body {
    --cs-header-initial-height: calc(
      var(--font-size-base) * (127 + 24)
    ) !important;
  }
}

@media (max-width: 600px) {
  body {
    /* variables - Mobile */
    --aspect-ratio-width: 480;
    --aspect-ratio-height: 720;
    --global-padding: 40;

    /* overrides */
    --cs-header-initial-height: calc(var(--font-size-base) * 127) !important;
  }
}

/********** Container *****************************/

.cs-site-content {
  margin: calc(var(--padding, 0) * 0.5) 0;
}
@media (max-width: 600px) {
  .cs-site-content {
    margin: var(--padding, 0) 0;
  }
}

.singe .cs-site-content div.cs-container,
.page-template-template-canvas-fullwidth .cs-site-content > .cs-container,
div.cs-container {
  max-width: var(--global-content-width) !important;
  width: 100%;

  margin: auto;
  padding-inline: var(--padding, 2em) !important;
}

.cnvs-block-section-outer {
  padding-inline: 0 !important;
}

/********** HEADER ********************************/

.cs-header {
  background: white !important;
}

.cs-header::before {
  content: none !important;
}

.tvg-header-logo {
  width: auto;
  height: calc(var(--font-size-base) * 96);

  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 1028px) {
  .tvg-header-logo {
    height: calc(var(--font-size-base) * 120);
  }
}
@media (max-width: 600px) {
  .tvg-header-logo {
    height: calc(var(--font-size-base) * 60);
  }
}

.tvg-header-logo-container a {
  isolation: isolate;
}

.hamburger-button {
  background: none !important;
  outline: none;
  border: none;

  cursor: pointer;

  display: none;
}

@media (max-width: 600px) {
  .hamburger-button {
    display: unset;

    margin: calc(var(--font-size-base) * -32);
    padding: calc(var(--font-size-base) * 32);
  }
}

.hamburger-button .screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hamburger-graphic {
  width: 1em;
  height: auto;
}

.hamburger-animation {
  width: calc(var(--font-size-base) * 32);
  height: auto;

  fill: #d22029;
  transition: fill 0.25s ease-in-out;
}
.hamburger-animation svg,
.hamburger-animation svg g,
.hamburger-animation svg g path {
  fill: inherit !important;
}

@media (max-width: 600px) {
  #nav-links {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    flex-direction: column;
    gap: 0;

    padding: 0;

    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;

    max-height: calc(100vh - var(--font-size-base) * 127);
    max-height: calc(100dvh - var(--font-size-base) * 127);

    background: white;

    pointer-events: none;
    display: none;
  }

  #nav-links.open {
    display: flex;
    pointer-events: unset;
  }
}

.tvg-header-links {
  display: flex;

  gap: calc(var(--font-size-base) * 50);
}
@media (max-width: 1028px) {
  .tvg-header-links {
    gap: calc(var(--font-size-base) * 70);
  }
}
@media (max-width: 600px) {
  .tvg-header-links {
    flex-direction: column;
    gap: 0;

    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
  }

  html.disable-scroll {
    overflow: hidden;
  }
}

.tvg-header-links span {
  white-space: nowrap;
}

.tvg-header-link-address {
  display: flex;

  align-items: center;

  gap: calc(var(--font-size-base) * 20);

  text-decoration: none;
  font-style: normal;
  color: #323232;
  font-weight: 400;

  font-size: calc(var(--font-size-base) * 20);
}
@media (max-width: 1028px) {
  .tvg-header-link-address {
    font-size: calc(var(--font-size-base) * 28);
  }
}
@media (max-width: 600px) {
  .tvg-header-link-address {
    flex-direction: column;
    gap: calc(var(--font-size-base) * 10);

    font-size: calc(var(--font-size-base) * 18);
  }
}

.tvg-header-link-address:hover {
  text-decoration: none;
  color: #d22029;
}

.tvg-header-link-address .tvg-header-link-icon {
  width: calc(var(--font-size-base) * 30);
  height: calc(var(--font-size-base) * 30);
}

.tvg-header-link-blog {
  color: #d22029;
  font-size: calc(var(--font-size-base) * 20);
}
@media (max-width: 1028px) {
  .tvg-header-link-blog {
    font-size: calc(var(--font-size-base) * 28);
  }
}
@media (max-width: 600px) {
  .tvg-header-link-blog {
    font-size: calc(var(--font-size-base) * 20);
  }
}

.tvg-header-link-blog b {
  font-weight: 900 !important;
  margin-right: -0.09ch;
}

.tvg-header-link-blog:hover {
  color: #d22029 !important;
}

@media (max-width: 600px) {
  .tvg-header-link {
    font-size: calc(var(--font-size-base) * 20);

    height: calc(var(--font-size-base) * 80);

    display: grid;
    place-items: center;

    position: relative;
  }

  .tvg-header-link:hover,
  .tvg-header-link:active {
    background: #d22029;
    color: white !important;
  }

  .tvg-header-link::before {
    content: '';

    position: absolute;

    width: 100%;
    height: calc(100% + 1px);

    border-block: solid 1px #d1d1d1;
  }
}

.tvg-header-link-button {
  position: relative;

  height: fit-content;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0.85em 2em;

  font-size: calc(var(--font-size-base) * 20);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none !important;

  color: #d22029;
  border: none;
  outline: 1px solid #d22029;
  outline-offset: -1.5px;

  will-change: transform;

  cursor: pointer;

  clip-path: inset(0 var(--button-mask-reveal, 0%) 0 0);
}
@media (max-width: 1028px) {
  .tvg-header-link-button {
    font-size: calc(var(--font-size-base) * 28);
  }
}
@media (max-width: 600px) {
  .tvg-header-link-button {
    color: #323232;
    outline: none;

    transition: none !important;
    clip-path: none !important;

    font-size: calc(var(--font-size-base) * 20);

    height: calc(var(--font-size-base) * 80);

    display: grid;
    place-items: center;

    position: relative;

    text-decoration: none;
  }

  .tvg-header-link-button::after {
    content: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .tvg-header-link-button:hover,
  .tvg-header-link-button:active {
    background: #d22029;
    color: white;
  }

  .tvg-header-link-button::before {
    content: '';

    position: absolute;

    width: 100%;
    height: calc(100% + 1px);

    border-block: solid 1px #d1d1d1;
  }
}

.tvg-header-link-button::after {
  content: 'CONTACT US';

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #d22029;
  color: white;

  will-change: transform;

  padding: 1em 2em;

  font-size: calc(var(--font-size-base) * 20);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;

  clip-path: inset(0 0 0 var(--button-mask-hidden, 100%));
  transition: clip-path 0.3s;
}

.tvg-header-link-button:focus {
  outline: #d22029 solid calc(var(--font-size-base) * 2);
  outline-offset: calc(var(--font-size-base) * 2);
}

.tvg-header-link-button:hover::after {
  clip-path: inset(0 0 0 0);
}

.tvg-header-link-button:active::after {
  clip-path: inset(0 0 0 100%);
}

/* Style for BLOG TALK text in header */
.tvgla-header-blog-talk {
  font-family: var(--cs-font-primary-menu-family), sans-serif;
  font-weight: 900;
  color: #d22029;
  transform: translateX(3.5em);
}

/********** FOOTER ********************************/

.cs-footer {
  padding-block: calc(var(--padding, 0) * 0.25);

  background: white;
  color: #323232;
}
@media (max-width: 600px) {
  .cs-footer {
    position: relative;

    margin-top: 0;
    padding-block: calc(var(--padding, 0) * 1.5)
      calc(var(--font-size-base) * 75);

    background: #323232;
  }

  .cs-footer::before {
    content: '';

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100vw;
    height: 100%;

    background: #323232;
  }

  .cs-footer::after {
    content: '';

    position: absolute;
    z-index: 1;

    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100vw;
    height: calc(var(--font-size-base) * 10);

    background: #d22128;
  }
}

.tvg-footer-top {
  position: relative;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;

  width: 100%;

  padding-block: calc(var(--padding, 0) * 0.5) var(--padding, 0);
}
@media (max-width: 1028px) {
  .tvg-footer-top {
    grid-template-columns: 2fr 3fr 3fr 2fr;
  }
}
@media (max-width: 600px) {
  .tvg-footer-top {
    grid-template-columns: 1fr calc(var(--font-size-base) * 42);
    grid-template-areas: 'logo logo' 'address socials' 'email socials';
    align-items: center;
    gap: calc(var(--font-size-base) * 20);

    padding-block: 0 calc(var(--font-size-base) * 60);
  }
}

.tvg-footer-logo-container {
  width: 100%;
}

@media (max-width: 600px) {
  .tvg-footer-logo-container {
    grid-area: logo;

    margin-bottom: calc(var(--font-size-base) * 28);
  }
}

.tvg-footer-logo {
  display: block;

  width: auto;
  height: calc(var(--font-size-base) * 64);

  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 1028px) {
  .tvg-footer-logo {
    height: calc(var(--font-size-base) * 80);
  }
}
@media (max-width: 600px) {
  .tvg-footer-logo {
    height: calc(var(--font-size-base) * 66);
    margin: auto;
  }
}

@media (max-width: 600px) {
  .address {
    grid-area: address;
  }

  .mail-address {
    grid-area: email;
  }
}

.tvg-footer-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  font-size: calc(var(--font-size-base) * 20);

  padding-right: 1em;

  margin: 0;
}
@media (max-width: 1028px) {
  .tvg-footer-address {
    font-size: calc(var(--font-size-base) * 28);
  }
}
@media (max-width: 600px) {
  .tvg-footer-address,
  .address a {
    align-items: left;

    text-align: left;
    font-size: calc(var(--font-size-base) * 21);
    line-height: calc(var(--font-size-base) * 30);
    font-weight: 400;

    color: white;
  }
}

.tvg-footer-address a,
.tvg-footer-address p {
  max-width: 25ch;

  font-size: 1em;
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .tvg-footer-address a,
  .tvg-footer-address p {
    max-width: 25ch;
  }
}

.tvg-footer-address a:hover {
  text-decoration: underline;
  text-decoration-thickness: calc(var(--font-size-base) * 2);
}

.tvg-footer-address a > span,
.tvg-footer-address p > span {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .tvg-footer-address a > span,
  .tvg-footer-address p > span {
    display: block;
  }
}

.tvg-footer-icon-container {
  width: 100%;
}
@media (max-width: 600px) {
  .tvg-footer-icon-container {
    display: none;
  }
}

.tvg-footer-address a.tvg-footer-mail {
  color: #d22128;

  font-weight: 1em;
  font-weight: 700;
  letter-spacing: 0.2ch;

  line-height: 1.5;
}

.tvg-footer-address p,
.tvg-footer-address a.tvg-footer-mail {
  line-height: 1.5;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .tvg-footer-address p,
  .tvg-footer-address a.tvg-footer-mail {
    line-height: 1.5;
    margin-bottom: 0;

    display: flex;
    flex-direction: column;
  }
}

.tvg-footer-icon {
  display: block;

  width: 1.5em;
  height: 1.5em;

  margin-bottom: 1em;

  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 600px) {
  .tvg-footer-icon {
    margin: auto;
    margin-bottom: 1.5em;
  }
}

.tvg-footer-socials {
  display: flex;
  gap: calc(var(--font-size-base) * 20);

  justify-content: flex-end;
  width: 100%;
}
@media (max-width: 600px) {
  .tvg-footer-socials {
    grid-area: socials;

    margin-left: auto;
    margin-bottom: auto;

    justify-content: end;
    flex-direction: column;
  }

  .tvg-footer-socials a {
    margin-right: -20%;
  }

  .tvg-footer-socials img {
    filter: brightness(0) invert(1);
    height: calc(var(--font-size-base) * 42);
  }
}

.tvg-footer-socials > a {
  height: fit-content;
}

.tvg-footer-social-logo {
  width: auto;
  height: calc(var(--font-size-base) * 38);

  display: block;

  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 1028px) {
  .tvg-footer-social-logo {
    height: calc(var(--font-size-base) * 44);
  }
}
@media (max-width: 600px) {
  .tvg-footer-social-logo {
    height: calc(var(--font-size-base) * 30);
  }
}

.tvg-footer-bottom {
  display: flex;

  font-size: calc(var(--font-size-base) * 16);
  line-height: calc(var(--font-size-base) * 30);
  font-weight: 300;

  gap: 4em;
}
@media (max-width: 1028px) {
  .tvg-footer-bottom {
    font-size: calc(var(--font-size-base) * 24);
  }
}
@media (max-width: 600px) {
  .tvg-footer-bottom {
    font-size: calc(var(--font-size-base) * 20);

    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0;

    color: #5c5b5b;
  }
}

.tvg-footer-bottom > * {
  margin: 0;
}

.tvg-footer-links {
  color: #a2a2a2;

  display: flex;
  gap: 0.5em;

  font-weight: 400;
}

.tvg-footer-link {
  text-decoration-thickness: 0;

  transition: all 0.5s ease-in;
  color: inherit !important;

  cursor: pointer;
}
@media (max-width: 600px) {
  .tvg-footer-links {
    color: #5c5b5b;
  }
}
.tvg-footer-link:hover {
  text-decoration: underline;
  text-decoration-thickness: calc(var(--font-size-base) * 2);
}

/* Make fullscreen top menu only half screen, not fullscreen */

@media (min-width: 1200px) {
  .cs-fullscreen-menu__row {
    min-height: 100px;
    max-height: 150px;
  }

  .cs-fullscreen-menu {
    max-height: 700px;
  }

  .cs-fullscreen-menu .cs-header__multi-column-posts-wrapper {
    padding-top: 48px;
    padding-top: 0px;
    margin-top: 0px;
  }
}

/********** CONTENT AREA ********************************/

/* make main content area have no top margin */
.cs-main-content .entry-content .cnvs-block-section:first-child {
  margin-top: 0px !important;
}

/******** TITLE TILE - LARGE HORIZONTAL ****************/

.cs-block-posts-layout-horizontal-type-tvg .cs-entry__outer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: calc(var(--padding, 0) * 0.5);
}

.cnvs-block-section-outer {
  max-width: 100% !important;
}

/* So we can surround the Title Tile with a, make the a tag 50% width */
.cs-block-posts-layout-horizontal-type-tvg
  .cs-entry__outer
  .cs-entry__horiz-tvg-link {
  width: 50%;
}

/* The Tile Title itself should fill 100% of the a tag width */
.cs-block-posts-layout-horizontal-type-tvg
  .cs-entry__horiz-tvg-link
  .cs-overlay-background {
  width: 100%;
  aspect-ratio: 2 / 1;
}

.cs-block-posts-layout-horizontal-type-tvg .cs-entry__inner.cs-entry__content {
  width: 50%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.cs-block-posts-layout-horizontal-type-tvg .cs-entry__title-standard-tvg h2 {
  font-size: calc(var(--font-size-base) * 100) !important;
}
@media (max-width: 718px) {
  .cs-block-posts-layout-horizontal-type-tvg .cs-entry__title-standard-tvg h2 {
    font-size: calc(var(--font-size-base) * 80) !important;
  }
}
@media (max-width: 600px) {
  .cs-block-posts-layout-horizontal-type-tvg .cs-entry__title-standard-tvg h2 {
    font-size: calc(var(--font-size-base) * 40) !important;
  }
}

@media (max-width: 1028px) {
  .cs-block-posts-layout-horizontal-type-tvg .cs-entry__excerpt {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 718px) {
  /* So we can surround the Title Tile with a, make the a tag 100% width at this breakpoint */
  .cs-block-posts-layout-horizontal-type-tvg
    .cs-entry__outer
    .cs-entry__horiz-tvg-link {
    width: 100%;
  }

  .cs-block-posts-layout-horizontal-type-tvg
    .cs-entry__inner.cs-entry__content {
    width: 100%;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }

  .cs-block-posts-layout-horizontal-type-tvg .cs-entry__outer {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
  }

  .cs-block-posts-layout-horizontal-type-tvg .cs-overlay-background {
    width: 100%;
    aspect-ratio: 2 / 1;
  }

  .cs-block-posts-layout-horizontal-type-tvg
    .cs-overlay-background
    .cs-entry__title-standard-tvg {
    aspect-ratio: 2 / 1;
  }

  .cs-block-posts-layout-horizontal-type-tvg
    .cs-entry__inner.cs-entry__content {
    padding: 0em calc(var(--padding, 0) * 0.25) 0em
      calc(var(--padding, 0) * 0.25) !important;
  }
}

@media (max-width: 600px) {
  .cs-block-posts-layout-horizontal-type-tvg .cs-entry__horiz-tvg-link {
    width: 100%;
  }

  .cs-block-posts-layout-horizontal-type-tvg
    .cs-entry__horiz-tvg-link
    .cs-overlay-background {
    aspect-ratio: 1 / 1;
  }

  .cs-block-posts-layout-horizontal-type-tvg
    .cs-entry__horiz-tvg-link
    .cs-overlay-background
    .cs-entry__title-standard-tvg {
    aspect-ratio: 1 / 1;
  }
}

/********** TITLE TILES - GENERAL ****************/

/* Make category labels TVGla red with white text */
.cs-entry__post-meta .cs-meta-category .post-categories li a {
  background-color: #d22128;
  color: white;
}

/* Make preview entry text indented and smaller */
.cs-entry__content {
  margin: calc(var(--padding, 0) * 0.25) calc(var(--padding, 0) * 0.25) 0em
    calc(var(--padding, 0) * 0.25) !important;
  display: flex;
  gap: calc(var(--padding, 0) * 0.125);
  flex-direction: column;
  justify-content: space-between;
  min-height: 4rem;
}

.cs-entry__title-wrapper {
  margin-top: 0 !important;
}

#secondary .widget.widget_block article.post.cs-entry > div > div {
  min-height: fit-content;
}

#secondary .cs-entry__title-standard-tvg h2 {
  /* font-size: calc(var(--font-size-base) * 56) !important; */
  font-size: min(35px, calc(var(--font-size-base) * 56)) !important;
  padding-top: 0.9em;
}
@media (max-width: 1028px) {
  #secondary .cs-entry__title-standard-tvg h2 {
    font-size: calc(var(--font-size-base) * 48) !important;
  }
}

.cs-entry__outer > a:hover h2.cs-entry__title {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}

h2.cs-entry__title {
  position: relative;

  margin: 0 !important;
}

h2.cs-entry__title::before {
  /* content: ''; */

  shape-outside: content-box;
  float: right;

  width: calc(2.5rem + 0.5rem);
  height: 1rem;
}

/* The content includes a stray empty a tag, so don't display it */
.cs-entry__content > a:first-of-type {
  display: none;
}

/* Make post meta in preview have less margin */
.cs-entry__post-meta {
  margin-top: 0.5em !important;
}

/* Remove indent from excerpt first line */
.cs-entry__excerpt {
  margin-left: 0 !important;
}

/* Style Title Tiles on Home Screen */
.cs-entry__title-standard-tvg {
  height: 100%;
  width: 100%;
  padding: 1.5em;
  color: white;
  background-color: #d22128 !important;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1 / 1;
}

/********** TITLE TILES - COLORS ****************/

/* .cs-entry__title-standard-tvg.cat-thought-leadership {
	background-color: #d22128 !important;
}

.cs-entry__title-standard-tvg.cat-news {
	background-color: #BC2638 !important;
}

.cs-entry__title-standard-tvg.cat-action {
	background-color: #393939 !important;
}

.cs-entry__title-standard-tvg.cat-culture {
	background-color: #A2A2A2 !important;
} */

/********* TITLE TILES - RESPONSIVE *********/

/* Default Largest desktop - 5 columns */
.cs-entry__title-standard-tvg h2 {
  font-size: 2.2rem !important;
  font-size: calc((7 - var(--cs-posts-area-grid-columns) * 1rem)) !important;
  font-size: 4.5rem !important;
  font-weight: 900;
}

.cs-posts-area__main.cs-block-posts-layout-standard-type-tvg.cs-display-borders-between-posts
  .cs-entry__title-standard-tvg
  h2 {
  font-size: calc(var(--font-size-base) * 48) !important;
}
@media (max-width: 1028px) {
  .cs-posts-area__main.cs-block-posts-layout-standard-type-tvg.cs-display-borders-between-posts
    .cs-entry__title-standard-tvg
    h2 {
    font-size: calc(var(--font-size-base) * 80) !important;
  }
}
@media (max-width: 600px) {
  .cs-posts-area__main.cs-block-posts-layout-standard-type-tvg.cs-display-borders-between-posts
    .cs-entry__title-standard-tvg
    h2 {
    font-size: calc(var(--font-size-base) * 40) !important;
  }
}

/* Large desktop - 4 columns */
@media (max-width: 1536px) {
  .cs-posts-area__main.cs-block-posts-layout-standard-type-tvg.cs-display-borders-between-posts {
    --cs-posts-area-grid-columns: 3 !important;
    /* --cs-posts-area-grid-columns: 2 !important; */
  }
}

/* In archive list view, make the grid 2 columns here */
@media (max-width: 1471px) {
  .cs-posts-area__archive.cs-posts-area__grid.cs-posts-area__withsidebar {
    --cs-posts-area-grid-columns: 2 !important;
  }

  .cs-posts-area__main.cs-block-posts-layout-standard-type-tvg.cs-display-borders-between-posts {
    --cs-posts-area-grid-columns: 3 !important;
    /* --cs-posts-area-grid-columns: 2 !important; */
  }
}

/* Normal desktop - 3 columns */
@media (max-width: 1028px) {
  .cs-posts-area__main.cs-block-posts-layout-standard-type-tvg.cs-display-borders-between-posts {
    /* --cs-posts-area-grid-columns: 3 !important; */
    --cs-posts-area-grid-columns: 2 !important;
  }
}

/* Mobile - 1 column */
@media (max-width: 600px) {
  .cs-posts-area__main.cs-block-posts-layout-standard-type-tvg.cs-display-borders-between-posts,
  .cs-posts-area__main.cs-block-posts-layout-horizontal-type-tvg.cs-display-column.cs-posts-area__image-width-half {
    --cs-posts-area-grid-columns: 1 !important;
    min-width: 256px;
  }

  /* In archive view, show 1 column at this breakpoint */
  .cs-posts-area__archive.cs-posts-area__grid.cs-posts-area__withsidebar {
    --cs-posts-area-grid-columns: 1 !important;
  }
}

.cs-entry__excerpt {
  font-size: 1rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* TVG Wing in colored boxes */

.cs-entry__tvg-wings-triangle {
  /** Make black triangle in upper right corner **/
  position: absolute;
  top: 0px;
  right: 0px;
  width: 3em;
  height: 3em;
  z-index: 5;
  /* border: 5px solid #323232;
	border-color: #323232 transparent transparent transparent;
	border-width: 60px 0 0 60px; */
}

.cs-entry__tvg-wings {
  position: absolute;
  /* top: 3px;
	right: 2px; */
  top: 1em;
  right: 1em;
  z-index: 5;
}

.cs-entry__tvg-wings svg {
  /* width: 2.25em; */
  width: 2.75em;
  height: auto;
  z-index: 6;
}

.cs-entry__tvg-wings svg path {
  fill: white;
  opacity: 0.5;
}

/******** DEFAULT SIDEBAR TITLE TILES ********************************/

/* Vary height of sidebar tiles instead of square */
.tvg-default-sidebar .cs-entry__title-standard-tvg {
  aspect-ratio: auto;
}

.tvg-default-sidebar
  .cs-posts-area__main.cs-block-posts-layout-standard-type-tvg {
  --cs-posts-area-grid-gap: 0px !important;
}

/********* FOOTER ************************/

/* Make footer logo small */
a.cs-footer__logo img {
  width: 7rem;
}

/* Style footer address and email columns */

.cs-footer__nav-inner li {
  padding: 0.1rem;
}

.cs-footer__inner * {
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

.tvg-footer-column-text {
  text-transform: none !important;
  font-weight: 100 !important;
  white-space: nowrap !important;
}

.tvg-footer-column-text.email-link {
  font-weight: 900 !important;
  color: #d22128;
}

.tvg-footer-column-img {
  height: 18px;
  width: 18px;
}

.cs-footer__nav-label:not(:last-child) {
  margin-bottom: 0.75rem;
}

/** Make footer logo fit content **/
.cs-footer__col.cs-col-left {
  max-width: fit-content !important;
  margin-right: 5% !important;
}

.cs-footer__col.cs-col-right {
  max-width: 120px;
}

/** Make Address and Email left align in their area **/
.cs-footer__nav {
  justify-content: start !important;
  grid-gap: 120px !important;
}

/** Make footer bottom links left aligned **/
.cs-footer__nav-item {
  align-items: flex-start;
}

@media (max-width: 1199px) {
  .cs-footer__bottom .cs-footer__col.cs-col-right {
    margin-top: 0;
  }
}

@media (max-width: 1019px) {
  .cs-footer__top .cs-footer__col.cs-col-left {
    margin-bottom: 35px;
  }

  .cs-footer__top .cs-footer__col.cs-col-left::after {
    content: '';
    padding-bottom: 20px;
    border-bottom: 2px solid #d22128;
    position: absolute;
    width: 90%;
    left: 0;
    transform: translate3D(5%, 60px, 0);
  }

  a.cs-footer__logo img {
    width: 11rem;
  }

  .cs-footer__nav-item .cs-footer__nav-label,
  .cs-footer__nav-item .cs-footer__nav-inner {
    align-self: center !important;
    flex-direction: column;
    align-items: center;
  }

  .tvg-footer-column-img {
    height: 30px;
    width: 30px;
  }

  .cs-footer__nav {
    grid-gap: 40px !important;
  }

  .cs-footer__bottom .cs-footer__col.cs-col-right {
    margin-top: 20px !important;
  }
}

/** Bottom footer font size (copyright, links) */
.cs-footer__bottom * {
  font-size: 0.9rem !important;
}

/** Footer social icons -- reduce spacing **/

.pk-social-links-template-nav .pk-social-links-item:not(:last-child) {
  margin-right: 0.3rem;
}

/** LinkedIn icon - Use image not Unicode character **/

.pk-icon-linkedin:before {
  content: none;
}

.pk-icon-linkedin {
  width: 2rem;
  height: 1.72rem;
  background-image: url(/blog/wp-content/uploads/2023/08/linkedin-logo.png);
  background-size: 2rem 1.72rem;
}

/** Instagram icon - Use image not Unicode character **/

.pk-icon-instagram:before {
  content: '';
}

.pk-icon-instagram {
  width: 1.72rem;
  height: 1.72rem;
  background-image: url(/blog/wp-content/uploads/2023/08/instagram-logo.png);
  background-size: 1.72rem;
}

/** Footer Links - Privacy / Terms **/

/** Color **/
.cs-footer__nav.cs-footer__nav-horizontal .cs-footer__nav-inner li a {
  color: rgb(162, 162, 162) !important;
}

/** Underline on hover **/
.cs-footer__nav.cs-footer__nav-horizontal .cs-footer__nav-inner li a:hover {
  text-decoration: underline !important;
}

/** Privacy Policy Link - Padding */
#menu-footer.cs-footer__nav-inner li:first-child {
  padding: 0.25rem 0 0.25rem 0;
}

/** Privacy Policy Link - Border on right */
#menu-footer.cs-footer__nav-inner li:first-child a::after {
  content: ' | ';
  margin-left: 0.5rem;
}

/** Terms of Use Link - Change Padding and Margin */
#menu-footer.cs-footer__nav-inner li:last-child {
  padding: 0.25rem 0 0.25rem 0.5rem;
  margin-left: 0;
}

/************ COOKIE CONSENT MODAL ********************/

/* Style the Cookie Consent Modal */
.cc-banner,
.cc-window {
  background-color: #ffffff;
  border-top: 3px solid black;
  font-family: 'Raleway', sans-serif !important;
}

.cc-btn {
  background-color: rgb(210, 33, 40) !important;
  color: #ffffff !important;
}

.cc-btn:hover {
  background-color: rgb(210, 33, 40) !important;
  color: #000000 !important;
}

/*** VIEWPOINT HEADER STYLES ***/

.tvg-viewpoint-header {
  margin-bottom: calc(var(--padding, 0) * 0.5);

  color: #d22029;

  font-size: calc(var(--font-size-base) * 120);
  font-weight: 400;
}
@media (max-width: 600px) {
  .tvg-viewpoint-header {
    font-size: calc(var(--font-size-base) * 60);
  }
}

.tvg-viewpoint-header b {
  font-weight: 900;
  margin-right: -0.09ch;
}

div.cs-posts-area__main.cs-display-borders-between-posts {
  gap: calc(var(--padding, 0) * 0.5) !important;
  --cs-posts-area-grid-gap: calc(var(--padding, 0) * 0.5) !important;
}

/*** POST PAGE RIGHT SIDE SOCIAL LINKS RESTYLING ********************/

.powerkit_social_links_widget .pk-social-links-items {
  background-color: unset;
  padding: 0 0 !important;
}

.pk-social-links-template-col-5 .pk-social-links-item {
  flex: none !important;
}

.pk-social-links-template-columns .pk-social-links-link {
  padding-left: 0px !important;
}

/***** TEMPORARY FOR LOCAL ONLY ****/

/****
.pk-icon-linkedin {
	background-image: url(/wp-content/uploads/2023/08/linkedin-logo.png);
}

.pk-icon-instagram {
	background-image: url(/wp-content/uploads/2023/08/instagram-logo.png);
}
*****/

.pk-share-buttons-after-post.pk-share-buttons-scheme-simple-light
  .pk-share-buttons-item {
  flex-grow: 1;
}

.pk-icon-twitter:before {
  content: '\1d54f';
  font-weight: bolder;
}

.cs-navbar-smart-enabled .cs-header.cs-header-smart-visible {
  /* position: fixed; */
}

@media screen and (max-width: 790px) {
  .cc-btn:not(.cc-info):not(.cc-save) {
    white-space: nowrap !important;
    width: fit-content !important;
  }
}

@media screen and (max-width: 800px) {
  body {
    background-color: white;
  }
}

.cnvs-block-section-heading {
  display: none !important;
}

.cs-meta-author-inner {
  pointer-events: none !important;
}

.cs-entry__title wbr::before {
  content: '-';
}
