@media (min-width: 1440px) {
    .media-panel {
        padding: 4rem 3rem 5rem 3rem;
    }
    
    .embedded-video {
        max-height: 70dvh;
    }
}

@media (max-width: 1024px) {
    .logo-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .btn {
        white-space: nowrap;
    }
    
    .text-panel {
        padding: 3rem;
    }
    
    .media-panel {
        padding: 2rem;
    }
}

@media (max-width: 880px), (orientation: portrait) {
    .link-card {
        flex-direction: column;
        height: calc(100dvh - 120px);
        min-height: unset;
    }
    
    .link-card::before {
        top: 0;
        left: 20px;
        right: 20px;
        bottom: auto;
        width: auto;
        height: 4px;
    }
    
    .text-panel {
        max-width: 100%;
        padding: 1rem 1.5rem 0.5rem 1.5rem;
        flex: 0 0 auto;
        min-height: auto;
        justify-content: flex-start;
    }
    
    .media-panel {
        max-width: 100%;
        padding: 1rem 1rem 1.5rem 1rem;
        flex: 1 1 auto;
        min-height: 0;
        box-shadow: 0 -10px 30px rgba(3,10,15,0.1);
    }
    
    .link-card p {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        line-height: 1.35;
    }
    
    .container {
        padding: 0;
        padding-top: 0;
    }
    
    .link-card {
         scroll-margin-top: var(--mobile-scroll-margin, 120px) !important; 
    }
    
    .scroll-arrow {
        padding: 8px 12px;
        min-width: 40px;
    }
    
    .scroll-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .scroll-arrow-text {
        font-size: 0.8rem;
    }
    
    .embedded-video {
        max-height: 30dvh;
        margin: 0.5rem auto;
    }
    
    .panel-number {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }    
    .intro-content {
        padding: 0;
    }
    
    .intro-section p {
        font-size: 1.4rem;
        margin: 0;
    }
    
    .closing-section {
        flex-direction: column;
        height: calc(100dvh - 120px) !important;
        min-height: calc(100dvh - 120px) !important;
    }
    
    .closing-section .text-panel.full-width {
        padding: 2rem;
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .closing-section .text-panel.full-width p {
        margin: 0;
    }
    
    .button-panel {
        width: 100%;
        box-shadow: 0 -10px 30px rgba(3,10,15,0.1);
        padding: 2rem;
        min-height: auto;
        flex: 0 0 auto;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .panel-button {
        margin-top: 0.5rem;
    }
    
    .panel-button .btn {
        font-size: 0.85rem;
    }
}