/* ==========================================================================
   Template 3 Editorial Bridge — unifies all 146 live PHP inner routes,
   forms, galleries, conference views & overlays with CBER-Website 3 tokens.
   ========================================================================== */

/* Keep body typography, clean links & dark/light tokens authoritative */
body {
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--page);
}
a {
  text-decoration: none;
}
.site-footer a,
.site-footer a:hover,
.site-footer a:focus,
.site-header a,
.cf-header a,
.utility-bar a,
.research-links a,
.resources-panel a,
.conference-card a,
.journal-card a,
.speaker-card a,
.blog-card a,
.news-panel a,
.cf-card a,
.cf-speaker a,
.partner-tile,
.indexer,
.t3-indexer-tile,
.product a,
.keo_courses_wrap a {
  text-decoration: none !important;
}
.site-footer .footer-bottom a:hover,
.site-footer .footer-links a:hover,
.site-footer .contact-block a:hover {
  text-decoration: none !important;
  color: var(--panel-accent, #a9d5bc);
}

/* Prevent extension.css book-cover .cover-title from colliding with homepage .journal-cover */
.journal-cover .cover-title {
  font-family: var(--body-font);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  margin: 0;
  max-width: 165px;
}
@media (max-width: 1199.98px) {
  .journal-cover .cover-title {
    font-size: 11.5px;
  }
}

/* ==========================================================================
   Template 3 Reusable Editorial Carousels (Single-Card & Multi-Item Track)
   ========================================================================== */
.t3-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.t3-carousel-head h2,
.t3-carousel-head h3 {
  margin: 0;
}
.t3-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.t3-carousel-counter {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
  white-space: nowrap;
}
.t3-carousel-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 24%, var(--line));
  background: var(--page);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.t3-carousel-btn:hover:not(:disabled) {
  background: var(--soft);
  border-color: var(--brand);
  color: var(--brand);
}
.t3-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.t3-carousel-btn .icon {
  width: 14px;
  height: 14px;
}
.t3-carousel-btn--sm {
  width: 26px;
  height: 26px;
}
.t3-carousel-btn--sm .icon {
  width: 12px;
  height: 12px;
}

/* Carousel pagination dots */
.t3-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.t3-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: color-mix(in srgb, var(--ink) 22%, var(--line));
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.t3-carousel-dot.is-active {
  width: 20px;
  background: var(--brand);
}

/* Multi-item horizontal scroll-snap track */
.t3-carousel-track {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 6px;
}
.t3-carousel-track::-webkit-scrollbar {
  display: none;
}
.t3-carousel-track > * {
  scroll-snap-align: start;
  min-width: 0;
}
.t3-carousel-track[data-cols="4"] {
  grid-auto-columns: calc((100% - 60px) / 4);
}
.t3-carousel-track[data-cols="3"] {
  grid-auto-columns: calc((100% - 40px) / 3);
}
.t3-carousel-track[data-cols="5"] {
  grid-auto-columns: calc((100% - 80px) / 5);
}
@media (max-width: 1199.98px) {
  .t3-carousel-track[data-cols="5"] {
    grid-auto-columns: calc((100% - 40px) / 3);
  }
  .t3-carousel-track[data-cols="4"] {
    grid-auto-columns: calc((100% - 40px) / 3);
  }
  .t3-carousel-track[data-cols="3"] {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}
@media (max-width: 767.98px) {
  .t3-carousel-track[data-cols="5"],
  .t3-carousel-track[data-cols="4"],
  .t3-carousel-track[data-cols="3"] {
    grid-auto-columns: calc((100% - 16px) / 2);
    gap: 16px;
  }
  .t3-carousel-track.t3-mobile-1 {
    grid-auto-columns: 88%;
  }
  .t3-carousel-head {
    flex-wrap: wrap;
    align-items: center;
  }
}

/* Single-card carousel (Special Issue, Sponsors, Official Partners, Conference Chairs) */
.t3-card-carousel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.t3-card-carousel__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.t3-card-carousel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
}
.t3-card-carousel__meta .eyebrow {
  margin: 0;
  min-width: 0;
  font-size: 9px;
  letter-spacing: 1.2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t3-card-carousel__top h3 {
  margin: 0;
}
.t3-card-carousel__stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.t3-card-slide {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  animation: t3FadeIn .22s ease;
}
.t3-card-slide.is-active {
  display: flex;
}
.t3-card-slide .cf-card-link,
.t3-card-slide .text-link {
  margin-top: auto;
}
@keyframes t3FadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Indexer compact slide tiles inside horizontal carousel */
.t3-indexer-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  font-family: var(--heading-font);
  font-size: 13px;
  color: var(--ink);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.t3-indexer-tile:hover {
  background: var(--soft);
  border-color: var(--brand);
  color: var(--brand);
}
.t3-indexer-tile .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
  flex-shrink: 0;
}

/* Partner tile inside carousel needs bordered card edges */
.t3-carousel-track .partner-tile {
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 100%;
  min-height: 92px;
}

/* Leadership / Speakers / Sponsors inner product-card compatibility */
@media (min-width: 1200px) {
  .col-xl-5col {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.about-section .product,
.partner-section .product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, transform .18s ease;
}
.about-section .product:hover,
.partner-section .product:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.about-section .product .product-image-container,
.partner-section .product .product-image-container {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-section .product .product-image-container {
  aspect-ratio: 16 / 10;
  background: #ffffff;
  padding: 16px;
}
.about-section .product .product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.partner-section .product .product-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.about-section .product .btn-quickview {
  display: none;
}
.about-section .product .product-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.about-section .product .product-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.38;
  margin: 0 0 8px;
}
.about-section .product .product-title a {
  color: var(--ink);
}
.about-section .product .product-title a:hover {
  color: var(--brand);
}
.about-section .product .speaker-affiliation {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.about-section .product .speaker-profile-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.about-section .owl-carousel.widget-featured-products {
  display: grid;
  gap: 14px;
}

/* Conference benefits neat max-height toggle helper */
.cf-benefits-list ul,
.cf-benefits-list ol {
  padding-left: 20px;
  margin-bottom: 0;
}
.cf-benefits-list li {
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.65;
}

/* Conference speakers & chairs unified portrait frames */
.cf-speaker-portrait,
.cf-chair-portrait {
  width: 100%;
  aspect-ratio: 4 / 4.1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--soft);
  color: var(--brand);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 400 42px/1 var(--heading-font);
  margin-bottom: 16px;
}
.cf-speaker-portrait img,
.cf-chair-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .28s ease;
}
.cf-speaker--clickable {
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cf-speaker--clickable:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cf-speaker--clickable:hover h3,
.cf-chair-slide--clickable:hover h3 {
  color: var(--brand);
}
.cf-speaker--clickable:hover .cf-speaker-portrait img,
.cf-chair-slide--clickable:hover .cf-chair-portrait img {
  transform: scale(1.03);
}
.cf-speaker--clickable:hover .text-link,
.cf-chair-slide--clickable:hover .text-link {
  color: var(--brand);
}
.cf-speaker--clickable:hover .text-link .icon,
.cf-chair-slide--clickable:hover .text-link .icon {
  transform: translateX(3px);
}
.cf-speaker--clickable:has(.stretched-link:focus-visible),
.cf-chair-slide--clickable:has(.stretched-link:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.cf-speaker--clickable .stretched-link:focus-visible,
.cf-chair-slide--clickable .stretched-link:focus-visible {
  outline: none;
}
.cf-chair-slide--clickable {
  cursor: pointer;
}
.cf-speaker-col {
  display: flex;
  flex-direction: column;
}
.cf-speaker-col .t3-carousel-track {
  flex: 1 1 auto;
}
.partner-section {
  padding: 64px 0;
}
.partner-section .carousel-title {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
}
.leadership-grid .product-details .speaker-affiliation {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border: 1px solid var(--line);
}
.testimonial-list-wrap .testimonial-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
.testimonial-list-wrap .testimonial-card__name {
  color: var(--ink) !important;
}
.testimonial-list-wrap .testimonial-card__meta,
.testimonial-list-wrap .testimonial-card__quote,
.testimonial-list-wrap .testimonial-card__quote p {
  color: var(--muted) !important;
}

/* Global spacing utility compatibility used by inner *_asoft.php pages */
.ptb-100 { padding: 64px 0; }
.ptb-80  { padding: 56px 0; }
.ptb-50  { padding: 40px 0; }
.ptb-20  { padding: 20px 0; }
@media (max-width: 767.98px) {
  .ptb-100 { padding: 42px 0; }
  .ptb-80  { padding: 36px 0; }
}

/* Transform legacy .inner-hero-warp on all 143 inner routes into editorial .inner-hero */
.inner-hero-warp {
  padding: 32px 0 46px;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  position: relative;
  overflow: hidden;
}
.inner-hero-warp .inner-shape1,
.inner-hero-warp .inner-shape2,
.inner-hero-warp .inner-shape3 {
  display: none !important;
}
.inner-hero-warp .inner-hero-content {
  text-align: left;
  max-width: 920px;
}
.inner-hero-warp .inner-hero-content ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
  order: -1;
}
.inner-hero-warp .inner-hero-content {
  display: flex;
  flex-direction: column;
}
.inner-hero-warp .inner-hero-content ul li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.inner-hero-warp .inner-hero-content ul li + li::before {
  content: '/';
  color: var(--muted);
  opacity: .55;
}
.inner-hero-warp .inner-hero-content ul li:last-child {
  color: var(--ink);
  font-weight: 500;
}
.inner-hero-warp .inner-hero-content ul li a {
  color: var(--muted);
  text-decoration: none;
}
.inner-hero-warp .inner-hero-content ul li a:hover {
  color: var(--brand);
}
.inner-hero-warp .inner-hero-content h2,
.inner-hero-warp .inner-hero-content h1 {
  font-family: var(--heading-font);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
/* Fallback page-header on legacy pages */
.page-header.page-header-bg {
  background-image: none !important;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.page-header.page-header-bg h1 {
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.page-header.page-header-bg h1 span {
  display: block;
  font-family: var(--body-font);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

/* Breaking news ticker in template_3 palette */
.t3-breaking-bar {
  background: var(--navy);
  color: var(--panel-text, #f5f7ff);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 0;
  font-size: 12px;
}
.t3-breaking-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t3-breaking-badge {
  background: var(--action);
  color: var(--action-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.t3-breaking-marquee {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.t3-breaking-track {
  display: flex;
  width: fit-content;
  will-change: transform;
  animation: t3-bn-scroll var(--bn-duration, 120s) linear infinite;
}
.t3-breaking-marquee:hover .t3-breaking-track {
  animation-play-state: paused;
}
.t3-breaking-segment {
  display: flex;
  flex: 0 0 auto;
  white-space: nowrap;
}
.t3-breaking-item {
  display: inline-block;
  margin-right: 48px;
  color: #dbe6e6;
}
.t3-breaking-item strong {
  color: #ffffff;
  font-weight: 600;
}
@keyframes t3-bn-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .t3-breaking-track { animation: none; }
}

/* Content cards & prose surfaces across inner routes */
.kode_mosque2_des,
.discover-content-card,
.blog-submit-card,
.blog-sidebar-card,
.blog-submit-resources,
.membership-tier-card,
.membership-summary-card,
.membership-form-card,
.editorial-board-card,
.editorial-eic-card,
.indexing-partner-card,
.book-archive-card,
.book-proposal-card,
.book-catalog-card,
.book-detail-sidebar,
.publication-year-card,
.publication-card,
.album-card-t2,
.keo_courses_wrap,
.profile-sidebar-card,
.profile-bio-card,
.profile-not-found-card,
.media-list-item,
.cfp-conference-card,
.contact-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  color: var(--ink);
  box-shadow: none !important;
}
.kode_mosque2_des {
  padding: 36px 40px;
}
@media (max-width: 767.98px) {
  .kode_mosque2_des { padding: 24px 20px; }
}
.kode_mosque2_text,
.discover-content-card .kode_mosque2_text,
.discover-content-card .kode_mosque2_text p,
.discover-content-card .kode_mosque2_text li,
.blog-detail-content,
.blog-guidelines-list li,
.declaration-list {
  color: var(--muted) !important;
}
.kode_mosque2_text h1,
.kode_mosque2_text h2,
.kode_mosque2_text h3,
.kode_mosque2_text h4,
.kode_mosque2_text strong,
.blog-detail-title,
.blog-submit-card__header h3,
.blog-sidebar-card__title,
.latest-blog-item__title a,
.keo_course_des span,
.keo_course_des span a,
.membership-tier-card__name,
.membership-tier-card__name a,
.membership-tier-card__price,
.declaration-list > li > strong,
.declaration-box__header h4,
.declaration-check .form-check-label,
.profile-sidebar-name,
.profile-bio-header h2,
.editorial-eic-name,
.editorial-journal-title,
.indexing-partner-card__title,
.book-proposal-card__title,
.publication-year-card__year {
  color: var(--ink) !important;
}
.kode_mosque2_text h2,
.kode_mosque2_text h3,
.blog-detail-title,
.blog-submit-card__header h3,
.membership-tier-card__price {
  font-family: var(--heading-font);
  font-weight: 400;
}
.kode_mosque2_text a:not(.btn):not(.pdf-action-btn):not(.default-btn):not(.profile-back-btn):not(.membership-summary-btn):not(.membership-submit-btn):not(.blog-resource-btn),
.kode_mosque2_text a:not(.btn):not(.pdf-action-btn):not(.default-btn):not(.profile-back-btn):not(.membership-summary-btn):not(.membership-submit-btn):not(.blog-resource-btn) span {
  color: var(--brand) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Inner cards sub-surfaces */
.keo_course_bottom,
.declaration-box,
.gallery-toolbar,
.membership-tier-card__top,
.editorial-eic-card__header,
.editorial-journal-banner,
.pdf-viewer-toolbar {
  background: var(--tint) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.keo_course_bottom > a:not(.pdf-action-btn):not(.btn),
.blog-browse-link,
.blog-sidebar-card__all,
.latest-blog-item__date,
.blog-detail-meta i,
.membership-tier-card__cta,
.blog-guidelines-list li i {
  color: var(--brand) !important;
}

/* Switcher pills (policies / gallery / editorial jump) */
.membership-switcher,
.editorial-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.membership-switcher__pill,
.editorial-jump-pill {
  border: 1px solid var(--line) !important;
  background: var(--surface) !important;
  color: var(--muted) !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  text-decoration: none !important;
}
.membership-switcher__pill:hover,
.editorial-jump-pill:hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}
.membership-switcher__pill.is-active,
.editorial-jump-pill.is-active {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}

/* Buttons compatibility across legacy inner pages */
.default-btn,
.pdf-action-btn--primary,
.membership-submit-btn,
.membership-summary-btn--primary,
.blog-submit-resources__docs .blog-resource-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 3px !important;
  border: 1px solid var(--action) !important;
  background: var(--action) !important;
  color: var(--action-text) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.default-btn:hover,
.pdf-action-btn--primary:hover,
.membership-submit-btn:hover,
.membership-summary-btn--primary:hover,
.blog-submit-resources__docs .blog-resource-btn:hover {
  background: var(--action-hover) !important;
  border-color: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}
.pdf-action-btn--outline,
.membership-summary-btn--outline,
.blog-submit-resources__docs .blog-resource-btn:nth-child(even) {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
.pdf-action-btn--outline:hover,
.membership-summary-btn--outline:hover,
.blog-submit-resources__docs .blog-resource-btn:nth-child(even):hover {
  background: var(--soft) !important;
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}

/* Forms & inputs in light + dark mode */
.about-section .form-control,
.about-section .form-select,
.about-section textarea,
.gallery-search-input {
  background-color: var(--page) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
}
.about-section .form-control:focus,
.about-section .form-select:focus,
.gallery-search-input:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px var(--bs-focus-ring-color) !important;
}
.about-section .input-group-text {
  background: var(--soft) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.about-section label,
.about-section .form-label {
  color: var(--ink);
}
.about-section .card,
.about-section .modal-content {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.about-section .card-header {
  background: var(--tint);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.about-section table,
.about-section .table {
  color: var(--ink);
  border-color: var(--line);
}
.about-section .table > :not(caption) > * > * {
  background-color: transparent;
  color: var(--ink);
  border-bottom-color: var(--line);
}

/* Pagination */
.all-pagination .pagination,
.main-blog-pagination .pagination {
  gap: 6px;
  margin-top: 24px;
}
.all-pagination .pagination li .page-link,
.all-pagination .page-link,
.main-blog-pagination .page-link {
  border: 1px solid var(--line) !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-radius: 3px !important;
  padding: 8px 13px;
  font-size: 13px;
}
.all-pagination .pagination li .page-link:hover,
.all-pagination .pagination li .page-link.active,
.all-pagination .page-item.active .page-link,
.main-blog-pagination .page-item.active .page-link,
.main-blog-pagination .page-link:hover {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}

/* Blog listing card image ratio inside template_3 */
.about-section .blog-card .image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.about-section .blog-card .content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.about-section .blog-card .content h6,
.about-section .blog-card .content h5 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 10px;
}
.about-section .blog-card .content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--muted);
}
.about-section .blog-card .details-btn {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.about-section .blog-card .explore {
  color: var(--brand);
  font-weight: 600;
}

/* ==========================================================================
   Template 3 Interactive Command-Palette Search (Trigger + Modal)
   ========================================================================== */
html.t3-search-lock {
  overflow: hidden;
}

/* Header Search Trigger Pill (Desktop pill, compact icon on mobile/tablet) */
.t3-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--tint);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.t3-search-trigger .icon {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex-shrink: 0;
}
.t3-search-trigger-label {
  min-width: 68px;
  text-align: left;
  color: var(--muted);
}
.t3-search-trigger-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.t3-search-trigger:hover,
.t3-search-trigger:focus-visible {
  border-color: var(--brand);
  background: var(--soft);
  color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}
.t3-search-trigger:hover .t3-search-trigger-label {
  color: var(--ink);
}
.t3-search-trigger:hover .t3-search-trigger-kbd {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  color: var(--brand);
}
/* Keep main 8-item navbar compact (38px icon trigger); conference brandbar keeps full Search pill on >=1200px */
.site-header .t3-search-trigger {
  width: 38px;
  padding: 0;
  justify-content: center;
}
.site-header .t3-search-trigger .t3-search-trigger-label,
.site-header .t3-search-trigger .t3-search-trigger-kbd {
  display: none;
}
@media (max-width: 1199.98px) {
  .t3-search-trigger {
    width: 38px;
    padding: 0;
    justify-content: center;
  }
  .t3-search-trigger-label,
  .t3-search-trigger-kbd {
    display: none;
  }
}

/* Frosted Overlay & Elevated Command Palette */
.t3-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(10, 16, 30, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: min(8vh, 72px) 18px 24px;
  align-items: flex-start;
  justify-content: center;
}
.t3-search-overlay.is-open {
  display: flex;
  animation: t3SearchFade .16s ease;
}
@keyframes t3SearchFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.t3-search-palette {
  width: 100%;
  max-width: 740px;
  max-height: min(78vh, 680px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(4, 10, 26, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: t3PalettePop .18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes t3PalettePop {
  from { opacity: 0; transform: translateY(-10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Search Input Header */
.t3-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}
.t3-search-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.t3-search-bar-icon .icon {
  width: 21px;
  height: 21px;
}
.t3-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none !important;
  background: transparent;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
  padding: 4px 0;
}
.t3-search-input::placeholder {
  color: var(--muted);
  font-weight: 400;
  opacity: 0.85;
}
.t3-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.t3-search-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--brand);
  animation: t3Spin .65s linear infinite;
  flex-shrink: 0;
}
@keyframes t3Spin {
  to { transform: rotate(360deg); }
}
.t3-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}
.t3-search-clear:hover {
  background: var(--action);
  color: var(--action-text);
}
.t3-search-clear .icon {
  width: 14px;
  height: 14px;
}
.t3-search-esc {
  border: 1px solid var(--line);
  background: var(--tint);
  color: var(--muted);
  border-radius: 6px;
  padding: 5px 8px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.t3-search-esc kbd {
  background: transparent;
  color: inherit;
  padding: 0;
  font-family: var(--body-font);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.05em;
}
.t3-search-esc:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--soft);
}

/* Category Filter Tabs */
.t3-search-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.t3-search-tabs::-webkit-scrollbar {
  display: none;
}
.t3-sr-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.t3-sr-tab span {
  font-size: 10.5px;
  opacity: 0.78;
  font-variant-numeric: tabular-nums;
}
.t3-sr-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.t3-sr-tab.is-active {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.t3-sr-tab.is-active span {
  opacity: 0.92;
}

/* Scrollable Results Body */
.t3-search-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 18px 18px;
  overscroll-behavior: contain;
}
.t3-sr-group + .t3-sr-group {
  margin-top: 18px;
}
.t3-sr-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.t3-sr-group-count {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.t3-sr-text-btn {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  padding: 0;
}
.t3-sr-text-btn:hover {
  text-decoration: underline;
}

/* Recent & Popular Chips */
.t3-sr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.t3-sr-chips--center {
  justify-content: center;
  margin-top: 14px;
}
.t3-sr-chip-wrap {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--tint);
  overflow: hidden;
}
.t3-sr-chip-wrap .t3-sr-chip {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-right: 6px;
}
.t3-sr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--tint);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.t3-sr-chip .icon {
  width: 13px;
  height: 13px;
  color: var(--brand);
}
.t3-sr-chip:hover {
  border-color: var(--brand);
  background: var(--soft);
  color: var(--brand);
}
.t3-sr-chip-del {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  padding: 5px 9px 5px 4px;
  cursor: pointer;
}
.t3-sr-chip-del:hover {
  color: var(--brand);
}

/* Result List & Cards */
.t3-sr-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.t3-sr-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none !important;
  color: var(--ink);
  transition: background .14s ease, border-color .14s ease;
}
.t3-sr-item:hover,
.t3-sr-item.is-active {
  background: var(--soft);
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
}
.t3-sr-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.t3-sr-item.is-active .t3-sr-icon,
.t3-sr-item:hover .t3-sr-icon {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
.t3-sr-icon .icon {
  width: 17px;
  height: 17px;
}
.t3-sr-thumb {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.t3-sr-initials {
  font-family: var(--heading-font);
  font-size: 14px;
  line-height: 1;
}
.t3-sr-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.t3-sr-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.t3-sr-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.t3-sr-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.t3-sr-item.is-active .t3-sr-title,
.t3-sr-item:hover .t3-sr-title {
  color: var(--brand);
}
.t3-sr-title mark,
.t3-sr-sub mark {
  background: color-mix(in srgb, var(--brand) 20%, transparent);
  color: var(--ink);
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 650;
}
.t3-sr-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--soft);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
}
.t3-sr-badge--live {
  background: color-mix(in srgb, #10b981 15%, var(--surface));
  color: #047857;
  border-color: color-mix(in srgb, #10b981 35%, var(--line));
}
[data-bs-theme="dark"] .t3-sr-badge--live {
  color: #6ee7b7;
}
.t3-sr-badge--muted {
  background: var(--tint);
  color: var(--muted);
  border-color: var(--line);
}
.t3-sr-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.t3-sr-enter {
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .15s ease, color .15s ease;
}
.t3-sr-enter .icon {
  width: 15px;
  height: 15px;
}
.t3-sr-item:hover .t3-sr-enter,
.t3-sr-item.is-active .t3-sr-enter {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand);
}

/* Zero-State Quick Destinations Grid */
.t3-sr-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.t3-sr-quick-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--tint);
  text-decoration: none !important;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.t3-sr-quick-card:hover,
.t3-sr-quick-card.is-active {
  border-color: var(--brand);
  background: var(--soft);
  transform: translateY(-1px);
}
.t3-sr-quick-card .t3-sr-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.t3-sr-quick-card .t3-sr-icon .icon {
  width: 15px;
  height: 15px;
}
.t3-sr-quick-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.t3-sr-quick-copy strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.t3-sr-quick-copy small {
  font-size: 10.5px;
  color: var(--muted);
}
.t3-sr-quick-arrow {
  width: 13px;
  height: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.t3-sr-quick-card:hover .t3-sr-quick-arrow,
.t3-sr-quick-card.is-active .t3-sr-quick-arrow {
  color: var(--brand);
}

/* Empty State */
.t3-sr-empty {
  text-align: center;
  padding: 28px 16px;
}
.t3-sr-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.t3-sr-empty-icon .icon {
  width: 22px;
  height: 22px;
}
.t3-sr-empty h4 {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 6px;
}
.t3-sr-empty p {
  font-size: 13px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto;
}

/* Footer Hints & Full Page Link */
.t3-search-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  background: var(--tint);
  flex-shrink: 0;
}
.t3-search-hints {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: var(--muted);
}
.t3-search-hints kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 2px 5px;
  margin-right: 3px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 10px;
  font-weight: 600;
}
.t3-search-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand) !important;
  text-decoration: none !important;
  margin-left: auto;
}
.t3-search-all-link:hover {
  text-decoration: underline !important;
}
.t3-search-all-link .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 640px) {
  .t3-search-overlay {
    padding: 12px 10px;
  }
  .t3-search-palette {
    max-height: 88vh;
    border-radius: 12px;
  }
  .t3-search-bar {
    padding: 12px 14px;
    gap: 9px;
  }
  .t3-search-input {
    font-size: 15px;
  }
  .t3-search-body {
    padding: 12px 14px 16px;
  }
  .t3-sr-quick-grid {
    grid-template-columns: 1fr;
  }
  .t3-search-hints {
    display: none;
  }
}

/* Newsletter reCAPTCHA alignment inside template_3 footer */
.t3-newsletter-captcha {
  margin-top: 14px;
}
.t3-newsletter-captcha .g-recaptcha {
  transform-origin: left top;
}
@media (max-width: 420px) {
  .t3-newsletter-captcha .g-recaptcha {
    transform: scale(0.86);
  }
}

/* Footer social links strip */
.t3-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.t3-footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e7efea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.t3-footer-socials a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--panel-accent, #a9d5bc);
  color: var(--panel-accent, #a9d5bc);
}

/* Conference details template_3 media + speakers enhancements */
.cf-speaker-photo-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 400 26px/1 var(--heading-font);
  margin-bottom: 18px;
}
.cf-speaker-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cf-art-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: -1;
}
.cf-downloads-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.cf-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.cf-logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 14px 0;
}
.cf-logo-stage img {
  max-height: 110px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cf-album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 991.98px) {
  .cf-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cf-album-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--tint);
}
.cf-album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.cf-album-item:hover img {
  transform: scale(1.04);
}
.cf-video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1c24;
}
.cf-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Conference card optional cover backdrop while keeping editorial typography crisp */
.conference-art .conference-cover-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}

