:root {
  --primary: #14307a;
  --primary-dark: #0b1e56;
  --secondary: #f4a027;
  --accent: #d71928;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --text-main: #132238;
  --text-soft: #5f6f87;
  --border-soft: rgba(19, 34, 56, 0.08);
  --shadow-soft: 0 24px 60px rgba(10, 30, 86, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(244, 160, 39, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(215, 25, 40, 0.12), transparent 24%),
    #ffffff;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
}

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
}

.topbar-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.topbar-link:hover {
  color: #fff;
}

.navbar {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(19, 34, 56, 0.06);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--primary);
  text-decoration: none;
}

.navbar-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.navbar-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-brand strong {
  font-size: 1rem;
}

.navbar-brand small {
  color: var(--text-soft);
}

.nav-link {
  color: var(--text-main);
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent);
}

.btn-brand {
  background: linear-gradient(135deg, var(--accent), #ef533d);
  color: #fff;
  border: 0;
  padding-inline: 1.35rem;
  box-shadow: 0 16px 28px rgba(215, 25, 40, 0.25);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: linear-gradient(135deg, #bd0f1e, #db4530);
}

.btn-outline-brand {
  border: 1px solid rgba(20, 48, 122, 0.18);
  color: var(--primary);
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 30, 86, 0.96), rgba(20, 48, 122, 0.88)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fff;
  padding: 6.5rem 0 5rem;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 160, 39, 0.22), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 20%),
    radial-gradient(circle at 85% 75%, rgba(215, 25, 40, 0.2), transparent 18%);
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff2d8;
}

.section-kicker {
  background: rgba(244, 160, 39, 0.14);
  color: var(--secondary);
}

.hero-copy h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.hero-copy p,
.section-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-text {
  color: var(--text-soft);
}

.hero-secondary {
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-card,
.principal-card,
.contact-card,
.map-card,
.admission-form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-slider {
  position: relative;
}

.hero-slides {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 160, 39, 0.1), rgba(20, 48, 122, 0.08)),
    #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(11, 30, 86, 0.28), rgba(11, 30, 86, 0.9));
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-slide-overlay span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #ffd896;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slide-overlay h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
}

.hero-slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 48, 122, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--accent);
}

.hero-dot:hover {
  transform: scale(1.08);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.hero-badges span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--surface-soft);
  font-weight: 700;
  color: var(--primary);
}

.hero-stats .stat-card {
  height: 100%;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
}

.hero-stats span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.74);
}

.quick-info-section {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.info-panel,
.feature-mini,
.program-card,
.achievement-card,
.news-card,
.gallery-item {
  height: 100%;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.info-panel {
  padding: 1.8rem;
}

.info-panel h3,
.feature-mini h4,
.program-card h3,
.news-body h3,
.contact-item h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.info-panel p,
.feature-mini p,
.program-card p,
.news-body p,
.contact-item p,
.principal-card p,
.admission-list li,
.form-note,
.map-placeholder p {
  color: var(--text-soft);
  line-height: 1.75;
}

.section-space {
  padding: 6rem 0;
}

.bg-soft {
  background: var(--surface-soft);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 15ch;
  margin-bottom: 0.8rem;
}

.feature-mini {
  padding: 1.4rem;
}

.profile-highlight {
  margin: 1.5rem 0 1rem;
  display: grid;
  gap: 0.8rem;
}

.highlight-line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
}

.highlight-line strong {
  color: var(--primary);
  font-size: 0.95rem;
}

.highlight-line span,
.metric-box span,
.principal-footer span {
  color: var(--text-soft);
}

.profile-metrics .metric-box {
  height: 100%;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(180deg, rgba(20, 48, 122, 0.06), rgba(255, 255, 255, 0.96));
  border: 1px solid var(--border-soft);
  border-radius: 18px;
}

.metric-box strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
}

.principal-card {
  padding: 2.2rem;
  background:
    linear-gradient(180deg, rgba(20, 48, 122, 0.06), rgba(244, 160, 39, 0.08)),
    #fff;
}

.principal-media {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.principal-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(10, 30, 86, 0.16);
}

.principal-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.principal-badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(20, 48, 122, 0.08);
  color: var(--primary);
  font-weight: 700;
}

.principal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.principal-meta span {
  color: var(--text-soft);
}

.principal-quote {
  position: relative;
  margin-bottom: 1.4rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  border-left: 4px solid var(--secondary);
}

