@import url("variables.css");

/* Reset and Base Styles */
* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

body {
  line-height: 1.6;
  font-family: ProximaNova, sans-serif;
  color: var(--body);
}

/* Content Container */
.content-container {
  margin: 0 auto;
  position: relative;
  padding: 0;
  width: 980px;
  z-index: 1;
}

/* Sections */
.section {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  justify-content: center;
}

#home.section,
#nav.section {
  padding-bottom: 0;
  padding-top: 0;
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: relative;
  width: 100%;
  height: calc(100px * var(--mobile-vw-unit));
  background: var(--bg-light);
  z-index: 1001;
  box-shadow: 0 2px 4px var(--box-shadow);
}

/* Hamburger Menu */
.hamburger-menu {
  position: absolute;
  padding: 10px;
  cursor: pointer;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.hamburger-icon,
.close-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.hamburger-icon span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--body);
  transition: none;
}

.hamburger-icon span:nth-child(1) {
  top: 0;
}

.hamburger-icon span:nth-child(2) {
  top: 11px;
}

.hamburger-icon span:nth-child(3) {
  top: 22px;
}

/* Close Icon Styles */
.close-icon {
  width: 30px;
  position: relative;
  height: 30px;
  left: 94%;
  padding: 4px;
  background: var(--bg-light);
}

.close-icon span {
  display: block;
  position: absolute;
  top: 75%;
  width: 100%;
  height: 2px;
  background: var(--body-dark);
  left: 0;
  text-align: right;
}

.close-icon span:first-child {
  transform: rotate(45deg);
}

.close-icon span:last-child {
  transform: rotate(-45deg);
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 80px 20px 20px;
  background: var(--bg-light);
  z-index: 1000;
  text-align: center;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 1.2em;
  color: var(--body);
  text-decoration: none;
  text-align: center;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a.active {
  font-weight: 600;
  color: var(--accent-text-primary);
}

/* Mobile styles */

@media screen and (max-width: 750px) {
  body {
    margin-top: 0;
  }

  .mobile-header {
    display: flex;
  }

  .hamburger-menu {
    display: block;
  }

  .mobile-nav.active,
  .mobile-nav.open {
    display: block;
  }

  .content-container {
    margin-top: 0;
  }

  .mobile-nav.active,
  .mobile-nav.open,
  .mobile-nav.active .mobile-nav {
    z-index: 1001;
  }

  .mobile-nav.active a,
  .mobile-nav.open a {
    z-index: 1002;
  }

  .mobile-nav p {
    z-index: 1002;
  }

  /* Keep mobile header and hamburger stable; do not rely on an "active" class. */

  .section {
    padding: 20px 0;
  }

  .product-logo {
    width: calc(168px * var(--mobile-vw-unit));
    height: auto;
  }
}

/* News list layout specific hero height */
.news-list-container .image-hero {
  height: 563px;
}

.xht-container .image-hero {
  height: 463px;
}

.news-list-container .hero {
  height: 563px;
}

.hero-container {
  position: relative;
  width: 980px;
  height: 100%;
  margin: 0 auto;
}

.tagline {
  width: 803px;
  line-height: 1;
  font-size: var(--fs-img-hero);
  font-family: Korpus, sans-serif;
  font-weight: 600;
  margin-left: 20px;
  margin-top: 553px;
  margin-bottom: 20px;
  text-align: left;
}

@media screen and (max-width: 750px) {
  .tagline {
    position: static;
    bottom: auto;
    max-width: 83%;
    margin-top: 20px;
    font-size: 2rem;
  }
}

.subtitle {
  font-size: var(--fs-title);
  line-height: normal;
  width: 459px;
  color: var(--body-light);
  margin-top: 290px;
  margin-bottom: 30px;
}

/* Footer */
#footer {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: auto;
  background-color: var(--bg-dark);
}

#footer::before {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 100%;
  background-color: var(--bg-dark);
  z-index: -1;
}

@media screen and (min-width: 751px) and (max-width: 980px) {
  #footer::before {
    width: 980px;
  }
}

.footer-content {
  width: 980px;
  margin: 0 auto;
  padding: 55px 0 20px;
  color: var(--body-light);
}

.footer-content h2 {
  font-size: var(--fs-section-heading);
  margin-bottom: 37px;
  text-align: left;
  font-weight: bold;
  text-transform: uppercase;
}