/* Floating WhatsApp button — left side, clear of right Appearance & Back-to-top controls */
.t3-whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  z-index: 1033;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t3-whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}
.t3-whatsapp-float i {
  font-size: 22px;
  line-height: 1;
}

/* Keep submit_paper_sidebar clear of Back-to-top & below modals/drawers on template_3 */
body.t3-body #wrap_modal {
  right: 22px;
  bottom: 78px;
  z-index: 1032 !important;
}

/* Keep remaining hardcoded teal/navy surfaces synced with active colour palette */
html[data-brand] .hero-carousel-bottom {
  background: var(--navy);
  color: var(--panel-muted);
}
html[data-brand] .resource-submit {
  background: var(--action);
  color: var(--action-text);
}
html[data-brand] .resource-submit:hover {
  background: var(--action-hover);
  color: var(--action-hover-text);
}
html[data-brand] .site-footer .footer-top,
html[data-brand] .site-footer .footer-registration {
  border-color: var(--panel-line);
}
html[data-brand] .newsletter-consent .form-check-input:checked {
  background-color: var(--action);
  border-color: var(--action);
}

/* Anniversary rich HTML inside dark panel */
.anniversary-copy .anniversary-richtext,
.anniversary-copy .anniversary-richtext p,
.anniversary-copy .anniversary-richtext li {
  color: #cfd9ea;
  font-size: 13px;
  line-height: 1.85;
}
.anniversary-copy .anniversary-richtext a {
  color: var(--panel-accent, #dfbd88);
  text-decoration: underline;
}

/* Dark mode adjustments for inner content with hardcoded light inline styles */
[data-bs-theme="dark"] .contact-hero,
[data-bs-theme="dark"] .media-hero {
  background: var(--navy) !important;
  color: var(--panel-text) !important;
}
[data-bs-theme="dark"] .home-popup-content {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
[data-bs-theme="dark"] .home-popup-close,
[data-bs-theme="dark"] .home-popup-description {
  color: var(--ink);
}

/* ==========================================================================
   Template 3 Design System Overhaul:
   1. Expanded 1380px desktop container
   2. Balanced editorial typography scale (no 6–10px micro text / 83–115px oversizing)
   3. Unified Brand Color Harmony (replaces orphaned teal/green/royal-blue hexes)
   ========================================================================== */

/* 1. Container Max-Width (1280px -> 1380px) */
@media screen {
  .container,
  .r-page .container {
    max-width: 1380px;
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media screen and (max-width: 991.98px) {
  .container,
  .r-page .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media screen and (max-width: 575.98px) {
  .container,
  .r-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* 2. Typography Scale — Readable Floors & Balanced Display Headings */
body.t3-body {
  font-size: 15.5px;
  line-height: 1.65;
}

/* Utility Bar & Header Navigation */
.utility-bar {
  font-size: 12px;
  color: var(--panel-muted);
}
.utility-bar > .container {
  min-height: 38px;
}
.utility-bar .account-links {
  border-left-color: var(--panel-line);
}
.utility-bar a {
  color: var(--panel-muted);
}
.utility-bar a:hover,
.utility-bar a[aria-current="page"] {
  color: var(--panel-accent);
}
.registration-note {
  color: var(--panel-text);
}
.registration-note .icon {
  width: 15px;
  height: 15px;
  color: var(--panel-accent);
}

.brand.has-brand-image .brand-lockup {
  max-width: 175px;
}
.brand.has-brand-image .brand-word {
  font-size: 24px;
}
.brand.has-brand-image .brand-full {
  font-size: 9.5px;
  line-height: 1.32;
  max-width: 170px;
  color: var(--muted);
}
@media (min-width: 1200px) and (max-width: 1379.98px) {
  .site-header .brand-full {
    display: none;
  }
  .site-header .brand.has-brand-image .brand-lockup {
    max-width: none;
  }
}

.site-header .navbar {
  min-height: 86px;
  gap: 14px;
}
.site-header .navbar-nav {
  gap: 1px;
}
.site-header .navbar .nav-link {
  font-size: 13px;
  font-weight: 550;
  padding: 13px 7px !important;
  color: var(--ink);
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .site-header .navbar .nav-link {
    font-size: 12.5px;
    padding: 13px 6px !important;
  }
}
.site-header .header-submit {
  font-size: 13px;
  padding: 10px 16px;
  gap: 8px;
  white-space: nowrap;
}
.mega-menu .menu-heading,
.cf-nav-heading {
  font-size: 11px !important;
  letter-spacing: 0.12em;
}
.mega-menu .dropdown-item,
.cf-header .dropdown-item {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.mega-menu .dropdown-item:hover,
.mega-menu .dropdown-item:focus {
  color: var(--brand);
}

/* Conference Microsite Header */
.cf-identity strong {
  font-size: 16px;
  letter-spacing: 0.06em;
}
.cf-identity span {
  font-size: 12.5px;
  margin-top: 3px;
}
.cf-mainback {
  font-size: 13px;
}
.cf-head-actions .btn {
  font-size: 13px;
  padding: 10px 16px;
}
.cf-header .nav-link {
  font-size: 13.5px;
  font-weight: 550;
  padding: 15px 4px !important;
}

/* Shared Buttons, Eyebrows & Headings */
.btn {
  font-size: 13.5px;
  padding: 12px 20px;
  gap: 10px;
}
.btn-sm {
  font-size: 12.5px;
  padding: 8px 14px;
  gap: 6px;
}
.text-link {
  font-size: 13.5px;
  gap: 8px;
}
.eyebrow,
.hero .eyebrow,
.cf-hero .eyebrow,
.cf-heading .eyebrow,
.resources-heading .eyebrow,
.anniversary-copy .eyebrow,
.publishing-heading .eyebrow,
.news-panel > .eyebrow,
.indexing-heading .eyebrow,
.newsletter-copy .eyebrow,
.cf-cta .eyebrow,
.cf-rail-box .eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  line-height: 1.4;
}
h2,
.cf-heading h2,
.about-copy h2,
.award-section h2,
.newsletter-copy h2,
.anniversary-copy h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.section-heading-side {
  max-width: 390px;
  font-size: 14.5px;
  line-height: 1.7;
}
.heading-description {
  font-size: 14.5px;
  line-height: 1.65;
  margin-top: 12px;
}

/* Breaking Bar */
.t3-breaking-bar {
  font-size: 13px;
  background: var(--navy);
  border-bottom: 1px solid var(--panel-line);
}
.t3-breaking-badge {
  font-size: 11px;
  letter-spacing: 0.1em;
}
.t3-breaking-item {
  color: var(--panel-muted);
}
.t3-breaking-item strong {
  color: var(--panel-text);
}

/* Homepage Hero */
.hero {
  padding-top: 52px;
}
.hero h1 {
  font-size: clamp(42px, 4.3vw, 60px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 20px 0 18px;
}
.hero-tagline {
  font-size: 19px;
  line-height: 1.45;
  max-width: 440px;
}
.hero-intro {
  font-size: 15px;
  line-height: 1.75;
  max-width: 440px;
}
.hero-actions .btn {
  padding: 13px 22px;
}
.hero-proof {
  font-size: 12.5px;
  max-width: 520px;
}
.hero-card-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
}
.live-label {
  font-size: 12px;
  color: var(--panel-text);
}
.live-label > span {
  width: 6px;
  height: 6px;
  background: var(--panel-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--panel-accent) 24%, transparent);
}
.hero-event {
  min-height: 372px;
  padding: 30px 32px;
}
.hero-event-date > span {
  font-size: 52px;
  letter-spacing: -2px;
}
.hero-event-date > div {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  border-left-color: var(--panel-line);
}
.event-location {
  font-size: 12.5px;
  color: var(--panel-muted);
}
.event-location .icon {
  width: 15px;
  height: 15px;
  color: var(--panel-accent);
}
.hero-event h2 {
  font-size: 21px;
  line-height: 1.38;
  min-height: 82px;
  max-width: 500px;
}
.hero-event .btn {
  font-size: 13px;
  padding: 10px 18px;
}
.hero-carousel-bottom {
  background: var(--navy);
  color: var(--panel-muted);
  border-top: 1px solid var(--panel-line);
  padding: 13px 26px;
}
.carousel-location {
  font-size: 12.5px;
}
.carousel-controls .icon-button {
  border-color: var(--panel-line);
  color: var(--panel-text);
  width: 32px;
  height: 32px;
}
.carousel-controls .icon-button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--panel-accent);
  color: var(--panel-accent);
}
.anniversary-note {
  font-size: 13px;
}
.anniversary-note > span:nth-child(2) > span {
  font-size: 11px;
  letter-spacing: 0.12em;
}
.mini-anniversary {
  font-size: 32px;
  color: var(--brand);
}
.mini-anniversary > span {
  font-size: 8.5px;
}
.anniversary-note > .icon {
  color: var(--brand);
}
.metrics-row strong {
  font-size: 34px;
}
.metrics-row span {
  font-size: 13px;
}

/* Quick Links Bar */
.quick-link {
  padding: 20px 18px;
}
.quick-link > span {
  font-size: 13px;
  line-height: 1.45;
}
.quick-link .quick-arrow {
  width: 14px;
  height: 14px;
}

/* Upcoming Conferences Cards */
.filter-btn {
  font-size: 13px;
  padding: 8px 15px;
}
.filter-btn span {
  font-size: 11px;
  padding: 2px 6px;
}
.conference-art {
  background: color-mix(in srgb, var(--brand-primary) 11%, var(--surface));
  color: var(--brand);
}
.conference-art.art-1 {
  background: color-mix(in srgb, var(--brand-accent) 18%, var(--surface));
  color: var(--ink);
}
.conference-art.art-2 {
  background: color-mix(in srgb, var(--brand) 16%, var(--tint));
  color: var(--ink);
}
[data-bs-theme="dark"] .conference-art {
  filter: none;
  background: color-mix(in srgb, var(--brand-primary) 34%, var(--surface));
  color: var(--ink);
}
[data-bs-theme="dark"] .conference-art.art-1 {
  background: color-mix(in srgb, var(--brand-accent) 14%, var(--surface));
  color: var(--ink);
}
[data-bs-theme="dark"] .conference-art.art-2 {
  background: color-mix(in srgb, var(--brand) 22%, var(--tint));
  color: var(--ink);
}
.art-coordinate,
.art-edition {
  font-size: 10.5px;
  letter-spacing: 0.14em;
}
.art-city {
  font-size: 32px;
}
.art-city > span {
  font-size: 13.5px;
}
.format-tag {
  font-size: 11px;
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}
.card-overline {
  font-size: 11.5px;
}
.event-status {
  font-size: 11px;
  padding: 3px 8px;
}
.conference-content h3 {
  font-size: 18px;
  line-height: 1.45;
  min-height: 78px;
}
.conference-meta p {
  font-size: 13px;
  line-height: 1.55;
}
.conference-meta .icon {
  width: 15px;
  height: 15px;
}
.card-actions .text-link {
  font-size: 13px;
}
.card-actions .text-link .icon {
  width: 15px;
  height: 15px;
}

/* About CBER & Important Links */
.about-text p {
  font-size: 15px;
  line-height: 1.8;
}
.endeavour-row > div {
  font-size: 13px;
  line-height: 1.45;
}
.resources-heading h3 {
  font-size: 24px;
}
.resource-link {
  font-size: 13.5px;
  padding: 11px 0;
}
.resource-link .icon {
  width: 14px;
  height: 14px;
}
.resource-submit {
  background: var(--action);
  color: var(--action-text);
  font-size: 13.5px;
  padding: 16px 28px;
}
.resource-submit:hover {
  background: var(--action-hover);
  color: var(--action-hover-text);
}

/* Anniversary Panel (Brand-Harmonized) */
.anniversary-panel,
.anniversary-original {
  background: var(--panel);
  color: var(--panel-text);
}
.anniversary-type {
  border-color: var(--panel-line);
}
.anniversary-type > span {
  font-size: 10.5px;
  color: var(--panel-accent);
}
.anniversary-type > strong {
  font-size: 84px;
  letter-spacing: -5px;
  color: var(--panel-accent);
}
.anniversary-type > small {
  font-size: 11px;
  color: var(--panel-muted);
}
.anniversary-copy .eyebrow,
.anniversary-copy h2 em {
  color: var(--panel-accent);
}
.anniversary-copy h2 {
  color: var(--panel-text);
}
.anniversary-copy p,
.anniversary-copy .anniversary-richtext,
.anniversary-copy .anniversary-richtext p,
.anniversary-copy .anniversary-richtext li {
  color: var(--panel-muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* Journals & Publishing Partnership (Brand-Harmonized Covers) */
.journal-cover {
  height: 235px;
  background: var(--panel);
  color: var(--panel-text);
}
.journal-1 .journal-cover {
  background: #1c4770;
  color: #eef4fa;
}
.journal-2 .journal-cover {
  background: #2c3566;
  color: #eff1fa;
}
.journal-3 .journal-cover {
  background: #1e3a4c;
  color: #eaf3f7;
}
.cover-publisher {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.cover-code {
  font-size: 34px;
  margin: 24px 0 12px;
}
.journal-cover .cover-title {
  font-family: var(--body-font);
  font-size: 11.5px;
  line-height: 1.55;
  max-width: 190px;
}
.cover-number {
  font-size: 64px;
}
.journal-copy {
  padding: 22px 23px 24px;
}
.journal-copy h3 {
  font-size: 15px;
  letter-spacing: 0.04em;
}
.journal-copy > p {
  font-size: 13.5px;
  line-height: 1.6;
  min-height: 46px;
}
.journal-copy .text-link {
  font-size: 13px;
}
.publishing-heading h3 {
  font-size: 18px;
}
.publishing-heading p:last-child {
  font-size: 13.5px;
}
.publishing-heading .btn {
  font-size: 13px;
  padding: 10px 16px;
}
.publishing-details > summary {
  font-size: 13px;
}
.publishing-body {
  font-size: 14.5px;
}

/* Faculty INSPIRE Award */
.award-art {
  min-height: 360px;
  background: var(--soft);
  color: var(--brand);
  border-color: var(--line);
}
[data-bs-theme="dark"] .award-art {
  background: var(--soft);
  color: var(--brand);
  border-color: var(--line);
}
.award-ring,
.award-ring:before,
.award-ring:after,
.award-art-rule {
  border-color: currentColor;
}
.award-art-rule {
  background: currentColor;
}
.award-art > p {
  font-size: 12px;
}
.award-art > strong {
  font-size: 44px;
}
.award-art > small {
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.award-copy p {
  font-size: 14.5px;
  line-height: 1.8;
}

/* Past Keynote Speakers Carousel */
.speaker-portrait,
.tone-1,
.tone-2,
.tone-3 {
  background: var(--soft);
  color: var(--brand);
}
[data-bs-theme="dark"] .speaker-portrait,
[data-bs-theme="dark"] .tone-1,
[data-bs-theme="dark"] .tone-2,
[data-bs-theme="dark"] .tone-3 {
  background: var(--soft);
  color: var(--brand);
}
.portrait-initials {
  font-size: 54px;
}
.portrait-label {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 4px 8px;
}
.speaker-copy h3 {
  font-size: 16px;
  line-height: 1.4;
  min-height: 44px;
  margin-bottom: 6px;
}
.speaker-copy p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.speaker-copy .text-link {
  font-size: 13px;
}
.speaker-copy .icon {
  width: 14px;
  height: 14px;
}
.speaker-footer p {
  font-size: 16px;
}
.speaker-footer .btn {
  font-size: 13px;
  padding: 10px 18px;
}

/* Latest Video, CPD & Partners */
.video-shell {
  background: var(--panel);
  color: var(--panel-text);
}
.video-circle,
.video-circle:before,
.video-circle:after,
.video-lines,
.video-lines:after {
  border-color: var(--panel-line);
}
.video-play {
  color: var(--panel-text);
}
.video-play > .icon {
  background: var(--panel-text);
  color: var(--navy);
}
.video-play:hover > .icon {
  background: var(--panel-accent);
  color: var(--navy);
}
.video-play > span {
  font-size: 13px;
}
.video-privacy {
  font-size: 11.5px;
  color: var(--panel-muted);
}
.cpd-mark strong {
  font-size: 44px;
}
.cpd-mark > span {
  font-size: 9.5px;
  letter-spacing: 0.12em;
}
.cpd-panel > .text-link {
  font-size: 13px;
}
.cpd-panel-bottom {
  font-size: 12px;
}
.partner-tile > span {
  font-size: 13.5px;
  line-height: 1.5;
}
.partner-tile > .icon:last-child {
  width: 14px;
  height: 14px;
}

/* Blog, Latest News & Indexed With */
.blog-art,
.blog-art-1 {
  background: var(--soft);
  color: var(--brand);
}
[data-bs-theme="dark"] .blog-art,
[data-bs-theme="dark"] .blog-art-1 {
  background: var(--soft);
  color: var(--brand);
}
.blog-category {
  font-size: 11px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.blog-meta {
  font-size: 12px;
}
.blog-copy h3 {
  font-size: 21px;
  line-height: 1.35;
}
.blog-copy > p {
  font-size: 13.5px;
  line-height: 1.7;
}
.blog-copy > .text-link {
  font-size: 13px;
}
.news-panel > h3 {
  font-size: 24px;
}
.news-link {
  font-size: 13.5px;
  line-height: 1.65;
  padding: 16px 0;
}
.news-number {
  font-size: 18px;
  color: var(--brand);
}
.news-callout > p {
  font-size: 17px;
}
.news-callout > span {
  font-size: 13px;
  line-height: 1.65;
}
.news-callout .text-link {
  font-size: 13px;
}
.t3-indexer-tile {
  font-size: 13.5px;
}
.t3-carousel-counter {
  font-size: 12px;
}

/* Conference Details Page Typography & Brand Harmony */
.cf-crumb {
  font-size: 13px;
  margin-bottom: 28px;
}
.cf-hero {
  padding: 24px 0 44px;
}
.cf-hero-grid {
  gap: 52px;
}
.cf-hero h1,
.cf-conference-hero h1 {
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 18px;
}
.cf-hero .cf-lead {
  font-size: 15.5px;
  line-height: 1.7;
}
.cf-control {
  font-size: 13px;
  padding: 9px 14px;
}
.cf-art {
  min-height: 360px;
}
.cf-art::before {
  background-image: linear-gradient(var(--panel-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--panel-line) 1px, transparent 1px);
  opacity: 0.22;
}
.cf-orbit,
.cf-orbit::before,
.cf-orbit::after {
  border-color: var(--panel-line);
}
.cf-art-top {
  font-size: 11px;
}
.cf-art-word {
  font-size: 38px;
  letter-spacing: -1px;
  margin-top: 24px;
}
.cf-art-year {
  font-size: clamp(64px, 5.5vw, 84px);
  letter-spacing: -4px;
  margin: 12px 0 18px;
}
.cf-art-footer {
  font-size: 12.5px;
}
.cf-art-footer strong {
  font-size: 18px;
}
.cf-facts-row small {
  font-size: 11px;
  margin-bottom: 2px;
}
.cf-facts-row strong {
  font-size: 14px;
}
.cf-card h2,
.cf-card h3 {
  font-size: 22px;
}
.cf-card p,
.cf-benefits-list li {
  font-size: 14.5px;
  line-height: 1.7;
}
.cf-card a.cf-card-link {
  font-size: 13.5px;
}
.cf-speaker h3 {
  font-size: 20px;
}
.cf-speaker p {
  font-size: 13.5px;
  line-height: 1.55;
}
.cf-speaker a {
  font-size: 13px;
}
.cf-cta h2 {
  font-size: clamp(24px, 2.3vw, 32px);
}
.cf-cta p {
  font-size: 14.5px;
}
.t3-card-carousel__meta .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

/* Inner Hero & Legacy Cards Color/Type Polish */
.inner-hero-warp {
  padding: 28px 0 38px;
}
.inner-hero-warp .inner-hero-content ul {
  font-size: 13px;
  margin-bottom: 14px;
}
.inner-hero-warp .inner-hero-content h1,
.inner-hero-warp .inner-hero-content h2 {
  font-size: clamp(28px, 2.8vw, 40px);
}
.keo_course_cat,
.theme_bg2 {
  background: var(--action) !important;
  color: var(--action-text) !important;
  font-size: 11.5px;
}
.keo_course_bottom h5 {
  color: var(--muted) !important;
  font-size: 13px !important;
}
.about-section .product .product-title {
  font-size: 17px;
}
.about-section .product .product-title a {
  color: var(--ink) !important;
}
.about-section .product .product-title a:hover {
  color: var(--brand) !important;
}
.about-section .product .speaker-affiliation {
  font-size: 12.5px;
}
.about-section .product .speaker-profile-link,
.leadership-grid .product-details .speaker-profile-link {
  font-size: 13px !important;
  color: var(--brand) !important;
}
.about-section .product .speaker-profile-link:hover,
.leadership-grid .product-details .speaker-profile-link:hover {
  color: var(--brand-hover) !important;
}

/* Inner Pages Color Harmony (Membership, Editorial Boards, Blog, CFP, Contact, Media) */
.membership-section-eyebrow,
.cfp-conference-card__venue {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border: 1px solid var(--line);
}
.membership-tier-card__sub {
  color: var(--muted) !important;
  font-size: 13px !important;
}
.membership-tier-card__body p,
.discover-content-card .kode_mosque2_text,
.discover-content-card .kode_mosque2_text p,
.discover-content-card .kode_mosque2_text li,
.editorial-board-page .table td,
.cfp-conference-card__date,
.blog-submit-card__header p,
.contact-info p {
  color: var(--muted) !important;
}
.membership-tier-card__cta,
.editorial-eic-profile-link,
.contact-info a {
  color: var(--brand) !important;
}
.membership-tier-card__cta:hover,
.editorial-eic-profile-link:hover,
.contact-info a:hover {
  color: var(--brand-hover) !important;
}
.keo_courses_wrap .keo_course_des {
  background: var(--surface) !important;
}
.editorial-board-card > .card-header,
.editorial-board-page .table thead th {
  background: var(--tint) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.editorial-board-page .editorial-name-cell a,
.editorial-eic-name a,
.cfp-conference-card__title a,
.contact-form label,
.contact-card h2,
.contact-card h3,
.contact-card h4,
.contact-card strong,
.blog-submit-form .form-label {
  color: var(--ink) !important;
}
.editorial-journal-tag {
  background: var(--action) !important;
  color: var(--action-text) !important;
}
.cfp-conference-card {
  border-left: 3px solid var(--brand) !important;
}
.contact-hero,
.media-hero {
  background: var(--panel) !important;
  color: var(--panel-text) !important;
  border-radius: 5px !important;
}
.contact-hero__subtitle,
.media-hero__subtitle {
  color: var(--panel-muted) !important;
}
.contact-card::before {
  background: var(--brand) !important;
}
.contact-card::after {
  display: none !important;
}
.discover-content-card li::marker,
.kode_mosque2_text ul li i,
.membership-benefits-list li i {
  color: var(--brand) !important;
}

/* Newsletter & Footer (Brand-Harmonized + Readable Scale) */
.newsletter-copy > p {
  font-size: 14.5px;
}
.newsletter-topics {
  font-size: 12px;
  gap: 16px;
}
.newsletter-topics .icon {
  width: 14px;
  height: 14px;
}
.newsletter-form-wrap label.form-label {
  font-size: 13px;
}
.newsletter-input-group .form-control {
  font-size: 14px;
}
.newsletter-input-group .btn {
  font-size: 13px;
  padding: 11px 18px;
}
.newsletter-consent .form-check-input {
  width: 15px;
  height: 15px;
}
.newsletter-consent .form-check-input:checked {
  background-color: var(--action);
  border-color: var(--action);
}
.newsletter-consent label,
.form-status {
  font-size: 12.5px;
  line-height: 1.55;
}

.site-footer {
  background: var(--navy);
  color: var(--panel-text);
}
.footer-top {
  border-bottom-color: var(--panel-line);
}
.footer-top > p {
  font-size: 15px;
  color: var(--panel-muted);
}
.site-footer .brand-full {
  color: var(--panel-muted);
}
.footer-main h3 {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--panel-text);
  margin-bottom: 16px;
}
.contact-block > p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--panel-muted);
}
.contact-block > p > .icon {
  width: 16px;
  height: 16px;
  color: var(--panel-accent);
}
.contact-label {
  font-size: 11px;
  color: var(--panel-muted);
  opacity: 0.85;
}
.contact-block a {
  color: var(--panel-text);
}
.footer-links > a {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--panel-muted);
  margin-bottom: 10px;
}
.footer-registration {
  border-top-color: var(--panel-line);
  border-bottom-color: var(--panel-line);
}
.footer-registration > div > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--panel-text);
}
.footer-registration p {
  font-size: 12.5px;
  color: var(--panel-muted);
}
.payment-methods > span:first-child {
  font-size: 11.5px !important;
  color: var(--panel-muted) !important;
}
.payment-methods > .payment-badge,
.payment-badge.discover,
.payment-badge.maestro {
  font-size: 11px;
}
.footer-bottom {
  font-size: 12.5px;
  color: var(--panel-muted);
}
.footer-bottom p a,
.footer-bottom p:nth-child(2) > a {
  font-size: 12.5px;
  color: var(--panel-text);
}
.footer-heart {
  color: var(--panel-accent);
}
.back-link {
  font-size: 12.5px;
  color: var(--panel-text);
}
.back-link > .icon {
  width: 14px;
  height: 14px;
}
.t3-footer-socials a {
  border-color: var(--panel-line);
  color: var(--panel-text);
}

/* Floating Submit Paper Toast (harmonize with Template 3 palette instead of bright royal blue) */
body.t3-body #wrap_modal {
  right: 22px;
  bottom: 132px;
}
body.t3-body #wrap_modal .content_modal {
  background: var(--navy) !important;
  border: 1px solid var(--panel-line) !important;
  border-radius: 6px !important;
  color: var(--panel-text) !important;
  box-shadow: 0 18px 42px rgba(6, 12, 30, 0.34) !important;
  padding: 16px 18px !important;
}
body.t3-body #wrap_modal .submit-paper-badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--panel-accent) !important;
  font-size: 10.5px !important;
  border-radius: 3px !important;
}
body.t3-body #wrap_modal .content_modal h3 {
  font-family: var(--heading-font) !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  color: var(--panel-text) !important;
}
body.t3-body #wrap_modal .content_modal p {
  font-size: 13px !important;
  color: var(--panel-muted) !important;
}
body.t3-body #wrap_modal .submit-paper-btn {
  background: var(--panel-text) !important;
  color: var(--navy) !important;
  border-radius: 3px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
