/*
==========================================
OUTVOX WEBSITE STYLES
==========================================
Main stylesheet for OutVox corporate website
Organized by component sections for easy maintenance
==========================================
*/

/* ========================================
   GLOBAL RESET & BASE STYLES
   ======================================== */

:root {
    --logo-reserved-space: 170px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
}
h2{
    color: #1a1a1a;
    text-align: center;
    font-family: Lato;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    margin-bottom: 4.38rem;
}
h2.light{
    color: #fff;
}
.client-wins h2{
    margin-bottom: 6.8rem;
}
/* Style for Material Icons */

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    background: #0046B2;
    color: white;
    padding: 3.125rem 1.2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}
/*Header when scrollled*/
header.scrolled {
    padding: 0.75rem 0; /* Reduced from 1rem to 0.5rem */
    transition: padding 0.3s ease;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

header.scrolled .nav-links a {
    padding: .75rem 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Company logo styling */
.logo {
    font-family: 'Kanit', sans-serif;
    font-size: 1.8rem;
    font-weight: 200;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    width: 215px;
    height: 35px;
    background-image: url(../images/logos/OutvoxLogo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* Company logo in sticky header when scrolling */
header.scrolled .logo{
    width: 150px;
    height: 25px;
}
.logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Main navigation links */
.nav-links {
    display: flex;
    list-style: none;
    gap: .5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 2rem 1.5rem;
    border-radius: none;
}

.nav-links a:hover {
    border-bottom:2px solid #fff;
    /*transform: translateY(-2px);*/
}

.nav-links a:active {
    transform: translateY(0);
    background:none;
}

.nav-links a:focus {
    border-bottom: 3px solid #4D7EC9;
    outline-offset: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: #0046B2;
    color: white;
    padding: 5.5rem 0 0 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Kanit', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
}
.hero h1 span{
    font-family: 'Kanit', sans-serif;
    font-size: 3.5rem;
    font-weight: 200;
    margin-bottom: 1rem;
    line-height: 1.2;
}
hr.hero-divider{
    border: 1px solid #4D7EC9;
    width: 50%;
    margin: 2rem auto;
}
/* Main call-to-action button */
.cta-button {
    display: inline-block;
    background: white;
    color: #1a1a1a;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 20px 20px 0 0;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
    margin-top: 5.5rem;
    margin-bottom: -3px;
    text-transform: uppercase;
}
.cta-button span{
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(../images/icons/arrow_down.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px auto 0 auto;
    color: #1e3a8a ;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:focus {
    outline: 3px solid #60a5fa;
    outline-offset: 3px;
}

/* ========================================
   STRATEGIC MEDIA SECTION
   Interactive grid showcasing media placements
   ======================================== */

.strategic-media {
    padding: 7.5rem 0 4.375rem 0;
    background: #fff;
}

/* Main grid container for media items */
.media-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

/* Each row is an independent flexbox container */
.media-row {
    display: flex;
    gap: 0.5rem;
    height: 21.25rem; /* Fixed height for consistent layout */
    transition: all 0.3s ease;
    position: relative;
}

/* Individual media placement items */
.media-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}
.media-item .content-type em{
    color: #666666;
}
.media-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
    background: #1a1a1a !important;
}

.media-item:active {
    transform: scale(0.98);
}

.media-item:focus {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

/* Expanded media view */
.media-row.is-expanded {
    display: block;
    height: auto;
    min-height: 21.25rem;
    padding: 0;
}

.media-row.is-expanded .media-item,
.media-row.is-expanded .media-column {
    display: none;
}

.media-row .media-expand-panel {
    display: none;
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.92);
    border-radius: 18px;
    padding: 1.75rem 1.25rem 1.25rem 1.25rem;
    color: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.media-row.is-expanded .media-expand-panel {
    display: block;
    min-height: 21.25rem;
}

.media-expand-content {
    margin-top: 1.5rem;
}

.media-expand-panel .media-expand-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.media-expand-panel .media-expand-close:hover,
.media-expand-panel .media-expand-close:focus {
    opacity: 0.7;
}

.media-expand-inner {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
}

.media-expand-visual {
    flex: 0 0 45%;
    max-width: 480px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-expand-visual img,
.media-expand-visual iframe,
.media-expand-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.media-expand-body {
    flex: 1;
    background: #fff;
    color: #111827;
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

@media (min-width: 769px) {
    .media-expand-inner {
        overflow: hidden;
    }

    .media-expand-inner .media-expand-visual,
    .media-expand-inner .media-expand-body {
        opacity: 0;
        transform-origin: center;
        animation-fill-mode: both;
    }

    .media-expand-inner .media-expand-visual {
        transform: translateX(48px);
        animation: media-expand-visual-in 520ms cubic-bezier(0.33, 1, 0.68, 1) forwards;
    }

    .media-expand-inner .media-expand-body {
        transform: translateX(-48px);
        animation: media-expand-body-in 520ms cubic-bezier(0.33, 1, 0.68, 1) forwards;
        animation-delay: 60ms;
    }
}

@keyframes media-expand-visual-in {
    0% {
        opacity: 0;
        transform: translateX(48px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes media-expand-body-in {
    0% {
        opacity: 0;
        transform: translateX(-48px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.media-expand-body .media-expand-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-right: var(--logo-reserved-space);
}
.media-expand-body .media-expand-kicker em{
    color: #666666;
}

.media-expand-body h3 {
    font-size: 1.75rem;
    margin: 0;
    font-family: 'Kanit', sans-serif;
    color: #111827;
}

.media-expand-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4rem;
    color: #374151;
    text-align: left;
}

.media-expand-body .media-expand-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.media-expand-body .media-expand-link {
    color: #E30F00;
    font-weight: 400;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.media-expand-body .media-expand-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.media-expand-body .media-expand-link:hover,
.media-expand-body .media-expand-link:focus {
    color: #dc2626;
    transform: translateX(5px);
}

.media-expand-body .media-expand-link:hover::after,
.media-expand-body .media-expand-link:focus::after {
    transform: translateX(3px);
}

.media-expand-logo {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    max-height: 45px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}

/* Sub-column containers for stacked media items */
.media-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    position: relative;
}

.media-column .media-item {
    flex: 1; /* Equal space distribution by default */
    min-height: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Make Today and Fortt Knox use absolute positioning from the start - DESKTOP ONLY */
@media (min-width: 769px) {
    .media-column .media-item.today,
    .media-column .media-item.fortt-knox {
        position: absolute;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Position them in their "small" state with gap */
    .media-column.has-today-knox .media-item.today {
        top: 0;
        left: 0;
        width: 100%;
        height: calc(50% - 0.25rem);
    }

    .media-column.has-today-knox .media-item.fortt-knox {
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(50% - 0.25rem);
    }
}

/*ORIGINAL FLEX BASIS CODE*/
/* Flex basis classes - control default widths*
/* items*/
/* .media-item.flex-50 { flex: 0 0 50%; }
.media-item.flex-25 { flex: 0 0 25%; } */
/* columns*/
/* .media-column.flex-25 { flex: 0 0 25%; } */

/* Hover expansion effects - items grow when hovered */
/* .media-item.flex-50:hover { flex: 0 0 65%; }
.media-item.flex-25:hover { flex: 0 0 35%; } */

/* Compression effects - other items shrink when one is hovered */
/* .media-row:has(.media-item:hover) .media-item.flex-50:not(:hover) { flex: 0 0 35%; }
.media-row:has(.media-item:hover) .media-item.flex-25:not(:hover) { flex: 0 0 17.5%; }
.media-row:has(.media-item:hover) .media-column.flex-25:not(:hover) { flex: 0 0 17.5%; }

/* Vertical expansion within columns */
/* .media-column .media-item:hover {
    flex: 2; /* Expand vertically within column */
/*}*/

/*.media-column:hover .media-item:not(:hover) {
    flex: 0.5; /* Compress other items in same column */
   /* filter: brightness(0.8);
/*}*/
/*END ORIGINAL FLEX BASIS CODE*/

/*NEW FLEX BASIS CODE*/
/* ========================================
   MEDIA ITEM SPECIFIC FLEX BASIS CONTROLS
   Individual sizing for each media outlet
   ======================================== */

/* Row 1: Fast Company + Bloomberg Column + GMA */
.media-item.fast-company { flex: 0 0 50%; }
.media-column .media-item.bloomberg-tech { flex: 1; }
.media-column.has-bloomberg { flex: 0 0 24.75%; }
.media-item.gma { flex: 0 0 24.75%; }

/* Row 2: Forbes + WSJ */
.media-item.forbes { flex: 0 0 50%; }
.media-item.wsj { flex: 0 0 50%; }

/* Row 3: Today/Fort Knox Column + TechCrunch + CNBC */
.media-column .media-item.today { flex: 1; }
.media-column .media-item.fortt-knox { flex: 1; }
.media-column.has-today-knox { flex: 0 0 24.75%; }
.media-item.techcrunch { flex: 0 0 50%; }
.media-item.cnbc { flex: 0 0 24.75%; }

/* Row 4: Squawk + Fortune */
.media-item.squawk { flex: 0 0 50%; }
.media-item.fortune { flex: 0 0 50%; }

/* Row 5: CNN + VSCO + INC */
.media-item.cnn { flex: 0 0 24.75%; }
.media-item.vsco { flex: 0 0 50%; }
.media-item.inc { flex: 0 0 24.75%; }

/* ========================================
   HOVER EXPANSION EFFECTS
   Individual hover behaviors per outlet
   ======================================== */

/* Large items expand from 50% to 60% */
.media-item.fast-company:hover { flex: 0 0 60%; }
.media-item.techcrunch:hover { flex: 0 0 60%; }
.media-item.forbes:hover { flex: 0 0 60%; }
.media-item.squawk:hover { flex: 0 0 60%; }
.media-item.wsj:hover { flex: 0 0 60%; }
.media-item.fortune:hover { flex: 0 0 60%; }
.media-item.vsco:hover { flex: 0 0 60%; }


/* Small items expand from 25% to 30% */
.media-item.gma:hover { flex: 0 0 29.75%; }
.media-item.cnbc:hover { flex: 0 0 30%; }
.media-item.cnn:hover { flex: 0 0 29.75%; }
.media-item.inc:hover { flex: 0 0 29.75%; }
.media-row:has(.media-item:hover) .media-column.has-bloomberg:hover { flex: 0 0 29.75%; }
.media-row:has(.media-item:hover) .media-column.has-today-knox:hover {flex: 0 0 29.75%; }


/* ========================================
   COMPRESSION EFFECTS WHEN OTHERS HOVER
   Items shrink when siblings are hovered
   ======================================== */

/* Row 1 compression effects */
.media-row:has(.media-item:hover) .media-item.fast-company:not(:hover) { flex: 0 0 50%; }
.media-row:has(.media-item:hover) .media-item.gma:not(:hover) { flex: 0 0 19.75%; }
.media-row:has(.media-item:hover) .media-column.has-bloomberg:not(:hover) { flex: 0 0 19.75%; }

/* Row 2 compression effects */
.media-row:has(.media-item:hover) .media-item.forbes:not(:hover) { flex: 0 0 40%; }
.media-row:has(.media-item:hover) .media-item.wsj:not(:hover) { flex: 0 0 40%; }

/* Row 3 compression effects */
.media-row:has(.media-item:hover) .media-item.techcrunch:not(:hover) { flex: 0 0 50%; }
.media-row:has(.media-item:hover) .media-item.cnbc:not(:hover) { flex: 0 0 19.85%; }
.media-row:has(.media-item:hover) .media-column.has-today-knox:not(:hover) {flex: 0 0 19.85%; }

/* Row 4 compression effects */
.media-row:has(.media-item:hover) .media-item.squawk:not(:hover) { flex: 0 0 40%; }
.media-row:has(.media-item:hover) .media-item.fortune:not(:hover) { flex: 0 0 40%; }

/* Row 5 compression effects */
.media-row:has(.media-item:hover) .media-item.cnn:not(:hover) { flex: 0 0 19.75%; }
.media-row:has(.media-item:hover) .media-item.vsco:not(:hover) { flex: 0 0 50%; }
.media-row:has(.media-item:hover) .media-item.inc:not(:hover) { flex: 0 0 19.75%; }

/* ========================================
   VERTICAL EXPANSION WITHIN COLUMNS
   Stacked items grow/shrink vertically
   ======================================== */

/* Bloomberg column */
.media-column .media-item.bloomberg-tech:hover { flex: 2; }
.media-column.has-bloomberg:hover .media-item.bloomberg-tech:not(:hover) { flex: 1; filter: brightness(0.8); }

/* Today/Fort Knox column */
.media-column .media-item.today:hover { flex: 2; }
.media-column .media-item.fortt-knox:hover { flex: 2; }
.media-column.has-today-knox:hover .media-item.today:not(:hover) { flex: 1; filter: brightness(0.8); }
.media-column.has-today-knox:hover .media-item.fortt-knox:not(:hover) { flex: 1; filter: brightness(0.8); }

/* Make Today/Fortt Knox expand to full row height when expanded - DESKTOP ONLY */
@media (min-width: 769px) {
    .media-column.has-today-knox .media-item.today.is-hover-expanded,
    .media-column.has-today-knox .media-item.fortt-knox.is-hover-expanded {
        position: fixed !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        flex: none !important;
        z-index: 100 !important;
    }

    /* Alternative: Use the row's position as reference */
    .media-row:has(.media-column.has-today-knox .media-item.is-hover-expanded) .media-column.has-today-knox .media-item.is-hover-expanded {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
}

/* Small items expand from 25% to 30% */
.media-item.gma:hover { flex: 0 0 29.75%; }
.media-item.cnbc:hover { flex: 0 0 30%; }
.media-item.cnn:hover { flex: 0 0 29.75%; }
.media-item.inc:hover { flex: 0 0 29.75%; }
.media-row:has(.media-item:hover) .media-column.has-bloomberg:hover { flex: 0 0 29.75%; }
.media-row:has(.media-item:hover) .media-column.has-today-knox:hover {flex: 0 0 29.75%; }

/* ========================================
   BACKGROUND IMAGES
   ======================================== */
.media-item .hover-content{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.media-item .hover-content::before{
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: inherit;
    background-position: inherit;
    background-repeat: inherit;
    transform: scale(1);
    transition: transform 1.7s ease;
    z-index: 0;
}

.media-item .hover-content > *{
    position: relative;
    z-index: 1;
}

.media-item:hover .hover-content::before{
    transform: scale(1.1);
}

.media-item.bloomberg-tech .hover-content{
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/bloomberg_tech_bg.png);   
}
.media-item.fast-company .hover-content{
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/fastcompany_bg.png);
}
.media-item.gma .hover-content{
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/gma_bg.png);
}
.media-item.forbes .hover-content {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/forbes_bg_finch25.jpg);
}
.media-item.wsj .hover-content {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/wsj_bg.png);
}
.media-column .media-item.today .hover-content{
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/today_bg.png)
}
.media-column .media-item.fortt-knox .hover-content{ 
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/forttknox_bg.png)
}
.media-item.techcrunch .hover-content{
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/techcrunch_bg.png);
}
.media-item.cnbc .hover-content{
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/cnbc_bg.png);
}
.media-item.squawk .hover-content {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/squawk_bg.png);
}
.media-item.fortune .hover-content {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/fortune_bg.png);
}
.media-item.cnn .hover-content {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/cnn_bg.png);
}
.media-item.vsco .hover-content {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/vsco_bg.png);
}
.media-item.inc .hover-content {
    background-image:linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../images/background_images/inc_bg.png);
}