.footer-content h3 {
  font-size: var(--fs-body);
  line-height: normal;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 30px;
  align-items: flex-start;
  padding-right: 230px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.footer-left .footer-logo {
  width: 193px;
  height: auto;
}

.footer-left .software-by {
  font-size: var(--fs-meta-sm);
  margin-left: 11px;
  margin-bottom: -12px;
}

.footer-middle {
  display: flex;
  justify-content: center;
}

.footer-nav,
.footer-legal {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li,
.footer-legal li {
  margin-bottom: 15px;
}

.footer-nav a,
.footer-legal a {
  font-size: var(--fs-meta-sm);
  color: var(--body-light);
  text-decoration: none;
  font-weight: normal;
}

.footer-nav a:hover,
.footer-legal a:hover {
  text-decoration: none;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-legal {
  display: flex;
  flex-direction: column;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--body-light);
  margin-top: 30px;
  margin-bottom: 7px;
}

.footer-bottom-grid {
  display: block;
}

.footer-copyright {
  text-align: left;
}

.footer-copyright p {
  font-size: var(--fs-meta-sm);
  line-height: normal;
  color: var(--body-light);
}

/* Responsive styles for footer */
@media screen and (max-width: 750px) {
  .footer-content {
    width: 100%;
    font-size: 4.375vw;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-right: 11.875vw;
    padding-left: 11.875vw;
    margin-bottom: 0;
  }

  .footer-left {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-left .footer-logo {
    width: 53.125vw;
  }

  .footer-left .software-by {
    font-size: 4.375vw;
    margin-left: 0;
    margin-bottom: -12px;
  }

  .footer-middle {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .footer-right {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-end;
  }

  .footer-bottom-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mobile-footer-links {
    display: flex;
  }

  .footer-nav li {
    width: 39.375vw;
  }

  .footer-legal li {
    width: 28.75vw;
  }

  .footer-nav li,
  .footer-legal li {
    line-height: normal;
    margin-bottom: 8.4375vw;
  }

  .footer-nav a,
  .footer-legal a {
    font-size: 4.375vw;
    line-height: normal;
  }

  .footer-nav a {
    font-size: 4.375vw;
  }

  .footer-legal a {
    font-size: 4.0625vw;
  }

  .footer-divider {
    margin-left: 3.125vw;
    margin-right: 3.125vw;
    margin-top: 0;
  }

  .footer-copyright {
    width: calc(300px * var(--mobile-vw-unit));
    margin-left: auto;
    margin-right: auto;
    margin-top: calc(15px * var(--mobile-vw-unit));
    text-align: center;
  }

  .footer-copyright p {
    font-size: calc(var(--fs-mobile-copyright) * var(--mobile-vw-unit));
  }
}

/* External link icon sizing: match font-size and align with text */
.nav-link img,
.dropdown-link img,
.mobile-nav-header a img {
  width: auto;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
  margin-left: 0.35ch;
}

/* If SVGs have their own fill, allow them to inherit text color */
.nav-link img,
.dropdown-link img,
.mobile-nav-header a img {
  filter: none;
}

/* Inline SVG icon used by partial should inherit color and size like text */
.icon-external {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
  margin-left: 0.35ch;
  /* Use the SVG file as a mask so the icon can be colored via `background-color: currentColor`.
     This preserves the original SVG file (with attribution) in the repo while allowing
     the icon to follow text color and hover states. */
  -webkit-mask: url('/images/arrow-up-right-from-square-solid-full.svg') no-repeat center / contain;
  mask: url('/images/arrow-up-right-from-square-solid-full.svg') no-repeat center / contain;
  background-color: currentColor;
}

/* Footer icon: smaller and no hover styling needed */
.icon-external-footer {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
  margin-left: 0.35ch;
  -webkit-mask: url('/images/arrow-up-right-from-square-solid-full.svg') no-repeat center / contain;
  background-color: currentColor;
}

/* Fallback for very old browsers: show the image but size it */
.icon-external-fallback {
  width: auto;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
  margin-left: 0.35ch;
}


/* Slide-in animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease-out;
}

.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-content {
  position: relative;
  overflow: visible;
}

@media screen and (min-width: 751px) and (max-width: 980px) {
  body {
    overflow-x: auto;
  }
}

hr {
  border: none;
  border-top: 1px solid var(--hr);
  margin-top: 25px;
  margin-bottom: 25px;
}

@media screen and (min-width: 980px) {
  body {
    overflow-x: hidden;
  }
}

p.btn {
  display: inline-block;
  padding: 9px 42.5px;
  color: var(--body-light);
  background-color: var(--brand);
  text-decoration: none;
  font-size: var(--fs-meta);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

p.btn:hover {
  background-color: var(--accent-text-primary-hover);
}

p.btn a {
  color: var(--body-light);
  text-decoration: none;
}

#highlights {
  position: relative;
  padding: 75px 0;
  background-color: var(--brand);
}

#highlights::before {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background-color: var(--brand);
  z-index: -1;
}

@media screen and (min-width: 751px) and (max-width: 980px) {
  #highlights::before {
    width: 980px;
  }
}

#highlights h2,
#highlights h3,
#highlights p {
  color: var(--body-light);
}

#highlights > p {
  margin: 79px 83px 31px 155px;
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: normal;
}

#highlights h2 {
  font-size: var(--fs-title);
  font-weight: bold;
  color: var(--body-light);
  margin-left: 100px;
  margin-top: 82px;
}

.highlights-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  margin-left: 155px;
  margin-right: 77px;
  gap: 70px 50px;
}

.highlights-block {
  display: flex;
  max-width: 212px;
  text-align: left;
  flex-direction: column;
}

#highlights .highlights-block h2 {
  font-size: var(--fs-body);
  font-weight: bold;
  display: flex;
  line-height: normal;
  font-family: ProximaNova, sans-serif;
  margin-bottom: 10px;
  margin-top: 0;
  margin-left: 0;
  text-transform: uppercase;
  min-height: 2.5em; /* Reserve space for up to 2.5 lines */
  align-items: flex-start; /* Align text to top of reserved space */
}

.highlights-block p {
  font-size: var(--fs-body);
  line-height: normal;
  font-weight: 300;
}

.highlights-block img {
  width: auto;
  max-height: 49px;
}

.highlights-block:nth-child(3n + 1) {
  padding-left: 0;
}

/* Technology Section */
#technology {
  position: relative;
  background-color: var(--bg-light);
}

#technology::before {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background-color: var(--bg-light);
  z-index: -1;
}

@media screen and (min-width: 751px) and (max-width: 980px) {
  #technology::before {
    width: 980px;
  }
}

#technology h1 {
  font-size: var(--fs-title);
  text-transform: capitalize;
  font-weight: normal;
  margin-top: 180px;
  margin-bottom: 30px;
  line-height: 1.2;
  color: var(--accent-text-primary);
}

#technology .section-content {
  max-width: 978px;
  margin: 0 auto;
}

#technology .intro {
  font-size: var(--fs-body);
  line-height: 1.2;
  font-weight: 300;
}

.technology-grid {
  margin-top: 100px;
}

.technology-row {
  display: flex;
  align-items: center;
  gap: 100px;
  margin-bottom: 100px;
}

.technology-row.reverse .technology-image {
  order: 2;
}

.technology-row.reverse .technology-text {
  order: 1;
}

.technology-row.reverse .technology-text h2,
.technology-row.reverse .technology-text p {
  margin-left: 0;
}

.technology-image {
  flex: 0 0 50%;
}

.technology-text {
  flex: 1;
  align-items: right;
}

.technology-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.technology-text h2 {
  font-size: var(--fs-subheading-xs);
  font-weight: 600;
  margin-bottom: 30px;
  width: 384px;
  font-family: BatterseaSans, sans-serif;
  line-height: 1.4;
  margin-left: auto;
}

.technology-text p {
  font-size: var(--fs-body);
  line-height: 1.4;
  width: 384px;
  font-weight: 300;
  margin-left: auto;
}

#technology .attribution {
  margin: 40px 0;
  font-size: var(--fs-body);
  font-weight: 300;
}

#technology a {
  color: var(--body-dark);
}

/* Papers Section */
#papers {
  position: relative;
  margin: 0 !important;
  padding: 0;
  background-color: var(--papers-bg);
}

#papers::before {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background-color: var(--papers-bg);
  z-index: -1;
}

@media screen and (min-width: 751px) and (max-width: 980px) {
  #papers::before {
    width: 980px;
  }
}

#papers h2 {
  font-size: var(--fs-section-heading);
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 80px;
  line-height: 1;
  font-family: BatterseaSans, sans-serif;
}

#papers .section-content {
  width: 980px;
  margin: 0 auto;
  margin-left: -136px;
  padding: 0;
}

.papers-list {
  margin-top: 40px;
}

.paper {
  display: flex;
  gap: 128px;
  margin-bottom: 40px;
  padding: 20px 0;
}

.paper-thumbnail {
  flex: 0 0 188px;
  height: 188px;
  background-color: var(--img-thumbnail-bg);
  border-radius: 8px;
  overflow: hidden;
}

.paper-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paper-content {
  flex: 0 0 790px;
}

.paper-content h3 {
  font-size: var(--fs-body);
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--accent-text-primary-light);
  font-family: ProximaNova, sans-serif;
  line-height: 1.4;
}

.paper-content p {
  font-size: var(--fs-body);
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: 300px;
}

.paper-link {
  color: var(--body-dark);
  text-decoration: underline;
  font-weight: 600;
  font-size: 19px;
}

