/*--------------------------------------------------------------
# School Custom Styles - SMP Persada Insan Nusantara
--------------------------------------------------------------*/

/* ---- Google Fonts Override ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --school-primary:   #1a5276;  /* Deep navy blue */
  --school-secondary: #2e86c1;  /* Medium blue */
  --school-accent:    #f39c12;  /* Gold/amber accent */
  --school-green:     #27ae60;  /* Success green */
  --school-light:     #eaf4fb;  /* Light blue tint */
  --school-dark:      #0d2d4a;  /* Very dark blue */
  --school-text:      #2c3e50;
  --heading-font: 'Poppins', sans-serif;
  --default-font: 'Inter', sans-serif;
  --accent-color: #1a5276;
  --nav-hover-color: #f39c12;
}

body {
  font-family: var(--default-font);
  color: var(--school-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--school-primary);
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
#topbar {
  background: var(--school-dark);
  color: #cde6f5;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 2px solid var(--school-accent);
}

#topbar a {
  color: #cde6f5;
  text-decoration: none;
  transition: color 0.2s;
}

#topbar a:hover {
  color: var(--school-accent);
}

#topbar .social-links a {
  font-size: 15px;
  margin-left: 10px;
  color: #cde6f5;
}

#topbar .social-links a:hover {
  color: var(--school-accent);
}

/*--------------------------------------------------------------
# Header / Navbar
--------------------------------------------------------------*/
#header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(26, 82, 118, 0.12);
  padding: 10px 0;
  border-bottom: 3px solid var(--school-primary);
}

#header .logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

#header .logo .sitename {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--school-primary);
  margin: 0 0 0 10px;
  line-height: 1.2;
}

.navmenu ul li a {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 14px;
  color: var(--school-text) !important;
  padding: 8px 14px;
  transition: color 0.2s;
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
  color: var(--school-primary) !important;
}

.navmenu ul li a.active {
  border-bottom: 2px solid var(--school-accent);
}

/*--------------------------------------------------------------
# Page Title / Breadcrumb
--------------------------------------------------------------*/
.page-title {
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  color: #fff;
  padding: 40px 0 30px;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.page-title h1 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 6px;
}

.page-title .breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.page-title .breadcrumbs ol li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.page-title .breadcrumbs ol li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.page-title .breadcrumbs ol li a:hover {
  color: var(--school-accent);
}

.page-title .breadcrumbs ol li.current {
  color: var(--school-accent);
  font-weight: 600;
}

.page-title .breadcrumbs ol li + li::before {
  content: '›';
  margin-right: 4px;
  color: rgba(255,255,255,0.5);
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title-school {
  text-align: center;
  padding-bottom: 30px;
}

.section-title-school .badge-label {
  display: inline-block;
  background: var(--school-light);
  color: var(--school-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(26, 82, 118, 0.15);
}

.section-title-school h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--school-primary);
  margin-bottom: 12px;
}

.section-title-school p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
}

.section-title-school .title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--school-primary), var(--school-accent));
  border-radius: 2px;
  margin: 14px auto 0;
}

/*--------------------------------------------------------------
# Hero / Slider
--------------------------------------------------------------*/
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--school-dark) 0%, var(--school-secondary) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,45,74,0.85) 0%, rgba(26,82,118,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

/*--------------------------------------------------------------
# Stats Counter
--------------------------------------------------------------*/
.stats-section {
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  padding: 50px 0;
  color: #fff;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .stat-number {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--school-accent);
  line-height: 1;
  display: block;
}

.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-item .stat-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.stat-divider {
  border-right: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 767px) {
  .stat-divider {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 20px;
    margin-bottom: 10px;
  }
}

/*--------------------------------------------------------------
# News / Article Cards
--------------------------------------------------------------*/
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(26, 82, 118, 0.18);
}

.news-card .card-img-wrapper {
  overflow: hidden;
  height: 210px;
  position: relative;
}

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

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

.news-card .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--school-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card .card-body-inner {
  padding: 20px;
}

.news-card .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.news-card .card-meta i {
  color: var(--school-secondary);
}

.news-card .card-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--school-primary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-card .card-title a:hover {
  color: var(--school-secondary);
}

