/* ==========================================
   Inner page redesign layer
   ========================================== */

:root {
  --inner-bg: #F5F8FC;
  --inner-surface: #FFFFFF;
  --inner-ink: #243044;
  --inner-muted: #5B6B82;
  --inner-soft: #E2E8F0;
  --inner-blue: #1B4E8F;
  --inner-blue-deep: #102F59;
  --inner-teal: #0B7F73;
  --inner-shadow: 0 8px 20px rgba(25, 48, 76, 0.08);
  --inner-shadow-hover: 0 16px 34px rgba(25, 48, 76, 0.13);
}

body {
  background:
    linear-gradient(180deg, #FFFFFF 0%, var(--inner-bg) 28%, #FFFFFF 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(27, 78, 143, 0.05), transparent 30%),
    radial-gradient(circle at 86% 42%, rgba(11, 127, 115, 0.05), transparent 28%);
}

.page-banner,
.page-header,
.resources-header,
.contact-header,
.faq-header,
.teachers-banner,
.honors-banner {
  position: relative;
  min-height: 420px;
  padding: 132px 0 86px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 28, 54, 0.92) 0%, rgba(27, 78, 143, 0.72) 46%, rgba(11, 127, 115, 0.28) 100%),
    url('../img/bg.jpg') center 44% / cover no-repeat;
}

.page-banner::after,
.page-header::after,
.resources-header::after,
.contact-header::after,
.faq-header::after,
.teachers-banner::after,
.honors-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 96px;
  background: linear-gradient(180deg, rgba(245, 248, 252, 0), var(--inner-bg));
  z-index: 2;
}

.page-banner .container,
.page-header .container,
.resources-header .container,
.contact-header .container,
.faq-header .container,
.teachers-banner .container,
.honors-banner .container {
  position: relative;
  z-index: 3;
}

.banner-overlay,
.teachers-banner .banner-bg,
.teachers-banner .banner-pattern,
.honors-banner .banner-bg,
.honors-banner .banner-pattern,
.faq-header::before {
  display: none;
}

.banner-content {
  text-align: left;
}

.page-banner-title,
.page-title,
.banner-title,
.faq-header .page-title,
.resources-header .page-title,
.contact-header .page-title,
.teachers-banner .banner-title,
.honors-banner .banner-title {
  max-width: 760px;
  margin: 0 0 18px;
  display: block;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 6px 24px rgba(7, 21, 40, 0.28);
  animation: none;
}

.title-word {
  opacity: 1;
  transform: none;
  animation: none;
}

.banner-title .title-word + .title-word {
  margin-left: 0.08em;
}

.page-banner-subtitle,
.page-subtitle,
.banner-subtitle,
.faq-header .page-subtitle,
.resources-header .page-subtitle,
.contact-header .page-subtitle,
.teachers-banner .banner-subtitle,
.honors-banner .banner-subtitle {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.75;
  font-weight: 400;
  text-align: left;
  animation: none;
  opacity: 1;
}

.page-banner .breadcrumb,
.page-header .breadcrumb,
.resources-header .breadcrumb,
.contact-header .breadcrumb,
.faq-header .breadcrumb {
  justify-content: flex-start;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.page-banner .breadcrumb a,
.page-header .breadcrumb a,
.resources-header .breadcrumb a,
.contact-header .breadcrumb a,
.faq-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.84);
}

.page-banner .breadcrumb-item:not(:last-child)::after,
.page-header .breadcrumb-item:not(:last-child)::after,
.resources-header .breadcrumb-item:not(:last-child)::after,
.contact-header .breadcrumb-item:not(:last-child)::after,
.faq-header .breadcrumb-item:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.55);
}

.scroll-indicator {
  display: none;
}

.section-title,
.section-header,
.cases-carousel-section .section-title,
.cases-list-section .section-title {
  max-width: 1180px;
  margin: 0 auto 42px;
  padding: 0;
  text-align: left;
}

.section-title::after,
.cases-carousel-section .section-title::after,
.cases-list-section .section-title::after,
.section-title-main::after {
  display: none;
}