body.t3-body #wrap_modal .submit-paper-btn:hover {
  background: var(--panel-accent) !important;
  color: var(--navy) !important;
}
body.t3-body #wrap_modal .submit-paper-timer {
  color: var(--panel-muted) !important;
  font-size: 12px !important;
}

/* ==========================================================================
   Executive Interactive Header & Mega-Menu Polish (Main + Conference)
   ========================================================================== */
.t3-util-auth {
  padding: 3px 10px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.t3-util-auth:hover {
  background: rgba(255, 255, 255, 0.1);
}
.t3-util-auth--register {
  background: rgba(255, 255, 255, 0.12);
  color: var(--panel-text) !important;
  font-weight: 600;
}
.t3-util-auth--register:hover {
  background: var(--panel-accent);
  color: var(--navy) !important;
}

/* Frosted-glass sticky header with smooth scroll compacting.
   Put backdrop-filter on ::before so position:fixed offcanvas children are never trapped inside header height! */
.site-header.t3-nav-enhanced,
.cf-header.t3-nav-enhanced {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .22s ease;
}
.site-header.t3-nav-enhanced::before,
.cf-header.t3-nav-enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  transition: background-color .22s ease;
}
.site-header.t3-nav-enhanced.is-scrolled,
.cf-header.t3-nav-enhanced.is-scrolled {
  box-shadow: 0 10px 30px rgba(8, 16, 40, 0.08);
}
.site-header.t3-nav-enhanced.is-scrolled::before,
.cf-header.t3-nav-enhanced.is-scrolled::before {
  background: color-mix(in srgb, var(--surface) 97%, transparent);
}
[data-bs-theme="dark"] .site-header.t3-nav-enhanced.is-scrolled,
[data-bs-theme="dark"] .cf-header.t3-nav-enhanced.is-scrolled {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}
.site-header.t3-nav-enhanced .navbar {
  min-height: 78px;
  transition: min-height .22s ease;
}
.site-header.t3-nav-enhanced.is-scrolled .navbar {
  min-height: 68px;
}

/* Brand hover micro-polish */
.t3-nav-enhanced .brand {
  transition: opacity .18s ease;
}
.t3-nav-enhanced .brand:hover .brand-word {
  color: var(--brand);
}

/* Sleek nav pills, custom rotating SVG carets, animated bottom indicator */
.t3-nav-enhanced .nav-link.t3-has-caret::after {
  display: none !important;
}
.t3-nav-enhanced .navbar-nav {
  gap: 0;
}
.t3-nav-enhanced .navbar > .offcanvas-xl {
  min-width: 0;
  flex: 1 1 auto;
}
.site-header.t3-nav-enhanced .navbar {
  gap: 12px;
}
.site-header.t3-nav-enhanced .brand {
  flex-shrink: 0;
}
.site-header.t3-nav-enhanced .header-actions {
  gap: 8px;
  flex-shrink: 0;
}
.site-header.t3-nav-enhanced .header-submit {
  padding: 9px 14px;
  font-size: 12.5px;
  gap: 6px;
}
.t3-nav-enhanced .navbar .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 6px;
  padding: 8px 8px !important;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  transition: background-color .18s ease, color .18s ease;
}
@media (min-width: 1200px) {
  .site-header.t3-nav-enhanced .brand.has-brand-image .brand-full {
    max-width: 142px;
    font-size: 9px;
  }
  .site-header.t3-nav-enhanced .navbar .nav-link {
    font-size: 12.5px;
    padding: 8px 6px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1379.98px) {
  .site-header.t3-nav-enhanced .navbar .nav-link {
    font-size: 12px;
    padding: 7px 5px !important;
  }
  .site-header.t3-nav-enhanced .header-submit {
    padding: 8px 11px;
    font-size: 12px;
  }
}
@media (min-width: 1200px) and (max-width: 1269.98px) {
  .site-header.t3-nav-enhanced .navbar {
    gap: 8px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .site-header.t3-nav-enhanced .navbar .nav-link {
    font-size: 11.5px;
    padding: 7px 4px !important;
  }
  .site-header.t3-nav-enhanced .header-actions {
    gap: 6px;
  }
  .site-header.t3-nav-enhanced .header-submit {
    padding: 7px 10px;
    font-size: 11.5px;
  }
}
.t3-nav-enhanced .navbar .nav-link:hover,
.t3-nav-enhanced .navbar .nav-link.show,
.t3-nav-enhanced .navbar .nav-link[aria-expanded="true"] {
  background: var(--soft);
  color: var(--brand);
}
.t3-nav-enhanced .navbar .nav-link.active {
  color: var(--brand);
  box-shadow: none !important;
}
.t3-nav-enhanced .navbar .nav-link.active::after {
  display: none !important;
}
.t3-nav-enhanced .navbar .nav-link::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}
.t3-nav-enhanced .navbar .nav-link.active::before,
.t3-nav-enhanced .navbar .nav-link.show::before,
.t3-nav-enhanced .navbar .nav-link[aria-expanded="true"]::before {
  transform: scaleX(1);
}
.t3-nav-caret {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), color .18s ease;
}
.t3-nav-enhanced .nav-link:hover .t3-nav-caret,
.t3-nav-enhanced .nav-link.active .t3-nav-caret,
.t3-nav-enhanced .nav-link.show .t3-nav-caret,
.t3-nav-enhanced .nav-link[aria-expanded="true"] .t3-nav-caret {
  color: var(--brand);
}
.t3-nav-enhanced .nav-link.show .t3-nav-caret,
.t3-nav-enhanced .nav-link[aria-expanded="true"] .t3-nav-caret {
  transform: rotate(180deg);
}

/* Header Action Buttons & Micro-interactions */
.t3-action-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--ink);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.t3-action-btn:hover {
  background: var(--soft);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
.t3-action-btn.theme-toggle {
  border: 1px solid var(--line);
  width: 38px;
  height: 38px;
}
.t3-cta-btn {
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--action) 26%, transparent);
}
.t3-cta-btn .icon {
  transition: transform .2s ease;
}
.t3-cta-btn:hover .icon {
  transform: translateX(3px);
}
.t3-home-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.t3-home-pill:hover {
  background: var(--soft);
  border-color: var(--brand);
  color: var(--brand);
}
.t3-home-pill .icon {
  width: 14px;
  height: 14px;
}