.paper-link:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media screen and (max-width: 750px) {
  .technology-row,
  .technology-row.reverse {
    flex-direction: column;
    gap: calc(10px * var(--mobile-vw-unit));
    margin-top: calc(60px * var(--mobile-vw-unit));
  }

  .technology-image {
    flex: none;
    width: 100%;
    order: 1 !important;
  }

  .technology-text {
    order: 2 !important;
  }

  .technology-row.reverse .technology-image {
    order: 1 !important;
  }

  .technology-row.reverse .technology-text {
    text-align: left;
    order: 2 !important;
  }

  /* Technology Section Mobile Styles */
  #technology h1 {
    font-size: calc(var(--fs-mobile-title) * var(--mobile-vw-unit));
    margin-top: calc(20px * var(--mobile-vw-unit));
    margin-bottom: 0;
  }

  #technology .section-content {
    max-width: 100%;
    padding: 0 calc(20px * var(--mobile-vw-unit));
  }

  #technology .intro {
    font-size: calc(var(--fs-mobile-body) * var(--mobile-vw-unit));
    width: calc(272px * var(--mobile-vw-unit));
    margin-bottom: calc(60px * var(--mobile-vw-unit));
    margin-left: 0;
    margin-right: 0;
  }

  .technology-grid {
    margin-top: 6.25vw;
  }

  .technology-row {
    margin-bottom: 6.25vw;
  }

  .technology-text h2 {
    font-size: calc(var(--fs-mobile-subheading-md) * var(--mobile-vw-unit));
    margin-bottom: 3.125vw;
    width: 100%;
    margin-left: 0;
  }

  .technology-text p {
    font-size: calc(var(--fs-mobile-body) * var(--mobile-vw-unit));
    width: 100%;
    margin-left: 0;
    line-height: 1.4;
  }

  #technology .attribution {
    margin-top: calc(60px * var(--mobile-vw-unit));
    font-size: calc(var(--fs-mobile-body) * var(--mobile-vw-unit));
  }

  /* Papers Section Mobile Styles */
  #papers {
    padding: calc(20px * var(--mobile-vw-unit)) 0;
  }

  #papers .section-content {
    width: 100%;
    margin-left: 0;
    padding-left: calc(20px * var(--mobile-vw-unit));
    padding-right: calc(20px * var(--mobile-vw-unit));
  }

  #papers h2 {
    font-size: calc(var(--fs-mobile-body) * var(--mobile-vw-unit));
    margin-top: calc(20px * var(--mobile-vw-unit));
    margin-bottom: calc(20px * var(--mobile-vw-unit));
  }

  .papers-list {
    margin-top: calc(10px * var(--mobile-vw-unit));
  }

  .papers-list hr {
    margin-top: calc(20px * var(--mobile-vw-unit));
    margin-bottom: calc(20px * var(--mobile-vw-unit));
  }

  .paper {
    flex-direction: column;
    gap: calc(20px * var(--mobile-vw-unit));
    margin-bottom: calc(20px * var(--mobile-vw-unit));
    padding: 0;
  }

  .paper-thumbnail {
    width: calc(130px * var(--mobile-vw-unit));
    height: calc(130px * var(--mobile-vw-unit));
    margin: 0 auto;
    flex: none;
  }

  .paper-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .paper-content {
    width: calc(269px * var(--mobile-vw-unit));
    flex: none;
    text-align: left;
  }

  .paper-content h3 {
    font-size: calc(var(--fs-mobile-subheading-xs) * var(--mobile-vw-unit));
    margin-bottom: calc(10px * var(--mobile-vw-unit));
    letter-spacing: 0.9px;
  }

  .paper-content p {
    font-size: calc(var(--fs-mobile-subheading-xs) * var(--mobile-vw-unit));
    line-height: 1.4;
    margin-bottom: calc(10px * var(--mobile-vw-unit));
  }

  .paper-link {
    font-size: calc(var(--fs-mobile-subheading-xs) * var(--mobile-vw-unit));
  }
}

/* TellFinder XHT Page Styles */

/* Container for all XHT content */
.xht-container {
  width: 980px;
  margin: 0 auto;
  padding: 0;
  padding-top: 100px;
}

/* Container for all index content */
.index-container {
  width: 980px;
  margin: 0 auto;
  padding: 0;
}

/* Image Sections */
.image-hero,
.image-overlay,
.image-statistics,
.image-testimonial {
  position: relative;
  height: 724px;
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

@media screen and (min-width: 751px) and (max-width: 980px) {
  .image-hero,
  .image-overlay,
  .image-statistics,
  .image-testimonial {
    width: 980px;
    margin-left: 0;
  }
}

.image-hero {
  background-color: var(--brand);
}

.image-statistics {
  background-size: cover;
  height: 490px;
}

/* Image Overlays */
.overlay-text {
  color: var(--img-block-quote-text);
  text-align: left;
  max-width: 800px;
}

.overlay-text h2 {
  font-size: var(--fs-img-hero);
  margin: 0;
  font-weight: 600;
  line-height: normal;
}

@media screen and (max-width: 1024px) and (min-width: 751px) {
  .xht-our-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Three Column Overlay */
.three-column-overlay {
  color: var(--body-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 753px;
  margin: 0;
}

.statistics-column {
  text-align: left;
}

.stat {
  font-size: var(--fs-img-hero);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--body-dark);
  line-height: normal;
}

.statistics-divider {
  border: none;
  height: 1px;
  width: 192px;
  background-color: var(--statistics-divider);
  margin: 15px 0;
}

.statistics-unit {
  font-size: var(--fs-intro);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--bod);
  line-height: normal;
}

.statistics-duration {
  font-size: var(--fs-meta-sm);
  margin-bottom: 15px;
  color: var(--body-dark);
  line-height: normal;
}

.xht-link {
  font-size: var(--fs-meta-sm);
  color: var(--accent-text-primary);
  text-decoration: underline;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
}

.xht-link:hover {
  text-decoration: underline;
}

/* Pull Quote Overlay */
.pull-quote-overlay {
  color: var(--body-light);
  padding: 60px 0;
  text-align: left;
  max-width: 580px;
  margin: 0 0 0 auto;
  position: relative;
  right: 0;
}

.quote-text {
  font-size: var(--fs-title);
  font-weight: normal;
  color: var(--body-light);
  line-height: 0.9em;
  margin-bottom: 20px;
  font-family: Korpus, sans-serif;
  padding-right: 80px;
  position: relative;
}

.quote-text::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0;
  width: 8px;
  height: 1em;
  background-color: var(--img-block-quote);
}

.quote-attribution {
  font-size: var(--fs-body);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--body-light);
  line-height: normal;
  margin-bottom: 15px;
  list-style: none !important;
}

.quote-attribution li {
  list-style: none !important;
  position: relative;
  padding-left: 22px;
}

.quote-attribution li::before {
  content: "- ";
  position: absolute;
  left: 0;
  top: 0.15em;
}

.xht-quote-link {
  font-size: var(--fs-body);
  font-style: italic;
  color: var(--body-light);
  text-decoration: none;
  line-height: normal;
}

.xht-quote-link:hover {
  text-decoration: underline;
}

.xht-quote-location {
  font-style: italic;
  font-weight: normal;
}

/* Mobile Responsive for Made Possible By Section */
@media screen and (max-width: 750px) {
  #highlights {
    padding: 6.25vw;
  }

  #highlights p {
    font-size: 5.3125vw;

    /* font-size: clamp(17px, 5.31vw, 42px); */
    margin: 0;
  }

  #highlights h2 {
    margin-left: 0;
  }

  .highlights-blocks {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 6.25vw;
  }

  .highlights-block {
    display: grid;
    grid-template-columns: 12.5vw 1fr;
    grid-template-rows: auto auto;
    gap: 0 6.25vw;
    max-width: none;
    align-items: start;
    margin-bottom: 6.25vw;
  }

  .highlights-icon {
    grid-column: 1;
    grid-row: 1 / -1;
    width: auto;
    height: 12.5vw;
  }

  .highlights-icon img {
    width: 12.5vw;
    height: 12.5vw;
    object-fit: contain;
    box-sizing: content-box;
    max-height: 12.5vw;
  }

  .highlights-block h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-height: auto;
  }

  #highlights .highlights-block h2 {
    font-size: 5.3125vw;
    margin: 0;
  }

  .highlights-block p {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0;
    margin-top: 10px;
    font-size: var(--fs-meta);
  }
}

/* Introduction Section */
.xht-container .text-block {
  padding-bottom: 60px;
}

.index-container .text-block {
  padding-top: 95px;
  padding-bottom: 90px;
}

.xht-page-title {
  margin-top: 85px;
  margin-bottom: 40px;
  font-size: var(--fs-title);
  color: var(--accent-text-primary);
  margin-left: 15px;
  width: 552px;
  line-height: 0.9em;
  font-weight: 600;
}

