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

html, body {
    height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: 'Maitree', serif;
    line-height: 1.6;
    color: #808080;
    background-color: #ffffff;
}

hr {
    border: none;
    height: 0.5px;
    background: #999;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* Layout Container - 100vh Two Column Layout */
.layout-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Navigation Column - 20% width, sticky */
.navigation {
    width: 20%;
    border-right: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 0 2rem;
}

.nav-header {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Hide hamburger menu on desktop */
.mobile-menu-toggle {
    display: none;
}

.nav-logo {
    width: 100%;
    max-width: 95px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.9;
}

.nav-menu {
    list-style: none;
    padding: 0;
}

.nav-menu li {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-menu a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #AA1917;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-left: 1px solid transparent;
}

.nav-menu a:hover {
    color: #000000;
    border-left-color: #AA1917;
}

.nav-menu a:active,
.nav-menu a.active {
    color: #000000;
    border-left-color: #AA1917;
    font-weight: 400;
}

/* Right Content Column - 80% width */
.content {
    width: 80%;
    height: 100vh;
    overflow-y: auto;
    padding: 0;
    background-color: #ffffff;
}

/* Image Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    margin-bottom: 2rem;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-quote {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -10%);
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    padding: 3rem;
    border-radius: 5px;
    max-width: 350px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.slide-quote blockquote {
    font-family: 'Trirong', serif;
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.slide-quote blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #AA1917;
    position: absolute;
    top: -0.5rem;
    left: -2rem;
    font-family: 'Trirong', serif;
}

.slide-quote blockquote::after {
    content: '"';
    font-size: 3rem;
    color: #AA1917;
    position: absolute;
    bottom: -1.5rem;
    right: -2rem;
    font-family: 'Trirong', serif;
}

.content-header {
    margin-bottom: 3rem;
    padding: 2rem 5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.content-header h1 {
    font-family: 'Trirong', serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: #808080;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-header p {
    font-family: 'Maitree', serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: #808080;
    opacity: 0.8;
}

/* Parallax Heading Component */
.parallax-heading {
    position: relative;
    width: 100%;
    height: 30vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 2rem 0;
    overflow: hidden;
}

.parallax-content {
    padding: 4rem 5rem;
    width: 70%;
}

.parallax-content p {
    color: #ffffff;
    font-size: 0.9rem;
    padding: 0.5rem 14rem 0.5rem 0.5rem;
}

.parallax-heading h2 {
    font-family: 'Trirong', serif;
    font-size: 1.6rem;
    font-weight: 100;
    color: #ffffff;
    margin: 0 0.5rem 0;
    border-bottom: 0.5px solid #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.parallax-heading h2::first-letter {
    font-size: 2rem;
}

/* Content Sections */
.content-section {
    padding: 0 5rem 1.5rem;
}

.content-section h2 {
    font-family: 'Trirong', serif;
    font-weight: 300;
    font-size: 2rem;
    color: #808080;
    margin-bottom: 1.5rem;
}

.content-section p {
    font-family: 'Maitree', serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #808080;
    margin-bottom: 1.5rem;
}

.narrow-center p, .narrow-center h1, .narrow-center h2, .narrow-center h3 {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive YouTube Video Container */
.narrow-center .video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.narrow-center .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Image-Text Component System */
.image-text-component {
    display: flex;
    margin: 3rem 0 1.5rem;
    background: #ffffff;
    overflow: hidden;
}

/* Image Left, Text Right */
.image-text-component.image-left {
    flex-direction: row;
}

.image-text-component.image-left .component-image {
    flex: 1;
}

.image-text-component.image-left .component-text {
    flex: 1;
    padding: 2rem;
}

/* Image Right, Text Left */
.image-text-component.image-right {
    flex-direction: row-reverse;
}

.image-text-component.image-right .component-image {
    flex: 1;
}

.image-text-component.image-right .component-text {
    flex: 1;
    padding: 2rem;
}

/* Image Above, Text Below */
.image-text-component.image-above {
    flex-direction: column;
}

.image-text-component.image-above .component-image {
    flex: none;
}

.image-text-component.image-above .component-text {
    flex: 1;
    padding: 1rem 2rem;
}

/* Image Below, Text Above */
.image-text-component.image-below {
    flex-direction: column-reverse;
}

.image-text-component.image-below .component-image {
    flex: none;
}

.image-text-component.image-below .component-text {
    flex: 1;
    padding: 1rem 2rem;
}

.image-text-component.image-below .component-text.center {
    text-align: center;
}

/* Image Styling */
.component-image {
    overflow: hidden;
}

.component-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-text-component:hover .component-image img {
    transform: scale(1.05);
}

/* Text Content Styling */
.component-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.component-text h3 {
    font-family: 'Trirong', serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: #808080;
    margin: 0 0 0.5rem 0;
    border-bottom: 0.5px solid #808080;
    padding-bottom: 0.5rem;
}

.component-text p {
    font-family: 'Maitree', serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: #808080;
    margin: 0;
}

/* Grid System for Multiple Components */
.components-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.components-grid.no-gap {
    gap: 0;
}

.components-grid.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.components-grid.grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.components-grid.grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Mobile Override for 4-column grid */
@media (max-width: 1284px) {
    .components-grid.grid-4 {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Mobile Override for 4-column grid */
@media (max-width: 680px) {
    .components-grid.grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Adjust component margins when in grid */
.components-grid .image-text-component,
.components-grid .text-slider-component {
    margin: 0;
    padding-bottom: 1.5rem;
}

/* Text-Slider Component System */
.text-slider-component {
    display: flex;
    margin: 1.5rem 0;
    background: #ffffff;
    overflow: hidden;
    min-height: 400px;
}

.text-slider-component:first-child, .text-slider-component:last-child {
    margin: 0;
    padding-bottom: 1.5rem;
}

/* Text Left, Slider Right */
.text-slider-component.text-left {
    flex-direction: row;
}

.text-slider-component.text-left .component-text {
    flex: 1;
    padding: 2rem;
}

.text-slider-component.text-left .component-slider-container {
    flex: 1;
}

/* Text Right, Slider Left */
.text-slider-component.text-right {
    flex-direction: row-reverse;
}

.text-slider-component.text-right .component-text {
    flex: 1;
    padding: 2rem;
}

.text-slider-component.text-right .component-slider-container {
    flex: 1;
}

/* Component Slider Container */
.component-slider-container {
    position: relative;
    overflow: hidden;
}

.component-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.component-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.component-slide.active {
    opacity: 1;
}

/* Component Text Styling (inherits from image-text but can be overridden) */
.text-slider-component .component-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-slider-component .component-text h3 {
    font-family: 'Trirong', serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: #808080;
    margin: 0 0 0.5rem 0;
    border-bottom: 0.5px solid #808080;
    padding-bottom: 0.5rem;
}

.text-slider-component .component-text p {
    font-family: 'Maitree', serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: #808080;
    margin: 0 0 1rem 0;
}

.text-slider-component .component-text p:last-child {
    margin-bottom: 0;
}

/* Video Modal Component System */
.video-modal-component {
    background: #ffffff;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.video-modal-component h3 {
    font-family: 'Trirong', serif;
    font-weight: 300;
    font-size: 1rem;
    color: #FFFFFF;
    background-color: #000000;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
}

.video-modal-component p {
    font-family: 'Maitree', serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1;
    color: #808080;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.video-play-button {
    font-family: 'Roboto', sans-serif;
    background: #EBEBEB;
    color: #666666;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.video-play-button:hover {
    background: #5E5E5E;
    color: #dcdcdc;
    transform: translateY(-1px);
}

.video-play-button:active {
    transform: translateY(0);
    background: #7a1213;
}

.video-play-button i {
    font-size: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    width: 80vw;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #AA1917;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: #8a1415;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Test Area for Playwright */
.test-area {
    background: #f8f9fa;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

button {
    font-family: 'Roboto', sans-serif;
    background: #AA1917;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin: 0.5rem 0;
}

button:hover {
    background: #8a1415;
}

button:active {
    transform: translateY(1px);
    background: #7a1213;
}

#test-result {
    margin-top: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 4px;
    border-left: 4px solid #AA1917;
    font-family: 'Maitree', serif;
    font-weight: 400;
    color: #808080;
}

/* Footer Component */
.footer {
    background-color: #f8f9fa;
    padding: 3rem 5rem 2rem 5rem;
    margin-top: 4rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.footer-social {
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons li {
    margin: 0;
    border-bottom: none;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: transparent;
    color: #808080;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover {
    color: #AA1917;
    transform: scale(1.1);
}

.footer-content {
    color: #808080;
    font-family: 'Maitree', serif;
    font-weight: 300;
    font-size: 0.7rem;
    line-height: 1.6;
}

.footer-content p {
    margin: 0 0 0.5rem 0;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

.footer-website {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #AA1917;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-website:hover {
    color: #8a1415;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content {
        padding: 2rem;
    }

    .footer {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .layout-container {
        flex-direction: column;
    }

    .navigation {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        background: #ffffff;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 0;
        overflow: visible;
    }

    .nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        margin-bottom: 0;
    }

    .nav-logo {
        max-width: 120px;
        height: auto;
    }

    /* Hamburger menu button */
    .mobile-menu-toggle {
        display: flex !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        position: relative;
        z-index: 1001;
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger-line {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #AA1917;
        margin-bottom: 4px;
        transition: all 0.3s ease;
        border-radius: 1px;
        opacity: 1;
        transform: rotate(0deg);
        position: relative;
    }

    .hamburger-line:last-child {
        margin-bottom: 0;
    }

    /* Hide menu by default on mobile */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    /* Show menu when active */
    .nav-menu.active {
        display: flex;
        max-height: 400px;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu li {
        margin-right: 0;
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
        white-space: nowrap;
    }

    .nav-menu a {
        padding: 1rem 1.5rem;
        border-left: none;
        border-bottom: none;
        width: 100%;
        color: #AA1917;
        font-weight: 400;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a:active,
    .nav-menu a.active {
        background-color: #f8f8f8;
        border-left: 4px solid #AA1917;
        padding-left: 1.25rem;
    }

    .content {
        width: 100%;
        height: auto;
        padding: 0;
        padding-top: 80px; /* Add padding for fixed navigation */
    }

    .content-header {
        padding: 1.5rem;
    }

    .content-section {
        padding: 0 1.5rem;
    }

    .slider-container {
        height: 50vh;
    }

    .slide-quote {
        padding: 2rem;
        max-width: 90%;
    }

    .slide-quote blockquote {
        font-size: 1.4rem;
    }

    .slide-quote blockquote::before,
    .slide-quote blockquote::after {
        font-size: 2rem;
    }

    .content-header h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    /* Parallax Heading Mobile Adjustments */
    .parallax-heading {
        height: 35vh;
        min-height: 250px;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        -webkit-background-size: cover !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .parallax-content {
        width: 90%;
        padding: 2.5rem 1.5rem;
    }

    .parallax-content h2 {
        font-size: 1.3rem;
        line-height: 1;
        padding-bottom: 0.8rem;
        border-bottom-width: 2px;
        margin-bottom: 1rem;
    }

    .parallax-content p {
        font-size: 0.8rem;
        color: #ffffff;
        padding: 0;
    }

    /* Image-Text Component Responsive */
    .image-text-component.image-left,
    .image-text-component.image-right {
        flex-direction: column;
    }

    .image-text-component.image-left .component-text,
    .image-text-component.image-right .component-text {
        padding: 1.5rem;
    }

    .component-text h3 {
        font-size: 1.3rem;
    }

    .component-text p {
        font-size: 0.95rem;
    }

    /* Text-Slider Component Responsive */
    .text-slider-component.text-left,
    .text-slider-component.text-right {
        flex-direction: column;
        min-height: 500px;
    }

    .text-slider-component.text-left .component-text,
    .text-slider-component.text-right .component-text {
        padding: 1.5rem;
    }

    .text-slider-component .component-slider-container, 
    .text-slider-component .component-slider,
    .text-slider-component .component-slide {
        min-height: 250px;
    }

    /* Grid System Responsive */
    .components-grid.grid-2,
    .components-grid.grid-3,
    .components-grid.grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer Responsive */
    .footer {
        padding: 2rem 1.5rem;
    }

    .social-icons {
        gap: 1.5rem;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    /* Video Modal Component Responsive */
    .video-modal-component {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .video-modal-component h3 {
        font-size: 1.5rem;
    }

    .video-modal-component p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .video-play-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 85vh;
        margin: 1rem;
    }

    .modal-close {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* Landscape Mode Support */
@media (orientation: landscape) and (max-height: 500px) {
    .navigation {
        padding: 0.5rem 0;
        height: auto;
    }

    .nav-logo {
        max-width: 60px;
    }

    .parallax-heading {
        height: 40vh !important;
        min-height: 200px;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        overflow: hidden;
    }

    .slider-container {
        height: 50vh;
        min-height: 250px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    /* Removed conflicting grid-4 rule to keep single column on all mobile */

    .modal-content {
        max-width: 98vw;
        max-height: 90vh;
        margin: 0.5rem;
    }

    .modal-close {
        top: -5px;
        right: -5px;
        width: 30px;
        height: 30px;
    }

    /* Touch optimizations */
    .video-play-button,
    .nav-menu a {
        min-height: 44px; /* Apple's minimum touch target */
    }

    .video-modal-component {
        padding: 2rem 1.5rem;
    }
}

/* Very Small Screens */
@media (max-width: 350px) {
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }

    .nav-logo {
        max-width: 80px;
    }
}

/* Micro Screens */
@media (max-width: 320px) {
    .content-section {
        padding: 0 1rem;
    }

    .parallax-content {
        padding: 2rem 1rem;
    }

    .parallax-content h2 {
        font-size: 1.3rem;
    }

    /* grid-4 already single column from 768px rule, no need to repeat */
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .parallax-heading {
        background-attachment: scroll !important;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .mobile-menu-toggle {
        -webkit-appearance: none !important;
        outline: none !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
        touch-action: manipulation;
    }

    .hamburger-line {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform, opacity;
    }
}