/* Rich Editorial Mega-Menu Panels (Desktop) */
@media (min-width: 1200px) {
  .cf-header.t3-nav-enhanced .navbar .dropdown {
    position: relative;
  }
  .t3-nav-enhanced .t3-mega-panel,
  .t3-nav-enhanced .t3-dropdown-panel {
    margin-top: 0;
    top: calc(100% - 2px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 2px solid var(--brand);
    border-radius: 10px;
    box-shadow: 0 24px 56px rgba(8, 16, 40, 0.14);
    padding: 22px;
    animation: t3MenuDrop .18s cubic-bezier(.22, 1, .36, 1);
  }
  .t3-nav-enhanced .t3-mega-panel::before,
  .t3-nav-enhanced .t3-dropdown-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -22px;
    height: 22px;
  }
  [data-bs-theme="dark"] .t3-nav-enhanced .t3-mega-panel,
  [data-bs-theme="dark"] .t3-nav-enhanced .t3-dropdown-panel {
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  }
  .t3-nav-enhanced .mega-menu.mega-1.t3-mega-panel {
    width: 320px;
  }
  .t3-nav-enhanced .mega-menu.mega-2.t3-mega-panel {
    width: 650px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .t3-nav-enhanced .mega-menu.mega-3.t3-mega-panel {
    width: 900px;
    grid-template-columns: 1.05fr 1.05fr 0.9fr;
    gap: 20px;
  }
  .t3-col-divided {
    border-left: 1px solid var(--line);
    padding-left: 20px;
  }
  .t3-nav-enhanced .cf-header .t3-dropdown-panel,
  .cf-header.t3-nav-enhanced .t3-dropdown-panel {
    padding: 12px;
    min-width: 260px;
  }
  .cf-header.t3-nav-enhanced .cf-nav-wide.t3-dropdown-panel {
    width: 580px;
    gap: 16px;
  }
}

@keyframes t3MenuDrop {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.t3-mega-panel .menu-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 0 10px 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.t3-mega-panel .menu-heading .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Interactive Mega-Menu Links with Hover Pill & Slide Arrow */
.t3-mega-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px !important;
  border-radius: 6px;
  font-size: 13.5px !important;
  font-weight: 500;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.t3-mega-link:hover,
.t3-mega-link:focus,
.t3-mega-link[aria-current="page"] {
  background: var(--soft) !important;
  color: var(--brand) !important;
  text-decoration: none !important;
}
.t3-mega-link[aria-current="page"] {
  font-weight: 600;
}
.t3-mega-link--rich {
  align-items: flex-start;
  padding: 10px 11px !important;
}
.t3-mega-link-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.t3-mega-link-copy strong {
  font-size: 13.5px;
  font-weight: 600;
  color: inherit;
  line-height: 1.35;
}
.t3-mega-link-copy small {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.t3-link-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .16s ease, transform .16s ease;
  margin-top: 2px;
}
.t3-mega-link:hover .t3-link-arrow,
.t3-mega-link:focus .t3-link-arrow,
.t3-mega-link[aria-current="page"] .t3-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Mega-Menu Featured Editorial Spotlight Card */
.t3-mega-feature {
  background: var(--panel);
  color: var(--panel-text);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-line);
}
.t3-mega-feature::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid var(--panel-line);
  right: -70px;
  top: -70px;
  pointer-events: none;
}
.t3-mega-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--panel-accent);
  margin-bottom: 14px;
}
.t3-mega-feature h4 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--panel-text);
  margin: 0 0 8px;
}
.t3-mega-feature p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--panel-muted);
  margin: 0 0 18px;
}
.t3-mega-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 14px;
  border-radius: 5px;
  background: var(--panel-text);
  color: var(--navy) !important;
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color .18s ease, transform .18s ease;
}
.t3-mega-feature-cta:hover {
  background: var(--panel-accent);
  color: var(--navy) !important;
  transform: translateY(-1px);
}
.t3-mega-feature-cta .icon {
  width: 14px;
  height: 14px;
}

/* Search Dialog Keyboard Hint */
.t3-kbd-hint {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--tint);
}

/* Mobile Offcanvas Navigation Layering, Scrollability & Touch Accessibility */
.offcanvas-backdrop {
  z-index: 100040 !important;
}
.site-header.t3-nav-enhanced.t3-offcanvas-open,
.cf-header.t3-nav-enhanced.t3-offcanvas-open,
.site-header.t3-nav-enhanced:has(#mainNavigation.show),
.site-header.t3-nav-enhanced:has(#mainNavigation.showing),
.cf-header.t3-nav-enhanced:has(#mainNavigation.show),
.cf-header.t3-nav-enhanced:has(#mainNavigation.showing) {
  z-index: 100050 !important;
}
@media (max-width: 1199.98px) {
  #mainNavigation.offcanvas-xl {
    z-index: 100055 !important;
    width: min(390px, 90vw) !important;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--surface) !important;
    color: var(--ink) !important;
    border-left: 1px solid var(--line) !important;
    box-shadow: -18px 0 46px rgba(8, 16, 40, 0.28);
  }
  [data-bs-theme="dark"] #mainNavigation.offcanvas-xl {
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.62);
  }
  body.t3-offcanvas-active .t3-whatsapp-float,
  body.t3-offcanvas-active #back-to-top,
  body:has(#mainNavigation.show) .t3-whatsapp-float,
  body:has(#mainNavigation.show) #back-to-top {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  #mainNavigation .offcanvas-header {
    flex-shrink: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  #mainNavigation .offcanvas-title {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
  }
  #mainNavigation .offcanvas-header .icon-button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    background: var(--tint);
    color: var(--ink);
  }
  #mainNavigation .offcanvas-header .icon-button:hover,
  #mainNavigation .offcanvas-header .icon-button:focus-visible {
    border-color: var(--brand);
    background: var(--soft);
    color: var(--brand);
  }
  #mainNavigation .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    display: block !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px 18px 32px !important;
  }
  #mainNavigation .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  #mainNavigation .nav-item {
    border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    padding: 2px 0;
  }
  #mainNavigation .nav-item:last-child {
    border-bottom: 0;
  }
  .t3-nav-enhanced #mainNavigation .nav-link {
    width: 100%;
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px;
    padding: 12px 12px !important;
    font-size: 15px !important;
    font-weight: 600;
    color: var(--ink) !important;
    border-radius: 6px;
    text-align: left;
  }
  .t3-nav-enhanced #mainNavigation .nav-link .t3-nav-caret {
    margin-left: auto;
    width: 16px;
    height: 16px;
    opacity: 0.85;
  }
  .t3-nav-enhanced #mainNavigation .nav-link.t3-nav-conferences {
    margin: 6px 0;
    border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
    color: var(--brand) !important;
  }
  .t3-nav-enhanced .navbar .nav-link::before {
    display: none;
  }
  .t3-nav-enhanced #mainNavigation .t3-mega-panel,
  .t3-nav-enhanced #mainNavigation .t3-dropdown-panel {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin: 4px 0 12px !important;
    background: var(--tint) !important;
    box-shadow: none !important;
  }
  .t3-nav-enhanced #mainNavigation .t3-mega-panel.show,
  .t3-nav-enhanced #mainNavigation .t3-dropdown-panel.show {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .t3-nav-enhanced #mainNavigation .menu-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .t3-nav-enhanced #mainNavigation .t3-mega-link {
    min-height: 42px;
    padding: 9px 10px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }
  .t3-nav-enhanced #mainNavigation .t3-mega-link .t3-link-arrow {
    opacity: 0.55;
    transform: none;
  }
  .t3-nav-enhanced #mainNavigation .t3-conf-menu-card {
    padding: 10px !important;
    gap: 10px !important;
    white-space: normal !important;
  }
  .t3-nav-enhanced #mainNavigation .t3-conf-card-copy small,
  .t3-nav-enhanced #mainNavigation .t3-conf-card-top strong {
    white-space: normal;
  }
  .t3-col-divided {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .t3-mega-feature {
    display: none;
  }
  #mainNavigation .mobile-utility {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #mainNavigation .mobile-utility > .btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    margin-bottom: 10px !important;
    font-size: 14px !important;
    border-radius: 6px;
  }
  #mainNavigation .mobile-utility > h3 {
    grid-column: 1 / -1;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 4px 0 4px;
  }
  #mainNavigation .mobile-utility > a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--tint);
    color: var(--ink) !important;
    font-size: 13px !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
  }
  #mainNavigation .mobile-utility > a:not(.btn):hover,
  #mainNavigation .mobile-utility > a:not(.btn):focus-visible {
    border-color: var(--brand);
    background: var(--soft);
    color: var(--brand) !important;
  }
  .t3-mobile-sublinks {
    display: flex;
    gap: 16px;
    margin-top: 12px;
  }
  .t3-mobile-sublinks a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand);
  }
}

/* ==========================================================================
   Upcoming Conferences Highlight inside Header & Mega-Menu
   ========================================================================== */
.t3-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
  display: inline-block;
  flex-shrink: 0;
  animation: t3LivePulse 2.4s ease-in-out infinite;
}
.t3-live-dot--light {
  background: var(--panel-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--panel-accent) 26%, transparent);
}
@keyframes t3LivePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.72; }
}
@media (prefers-reduced-motion: reduce) {
  .t3-live-dot { animation: none; }
}

.t3-nav-conferences {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--brand) !important;
  font-weight: 600 !important;
}
.t3-nav-conferences:hover,
.t3-nav-conferences.show,
.t3-nav-conferences[aria-expanded="true"] {
  background: var(--soft) !important;
  color: var(--brand) !important;
}
.t3-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--action);
  color: var(--action-text);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1200px) {
  .t3-nav-enhanced .mega-menu.mega-3.t3-mega-conferences {
    width: 960px;
    grid-template-columns: 1.32fr 0.92fr 0.86fr;
  }
  .cf-header.t3-nav-enhanced .t3-cf-conf-switcher {
    width: 340px;
    padding: 14px;
  }
}

.t3-upcoming-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.t3-upcoming-head .menu-heading {
  padding: 0;
  margin: 0;
  border: 0;
}
.t3-upcoming-pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--action);
  color: var(--action-text);
  white-space: nowrap;
}

.t3-conf-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.t3-conf-menu-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 8px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  background: var(--page) !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  white-space: normal !important;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.t3-conf-menu-card.is-next,
.t3-conf-menu-card.is-current {
  background: var(--soft) !important;
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
  border-left-color: var(--brand);
}
.t3-conf-menu-card:hover,
.t3-conf-menu-card:focus {
  background: var(--soft) !important;
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(8, 16, 40, 0.08);
  color: var(--brand) !important;
}
.t3-conf-menu-card:hover .t3-conf-date-pill,
.t3-conf-menu-card.is-next .t3-conf-date-pill {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.t3-conf-menu-card:hover .t3-conf-date-pill small,
.t3-conf-menu-card.is-next .t3-conf-date-pill small {
  color: color-mix(in srgb, var(--action-text) 82%, transparent);
}
.t3-conf-menu-card:hover .t3-link-arrow,
.t3-conf-menu-card.is-next .t3-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.t3-conf-date-pill {
  flex-shrink: 0;
  width: 48px;
  padding: 6px 4px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  text-align: center;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.t3-conf-date-pill strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.t3-conf-date-pill small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.t3-conf-card-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.t3-conf-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.t3-conf-card-copy strong {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.3;
}
.t3-conf-menu-card:hover .t3-conf-card-copy strong {
  color: var(--brand);
}
.t3-conf-card-copy small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.t3-conf-card-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  margin-top: 2px;
}
.t3-conf-card-date .icon {
  width: 12px;
  height: 12px;
}

.t3-conf-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}
.t3-conf-tag--next {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}

.t3-upcoming-all {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--brand) !important;
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.t3-upcoming-all:hover {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text) !important;
}
.t3-upcoming-all .icon {
  width: 14px;
  height: 14px;
}

.t3-mega-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.t3-mega-feature-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.t3-mega-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--panel-accent) !important;
}
.t3-mega-feature-link:hover {
  color: var(--panel-text) !important;
}
.t3-mega-feature-link .icon {
  width: 13px;
  height: 13px;
}

.t3-switcher-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--line);
}
.t3-switcher-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.t3-cf-conf-switcher .t3-conf-menu-card + .t3-conf-menu-card {
  margin-top: 6px;
}

/* ==========================================================================
   Compact Editorial Section Rhythm (Tighter Margins & Padding across Template 3)
   ========================================================================== */
.section-pad {
  padding: 46px 0;
}
.hero {
  padding: 28px 0 0;
}
.hero h1 {
  margin: 14px 0 14px;
}
.hero-tagline {
  margin-bottom: 12px;
}
.hero-intro {
  margin-bottom: 20px;
}
.hero-proof {
  margin-top: 22px;
}
.hero-event {
  min-height: 344px;
  padding: 24px 28px;
}
.hero-event-date {
  margin: 18px 0 12px;
}
.hero-event h2 {
  margin: 14px 0 18px;
  min-height: 70px;
}
.anniversary-note {
  margin-top: 12px;
}
.metrics-row {
  margin-top: 28px;
  padding: 18px 0 20px;
}
.research-links {
  padding-top: 2px;
  padding-bottom: 2px;
}
.t3-hero-banner-section + .research-links {
  padding-top: 18px;
}
.quick-link {
  padding: 14px 16px;
}

.section-heading {
  margin-bottom: 22px;
}
.section-toolbar {
  margin-bottom: 18px;
}
.t3-carousel-head {
  margin-bottom: 18px;
}
.conference-art {
  height: 136px;
  padding: 18px 20px;
}
.conference-content {
  padding: 18px 20px 16px;
}
.conference-content h3 {
  min-height: 68px;
  margin-bottom: 12px;
}
.conference-meta p {
  margin-bottom: 8px;
}
.card-actions {
  margin-top: 8px;
  padding-top: 12px;
}

.about-copy h2 {
  margin-bottom: 16px;
}
.about-text p {
  margin-bottom: 14px;
}
.endeavour-row {
  margin: 18px 0 16px;
  padding: 14px 0;
}
.resources-panel {
  padding: 22px 24px 0;
  overflow: hidden;
}
/* 3-column side-by-side hero: hero-copy | Featured conferences | Important Links */
.hero-three-col .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-three-col .hero-actions {
  flex-wrap: wrap;
  gap: 14px 20px;
}
.hero-three-col .hero-visual {
  display: flex;
  flex-direction: column;
}
.hero-three-col #featuredConference {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.hero-three-col #featuredConference .carousel-inner {
  flex: 1 1 auto;
  height: 100%;
}
.hero-three-col #featuredConference .carousel-item {
  height: 100%;
}
.hero-three-col .hero-event {
  height: 100%;
  min-height: 344px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
.hero-three-col .hero-event .btn {
  margin-top: auto;
  align-self: flex-start;
}
.hero-three-col .hero-event-date > span {
  font-size: 46px;
}
.hero-three-col .hero-event h2 {
  font-size: 19px;
  line-height: 1.38;
  min-height: 0;
  margin: 14px 0 20px;
}
.hero-three-col .hero-carousel-bottom {
  padding: 11px 20px;
}
.hero-three-col .hero-resources {
  display: flex;
  flex-direction: column;
}
.hero-three-col .hero-resources .resources-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 0;
}
.hero-three-col .hero-resources .resources-heading {
  padding-bottom: 10px;
}
.hero-three-col .hero-resources .resources-heading h3 {
  font-size: 21px;
}
.hero-three-col .hero-resources .resource-list {
  margin: 2px 0 8px;
}
.hero-three-col .hero-resources .resource-link {
  padding: 6.5px 0;
  font-size: 13px;
}
.hero-three-col .hero-resources .resource-submit {
  margin: auto -20px 0;
  padding: 13px 20px;
  font-size: 13px;
}
@media (min-width: 992px) {
  .hero-three-col .hero-copy h1 {
    font-size: clamp(36px, 3.3vw, 52px);
    line-height: 1.07;
  }
  .hero-three-col .hero-tagline {
    font-size: 17px;
  }
  .hero-three-col .hero-intro {
    font-size: 14px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-three-col .hero-copy h1 {
    font-size: 36px;
  }
  .hero-three-col .hero-event {
    padding: 18px 20px;
  }
  .hero-three-col .hero-resources .resources-panel {
    padding: 16px 16px 0;
  }
  .hero-three-col .hero-resources .resource-link {
    font-size: 12px;
    padding: 5.5px 0;
  }
  .hero-three-col .hero-resources .resource-submit {
    margin: auto -16px 0;
    padding: 12px 16px;
    font-size: 12px;
  }
}
.resources-heading {
  padding-bottom: 12px;
}
.resource-list {
  margin: 4px 0 8px;
}
.resource-link {
  padding: 8px 0;
}
.resource-submit {
  margin: 0 -24px;
  padding: 14px 24px;
}

.anniversary-section {
  padding: 32px 0 0;
}
.anniversary-panel {
  padding: 28px 34px;
  gap: 30px;
}

.journal-cover {
  height: 210px;
  margin: 14px 18px 0;
  padding: 18px 20px;
}
.journal-copy {
  padding: 18px 18px 18px;
}
.journal-copy > p {
  margin-bottom: 12px;
}
.publishing-panel {
  margin-top: 20px;
}
.publishing-heading {
  padding: 18px 22px;
}
.publishing-details > summary {
  padding: 12px 22px;
}

.award-art {
  min-height: 280px;
  padding: 22px 15px;
}
.award-copy {
  margin-bottom: 16px;
}
.award-copy p {
  margin-bottom: 12px;
}

.speaker-portrait {
  height: 218px;
}
.speaker-copy {
  padding: 16px;
}
.speaker-footer {
  margin-top: 18px;
}

.partners-section {
  margin-top: 36px;
}
.partner-tile,
.t3-carousel-track .partner-tile {
  min-height: 76px;
  padding: 14px 16px;
}
.cpd-panel {
  min-height: 230px;
  padding: 20px 24px 0;
}

.blog-art {
  height: 192px;
}
.blog-copy {
  padding: 18px;
}
.blog-copy h3 {
  margin-bottom: 10px;
}
.blog-copy > p {
  margin-bottom: 14px;
}
.news-panel {
  padding: 20px 22px;
}
.news-link {
  padding: 12px 0;
}
.news-callout {
  padding-top: 16px;
}
.indexing-section {
  padding: 26px 0;
}

/* Newsletter & Footer Compact Rhythm */
.newsletter-section,
.inner-page .newsletter-section {
  padding: 24px 0 36px;
}
.newsletter-panel {
  padding: 26px 30px;
  gap: 32px;
}
.site-footer {
  padding: 32px 0 0;
}
.footer-top {
  padding-bottom: 20px;
}
.footer-main {
  padding: 24px 0 20px;
}
.footer-registration {
  padding: 16px 0;
}
.footer-bottom {
  padding: 16px 0;
}

/* Conference Details Compact Rhythm */
.cf-hero {
  padding: 18px 0 28px;
}
.cf-crumb {
  margin-bottom: 16px;
}
.cf-hero-grid {
  gap: 38px;
}
.cf-art {
  min-height: 320px;
  padding: 22px 24px;
}
.cf-art-word {
  margin-top: 18px;
}
.cf-art-year {
  margin: 8px 0 14px;
}
.cf-actions {
  margin-top: 18px;
}
.cf-downloads-bar {
  margin-top: 14px;
}
.cf-facts-row > div {
  padding: 14px 20px;
}
.cf-page .cf-wrap {
  padding: 38px 0;
}
.cf-heading {
  margin-bottom: 20px;
}
.cf-about-spread {
  gap: 38px;
}
.cf-card {
  padding: 22px;
}
.cf-speaker {
  padding: 20px;
}
.cf-logo-stage {
  min-height: 112px;
  margin: 10px 0;
}
.cf-cta {
  padding: 26px 32px;
  margin-top: 10px;
}

/* Inner Pages Compact Rhythm */
.inner-hero-warp {
  padding: 18px 0 22px;
}
.inner-hero-warp .inner-hero-content ul {
  margin-bottom: 10px;
}
.inner-hero {
  padding: 22px 0 30px;
}
.inner-section {
  padding: 38px 0;
}
.ptb-100 {
  padding: 36px 0;
}
.ptb-80 {
  padding: 32px 0;
}
.ptb-50 {
  padding: 24px 0;
}
.partner-section {
  padding: 36px 0;
}
.kode_mosque2_des {
  padding: 26px 30px;
}

@media (max-width: 991.98px) {
  .section-pad,
  .cf-page .cf-wrap,
  .inner-section,
  .ptb-100,
  .partner-section {
    padding: 32px 0;
  }
  .partners-section {
    margin-top: 28px;
  }
  .newsletter-panel {
    padding: 24px;
    gap: 20px;
  }
}
@media (max-width: 767.98px) {
  .section-pad,
  .cf-page .cf-wrap,
  .inner-section,
  .ptb-100,
  .ptb-80,
  .partner-section {
    padding: 26px 0;
  }
  .hero {
    padding-top: 20px;
  }
  .cf-card,
  .cf-speaker {
    padding: 18px;
  }
  .kode_mosque2_des {
    padding: 20px 18px;
  }
}


/* ==========================================================================
   Homepage Image Parity (Template 2 imagery inside Template 3 editorial UI)
   ========================================================================== */

/* 1. Full-width Hero Banner Slider (mark_sliders / conference slider fallback) */
.t3-hero-banner-section {
  position: relative;
  width: 100%;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.t3-hero-banner-link {
  display: block;
}
.t3-hero-banner-slide {
  position: relative;
  width: 100%;
}
.t3-hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.t3-hero-banner-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 0 42px;
  background: linear-gradient(180deg, rgba(10, 20, 39, 0) 0%, rgba(10, 20, 39, 0.78) 100%);
  color: #ffffff;
}
.t3-hero-banner-caption p {
  margin: 0;
  max-width: 780px;
  font-family: var(--heading-font);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.18;
  color: #ffffff;
}
.t3-hero-banner-control {
  width: 68px;
  opacity: 0.9;
  transition: opacity .2s ease;
}
.t3-hero-banner-control:hover {
  opacity: 1;
}
.t3-hero-banner-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 20, 39, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.t3-hero-banner-control:hover .t3-hero-banner-arrow {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.t3-hero-banner-arrow .icon {
  width: 18px;
  height: 18px;
}
.t3-hero-banner-indicators {
  margin-bottom: 12px;
  gap: 6px;
}
.t3-hero-banner-indicators [data-bs-target] {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.52);
  opacity: 1;
  transition: width .2s ease, background-color .2s ease;
}
.t3-hero-banner-indicators .active {
  width: 36px;
  background-color: #ffffff;
}

/* 2. Featured Conference Hero Card subtle conference photo backdrop */
.hero-event--has-photo .hero-event-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  pointer-events: none;
}
.hero-event--has-photo .hero-event-bg.is-loaded {
  opacity: 0.22;
}
.hero-event--has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 39, 0.45) 0%, rgba(10, 20, 39, 0.82) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-event--has-photo .hero-orbit,
.hero-event--has-photo .event-topline,
.hero-event--has-photo .hero-event-date,
.hero-event--has-photo .event-location,
.hero-event--has-photo h2,
.hero-event--has-photo .btn {
  z-index: 2;
}

