/* ==========================================================================
   STTAA WordPress Theme Main Stylesheet
   Alumni Style Inspired by Sabah Tshung Tsin Secondary School (sttss.edu.my)
   ========================================================================== */

:root {
  --primary: #0170B9;
  --primary-hover: #005c99;
  --primary-dark: #004b87;
  --primary-deep: #072a4a;
  --primary-light: #e8f4fc;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-gold: #eab308;
  --text-dark: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(1,112,185,0.08);
  --shadow-lg: 0 12px 30px rgba(0,75,135,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-base: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1,112,185,0.25);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255,255,255,0.8);
  color: #ffffff;
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-white-trans {
  background-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-white-trans:hover {
  background-color: rgba(255,255,255,0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

.top-bar {
  background-color: var(--primary-deep);
  color: #cbd5e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
}

.top-bar-left .motto {
  color: #f1f5f9;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-bar-left .divider {
  color: rgba(255,255,255,0.2);
}

.top-bar-left .school-link {
  color: #94a3b8;
  font-size: 12px;
}
.top-bar-left .school-link:hover {
  color: var(--accent);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-menu-list {
  display: flex;
  list-style: none;
  gap: 14px;
}
.top-menu-list a {
  color: #cbd5e1;
  font-size: 12px;
}
.top-menu-list a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.08);
  transition: all 0.2s ease;
}
.social-links a:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background-color: var(--primary);
  color: #ffffff;
}

.lang-sep {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

/* Hide Google Translate toolbar bar that can clutter top */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;
}

/* Main Navigation */
.main-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--primary-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 62px;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name-cn {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.brand-name-en {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.nav-menu-list > li {
  position: relative;
}

.nav-menu-list > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-menu-list > li:hover > a,
.nav-menu-list > li.current-menu-item > a {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* Dropdown */
.nav-menu-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.nav-menu-list li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-list .sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.nav-menu-list .sub-menu li:hover > a {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 42, 74, 0.90) 0%, rgba(1, 112, 185, 0.85) 70%, rgba(0, 75, 135, 0.90) 100%), url('../images/campus-banner.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 95px 0 105px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 860px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero-badge .badge-icon {
  color: var(--accent);
}

.hero-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
}

.hero-subtitle {
  display: block;
  font-size: 20px;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 1px;
  margin-top: 8px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 35px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 45px;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.sub-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.sub-label-gold {
  color: var(--accent);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 8px;
}

.view-all-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover {
  gap: 8px;
}

/* ==========================================================================
   4C Mission Section
   ========================================================================== */
.mission-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.mission-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.mission-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-connect .mission-icon { background-color: #eff6ff; color: #2563eb; }
.card-collaborate .mission-icon { background-color: #f0fdf4; color: #16a34a; }
.card-contribute .mission-icon { background-color: #fffbeb; color: #d97706; }
.card-change .mission-icon { background-color: #fdf2f8; color: #db2777; }

.mission-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.mission-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   President Section
   ========================================================================== */
.president-section {
  padding: 80px 0;
  background-color: var(--bg-body);
}

.president-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 420px 1fr;
  overflow: hidden;
}

.president-img-box {
  position: relative;
  background-color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.president-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.president-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(7, 42, 74, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.president-text-box {
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.president-heading {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 20px;
}

.president-quote {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 25px;
}

.president-quote p {
  margin-bottom: 12px;
}

.president-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.signature strong {
  font-size: 16px;
  color: var(--primary-dark);
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.news-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: var(--primary-light);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
}

.placeholder-icon {
  font-size: 24px;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
}

.news-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(7, 42, 74, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-title a {
  color: var(--text-dark);
}
.news-title a:hover {
  color: var(--primary);
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.news-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.read-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   Tshung Tsin Circles Section
   ========================================================================== */
.circles-section {
  padding: 80px 0;
  background-color: var(--bg-body);
}

.circles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.circle-item {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all 0.3s ease;
  position: relative;
}

.circle-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.circle-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.circle-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.circle-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.circle-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   Giving & Welfare Section
   ========================================================================== */
.giving-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.giving-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: center;
}

.giving-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 16px;
}

.giving-desc {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 30px;
}

.giving-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.giving-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.giving-feature strong {
  display: block;
  font-size: 16px;
  color: var(--text-dark);
}

.giving-feature p {
  font-size: 14px;
  color: var(--text-muted);
}

.giving-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.give-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.give-card.card-accent-border {
  border-top: 4px solid var(--accent);
}

.give-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.give-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  color: #ffffff;
  padding: 70px 0;
}

.cta-heading {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   Inner Pages (page.php, single.php)
   ========================================================================== */
.page-header-banner {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 50px 0;
}

.breadcrumbs {
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #cbd5e1;
}
.breadcrumbs a:hover {
  color: #ffffff;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
}

.post-meta-header {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.post-meta-header a {
  color: #cbd5e1;
}

.site-content-wrap {
  padding: 60px 20px;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.main-article {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.entry-content p {
  margin-bottom: 1.4em;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  color: var(--primary-deep);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 700;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 1.4em;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 0.5em;
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

.entry-content th, .entry-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.entry-content th {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.single-featured-image {
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.single-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  gap: 15px;
}

/* Sidebar */
.sidebar-widget {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 26px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget.widget-highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.sidebar-nav-list,
.recent-posts-list {
  list-style: none;
}

.sidebar-nav-list li {
  margin-bottom: 10px;
}

.sidebar-nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.sidebar-nav-list a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 16px;
}

.recent-posts-list li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.recent-posts-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-posts-list a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.recent-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Archive Grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 8px;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

.pagination-wrap .page-numbers.current {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-deep);
  color: #cbd5e1;
}

.footer-top {
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.footer-logo {
  height: 54px;
  width: auto;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 3px;
}

.footer-brand-title h4 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand-title .en-sub {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
}

.about-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.school-partner {
  background: rgba(255,255,255,0.06);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
}

.partner-label {
  color: var(--accent);
  font-weight: 600;
}

.sttss-link {
  color: #ffffff;
  font-weight: 600;
}
.sttss-link:hover {
  color: var(--accent);
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}

.contact-item a {
  color: #cbd5e1;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #ffffff;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.footer-bottom {
  background-color: #04192d;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: #94a3b8;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid,
  .circles-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .giving-wrapper {
    grid-template-columns: 1fr;
  }
  .president-card {
    grid-template-columns: 1fr;
  }
  .president-img {
    max-height: 300px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    padding: 8px 0;
    gap: 6px;
  }
  .top-menu-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .main-nav.active {
    right: 0;
  }
  .nav-menu-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav-menu-list > li {
    width: 100%;
  }
  .nav-menu-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    background-color: #f8fafc;
  }
  .header-cta {
    width: 100%;
    margin-top: 15px;
  }
  .header-cta .btn {
    width: 100%;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .mission-grid,
  .news-grid,
  .circles-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
