/* Mach Five Tech - Common Styles
   This file contains all shared styles across the website.
   Page-specific styles should be kept in individual <style> tags.
*/

/* ===========================
   1. CSS Variables & Root
   =========================== */
:root {
    --m5-brand: #DD4124;
    --m5-brand-dark: #810000;
    --m5-accent: #7BC4C4;
    --m5-dark: #181818;
    --m5-darker: #000;
    --m5-night-mid: #323232;
    --m5-light: #f8f8f8;
    --m5-lighter: #fff;
    --m5-text: #333;
    --m5-text-light: #666;
    --m5-border: #e0e0e0;
    --m5-shadow: 0 2px 16px rgba(0,0,0,0.08);
    --m5-radius: 8px;
}

/* ===========================
   2. Base Reset & Typography
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #f5f5f5; /* Match footer background for overscroll */
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--m5-lighter);
    color: var(--m5-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 120px;
    position: relative;
}

/* Global scrollbar styling - Force consistent colors */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--m5-brand) !important;
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--m5-brand-dark) !important;
    background-clip: content-box;
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--m5-brand) rgba(0, 0, 0, 0.05) !important;
}

/* Override Neodigm55 scrollbar colors */
body::-webkit-scrollbar-thumb {
    background: var(--m5-brand) !important;
}

html {
    scrollbar-color: var(--m5-brand) rgba(0, 0, 0, 0.05) !important;
}

/* Grid texture with fade effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px;
    mask-image: linear-gradient(90deg, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* ===========================
   3. Header & Navigation
   =========================== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: linear-gradient(135deg, var(--m5-brand) 0%, var(--m5-brand-dark) 100%);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left a,
.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    opacity: 0.9;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    color: white;
    opacity: 1;
    transform: translateY(-1px);
}

.top-bar-left .material-symbols-outlined,
.top-bar-right .material-symbols-outlined {
    font-size: 18px;
    color: white;
}

/* Make Portal link more prominent */
.top-bar-link[href="/customer-portal/"] {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.top-bar-link[href="/customer-portal/"]:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    color: white !important;
    transform: translateY(-1px);
}

.top-bar-link[href="/customer-portal/"] .material-symbols-outlined {
    color: white;
}

/* Main navigation */
.main-nav {
    background: white;
    padding: 5px 0;
    position: relative;
    border-bottom: 3px solid var(--m5-brand);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

/* Logo section */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--m5-text);
    transition: transform 0.2s;
}

.logo img {
    height: 56px;
    width: auto;
}

/* Nav logo (center logo) */
.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    justify-self: center;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Hide mobile-only items on desktop */
.mobile-only {
    display: none;
}

/* Nav spacer for grid layout */
.nav-spacer {
    justify-self: end;
    display: flex;
    align-items: center;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

/* Nav prompt styling */
.nav-prompt {
    color: var(--m5-brand);
    font-size: 16px;
    font-weight: 600;
    padding-right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-prompt::after {
    content: '→';
    font-size: 20px;
    animation: pointRight 2s ease-in-out infinite;
}

.mobile-nav-prompt {
    display: none;
    color: var(--m5-brand);
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(221, 65, 36, 0.2);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.mobile-nav-prompt::after {
    content: '→';
    font-size: 22px;
    margin-left: 8px;
    display: inline-block;
    animation: pointRight 2s ease-in-out infinite;
}

/* Nav divider */
.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--m5-border);
    margin: 0 8px;
}

.nav-menu a {
    color: var(--m5-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    position: relative;
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.nav-menu a:hover {
    color: var(--m5-brand);
    background: rgba(221, 65, 36, 0.05);
    border-color: rgba(221, 65, 36, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 65, 36, 0.1);
}


/* Nav actions */
.nav-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--m5-brand);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(221, 65, 36, 0.2);
}

.nav-contact-btn:hover {
    background: var(--m5-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(221, 65, 36, 0.3);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--m5-text);
    margin: 4px 0;
    transition: all 0.3s;
    transform-origin: center;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu overlay for mobile */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

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

/* ===========================
   4. Footer
   =========================== */
.footer {
    background-color: #f5f5f5;
    background-image: none;
    border-top: 1px solid var(--m5-border);
    color: var(--m5-text);
    padding: 80px 24px 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
    border-bottom: 1px solid var(--m5-border);
    padding-bottom: 48px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    flex: 1 1 400px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--m5-text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Footer contact link */
.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--m5-brand);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-contact:hover {
    color: var(--m5-brand-dark);
    transform: translateX(2px);
}

.footer-contact .material-symbols-outlined {
    font-size: 20px;
}

.footer-brand .social-links {
    display: flex;
    gap: 12px;
}

.footer-brand .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--m5-brand);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-brand .social-links a:hover {
    background: var(--m5-brand-dark);
    transform: translateY(-2px);
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h4 {
    color: var(--m5-brand);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--m5-text-light);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--m5-brand);
    transform: translateX(2px);
}

.footer-bottom {
    margin-top: 32px;
    padding: 32px 0;
    text-align: center;
    color: var(--m5-text-light);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: var(--m5-brand);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===========================
   5. Buttons & CTAs
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--m5-brand) 0%, var(--m5-brand-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    z-index: 1;
}

/* CTA whiteboard texture */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/img/whiteboard.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(0,0,0,0.1) 0%, transparent 50%);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--m5-brand);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-button .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s;
}

.cta-button:hover .material-symbols-outlined {
    animation: pointRight 0.5s ease-in-out;
}

/* Neodigm button overrides */
[data-n55-enchanted-cta][data-n55-theme='primary'] { 
    background: linear-gradient(var(--m5-night-mid), var(--m5-night-mid)) !important; 
}