/* Conference Details Hero Card subtle conference photo backdrop */
.cf-art.cf-art--has-photo .cf-art-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  pointer-events: none;
}
.cf-art.cf-art--has-photo .cf-art-bg.is-loaded {
  opacity: 0.24;
}
.cf-art.cf-art--has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 39, 0.42) 0%, rgba(10, 20, 39, 0.82) 100%);
  z-index: 0;
  pointer-events: none;
}
.cf-art.cf-art--has-photo .cf-art-top,
.cf-art.cf-art--has-photo .cf-art-word,
.cf-art.cf-art--has-photo .cf-art-year,
.cf-art.cf-art--has-photo .cf-art-footer {
  position: relative;
  z-index: 2;
}

/* 3. Upcoming Conferences Card Real Photos */
a.conference-art {
  display: block;
  text-decoration: none !important;
}
.conference-art.conference-art--has-photo {
  height: auto;
  aspect-ratio: 3 / 2;
  min-height: 205px;
  padding: 18px 20px;
}
.conference-art .conference-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 2;
  transition: transform .35s ease, opacity .25s ease;
}
.conference-card:hover .conference-art .conference-photo.is-loaded {
  transform: scale(1.03);
}
.conference-art.t3-img-loaded::after {
  content: "";
  position: absolute;
  inset: 42% 0 0 0;
  background: linear-gradient(180deg, rgba(10, 20, 39, 0) 0%, rgba(10, 20, 39, 0.72) 100%);
  z-index: 2;
  pointer-events: none;
}
.conference-art.t3-img-loaded .art-edition,
.conference-art.t3-img-loaded .format-tag {
  z-index: 3;
  color: #ffffff;
}
.conference-art.t3-img-loaded .art-edition {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}
.conference-art.t3-img-loaded .format-tag {
  background: rgba(10, 20, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}
[data-bs-theme="dark"] .conference-art.t3-img-loaded {
  filter: none;
}

/* 4. Journals Real A4 Cover Images */
.journal-card {
  display: flex;
  flex-direction: column;
}
.journal-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.journal-copy .text-link {
  margin-top: auto;
}
.journal-cover.journal-cover--has-image {
  display: block;
  height: auto;
  aspect-ratio: 210 / 297;
  margin: 16px 18px 0;
  padding: 18px 20px;
  border-radius: 3px;
}
.journal-cover.journal-cover--has-image.t3-img-loaded {
  border: 1px solid var(--line);
  background: #ffffff;
}
.journal-cover .journal-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  z-index: 2;
  transition: transform .25s ease, opacity .25s ease;
}
.journal-card:hover .journal-cover .journal-cover-img.is-loaded {
  transform: scale(1.02);
}

/* 5. JRFM Publishing Partner Real Logo */
.partner-monogram.partner-monogram--logo {
  position: relative;
  width: 196px;
  height: 74px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--brand);
  border-radius: 4px;
  overflow: hidden;
}
.partner-monogram--logo .partner-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 10px 14px;
  z-index: 2;
}
.partner-monogram--logo.t3-img-loaded .partner-monogram-fallback {
  opacity: 0;
}

/* 6. Faculty INSPIRE Award Real Photo */
.award-art.award-art--has-photo {
  min-height: 0;
  max-width: none;
  aspect-ratio: 3 / 2;
  padding: 20px;
  border-radius: 6px;
}
.award-art .award-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* 7. Speaker Portrait Full-Image Framing & Layering Guarantee */
#speakers .speaker-portrait {
  height: auto;
  aspect-ratio: 654 / 800;
  border-bottom: 1px solid var(--line);
}
#speakers .speaker-portrait.t3-img-loaded {
  background: #ffffff;
}
#speakers .speaker-portrait .speaker-photo {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  z-index: 1;
}
.speaker-portrait .speaker-photo {
  z-index: 1;
}
.speaker-portrait .portrait-label {
  z-index: 2;
}

/* 8. Latest Video YouTube Poster Thumbnail */
.video-shell .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-shell.t3-img-loaded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 39, 0.42);
  z-index: 1;
  pointer-events: none;
}
.video-shell:has(iframe)::after {
  display: none;
}
.video-shell iframe {
  z-index: 3;
}
.video-shell .video-play,
.video-shell .video-privacy {
  z-index: 2;
}

/* 9. CPD Accreditation Real Logo Stage */
.cpd-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  min-height: 148px;
  padding: 14px 18px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.cpd-logo-stage:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.cpd-logo-stage .cpd-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 12px 16px;
  z-index: 2;
}
.cpd-logo-stage.t3-img-loaded .cpd-mark {
  opacity: 0;
}

/* 10. Partners & Affiliates Carousel Tiles with Logos */
.t3-carousel-track .partner-tile.partner-tile--has-logo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 264px;
  overflow: hidden;
  background: var(--surface);
}
.partner-tile--has-logo > .partner-tile-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 212px;
  height: 212px;
  padding: 8px 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partner-tile-logo .partner-tile-fallback {
  width: 28px;
  height: 28px;
  color: var(--brand);
  opacity: 0.55;
}
.partner-tile-logo.t3-img-loaded .partner-tile-fallback {
  opacity: 0;
}
.partner-tile-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 8px;
  z-index: 2;
  transition: transform .22s ease, opacity .2s ease;
}
.partner-tile--has-logo:hover .partner-tile-logo img.is-loaded {
  transform: scale(1.04);
}
.partner-tile--has-logo > .partner-tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  flex: 1 1 auto;
}
.partner-tile-foot > span {
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 550;
  color: var(--ink);
  flex: 1 1 auto;
}
.partner-tile--has-logo:hover .partner-tile-foot > span {
  color: var(--brand);
}
.partner-tile-foot .icon {
  width: 12px;
  height: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

/* 11. Indexed With Carousel Tiles with Logos */
.t3-indexer-tile.t3-indexer-tile--has-logo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}
.t3-indexer-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 188px;
  height: 188px;
  padding: 8px 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.t3-indexer-fallback {
  font-family: var(--heading-font);
  font-size: 12px;
  color: #192337;
  text-align: center;
  line-height: 1.3;
}
.t3-indexer-logo.t3-img-loaded .t3-indexer-fallback {
  opacity: 0;
}
.t3-indexer-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 8px;
  z-index: 2;
  transition: transform .22s ease, opacity .2s ease;
}
.t3-indexer-tile--has-logo:hover .t3-indexer-logo img.is-loaded {
  transform: scale(1.04);
}
.t3-indexer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  flex: 1 1 auto;
}
.t3-indexer-foot > span {
  font-family: var(--heading-font);
  font-size: 12.5px;
  line-height: 1.35;
  flex: 1 1 auto;
}
.t3-indexer-foot .icon {
  width: 12px;
  height: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .publishing-heading > .btn {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .t3-hero-banner-control {
    width: 44px;
  }
  .t3-hero-banner-arrow {
    width: 32px;
    height: 32px;
  }
  .t3-hero-banner-arrow .icon {
    width: 14px;
    height: 14px;
  }
  .t3-hero-banner-indicators {
    margin-bottom: 6px;
  }
  .t3-hero-banner-indicators [data-bs-target] {
    width: 16px;
    height: 3px;
  }
  .t3-hero-banner-indicators .active {
    width: 24px;
  }
  .partner-monogram.partner-monogram--logo {
    width: 164px;
    height: 62px;
  }
  .t3-carousel-track .partner-tile.partner-tile--has-logo {
    min-height: 212px;
  }
  .partner-tile--has-logo > .partner-tile-logo {
    flex-basis: 158px;
    height: 158px;
  }
  .t3-indexer-tile--has-logo > .t3-indexer-logo {
    flex-basis: 150px;
    height: 150px;
  }
}

/* ==========================================================================
   Conference Microsite Header (.cf-header) Desktop, Scroll, Dark Mode & Mobile Fix
   ========================================================================== */
html:has(body.cf-page) {
  scroll-padding-top: 132px;
}
.cf-header.t3-nav-enhanced .cf-brandbar {
  min-height: 68px;
  gap: 18px;
  transition: min-height .2s ease;
}
.cf-header.t3-nav-enhanced.is-scrolled .cf-brandbar {
  min-height: 54px;
}
.cf-header.t3-nav-enhanced .brand {
  flex-shrink: 0;
}
.cf-header.t3-nav-enhanced .brand.has-brand-image .brand-image {
  width: 44px;
  height: 44px;
  transition: width .2s ease, height .2s ease;
}
.cf-header.t3-nav-enhanced.is-scrolled .brand.has-brand-image .brand-image {
  width: 38px;
  height: 38px;
}
.cf-header.t3-nav-enhanced .brand.has-brand-image .brand-lockup {
  max-width: 165px;
}
.cf-header.t3-nav-enhanced .cf-identity {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  padding-left: 18px;
}
.cf-header.t3-nav-enhanced .cf-identity strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-header.t3-nav-enhanced .cf-identity span {
  display: block;
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-header.t3-nav-enhanced .cf-head-actions {
  flex-shrink: 0;
  gap: 8px;
}
.cf-header.t3-nav-enhanced .cf-head-actions .btn {
  padding: 9px 15px;
  font-size: 12.5px;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .cf-header.t3-nav-enhanced .cf-nav-bar {
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--page) 55%, transparent);
  }
  .cf-header.t3-nav-enhanced .navbar {
    border-top: 0;
    min-height: 46px;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: min-height .2s ease, padding .2s ease;
  }
  .cf-header.t3-nav-enhanced.is-scrolled .navbar {
    min-height: 42px;
    padding-top: 3px;
    padding-bottom: 3px;
  }
  .cf-header.t3-nav-enhanced .navbar-nav {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
  }
  .cf-header.t3-nav-enhanced .navbar .nav-link {
    padding: 8px 10px !important;
    font-size: 13px;
    font-weight: 550;
  }
  .cf-header.t3-nav-enhanced .navbar .nav-link::before {
    bottom: 1px;
  }
  .cf-header.t3-nav-enhanced .t3-dropdown-panel {
    max-height: calc(100vh - 148px);
    overflow-y: auto;
  }
  .cf-header.t3-nav-enhanced .cf-nav-wide.t3-dropdown-panel.show {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Crisp dark-mode contrast for Conferences pill in both headers */
[data-bs-theme="dark"] .t3-nav-enhanced .t3-nav-conferences {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  color: var(--ink) !important;
}
[data-bs-theme="dark"] .t3-nav-enhanced .t3-nav-conferences .t3-nav-caret {
  color: var(--ink);
}
[data-bs-theme="dark"] .t3-nav-enhanced .t3-nav-conferences:hover,
[data-bs-theme="dark"] .t3-nav-enhanced .t3-nav-conferences.show,
[data-bs-theme="dark"] .t3-nav-enhanced .t3-nav-conferences[aria-expanded="true"] {
  background: color-mix(in srgb, var(--brand) 28%, transparent) !important;
  color: #ffffff !important;
}

@media (max-width: 1199.98px) {
  .cf-header.t3-nav-enhanced .cf-nav-bar {
    border-top: 0;
  }
  .cf-header.t3-nav-enhanced .navbar {
    min-height: 0;
    padding: 0;
    border-top: 0;
  }
  .cf-header.t3-nav-enhanced .cf-menu-toggle {
    display: inline-flex;
  }
  .cf-header.t3-nav-enhanced .cf-nav-wide.show {
    display: block;
  }
  .cf-header.t3-nav-enhanced .offcanvas-xl {
    height: 100dvh;
    max-height: 100dvh;
  }
  .cf-header.t3-nav-enhanced .cf-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 991.98px) {
  .cf-header.t3-nav-enhanced .brand.has-brand-image .brand-full {
    display: none !important;
  }
  .cf-header.t3-nav-enhanced .brand.has-brand-image .brand-lockup {
    max-width: none;
  }
  .cf-header.t3-nav-enhanced .cf-identity {
    padding-left: 12px;
  }
  .cf-header.t3-nav-enhanced .cf-identity strong {
    font-size: 13.5px;
    letter-spacing: 0.02em;
  }
  .cf-header.t3-nav-enhanced .cf-identity span {
    font-size: 11px;
  }
}

@media (max-width: 767.98px) {
  .utility-bar a,
  .utility-bar .account-links a {
    white-space: nowrap;
  }
  .utility-bar .utility-links {
    display: none;
  }
  .utility-bar .account-links {
    border-left: 0;
    padding-left: 0;
    margin-left: auto;
    flex-shrink: 0;
  }
  .utility-bar .registration-note {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cf-header.t3-nav-enhanced .cf-brandbar {
    min-height: 62px;
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .cf-header.t3-nav-enhanced .brand.has-brand-image .brand-image {
    width: 38px;
    height: 38px;
  }
  .cf-header.t3-nav-enhanced .brand.has-brand-image .brand-word {
    font-size: 20px;
  }
  .cf-header.t3-nav-enhanced .cf-head-actions {
    gap: 6px;
  }
  .cf-header.t3-nav-enhanced .cf-head-actions .t3-action-btn,
  .cf-header.t3-nav-enhanced .cf-head-actions .cf-menu-toggle {
    width: 34px;
    height: 34px;
  }
  .cf-header.t3-nav-enhanced .cf-head-actions .t3-cta-btn {
    display: none;
  }
  .cf-header.t3-nav-enhanced .cf-identity strong {
    font-size: 12.5px;
  }
  .cf-header.t3-nav-enhanced .cf-identity span {
    display: none;
  }
}

@media (max-width: 420px) {
  .cf-header.t3-nav-enhanced .brand.has-brand-image .brand-word {
    display: none;
  }
  .cf-header.t3-nav-enhanced .cf-identity {
    padding-left: 10px;
  }
}

/* ==========================================================================
   Template 3 Editorial Blog Page (.t3-blog-page)
   ========================================================================== */
.r-page .site-header .btn,
.r-page .cf-header .btn {
  min-height: 0;
}
.t3-blog-page .r-hero {
  padding: 26px 0 42px;
}
.t3-blog-page .r-crumb {
  margin-bottom: 22px;
}
.t3-blog-page .r-stats {
  margin-top: 26px;
  padding-top: 18px;
}
.t3-blog-page .r-section {
  padding: 46px 0;
}
.t3-blog-page .t3-blog-cta-section {
  padding-top: 10px;
}
.t3-blog-page .r-art.t3-blog-hero-art {
  min-height: 290px;
}
.t3-blog-page .t3-blog-feature-media {
  min-height: 320px;
  aspect-ratio: 16 / 10;
  display: flex;
  text-decoration: none !important;
}
.t3-blog-page .t3-blog-feature-media .r-cover-img {
  transition: transform .35s ease, opacity .25s ease;
}
.t3-blog-page .t3-blog-feature-media:hover .r-cover-img.is-loaded {
  transform: scale(1.03);
}
.t3-blog-page .t3-blog-feature-copy h2 a {
  color: var(--ink);
  text-decoration: none !important;
}
.t3-blog-page .t3-blog-feature-copy h2 a:hover {
  color: var(--brand);
}
.t3-blog-page .t3-blog-byline-role {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.t3-blog-page .r-card .t3-blog-card-art {
  min-height: 0;
  aspect-ratio: 16 / 10;
  display: flex;
  text-decoration: none !important;
}
.t3-blog-page .r-card .t3-blog-card-art .r-cover-img {
  transition: transform .35s ease, opacity .25s ease;
}
.t3-blog-page .r-card:hover .t3-blog-card-art .r-cover-img.is-loaded {
  transform: scale(1.03);
}
.t3-blog-page .r-card h3 {
  font-size: 21px;
  line-height: 1.32;
  margin: 12px 0 10px;
}
.t3-blog-page .r-card h3 a {
  color: var(--ink);
  text-decoration: none !important;
}
.t3-blog-page .r-card h3 a:hover {
  color: var(--brand);
}
.t3-blog-page .t3-blog-excerpt {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t3-blog-page .t3-blog-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.t3-blog-page .t3-blog-card-author .r-avatar {
  width: 28px;
  height: 28px;
  font-size: 11px;
  flex-shrink: 0;
}
.t3-blog-page .r-card-link {
  text-decoration: none !important;
}
.t3-blog-page .r-card-link .icon {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}
.t3-blog-page .r-card:hover .r-card-link .icon {
  transform: translateX(3px);
}
.t3-blog-page .t3-blog-pagination {
  margin-top: 32px;
}
.t3-blog-page .t3-blog-pagination .pagination {
  gap: 6px;
  margin: 0;
}
.t3-blog-page .t3-blog-pagination .page-link {
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  padding: 8px 13px;
}
.t3-blog-page .t3-blog-pagination .active > .page-link,
.t3-blog-page .t3-blog-pagination .page-link:hover {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.t3-blog-page .r-cta.dark .btn {
  text-decoration: none !important;
}

@media (max-width: 767.98px) {
  .t3-blog-page .r-hero {
    padding: 20px 0 30px;
  }
  .t3-blog-page .r-section {
    padding: 32px 0;
  }
  .t3-blog-page .t3-blog-feature-media {
    min-height: 210px;
  }
}

/* ==========================================================================
   Template 3 Editorial CBER Forms Hub (.t3-forms-hub)
   ========================================================================== */
.t3-forms-hub .r-hero {
  padding: 26px 0 42px;
}
.t3-forms-hub .r-crumb {
  margin-bottom: 22px;
}
.t3-forms-hub .r-stats {
  margin-top: 26px;
  padding-top: 18px;
}
.t3-forms-hub .r-section {
  padding: 46px 0;
}
.t3-forms-hub .t3-forms-cta-section {
  padding-top: 10px;
}
.t3-forms-hub .r-art.t3-forms-hero-art {
  min-height: 290px;
}
.t3-forms-chips {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 20px;
}
.js .t3-forms-chips {
  display: flex;
}
.t3-forms-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.t3-forms-chip small {
  font-size: 11px;
  color: var(--muted);
  background: var(--tint);
  padding: 1px 6px;
  border-radius: 999px;
}
.t3-forms-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.t3-forms-chip.is-active {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.t3-forms-chip.is-active small {
  background: rgba(255, 255, 255, 0.18);
  color: var(--action-text);
}
[data-bs-theme="dark"] .t3-forms-chip.is-active small {
  background: rgba(0, 0, 0, 0.2);
}
.t3-forms-hub .t3-form-card .r-card-top {
  margin-bottom: 16px;
}
.t3-forms-hub .t3-form-card .t3-form-badge {
  color: var(--brand);
  margin-bottom: 4px;
}
.t3-forms-hub .t3-form-card h3 {
  font-size: 21px;
  line-height: 1.32;
  min-height: 0;
  margin: 10px 0 10px;
}
.t3-forms-hub .t3-form-card h3 a {
  color: var(--ink);
  text-decoration: none !important;
}
.t3-forms-hub .t3-form-card h3 a:hover {
  color: var(--brand);
}
.t3-forms-hub .t3-form-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
}
.t3-forms-hub .t3-form-card .r-card-link {
  text-decoration: none !important;
}
.t3-forms-hub .t3-form-card .r-card-link .icon {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}
.t3-forms-hub .t3-form-card:hover .r-card-link .icon {
  transform: translateX(3px);
}
.t3-forms-hub .r-cta.dark .btn {
  text-decoration: none !important;
}

/* ==========================================================================
   Template 3 Editorial Form Detail Pages (.t3-form-detail-page)
   ========================================================================== */
.t3-form-detail-page .t3-form-detail-hero {
  padding: 24px 0 34px;
}
.t3-form-detail-page .t3-form-detail-hero .r-crumb {
  margin-bottom: 18px;
}
.t3-form-detail-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.t3-form-detail-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.t3-form-detail-hero-copy h1 {
  margin: 10px 0 14px;
}
.t3-form-detail-subtitle {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 11px;
  border-radius: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.t3-form-detail-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.t3-form-status-badge {
  color: var(--brand);
}
.t3-form-status-badge .icon {
  width: 14px;
  height: 14px;
}
.t3-form-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none !important;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  transition: border-color .16s ease, background-color .16s ease;
}
.t3-form-back-link:hover {
  border-color: var(--brand);
  background: var(--soft);
  color: var(--brand);
}
.t3-form-back-link .icon {
  width: 14px;
  height: 14px;
}
.t3-icon-flip {
  transform: rotate(180deg);
}
.t3-form-detail-subnav .container {
  gap: 18px;
  scrollbar-width: none;
}
.t3-form-detail-subnav .container::-webkit-scrollbar {
  display: none;
}
.t3-form-detail-subnav a {
  padding: 15px 0;
  font-size: 12.5px;
  text-decoration: none !important;
}

/* Main form body surface */
.t3-form-detail-page .about-section {
  background: var(--tint);
  padding: 44px 0 56px;
}
.t3-form-detail-page .about-section > .container {
  max-width: 1000px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-radius);
  padding: 36px 42px 42px;
}
.t3-form-detail-page.page-journal_publication_declaration_forms .about-section > .container,
.t3-form-detail-page.page-authors_declaration .about-section > .container {
  max-width: 1140px;
}
.t3-form-detail-page.page-author_membership_forms .about-section > .container {
  max-width: 880px;
  background: transparent;
  border: 0;
  padding: 0 12px;
}

/* Hide redundant legacy cornflower-blue centered headings & stray breaks */
.t3-form-detail-page .about-section > .container > br,
.t3-form-detail-page .about-section > .container > .text-center > h2,
.t3-form-detail-page .about-section > .container > .text-center > h3.blog-post-title,
.t3-form-detail-page .about-section > .container > .text-center > br,
.t3-form-detail-page .about-section > .container > div > hr,
.t3-form-detail-page .about-section > .container > div > .text-center > h2,
.t3-form-detail-page .about-section > .container > div > .text-center > .blog-post-title {
  display: none;
}
.t3-form-detail-page .about-section > .container > .text-center:not(:has(p)) {
  display: none;
}
.t3-form-detail-page .about-section > .container > .text-center p.lead,
.t3-form-detail-page .about-section > .container > .text-center p {
  text-align: left;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--soft);
  border-left: 3px solid var(--brand);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 0 0 24px;
}

/* Editorial typography & section dividers inside forms */
.t3-form-detail-page .about-section form h4 {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin: 30px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.t3-form-detail-page .about-section form > h4:first-of-type {
  margin-top: 6px;
}
.t3-form-detail-page .about-section form h5 {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brand);
  margin: 22px 0 12px;
}
.t3-form-detail-page .about-section form h6 {
  font-family: var(--body-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 18px 0 10px;
}
.t3-form-detail-page .about-section form p,
.t3-form-detail-page .about-section > .container > p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}
.t3-form-detail-page .about-section form p strong,
.t3-form-detail-page .about-section > .container > p strong {
  color: var(--ink);
}
.t3-form-detail-page .about-section form a,
.t3-form-detail-page .about-section > .container > p a {
  color: var(--brand);
}
.t3-form-detail-page .about-section form ul,
.t3-form-detail-page .about-section form ol {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  padding-left: 22px;
  margin-bottom: 18px;
}
.t3-form-detail-page .about-section form ul.list-unstyled {
  padding-left: 0;
}
.t3-form-detail-page .about-section form li {
  margin-bottom: 6px;
}
.t3-form-detail-page .about-section form > h4 + span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: -10px 0 12px;
  line-height: 1.65;
}

/* Override legacy <font color="..."> tags cleanly for light & dark mode */
.t3-form-detail-page .about-section font[color="blue"],
.t3-form-detail-page .about-section font[color="#6495ed"] {
  color: var(--brand) !important;
  font-weight: 600;
}
.t3-form-detail-page .about-section font[color="red"] {
  color: var(--accent) !important;
}

/* Bootstrap 3/4 legacy utilities compatibility under Bootstrap 5 */
.t3-form-detail-page .form-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.t3-form-detail-page .form-row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}
.t3-form-detail-page .form-group {
  margin-bottom: 18px;
}
.t3-form-detail-page .text-right {
  text-align: right;
}
.t3-form-detail-page .pull-right {
  float: none;
  margin-left: auto;
}
.t3-form-detail-page .btn-block {
  width: 100%;
}
.t3-form-detail-page .ml-2 {
  margin-left: 8px;
}
.t3-form-detail-page .help-block {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 6px 0 0;
}
.t3-form-detail-page .form-control-static {
  background: var(--soft);
  border-left: 3px solid var(--brand);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--ink);
  margin: 0;
}

/* Labels, controls, selects, file uploads, radios, checkboxes */
.t3-form-detail-page .about-section label,
.t3-form-detail-page .about-section .control-label,
.t3-form-detail-page .about-section .form-label {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 7px;
}
.t3-form-detail-page .about-section .form-control,
.t3-form-detail-page .about-section .form-select,
.t3-form-detail-page .about-section textarea.form-control {
  background-color: var(--page) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  font-size: 14.5px;
  min-height: 44px;
  padding: 10px 14px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.t3-form-detail-page .about-section textarea.form-control {
  min-height: 96px;
}
.t3-form-detail-page .about-section select.form-control:not(.form-select) {
  appearance: auto;
  cursor: pointer;
}
.t3-form-detail-page .about-section select.form-select {
  appearance: none;
  cursor: pointer;
}
[data-bs-theme="dark"] .t3-form-detail-page .about-section select.form-control,
[data-bs-theme="dark"] .t3-form-detail-page .about-section input[type="date"].form-control {
  color-scheme: dark;
}
.t3-form-detail-page .about-section .form-control:focus,
.t3-form-detail-page .about-section .form-select:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent) !important;
}
.t3-form-detail-page .about-section input[type="file"].form-control {
  padding: 8px 12px;
  min-height: 44px;
}
.t3-form-detail-page .about-section input[type="file"].form-control::file-selector-button {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px 12px;
  margin-right: 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.t3-form-detail-page .about-section .input-group .input-group-text {
  background: var(--soft) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 0 14px;
  min-height: 44px;
}
.t3-form-detail-page .about-section input[type="checkbox"],
.t3-form-detail-page .about-section input[type="radio"] {
  accent-color: var(--brand);
  cursor: pointer;
}
.t3-form-detail-page .about-section .radio-inline,
.t3-form-detail-page .about-section .checkbox-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 8px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.t3-form-detail-page .about-section .checkbox-inline input.form-control {
  height: auto !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
  width: min(320px, 100%) !important;
  flex: 1 1 220px;
  border: 1px solid var(--line) !important;
  background: var(--surface) !important;
}
.t3-form-detail-page .about-section .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
}
.t3-form-detail-page .about-section .form-check .form-check-input {
  margin: 4px 0 0;
  float: none;
  flex-shrink: 0;
}
.t3-form-detail-page .about-section .form-check .form-check-label {
  font-weight: 500;
  margin-bottom: 0;
  cursor: pointer;
}
.t3-form-detail-page .about-section .checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  line-height: 1.65;
  cursor: pointer;
}
.t3-form-detail-page .about-section .checkbox input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}
.t3-form-detail-page .about-section .form-group > label > input[type="radio"],
.t3-form-detail-page .about-section .form-group > label > input[type="checkbox"] {
  margin-right: 6px;
}
.t3-form-detail-page .about-section .form-group > label + label {
  margin-left: 14px;
}