.section-title-main,
.section-title,
.section-header .section-title,
.form-header h2,
.content-header h2 {
  color: var(--inner-ink);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-title-sub,
.section-subtitle,
.form-header p,
.content-header p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--inner-muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.company-video-section,
.company-intro,
.timeline-section,
.business-section,
.culture-section,
.honors-section,
.teachers-section,
.resources-grid-section,
.news-list-section,
.cases-carousel-section,
.cases-list-section,
.featured-honors-section,
.partners-section,
.media-section,
.faq-section,
.contact-cards-section,
.contact-form-section,
.location-section,
.related-articles,
.comments-section,
.related-cases,
.case-cta-section,
.stats-section,
.honors-filter-section,
.cta-section,
.faq-cta {
  background: transparent;
}

.company-video-section,
.company-intro,
.timeline-section,
.business-section,
.culture-section,
.honors-section,
.teachers-section,
.resources-grid-section,
.news-list-section,
.cases-carousel-section,
.cases-list-section,
.featured-honors-section,
.partners-section,
.media-section,
.faq-section,
.contact-cards-section,
.contact-form-section,
.location-section,
.stats-section,
.honors-filter-section {
  padding: 88px 0;
}

.categories-section,
.honors-filter-section {
  position: relative;
  margin-top: -34px;
  padding: 0 0 28px;
  background: transparent;
  z-index: 5;
}

.categories-filter,
.teacher-filters,
.filter-tabs,
.filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding: 14px;
  margin: 0 0 36px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--inner-shadow);
}

.teacher-search-wrapper {
  margin: -18px 0 22px;
}

.search-box,
.resources-header .search-box {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--inner-shadow);
}

.resources-header .search-box {
  margin-top: 30px;
}

.search-input,
.search-box input {
  color: var(--inner-ink);
}

.category-btn,
.filter-btn,
.filter-tab,
.faq-category-btn {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-full);
  background: #F7FAFD;
  color: var(--inner-ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

.category-btn:hover,
.filter-btn:hover,
.filter-tab:hover,
.faq-category-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 78, 143, 0.36);
  background: #FFFFFF;
  color: var(--inner-blue);
}

.category-btn.active,
.filter-btn.active,
.filter-tab.active,
.faq-category-btn.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 72%, var(--inner-teal) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 22px rgba(27, 78, 143, 0.16);
  transform: none;
}

.filter-line,
.filter-line-active {
  display: none;
}

.video-wrapper,
.intro-image img,
.timeline-visual,
.resource-card,
.news-list-item,
.interview-card,
.case-carousel-item,
.honor-card,
.partner-card,
.media-card,
.contact-card,
.form-wrapper,
.location-card,
.faq-categories,
.faq-item,
.article-content,
.sidebar-widget,
.sidebar-cta,
.author-card,
.case-content,
.profile-card,
.user-card,
.sidebar-nav,
.section-card,
.login-card,
.register-card,
.stat-card,
.quick-btn,
.activity-list,
.checkin-card,
.points-card,
.info-card,
.security-item {
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 16px;
  box-shadow: var(--inner-shadow);
  background: rgba(255, 255, 255, 0.96);
}

.resource-card:hover,
.news-list-item:hover,
.interview-card:hover,
.case-carousel-item:hover,
.honor-card:hover,
.partner-card:hover,
.media-card:hover,
.contact-card:hover,
.faq-item:hover,
.quick-btn:hover,
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--inner-shadow-hover);
  border-color: rgba(27, 78, 143, 0.28);
}

.resources-grid,
.featured-grid,
.contact-cards,
.teachers-grid,
.cases-list,
.media-grid,
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.resources-grid {
  align-items: stretch;
}

.resource-card {
  overflow: hidden;
}

.resource-image,
.news-list-image,
.interview-card-cover,
.honor-image-wrapper {
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(27, 78, 143, 0.1), rgba(11, 127, 115, 0.08));
}

.resource-image::before,
.news-list-image::before,
.interview-card-cover::before,
.honor-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(16, 47, 89, 0.16) 0%, rgba(27, 78, 143, 0.08) 50%, rgba(11, 127, 115, 0.14) 100%),
    radial-gradient(circle at 26% 28%, rgba(255, 255, 255, 0.72), transparent 20%),
    radial-gradient(circle at 74% 78%, rgba(255, 255, 255, 0.58), transparent 22%);
}