.principal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.principal-footer span {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(20, 48, 122, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.program-card {
  padding: 1.8rem;
}

.program-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 48, 122, 0.1), rgba(244, 160, 39, 0.2));
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.achievements-section {
  background:
    linear-gradient(135deg, rgba(11, 30, 86, 0.96), rgba(20, 48, 122, 0.92)),
    #0b1e56;
}

.achievement-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.achievement-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.achievement-card span {
  color: rgba(255, 255, 255, 0.72);
}

.news-card {
  overflow: hidden;
}

.news-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.news-thumb-1 {
  background-image: linear-gradient(rgba(20, 48, 122, 0.2), rgba(20, 48, 122, 0.2)), url("https://images.unsplash.com/photo-1513258496099-48168024aec0?auto=format&fit=crop&w=900&q=80");
}

.news-thumb-2 {
  background-image: linear-gradient(rgba(215, 25, 40, 0.2), rgba(215, 25, 40, 0.2)), url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80");
}

.news-thumb-3 {
  background-image: linear-gradient(rgba(244, 160, 39, 0.22), rgba(244, 160, 39, 0.22)), url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=900&q=80");
}

.news-body {
  padding: 1.5rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.news-link:hover {
  color: var(--accent);
}

.news-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(244, 160, 39, 0.14);
  color: #bf7607;
  font-size: 0.8rem;
  font-weight: 700;
}

.gallery-item {
  min-height: 240px;
  display: flex;
  align-items: end;
  padding: 1.4rem;
  color: #fff;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 30, 86, 0.82));
}

.gallery-item span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.15rem;
}

.gallery-a { background-image: url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=900&q=80"); }
.gallery-b { background-image: url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=900&q=80"); }
.gallery-c { background-image: url("https://images.unsplash.com/photo-1529390079861-591de354faf5?auto=format&fit=crop&w=900&q=80"); }
.gallery-d { background-image: url("https://images.unsplash.com/photo-1516627145497-ae6968895b74?auto=format&fit=crop&w=1200&q=80"); }
.gallery-e { background-image: url("https://images.unsplash.com/photo-1516979187457-637abb4f9353?auto=format&fit=crop&w=1200&q=80"); }

.admission-section {
  background:
    linear-gradient(180deg, rgba(244, 160, 39, 0.08), rgba(20, 48, 122, 0.04)),
    #fff;
}

.admission-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.admission-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
}

.admission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.admission-form {
  padding: 2rem;
}

.admission-form h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.3rem;
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border-color: rgba(19, 34, 56, 0.12);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(20, 48, 122, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(20, 48, 122, 0.1);
}

.footer-cta {
  background: var(--surface-soft);
}

.contact-card,
.map-card {
  padding: 2rem;
  height: 100%;
}

.contact-item {
  padding: 1.2rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  height: 100%;
}

.contact-item a,
.back-to-top {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.map-placeholder {
  min-height: 100%;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(20, 48, 122, 0.94), rgba(215, 25, 40, 0.88)),
    #14307a;
  color: #fff;
}

.map-placeholder span {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.map-placeholder p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.site-footer {
  padding: 1.4rem 0;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 30, 86, 0.96), rgba(20, 48, 122, 0.88)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fff;
  padding: 5.5rem 0 4.5rem;
}

.page-hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  max-width: 12ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
  line-height: 1.85;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.news-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.overview-item {
  min-width: 160px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.overview-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
  font-size: 1.15rem;
}

.overview-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.page-hero-card,
.featured-news,
.news-list-card,
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-hero-card {
  padding: 2rem;
  color: var(--text-main);
}

.page-hero-card h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0.8rem 0;
}