/* Media item text and image styling */
.media-item span {
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 1.5vw, 1.4rem);
    line-height: 1.2;
    font-weight: bold;
}

.media-item img {
    max-width: 50%;
    max-height: 60%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.media-item > :not(.hover-content):not(template) {
    transition: opacity 0.3s ease;
}

/* Hover content overlay - appears on media item hover */
.media-item .hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(0, 0, 0, 0.95);*/
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.media-item:hover .hover-content {
    opacity: 1;
    visibility: visible;
}

.media-item:hover span {
    opacity: 0;
}


.media-item.is-hover-locked .hover-content,
.media-row.is-hover-locked .media-item.is-hover-locked .hover-content {
    opacity: 1;
    visibility: visible;
}

.media-item.is-hover-locked > :not(.hover-content) {
    opacity: 0;
}

.media-row.is-hover-locked .media-item:not(.is-hover-locked) .hover-content {
    opacity: 0;
    visibility: hidden;
}

.media-row.is-hover-locked .media-item:not(.is-hover-locked) > :not(.hover-content) {
    opacity: 1;
}

.hover-content .hover-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    display: none;
    transition: all 0.2s ease;
    z-index: 1000;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.media-item.is-hover-locked .hover-close {
    display: flex;
}

.media-item.is-hover-locked .hover-close:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: scale(1.1);
}