.resource-card.document .resource-image::before {
  content: '\f1c1';
}

.resource-card.video .resource-image::before {
  content: '\f144';
}

.resource-card.article .resource-image::before,
.news-list-image::before,
.interview-card-cover::before {
  content: '\f02d';
}

.honor-image-wrapper::before {
  content: '\f091';
}

.resource-image::before,
.news-list-image::before,
.interview-card-cover::before,
.honor-image-wrapper::before {
  display: grid;
  place-items: center;
  color: rgba(27, 78, 143, 0.62);
  font-family: FontAwesome;
  font-size: clamp(40px, 7vw, 72px);
}

.resource-image::after,
.news-list-image::after,
.interview-card-cover::after,
.honor-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 40, 0), rgba(7, 21, 40, 0.18));
  pointer-events: none;
}

.resource-image img,
.news-list-image img,
.interview-card-cover img,
.honor-image {
  position: relative;
  z-index: 1;
}

.resource-type-badge,
.interview-card-tag,
.honor-type,
.tag,
.tag-accent,
.tag-secondary,
.case-tag {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-full);
  background: rgba(27, 78, 143, 0.92);
  color: #FFFFFF;
  font-weight: 600;
}

.resource-content,
.news-list-content,
.interview-card-body,
.honor-content {
  padding: 24px;
}

.resource-title,
.news-list-title a,
.interview-card-title,
.honor-name,
.teacher-name,
.case-name {
  color: var(--inner-ink);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.resource-desc,
.news-list-excerpt,
.interview-card-excerpt,
.honor-desc,
.teacher-courses p,
.case-undergraduate,
.article-content p,
.case-content p {
  color: var(--inner-muted);
}

.resource-btn,
.news-list-more,
.interview-card-more,
.btn-load-more,
.btn-view-more,
.copy-btn,
.view-map-btn,
.qr-btn,
.copy-address-btn,
.submit-btn,
.btn-checkin,
.btn-code,
.btn-primary,
.pagination-go-btn {
  border-radius: var(--radius-full);
}

.download-btn,
.submit-btn,
.btn-code,
.btn-checkin,
.pagination-go-btn {
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 72%, var(--inner-teal) 100%);
}

.play-btn {
  background: linear-gradient(135deg, var(--inner-teal) 0%, #06665D 100%);
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-list-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  overflow: hidden;
}

.news-list-image {
  width: 100%;
  height: 100%;
  min-height: 232px;
  position: relative;
}

.news-list-image img,
.interview-card-cover img,
.resource-image img,
.honor-image {
  filter: saturate(0.96) contrast(1.02);
}

.teachers-section .section-title {
  margin-bottom: 28px;
}

.teacher-card {
  position: relative;
  padding: 30px;
  text-align: left;
  overflow: hidden;
}

.teacher-card::before {
  content: '';
  position: absolute;
  top: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(27, 78, 143, 0.1), rgba(11, 127, 115, 0.12));
}

.teacher-card::after {
  content: '\f19d';
  position: absolute;
  top: 36px;
  right: 38px;
  font-family: FontAwesome;
  color: var(--inner-blue);
  font-size: 22px;
}

.teacher-header {
  position: relative;
  padding-right: 76px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--inner-soft);
}

.teacher-meta {
  overflow-wrap: anywhere;
}

.achievement-tag {
  background: rgba(27, 78, 143, 0.09);
  color: var(--inner-blue);
  border: 1px solid rgba(27, 78, 143, 0.13);
}

.teacher-courses {
  border-top: 1px solid var(--inner-soft);
}

.case-carousel-header-section {
  background: linear-gradient(135deg, #102F59 0%, #1B4E8F 68%, #06665D 100%);
}

.case-carousel-header-section .case-name {
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(7, 21, 40, 0.22);
}

.case-carousel-header-section .case-undergraduate {
  color: #EAF2FF;
}

.case-carousel-item::before,
.interview-card::after,
.stat-card::before {
  display: none;
}

.interview-card-cover {
  height: 210px;
}

.interview-card-cover,
.interview-card-cover img {
  border-radius: 0;
  transform: none;
}

.interview-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  animation: none;
  object-fit: cover;
  object-position: center;
}