h1.xht-page-title {
  margin-left: 103px;
}

.text-block h2.subheading {
  font-size: var(--fs-body);
  font-family: ProximaNova, sans-serif;
  color: var(--accent-text-primary-dark);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1.5em;
  margin-left: 0;
  padding-top: 0;
}

.content-section {
  width: 521px;
  margin-left: 150px;
  padding: 0;
}

.text-block h2 {
  font-size: var(--fs-title);
  line-height: 0.9;
  color: var(--accent-text-primary);
  width: 611px;
  margin-left: 100px;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: left;
  padding-top: 90px;
}

.text-block .content-body,
.text-block .text-highlight {
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--body);
  text-align: left;
}

.text-block .content-body p,
.text-block p.text-highlight {
  margin-bottom: 1.5em;
  font-weight: 300;
}

.text-block .content-body p.subheading {
  font-weight: bold;
}

.text-block p.text-highlight {
  margin-bottom: 1.5em;
  font-weight: bold;
}

.text-block .content-body p.btn {
  font-weight: 600;
}

.text-block .text-highlight {
  font-weight: bold;
}

.text-block .content-body p:last-child {
  margin-bottom: 0;
}

.text-block .content-body a {
  color: var(--body-dark);
  text-decoration: underline;
}

.text-block .content-body a:hover {
  text-decoration: underline;
}

.text-block .content-body p.btn a {
  color: var(--body-light);
  text-decoration: none;
}

.text-block .content-body ul {
  line-height: 1.5;
  margin-left: 32px;
  margin-bottom: 1.5em;
}

/* Our News Section */
.xht-our-news {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.xht-our-news-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.xht-our-news-title {
  font-size: var(--fs-title);
  color: var(--accent-text-primary);
  margin-left: 100px;
  margin-bottom: 60px;
  font-weight: bold;
  text-align: left;
  line-height: normal;
}

.xht-our-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.xht-our-news-card {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  width: 292px;
  height: 256px;
  display: flex;
  flex-direction: column;
}

.xht-our-news-image {
  width: 100%;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}

.xht-our-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xht-our-news-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--img-thumbnail-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.xht-our-news-content {
  padding: 24px;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.xht-our-news-content .blog-card-author,
.xht-our-news-content .blog-card-meta,
.xht-our-news-content .blog-card-description {
  display: none;
}

.xht-our-news-card-title {
  font-size: var(--fs-body);
  color: var(--accent-text-primary);
  margin-bottom: 0;
  font-weight: 600;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.3s ease;
}

.xht-our-news-card-title:hover {
  color: var(--accent-text-primary-hover);
  text-decoration: underline;
}

/* Mobile Responsive for XHT Sections */
@media screen and (max-width: 750px) {
  .text-block h1 {
    font-size: var(--fs-text-section-heading);
  }

  .text-block .content-body {
    font-size: var(--fs-body);
  }

  .image-overlay,
  .image-statistics,
  .image-testimonial {
    height: 300px;
  }

  .overlay-text h2 {
    font-size: var(--fs-subheading-sm);
    margin-left: 0;
  }

  .xht-our-news {
    padding: 60px 0;
  }

  .xht-our-news-container {
    padding: 0 15px;
  }

  .xht-our-news-title {
    font-size: var(--fs-subheading);
    margin-bottom: 40px;
  }

  .xht-our-news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .xht-our-news-image {
    height: 180px;
  }

  .xht-our-news-content {
    padding: 20px;
  }

  .xht-our-news-card-title {
    font-size: var(--fs-body);
  }
}

/* Desktop Navigation */
.desktop-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-color: var(--bg-light);
  z-index: 1000;
}

.nav-container {
  width: 980px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.product-logo {
  height: 58px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  position: relative;
}

.nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5px;
  height: 30px;
  background-color: var(--nav-divider);
}

.nav-link {
  color: var(--body);
  text-decoration: none;
  font-size: var(--fs-meta-sm);
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-text-primary);
}

.nav-link.active {
  color: var(--accent-text-primary);
  font-weight: 600;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-light);
  padding: 0;
  width: 160px;
  opacity: 0;
  visibility: hidden;
  z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-link {
  display: block;
  padding: 12px 0;
  color: var(--body);
  text-decoration: none;
  font-size: var(--fs-meta-sm);
  text-align: center;
  position: relative;
}

.dropdown-link:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 0.5px;
  background-color: var(--nav-divider);
}

.dropdown-link:hover {
  color: var(--accent-text-primary);
}

.dropdown-link.active {
  color: var(--accent-text-primary);
  font-weight: 600;
}

/* Hide desktop nav on mobile */
@media screen and (max-width: 750px) {
  .desktop-nav {
    display: none;
  }
}

/* Show mobile nav on mobile */
@media screen and (min-width: 750px) {
  .mobile-header,
  .mobile-nav {
    display: none;
  }

  .category-filter-mobile {
    display: none;
  }
}

/* Category Filter */
.category-filter {
  padding-bottom: 0;
}

.category-filter .section-content {
  width: 980px;
  margin: 0 auto;
}

.category-links {
  display: flex;
  justify-content: flex-start;
}

.all-posts-link,
.category-link {
  color: var(--meta-text);
  text-decoration: none;
  font-size: var(--fs-meta);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  transition: color 0.3s ease;
}

.category-link {
  text-transform: uppercase;
}

.all-posts-link:hover,
.category-link:hover {
  color: var(--brand);
}

.all-posts-link.active,
.category-link.active {
  color: var(--brand);
  font-weight: bold;
}

.category-filter .category-links .category-link.category-filter-item {
  text-transform: uppercase !important;
}

/* Fallback for any category filter items */
.category-filter-item {
  text-transform: uppercase !important;
}

/* Blog Posts */
.blog-posts-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.blog-card {
  width: 940px;
  height: 341px;
  border: 1px solid var(--card-border-light);
  display: flex;
  overflow: hidden;
}

.blog-card-image {
  width: 452px;
  height: 339px;
  flex-shrink: 0;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--img-thumbnail-bg);
}

.blog-card-content {
  flex: 1;
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
}

.blog-card-author {
  font-size: var(--fs-meta-xs);
  color: var(--meta-text);
  font-weight: 500;
  line-height: normal;
}

.blog-card-meta {
  font-size: var(--fs-meta-xs);
  color: var(--meta-text);
  line-height: normal;
}

/* Mobile-only vertical ellipsis on blog cards */
.share-ellipsis {
  display: none;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.share-ellipsis::before {
  content: "\22EE"; /* vertical ellipsis (⋮) */
  font-size: var(--fs-intro);
  line-height: 32px;
  color: var(--body-light);
}

.share-popout {
  display: none;
}

.blog-card-title {
  font-size: var(--fs-subheading-sm);
  font-weight: bold;
  margin: 0;
  line-height: normal;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-card-title a {
  color: var(--brand);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--accent-text-primary);
}

.blog-card-description {
  font-size: var(--fs-meta);
  color: var(--meta-text);
  line-height: 1.5;
  margin: 0;
}

/* Mobile: align meta items left and ellipsis to the right using flex */
@media screen and (max-width: 750px) {
  .blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    position: relative;
  }

  /* Show ellipsis and push it to the far right */
  .share-ellipsis {
    display: inline-flex;
    margin-left: auto;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .share-ellipsis::before {
    color: var(--body-light);
    line-height: 1;
  }

  .share-popout {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg-light);
    border: 1px solid var(--modal-border-dark);
    box-shadow: 0 6px 18px var(--box-shadow-2);
    padding: 6px 20px;
    z-index: 1200;
  }

  .blog-card-meta:focus-within .share-popout,
  .share-ellipsis:focus + .share-popout,
  .share-ellipsis:active + .share-popout {
    display: block;
  }

  .share-popout a.share-open {
    color: var(--modal-body);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
  }
}