/* Nested Bootstrap Cards & Policy Panels (e.g. Journal Publication Declaration) */
.t3-form-detail-page .about-section .card {
  background: var(--page) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-radius);
  overflow: hidden;
  box-shadow: none;
}
.t3-form-detail-page .about-section .card.bg-light {
  background: var(--tint) !important;
  border: 1px solid var(--line) !important;
}
.t3-form-detail-page .about-section .card-header {
  background: var(--tint) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 16px 22px;
}
.t3-form-detail-page .about-section .card-header.text-white,
.t3-form-detail-page .about-section .card-header.text-white h4,
.t3-form-detail-page .about-section .card-header.text-white small {
  color: var(--ink) !important;
}
.t3-form-detail-page .about-section .card-header h4 {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 400;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.t3-form-detail-page .about-section .card-header small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted) !important;
}
.t3-form-detail-page .about-section .card-body {
  padding: 22px;
  color: var(--ink);
}
.t3-form-detail-page .about-section .card-body p {
  color: var(--muted);
}
.t3-form-detail-page .about-section .card-body p strong {
  color: var(--ink);
}

/* Alerts & Guidance Banners */
.t3-form-detail-page .about-section .alert {
  border-radius: 4px;
  padding: 15px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.t3-form-detail-page .about-section .alert-warning {
  background: var(--accent-soft) !important;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line)) !important;
  border-left: 3px solid var(--accent) !important;
  color: var(--ink) !important;
}
.t3-form-detail-page .about-section .alert-info {
  background: var(--soft) !important;
  border: 1px solid var(--line) !important;
  border-left: 3px solid var(--brand) !important;
  color: var(--ink) !important;
}
.t3-form-detail-page .about-section .alert-info a {
  color: var(--brand) !important;
  text-decoration: underline !important;
}
.t3-form-detail-page .about-section .alert p,
.t3-form-detail-page .about-section .alert ol,
.t3-form-detail-page .about-section .alert li {
  color: var(--ink);
}

/* Tables & Evaluation Matrix Tables */
.t3-form-detail-page .about-section .table-responsive {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 18px;
}
.t3-form-detail-page .about-section .table,
.t3-form-detail-page .about-section .no-more-tables table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.t3-form-detail-page .about-section .table-responsive .table {
  border: 0;
}
.t3-form-detail-page .about-section .table thead th,
.t3-form-detail-page .about-section .no-more-tables thead th {
  background: var(--tint) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 11px 10px;
  vertical-align: middle;
}
.t3-form-detail-page .about-section .table tbody td,
.t3-form-detail-page .about-section .no-more-tables tbody td {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  padding: 10px;
  font-size: 13.5px;
  vertical-align: middle;
}
.t3-form-detail-page .about-section .table tbody tr:hover td,
.t3-form-detail-page .about-section .no-more-tables tbody tr:hover td {
  background: var(--soft) !important;
}
.t3-form-detail-page .about-section .no-more-tables {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow-x: auto;
  margin-top: 8px;
}
.t3-form-detail-page .about-section .table .form-control {
  min-height: 38px;
  padding: 7px 10px;
  font-size: 13.5px;
}

/* Retraction policy toggle pill */
.t3-form-detail-page #toggleRetractionPolicy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--brand);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  vertical-align: middle;
}
.t3-form-detail-page #retractionPolicyDetails {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

/* Membership Registration Form card (native Template 3 tokens) */
.t3-form-detail-page .membership-form-card {
  max-width: 100%;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-radius) !important;
  padding: 36px 40px 40px !important;
  box-shadow: none !important;
}
.t3-form-detail-page .membership-form-card__header {
  border-bottom-color: var(--line) !important;
  margin-bottom: 24px;
  padding-bottom: 18px;
}
.t3-form-detail-page .membership-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand) !important;
  margin-bottom: 6px;
}
.t3-form-detail-page .membership-form-card__header h3 {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink) !important;
}
.t3-form-detail-page .membership-form-card__header p {
  color: var(--muted) !important;
}
.t3-form-detail-page .membership-form-card__footer {
  border-top-color: var(--line) !important;
}
.t3-form-detail-page .membership-form-card .profile-back-link {
  color: var(--brand) !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Submit buttons & jQuery Validate feedback */
.t3-form-detail-page .about-section button[type="submit"],
.t3-form-detail-page .about-section .default-btn,
.t3-form-detail-page .about-section .membership-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 28px !important;
  border-radius: 4px !important;
  border: 1px solid var(--action) !important;
  background: var(--action) !important;
  color: var(--action-text) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.t3-form-detail-page .about-section button[type="submit"]:hover,
.t3-form-detail-page .about-section .default-btn:hover,
.t3-form-detail-page .about-section .membership-submit-btn:hover {
  background: var(--action-hover) !important;
  border-color: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}
.t3-form-detail-page label.error,
.t3-form-detail-page span.error {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: #dc2626 !important;
}
[data-bs-theme="dark"] .t3-form-detail-page label.error,
[data-bs-theme="dark"] .t3-form-detail-page span.error {
  color: #f87171 !important;
}

@media (max-width: 991.98px) {
  .t3-form-detail-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .t3-form-detail-hero-meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .t3-form-detail-page .about-section > .container,
  .t3-form-detail-page .membership-form-card {
    padding: 28px 24px 32px !important;
  }
}

@media (max-width: 767.98px) {
  .t3-forms-hub .r-hero {
    padding: 20px 0 30px;
  }
  .t3-forms-hub .r-section {
    padding: 32px 0;
  }
  .t3-form-detail-page .t3-form-detail-hero {
    padding: 20px 0 26px;
  }
  .t3-form-detail-page .about-section {
    padding: 24px 0 36px;
  }
  .t3-form-detail-page .about-section > .container,
  .t3-form-detail-page .membership-form-card {
    padding: 22px 18px 26px !important;
  }
  .t3-form-detail-page .about-section form h4 {
    font-size: 21px;
    margin-top: 24px;
  }
  .t3-form-detail-page .about-section .text-right {
    text-align: left;
  }
  .t3-form-detail-page .about-section button[type="submit"],
  .t3-form-detail-page .about-section .default-btn {
    width: 100%;
  }
  .t3-form-detail-page .no-more-tables tr {
    border-color: var(--line) !important;
  }
  .t3-form-detail-page .no-more-tables td {
    border-bottom-color: var(--line) !important;
    background: var(--surface) !important;
    color: var(--ink) !important;
  }
}

/* ==========================================================================
   Template 3 Editorial Payment Hub (.t3-payment-hub)
   ========================================================================== */
.t3-payment-hub .r-hero {
  padding: 26px 0 42px;
}
.t3-payment-hub .r-crumb {
  margin-bottom: 22px;
}
.t3-payment-hub .r-stats {
  margin-top: 26px;
  padding-top: 18px;
}
.t3-payment-hub .r-section {
  padding: 46px 0;
}
.t3-payment-hub .t3-payment-cta-section {
  padding-top: 34px;
}
.t3-payment-hub .r-art.t3-payment-hero-art {
  min-height: 290px;
}
.t3-payment-subnav .container {
  gap: 24px;
  scrollbar-width: none;
}
.t3-payment-subnav .container::-webkit-scrollbar {
  display: none;
}
.t3-payment-subnav a {
  padding: 16px 0;
  font-size: 13px;
  text-decoration: none !important;
}
.t3-payment-hub .t3-pay-card .r-card-top {
  margin-bottom: 16px;
}
.t3-payment-hub .t3-pay-card .t3-pay-badge {
  color: var(--brand);
  margin-bottom: 4px;
}
.t3-payment-hub .t3-pay-card h3 {
  font-size: 24px;
  line-height: 1.28;
  min-height: 0;
  margin: 10px 0 10px;
}
.t3-payment-hub .t3-pay-card h3 a {
  color: var(--ink);
  text-decoration: none !important;
}
.t3-payment-hub .t3-pay-card h3 a:hover {
  color: var(--brand);
}
.t3-payment-hub .t3-pay-card p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 20px;
}
.t3-payment-hub .t3-pay-card .r-card-link {
  text-decoration: none !important;
}
.t3-payment-hub .t3-pay-card .r-card-link .icon {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}
.t3-payment-hub .t3-pay-card:hover .r-card-link .icon {
  transform: translateX(3px);
}
.t3-payment-hub .t3-pay-info-card {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.t3-payment-hub .t3-pay-info-card h2 {
  font-size: 26px;
  margin: 6px 0 12px;
}
.t3-payment-hub .t3-pay-info-card .r-payment-rails {
  margin-top: auto;
  padding-top: 16px;
}
.t3-payment-hub .t3-pay-info-card .r-payment-rails span {
  border-radius: 3px;
  background: var(--tint);
  color: var(--ink);
}
.t3-payment-hub .t3-pay-info-card .r-aside-nav {
  margin-top: 8px;
}
.t3-payment-hub .t3-pay-info-card .r-aside-nav a {
  color: var(--ink);
  font-weight: 550;
  text-decoration: none !important;
}
.t3-payment-hub .t3-pay-info-card .r-aside-nav a:hover {
  color: var(--brand);
}
.t3-payment-hub .t3-pay-info-card .r-aside-nav .icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
  flex-shrink: 0;
}
.t3-payment-hub .r-cta.dark .btn {
  text-decoration: none !important;
}

/* ==========================================================================
   Template 3 Payment Checkout Sub-Pages (body.t3-payment-detail-page)
   Overrides inline legacy gradients & light-only boxes cleanly in light + dark
   ========================================================================== */
