.about-hero > *,
.about-topics > *,
.speakers-grid > *,
.contacts-grid > *,
.photobank-teaser > *,
.album-grid > *,
.photo-mosaic > * {
    min-width: 0;
}

.hero-detail,
.program-content,
.speaker-info,
.contact-card,
.photobank-teaser-text,
.photobank-slide,
.album-view-title,
.lightbox-caption {
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    .nav-logo {
        flex-shrink: 0;
    }

    .nav-logo-img {
        height: 38px;
    }

    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 100%);
        height: 100vh;
        height: 100dvh;
        background: white;
        flex-direction: column;
        padding: 80px 30px max(30px, env(safe-area-inset-bottom));
        gap: 0;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform var(--transition), visibility var(--transition);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform var(--transition);
    }

    body.nav-open {
        overflow: hidden;
    }

    .nav-links a {
        color: var(--text);
        font-size: 1.1rem;
        padding: 14px 0;
        border-bottom: 1px solid var(--gray);
        display: block;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible,
    .nav-links a.nav-link-active {
        color: var(--blue);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--text);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: var(--text);
    }

    .hero-logos {
        --hero-logo-size: 46px;
        gap: 20px 28px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photobank-teaser {
        gap: 28px;
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .organization-actions {
        width: 100%;
        gap: 8px;
        align-items: stretch;
    }

    .organization-actions .speaker-topic,
    .organization-actions .organization-booth-toggle {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        margin-left: 0;
        white-space: normal;
        font-size: .9rem;
    }

    .about-topic-card {
        text-align: center;
    }

    .about-topic-icon-wrap {
        margin-inline: auto;
    }

    .speaker-card--org .speaker-brand img {
        max-width: 195px;
        max-height: 41.6px;
    }

    .publication-card {
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .about-section,
    .speakers-section,
    .program-section,
    .partners-section,
    .photobank-teaser-section,
    .registration-section,
    .video-section,
    .publications-section,
    .contacts-section,
    .photobank-main {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    body > section h2,
    main > section h2 {
        margin-bottom: 22px;
    }

    .section-subtitle {
        margin-bottom: 32px;
        font-size: 1rem;
    }

    #hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 116px 20px 48px;
    }

    .hero-details {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        margin-bottom: 32px;
    }

    .hero-detail {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-detail span {
        min-width: 0;
    }

    .hero-logos {
        --hero-logo-size: 42px;
        gap: 20px 28px;
        margin-top: 38px;
        padding-top: 22px;
    }

    .about-hero {
        margin-bottom: 50px;
    }

    .about-stats {
        padding: 28px 24px;
    }

    .about-topics {
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
        margin: 0 auto 40px;
    }

    .video-teaser-play {
        width: 68px;
        height: 68px;
    }

    .video-teaser-play svg {
        width: 28px;
        height: 28px;
    }

    .video-teaser-caption {
        left: 20px;
        bottom: 18px;
        right: 20px;
    }

    .video-teaser-caption strong {
        font-size: 1rem;
    }

    .speakers-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 400px;
        margin: 0 auto;
    }

    .program-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 16px 18px;
    }

    .program-time {
        font-size: 0.85rem;
    }

    .program-title {
        font-size: 0.95rem;
    }

    .program-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .partner-strategic {
        padding: 32px 24px;
    }

    .photobank-teaser {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 32px 24px;
    }

    .photobank-teaser-text,
    .photobank-teaser-text h2 {
        text-align: center;
    }

    .photobank-teaser-btn {
        padding: 14px 20px;
    }

    .photobank-teaser-btn svg {
        flex-shrink: 0;
    }

    .photobank-carousel-viewport {
        height: 260px;
    }

    .photobank-carousel-arrow {
        top: 111px;
    }

    .contacts-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-card,
    .venue {
        padding: 28px 22px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .scroll-top svg {
        width: 18px;
        height: 18px;
    }

    .photobank-hero {
        padding: 120px 0 48px;
    }

    .photobank-hero h1 {
        font-size: 2.1rem;
    }

    .photobank-subtitle {
        font-size: 1.02rem;
    }

    .photobank-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .photobank-search {
        flex: 0 1 auto;
    }

    .photobank-search input {
        font-size: 1rem;
    }

    .photo-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 150px;
    }

    .lightbox {
        padding: 72px 16px 24px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .lightbox-figure {
        max-width: 100%;
        min-width: 0;
        margin: auto;
    }

    .lightbox-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .lightbox-photo,
    .lightbox-img {
        max-height: 56vh;
        max-height: 56dvh;
    }

    .lightbox-close {
        top: max(16px, env(safe-area-inset-top));
    }

    .lightbox-arrow {
        width: 44px;
        height: 44px;
    }

    .lightbox-arrow--prev {
        left: 8px;
    }

    .lightbox-arrow--next {
        right: 8px;
    }
}

@media (max-width: 680px) {
    .hero-lockup {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 28px;
    }

    .hero-tmks-logo {
        width: 118px;
    }

    .hero-tmks-code {
        font-size: 1.45rem;
    }

    .hero-lockup-divider {
        width: 100%;
        max-width: 240px;
        height: 1.5px;
        align-self: center;
    }

    .hero-lockup-body {
        align-items: center;
    }

    .hero-kicker,
    #hero h1 {
        text-align: center;
    }

    .hero-kicker-roman {
        display: none;
    }

    .hero-kicker-mobile-number {
        display: inline;
    }
}

@media (max-width: 560px) {
    .album-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-logo-img {
        height: 34px;
    }

    .hero-content {
        padding: 100px 16px 48px;
    }

    #hero h1 {
        font-size: clamp(1.72rem, 7.2vw, 2.05rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-logos {
        --hero-logo-size: 40px;
        gap: 18px 24px;
    }

    .about-stat-number {
        font-size: 1.5rem;
    }

    .about-topic-card,
    .speaker-card {
        padding: 24px 20px;
    }

    .video-teaser {
        border-radius: 12px;
        aspect-ratio: 4 / 3;
    }

    .video-teaser.is-playing,
    .video-teaser.is-paused {
        aspect-ratio: 16 / 9;
    }

    .video-teaser-play {
        width: 56px;
        height: 56px;
    }

    .video-teaser-play svg {
        width: 24px;
        height: 24px;
    }

    .video-teaser-caption small {
        font-size: 0.78rem;
    }

    .program-item {
        padding: 14px;
        border-left-width: 3px;
    }

    .program-block-header h3 {
        font-size: 1.15rem;
    }

    .publication-card {
        padding: 22px 20px;
    }

    .partners-grid {
        gap: 12px;
    }

    .partners-grid .partner-logo {
        min-width: 0;
        min-height: 96px;
        height: auto;
        padding: 14px 12px;
    }

    .partners-grid .partner-logo img {
        max-height: 56px;
    }

    .partner-strategic img {
        max-height: 64px;
    }

    .photobank-teaser {
        padding: 24px 16px;
        gap: 24px;
    }

    .photobank-teaser-btn {
        padding: 14px 12px;
        font-size: 1rem;
    }

    .photobank-carousel-viewport {
        height: 220px;
    }

    .photobank-slide {
        aspect-ratio: auto;
        padding: 16px 48px 18px;
    }

    .photobank-slide strong {
        font-size: 0.92rem;
    }

    .photobank-slide small {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .photobank-carousel-arrow {
        width: 40px;
        height: 40px;
        top: 90px;
    }

    .photobank-carousel-arrow--prev {
        left: 4px;
    }

    .photobank-carousel-arrow--next {
        right: 4px;
    }

    .reg-form {
        padding: 20px 14px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-card a {
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .photobank-hero h1 {
        font-size: 1.8rem;
    }

    .breadcrumbs {
        flex-wrap: wrap;
    }

    .btn-back {
        padding: 12px 18px;
    }

    .photo-mosaic {
        grid-auto-rows: 112px;
        gap: 10px;
    }

    .photo-thumb {
        padding: 0;
    }

    .photo-thumb-caption {
        display: none;
    }
}

@media (max-height: 480px) and (orientation: landscape) {
    .lightbox {
        padding: 52px 64px 12px;
    }

    .lightbox-photo,
    .lightbox-img {
        max-height: 50vh;
        max-height: 50dvh;
    }

    .lightbox-caption {
        flex-direction: row;
        align-items: baseline;
        font-size: 0.85rem;
        padding-top: 8px;
    }
}