.hover-content .hover-lock-shield {
    position: absolute;
    inset: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: block;
    padding: 0;
    margin: 0;
    z-index: 5;
    color: transparent;
}

.hover-content .hover-lock-shield:focus {
    outline: none;
}

.media-item.is-hover-locked .hover-lock-shield {
    display: none;
}

.hover-link-area{
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    min-width: 250px;
}

/* Hover content text styling */
.hover-content .media-logo{
    margin-bottom: .5rem;
}
.hover-content .media-logo img{
    max-height: 40px;
    max-width: 100px;
}

.hover-content .content-type {
    color: #0046B2;
    font-size: 0.7rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0rem;
}

.hover-content .company-name {
    font-family: 'Kanit', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0rem;
    color: #1a1a1a;
}

.hover-content .cta-link {
    color: #E30F00;
    font-weight: 400;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.hover-content .cta-link:hover {
    color: #dc2626;
    transform: translateX(5px);
}

.hover-content .cta-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.hover-content .cta-link:hover::after {
    transform: translateX(3px);
}

/* Media item background colors - matches media outlet branding */
.media-item.fast-company { background: #1375E3; }
.media-item.bloomberg-tech { background: #F21686; }
.media-item.gma { background: #FDC53D; }
.media-item.forbes { background: #FC282E; }
.media-item.wsj { background: #1a1a1a; }
.media-item.today { background: #FD7028; }
.media-item.techcrunch { background: #26EA7B; }
.media-item.cnbc { background: #9F4CFB; }
.media-item.fortt-knox { background: #1a1a1a; }
.media-item.squawk { background: #F3E833; }
.media-item.fortune { background: #094AAF; }
.media-item.cnn { background: #FC282E; }
.media-item.vsco { background: #1375E3; }
.media-item.inc { background: #1a1a1a; }

/* ========================================
   ABOUT US SECTION
   ======================================== */

.about {
    padding: 7.5rem 0 10.625rem 0;
    background: white;
}

.about .subtitle {
    text-align: center;
    font-size: 1.6rem;
    margin: 1rem 0  2.5rem 0;
    line-height: 1.4;
}

.about .subtitle .highlight {
    color: #E30F00;
    font-weight: 600;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Decorative line separator */
.about-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: #d1d5db;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
}

.about-column {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
}

.about-column p {
    margin: 0;
}
.left-about{
    padding: 2.5rem;
    justify-content: center;
    align-items: center;
    font-family: 'Kanit', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
}
.right-about{
    background-color: #F4F4F4;
    padding: 2.5rem;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    font-weight: 100;
}
/* ========================================
   CLIENT WINS SECTION
   Interactive carousel showing client successes
   ======================================== */

.client-wins {
    padding: 7.5rem 0 10.625rem 0;
    background: #0046B2;
    color: white;
    overflow: hidden;
}

/* Static grid container (previously carousel) */
.client-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* Grid track - contains all client cards in a static 2x2 grid */
.client-carousel-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Individual client success cards */
.client-card {
    background: #002C6F;
    border-radius: 0.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
   /* border-color: rgba(255, 255, 255, 0.2);*/
}

/* Client card header with logo and info */
.client-header {
    /*display: flex;*/
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: .25rem;
}

.client-logo-placeholder {
    width: auto;
    height: 1.875rem;    /*border-radius: 8px;*/
    flex-shrink: 0;
}

.client-info h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.client-info .amount {
    font-size: 1.1rem;
    color: #60a5fa;
    margin: 0;
    font-weight: 500;
}

.acquisition-type {
    font-family: 'Kanit', sans-serif;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    text-align: center;
    color:#fff;
    margin-bottom: 1rem;
    font-weight: 400;
}
.acquisition-type span{
    font-weight: 100;
}

/* Acquirer logo container */
.acquirer-logo-container {
    background: white;
    border-radius: 0px;
    padding: 1.5rem;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6.875rem;
}

.acquirer-logo-placeholder {
    max-width: 80%;
    max-height: 80%;
    background:none;
    border-radius: 4px;
}

/* ========================================
   COMPETITION SECTION
   Two-column service breakdown
   ======================================== */

.competition {
    padding: 7.5rem 0;
    background: white;
}

.competition-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
}

.competition-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
}

.competition-divider {
    background: rgba(0, 70, 178, 0.50);
    width: 2px;
    height: 80%;
    align-self: center;
}

.competition-item {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.competition-item h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 100;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.50);
    padding-bottom: 1rem;
}

.competition-item h3 .highlight {
    color: #E30F00;
    font-weight: 600;
}

.competition-item .subtitle {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    margin: 1em 0;
}

.competition-points {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: center;
}

.competition-points li {
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Kanit', sans-serif;
}

.competition-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.competition-cta:hover {
    color: #0046B2;
    transform: translateX(3px);
    border-bottom-color: #0046B2;
}

.competition-cta::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.competition-cta:hover::after {
    transform: translateX(3px);
}

/* ========================================
   TESTIMONIALS SECTION
   Rotating customer quotes
   ======================================== */
.swiper{
    padding-bottom: 20px;
}

.testimonials {
    padding: 5rem 0 6.875rem 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.testimonial-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-logos img {
    height: 40px;
    opacity: 1;
    filter: brightness(0) invert(1);
}
.testimonial-logos img.arrow-right {
    height: 18px;
    opacity: .6;
    filter: brightness(0) invert(1);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    text-align: center;
    padding: 2rem;
}

.testimonial-slide p {
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 100;
    color: #fff;
}
.testimonial-author span{
    font-weight: 600;
    color: #fff;
}

/* Testimonial navigation dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #696969;
    cursor: pointer;
    transition: all 0.3s ease;
    /*border: 2px solid transparent;*/
}

.testimonial-dot:hover {
    background: #fff;
    transform: scale(1.4);
}

.testimonial-dot.active {
    background: #fff;
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(0, 0, 0, 1);
}

/* ========================================
   LEADERSHIP SECTION
   Team member grid
   ======================================== */

.leadership {
    padding: 7.5rem 0 7.5rem 0;
    background: #fff;
}

.leadership-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    overflow: hidden;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 1rem;
}

/* Flip Card Structure */
.leadership-card {
    perspective: 1000px;
    min-height: 200px;
    cursor: pointer;
}

.leadership-card.empty-card {
    visibility: hidden;
    cursor: default;
}

.leadership-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    text-align: left;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.leadership-card.flipped .leadership-card-inner {
    transform: rotateY(180deg);
}

.leadership-card-front,
.leadership-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-left: 2px solid #E30F00;
    padding: 0 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-card-front {
    background-color: white;
}

.leadership-card-back {
    background-color: #f9fafb;
    transform: rotateY(180deg);
    padding: 1.5rem;
    border-left: 2px solid #E30F00;
    overflow-y: auto;
    justify-content: flex-start;
}

/* Front Card Styles */
.leadership-card-front h3 {
    font-family: 'Kanit', sans-serif;
    color: #1a1a1a;
    font-size: 1.7rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.125rem;
    margin-bottom: 0.35em;
}

.leadership-card-front .title {
    color: #0046B2;
    font-family: Lato, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.leadership-card:hover .leadership-card-front h3 {
    color: #E30F00;
}

/* Photo on Front Card */
.card-photo,
.card-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    flex-shrink: 0;
    object-fit: cover;
}

.card-photo-placeholder {
    background: linear-gradient(135deg, #E30F00, #ff3a28);
}

/* Specific adjustments for individual photos */
[data-name="chris-walker"] .card-photo {
    object-position: center 4px;
}

[data-name="tony-keller"] .card-photo {
    object-position: center 6px;
}

[data-name="jake-katz"] .card-photo {
    object-position: center 4px;
}

[data-name="yama-habibzai"] .card-photo {
    object-position: center 3px;
}

[data-name="bill-karpovich"] .card-photo-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

[data-name="bill-karpovich"] .card-photo {
    width: 150px;
    height: 150px;
    margin-left: -25px;
    margin-top: -25px;
    object-position: -46px 15px;
    border-radius: 0;
    margin-bottom: 0;
}

/* Back Card Styles */
.leadership-card-back h4 {
    font-family: 'Kanit', sans-serif;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.leadership-card-back .card-title {
    color: #E30F00;
    font-family: Lato, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.leadership-card-back .card-bio {
    color: #333;
    font-family: Lato, sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.leadership-item .title {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: .8em;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 6.25rem 0 9.375rem 0;
    background: #E30F00 ;
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius:4px;
    padding: 4rem;
    color: #1a1a1a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-right: 2px solid rgba(227, 15, 0, 0.40);
}
.contact-container .contact-item:nth-child(2){
    border-right: none;
}
.contact-container .contact-item span.material-icons,
.contact-container .contact-item span.material-symbols-outlined{
    color: #b4b4b4;

}
.contact-container .contact-item span img{
    opacity: 0.3;
}

.contact-item h3 {
    font-family: 'Kanit', sans-serif;
    color: #1a1a1a;
    margin: 0;
    font-size: 1rem;
}

.contact-item p, 
.contact-item p a{
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}
.contact-item p a:hover {
    color: #0046B2;
    border-bottom-color: #0046B2;
}

.back-to-top {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 1.4375rem 1.25rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 400;
    font-size: 1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background:  #333;
    transform: translateY(-2px);
}
.back-to-top span{
    display: block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icons/arrow_up.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 10px auto;
    color: #fff ;
    rotate: rotate(180deg);
}

/* ========================================
   FOOTER 
   ======================================== */

footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}
.footer-content {
    display: flex;
    align-items: start;
    justify-content: space-between;
}
.footer-links {
    display: grid;
    grid-template-columns: 200px 200px 300px;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

/* Logo Section */
.footer-logo-section {
    display: flex;
    align-items: center;
    padding-right: 30px;
}

.footer-logo {
    max-width: 200px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1); /* Makes logo white if it's dark */
}

/* Footer Sections */
.footer-section h3 {
    font-family: 'Kanit', sans-serif;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-section a,
.footer-section a:visited,
.footer-section a:link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #E30F00;
}

/* Contact Section Specific Styling */
.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    
}
.footer-contact .contact-item .material-icons{
    opacity: 0.3;
}

.footer-contact .contact-item img{
    filter: invert(1);
    width: 18px;
    height: 18px;
}

.footer-linkedin-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-linkedin-link:hover {
    color: #E30F00;
}

.contact-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-locations {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-locations div {
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #888;
}
/* ========================================
   RESPONSIVE DESIGN
   Mobile-first approach with breakpoints
   ======================================== */

/* Large screens and tablets (max-width: 1200px) */
@media (max-width: 1200px) {
    /* Simplify media grid layout for tablets 
    DON'T SIMPLIFY UNTIL 768px
    .media-row {
        flex-direction: column;
        height: auto;
    }

    .media-item, .media-column {
        flex: 1 !important;
        min-height: 80px;
    }

    .media-column {
        flex-direction: row;
        height: 80px;
    }

    .media-column .media-item {
        flex: 1;
    }
    */
}
/* Small screens and tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .footer-content{
        display: block;
    }
    .footer-links {
        grid-template-columns: 33% 33% 33%;
        gap: 2rem;
        padding: 0 20px;
    }
    .footer-logo-section {
        width: 100%;
        text-align: center;
        display: block;
        align-items: center;
        padding-right: 0;
        margin-bottom: 3em;
    }
}

/* Tablets and mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Stack client wins cards to single column on mobile */
    .client-carousel-track {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    /* Adjust hero text size for mobile */
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Stack media grid vertically on mobile */
    .media-row {
        flex-direction: column;
        height: auto;
    }
    .media-row.is-expanded {
        padding: 0;
    }
    .media-row.is-expanded .media-expand-panel {
        padding: 1.5rem;
    }
    .media-expand-panel .media-expand-close {
        position: static;
        margin-left: auto;
        margin-bottom: 1rem;
    }
    .media-expand-inner {
        flex-direction: column;
    }
    .media-expand-visual {
        flex: none;
        width: 100%;
        max-width: none;
    }

    /* Hide visual content on mobile - show text only */
    .media-expand-visual {
        display: none;
    }

    /* Show text content with proper padding for scrollable content */
    .media-expand-panel {
        padding: 2rem 1.5rem !important;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* On mobile, show the hover-content as expanded panel */
    .media-item .hover-content {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .media-expand-body {
        display: block;
    }

    /* Hide media outlet logo on mobile */
    .media-expand-logo {
        display: none;
    }

    /* Make kicker text span full width and prevent awkward breaks */
    .media-expand-body .media-expand-kicker {
        width: 100%;
        display: block;
        margin-bottom: 1rem;
        white-space: normal;
        line-height: 1.5;
        padding-right: 0 !important;
    }

    /* Remove padding from media-expand-body on mobile to eliminate white space */
    .media-expand-body {
        padding: 0 !important;
        border-radius: 0;
        background: transparent !important;
    }

    /* Add padding to hover-content instead for proper spacing */
    .media-item .hover-content {
        padding: 2rem 1.5rem !important;
    }

    /* Remove gap from media-expand-inner on mobile */
    .media-expand-inner {
        gap: 0 !important;
        padding: 0 !important;
    }

    /* Ensure text content is visible and properly styled */
    .media-expand-body h3,
    .media-expand-body p,
    .media-expand-body a {
        color: #ffffff !important;
    }

    /* Fix blank spaces - prevent adjacent tiles from disappearing on mobile */
    /* Override JavaScript inline styles that hide adjacent tiles */
    .media-row .media-item,
    .media-row .media-column {
        flex: 1 1 auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .media-item.is-hover-locked > :not(.hover-content) {
        opacity: 1 !important;
    }

    .media-row.is-hover-locked .media-item:not(.is-hover-locked) {
        flex: 1 1 auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .media-row.is-hover-locked .media-item:not(.is-hover-locked) .hover-content {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .media-row.is-hover-locked .media-item:not(.is-hover-locked) > :not(.hover-content) {
        opacity: 1 !important;
    }

    /* Ensure the locked item expands properly but doesn't hide others */
    .media-row .media-item.is-hover-locked {
        flex: 1 1 auto !important;
    }

    /* Make media rows stack vertically on mobile */
    .media-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .media-row .media-item {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Keep close button visible and positioned at top right */
    .media-expand-panel .media-expand-close {
        position: absolute !important;
        top: 1rem;
        right: 1rem;
        margin: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.7);
        color: white;
    }

    .media-expand-logo {
        align-self: flex-start;
        margin-top: 1rem;
    }
    .media-item img{
        max-height: 100px;
        max-width: 200px;
        margin: 25px;
    }
    .media-item,
    .media-item.bloomberg-tech,
    .media-item.fast-company,
    .media-item.today,
    .media-item.media-item.fortt-knox{
        min-height: 240px;
    }

    /* Reset Today and Fortt Knox to static positioning on mobile */
    .media-column .media-item.today,
    .media-column .media-item.fortt-knox {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 240px;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
    }

    .hover-content .media-logo img{
        max-height: 25px;
        max-width: 80px;
        margin: 5px;
    }
    .hover-content .company-name {
        font-size: 1.3em;
    }
    /*.media-item, .media-column {
        flex: 1 !important;
    }*/
    /*
    .media-column {
        flex-direction: column;
        height: auto;
    }
    */
    /* About section - single column layout */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .about-container::after {
        width: 95%;
    }

    /* Competition section - stack vertically */
    .competition-container {
        box-shadow: none;
        border-radius: 0;
    }

    .competition-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .competition-divider {
        display: none;
    }

    .competition-item {
        padding: 3rem 2rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .competition-item:last-child {
        border-bottom: none;
    }

    /* Leadership section - double column */
    .leadership-grid {
        /*grid-template-columns: 1fr;*/
        /*grid-template-rows: auto;*/
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .leadership-item {
        border-right: none !important;
        border-bottom: none;
        border-left: none;
        min-height: none;
        padding: 1.5rem;
        margin: 1rem 0;
        text-align: center;
    }

    .leadership-item:last-child {
        border-bottom: none !important;
    }

    .leadership-item:nth-child(6) {
        display: none;
    }

    /* Contact section - single column */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-container .contact-item {
        border-right: none;
    }

    /* Footer - two columns */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;

    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-contact .contact-item {
        justify-content: center;
    }

    /* Hide navigation links on mobile - add mobile menu if needed */
    .nav-links {
        display: none;
    }

    /* Ensure VSCO tile keeps blue background on mobile */
    .media-item.vsco {
        background: #1375E3 !important;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Footer - single column on very small screens */
    .footer-content {
        grid-template-columns: 1fr;
    }
    .contact-locations {
        text-align: center;
    }
      /* Leadership section - double column */
      .leadership-grid {
        /*grid-template-columns: 1fr;*/
        /*grid-template-rows: auto;*/
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }
}

/* ========================================
   ANIMATION KEYFRAMES
   ======================================== */

/* Infinite scroll animation for client carousel */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 6 - 12rem));
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for better accessibility */
.focus-visible:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    /* Hide interactive elements when printing */
    .client-carousel-container,
    .testimonial-carousel,
    .nav-links,
    .cta-button,
    .competition-cta,
    .back-to-top {
        display: none;
    }

    /* Ensure good contrast for printing */
    body {
        color: black;
        background: white;
    }

    /* Remove background colors from media items */
    .media-item {
        background: white !important;
        border: 1px solid #ccc;
    }
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

/* Hamburger Button - Hidden by default */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 58, 138, 0.98); /* Semi-transparent blue */
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Content */
.mobile-nav-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    margin: 2rem 0;
}

.mobile-nav-links a {
    font-family: 'Kanit', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 1rem;
    border-radius: 8px;
}

.mobile-nav-links a:hover {
    color: #60a5fa;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-nav-links a:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   MOBILE NAVIGATION RESPONSIVE
   ======================================== */

/* Show hamburger and hide desktop nav on mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    /* Ensure mobile nav text is readable on smaller screens */
    .mobile-nav-links a {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .mobile-nav-links a {
        font-size: 1.8rem;
    }
}

/* Prevent body scroll when mobile nav is open */
body.mobile-nav-open {
    overflow: hidden;
}

.media-expand-inner.video-only {
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 315px;
}

.media-expand-inner.video-only .media-expand-visual {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    padding-top: 25%; /* 16:9 */
    border-radius: 18px;
    overflow: hidden;
}

.media-expand-inner.video-only .media-expand-visual iframe,
.media-expand-inner.video-only .media-expand-visual video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 18px;
}

.media-expand-inner.video-only .media-expand-body {
    display: none !important;
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */

/* Profile Hero Section */
.profile-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0 3rem;
    margin-top: 80px;
}

.profile-hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    object-position: -75px center;
}

.profile-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
    font-weight: 600;
}

.profile-hero-text {
    flex: 1;
}

.profile-breadcrumb {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.profile-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-breadcrumb a:hover {
    color: #E30F00;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

.profile-name {
    font-family: 'Kanit', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.profile-title {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 0;
}

/* Profile Content Layout */
.profile-content {
    padding: 4rem 0;
    background: #ffffff;
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

/* Profile Bio (Main Content) */
.profile-bio {
    max-width: 800px;
}

.profile-bio h2 {
    font-family: 'Kanit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-align: left;
}

.profile-bio h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.profile-bio p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.profile-bio .lead-paragraph {
    font-size: 1.25rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.profile-bio .profile-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.profile-bio .profile-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
}

.profile-bio .profile-list li::before {
    content: "•";
    position: absolute;
    left: 0.75rem;
    color: #E30F00;
    font-size: 1.5rem;
    line-height: 1.6rem;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 100px;
}

.profile-sidebar-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.profile-sidebar-card h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Education */
.profile-education p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.education-degree {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
}

.education-school {
    font-weight: 400;
    color: #333;
    font-size: 1rem;
}

.education-years {
    font-weight: 300;
    color: #666;
    font-size: 0.875rem;
}

/* Experience List */
.experience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.experience-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.experience-list strong {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.experience-list span {
    display: block;
    font-weight: 400;
    color: #666;
    font-size: 0.9375rem;
}

/* Expertise List */
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    font-size: 0.9375rem;
}

.expertise-list li:last-child {
    border-bottom: none;
}

/* Social Links */
.profile-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
}

.social-link:hover {
    background: #E30F00;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.social-link .material-icons {
    font-size: 20px;
}

.social-link span {
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Related Team Section */
.related-team {
    background: #f8f9fa;
    padding: 4rem 0;
}

.related-team h2 {
    font-family: 'Kanit', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-grid-minimal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-card-minimal {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.team-card-minimal:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.team-card-minimal:hover h3 {
    color: #E30F00;
}

.team-card-minimal h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.team-role {
    font-weight: 700;
    color: #E30F00;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-snippet {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.team-cta {
    text-align: center;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Profile Pages */
@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .profile-sidebar {
        position: static;
    }

    .team-grid-minimal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .profile-hero {
        padding: 3rem 0 2rem;
        margin-top: 60px;
    }

    .profile-hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .profile-photo,
    .profile-photo-placeholder {
        width: 150px;
        height: 150px;
    }

    .profile-photo-placeholder {
        font-size: 2rem;
    }

    .profile-name {
        font-size: 2rem;
    }

    .profile-title {
        font-size: 1.25rem;
    }

    .profile-content {
        padding: 3rem 0;
    }

    .profile-bio h2 {
        font-size: 1.75rem;
    }

    .profile-bio h3 {
        font-size: 1.25rem;
    }

    .profile-bio p,
    .profile-bio .lead-paragraph {
        font-size: 1rem;
    }

    .profile-sidebar-card {
        padding: 1.5rem;
    }

    .related-team h2 {
        font-size: 2rem;
    }

    .team-card-minimal {
        padding: 1.5rem;
    }
}

/* ============================================
   SOLUTION PAGE STYLES
   ============================================ */

/* Solution Hero Section */
.solution-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem 0 4rem;
    text-align: center;
}

.solution-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.solution-name {
    font-family: 'Kanit', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.solution-name .highlight {
    color: #E30F00;
}

.solution-tagline {
    font-size: 1.75rem;
    color: #cccccc;
    font-weight: 300;
    margin-bottom: 0;
}

/* Solution Content Layout */
.solution-content {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.solution-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* Solution Main Content */
.solution-main {
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Full width layout when no sidebar */
.solution-layout:has(.solution-main):not(:has(.solution-sidebar)) {
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-main h2 {
    font-family: 'Kanit', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.solution-main h3 {
    font-family: 'Kanit', sans-sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.solution-main h4 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #E30F00;
    margin-top: 0;
    margin-bottom: 1rem;
}

.solution-main .lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.solution-main p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.solution-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.6;
    color: #444;
}

.solution-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #E30F00;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Solution Pillars */
.solution-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.pillar-card {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #E30F00;
}

.pillar-card h4 {
    margin-top: 0;
    font-size: 1.35rem;
}

.pillar-card p {
    margin-bottom: 1.25rem;
}

.pillar-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pillar-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.5;
    color: #444;
    font-size: 0.9375rem;
}

.pillar-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E30F00;
    font-weight: 700;
}

/* Solution CTA Box */
.solution-cta-box {
    background: linear-gradient(135deg, #E30F00 0%, #ff3a28 100%);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
    color: #ffffff;
}

.solution-cta-box h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.solution-cta-box p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.solution-cta-box .btn-primary {
    background: #ffffff;
    color: #E30F00;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.solution-cta-box .btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Solution Sidebar */
.solution-sidebar {
    position: sticky;
    top: 100px;
}

.solution-sidebar-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.solution-sidebar-card:last-child {
    margin-bottom: 0;
}

.solution-sidebar-card h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #E30F00;
    padding-bottom: 0.75rem;
}

.benefit-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.benefit-list li {
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.5;
    color: #444;
    font-size: 0.9375rem;
}

.benefit-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E30F00;
    font-weight: 700;
    font-size: 1.125rem;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-item:first-child {
    padding-top: 0;
}

.timeline-item strong {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9375rem;
}

.timeline-item span {
    color: #666;
    font-size: 0.875rem;
}

.related-services-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.related-services-list li {
    margin-bottom: 0.75rem;
}

.related-services-list a {
    color: #E30F00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.related-services-list a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

.solution-contact .contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #444;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.solution-contact .contact-link:hover {
    color: #E30F00;
}

.solution-contact .contact-link .material-icons {
    color: #E30F00;
    font-size: 1.25rem;
}

.solution-contact p {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solution-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .solution-hero {
        padding: 4rem 0 3rem;
    }

    .solution-name {
        font-size: 2.5rem;
    }

    .solution-tagline {
        font-size: 1.25rem;
    }

    .solution-main {
        padding: 2rem 1.5rem;
    }

    .solution-main h2 {
        font-size: 2rem;
    }

    .solution-main h3 {
        font-size: 1.5rem;
    }

    .solution-main .lead-paragraph {
        font-size: 1.125rem;
    }

    .solution-sidebar-card {
        padding: 1.5rem;
    }

    .solution-cta-box {
        padding: 2rem 1.5rem;
    }
}

/* Additional Solution Page Elements */

/* Problem Callout Box */
.solution-callout-problem {
    background: #fff5f0;
    border-left: 4px solid #E30F00;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 4px;
}

.solution-callout-problem h3 {
    color: #E30F00;
    margin-top: 0;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.solution-callout-problem p {
    margin-bottom: 1.25rem;
}

.solution-callout-problem p:last-child {
    margin-bottom: 0;
}

/* Solution Page Media Grid */
.solution-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.solution-media-category h4 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #E30F00;
    padding-bottom: 0.5rem;
}

.solution-media-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.solution-media-list li {
    padding: 0.5rem 0;
    color: #444;
    font-size: 0.9375rem;
    border-bottom: 1px solid #e5e5e5;
}

.solution-media-list li:last-child {
    border-bottom: none;
}

/* Sidebar Enhancements */
.sidebar-note {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.media-logos-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.media-logos-list li {
    padding: 0.5rem 0;
    color: #444;
    font-size: 0.875rem;
    font-weight: 500;
}

.approach-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.approach-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.approach-item:first-child {
    padding-top: 0;
}

.approach-item strong {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9375rem;
}

.approach-item span {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Responsive for additional elements */
@media (max-width: 768px) {
    .solution-media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solution-callout-problem {
        padding: 1.5rem;
    }
}
