/* set variables */
:root {
  color-scheme: light dark;
  --heading: 'Karma', serif;
  --text: 'Manrope', sans-serif;
  --icons: 'Font Awesome 6 Pro';
  --white: #ffffff;
  --black: #0D182A;
  --teal: #00BFA6;
  --coral: #FF6253;
  --pearl: #F6F7F9;
  --mist: #DDE1E7;
  --blizzard: #A5B6C0;
  --graphite: #424955;
  --bg: var(--white);
  --color: var(--black);
  --transition-fast: all 100ms ease-out;
  --transition-normal: all 200ms ease-out;
  --transition-slow: all 400ms ease-out;
}

::selection {
  background: #5f7f92;
  color: var(--white);
}

/* box sizing rules */
*,*::before,*::after {
  box-sizing: border-box;
}

/* set html core defaults */
html {
  min-height: 100%;
  overflow-y: scroll;
	scroll-behavior: smooth;
}

/* remove default margin */
body,h1,h2,h3,h4,p,ul,ol,li,figure,figcaption,blockquote,dl,dd {
  margin: 0;
}

/* set core body defaults */
body {
  min-height: 100vh;
	height: 100%;
  margin: 0 auto;
  text-rendering: optimizeSpeed;
  background: var(--bg);
  font-family: var(--text);
  font-size: clamp(0.9375rem, 0.8953rem + 0.1163vw, 1rem);
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--color);
  line-height: 1.7;
}

/* Manual dark (toggle only) */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--black);
  --color: var(--white);
  --blizzard: #4a5767;
  --mist: #323a46;
  --graphite: #6c7684;
}

/* Logo swap using CSS (keeps HTML simple) */
.site-brand .site-logo {
  display: block;
  width: 122px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("https://thriverevenue.com/wp-content/uploads/2025/08/thrive-logo.svg");
}
html[data-theme="dark"] .site-brand .site-logo {
  background-image: url("https://thriverevenue.com/wp-content/uploads/2025/08/thrive-logo-white-1.svg");
}

/* Example: make components listen to tokens (no hardcoded colors) */
body { background: var(--bg); color: var(--color); }
body:not(.home) #header { background: var(--bg); border-bottom: 1px solid var(--mist); }
hr { background: var(--blizzard); color: var(--blizzard); }
#hero-image{ opacity: 0.9; }
.footer-background{ opacity: 1; }
html[data-theme="dark"] #hero-image { opacity: 0.4; }
html[data-theme="dark"] .footer-background { opacity: 0.4; }

/* remove list styles, padding, and margins on ul, ol elements without a class attribute */
ul:not([class]),ol:not([class]) {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* remove list styles on ul, ol elements with a class attribute */
ul[class],ol[class] {
  list-style-type: none;
	padding: 0;
}

/* make images easier to work with */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.main img {
  border-radius: 30px;
}

/* inherit fonts for inputs and buttons */
input,button,textarea,select {
  font: inherit;
}

/* remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* default font styles */
h1 {
  font-family: var(--heading);
	font-size: clamp(2.25rem, 1.7442rem + 1.3953vw, 3rem);
  font-weight: 500;
  color: var(--color);
	line-height: 1.1;
  margin-bottom: 10px;
}
h2 {
  position: relative;
  font-family: var(--text);
  font-size: clamp(1.625rem, 1.3721rem + 0.6977vw, 2rem);
  font-weight: 700;
  color: var(--color);
  line-height: 1.2;
  margin-bottom: 20px;
  text-wrap: balance;
}
  h2.large {
    font-family: var(--heading);
    font-size: clamp(2.25rem, 1.7442rem + 1.3953vw, 3rem);
    font-weight: 500;
    margin-bottom: 30px;
  }
  h1 + h2 {
    font-size: clamp(1.125rem, 1.0407rem + 0.2326vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
  }
h3 {
  font-family: var(--text);
  font-size: clamp(1.125rem, 1.0407rem + 0.2326vw, 1.25rem);
  font-weight: 600;
  color: var(--color);
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  text-wrap: balance;
}
p a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: 1px underline solid;
}

/* default link styles */
a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: none;
  text-decoration-skip-ink: auto;
	transition: var(--transition-normal);
}
a:hover,
a:focus {
  color: var(--teal);
  text-decoration: none;
}
@media screen and (max-width: 400px) {
	a {
    word-break: break-word;
  }
}