.news-label {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(215, 25, 40, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.featured-news {
  overflow: hidden;
}

.featured-news-image {
  min-height: 100%;
  background:
    linear-gradient(rgba(20, 48, 122, 0.18), rgba(20, 48, 122, 0.18)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.featured-news-content {
  padding: 2.25rem;
}

.featured-news-content h2,
.sidebar-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0.85rem 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

.news-meta span {
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 600;
}

.news-list {
  display: grid;
  gap: 1.1rem;
}

.news-list-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.news-list-thumb {
  min-height: 210px;
  background-size: cover;
  background-position: center;
}

.news-list-body {
  padding: 1.35rem 1.5rem;
}

.news-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-chip {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(19, 34, 56, 0.08);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.news-list-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.news-date {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.news-list-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.8rem 0 0.55rem;
}

.news-list-body p,
.sidebar-card p,
.sidebar-list li {
  color: var(--text-soft);
  line-height: 1.75;
}

.news-list-thumb-1 {
  background-image: linear-gradient(rgba(20, 48, 122, 0.15), rgba(20, 48, 122, 0.15)), url("https://images.unsplash.com/photo-1513258496099-48168024aec0?auto=format&fit=crop&w=900&q=80");
}

.news-list-thumb-2 {
  background-image: linear-gradient(rgba(215, 25, 40, 0.15), rgba(215, 25, 40, 0.15)), url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80");
}

.news-list-thumb-3 {
  background-image: linear-gradient(rgba(244, 160, 39, 0.18), rgba(244, 160, 39, 0.18)), url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=900&q=80");
}

.news-list-thumb-4 {
  background-image: linear-gradient(rgba(20, 48, 122, 0.16), rgba(20, 48, 122, 0.16)), url("https://images.unsplash.com/photo-1511379938547-c1f69419868d?auto=format&fit=crop&w=900&q=80");
}

.news-list-thumb-5 {
  background-image: linear-gradient(rgba(244, 160, 39, 0.18), rgba(244, 160, 39, 0.18)), url("https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=900&q=80");
}

.news-sidebar {
  display: grid;
  gap: 1.4rem;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.2rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(19, 34, 56, 0.08);
  font-weight: 600;
}

.sidebar-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sidebar-info {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.sidebar-info-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: var(--surface-soft);
}

.sidebar-info-item strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--primary);
  font-size: 0.95rem;
}

.sidebar-info-item span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.sidebar-highlight {
  background:
    linear-gradient(135deg, rgba(20, 48, 122, 0.96), rgba(215, 25, 40, 0.9)),
    #14307a;
  color: #fff;
}

.sidebar-highlight h3,
.sidebar-highlight p,
.sidebar-highlight .news-label {
  color: #fff;
}

.sidebar-highlight .news-label {
  background: rgba(255, 255, 255, 0.15);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

.article-meta span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.article-layout {
  display: grid;
  gap: 1.5rem;
}

.article-cover-card,
.article-content-card,
.article-action-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.article-cover-card {
  overflow: hidden;
}

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

.article-summary-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.1rem 1.4rem 1.35rem;
  background: linear-gradient(180deg, rgba(20, 48, 122, 0.03), rgba(244, 160, 39, 0.08));
}

.summary-item {
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.summary-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.summary-item span {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.article-content {
  padding: 2rem;
}

.article-section-title {
  margin-bottom: 1.25rem;
}

.article-section-title span {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-section-title h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0;
}

.article-content p {
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 1.15rem;
}

.article-lead {
  font-size: 1.12rem;
  color: var(--text-main);
  font-weight: 500;
}

.article-quote {
  margin: 1.6rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--secondary);
  border-radius: 0 18px 18px 0;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
}

.article-footer-note {
  margin-top: 1.7rem;
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 48, 122, 0.04), rgba(244, 160, 39, 0.08));
}

.article-footer-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.sidebar-list a {
  color: inherit;
  text-decoration: none;
}

.sidebar-list a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    width: 56px;
    height: 56px;
  }

  .hero-section {
    padding-top: 5rem;
  }

  .hero-slides {
    min-height: 360px;
  }

  .news-list-card {
    grid-template-columns: 1fr;
  }

  .news-list-thumb {
    min-height: 240px;
  }

  .news-sidebar {
    position: static;
  }

  .article-cover img {
    height: 340px;
  }

  .article-summary-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .topbar .container,
  .site-footer .container {
    text-align: center;
  }

  .section-space {
    padding: 4.5rem 0;
  }

  .quick-info-section {
    margin-top: -1.8rem;
  }

  .hero-copy h1,
  .section-title {
    max-width: none;
  }

  .hero-slides {
    min-height: 300px;
  }

  .hero-slide-overlay {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
  }

  .hero-slide-overlay h3 {
    font-size: 1rem;
  }

  .article-content {
    padding: 1.4rem;
  }

  .article-cover img {
    height: 260px;
  }

  .article-section-title h2 {
    font-size: 1.3rem;
  }

  .principal-media {
    grid-template-columns: 1fr;
  }

  .principal-photo {
    height: 280px;
  }

  .page-hero,
  .hero-section {
    padding-top: 4.75rem;
  }

  .featured-news-content,
  .page-hero-card {
    padding: 1.5rem;
  }

  .news-list-top {
    align-items: flex-start;
  }

  .overview-item {
    min-width: 100%;
  }
}
