:root {
  --primary: #000;
  --secondary: #e23d29;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.58 / 1;
}

.hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-img.is-active {
  opacity: 1;
}

[x-cloak] {
  display: none !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(99.91deg, #000 0.07%, rgba(255, 255, 255, 0) 60.91%);
  z-index: 1;
}

.slider-captions {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 100%;
  color: #fff;
  transform: translateY(-50%);
}

.slider-captions h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 64px;
  font-weight: 600;
  line-height: 74px;
}

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

.hero-actions .btn,
.news-more .btn {
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  padding: 18px 24px;
}

.hero-actions .btn i,
.news-more .btn i {
  margin-left: 6px;
  font-size: 12px;
}

.hero-actions .btn-outline-light {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.hero-actions .btn-outline-light:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.btn-complaint {
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: #fff;
}

.btn-complaint:hover,
.btn-complaint:focus {
  background: #000;
  border-color: #000;
  color: #fff;
}

.inauguration-area {
  margin: 0;
}

.inauguration-banner {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 48px 0;
  color: #fff;
  background:
    linear-gradient(120deg, #0b1a2b 0%, #14324f 42%, #1b4a6b 70%, #c43a28 100%);
}

.inauguration-banner.has-image {
  background-image:
    linear-gradient(105deg, rgba(8, 16, 28, 0.88) 0%, rgba(20, 40, 60, 0.72) 48%, rgba(196, 58, 40, 0.55) 100%),
    var(--banner-image);
  background-size: cover;
  background-position: center;
}

.inauguration-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08), transparent 42%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    );
}

.inauguration-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.inauguration-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.inauguration-content h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
}

.inauguration-subtitle {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.5;
}

.inauguration-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: #ffd7d1;
  font-size: 16px;
  font-weight: 600;
}

.inauguration-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 110px));
  gap: 12px;
}

.countdown-unit {
  display: grid;
  gap: 4px;
  place-items: center;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  animation: inaugurationPulse 2.4s ease-in-out infinite;
}

.countdown-unit:nth-child(2) { animation-delay: 0.15s; }
.countdown-unit:nth-child(3) { animation-delay: 0.3s; }
.countdown-unit:nth-child(4) { animation-delay: 0.45s; }

.countdown-value {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
}

.inauguration-done {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(226, 61, 41, 0.92);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

@keyframes inaugurationPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-unit {
    animation: none;
  }
}

.about-us-area {
  padding: 40px 0 10px;
}

.about-us-area p,
.about-us-area .about-intro {
  margin-bottom: 10px;
  color: #262626;
  font-size: 20px;
  line-height: 34px;
}

.about-us-area .about-intro p {
  margin-bottom: 10px;
}

.category-area,
.news-area {
  padding: 60px 0;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: #1e1e1e;
  font-size: 34px;
  font-weight: 800;
  line-height: 40px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--secondary);
  border-radius: 10px;
  color: #000;
  text-decoration: none;
}

.category-card h3 {
  margin: 0;
  color: #000;
  font-size: 18px;
  line-height: 28px;
}

.category-card:hover h3 {
  color: var(--secondary);
}

.category-icon {
  display: grid;
  width: 60px;
  height: 60px;
  flex: none;
  place-items: center;
  color: var(--secondary);
  font-size: 32px;
}

.news-card {
  margin-bottom: 35px;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
}

.news-card img,
.news-image-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 1.57 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.news-image-fallback {
  background: #ececec;
}

.news-body {
  padding: 5px 10px 14px;
}

.news-date {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.news-cat {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 7px;
  border: 1px solid var(--secondary);
  border-radius: 12px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 12px;
  text-decoration: none;
}

.news-body h3 {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-body a {
  text-decoration: none;
}

.news-card:hover h3 {
  color: var(--secondary);
}

.news-more {
  margin-top: 10px;
  text-align: center;
}

.news-more .btn {
  padding: 12px 22px;
  font-size: 16px;
}

.footer-top {
  margin-top: 20px;
  padding: 16px 0;
  background: #fff;
  border-top: 1px solid #000;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 72px;
  max-width: min(240px, 70vw);
  object-fit: contain;
}

.footer-main {
  padding: 40px 0;
  background: #000;
  color: #fff;
}

.footer-block {
  margin-bottom: 24px;
  text-align: center;
}

.footer-block h2 {
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 20px;
  font-weight: 700;
}

.footer-block p,
.footer-block a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.footer-block a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  color: #fff;
  font-size: 18px;
}

.social-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  padding: 20px 0;
  background: #000;
  border-top: 1px solid rgba(130, 130, 130, 0.25);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 28px;
}

@media (min-width: 992px) {
  .category-card {
    margin-bottom: 0;
  }

  .news-card {
    margin-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .slider-captions h1 {
    font-size: 36px;
    line-height: 46px;
  }

  .hero-actions .btn {
    padding: 16px 22px;
    font-size: 16px;
  }
}

.page-heading {
  position: relative;
  display: grid;
  height: 340px;
  margin-bottom: 50px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(99.91deg, rgba(0, 0, 0, 0.72) 0.07%, rgba(0, 0, 0, 0.45) 60.91%),
    url("../../images/home/hero.jpg") center bottom / cover no-repeat;
  text-align: center;
}

.page-heading h1 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 60px;
}

.page-breadcrumb {
  display: inline-block;
  margin: 0;
  padding: 12px 38px;
  background: rgba(255, 255, 255, 0.1);
}

.page-breadcrumb ol {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-breadcrumb li {
  position: relative;
  margin-right: 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.page-breadcrumb li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
}

.page-breadcrumb a {
  display: inline-block;
  padding-right: 30px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.page-breadcrumb li.active {
  color: var(--secondary);
  font-weight: 800;
}

.news-list-area {
  margin: 60px 0 100px;
}

.news-detail-area {
  margin-bottom: 80px;
}

.news-detail-date {
  display: block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.news-detail h1 {
  margin: 12px 0 20px;
  color: #141414;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
}

.news-detail > img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  border-radius: 10px;
}

.news-author {
  display: flex;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.4;
}

.news-author span {
  margin-right: 6px;
  color: var(--secondary);
  font-weight: 700;
}

.news-content {
  font-size: 18px;
  line-height: 1.6;
}

.news-content p {
  margin: 0 0 1em;
}

.news-share {
  margin-top: 30px;
  padding-top: 12px;
  border-top: 1px solid #b5b5b5;
}

.news-share button {
  border: 1px solid var(--secondary);
  border-radius: 50px;
  background: #fff;
  color: var(--secondary);
  font-weight: 700;
  padding: 8px 16px;
}

.news-share button:hover {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 767px) {
  .hero-banner {
    height: 460px;
    aspect-ratio: auto;
  }

  .slider-captions h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .hero-actions .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .inauguration-banner {
    min-height: 0;
    padding: 32px 0;
  }

  .inauguration-content h2 {
    font-size: 26px;
  }

  .inauguration-subtitle {
    font-size: 16px;
  }

  .inauguration-countdown {
    grid-template-columns: repeat(4, minmax(64px, 1fr));
    gap: 8px;
  }

  .countdown-unit {
    padding: 12px 6px;
  }

  .countdown-value {
    font-size: 24px;
  }

  .countdown-label {
    font-size: 11px;
  }

  .about-us-area p {
    font-size: 18px;
    line-height: 32px;
  }

  .category-area,
  .news-area {
    padding: 20px 0;
  }
}