/* default element styles */
.container {
  position: relative;
  width: auto;
  max-width: 1400px;
  padding: 0 20px;
  margin: 0 auto;
}
.main:after {
  content: '';
  clear: both;
  display: table;
}
.main ul {
  list-style: outside disc;
  margin: 0 0 30px 20px !important;
}
  .main ul ul {
    list-style: outside circle;
    padding: 5px 0;
  }
.main ol {
  list-style: outside decimal;
  margin: 0 0 30px 20px !important;
}
  .main ul li,
  .main ol li {
    padding: 5px 0;
  }
.main .nomargin {
  margin: 0;
}
hr {
  width: 100%;
  height: 1px;
  color: var(--blizzard);
  background: var(--blizzard);
  border: 0;
  padding: 0;
  margin: 40px 0;
}
  hr::after {
    content: '';
    clear: both;
    display: table;
  }
.wp-block-image .alignleft {
  float: left;
  margin: 0 40px 40px 0;
}
.wp-block-image .aligncenter {
  float: none;
}
.wp-block-image img.aligncenter {
  margin: 0 auto 40px;
}
  .wp-block-image .aligncenter > img {
    margin: 0 auto 40px;
  }
.wp-block-image .alignright {
  float: right;
  margin: 0 0 40px 40px;
}
.wp-block-image figcaption {
  font-size: 14px;
  font-style: italic;
}
.wp-block-image {
  height: auto;
  border-radius: 30px;
  object-fit: cover;
}
.wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
}
.centered {
  grid-column: 1 / -1;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin: 0 0 40px;
}
.wp-block-image .alignleft,
.wp-block-image .aligncenter,
.wp-block-image .alignright,
embed,
iframe,
object {
  max-width: 100%;
}
embed,
iframe,
object {
  display: block;
  margin: 0 auto;
}
.to-top-btn {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  color: var(--white);
  text-align: center;
  background: var(--teal);
  border-radius: 50%;
  transition: var(--transition-fast);
}
#topcontrol {
  z-index: 10;
}
	.to-top-btn:hover,
  .to-top-btn:focus {
	  color: var(--white);
	  background: var(--coral);
	  transform: translateY(-5px);
	}
.buttons {
  position: relative;
  display: flex;
  gap: 10px;
}
.button:not(li.button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 4px 2px 20px;
  font-family: var(--text);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 80px;
  text-align: center;
  transition: var(--transition-fast);
  cursor: pointer;
}
.button:not(li.button):after {
  content: '\e0fc';
  display: block;
  font-family: var(--icons);
  font-weight: 700;
  font-size: 31px;
  margin-left: 10px;
  transition: var(--transition-normal);
}
.button:not(li.button).video:after {
  content: '\f144';
}
  .button:not(li.button):hover,
  .button:not(li.button):focus {
    color: var(--white);
    background: var(--teal);
    border: 1px solid var(--teal);
  }
.button:not(li.button).outlined {
  color: var(--color);
  background: transparent;
  border: 1px solid var(--color);
}
  .button:not(li.button).outlined:hover,
  .button:not(li.button).outlined:focus {
    color: var(--white);
    background: var(--teal);
    border: 1px solid var(--teal);
  }
  .button:not(.video):not(li.button):hover:after,
  .button:not(.video):not(li.button):focus:after {
    transform: rotate(90deg) translateY(1px);
  }
.text-link:after {
  content: '\f178';
  font-family: var(--icons);
  font-weight: 400;
  margin-left: 6px;
  transition: var(--transition-normal);
}
  .text-link:hover:after {
    margin-left: 9px;
  }