.interview-card:hover .interview-card-cover img {
  transform: scale(1.1);
}

.interview-card-tag {
  z-index: 2;
}

.honor-card-featured {
  grid-column: span 2;
}

.honor-badge,
.contact-icon,
.location-icon,
.nav-btn .nav-icon,
.grid-icon,
.method-icon,
.security-icon,
.stat-icon {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 72%, var(--inner-teal) 100%);
}

.faq-number {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 72%, var(--inner-teal) 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(7, 21, 40, 0.22);
}

.honor-overlay {
  background: rgba(16, 47, 89, 0.9);
}

.partners-marquee {
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--inner-shadow);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 26px;
}

.faq-sidebar {
  top: 104px;
}

.faq-categories {
  padding: 14px;
}

.faq-category-btn {
  justify-content: flex-start;
  border-radius: 12px;
  background: transparent;
}

.faq-item {
  overflow: hidden;
}

.faq-wrapper .faq-item,
.faq-wrapper .faq-item[style],
.faq-cta-content,
.faq-cta-content[style] {
  opacity: 1 !important;
  transform: none !important;
}

.faq-item .accordion-button {
  background: #FFFFFF;
  padding: 24px 28px;
}

.faq-item .accordion-button:hover {
  background: #F7FAFD;
}

.faq-item .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 78%, var(--inner-teal) 100%);
}

.faq-item .accordion-body {
  background: #FFFFFF;
}

.contact-cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.contact-card {
  padding: 30px 26px;
  text-align: left;
}

.contact-icon {
  margin: 0 0 20px;
}

.contact-form-section .form-wrapper {
  max-width: 980px;
}

.form-header {
  text-align: left;
}

.form-input,
.form-control,
.form-textarea,
.pagination-input {
  border: 1px solid rgba(226, 232, 240, 0.98);
  border-radius: 10px;
  background: #FFFFFF;
}

.form-input:focus,
.form-control:focus,
.form-textarea:focus,
.pagination-input:focus {
  border-color: var(--inner-blue);
  box-shadow: 0 0 0 4px rgba(27, 78, 143, 0.1);
}

.location-card {
  padding: 34px;
}

.nav-btn,
.guide-item,
.contact-method-item,
.faq-note,
.faq-highlight,
.article-tips,
.article-conclusion,
.security-item,
.activity-item,
.rule-item {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  background: #F7FAFD;
}

.article-page,
.case-page,
.profile-main,
.login-main,
.register-main {
  background:
    linear-gradient(180deg, #FFFFFF 0%, var(--inner-bg) 30%, #FFFFFF 100%);
}

.article-page,
.case-page {
  padding: 118px 0 84px;
}

.article-header,
.case-header {
  position: relative;
  margin-bottom: 34px;
  padding: 38px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 248, 252, 0.96) 100%);
  box-shadow: var(--inner-shadow);
  text-align: left;
}

.article-title,
.case-title {
  max-width: 980px;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.35;
}

.article-meta,
.case-meta {
  max-width: none;
  margin: 0;
}

.article-layout,
.case-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
}

.article-content,
.case-content {
  padding: clamp(26px, 4vw, 46px);
}

.article-content h1,
.article-content h2,
.article-content h3,
.case-content h2,
.case-content h3 {
  color: var(--inner-ink);
  letter-spacing: 0;
}

.sidebar-widget,
.sidebar-cta,
.author-card {
  padding: 24px;
}

.sidebar-cta,
.case-cta {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 72%, var(--inner-teal) 100%);
  box-shadow: 0 18px 42px rgba(27, 78, 143, 0.16);
}

.faq-cta-content {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.98) 58%, rgba(232, 246, 244, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(25, 48, 76, 0.12);
}

.faq-cta .cta-text h3 {
  color: var(--inner-ink);
}

.faq-cta .cta-text p {
  color: #4B5D73;
}

.faq-cta .btn-outline {
  border-color: rgba(27, 78, 143, 0.34);
  background: #FFFFFF;
  color: var(--inner-blue);
}