body.t3-payment-detail-page .t3-pay-detail-hero {
  padding: 24px 0 34px;
}
body.t3-payment-detail-page .t3-pay-detail-hero .r-crumb {
  margin-bottom: 18px;
}
body.t3-payment-detail-page .about-section {
  background: var(--tint);
  padding: 44px 0 56px;
}
body.t3-payment-detail-page .about-section > .container {
  max-width: 1080px;
}
body.t3-payment-detail-page .kode_mosque2_des {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
body.t3-payment-detail-page .payment-hero {
  display: none !important;
}
body.t3-payment-detail-page .contact-form {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Conference chooser grid on /payment_conference_registration */
body.t3-payment-detail-page .payment-registration .payment-chooser {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-radius) !important;
  box-shadow: none !important;
  padding: 32px 34px !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__header h3 {
  font-family: var(--heading-font) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  margin: 0 0 8px !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__header p {
  color: var(--muted) !important;
  font-size: 14.5px !important;
  margin: 0 0 24px !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 24px !important;
  border-radius: var(--r-radius) !important;
  border: 1px solid var(--line) !important;
  background: var(--page) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__item:hover {
  transform: translateY(-3px) !important;
  border-color: var(--brand) !important;
  box-shadow: none !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__info {
  width: 100%;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__name {
  font-family: var(--heading-font) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.32 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-top: 14px !important;
  color: var(--muted) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__tag {
  background: var(--soft) !important;
  border: 1px solid var(--line) !important;
  color: var(--brand) !important;
  border-radius: 3px !important;
  font-size: 10.5px !important;
  padding: 4px 9px !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__detail {
  color: var(--muted) !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__detail .fa {
  color: var(--brand) !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__cta {
  width: 100% !important;
  margin-left: 0 !important;
  padding: 11px 16px !important;
  border-radius: 4px !important;
  background: var(--action) !important;
  color: var(--action-text) !important;
  box-shadow: none !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__cta::after {
  display: none !important;
}
body.t3-payment-detail-page .payment-registration .payment-chooser__item:hover .payment-chooser__cta {
  background: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}

/* Checkout Form Card (.payment-card) */
body.t3-payment-detail-page .payment-registration .payment-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-radius) !important;
  box-shadow: none !important;
  padding: 36px 40px 40px !important;
}
body.t3-payment-detail-page .payment-registration .payment-card::before,
body.t3-payment-detail-page .payment-registration .payment-card::after {
  display: none !important;
}
body.t3-payment-detail-page .payment-form .form-group {
  margin-bottom: 20px !important;
}
body.t3-payment-detail-page .payment-form label.control-label,
body.t3-payment-detail-page .payment-form .control-label {
  display: inline-block !important;
  margin-bottom: 7px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--ink) !important;
}
body.t3-payment-detail-page .payment-form .form-control {
  background-color: var(--page) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
}
body.t3-payment-detail-page .payment-form .form-control[readonly] {
  background-color: var(--tint) !important;
  color: var(--muted) !important;
}
body.t3-payment-detail-page .payment-form select.form-control {
  appearance: auto !important;
  cursor: pointer;
}
[data-bs-theme="dark"] body.t3-payment-detail-page .payment-form select.form-control {
  color-scheme: dark;
}
body.t3-payment-detail-page .payment-form .form-control:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent) !important;
  background-color: var(--page) !important;
}
body.t3-payment-detail-page .payment-form .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  margin: 0 10px 8px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
body.t3-payment-detail-page .payment-form input[type="radio"],
body.t3-payment-detail-page .payment-form input[type="checkbox"] {
  accent-color: var(--brand);
}

/* Payment Mode Tiles (Stripe Card / PayPal) */
body.t3-payment-detail-page .payment-registration .payment-mode {
  gap: 16px !important;
  margin-top: 8px !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__tile {
  border: 1px solid var(--line) !important;
  border-radius: var(--r-radius) !important;
  background: var(--page) !important;
  box-shadow: none !important;
  padding: 28px 18px 16px !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__option--primary .payment-mode__tile {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line)) !important;
  background: var(--page) !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__option:hover .payment-mode__tile {
  border-color: var(--brand) !important;
  box-shadow: none !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__option input:checked + .payment-mode__tile {
  border-color: var(--brand) !important;
  background: var(--soft) !important;
  box-shadow: 0 0 0 1px var(--brand) !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__badge {
  background: var(--action) !important;
  color: var(--action-text) !important;
  box-shadow: none !important;
  border-radius: 3px !important;
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__text {
  color: var(--ink) !important;
  font-size: 15px !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__meta {
  color: var(--muted) !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__logo {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 10px;
}
body.t3-payment-detail-page .payment-registration .payment-mode__logo img {
  filter: none !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__check {
  border-color: var(--line) !important;
  background: var(--surface) !important;
}
body.t3-payment-detail-page .payment-registration .payment-mode__option input:checked + .payment-mode__tile .payment-mode__check {
  border-color: var(--action) !important;
  background: var(--action) !important;
  box-shadow: inset 0 0 0 3px var(--surface) !important;
}

/* Security check input-group & BS3 addon */
body.t3-payment-detail-page .payment-form .input-group {
  display: flex;
  align-items: stretch;
  border-radius: 4px !important;
  border: 1px solid var(--line) !important;
  background: var(--page) !important;
  overflow: hidden;
}
body.t3-payment-detail-page .payment-form .input-group-addon,
body.t3-payment-detail-page .payment-form .input-group-text {
  display: inline-flex;
  align-items: center;
  background: var(--soft) !important;
  color: var(--ink) !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  padding: 0 14px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
body.t3-payment-detail-page .payment-form .input-group-addon label {
  margin: 0 !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
}
body.t3-payment-detail-page .payment-form .input-group .form-control {
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 44px !important;
}

/* Checkout Submit button & notices */
body.t3-payment-detail-page .payment-form .btn-primary,
body.t3-payment-detail-page .payment-form button[type="submit"] {
  width: 100%;
  min-height: 46px !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  border: 1px solid var(--action) !important;
  background: var(--action) !important;
  color: var(--action-text) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transform: none !important;
}
body.t3-payment-detail-page .payment-form .btn-primary:hover,
body.t3-payment-detail-page .payment-form button[type="submit"]:hover {
  background: var(--action-hover) !important;
  border-color: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}
body.t3-payment-detail-page .payment-form .help-block {
  color: var(--accent) !important;
  font-size: 12.5px;
}
body.t3-payment-detail-page .payment-card p span[style*="color:#08c"],
body.t3-payment-detail-page .payment-card p span[style*="color: #08c"] {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--soft);
  border-left: 3px solid var(--brand);
  color: var(--ink) !important;
  font-size: 13.5px !important;
}
body.t3-payment-detail-page label.error,
body.t3-payment-detail-page span.error {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: #dc2626 !important;
}
[data-bs-theme="dark"] body.t3-payment-detail-page label.error,
[data-bs-theme="dark"] body.t3-payment-detail-page span.error {
  color: #f87171 !important;
}

@media (max-width: 991.98px) {
  body.t3-payment-detail-page .payment-registration .payment-chooser__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  .t3-payment-hub .r-hero {
    padding: 20px 0 30px;
  }
  .t3-payment-hub .r-section {
    padding: 32px 0;
  }
  body.t3-payment-detail-page .about-section {
    padding: 24px 0 36px;
  }
  body.t3-payment-detail-page .payment-registration .payment-chooser,
  body.t3-payment-detail-page .payment-registration .payment-card {
    padding: 22px 18px 26px !important;
  }
  body.t3-payment-detail-page .payment-registration .payment-chooser__list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ==========================================================================
   Template 3 Editorial Contact Page (.t3-contact-page-main)
   ========================================================================== */
.t3-contact-page-main .r-hero {
  padding: 26px 0 42px;
}
.t3-contact-page-main .r-crumb {
  margin-bottom: 22px;
}
.t3-contact-page-main .r-stats {
  margin-top: 26px;
  padding-top: 18px;
}
.t3-contact-page-main .r-section {
  padding: 46px 0;
}
.t3-contact-page-main .t3-contact-cta-section {
  padding-top: 34px;
}
.t3-contact-page-main .r-contact-hero-panel {
  border-radius: var(--r-radius);
  padding: 30px 32px;
}
.t3-contact-page-main .r-contact-hero-panel > .eyebrow {
  margin-bottom: 10px;
}
.t3-contact-page-main .r-contact-hero-panel > p:not(.eyebrow) {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 24px;
  color: var(--ink);
}
.t3-contact-page-main .r-contact-item h3 {
  color: var(--muted);
}
.t3-contact-page-main .r-contact-item a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none !important;
}
.t3-contact-page-main .r-contact-item a:hover {
  text-decoration: underline !important;
}
.t3-contact-page-main .r-contact-item p {
  color: var(--ink);
  font-size: 14px;
}
.t3-contact-page-main .r-contact-item p a {
  font-weight: 500;
}
.t3-contact-subnav .container {
  gap: 24px;
  scrollbar-width: none;
}
.t3-contact-subnav .container::-webkit-scrollbar {
  display: none;
}
.t3-contact-subnav a {
  padding: 16px 0;
  font-size: 13px;
  text-decoration: none !important;
}
.t3-contact-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: start;
}
.t3-contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-radius);
  padding: 36px 40px 38px;
}
.t3-contact-form-head {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.t3-contact-form-head h2 {
  font: 400 clamp(28px, 2.8vw, 38px)/1.18 var(--heading-font);
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}
.t3-contact-form-head p:last-child {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}
.t3-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.t3-contact-form-card .form-group {
  margin-bottom: 0;
}
.t3-contact-form-card .form-control {
  background-color: var(--page);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 46px;
  font-size: 14.5px;
}
.t3-contact-form-card textarea.form-control {
  min-height: 136px;
}
.t3-contact-form-card .t3-contact-recaptcha {
  margin: 22px 0 22px;
  overflow: visible;
}
.t3-contact-form-card .t3-contact-actions {
  padding: 20px 0 0;
}
.t3-contact-form-card .t3-contact-actions p a {
  color: var(--brand);
}
.t3-contact-form-card .from_result_contactus:not(:empty) {
  margin-top: 18px;
}
.t3-contact-form-card label.error {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #dc2626 !important;
}
[data-bs-theme="dark"] .t3-contact-form-card label.error {
  color: #f87171 !important;
}
.t3-office-card {
  border-radius: var(--r-radius);
  padding: 30px 30px 26px;
  margin-bottom: 24px;
}
.t3-office-card h2 {
  font-size: 28px;
  margin: 6px 0 22px;
}
.t3-office-card .r-office-rule {
  margin: 24px 0 0;
  padding-top: 18px;
}
.t3-contact-aside-links {
  border-radius: var(--r-radius);
  margin-bottom: 0;
}
.t3-contact-aside-links h3 {
  font-size: 24px;
  margin: 6px 0 10px;
}
.t3-contact-aside-links .r-aside-nav a {
  color: var(--ink);
  font-weight: 550;
  text-decoration: none !important;
}
.t3-contact-aside-links .r-aside-nav a:hover {
  color: var(--brand);
}
.t3-contact-aside-links .r-aside-nav .icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
  flex-shrink: 0;
}
.t3-contact-page-main .r-cta.dark .btn {
  text-decoration: none !important;
}

@media (max-width: 991.98px) {
  .t3-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .t3-contact-form-card {
    padding: 28px 26px 30px;
  }
}

@media (max-width: 767.98px) {
  .t3-contact-page-main .r-hero {
    padding: 20px 0 30px;
  }
  .t3-contact-page-main .r-section {
    padding: 32px 0;
  }
  .t3-contact-page-main .r-contact-hero-panel {
    padding: 24px 20px;
  }
  .t3-contact-page-main .r-contact-hero-panel > p:not(.eyebrow) {
    font-size: 21px;
  }
  .t3-contact-form-card,
  .t3-office-card {
    padding: 22px 18px 24px;
  }
}

/* Prominent executive brand lockup ([data-brand-home] + .brand-lockup) */
.site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image,
.cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image,
.site-footer [data-brand-home].brand.has-brand-image {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 4px 0;
}
.site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-image,
.cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-image {
  width: 58px;
  height: 58px;
  padding: 2px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  box-shadow: 0 2px 8px rgba(10, 20, 40, 0.08);
  transition: width .2s ease, height .2s ease;
}
.site-header.t3-nav-enhanced.is-scrolled [data-brand-home].brand.has-brand-image .brand-image,
.cf-header.t3-nav-enhanced.is-scrolled [data-brand-home].brand.has-brand-image .brand-image {
  width: 48px;
  height: 48px;
}
.site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-lockup,
.cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-lockup,
.site-footer [data-brand-home].brand.has-brand-image .brand-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 196px;
}
.cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-lockup {
  max-width: 240px;
}
.site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-full,
.cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-full {
  display: block !important;
  font-family: var(--heading-font);
  font-size: 14.5px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 196px;
}
.cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-full {
  font-size: 15.5px;
  max-width: 240px;
}
.site-header.t3-nav-enhanced.is-scrolled [data-brand-home].brand.has-brand-image .brand-full,
.cf-header.t3-nav-enhanced.is-scrolled [data-brand-home].brand.has-brand-image .brand-full {
  font-size: 13.5px;
}
.site-footer [data-brand-home].brand.has-brand-image {
  gap: 16px;
}
.site-footer [data-brand-home].brand.has-brand-image .brand-image {
  width: 68px;
  height: 68px;
  padding: 3px;
  border-radius: 6px;
}
.site-footer [data-brand-home].brand.has-brand-image .brand-lockup {
  max-width: 280px;
}
.site-footer [data-brand-home].brand.has-brand-image .brand-full {
  display: block !important;
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--panel-text);
  max-width: 280px;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image {
    gap: 10px;
  }
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-image {
    width: 50px;
    height: 50px;
  }
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-lockup,
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-full {
    display: block !important;
    max-width: 152px;
    font-size: 12px;
    line-height: 1.24;
  }
}

@media (max-width: 991.98px) {
  .cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-full {
    display: block !important;
    font-size: 13.5px;
    max-width: 185px;
  }
}

@media (max-width: 767.98px) {
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image,
  .cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-image,
  .cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-image {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-lockup,
  .site-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-full {
    display: block !important;
    max-width: 138px;
    font-size: 11.5px;
    line-height: 1.2;
  }
  .cf-header.t3-nav-enhanced [data-brand-home].brand.has-brand-image .brand-full {
    display: none !important;
  }
  .site-footer [data-brand-home].brand.has-brand-image .brand-image {
    width: 58px;
    height: 58px;
  }
  .site-footer [data-brand-home].brand.has-brand-image .brand-full {
    font-size: 16px;
  }
}

/* ==========================================================================
   Template 3 Editorial Leadership Directory & Profile (.t3-leadership-page)
   ========================================================================== */
.leadership-section-heading {
  border-bottom-color: var(--line) !important;
}
.leadership-section-heading h3 {
  color: var(--ink) !important;
}
.leadership-section-heading h3::before {
  background: var(--brand) !important;
}
.t3-leadership-main .r-hero {
  padding: 26px 0 42px;
}
.t3-leadership-main .r-crumb {
  margin-bottom: 22px;
}
.t3-leadership-main .r-stats {
  margin-top: 26px;
  padding-top: 18px;
}
.t3-leadership-main .r-art.t3-leadership-hero-art {
  min-height: 290px;
}
.t3-leadership-subnav .container {
  gap: 24px;
  scrollbar-width: none;
}
.t3-leadership-subnav .container::-webkit-scrollbar {
  display: none;
}
.t3-leadership-subnav a {
  padding: 16px 0;
  font-size: 13px;
  text-decoration: none !important;
}
.t3-leadership-filter-bar {
  padding-top: 24px;
}
.t3-leadership-filter-bar .r-controls {
  margin-bottom: 14px;
}
.t3-leadership-filter-bar .t3-leader-results {
  margin-bottom: 0;
}
.t3-leadership-main .t3-leader-section {
  padding: 40px 0 52px;
}
.t3-leadership-main .t3-leader-empty-wrap {
  padding: 36px 12px 12px;
}
.t3-leadership-main .t3-leadership-cta-section {
  padding: 20px 0 48px;
}
.t3-leader-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.t3-leader-card {
  height: 100%;
}
.t3-leader-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none !important;
}
.t3-leader-initials {
  font-family: var(--heading-font);
  font-size: 44px;
  color: var(--brand);
  opacity: 0.45;
  letter-spacing: -1px;
  user-select: none;
}
.t3-leader-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: none;
  transition: transform .32s ease;
}
.t3-leader-card:hover .t3-leader-photo {
  transform: scale(1.03);
}
.t3-leader-photo--framed {
  object-position: center 22%;
  /* Trim ~9.5% baked-in wooden/black picture frames from uploaded leadership portrait scans */
  transform: scale(1.22);
}
.t3-leader-card:hover .t3-leader-photo--framed {
  transform: scale(1.26);
}
.r-controls.t3-search-only {
  grid-template-columns: minmax(0, 1fr) auto;
}
.t3-people-notice-card {
  max-width: 680px;
  margin: 0 auto;
}
.t3-people-notice-card .eyebrow {
  margin-bottom: 10px;
}
.t3-people-ghost-btn {
  border-color: var(--line) !important;
  color: var(--ink) !important;
  background: var(--surface) !important;
  border-radius: 4px !important;
  padding: 10px 20px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.t3-people-ghost-btn:hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
  background: var(--soft) !important;
}
.t3-leader-body {
  padding: 20px 20px 20px !important;
}
.t3-leader-badge {
  color: var(--brand);
  font-size: 10.5px;
  padding: 4px 8px;
}
.t3-leader-card h3 {
  font-size: 19px;
  line-height: 1.32;
  margin: 12px 0 8px;
}
.t3-leader-card h3 a {
  color: var(--ink);
  text-decoration: none !important;
}
.t3-leader-card h3 a:hover {
  color: var(--brand);
}
.t3-leader-role {
  font-size: 13px !important;
  line-height: 1.62 !important;
  color: var(--muted) !important;
  margin: 0 0 18px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t3-leader-card .r-card-link {
  text-decoration: none !important;
  padding-top: 14px;
}
.t3-leader-card .r-card-link .icon {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}
.t3-leader-card:hover .r-card-link .icon {
  transform: translateX(3px);
}
.t3-leadership-main .r-cta.dark .btn {
  text-decoration: none !important;
}

/* Individual Leader Profile Page (.t3-leadership-profile-main) */
.t3-leader-profile-section {
  padding: 42px 0 56px;
}
.t3-leader-profile-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.t3-leader-profile-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 112px;
}
.t3-leader-portrait-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-radius);
  overflow: hidden;
}
.t3-leader-media--profile {
  aspect-ratio: 4 / 4.3;
}
.t3-leader-portrait-meta {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.t3-leader-portrait-meta h2 {
  font: 400 22px/1.3 var(--heading-font);
  margin: 0;
  color: var(--ink);
}
.t3-leader-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--brand);
  word-break: break-word;
  text-decoration: none !important;
}
.t3-leader-email-link:hover {
  text-decoration: underline !important;
}
.t3-leader-email-link .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.t3-leader-back-inline {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none !important;
}
.t3-leader-back-inline .icon {
  width: 14px;
  height: 14px;
}
.t3-leader-peers-box {
  margin-bottom: 0;
  border-radius: var(--r-radius);
}
.t3-leader-peers-box h3 {
  font-size: 22px;
  margin: 6px 0 12px;
}
.t3-leader-peers-box .r-aside-nav a {
  color: var(--ink);
  font-weight: 550;
  text-decoration: none !important;
}
.t3-leader-peers-box .r-aside-nav a:hover {
  color: var(--brand);
}
.t3-leader-peers-box .r-aside-nav .icon {
  width: 14px;
  height: 14px;
  color: var(--brand);
  flex-shrink: 0;
}
.t3-leader-bio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-radius);
  padding: 36px 40px 42px;
}
.t3-leader-bio-head {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.t3-leader-bio-head h2 {
  font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--heading-font);
  margin: 0 0 10px;
  color: var(--ink);
}
.t3-leader-bio-role {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.t3-leader-bio-prose {
  max-width: none;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
}
.t3-leader-bio-prose * {
  background-color: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
}
.t3-leader-bio-prose a {
  color: var(--brand) !important;
}
.t3-leader-bio-prose p {
  margin-bottom: 16px;
}

@media (max-width: 1199.98px) {
  .t3-leader-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 991.98px) {
  .t3-leader-profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .t3-leader-profile-aside {
    position: static;
  }
  .t3-leader-portrait-card {
    max-width: 360px;
  }
  .t3-leader-bio-card {
    padding: 28px 26px 32px;
  }
}

@media (max-width: 767.98px) {
  .t3-leadership-main .r-hero {
    padding: 20px 0 30px;
  }
  .t3-leadership-main .t3-leader-section {
    padding: 28px 0 36px;
  }
  .t3-leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .t3-leader-body {
    padding: 15px !important;
  }
  .t3-leader-card h3 {
    font-size: 16.5px;
  }
  .t3-leader-bio-card {
    padding: 22px 18px 26px;
  }
}

@media (max-width: 479.98px) {
  .t3-leader-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Global Template 3 Cross-Page Grid Spacing & Dark-Mode Parity Fixes
   ========================================================================== */

/* Legacy Bootstrap/Porto helper class hidden cleanly across all pages */
.display-hide {
  display: none !important;
}

/* Eliminate 0px vertical gaps on ALL legacy .row-sm & .leadership-grid grids */
.about-section .row.row-sm,
.partner-section .row.row-sm {
  --bs-gutter-y: 22px;
  row-gap: 22px;
}
.about-section .leadership-grid {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 24px;
  row-gap: 24px;
}
@media (min-width: 1200px) {
  .about-section .leadership-grid .leadership-grid__item,
  .about-section .col-xl-5col {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .about-section .leadership-grid .leadership-grid__item,
  .about-section .col-xl-5col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}
.about-section .product .product-image-container .product-image {
  display: block;
  width: 100%;
  height: 100%;
}

/* Switcher & Jump Navigation Bars (Editorial Board, Galleries, Membership, Proceedings) */
.editorial-jump-nav,
.membership-switcher {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: 12px 16px !important;
}
.editorial-jump-pill,
.membership-switcher__pill {
  background: var(--tint) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
}
.editorial-jump-pill:hover,
.membership-switcher__pill:hover,
.membership-switcher__pill.is-active,
.editorial-jump-pill.is-active {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}

/* Editorial Board, Reviewer Board, DataTables & Best Papers */
.editorial-journal-banner {
  background: transparent !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 0 0 14px !important;
}
.editorial-role-badge,
.editorial-member-count {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border: 1px solid var(--line) !important;
}
.editorial-desig-line {
  color: var(--ink) !important;
}
.editorial-univ-line {
  color: var(--muted) !important;
}
.editorial-email-line a {
  color: var(--brand) !important;
}
.editorial-eic-photo,
.editorial-avatar {
  background: var(--tint) !important;
  border-color: var(--line) !important;
}
.editorial-board-page .table,
.about-section .dataTables_wrapper .table {
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.editorial-board-page .table tbody tr td,
.about-section .dataTables_wrapper .table tbody tr td {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.editorial-board-page .table-striped tbody tr:nth-of-type(odd) td,
.about-section .dataTables_wrapper .table-striped tbody tr:nth-of-type(odd) td {
  background: var(--tint) !important;
}
.about-section .dataTables_wrapper .dataTables_filter input,
.about-section .dataTables_wrapper .dataTables_length select {
  background: var(--page) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  padding: 4px 10px !important;
}
.about-section .dataTables_wrapper .dataTables_info,
.about-section .dataTables_wrapper label {
  color: var(--muted) !important;
}
.about-section .dataTables_wrapper .page-link,
.editorial-board-page .page-link {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.about-section .dataTables_wrapper .page-item.active .page-link,
.editorial-board-page .page-item.active .page-link {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}
.about-section .dataTables_wrapper .page-item.disabled .page-link {
  background: var(--tint) !important;
  color: var(--muted) !important;
  opacity: 0.65;
}
body.t3-body .about-section .card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
body.t3-body .about-section .card > .card-header {
  background: var(--tint) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line) !important;
}
body.t3-body .about-section blockquote,
body.t3-body .about-section blockquote.default {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-left: 4px solid var(--brand) !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}
body.t3-body .about-section .blockquote-footer {
  color: var(--muted) !important;
}

/* Photo Gallery, Video Gallery & Media Coverage */
.gallery-toolbar {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}
.gallery-count-pill {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border: 1px solid var(--line) !important;
}
.gallery-count-pill i {
  color: var(--brand) !important;
}
.gallery-toolbar__search i {
  color: var(--muted) !important;
}
.gallery-search-input {
  background: var(--page) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}
.gallery-search-input::placeholder {
  color: var(--muted) !important;
}
.gallery-search-input:focus {
  background: var(--page) !important;
  border-color: var(--brand) !important;
}
.about-section .album-grid .album-card-t2 .product-image-container {
  background: var(--tint) !important;
  aspect-ratio: 4 / 3 !important;
}
.gallery-cross-link {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--brand) !important;
}
.gallery-cross-link:hover {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}
.gallery-detail-desc {
  background: var(--tint) !important;
  border-color: var(--line) !important;
  border-left: 3px solid var(--brand) !important;
}
.gallery-detail-desc p {
  color: var(--ink) !important;
}
.gallery-grid-t2 .gallery-item,
.video-grid-t2 .video-card-t2 {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}
.gallery-grid-t2 .gallery-thumb {
  background: var(--tint) !important;
}
.gallery-grid-t2 .gallery-caption,
.video-grid-t2 .video-info {
  background: var(--surface) !important;
  border-top-color: var(--line) !important;
}
.gallery-grid-t2 .gallery-caption p {
  color: var(--muted) !important;
}
.video-grid-t2 .video-info h3 {
  color: var(--ink) !important;
}
.video-grid-t2 .video-watch-label {
  color: var(--brand) !important;
}
.media-registration .media-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}
.media-registration .media-card::before {
  background: var(--brand) !important;
}
.media-registration .media-list-item {
  background: var(--tint) !important;
  border: 1px solid var(--line) !important;
}
.media-registration .media-list-item:hover {
  background: var(--surface) !important;
  border-color: var(--brand) !important;
  box-shadow: none !important;
}
.media-registration .media-list-item__title {
  color: var(--ink) !important;
}
.media-registration .media-list-item__title:hover {
  color: var(--brand) !important;
}
.media-registration .media-list-item__source {
  color: var(--muted) !important;
}
.media-registration .media-list-item__date {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border: 1px solid var(--line) !important;
}
.media-registration .media-list-item__image {
  background: var(--page) !important;
  border-color: var(--line) !important;
}
.media-registration .media-list-item__placeholder {
  background: var(--soft) !important;
  color: var(--brand) !important;
}
.media-registration .media-list-item__placeholder i {
  color: var(--brand) !important;
}
.media-registration .media-list-item__cta {
  background: var(--action) !important;
  color: var(--action-text) !important;
  border-radius: 4px !important;
}
.media-registration .media-list-item__cta:hover {
  background: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}

/* Publications, Books, Book Detail, Proposals & Indexing */
.publication-card .publication-year {
  color: var(--ink) !important;
  font-family: var(--heading-font);
  font-weight: 400 !important;
}
.publication-card .publication-thumb {
  background: var(--tint) !important;
}
.book-detail-cover,
.book-detail-specs,
.book-proposal-card__footer,
.book-proposal-card__media,
.publication-year-card__thumb {
  background: var(--tint) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.book-detail-specs * {
  color: inherit !important;
  background-color: transparent !important;
}
.book-detail-period,
.book-detail-tag,
.book-proposal-count,
.publication-year-card__count {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border: 1px solid var(--line) !important;
}
.book-detail-footer,
.book-proposal-topbar {
  border-color: var(--line) !important;
}
.book-archive-intro p,
.book-archive-card__body p,
.book-proposal-card__meta,
.indexing-partner-card__desc,
.pub-volume-date,
.newsletter-card__tag {
  color: var(--muted) !important;
}
.book-archive-card__body h3,
.book-proposal-card__title,
.book-proposal-card__title a {
  color: var(--ink) !important;
}
.book-archive-card__cta,
.indexing-partner-card__link,
.newsletter-card__cta {
  color: var(--brand) !important;
}
.indexing-partner-card__logo {
  background: #ffffff !important;
  border-bottom-color: var(--line) !important;
}

/* Memberships, Buttons & Action Pills */
.membership-tiers-header h3 {
  color: var(--ink) !important;
  font-family: var(--heading-font);
  font-weight: 400 !important;
}
.cber-benefit-list li,
.membership-summary-highlights li {
  color: var(--muted) !important;
}
.cber-benefit-list li::before {
  background: var(--soft) !important;
  color: var(--brand) !important;
}
.cber-numbered-list li {
  color: var(--ink) !important;
}
.membership-summary-highlights li i {
  color: var(--brand) !important;
}
.membership-summary-btn--primary,
.publication-year-card__btn,
.profile-back-btn,
.pdf-action-btn--primary,
.keo_course_bottom > a.pdf-action-btn--primary {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
  border-radius: 4px !important;
}
.membership-summary-btn--primary:hover,
.publication-year-card__btn:hover,
.profile-back-btn:hover,
.pdf-action-btn--primary:hover,
.keo_course_bottom > a.pdf-action-btn--primary:hover {
  background: var(--action-hover) !important;
  border-color: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}
.membership-summary-btn--outline,
.pdf-action-btn--outline,
.keo_course_bottom > a.pdf-action-btn--outline {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
}
.membership-summary-btn--outline:hover,
.pdf-action-btn--outline:hover,
.keo_course_bottom > a.pdf-action-btn--outline:hover {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}

/* FAQ Accordion (high specificity beats late-loaded assets/css/accordion.css) */
body.t3-body .cber-faq-accordion > h3 {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
body.t3-body .cber-faq-accordion > h3:hover {
  background: var(--tint) !important;
  border-color: var(--brand) !important;
  box-shadow: none !important;
}
body.t3-body .cber-faq-accordion > h3 .faq-num {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border-radius: 4px !important;
}
body.t3-body .cber-faq-accordion > h3 .faq-toggle-icon {
  background: var(--tint) !important;
  border-color: var(--line) !important;
}
body.t3-body .cber-faq-accordion > h3 .faq-toggle-icon::before,
body.t3-body .cber-faq-accordion > h3 .faq-toggle-icon::after {
  background: var(--ink) !important;
}
body.t3-body .cber-faq-accordion > h3.opened {
  background: var(--soft) !important;
  color: var(--brand) !important;
  border-color: var(--brand) !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  box-shadow: none !important;
}
body.t3-body .cber-faq-accordion > h3.opened .faq-num,
body.t3-body .cber-faq-accordion > h3.opened .faq-toggle-icon {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}
body.t3-body .cber-faq-accordion > h3.opened .faq-toggle-icon::before,
body.t3-body .cber-faq-accordion > h3.opened .faq-toggle-icon::after {
  background: var(--action-text) !important;
}
body.t3-body .cber-faq-accordion > .faq-answer-panel {
  background: var(--surface) !important;
  border-bottom-left-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}
body.t3-body .cber-faq-accordion > h3.opened + .faq-answer-panel {
  border-left-color: var(--brand) !important;
  border-right-color: var(--brand) !important;
  border-bottom-color: var(--brand) !important;
}
body.t3-body .cber-faq-accordion > .faq-answer-panel .faq-answer-inner,
body.t3-body .cber-faq-accordion > .faq-answer-panel .faq-answer-inner * {
  color: var(--muted) !important;
  background-color: transparent !important;
}
body.t3-body .cber-faq-accordion > .faq-answer-panel .faq-answer-inner strong,
body.t3-body .cber-faq-accordion > .faq-answer-panel .faq-answer-inner b {
  color: var(--ink) !important;
}
body.t3-body .cber-faq-accordion > .faq-answer-panel .faq-answer-inner a {
  color: var(--brand) !important;
}

/* Testimonials, Legacy Profile Cards (e.g. Book Detail), PDF Viewer & Blog Submit */
.testimonial-list-wrap {
  gap: 20px;
}
.testimonial-list-wrap .testimonial-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px 28px;
  margin-bottom: 0;
}
.testimonial-list-wrap .testimonial-card .history-image {
  margin: 0;
  width: 140px;
  aspect-ratio: 4 / 4.4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--tint);
}
.testimonial-list-wrap .testimonial-card .history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.testimonial-list-wrap .testimonial-card__header {
  border-bottom-color: var(--line) !important;
}
.testimonial-list-wrap .testimonial-card__meta {
  color: var(--brand) !important;
}
@media (max-width: 640px) {
  .testimonial-list-wrap .testimonial-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
    gap: 16px;
  }
  .testimonial-list-wrap .testimonial-card .history-image {
    width: 112px;
  }
}

.profile-sidebar-photo {
  background: var(--tint) !important;
  border-bottom-color: var(--line) !important;
}
.profile-sidebar-badge {
  background: var(--soft) !important;
  color: var(--brand) !important;
}
.profile-sidebar-email {
  background: var(--tint) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
.profile-back-link,
.profile-bio-designation {
  color: var(--brand) !important;
}
.profile-bio-header {
  border-bottom-color: var(--line) !important;
}
.profile-bio-header h3,
.profile-not-found-card h3 {
  color: var(--ink) !important;
  font-family: var(--heading-font);
  font-weight: 400 !important;
}
.profile-bio-body,
.profile-bio-body *,
.profile-not-found-card p {
  color: var(--muted) !important;
  background-color: transparent !important;
}
.profile-bio-body strong,
.profile-bio-body b,
.profile-bio-body h1,
.profile-bio-body h2,
.profile-bio-body h3,
.profile-bio-body h4 {
  color: var(--ink) !important;
}
.profile-bio-body a {
  color: var(--brand) !important;
}
.pdf-viewer-badge,
.blog-word-count,
.declaration-box__badge {
  background: var(--soft) !important;
  color: var(--brand) !important;
}
.pdf-viewer-meta h3 {
  color: var(--ink) !important;
}
.pdf-mobile-hint,
.pdf-viewer-frame-wrap {
  background: var(--tint) !important;
  border-color: var(--line) !important;
  color: var(--muted) !important;
}
.blog-submit-resources__docs .blog-resource-btn {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
  border-radius: 4px !important;
}
.blog-submit-resources__docs .blog-resource-btn:nth-child(even) {
  background: var(--soft) !important;
  border-color: var(--line) !important;
  color: var(--brand) !important;
}
.blog-submit-form .form-control,
.membership-form-card .form-control,
.membership-form-card .form-select {
  background: var(--page) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.declaration-check {
  background: var(--page) !important;
  border-color: var(--line) !important;
}
.declaration-box__header,
.blog-sidebar-card__head,
.latest-blog-item {
  border-bottom-color: var(--line) !important;
}
.declaration-box__header p,
.latest-blog-item__excerpt,
.blog-detail-meta {
  color: var(--muted) !important;
}
.latest-blog-item__thumb,
.blog-detail-hero-img {
  background: var(--tint) !important;
  border-color: var(--line) !important;
}

/* Global Contrast & Overlay Hardening (Cards, Hover States, Bootstrap Buttons in Light + Dark) */
.keo_courses_wrap figure {
  position: relative !important;
}
.keo_course_img_des {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.keo_course_des_holder {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px 9px;
  background: linear-gradient(180deg, rgba(10, 18, 36, 0) 0%, rgba(10, 18, 36, 0.82) 45%, rgba(10, 18, 36, 0.94) 100%) !important;
  pointer-events: auto;
}
.keo_course_author {
  position: relative;
  float: none;
}
.keo_course_author > a,
.keo_course_author > a:hover,
.keo_course_author > a > i {
  color: #ffffff !important;
  padding-left: 0 !important;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.keo_course_author > a:hover {
  text-decoration: underline;
}
.keo_course_cat {
  position: absolute;
  top: 10px;
  left: 0;
  padding: 5px 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 0 4px 4px 0;
  pointer-events: auto;
}
.profile-sidebar-email:hover {
  background: var(--soft) !important;
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}
.profile-back-link:hover,
.indexing-partner-card__link:hover,
.newsletter-card__cta:hover,
.book-archive-card__cta:hover {
  color: var(--brand-hover) !important;
}
.blog-submit-resources__docs .blog-resource-btn:hover {
  background: var(--action-hover) !important;
  border-color: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}
.blog-submit-resources__docs .blog-resource-btn:nth-child(even):hover {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}
.about-section .btn-xs {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 4px;
}
.keo_course_bottom > a.btn,
.about-section a.btn-danger,
.about-section a.btn-success,
.about-section a.btn-dark,
.about-section a.btn-secondary,
.about-section button.btn-danger,
.about-section button.btn-success,
.about-section button.btn-dark,
.about-section button.btn-secondary {
  color: #ffffff !important;
}
.about-section a.btn-primary,
.about-section button.btn-primary,
.keo_course_bottom > a.btn-primary {
  background: var(--action) !important;
  border-color: var(--action) !important;
  color: var(--action-text) !important;
}
.about-section a.btn-primary:hover,
.about-section button.btn-primary:hover,
.keo_course_bottom > a.btn-primary:hover {
  background: var(--action-hover) !important;
  border-color: var(--action-hover) !important;
  color: var(--action-hover-text) !important;
}
.about-section a.btn-warning,
.about-section button.btn-warning {
  color: #111827 !important;
}

/* Mobile viewport lock: prevent off-screen offcanvas drawer from widening mobile layout viewport */
html, body {
  overflow-x: clip;
}

/* ==========================================================================
   Template 3 Editorial Testimonials Page (testimonial_template_3.php)
   ========================================================================== */
.t3-testimonial-main .r-hero {
  padding: 26px 0 42px;
}
.t3-testimonial-main .r-crumb {
  margin-bottom: 22px;
}
.t3-testimonial-main .r-stats {
  margin-top: 26px;
  padding-top: 18px;
}
.t3-testimonial-main .r-art.t3-testimonial-hero-art {
  min-height: 290px;
}
.t3-testimonial-subnav .container {
  gap: 24px;
  scrollbar-width: none;
}
.t3-testimonial-subnav .container::-webkit-scrollbar {
  display: none;
}
.t3-testimonial-subnav a {
  padding: 16px 0;
  font-size: 13px;
  text-decoration: none !important;
}
.t3-testimonial-filter-bar {
  padding-top: 26px;
}
.t3-testimonial-filter-bar .r-controls {
  margin-bottom: 14px;
}
.t3-testimonial-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.t3-testimonial-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.25;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.t3-testimonial-chip span {
  font-size: 11px;
  opacity: 0.78;
  font-variant-numeric: tabular-nums;
}
.t3-testimonial-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--soft);
}
.t3-testimonial-chip.is-active,
.t3-testimonial-chip[aria-pressed="true"] {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-text);
}
.t3-testimonial-chip.is-active span,
.t3-testimonial-chip[aria-pressed="true"] span {
  opacity: 0.9;
}
.t3-testimonial-results {
  margin-bottom: 0;
}
.t3-testimonial-section {
  padding: 28px 0 48px;
}
.t3-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.t3-testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.t3-testimonial-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.t3-testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.t3-testimonial-quote-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  flex-shrink: 0;
}
.t3-testimonial-quote-mark .icon {
  width: 18px;
  height: 18px;
}
.t3-testimonial-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.t3-testimonial-country {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.t3-testimonial-num {
  font-family: var(--heading-font);
  font-size: 13px;
  color: var(--muted);
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}
.t3-testimonial-quote {
  margin: 0 0 24px;
  padding: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: -0.005em;
  flex: 1 1 auto;
}
.t3-testimonial-quote p {
  margin: 0 0 14px;
  color: var(--ink);
}
.t3-testimonial-quote p:last-child {
  margin-bottom: 0;
}
.t3-testimonial-more {
  margin-top: 10px;
}
.t3-testimonial-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
}
.t3-testimonial-more > summary::-webkit-details-marker {
  display: none;
}
.t3-testimonial-more > summary::after {
  content: '+';
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
}
.t3-testimonial-more[open] > summary::after {
  content: '−';
}
.t3-testimonial-more .t3-more-open {
  display: none;
}
.t3-testimonial-more[open] .t3-more-closed {
  display: none;
}
.t3-testimonial-more[open] .t3-more-open {
  display: inline;
}
.t3-testimonial-more-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.t3-testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.t3-testimonial-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.t3-testimonial-initials {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
}
.t3-testimonial-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.12);
  display: block;
}
.t3-testimonial-author-info {
  min-width: 0;
  flex: 1 1 auto;
}
.t3-testimonial-author-info h3 {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 4px;
}
.t3-testimonial-author-info p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.t3-testimonial-empty-wrap {
  padding: 20px 0 12px;
}
.t3-testimonial-cta-section {
  padding: 8px 0 52px;
}
.t3-testimonial-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 991.98px) {
  .t3-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 575.98px) {
  .t3-testimonial-card {
    padding: 22px 20px;
  }
  .t3-testimonial-quote {
    font-size: 15.5px;
    line-height: 1.7;
  }
  .t3-testimonial-avatar {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
  .t3-testimonial-author-info h3 {
    font-size: 14px;
  }
  .t3-testimonial-cta-actions {
    width: 100%;
  }
  .t3-testimonial-cta-actions .btn {
    flex: 1 1 auto;
  }
}