@media screen and (max-width: 1200px) {
	img {
	  max-width: 100%;
	  height: auto;
	}
	.attachment-post-thumbnail {
	  max-width: 100%;
	  height: auto;
	}
  .attachment-post-thumbnail,
	.alignleft,
	.aligncenter,
	.alignright {
	  float: none;
	  display: block;
    width: auto !important;
	  max-width: 100%;
	  margin: 0 auto 30px;
	}
  .alignleft img,
	.aligncenter img,
	.alignright img {
	  margin: 0 auto;
	}
}
@media screen and (max-width: 1024px) {
	.wp-block-image .alignleft,
  .wp-block-image .aligncenter,
  .wp-block-image .alignright {
    float: none;
    width: 100%;
    margin: 0 auto 40px;
  }
  .share-button {
    top: 535px;
    bottom: auto;
  }
}
@media screen and (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .buttons {
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width: 580px) {
  .to-top-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .wp-block-image img {
    border-radius: 16px;
  }
}

/* main content styles */
.main {
  padding: 60px 0;
}
.main.cta {
  padding: 0 0 60px;
}
.main p,
.main ul,
.main ol {
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .main {
    padding: 60px 0;
  }
}

/* header */
#header {
  position: relative;
  z-index: 10;
  width: 100%;
  height: auto;
  padding: 20px 0;
  background: var(--bg);
}
body:not(.home) #header {
  background: var(--bg);
  border-bottom: 1px solid var(--mist);
}
#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  #header .site-brand {
    position: relative;
    z-index: 99999;
    display: block;
    width: 130px;
    height: auto;
    padding-bottom: 6px;
	  will-change: transform;
  	backface-visibility: hidden;
    transition: var(--transition-normal);
  }
    #header .site-brand {
	  display: block;
      width: auto;
      max-width: none;
	    image-rendering: -webkit-optimize-contrast;
  	  image-rendering: crisp-edges;
    }
  #header .button {
    font-size: clamp(0.625rem, 0.4985rem + 0.3488vw, 0.8125rem);
  }
  #header .button:after {
    font-size: clamp(1.375rem, 0.9956rem + 1.0465vw, 1.9375rem);
  }
@media screen and (min-width: 581px) {
  #header .site-brand {
    position: absolute;
	  top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    padding: 0;
  }
}
@media screen and (max-width: 1024px) {
  #header .container {
    flex-direction: row-reverse;
  }
  #header .site-brand {
    top: -12px;
  }
}
@media screen and (max-width: 580px) {
  #header .container > .button {
    display: none;
  }
  #header .site-brand {
    top: 0;
  }
}

/* hero */

#hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0.9;
}
  #hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #hero-image::selection {
    background: transparent;
  }
#hero {
  padding: 25px 0;
}
#hero .container {
  padding: 30px 20px 0;
  text-align: center;
}
  #hero .buttons {
    justify-content: center;
    padding-top: 40px;
  }
#hero .stats-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}
  #hero .circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 180px;
    max-height: 180px;
    padding: 20px;
    margin: 0 -7.5px;
    border-radius: 50%;
    border: 1px solid var(--blizzard);
    text-align: center;
    backdrop-filter: blur(3px);
    aspect-ratio: 1 / 1;
  }
  #hero .circle:first-of-type,
  #hero .circle:last-of-type {
    opacity: 0;
  }
  #hero .circle:first-of-type {
    animation: fadeSlideLeft 0.8s ease-out forwards;
    animation-delay: 200ms;
  }
  #hero .circle:last-of-type {
    animation: fadeSlideRight 0.8s ease-out forwards;
    animation-delay: 200ms;
  }
  #hero .circle:nth-child(2) {
    animation: fadeIn 0.6s ease-out forwards;
  }
  #hero .circle h3 {
    font-size: clamp(1.125rem, 0.7035rem + 1.1628vw, 1.75rem);
    font-weight: 700;
    color: var(--color);
    margin: 0;
  }
    #hero .circle h3 span {
      display: block;
      font-size: clamp(0.75rem, 0.5814rem + 0.4651vw, 1rem);
      font-weight: 400;
      text-transform: capitalize;
      letter-spacing: 0;
      line-height: 1.4;
      padding-top: 6px;
    }
@keyframes fadeSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}
@keyframes fadeSlideRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
@media screen and (min-width: 1025px) {
  #hero + .main {
    padding-top: 0;
  }
}
#hero-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
  #hero-testimonials h3 {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0;
  }
  #hero-testimonials .testimonial-block {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 20px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--blizzard);
    border-radius: 12px;
    backdrop-filter: blur(6px);
  }
  html[data-theme="dark"] #hero-testimonials .testimonial-block {
    background: rgba(13,24,42,0.6);
    border: 1px solid var(--black);
  }
    #hero-testimonials .testimonial-block p {
      font-size: clamp(0.875rem, 0.7907rem + 0.2326vw, 1rem);
      line-height: clamp(1.375rem, 1.1221rem + 0.6977vw, 1.75rem);
      text-align: left;
    }
    #hero-testimonials .testimonial-block .author {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: clamp(0.75rem, 0.6235rem + 0.3488vw, 0.9375rem);
      font-weight: 600;
      line-height: 1.3;
      text-align: left;
      margin-top: auto;
    }
    #hero-testimonials .testimonial-block .author-photo > picture {
      display: flex;
    }
    #hero-testimonials .testimonial-block .author-photo img {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--black);
      border: 2px solid var(--white);
      aspect-ratio: 1 / 1;
      flex-shrink: 0;
    }
    html[data-theme="dark"] #hero-testimonials .testimonial-block .author-photo img {
      border: 2px solid rgba(255,255,255,0.3);
    }