.news-card .btn-read-more {
  background: transparent;
  border: 2px solid var(--school-primary);
  color: var(--school-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}

.news-card .btn-read-more:hover {
  background: var(--school-primary);
  color: #fff;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.gallery-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,45,74,0.85) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.gallery-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--school-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s;
  text-decoration: none;
}

.gallery-item:hover .gallery-zoom-btn {
  opacity: 1;
}

.gallery-zoom-btn:hover {
  background: var(--school-accent);
  color: #fff;
}

/*--------------------------------------------------------------
# Team Cards
--------------------------------------------------------------*/
.team-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.09);
  transition: transform 0.3s, box-shadow 0.3s;
  padding-bottom: 20px;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(26, 82, 118, 0.18);
}

.team-card .team-img-wrap {
  background: linear-gradient(135deg, var(--school-light) 0%, #d6eaf8 100%);
  padding: 28px 28px 0;
  margin-bottom: 16px;
}

.team-card .team-img-wrap img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(26, 82, 118, 0.2);
}

.team-card .team-name {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--school-primary);
  margin: 0 16px 4px;
}

.team-card .team-role {
  display: inline-block;
  background: var(--school-light);
  color: var(--school-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.team-card .team-nip {
  font-size: 12px;
  color: #888;
  margin: 0 16px 8px;
}

.team-card .team-bio {
  font-size: 13px;
  color: #666;
  padding: 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.08);
  border-left: 4px solid var(--school-primary);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}

.about-info-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(26, 82, 118, 0.14);
}

.about-info-card .info-icon {
  width: 48px;
  height: 48px;
  background: var(--school-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--school-primary);
  flex-shrink: 0;
}

.about-info-card .info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 2px;
}

.about-info-card .info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--school-primary);
}

.vision-mission-card {
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 32px;
  height: 100%;
}

.vision-mission-card h3 {
  color: var(--school-accent);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.vision-mission-card p, .vision-mission-card li {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.7;
}

.vision-mission-card ul {
  padding-left: 18px;
}

.vision-mission-card.light {
  background: #fff;
  border: 2px solid var(--school-light);
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.08);
}

.vision-mission-card.light h3 {
  color: var(--school-primary);
}

.vision-mission-card.light p, .vision-mission-card.light li {
  color: var(--school-text);
}

/*--------------------------------------------------------------
# File Download Table
--------------------------------------------------------------*/
.download-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.08);
  overflow: hidden;
}

.download-card .card-header-school {
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  color: #fff;
  padding: 18px 24px;
}

.download-card .card-header-school h5 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.download-table thead th {
  background: var(--school-light);
  color: var(--school-primary);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 14px 16px;
}

.download-table tbody tr {
  transition: background 0.2s;
  border-bottom: 1px solid #f0f4f8;
}

.download-table tbody tr:hover {
  background: var(--school-light);
}

.download-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 14px;
  color: var(--school-text);
  border: none;
}

.btn-download {
  background: linear-gradient(135deg, var(--school-green) 0%, #1e8449 100%);
  color: #fff !important;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.35);
  color: #fff !important;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--school-dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 0;
}

#footer .footer-brand img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

#footer .footer-brand h4 {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
}

#footer .footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

#footer .footer-heading {
  color: var(--school-accent);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(243,156,18,0.3);
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer ul li {
  margin-bottom: 10px;
}

#footer ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

#footer ul li a::before {
  content: '›';
  color: var(--school-accent);
  font-size: 16px;
  line-height: 1;
}

#footer ul li a:hover {
  color: var(--school-accent);
  padding-left: 4px;
}

#footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
}

#footer .footer-contact-item i {
  color: var(--school-accent);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

#footer .footer-contact-item span {
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

#footer .footer-news-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#footer .footer-news-item:last-child {
  border-bottom: none;
}

#footer .footer-news-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.5;
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s;
}

#footer .footer-news-item a:hover {
  color: var(--school-accent);
}

#footer .footer-news-item .news-date {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 4px;
}

#footer .social-links-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#footer .social-links-footer a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.25s;
}

#footer .social-links-footer a.wa   { background: #25d366; color: #fff; }
#footer .social-links-footer a.ig   { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
#footer .social-links-footer a.fb   { background: #1877f2; color: #fff; }
#footer .social-links-footer a.tw   { background: #000; color: #fff; }
#footer .social-links-footer a.yt   { background: #ff0000; color: #fff; }

#footer .social-links-footer a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

#footer .footer-bottom {
  background: rgba(0,0,0,0.25);
  margin-top: 40px;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
}

