﻿@media (min-width: 1920px) {
  section {
    max-width: 1440px;
    margin: 5% auto;
  }
  .hero {
    max-width: none;
  }
  .site-footer {
    padding: 5rem 20rem;
  }
}
@media (max-width: 1024px) {
  .home-page .home-project-card h3 {
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    margin-top: 16px;
  }
  .home-page .home-project-card p {
    font-style: Regular;
    font-size: 12px;
  }
  .home-page .project-stage {
    flex-direction: column;
  }
  .home-hero-text h1 {
    font-weight: 900;
    font-size: 32px;
    padding: 0 50px;
  }
  .home-hero-text p {
    font-size: 16px;
  }
  .home-hero-text a {
    padding: 12px 20px;
  }
  .home-container {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 20px 30px;
  }
  .home-container .mission-card {
    flex: none;
  }
  .home-container .mission-card-image {
    width: 100%;
  }
  .blog-image {
    height: 275px;
  }
  .blog-title {
    font-size: 24px;
  }
  .album-banner {
    height: 348.26px;
  }
  .album-grid {
    margin: 1% 36px;
    width: calc(100% - 72px);
    max-width: 100%;
    box-sizing: border-box;
  }
  .gallery-grid,
  .media-grid.imagesection {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 20px;
  }
  .project-grid,
  .media-grid:not(.imagesection) {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-page .hero {
    justify-content: center;
    text-align: center;
  }
  .about-container {
    flex-direction: column;
    padding: 20px 30px;
  }
  .approach {
    max-width: 100%;
  }
  .project-hero {
    height: 420px;
  }
  .project-hero-overlay h1 {
    font-size: 32px;
  }
  .project-hero-overlay p {
    font-size: 15px;
  }
  .gallery-item p {
    text-shadow: 0px 0px 6px rgb(0, 0, 0);
  }
  .contact-content {
    margin: 5% 0;
  }
  .matches-table .th, .matches-table .td {
    padding: 10px 12px;
  }
  .mr-card {
    width: 200px;
    flex: auto;
    padding: 0.5rem;
  }
  .match-records-wrapper {
    padding: 0;
  }
  .davis-cup-record .record-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  p {
    font-size: 14px;
  }
  header {
    padding: 2rem;
  }
  .hero {
    height: 45vh;
    padding: 0;
  }
  section {
    margin: 5% 36px;
  }
  .hero h1 {
    font-size: 68px;
    line-height: normal;
  }
  .hero-content {
    text-align: center;
    width: 100%;
    align-items: center;
  }
  .dropdown-column {
    text-align: center;
  }
  .dropdown-column li {
    min-width: 100px;
  }
  .dropdown-column li a:hover::after {
    width: 0;
  }
  .dropdown {
    width: 100%;
    height: 90vh;
    flex-direction: column;
    text-align: center;
  }
  .home-hero-text h1 {
    font-weight: 900;
    font-size: 20px;
    padding: 0 50px;
  }
  .home-hero-text p {
    font-size: 14px;
  }
  .home-hero-text a {
    font-size: 14px;
    padding: 10px 16px;
  }
  .about-section {
    height: fit-content;
  }
  .about-wrapper {
    height: fit-content;
    padding-right: 0;
    flex-direction: column;
  }
  .about-image {
    width: 100%;
    height: 280px;
  }
  .about-image img {
    object-position: center 40%;
  }
  .about-content {
    width: 100%;
    margin-bottom: 3rem;
  }
  .ab-info-section {
    height: fit-content;
    padding: 3rem 1rem;
  }
  .ab-info-text {
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
  }
  .headlines-section .player-card-image img {
    object-position: center 10%;
  }
  .headlines-section-content {
    flex-direction: column-reverse;
    gap: 3rem;
  }
  .headlines-section-content .player-card-image {
    width: 100%;
    height: 280px;
    inset: 0;
    position: static;
  }
  .timeline-wrapper {
    margin-top: 3%;
    flex-direction: column;
  }
  .timeline-line {
    width: 2px;
    top: 0;
    bottom: 0;
    height: 100%;
    transform: none;
    left: 50%;
  }
  .timeline-item {
    flex-direction: row;
    width: 50%;
  }
  .timeline-item.top {
    padding: 0;
    right: 24%;
  }
  .timeline-item.top .timeline-card::after {
    display: none;
  }
  .timeline-item.top .timeline-card.highlight::after {
    display: none;
  }
  .timeline-item.bottom {
    padding: 0;
    left: 24%;
  }
  .timeline-item.bottom .timeline-card::after {
    display: none;
  }
  .timeline-item.bottom .timeline-card.highlight::after {
    display: none;
  }
  .timeline-card {
    height: fit-content;
  }
  .news-lu-wrapper {
    height: fit-content;
  }
  .news-lu-main {
    flex: content;
  }
  .statistics-cards {
    flex-direction: column;
    gap: 10px;
  }
  .stat {
    width: 80%;
    padding: 20px 15px;
  }
  .owl-nav .owl-prev {
    left: -30px;
  }
  .owl-nav .owl-next {
    right: -30px;
  }
  .testimonials {
    padding: 30px;
    text-align: center;
  }
  .team-members,
  .overview-cards,
  .impact-cards {
    flex-direction: column;
  }
  .gallery-inner {
    width: 94%;
    padding: 0 16px;
  }
  .gallery-title {
    margin-bottom: 12px;
  }
  .gallery-filter-row {
    flex-wrap: wrap;
    padding-bottom: 1rem;
    gap: 8px;
  }
  .gallery-filter-row .gallery-dropdown {
    min-width: 90px;
    max-width: 140px;
    height: 30px;
    font-size: 12px;
    padding: 5px 24px 5px 8px;
    background-position: right 6px center;
  }
  .projects-filter {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    align-items: stretch;
  }
  .search-container {
    max-width: none;
    min-width: 0;
  }
  .search-filter {
    flex-direction: column;
  }
  .search-filter select {
    width: 100%;
    min-width: 0;
  }
  .gallery-media {
    padding: 1.5rem 2.5rem;
  }
  .gallery-grid,
  .media-grid.imagesection {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-grid,
  .media-grid:not(.imagesection) {
    grid-template-columns: 1fr;
  }
  .project-grid {
    padding: 0;
    width: 80%;
    margin: 0 auto;
  }
  .inner-project .container {
    padding: 0 20px;
  }
  .project-image img {
    height: 280px;
  }
  .project-content {
    padding: 24px 20px;
  }
  .project-title {
    font-size: 1.75rem;
  }
  .project-meta {
    flex-direction: column;
  }
  .overview-cards {
    text-align: center;
  }
  .contact-content {
    flex-direction: column;
  }
  .name-email {
    flex-direction: column;
  }
  .table-wrapper {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .matches-table {
    display: block;
  }
  .matches-table .thead {
    display: none;
  }
  .matches-table .tbody, .matches-table .tr, .matches-table .td {
    display: block;
    width: 100%;
  }
  .matches-table .tr {
    padding: 16px;
    border-bottom: 1px solid #eee;
  }
  .matches-table .td {
    padding: 8px 0;
    border: none;
    position: relative;
    padding-left: 50%;
  }
  .matches-table .td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    padding-right: 10px;
    font-weight: 600;
    color: #666;
  }
  .matches-table .td:last-child {
    border-bottom: none;
  }
  .match-records-wrapper {
    flex-wrap: wrap;
    padding: 0;
  }
  .ab-award {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .ab-featured-wrapper {
    padding: 0;
    flex-direction: column;
  }
  .ab-featured-wrapper .ab-featured-card {
    width: 100%;
  }
  .ab-featured-card-image {
    height: 260px;
  }
  .tournaments-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  .tournaments-wrapper .tournament-card {
    width: 100%;
  }
  .appearance-content-heading {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .appearance-item .appearance-date {
    border: none;
  }
  .appearance-list {
    margin: 0;
  }
  .news-lu-wrapper {
    height: fit-content;
  }
  .ab-highlights-wrapper {
    flex-direction: column;
  }
  .ab-highlights-wrapper .ab-highlights-card {
    width: 100%;
  }
  .ab-highlights-card-image {
    height: 300px;
  }
  .news-lu-side {
    flex: content;
  }
  .news-lu-side p {
    display: none;
  }
  .bio-header {
    padding: 1.5rem 2.5rem;
    flex-direction: column;
    gap: 2rem;
    justify-content: left;
  }
  .bio-content {
    display: flex;
    flex-direction: column-reverse;
  }
  .bio-image {
    height: 280px;
  }
  .bio-image img {
    object-position: center 10%;
  }
  .ch-wrapper {
    grid-template-columns: 1fr;
    margin: 0;
  }
  .ch-card {
    min-height: 400px;
  }
  .ch-featured-card {
    grid-column: span 1;
  }
  .mission-section {
    max-height: fit-content;
    margin: 10% 0;
  }
  .mission-section .mission-text {
    font-size: 20px;
  }
  .davis-cup-record .davis-cup-wrapper {
    flex-direction: column;
  }
  .davis-cup-record .davis-cup-profile {
    width: 100%;
    min-width: 0;
    height: fit-content;
    margin: 0 0 15px;
    padding: 12px 32px;
    flex-direction: row;
    justify-content: center;
  }
  .davis-cup-record .davis-cup-logo {
    min-width: 75px;
    min-height: 75px;
    width: 100px;
    height: 100px;
  }
  .davis-cup-record .davis-cup-content {
    padding: 0;
  }
  .davis-cup-record .profile-link {
    width: fit-content;
  }
  .davis-cup-record .record-header {
    margin-bottom: 10px;
    justify-content: center;
  }
  .davis-cup-record .record-stats {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    place-items: center;
  }
  .davis-cup-record .stat {
    height: 100px;
  }
  .davis-cup-record .stat .stat-value {
    font-size: 40px;
  }
  .daviscup-journey .about-wrapper {
    height: fit-content;
    flex-direction: column;
    background: transparent;
    padding-right: 0;
  }
  .itf-mission-section {
    padding: 2rem;
  }
  .itf-mission-section .mission-text {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .update-main {
    flex: content;
    height: 275px;
  }
  .update-main p {
    display: none;
  }
  .update-main h3 {
    font-size: 18px;
  }
  .davis-cup-record .davis-cup-logo {
    width: 75px;
    height: 75px;
  }
  .davis-cup-record .stat .stat-label {
    font-size: 12px;
    letter-spacing: 0px;
  }
}