.image-text {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px 0;
}
.image-text:nth-of-type(even) {
  flex-direction: row-reverse;
}
  .image-text picture,
  .image-text picture img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
  }
@media screen and (min-width: 1367px) {
  #hero-testimonials {
    padding-bottom: 40px;
  }
}
@media screen and (min-width: 769px) {
  .image-text picture,
  .image-text picture img {
    min-height: 300px;
  }
}
@media screen and (max-width: 1367px) {
  .image-text .text {
    max-width: 50%;
  }
}
@media screen and (max-width: 768px) {
  .image-text,
  .image-text:nth-of-type(even) {
    flex-direction: column;
  }
  .image-text .text {
    max-width: 100%;
  }
}
@media screen and (max-width: 500px) {
  #hero-testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 50px 60px;
  border-radius: 30px;
  background: var(--bg);
}
.cta-banner.gradient {
  background: radial-gradient(circle at 55% 44%, #1E3151 0%, #1E3151 8%, var(--black) 40%);
}
.cta-banner * {
  color: var(--color);
}
html[data-theme="light"] .cta-banner *:not(.button) {
  color: var(--white);
}
html[data-theme="dark"] .cta-banner.gradient {
  background: radial-gradient(ellipse at center, #dde1e7 0%,#a5b6c0 60%) !important;
}
html[data-theme="dark"] .cta-banner *:not(.button) {
  color: var(--bg);
}
  
  .cta-banner .text.full {
    text-align: center;
  }
  .cta-banner h2 {
    margin: 0 0 10px;
  }
  .cta-banner p {
    font-size: clamp(1rem, 0.8314rem + 0.4651vw, 1.25rem);
    line-height: 1.5;
    text-wrap: balance;
	margin: 0;
  }
  .cta-banner .button {
    flex-shrink: 0;
  }
@media screen and (max-width: 768px) {
  .cta-banner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
}

/* footer */

#footer {
  margin-top: auto;
}
#footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  border-top: 1px solid var(--blizzard);
}
#footer .left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
  #footer p.copyright {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
.footer-background {
  position: relative;
  z-index: -1;
  width: 100%;
  height: auto;
  object-fit: cover;
  will-change: transform;
  opacity: 1;
  transition: transform 0.1s ease-out;
}
  .footer-background > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .footer-background::selection {
    background: transparent;
  }
@media screen and (max-width: 768px) {
  #footer .buttons {
    align-items: end;
  }
  #footer .buttons a {
    width: 100%;
    justify-content: space-between;
  }
}
@media screen and (max-width: 580px) {
  #footer .container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  #footer .left {
    align-items: center;
  }
}

/* gutenberg styles */

