/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop */
@media (min-width: 1441px) {
    :root {
        --container-padding: 40px;
    }
}

/* Desktop */
@media (max-width: 1440px) {
    .carousel__card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__image {
        grid-column: 1;
        grid-row: auto;
        min-height: 300px;
    }

    .about__stats {
        grid-column: 1;
        grid-row: auto;
    }

    .featured-podcasts__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__about {
        grid-column: 1 / -1;
    }

    .carousel__card {
        flex: 0 0 calc(50% - 12px);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --container-padding: 20px;
    }

    .header__nav {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .hero__title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        text-align: center;
        justify-content: center;
    }

    .hero__scroll {
        bottom: 24px;
    }

    .about {
        padding: 80px 0;
    }

    .about__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .about__stat {
        min-width: 100px;
    }

    .featured-volunteers {
        padding: 60px 0 80px;
    }

    .carousel__card {
        flex: 0 0 calc(80% - 12px);
        min-width: 260px;
    }

    .featured-podcasts {
        padding: 60px 0 80px;
    }

    .featured-podcasts__grid {
        grid-template-columns: 1fr;
    }

    .quote-section {
        padding: 80px 0;
    }

    .archive-cta__inner {
        padding: 48px 24px;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .volunteers-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }

    .podcasts-grid {
        grid-template-columns: 1fr;
    }

    .podcasts-grid .podcast-card:first-child .podcast-card__image {
        aspect-ratio: 16 / 9;
    }

    .volunteer-page__hero {
        aspect-ratio: 4 / 3;
    }

    .volunteer-page__info {
        gap: 16px;
    }

    .audio-player__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .audio-player__cover {
        width: 100%;
        height: 60px;
        border-radius: var(--radius-small);
    }

    .audio-player__controls {
        flex-wrap: wrap;
    }

    .audio-player__progress-wrapper {
        flex: 1;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .other-stories__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero__title {
        font-size: clamp(2.2rem, 14vw, 4rem);
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .about__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .about__stats {
        gap: 16px;
    }

    .about__stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .carousel__card {
        flex: 0 0 calc(90% - 12px);
    }

    .carousel__card-content {
        padding: 16px;
    }

    .carousel__card-name {
        font-size: 1.1rem;
    }

    .volunteers-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-card__image {
        aspect-ratio: 4 / 3;
    }

    .search-wrapper {
        max-width: 100%;
    }

    .filters-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .volunteer-page__name {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .volunteer-page__gallery {
        grid-template-columns: 1fr;
    }

    .podcast-page__title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .podcast-card__content {
        padding: 16px;
    }

    .podcast-card__title {
        font-size: 1rem;
    }

    .other-stories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .other-stories__card-content {
        padding: 12px;
    }

    .other-stories__card-name {
        font-size: 0.85rem;
    }

    .mobile-menu a {
        font-size: 1.5rem;
    }

    .page-hero__title {
        font-size: clamp(2rem, 10vw, 4rem);
    }
}

/* Very small mobile */
/* @media (max-width: 360px) {
    :root {
        --container-padding: 80px;
    }

    .header__logos {
        gap: 10px;
    }

    .header__logo {
        width: 44px;
        height: 44px;
    }

    .header__logo img {
        width: 28px;
        height: 28px;
    }
}*/
@media (max-width: 768px) {
    .header__logo {
        width: 60px;
        height: 60px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .header__logo {
        width: 50px;
        height: 50px;
        padding: 5px;
    }
}
/* Landscape orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero__scroll {
        display: none;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .carousel__controls,
    .hero__scroll,
    .audio-player {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    .hero {
        height: auto;
        min-height: auto;
    }
}






/* Volunteer page new layout - Tablet */
@media (max-width: 1024px) {
    .volunteer-page__grid {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
}

/* Volunteer page new layout - Mobile */
@media (max-width: 768px) {
    .volunteer-page--new-layout {
        padding-top: calc(var(--header-height) + 20px);
    }

    .volunteer-page__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .volunteer-page__sidebar {
        position: relative;
        top: 0;
        max-width: 300px;
        margin: 0 auto;
    }

    .volunteer-page__photo {
        border-radius: var(--radius-medium);
    }

    .volunteer-page__name {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        text-align: center;
    }

    .volunteer-page__info {
        justify-content: center;
        gap: 16px;
    }

    .volunteer-page__story p {
        font-size: 1rem;
    }
}

/* Volunteer page new layout - Small mobile */
@media (max-width: 480px) {
    .volunteer-page__sidebar {
        max-width: 100%;
    }

    .volunteer-page__photo img {
        aspect-ratio: 4 / 3;
    }

    .volunteer-page__name {
        font-size: 1.8rem;
    }
}