body {
    overflow-x: hidden;
    padding-top: 0;
}
.content-header {
    width: 100%;
    max-width: 100%;
    transition: box-shadow 0.3s ease;
}
/* Logo */
.content-header .logo {
    height: auto;
}
@media (max-width: 767px) {
    .content-header .logo img {
        width: 50%;
    }
}
/* Hamburger button */
.content-header .menu-toggler {
    position: absolute;
    right: calc(15px + env(safe-area-inset-right));
    width: 44px;
    height: 44px;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1050;
    background: transparent;
    /* Start hidden on desktop */
    display: none;
}
.menu-toggler-line {
    width: 1.4rem;
    height: .23rem;
    background-color: #000;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.content-header .menu-toggler:focus {
    box-shadow: none;
}
/* Show on mobile only */
@media (max-width: 1099px) {
    /* Show hamburger on mobile */
    .content-header .menu-toggler {
        display: flex;
    }
    .content-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(34, 34, 34, 0.95);
        backdrop-filter: blur(5px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1040;
        overflow-y: auto;
        padding: 1rem 0;
    }
    .content-header nav ul {
        flex-direction: column;
        padding: 0 1rem;
    }
    .content-header nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .content-header nav ul li a {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
}
/* Hamburger → X animation when open */
.menu-toggler[aria-expanded="true"] .menu-toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
}
.menu-toggler[aria-expanded="true"] .menu-toggler-line:nth-child(2) {
    opacity: 0;
}
.menu-toggler[aria-expanded="true"] .menu-toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Social icons */
.content-header .social-icons {
    align-items: center;
    margin-right: 15px;
}
@media (max-width: 1099px) {
    .content-header {
        flex-direction: column;
        padding-bottom: 8px;
    }
    .content-header .social-icons {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        justify-content: center;
        margin: 12px 0 8px;
        padding: 12px 0 0;
        background: white;
        border-top: 1px solid #eee;
        order: 3;                     
    } 
    .content-header .social-button a {
        width: 48px;
         height: 48px;
        font-size: 0; 
    }  
     .content-header .social-icons {
            gap: 16px;
    }  
}
@media (min-width: 1100px) {
    .content-header nav {
        top: 100%;
        position: absolute;
        left: 0;
        right: 0;
        padding: 0 15px;
        display: block;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .content-header .social-icons { 
        position: static; 
        margin-left: auto; 
    }
}
.content-header .social-button a {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    font-size: 0;
    color: transparent;
}
.content-header .social-button a[href*="linkedin"]   { background:#0072b1; }
.content-header .social-button a[href*="x.com"]    { background:#101010; }
.content-header .social-button a[href*="facebook"]   { background:#3b5998; }
.content-header .social-button a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center -23px;
}
.content-header .social-button a[href*="linkedin"]::after {
    background-image: url('/wp-content/themes/cm-2024/assets/images/linkedin.png');
}
.content-header .social-button a[href*="x.com"]::after {
    background-image: url('/wp-content/themes/cm-2024/assets/images/x-twitter.png');
}
.content-header .social-button a[href*="facebook"]::after {
    background-image: url('/wp-content/themes/cm-2024/assets/images/facebook.png');
    height: 75%;
    width: 25%;
}
@media (min-width: 900px) {
    .content-header nav {
        flex-grow: 1;
    }
}
.content-header nav {
    background-color: rgba(34, 34, 34, .9);
    color: rgba(255, 255, 255, .6);
    width: 100%;
    max-width: none;
    overflow-y: auto;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    text-align: center;
}
.content-header nav ul {
    margin-bottom: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.content-header nav ul li  {
    padding: 0;
    text-decoration: none;
    border-bottom: none;
    border-top: 0 solid rgba(180, 180, 180, .4);
    color: inherit;
}
.content-header nav ul li a {
    font-family: "Lato",sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: inherit;
    line-height: 1;
    text-decoration: none;
    display: block;
    padding: 15px;
    letter-spacing: .025rem;
    border: none;
}
.content-header .navigation a:hover,
.content-header .navigation a:focus,
.content-header .navigation a.active {
    color: #fff;
}
@media (min-width: 1100px) {
    .content-header nav ul {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    .content-header nav ul li { 
        border: none;
     }
    .content-header nav ul li  {
        margin: 0 .5rem;
        display: inline-block;
        border-top: none;
        margin: 0;
    }
    .content-header nav ul li a {
        font-size: 16px;
        padding: 8px 10px;
        margin: 0;
    }
}
#primary.content-area {
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizelegibility;
    -moz-osx-font-smoothing: grayscale;
}
#primary.content-area p { 
    font-family: "PT Serif", serif;
}
#primary.content-area article.category-interactive video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}
#primary.content-area article.category-interactive header { 
    width: 100%; 
    max-width: 100% !important; 
}
#primary.content-area article.category-interactive header.entry-header {
    width: 100%;
    max-width: 100% !important;
    min-height: auto; 
    background-size: cover;
    background-position: 50% 40%; 
    background-repeat: no-repeat;
    position: relative;
}
#primary.content-area article.category-interactive .entry-header:not(:has(video)) {
    min-height: 100vh;
}
@media (max-width: 767px) {
    #primary.content-area article.category-interactive .entry-header:not(:has(video)) {
        min-height: 40vh;
        background-size: cover;
        background-position: center center;
    }
}
#primary.content-area article.category-interactive h2 { 
    font-family: "Lato",sans-serif; 
}
#primary.content-area .dropcap-wrapper p:first-of-type::first-letter {
    display: block;
    float: left;
    max-width: 100%;
    color: inherit;
    font-family: inherit;
    font-size: 5.7em;
    font-style: inherit;
    font-weight: inherit;
    line-height: .85;
    margin-right: .05em;
    margin-top: 0;
    margin-bottom: 0
}
@media (min-width: 620px) {
    #primary.content-area .dropcap-wrapper p:first-of-type::first-letter {
        font-size:5.7em
    }
}
#primary.content-area .dropcap-wrapper:after {
    content: "";
    clear: both;
    display: table
}
.custom .inner,
.intro .inner {
    word-wrap: break-word;
    pointer-events: all;
}
.custom .inner-text,
.intro .inner-text {
    max-width: 1560px;
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
}
.spotlight-content hr,
.intro-content hr,
.qa-profile-content hr,
.roundtable-content hr {
    display: block;
    border: none;
    background-color: rgba(204, 204, 204, .75);
    font-family: "PT Serif", serif;
    height: 2px;
    margin: 2.1rem auto;
}
.spotlights .inner-text .spotlight-content,
.intro .inner-text .intro-content {
    margin: 0 auto;
    max-width: 780px;
    padding: 2rem 1.5rem;
    background-color: rgba(0,0,0,0.75);
}
.spotlights .inner-text .spotlight-content > *,
.intro .inner-text .intro-content > * {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 100%;
}
.spotlights .inner-text .spotlight-content > hr.m-auto,
.intro .inner-text .intro-content > hr.m-auto {
    width: 50%;
    margin: 2.1rem auto;
}
.intro .inner-text .intro-content .heading-title h1 {
    font-weight: 600;
    font-size: calc(160% * 1.5);
    line-height: 1.1;
}
.intro .inner-text .intro-content .heading-title h1.heading-subtitle
{
    font-family: "Lato", sans-serif;
    color: #fff;
    font-size: 130%;
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.spotlights .inner-text .spotlight-content img,
.intro .inner-text .intro-content .heading-title img {
    width: 70% !important;
    max-width: 70% !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.spotlights .inner-text .spotlight-content .heading-title p {
    color: white;
    margin: 0;
}
.spotlights .inner-text .spotlight-content .heading-title p strong {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.065rem;
}
.spotlights .inner-text .spotlight-content a,
.intro .inner-text .intro-content a {
    color: #00a7cf;
}
.spotlights .inner-text .spotlight-content h2,
.intro .inner-text .intro-content h2 {
    color: #fff;
    font-size: 130%;
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.spotlights .inner-text .spotlight-content h2 span,
.intro .inner-text .intro-content h2 span {
    font-size: calc(120% * 1.5);
    line-height: 1.15;
    font-weight: 700;
}
.spotlights .inner-text .spotlight-content sub,
.intro .inner-text .intro-content sub {
    position: relative;
    top: 1rem;
}
.spotlights .inner-text .spotlight-content p,
.intro .inner-text .intro-content p {
    font-size: 1em;
    line-height: 1.7;
    margin: 1rem 0;
    direction: ltr;
}
.spotlights .inner-text,
.intro .inner {
    background-color: transparent !important;
}
.spotlights .inner-text .spotlight-content h3,
.spotlights-section .hero-content h2 {
    font-family: "PT Serif", serif !important;
    font-weight: 400;
}
.spotlights .inner-text .spotlight-content h3 {
    font-size: calc(160% * 1.5);
    letter-spacing: .1rem;
    line-height: 1.15;
    margin: 0 auto 1rem auto;
    width: 100%;
}
.spotlights-section .hero-content h2 strong {
    font-size: calc(.9em + 2vmin);
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
}
.spotlights-section .hero-content h2 em {
    font-size: calc(.32em + 1vmin);
    line-height: 1.2;
    padding-right: .8rem;
    display: block;
    margin-top: 0.25rem;
}
@media (min-width: 1100px) {
    .spotlights .inner-text .spotlight-content,
    .intro .inner-text .intro-content {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (min-width: 900px) {
    .spotlights .inner-text .spotlight-content,
    .intro .inner-text .intro-content {
        padding-top: calc(72px - 1.5rem);
    }
}
@media (min-width: 620px) {
    .spotlights .inner-text .spotlight-content,
    .intro .inner-text .intro-content {
        padding-top: calc(60px - 1.5rem);
        padding-bottom: 60px;
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (max-width: 520px) {
    .spotlights .inner-text .spotlight-content h3,
    .intro .inner-text .intro-content .heading-title h1 {
        font-size: calc(100% * 1.5);
    }
}

/* PARALLAX BACKGROUND */
.parallax-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed;
    z-index: 1;
}
.parallax-bg.loaded {
    opacity: 1;
}
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}
.content-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.hero-content,
.reports-container {
  position: relative;
  z-index: 3;
  color: #fff; /* ensure readable text */
}
.heading-hero {
    position: relative;
    min-height: 100vh !important;
    background-color: #222;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2rem 0;
    margin-bottom: 0;
    overflow: hidden;
    flex-direction: column;
    height: auto;
    box-sizing: border-box;
}
.heading-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.heading-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    width: 100%;
}
.heading-hero h2 {
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: calc(1em + 12vmin);
    line-height: 1;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.heading-hero .parallax-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}
.reports-section .heading-hero h2 {
    font-size: calc(1.75em + 6.5vmin);
}
@media (max-width: 768px) {
    .heading-hero {
        min-height: 50vh;
    }
    .heading-title h1 { font-size: calc(150%*1.25); }
    .heading-hero h2 { 
        font-size: calc(100% + 6.5vmin); 
    }
    .reports-section .heading-hero h2 {
        font-size: calc(1em + 6.5vmin);
    }
}

.qa-profile {
    break-inside: avoid;
    page-break-inside: avoid;
}
.qa-image-sticky { 
    height: fit-content; 
}
.qa-image-canvas {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}
.image-stack {
    width: 100%;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    background: transparent;
    margin: 1.5rem 0;
}
.canvas-image {
    position: absolute;
    top: 0; 
    left: 0; 
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity .25s ease-in-out;
    inset: 0;
    max-height: 75vh;
}
.canvas-image { opacity: 0; transition: opacity 0.6s ease; }
.canvas-image.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}
@media (max-width: 900px) {
    .qa-profile {
        grid-template-columns: 1fr;
    }
    .qa-image-canvas {
        position: relative !important;
        top: auto !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    .canvas-image {
        position: relative;
        opacity: 1;
    }
    .image-stack {
        max-height: 100%;
    }
    .image-stack img:first-child {
        margin-bottom: 1rem;
    }
}

.qa-profiles-section h2,
.qa-profiles-section h3,
.qa-profiles-section h4 {
    font-family: "Lato",sans-serif;
}
.qa-profiles-section .qa-profile-content h3 {
    font-weight: 700;
    font-size: calc(160% * 2);
    line-height: 1.1;
}
.qa-profiles-section .qa-profile-content h4 {
    font-weight: 600;
    font-family: "Lato",sans-serif;
    font-size: 140%;
    line-height: 1.2;
}
.qa-profiles-section .qa-profile-content p {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.7;
}
.qa-section {
      padding-left: 30px;
      padding-right: 30px; 
}
.qa-profiles-container .heading-hero .hero-content h3 {
    text-align: center;
    line-height: 1;
    max-width: 57.3%;
    font-size: calc(1.35em + 3.5vmin);
    margin: 0 auto;
}
.qa-profiles-container .heading-hero .hero-content h3 span {
    line-height: 1;
    font-size: calc(.35em + 2.5vmin);
    font-weight: 400;
    font-style: italic;
}
@media (min-width: 1100px) {
    .qa-section {
        margin-left: 0;
        padding-left: 0;
        padding-right: 0; 
    }
}
@media (min-width: 1100px) {
    .qa-section {
        flex: 0 0 65%;
        max-width: 65%;
        margin:0 auto;
    }
}
.reports-container {
    max-width: 1560px;
    margin: 0 auto;
}
.reports-container .report-item {
        max-width: 66.6%;
        margin: 0 auto;
        padding-left: 40px;
        padding-right: 40px;
        padding-top: calc(72px - 0.5rem);
        padding-bottom: 60px;
}
.reports-container .report-item h3 {
    font-size: 160%;
    margin-bottom: 1.5rem;
}
.reports-container .report-image {
    text-align: center
}
.reports-container .report-image img {
    width: 70%;
    max-width: 950px;
    margin: 0 auto;
}
@media (max-width: 767px){
    .reports-container .report-item {    
        max-width: 100%;
    }
    .reports-container.px-2 {
        padding: 0 !important;
    }
}

/* ---------- ROUNDTABLE ---------- */
.roundtable-content.parallax-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh; 
}

.roundtable-content .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.roundtable-content .position-fixed[inset="0"] {
    background: rgba(0,0,0,0.5);
    z-index: 1;
    pointer-events: none;
}
.roundtable-content > .position-relative.container-fluid {
    z-index: 2;
    width: 94.5% !important;
    margin: 0 auto;
    padding: 3rem 0;
    width:94.5%;
}
.roundtable-content .container-fluid.bg-black.bg-opacity-10 {
    position: relative;
    background:
        linear-gradient(
            to right,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,1) 40%,
            rgba(0,0,0,0) 100%
        ),
        rgba(0,0,0,0.5);
}
.roundtable-content .content-inner {
    width: 50%;
    padding: 2rem 1.5rem;
    color: white;
    text-align: left;
}

/* Mobile */
@media (max-width: 768px) {
    .roundtable-content .container-fluid.bg-black.bg-opacity-10 {
        background: rgba(0, 0, 0, 0.9) !important;
    }
    .roundtable-content > .position-relative.container-fluid {
        width: 100% !important;
    }
    .roundtable-content { 
        min-height: 60vh; 
    }
    .roundtable-content .content-inner {
        width: 100%;
        padding: 0 !important;
    }

}
.btn-custom.btn-primary {
    border: none;
    color: #fff;
    font-family: "Lato",sans-serif;
    font-weight: 600;
    line-height: 1.1;
    font-size: 90%;
    text-transform: none;
    padding: 0.7em 1.4em;
    border-radius: 0.35em;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    border-radius: 10px;
}
.btn-custom.btn-primary:hover {
    background-color: #0b5ed7;
    color: #fff;
}

.custom .inner-text {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.inner-text .custom-content {
    margin-top: auto;
}
.inner-text .custom-content p {
    line-height: 1;
    font-size: 22px;
}
.inner-text .custom-content a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted;
}
footer.footer {
    font-family: "Lato",sans-serif;
    font-size: 0.9rem;
    color: #555;
    z-index: 100;
    height: auto;
    background: #fff;
    direction: ltr;
}
footer.footer .container a.btn-link:before {
    border-style: solid;
    border-width: 1px 1px 0 0;
    content: "";
    display: block;
    height: 16px;
    left: 50%;
    position: relative;
    top: 8px;
    margin-bottom: 4px;
    transform: rotate(-45deg);
    width: 16px;
    margin-left: -8px;
}
footer.footer .btn-link {
    color: #333;
    width: 60px;
    height: 40px;
    font-size: 11px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    transition: color 0.3s ease;
}
footer.footer .btn-link:hover {
  color: #d61f26;
  border-color: #d61f26;
}
footer.footer a:hover {
    color: #d61f26;
}
footer.site-footer {
    margin-top: 0 !important;
}