.is-layout-flex {
  align-items: baseline;
}
.wp-block-group {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding-right: var(--wp--style--root--padding-right);
  padding-left: var(--wp--style--root--padding-left);
  padding-top: 60px;
  padding-bottom: 60px;
}
.wp-block-group p {
  margin-bottom: 30px;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none;
}
.wp-block-media-text:last-of-type {
  padding-bottom: 30px;
}
.has-haze-background-color + .has-haze-background-color {
  padding-top: 0;
}
.wp-block-embed {
  padding: 30px 0;
}
.wp-block-separator {
  border-top: 1px solid;
  border-color: var(--mist);
  margin-block-start: 50px !important;
  margin-block-end: 50px !important;
}
@media screen and (max-width: 1024px) {
  .wp-block-group {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .wp-block-columns,
  .wp-block-buttons {
    flex-direction: column !important;
    flex-wrap: wrap;
  }
  .wp-block-columns.reverse {
    flex-direction: column-reverse !important;
    gap: 30px;
  }
}
@media screen and (max-width: 768px) {
  .wp-block-separator {
    margin-block-start: 30px !important;
    margin-block-end: 30px !important;
  }
  .wp-block-group {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .wp-block-group p {
    line-height: 1.5;
  }
}
.wp-block-buttons {
  margin-top: 30px;
}
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  font-family: var(--text);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 50px;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  color: var(--white);
  background: var(--seafarer);
  border: 1px solid var(--seafarer);
}
  .wp-block-button__link:after {
    position: relative;
    top: 1px;
    content: '\f178';
    font-family: var(--icons);
    line-height: 1.1;
  }
.wp-block-image,
.wp-block-image img {
  max-height: 100%;
}

/* vertical‑align helper classes for Group→Row and Columns */
.vac-align-flex-start { align-items: flex-start !important; }
.vac-align-center     { align-items: center      !important; }
.vac-align-flex-end   { align-items: flex-end    !important; }
.vac-align-stretch    { align-items: stretch     !important; }
.vac-align-baseline   { align-items: baseline    !important; }

/* team member cards */

#team-member-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 10%;
}
  #team-member-cards .card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }
  #team-member-cards .card .photo {
    position: relative;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
  }
    #team-member-cards .card .photo .fab {
      position: absolute;
      bottom: 5%;
      left: 75%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border: 2px solid var(--coral);
      border-radius: 50%;
      font-size: 15px;
      color: var(--white);
      line-height: 30px;
      text-align: center;
      background: var(--coral);
      transition: var(--transition-fast);
    }
    #team-member-cards .card .photo .fab:hover,
    #team-member-cards .card .photo .fab:focus {
      border-color: var(--teal);
      background: var(--white);
      color: var(--teal);
    }
  #team-member-cards .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
  }
  #team-member-cards .card h2 {
    display: block;
    width: 100%;
    margin: 0;
    font-size: clamp(1.375rem, 1.1221rem + 0.6977vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.5px;
  }
    #team-member-cards .card h2 span {
      display: block;
      font-size: 16px;
      color: var(--blizzard);
      letter-spacing: 1px;
    }
    #team-member-cards .card h2 span:after {
      content: '';
      display: block;
      width: 40px;
      height: 3px;
      margin: 10px 0;
      background: var(--coral);
    }
@media screen and (max-width: 768px) {
  #team-member-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 30px;
  }
  #team-member-cards .card {
    align-items: center;
  }
  #team-member-cards .card .photo {
    max-width: 100%;
  }
}

/* booking calendar */

body.page-template-tpl-contact .main iframe {
  min-height: 800px;
}

/* circles animation */

.circles.animate .icon-circle-block {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
	animation-name: fadeUp;
  animation-duration: 0.3s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

/* define the keyframe animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* staggered delays for each circle */
.circles.animate .icon-circle-block:nth-child(1) {
  animation-delay: 0s;
}
.circles.animate .icon-circle-block:nth-child(2) {
  animation-delay: 0.1s;
}
.circles.animate .icon-circle-block:nth-child(3) {
  animation-delay: 0.2s;
}
.circles.animate .icon-circle-block:nth-child(4) {
  animation-delay: 0.3s;
}
.circles.animate .icon-circle-block:nth-child(5) {
  animation-delay: 0.4s;
}
.circles.animate .icon-circle-block:nth-child(6) {
  animation-delay: 0.5s;
}


/* dark theme overrides */

#theme-toggle {
  position: fixed;
  z-index: 99;
  display: block;
  bottom: 20px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--black);
  border: 0;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  cursor: pointer;
  transition: var(--transition-fast);
}
html[data-theme="dark"] #theme-toggle {
  background: var(--coral);
}
#theme-toggle:hover,
#theme-toggle:focus {
  background: var(--teal);
}
html[data-theme="dark"] #theme-toggle:hover,
html[data-theme="dark"] #theme-toggle:focus {
  background: var(--teal);
}
#theme-toggle:before {
  content: '';
  font-family: var(--icons);
  font-size: 16px;
  color: var(--white);
}
html[data-theme="light"] #theme-toggle:before {
  content: '\f186';
}
html[data-theme="dark"] #theme-toggle:before {
  content: '\e28f';
}


/* === Manual theme overrides — must be last === */
html[data-theme="dark"] {
  /* tokens that actually drive your UI */
  --bg: var(--black);
  --color: var(--white);
  --blizzard: #2b3440; /* borders/hr */
  --mist: #323a46;     /* subtle separators */
  --graphite: #6c7684; /* muted text/borders */

  /* component tweaks that depend on theme */
  /* mirror any dark-only media rules so manual dark wins too */
  #hero-image { opacity: 0.4; }
}

html[data-theme="light"] {
  --bg: var(--white);
  --color: var(--black);
  --blizzard: #A5B6C0;
  --mist: #DDE1E7;
  --graphite: #424955;

  #hero-image { opacity: 0.9; } /* match your light look */
}


html[data-theme="dark"] #hero-image {
  opacity: 0.4;
}