/* 
 * 吉尔吉斯斯坦国立医科大学网站样式
 * 响应式样式
 */

/* 响应式布局调整 */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .header-container {
    padding: 0.5rem 15px;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 0 0 1rem 0;
  }
  
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: auto;
    padding: 0;
    margin: 0.5rem 0 0 1rem;
    display: none;
  }
  
  .nav-item.active .nav-dropdown {
    display: block;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .program-cards,
  .research-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .program-cards,
  .research-grid,
  .news-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .clinical-container {
    flex-direction: column;
  }
  
  .clinical-image {
    margin-bottom: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-about,
  .footer-links,
  .footer-contact {
    text-align: center;
  }
  
  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo-title {
    font-size: 1.2rem;
  }
  
  .logo-subtitle {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .program-card,
  .news-card {
    max-width: 100%;
  }
}

/* 打印样式 */
@media print {
  .header,
  .footer,
  .hero-buttons,
  .mobile-toggle,
  .search-btn,
  .language-switch {
    display: none !important;
  }
  
  .hero {
    height: auto;
    min-height: auto;
    background: none;
    color: #000;
    margin-top: 0;
    padding: 2rem 0;
  }
  
  .hero-title,
  .hero-subtitle {
    color: #000;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .container {
    max-width: 100%;
  }
  
  a {
    text-decoration: none !important;
    color: #000 !important;
  }
  
  .program-cards,
  .research-grid,
  .news-grid,
  .achievement-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .achievement-item {
    background: none;
    color: #000;
  }
  
  .achievement-number,
  .achievement-text {
    color: #000;
  }
}