/* Video Section */
.video-section {
  margin: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Share modal (pure CSS using :target) */
.share-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99990; /* keep below active target state */
  align-items: center;
  justify-content: center;
}

.share-modal:target {
  display: flex;
  background: var(--modal-target);
  z-index: 99999; /* ensure overlay covers header/nav */
  pointer-events: auto;
}

.share-modal-content {
  background: #fff;
  padding: 32px 24px;
  width: 100%;
  box-shadow: 0 12px 40px var(--box-shadow-dark);
  text-align: center;
}

.share-modal-close {
  position: absolute;
  right: 16px;
  top: 12px;

  /* keep a large hit area matching the share icons */
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0; /* no circle */
  background: transparent; /* remove circular background */
  color: var(--body-light); /* white X */
  font-size: var(--fs-text-section-heading); /* make the X visually similar to the circle size */
  line-height: 1;
  padding: 0;
  border: none;
  text-decoration: none;
  z-index: 2100;
}

.share-modal-content h2 {
  margin: 0 0 12px;
  font-size: var(--fs-intro);
}

.share-icons {
  display: flex;
  gap: 12px;

  /* constrain the icons row so they can spread evenly across the modal */
  width: min(520px, 90%);
  margin: 32px auto 0;
  justify-content: space-between;
  align-items: center;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--modal-social-bg);
  color: var(--modal-body);
  text-decoration: none;
  font-weight: 600;
}

/* copy button should match circular icon style */
.social-link,
.share-icon {
  box-shadow: none;
}

/* ensure copy-link (button) uses same circular style */
.copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--modal-social-bg);
  color: var(--modal-body);
  border: none;
}

.share-icons .social-link i,
.share-icons .share-icon i,
.share-icons .copy-link i {
  font-size: var(--fs-body);
  line-height: 1;
}

.social-link:focus,
.copy-link:focus,
.share-icon:focus {
  outline: 2px solid var(--social-outline);
  outline-offset: 2px;
}

/* Brand colors and white icons */
.share-fb {
  background: var(--social-facebook);
}

.share-x {
  background: var(--social-twitter);
}

.share-li {
  background: var(--social-linkedin);
}

/* Ensure icon glyphs are white on colored backgrounds */
.share-fb i,
.share-fb span,
.share-x i,
.share-x span,
.share-li i,
.share-li span,
.copy-link i,
.copy-link span {
  color: var(--body-light);
}

/* Hover: slightly darker */
.share-fb:hover {
  filter: brightness(0.95);
}

.share-x:hover {
  filter: brightness(0.95);
}

.share-li:hover {
  filter: brightness(0.95);
}

.copy-link:hover {
  filter: brightness(0.9);
}

.share-copy .share-url {
  width: 220px;
  padding: 8px 10px;
  border: 1px solid var(--social-hover-border);
  border-radius: 6px;
}

@media screen and (max-width: 420px) {
  .share-modal-content {
    width: calc(100vw - 32px);
  }

  .share-icons {
    gap: 8px;
  }

  .share-copy .share-url {
    width: 140px;
  }
}