.l-content-row:hover [data-n55-enchanted-cta][data-n55-theme='primary'] {
    background: linear-gradient(var(--m5-brand), var(--m5-brand-dark)) !important;
}

/* Neodigm rotating text widget styles - target all possible elements */
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"],
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] * {
    font-size: 2.5rem !important;
}

/* More specific targeting for the actual text elements */
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] span,
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] div,
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] p,
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] h2,
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] .n55-cycling-text,
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] [data-n55-type="cycling"] {
    font-size: 2.5rem !important;
}

/* First word color override */
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] span:first-child,
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] .word-1,
neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] [class*="word"]:first-child {
    color: var(--m5-dark) !important;
}

/* Ensure consistent size in footer context */
.footer-brand neodigm-widget[data-n55-widget-id="effect_two_word_rotate"],
.footer-brand neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] * {
    font-size: 2.5rem !important;
}

/* Mobile responsive sizing */
@media (max-width: 768px) {
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"],
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] * {
        font-size: 1.8rem !important;
    }
    
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] span,
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] div,
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] p,
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] h2,
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] .n55-cycling-text,
    neodigm-widget[data-n55-widget-id="effect_two_word_rotate"] [data-n55-type="cycling"] {
        font-size: 1.8rem !important;
    }
}

/* ===========================
   6. Typography & Utilities
   =========================== */

/* Main content area */
#main {
    min-height: calc(100vh - 120px);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: var(--m5-dark);
    margin-bottom: 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-subtitle {
    font-size: 20px;
    color: var(--m5-text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

/* Sticky tab styles */
.sticky-tab-scuffed {
    padding: 8px 25px 8px 40px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    background: 
        linear-gradient(95deg, transparent 15%, rgba(255,255,255,0.12) 16%, transparent 18%),
        linear-gradient(-25deg, transparent 35%, rgba(255,255,255,0.1) 36%, transparent 37%),
        radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.15) 0%, transparent 25%),
        radial-gradient(ellipse at 60% 70%, rgba(255,255,255,0.12) 0%, transparent 20%),
        radial-gradient(ellipse at center, #DD4124 0%, #B73820 100%);
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sticky-tab-scuffed::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: 
        linear-gradient(90deg, transparent, rgba(255,255,255,0.2) 30%, transparent),
        linear-gradient(-45deg, transparent 45%, rgba(0,0,0,0.1) 50%, transparent 55%);
}

.sticky-tab-scuffed::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 8px;
    border-color: transparent transparent transparent #B73820;
}

/* Proficiencies list */
.proficiencies-list {
    list-style: none;
    padding: 0;
    padding-top: 72px;
    margin: 0;
}

.proficiencies-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: #2c3e50;
    transition: all 0.2s ease;
    font-weight: 400;
}

.proficiencies-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #666;
    font-weight: 600;
    opacity: 1;
    transition: all 0.2s ease;
}

.proficiencies-list li:hover {
    color: #DD4124;
    transform: translateX(4px);
}

.proficiencies-list li:hover::before {
    color: #DD4124;
    transform: translateX(-2px);
}

/* ===========================
   7. Animations
   =========================== */
@keyframes pointRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

@keyframes heroGradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(120deg); }
    66% { transform: scale(0.9) rotate(240deg); }
}

/* ===========================
   8. Media Queries
   =========================== */

/* Enhanced fade for laptop viewports */
@media (min-width: 1024px) and (max-width: 1600px) {
    body::before {
        mask-image: linear-gradient(90deg, 
            transparent 0%, 
            rgba(0,0,0,0.2) 10%,
            rgba(0,0,0,0.6) 20%,
            black 30%, 
            black 70%, 
            rgba(0,0,0,0.6) 80%,
            rgba(0,0,0,0.2) 90%,
            transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, 
            transparent 0%, 
            rgba(0,0,0,0.2) 10%,
            rgba(0,0,0,0.6) 20%,
            black 30%, 
            black 70%, 
            rgba(0,0,0,0.6) 80%,
            rgba(0,0,0,0.2) 90%,
            transparent 100%);
    }

    /* Adjust top-bar-right position for laptop viewports */
    .top-bar-right {
        margin-right: 150px;
    }

    /* Make footer tighter on laptop viewports */
    .footer {
        padding: 40px 24px 0;
    }

    .footer::before {
        bottom: 60px;
    }

    .footer-content {
        gap: 20px;
        padding-bottom: 20px;
    }

    .footer-brand {
        flex: 1 1 300px;
    }

    .footer-section {
        flex: 1 1 150px;
    }

    .footer-bottom {
        margin-top: 16px;
        padding: 16px 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .top-bar {
        display: none;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        padding: 0 16px;
        grid-template-columns: none;
        gap: 0;
    }

    .logo img {
        height: 40px;
    }

    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: block !important;
    }

    /* Mobile menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 32px 32px 32px;
        gap: 20px;
        box-shadow: -2px 0 16px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }

    /* Show mobile nav prompt */
    .mobile-nav-prompt {
        display: block;
    }

    /* Hide desktop nav prompt */
    .nav-prompt {
        display: none;
    }

    /* Mobile only items */
    .mobile-only {
        display: block !important;
    }

    /* Nav divider in mobile */
    .nav-divider {
        width: 100%;
        height: 1px;
        margin: 16px 0;
    }

    .nav-actions {
        display: none;
    }

    /* Section adjustments */
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .content-section {
        padding: 60px 0;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 32px;
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-section {
        margin-bottom: 32px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    /* CTA mobile */
    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Very small mobile */
@media (max-width: 480px) {
    .content-container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* Content H1 Styling */
main h1,
.l-content h1,
.article-content h1,
.content h1,
article h1 {
    color: var(--m5-brand);
}