#footer .footer-bottom a {
  color: var(--school-accent);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Welcome / Hero Banner
--------------------------------------------------------------*/
.welcome-hero {
  position: relative;
  background: var(--school-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.welcome-hero .hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

.welcome-hero .hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,45,74,0.92) 0%, rgba(26,82,118,0.75) 100%);
}

.welcome-hero .hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.welcome-hero .hero-text .badge-hero {
  display: inline-block;
  background: rgba(243,156,18,0.2);
  border: 1px solid var(--school-accent);
  color: var(--school-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.welcome-hero .hero-text h1 {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.welcome-hero .hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.welcome-hero .hero-text .btn-hero-primary {
  background: var(--school-accent);
  color: var(--school-dark);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
  margin-right: 10px;
}

.welcome-hero .hero-text .btn-hero-primary:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243,156,18,0.4);
}

.welcome-hero .hero-text .btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}

.welcome-hero .hero-text .btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.welcome-hero .hero-slider-col {
  position: relative;
  z-index: 2;
}

.welcome-hero .swiper-slide img {
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .welcome-hero .hero-text h1 { font-size: 2rem; }
  .welcome-hero { min-height: 400px; }
  .welcome-hero .swiper-slide img { height: 250px; }
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
  background: linear-gradient(135deg, var(--school-accent) 0%, #e67e22 100%);
  padding: 50px 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-section .btn-cta {
  background: var(--school-dark);
  color: #fff;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s;
  display: inline-block;
}

.cta-section .btn-cta:hover {
  background: #0d2d4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #fff;
}

/*--------------------------------------------------------------
# Blog Detail Article
--------------------------------------------------------------*/
.article-detail {
  background: #fff;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.08);
}

.article-detail .article-title {
  font-family: var(--heading-font);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--school-primary);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-detail .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--school-light);
}

.article-detail .article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.article-detail .article-meta .meta-item i {
  color: var(--school-secondary);
  font-size: 15px;
}

.article-detail .article-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.article-detail .article-img img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.article-detail .article-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: #444;
}

.article-detail .article-body p {
  margin-bottom: 16px;
}

.article-detail .article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--school-light);
  flex-wrap: wrap;
}

.article-detail .article-tags a {
  background: var(--school-light);
  color: var(--school-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.article-detail .article-tags a:hover {
  background: var(--school-primary);
  color: #fff;
}

.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(26, 82, 118, 0.08);
  margin-bottom: 24px;
}

.sidebar-widget .widget-title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--school-primary);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--school-light);
  position: relative;
}

.sidebar-widget .widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--school-accent);
}

.sidebar-news-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f4f8;
}

.sidebar-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-news-item .news-number {
  width: 32px;
  height: 32px;
  background: var(--school-light);
  color: var(--school-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-news-item a {
  font-size: 13px;
  color: var(--school-text);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 500;
  transition: color 0.2s;
  display: block;
  margin-bottom: 3px;
}

.sidebar-news-item a:hover {
  color: var(--school-secondary);
}

.sidebar-news-item .news-date {
  font-size: 11px;
  color: #aaa;
}

.category-tag-link {
  display: inline-block;
  background: var(--school-light);
  color: var(--school-primary);
  border: 1px solid rgba(26,82,118,0.15);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 6px;
  text-decoration: none;
  margin: 4px;
  transition: all 0.2s;
}

.category-tag-link:hover {
  background: var(--school-primary);
  color: #fff;
  border-color: var(--school-primary);
}

/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/
.scroll-top {
  background: var(--school-primary) !important;
  border-radius: 8px !important;
}

.scroll-top:hover {
  background: var(--school-secondary) !important;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination .page-link {
  color: var(--school-primary);
  border-color: #dee2e6;
  font-weight: 500;
  border-radius: 6px !important;
  margin: 0 3px;
  transition: all 0.2s;
}

.pagination .page-item.active .page-link {
  background: var(--school-primary);
  border-color: var(--school-primary);
  color: #fff;
}

.pagination .page-link:hover {
  background: var(--school-light);
  border-color: var(--school-secondary);
  color: var(--school-primary);
}

/* Preloader */
#preloader {
  background: var(--school-dark);
}

/* DataTables overrides */
.dataTables_wrapper .dataTables_filter input {
  border-radius: 6px;
  border: 1.5px solid #dee2e6;
  padding: 6px 12px;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--school-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46,134,193,0.15);
}