.video-container {
  width: 706px;
  height: 413px;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* News Article Single Page */
.news-article-container {
  width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-article-container .category-links a {
  font-size: var(--fs-body);
}

.news-article-container .category-links a:first-child {
  padding-left: 0;
}

.news-article-container .category-filter {
  padding-bottom: 45px;
}

/* Category filter on single news page */
.content-container .category-filter {
  margin-top: 100px;
}

.news-article {
  border: 1px solid var(--card-border);
  padding: 65px 100px;
  background-color: var(--bg-light);
}

.article-meta {
  font-size: var(--fs-meta-sm);
  color: var(--meta-text);
  margin-bottom: 20px;
}

.article-title {
  font-size: var(--fs-title);
  font-weight: bold;
  color: var(--brand);
  margin: 0 0 50px;
  line-height: 1.4;
}

.article-updated {
  font-size: var(--fs-meta-sm);
  color: var(--meta-text);
  margin-bottom: 50px;
}

.article-featured-image {
  margin-bottom: 40px;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--body);
  margin-bottom: 40px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  margin: 30px 0 15px;
  color: var(--body);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content p a {
  color: var(--brand);
  text-decoration: none;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-categories {
  margin-bottom: 30px;
  line-height: 1.5;
}

.category-tag {
  display: inline-block;
  background-color: transparent;
  color: var(--meta-text-dark);
  padding: 8px 0;
  margin-right: 0;
  margin-bottom: 10px;
  text-decoration: underline;
  font-size: var(--fs-meta-sm);
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.category-tag:hover {
  color: var(--brand);
}

.article-divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 30px 0;
}

.article-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-social .copy-link i,
.copy-link span {
  color: var(--meta-text);
}

blockquote.lead {
  font-size: var(--fs-img-quote);
  line-height: 1.2;
  color: var(--body-dark);
  position: relative;
  padding-left: 20px;
  padding-top: 6px;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

blockquote.lead p {
  margin-bottom: 0;
}

blockquote.lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background-color: var(--brand);
}

.social-link {
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: var(--fs-social);
  color: var(--meta-text);
  cursor: pointer;
  margin-right: 15px;
  background: none;
  border: none;
  padding: 0;
}

.social-link:hover {
  color: var(--body);
}

.social-link.facebook:hover {
  color: var(--social-facebook);
}

.social-link.twitter:hover {
  color: var(--social-twitter);
}

.social-link.linkedin:hover {
  color: var(--social-linkedin);
}

.social-link.copy-link:hover {
  color: var(--brand);
}

/* Recent Posts Section */
.recent-posts {
  background-color: var(--bg-light);
  padding-top: 40px;
}

.recent-posts-container {
  width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.recent-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 30px;
}

.recent-posts-title {
  font-size: var(--fs-body);
  font-family: ProximaNova, sans-serif;
  margin: 0;
  font-weight: 300;
  text-align: left;
  line-height: normal;
}

.see-all-link {
  color: var(--meta-text-dark);
  font-size: var(--fs-meta-sm);
  font-weight: normal;
  text-decoration: none;
}

.see-all-link:hover {
  color: var(--accent-text-primary);
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 40px;
}

/* Desktop: hide mobile-only carousel container by default */
.recent-posts-mobile {
  display: none;
}

.recent-post-card {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.recent-post-image {
  width: 100%;
  height: 162px;
  overflow: hidden;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--img-thumbnail-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-post-content {
  padding: 24px;
}

.recent-post-title {
  font-size: var(--fs-body);
  color: var(--accent-text-primary);
  margin-bottom: 0;
  font-family: Korpus, sans-serif;
  font-weight: 600;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-title:hover {
  color: var(--accent-text-primary-hover);
  text-decoration: underline;
}

@media screen and (max-width: 750px) {
  .recent-posts {
    padding: 60px 0;
  }

  .recent-posts-container {
    padding: 0 15px;
  }

  .recent-posts-header {
    margin-bottom: 40px;
  }

  .recent-posts-title {
    font-size: var(--fs-subheading);
  }

  .recent-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .recent-post-image {
    height: 180px;
  }

  .recent-post-content {
    padding: 20px;
  }

  .recent-post-title {
    font-size: var(--fs-body);
  }
}

/* Featured Media Section */
.featured-media {
  background-color: var(--bg-medium);
  padding: 80px 0;
  margin-top: 100px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.featured-media-container {
  width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-media-header {
  margin-bottom: 30px;
}

.featured-media-meta {
  width: 620px;
  font-size: var(--fs-body);
  margin-bottom: 20px;
}

.featured-publication {
  font-weight: bold;
}

.featured-publication::after {
  content: " | ";
  font-weight: normal;
}

.featured-date {
  font-weight: normal;
}

.featured-title {
  width: 620px;
  font-size: var(--fs-title);
  color: var(--accent-text-primary-dark);
  margin: 0;
  line-height: normal;
}

.featured-title a {
  color: var(--accent-text-primary-dark);
  text-decoration: none;
}

.featured-title a:hover {
  text-decoration: underline;
}

.featured-media-content {
  display: flex;
  gap: 40px;
}

.featured-media-left {
  flex: 1;
  max-width: 620px;
}

.featured-thumbnail {
  width: 580px;
  height: 330px;
  overflow: hidden;
}

.featured-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-media-right {
  flex: 1;
  max-width: 351px;
}

.featured-citation {
  font-size: var(--fs-intro);
  font-weight: bold;
  width: 351px;
  margin-bottom: 20px;
  line-height: normal;
}

.featured-content {
  font-size: var(--fs-body);
  width: 351px;
  margin-bottom: 20px;
  line-height: normal;
}

.featured-url {
  font-size: var(--fs-body);
}

.featured-url a {
  color: var(--accent-text-primary-dark);
  text-decoration: underline;
}

.featured-url a:hover {
  text-decoration: none;
}

/* Media Grid Section */
.media-grid {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.media-grid-container {
  width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.media-grid-title {
  font-size: var(--fs-title);
  color: var(--accent-text-primary);
  margin-bottom: 30px;
  margin-left: 100px;
  width: 629px;
  font-weight: bold;
  text-align: left;
  line-height: normal;
}

.media-grid-description {
  font-size: var(--fs-subheading-xs);
  font-weight: bold;
  color: var(--body);
  margin-bottom: 60px;
  margin-left: 100px;
  width: 629px;
  line-height: normal;
}

.media-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 303px);
  gap: 40px;
  justify-content: space-between;
}

.media-card {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  width: 303px;
  min-height: 356px;
}

.media-card-image {
  width: 303px;
  height: 170px;
  overflow: hidden;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--img-thumbnail-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card-content {
  padding: 17px;
}

.media-card-meta {
  font-size: var(--fs-meta);
  color: #666;
  margin-bottom: 15px;
  line-height: normal;
}

.media-card-publication {
  text-transform: uppercase;
  line-height: normal;
}

.media-card-publication::after {
  content: " | ";
  font-weight: normal;
}

.media-card-date {
  font-weight: normal;
  text-transform: uppercase;
  line-height: normal;
}

.media-card-title {
  font-size: var(--fs-media-card-title);
  font-family: Korpus, sans-serif;
  color: var(--brand);
  margin: 0;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: color 0.3s ease;
}

.media-card-title:hover {
  color: var(--accent-text-primary-hover);
}

@media screen and (max-width: 750px) {
  .media-grid {
    padding: 60px 0;
  }

  .media-grid-container {
    padding: 0 15px;
  }

  .media-grid-title {
    font-size: var(--fs-subheading);
    margin-bottom: 20px;
  }

  .media-grid-description {
    font-size: var(--fs-meta);
    margin-bottom: 40px;
  }

  .media-grid-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .media-card-image {
    height: 180px;
  }

  .media-card-content {
    padding: 20px;
  }

  .media-card-title {
    font-size: var(--fs-body);
  }
}

.headshot {
  max-height: 194px;
  margin-top: 0;
  float: right;
  padding-left: 15px;
  margin-bottom: 15px;
}

/* Responsive styles for index */
@media screen and (max-width: 750px) {
  main.content-container {
    padding: 0;
    overflow: hidden;
    width: 100%;
  }

  .index-container {
    width: 100%;
  }

  .image-hero {
    margin-left: 0;
    width: 100%;
    height: 82.1875vw;
    background-size: cover;
    background-position-x: bottom;
    background-repeat: no-repeat;
    background-attachment: unset;
  }

  h1.tagline {
    width: 87.5vw;
    font-size: 8.75vw;
    margin-left: 6.25vw;
    margin-top: 6.25vw;
  }

  .index-container .text-block,
  section.text-block {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .text-block .content-section {
    margin-left: 0;
    padding: 6.25vw;
    width: 100%;
  }

  .content-section .content-body {
    width: 87.5vw;
    font-size: 4.375vw;
    line-height: 1.4;

    /* font-size: clamp(14px, 5vw, 18px); */
  }

  .content-body .btn {
    font-size: 4.375vw;
    display: block;
    text-align: center;
    margin: 0 auto;
    width: calc(160px * var(--mobile-vw-unit));

    /* font-size: clamp(14px, 5vw, 18px); */
  }
}

@media screen and (max-width: 750px) {
  .nav-logo {
    margin-left: calc(20px * var(--mobile-vw-unit));
    margin-top: calc(15px * var(--mobile-vw-unit));
  }

  .product-logo {
    width: calc(168px * var(--mobile-vw-unit));
    height: auto;
  }
}

/* Mobile Navigation Styles */
@media screen and (max-width: 750px) {
  .mobile-nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .mobile-nav-toggle {
    background: none;
    border: none;
    font-size: var(--fs-body);
    cursor: pointer;
    padding: 5px 10px;
    color: inherit;
  }

  .mobile-nav-toggle:hover {
    opacity: 0.7;
  }

  .mobile-submenu {
    padding-left: 0;
    margin-top: 5px;
  }

  .mobile-submenu a {
    display: block;
    padding: 5px 0;
  }

  .mobile-nav hr {
    width: calc(190px * var(--mobile-vw-unit));
    text-align: center;
    margin: calc(2px * var(--mobile-vw-unit)) auto;
    border-top-color: var(--divider);
  }

  .mobile-nav .nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* XHT Styles */
@media screen and (max-width: 750px) {
  .xht-container {
    padding-top: 0;
    width: calc(280px * var(--mobile-vw-unit));
    margin-left: calc(20px * var(--mobile-vw-unit));
    margin-right: calc(20px * var(--mobile-vw-unit));
  }

  .xht-container .image-hero {
    height: calc(137px * var(--mobile-vw-unit));

    /* allow the hero to break out of the centered container and go full-bleed */

    /* zoom the background image 50% for a closer crop */
    background-size: 250% auto;
    background-position: center center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: none;
  }

  .xht-page-title {
    /* Responsive: clamp(min, preferred, max) - keeps 25px minimum, scales with viewport, caps at 45px */
    font-size: calc(var(--fs-mobile-title) * var(--mobile-vw-unit));
    margin-top: calc(20px * var(--mobile-vw-unit));
    margin-left: 0;
    margin-bottom: calc(10px * var(--mobile-vw-unit));
    width: 100%;
  }

  h1.xht-page-title {
    margin-left: 0;
  }

  .xht-container .text-block .content-section {
    padding: 0;
  }

  .image-overlay {
    width: 100vw;
    height: calc(258px * var(--mobile-vw-unit));
    background-size: cover;
    background-position-x: bottom;
    background-repeat: no-repeat;
    background-attachment: unset;
  }

  .overlay-text h2 {
    font-size: calc(var(--fs-mobile-subheading-md) * var(--mobile-vw-unit));
    margin-left: calc(-80px * var(--mobile-vw-unit));
    margin-top: calc(105px * var(--mobile-vw-unit));
    width: calc(193px * var(--mobile-vw-unit));
  }

  .xht-container .text-block {
    padding-top: 0;
    width: 100%;
  }

  .xht-container .text-block h2 {
    font-size: calc(var(--fs-mobile-subheading-lg) * var(--mobile-vw-unit));
    width: calc(279px * var(--mobile-vw-unit));
    margin-left: 0;
  }

  .xht-container .text-block .content-section .content-body {
    width: 100%;
  }

  .xht-container .text-block .content-section .content-body h2.subheading {
    font-size: calc(var(--fs-mobile-section-heading) * var(--mobile-vw-unit));
  }

  .xht-container .image-statistics {
    width: 100%;
    margin-left: 0;
    height: auto;
    background-size: contain;
    padding-bottom: calc(40px * var(--mobile-vw-unit));
  }

  .xht-container p.btn {
    margin-left: 0;
  }

  .image-statistics .three-column-overlay {
    grid-template-columns: 1fr;
    gap: calc(20px * var(--mobile-vw-unit));
    text-align: center;
  }

  .image-statistics .image-overlay {
    background-size: contain;
  }

  .stat {
    font-size: calc(var(--fs-mobile-img-stat) * var(--mobile-vw-unit));
    text-align: center;
  }

  .statistics-divider {
    margin-left: auto;
    margin-right: auto;
    width: calc(300px * var(--mobile-vw-unit));
  }

  .statistics-unit {
    font-size: calc(var(--fs-mobile-img-unit) * var(--mobile-vw-unit));
    width: calc(280px * var(--mobile-vw-unit));
    padding-left: calc(22px * var(--mobile-vw-unit));
  }

  .statistics-duration,
  .xht-link {
    font-size: calc(var(--fs-mobile-img-unit) * var(--mobile-vw-unit));
    width: calc(280px * var(--mobile-vw-unit));
    padding-left: calc(22px * var(--mobile-vw-unit));
  }

  .pull-quote-overlay {
    display: none;
  }

  .image-testimonial {
    width: 100vw;

    /* Stronger selector to avoid accidental overrides elsewhere */
    .share-icons .copy-link,
    .share-modal .copy-link {
      background: #111;
      color: var(--body-light);
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    height: calc(221px * var(--mobile-vw-unit));
    background-size: cover;
    background-position-x: 25%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-attachment: unset;
  }

  .text-block h2 {
    font-size: calc(var(--fs-mobile-subheading-lg) * var(--mobile-vw-unit));
  }

  .text-block .content-body,
  .text-block p.text-highlight {
    font-size: calc(var(--fs-mobile-section-heading) * var(--mobile-vw-unit));
  }

  .xht-our-news-title {
    font-size: calc(var(--fs-mobile-subheading-lg) * var(--mobile-vw-unit));
    margin-left: 0;
  }

  .xht-our-news-grid,
  .xht-our-news-card {
    width: 100%;
    height: auto;
  }

  .xht-our-news-image {
    height: calc(203.25px * var(--mobile-vw-unit));
    width: 100%;
  }

  .xht-news-date {
    font-size: calc(var(--fs-mobile-section-heading) * var(--mobile-vw-unit));
  }

  .xht-our-news-container {
    padding: 0;
  }

  .xht-our-news-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: calc(24px * var(--mobile-vw-unit));
  }

  .xht-our-news-content .blog-card-meta {
    color: var(--meta-text);
  }

  .xht-our-news-content .blog-card-author,
  .xht-our-news-content .blog-card-meta,
  .xht-our-news-content .blog-card-description {
    display: revert;
  }

  .blog-card-author,
  .blog-card-meta {
    font-size: calc(var(--fs-mobile-meta) * var(--mobile-vw-unit));
  }

  .share-ellipsis {
    display: inline;
  }

  .blog-card-meta {
    margin-bottom: calc(12px * var(--mobile-vw-unit));
  }

  .xht-our-news-card-title {
    font-size: calc(var(--fs-mobile-subheading-lg) * var(--mobile-vw-unit));
    line-height: normal;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .blog-card-description {
    font-size: calc(var(--fs-mobile-description) * var(--mobile-vw-unit));
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .video-section {
    margin-top: calc(20px * var(--mobile-vw-unit));
    margin-bottom: calc(20px * var(--mobile-vw-unit));
  }

  .video-container,
  .video-container video {
    max-width: 706px;
    height: auto;
  }
}

/* News Styles */
@media screen and (max-width: 750px) {
  .news-list-container .image-hero {
    width: 100vw;
    height: calc(230px * var(--mobile-vw-unit));
  }

  .news-list-container .hero-container {
    width: 100vw;
  }

  .news-list-container .hero-container h1.subtitle {
    font-size: calc(var(--fs-mobile-subheading-lg) * var(--mobile-vw-unit));
    width: calc(280px * var(--mobile-vw-unit));
    margin-top: calc(70px * var(--mobile-vw-unit));
    margin-bottom: calc(70px * var(--mobile-vw-unit));
    margin-left: calc(20px * var(--mobile-vw-unit));
  }

  .news-list-container .category-filter {
    display: none;
  }

  .blog-card {
    width: 100%;
    height: auto;
    flex-direction: column;
    border: none;
    margin-bottom: 20px;
    position: relative;
  }

  .blog-card-image {
    width: 100%;
    height: 100vw; /* Square aspect ratio */
    flex-shrink: 0;
    position: relative;
  }

  .blog-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--blog-body);
    padding: calc(18px * var(--mobile-vw-unit)) calc(15px * var(--mobile-vw-unit));
    color: var(--body-light);
    z-index: 10;
  }

  .blog-posts-container .blog-card-author {
    display: none;
  }

  .blog-card-meta {
    font-size: calc(var(--fs-mobile-meta) * var(--mobile-vw-unit));
    color: var(--body-light);
  }

  .blog-card-title {
    position: absolute;
    bottom: 0;
    left: calc(15px * var(--mobile-vw-unit));
    right: calc(15px * var(--mobile-vw-unit));
    margin-bottom: calc(18px * var(--mobile-vw-unit));
    margin-top: 0;
    font-size: calc(var(--fs-mobile-blog-title) * var(--mobile-vw-unit));
    color: var(--body-light);
  }

  .blog-card-title a,
  .blog-card-title a:hover {
    color: var(--body-light);
  }

  .blog-posts-container .blog-card .blog-card-description {
    display: none;
  }

  .news-article-container {
    width: 100vw;
    padding: 0;
  }

  .news-article-container .category-filter {
    margin-top: 0;
  }

  .news-article-container .category-filter .section-content {
    width: 100vw;
  }

  .news-article {
    padding: calc(18px * var(--mobile-vw-unit));
  }

  .category-links {
    display: block;
    width: 100vw;
    padding: calc(20px * var(--mobile-vw-unit));
  }

  .category-filter-item {
    display: none;
  }

  .all-posts-link::after {
    content: "˅";
  }
}

@media screen and (max-width: 750px) {
  .category-filter-desktop {
    display: none;
  }

  .category-filter-mobile {
    display: block;
    position: relative;
    z-index: 100;
  }

  .category-modal-label {
    display: block;
    width: 100vw;
    background: var(--body-light);
    border: 1px solid var(--divider);
    border-radius: 6px;
    margin: 0 auto;
    padding: 16px 48px 16px 20px;
    calc(var(--fs-mobile-subheading-sm) * var(--mobile-vw-unit));
    text-align: left;
    box-shadow: 0 2px 8px var(--box-shadow-light);
    position: relative;
    cursor: pointer;
  }

  .category-modal-label::after {
    content: "˅";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    calc(var(--fs-mobile-subheading-sm) * var(--mobile-vw-unit));
    color: var(--expand-icon);
    pointer-events: none;
  }

  .category-modal-toggle {
    display: none;
  }

  .category-modal-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 33vh;
    min-height: 180px;
    max-height: 60vh;
    background: var(--bg-light);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -4px 24px var(--box-shadow-medium);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 1.6, 0.4, 1);
    display: flex;
    flex-direction: column;
    padding: 18px 0 0;
    opacity: 1;
    pointer-events: none;
  }

  .category-modal-toggle:checked ~ .category-modal-menu {
    transform: translateY(0);
    pointer-events: auto;
  }

  .category-modal-list {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .category-modal-list .category-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 14px 0;
    font-size: var(--fs-body);
    color: var(--accent-text-primary-dark);
    text-align: left;
    box-shadow: none;
    border-bottom: 1px solid var(--modal-border);
    transition: background 0.2s;
  }

  .category-modal-list .category-link:last-child {
    border-bottom: none;
  }

  .category-modal-close {
    display: block;
    width: 100%;
    padding: 18px 0;
    text-align: center;
    font-size: var(--fs-body);
    color: var(--modal-active);
    background: none;
    border: none;
    border-top: 1px solid var(--modal-border);
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.2s;
  }

  .category-modal-close:active {
    background: var(--modal-bg);
  }

  .category-modal-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--modal-overlay-bg);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .category-modal-toggle:checked ~ .category-modal-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .category-modal-toggle .all-posts-link {
    color: var(--modal-text-dark);
  }

  .article-meta {
    font-size: calc(var(--fs-mobile-meta) * var(--mobile-vw-unit));
  }

  .article-author::after {
    content: "";
    display: block;
    height: 0;
    width: 100%;
    margin: 0;
    border: none;
  }

  .article-author + .meta-separator {
    display: none;
  }

  .news-article-container .category-filter {
    padding-bottom: 0;
  }

  .category-filter-mobile .section-content {
    padding: 0 0 16px;
    width: 100vw;
    margin: 0;
    padding-bottom: 0;
  }

  .article-title {
    calc(var(--fs-mobile-subheading-sm) * var(--mobile-vw-unit));
    margin-bottom: calc(9px * var(--mobile-vw-unit));
  }

  .article-updated {
    font-size: calc(var(--fs-mobile-section-heading) * var(--mobile-vw-unit));
  }

  .article-content p {
    font-size: calc(var(--fs-mobile-section-heading) * var(--mobile-vw-unit));
    line-height: calc(22px * var(--mobile-vw-unit));
  }

  .category-tag {
    font-size: calc(var(--fs-mobile-section-heading) * var(--mobile-vw-unit));
    display: block;
  }

  .social-link {
    font-size: calc(var(--fs-mobile-subheading-md) * var(--mobile-vw-unit));
  }

  .recent-posts-title {
    calc(var(--fs-mobile-subheading-sm) * var(--mobile-vw-unit));
  }

  .recent-posts-container {
    width: 100vw;
  }

  .recent-posts-header a.see-all-link {
    font-size: calc(var(--fs-mobile-section-heading) * var(--mobile-vw-unit));
  }

  blockquote.lead p {
    calc(var(--fs-mobile-subheading-sm) * var(--mobile-vw-unit));
    line-height: calc(38px * var(--mobile-vw-unit));
    font-weight: 600;
  }
}

@media screen and (max-width: 750px) {
  .featured-media {
    margin-top: 0;
    padding-top: calc(20px * var(--mobile-vw-unit));
    padding-bottom: calc(20px * var(--mobile-vw-unit));
  }

  .featured-media-container {
    width: 100vw;
  }

  .featured-media-meta {
    width: 100%;
    font-size: calc(var(--fs-mobile-body) * var(--mobile-vw-unit));
  }

  .featured-title {
    width: 100%;
    font-size: calc(var(--fs-mobile-title) * var(--mobile-vw-unit));
  }

  .featured-media-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .featured-media-left,
  .featured-media-right {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .featured-thumbnail {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .featured-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .featured-citation,
  .featured-content,
  .featured-url {
    width: 100%;
    font-size: calc(var(--fs-mobile-body) * var(--mobile-vw-unit));
  }

  .media-grid,
  .media-grid-container {
    width: 100%;
  }

  .media-grid-container {
    padding: 0 calc(20px * var(--mobile-vw-unit));
  }

  .media-grid-title {
    font-size: calc(var(--fs-mobile-title) * var(--mobile-vw-unit));
    margin-left: 0;
  }

  .media-grid-description {
    font-size: calc(var(--fs-mobile-body) * var(--mobile-vw-unit));
    margin-left: 0;
    width: 100%;
  }

  .media-card {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .media-card-image {
    width: 100%;
    height: auto;
  }

  .media-card-image img {
    display: block;
    height: calc(118px * var(--mobile-vw-unit));
    width: calc(210px * var(--mobile-vw-unit));
    margin: calc(11px * var(--mobile-vw-unit)) auto;
  }

  .media-card-content {
    padding: calc(11px * var(--mobile-vw-unit));
    width: calc(258px * var(--mobile-vw-unit));
  }

  .media-card-meta {
    font-size: calc(var(--fs-mobile-description) * var(--mobile-vw-unit));
  }

  .media-card-title {
    font-size: calc(var(--fs-mobile-subheading-md) * var(--mobile-vw-unit));
  }
}

@media screen and (max-width: 750px) {
  .recent-posts-grid {
    display: none;
  }

  .carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 0;
  }

  .carousel-track {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 300ms ease;
    will-change: transform;
    padding: 0;
  }

  .carousel-item {
    flex: 0 0 calc(248px * var(--mobile-vw-unit));
    box-sizing: border-box;
    font-family: Korpus, sans-serif;
  }

  .carousel-item a {
    text-decoration: none;
    color: var(--brand);
  }

  .carousel-image img,
  .carousel-image .recent-post-placeholder {
    width: calc(248px * var(--mobile-vw-unit));
    height: calc(140px * var(--mobile-vw-unit));
    object-fit: cover;
    display: block;
  }

  .carousel-title {
    color: var(--brand);
    font-size: calc(var(--fs-mobile-subheading-sm) * var(--mobile-vw-unit));
    line-height: 1.2;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
    max-width: calc(196px * var(--mobile-vw-unit));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--nav-divider);
    border: none;
    padding: 0;
  }

  .carousel-dot.active {
    background: var(--modal-active-light);
  }
}

@media screen and (max-width: 750px) {
  .recent-posts-mobile {
    margin-left: -15px;
    display: block;
  }
}

@media screen and (max-width: 750px) {
  .category-sep {
    display: none;
  }
}

@media screen and (max-width: 750px) {
  .content-container .xht-container.tellfinder-software-page {
    display: flex;
    flex-direction: column;
  }

  .content-container .xht-container.tellfinder-software-page > header#home {
    order: 1;
  }

  .content-container .xht-container.tellfinder-software-page > h1 {
    order: 2;
  }

  .content-container .xht-container.tellfinder-software-page > section:first-of-type {
    order: 3;
  }

  .content-container .xht-container.tellfinder-software-page > section.image-testimonial {
    order: 4;
  }

  .content-container .xht-container.tellfinder-software-page > section:last-of-type {
    order: 5;
  }

  .content-container .xht-container.tellfinder-software-page > #highlights {
    order: 6;
  }
}