.faq-cta .btn-outline:hover {
  border-color: var(--inner-blue);
  background: var(--inner-blue);
  color: #FFFFFF;
}

.login-main,
.register-main {
  min-height: 720px;
  padding: 128px 20px 72px;
}

.login-main::before,
.login-main::after,
.register-main::before,
.register-main::after {
  display: none;
}

.login-wrapper,
.register-wrapper {
  position: relative;
  width: min(100%, 1040px);
  max-width: none;
}

.login-wrapper::before,
.register-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(42vw, 430px);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(7, 21, 40, 0.16), rgba(7, 21, 40, 0.34)),
    url('../img/bg.jpg') center / cover no-repeat;
  box-shadow: var(--inner-shadow);
}

.login-card,
.register-card {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  padding: 44px;
}

.login-header,
.register-header {
  text-align: left;
}

.login-header h1,
.register-header h1 {
  color: var(--inner-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.profile-main {
  padding: 112px 0 72px;
}

.profile-layout {
  gap: 24px;
}

.user-card,
.sidebar-nav,
.section-card,
.checkin-card,
.points-card,
.info-card,
.activity-list {
  border-radius: 16px;
}

.sidebar-nav .nav-item:hover {
  background: rgba(27, 78, 143, 0.07);
}

.sidebar-nav .nav-item.active {
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 72%, var(--inner-teal) 100%);
}

.quick-actions,
.stats-cards {
  gap: 18px;
}

.quick-btn,
.stat-card {
  border-radius: 16px;
}

.quick-btn {
  align-items: flex-start;
  text-align: left;
}

.section-card .section-title,
.profile-content .section-title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--inner-soft);
  font-size: 20px;
}

.pagination-wrapper {
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--inner-shadow);
}

.pagination-item {
  border-radius: 10px;
}

.pagination-item.active {
  background: linear-gradient(135deg, var(--inner-blue-deep) 0%, var(--inner-blue) 76%, var(--inner-teal) 100%);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1120px) {
  .article-layout,
  .case-layout,
  .faq-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar,
  .profile-sidebar {
    position: relative;
    top: 0;
  }

  .login-wrapper::before,
  .register-wrapper::before {
    display: none;
  }

  .login-card,
  .register-card {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .news-list-item,
  .honor-card-featured {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .news-list-image {
    height: 230px;
  }

  .contact-cards,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-banner,
  .page-header,
  .resources-header,
  .contact-header,
  .faq-header,
  .teachers-banner,
  .honors-banner {
    min-height: 360px;
    padding: 104px 0 72px;
  }

  .company-video-section,
  .company-intro,
  .timeline-section,
  .business-section,
  .culture-section,
  .honors-section,
  .teachers-section,
  .resources-grid-section,
  .news-list-section,
  .cases-carousel-section,
  .cases-list-section,
  .featured-honors-section,
  .partners-section,
  .media-section,
  .faq-section,
  .contact-cards-section,
  .contact-form-section,
  .location-section,
  .stats-section,
  .honors-filter-section {
    padding: 62px 0;
  }

  .categories-filter,
  .teacher-filters,
  .filter-tabs,
  .filter-wrapper {
    justify-content: flex-start;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
    margin-bottom: 26px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .categories-filter::-webkit-scrollbar,
  .teacher-filters::-webkit-scrollbar,
  .filter-tabs::-webkit-scrollbar,
  .filter-wrapper::-webkit-scrollbar {
    display: none;
  }

  .category-btn,
  .filter-btn,
  .filter-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .resource-content,
  .news-list-content,
  .interview-card-body,
  .honor-content,
  .teacher-card,
  .form-wrapper,
  .article-header,
  .case-header,
  .location-card,
  .login-card,
  .register-card {
    padding: 24px;
  }

  .article-page,
  .case-page,
  .profile-main,
  .login-main,
  .register-main {
    padding-top: 88px;
  }

  .article-meta,
  .case-meta,
  .article-meta-left,
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-cards,
  .stats-grid,
  .quick-actions,
  .stats-cards {
    grid-template-columns: 1fr;
  }
}
