/* ==========================================================================
   Kementerian Kehutanan Republik Indonesia — Website Template
   Design tokens + component styles
   ========================================================================== */

:root {
  --color-primary: #009B4F;
  --color-primary-hover: #007A3D;
  --color-secondary: #CFA664;
  --color-accent: #7CB342;
  --color-bg: #F7FAF8;
  --color-card: #FFFFFF;
  --color-border: #E5E7EB;
  --color-heading: #1B4332;
  --color-text: #374151;
  --color-muted: #6B7280;

  /* Brand gradient — dipakai untuk background & border */
  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(0, 155, 79, .12) 0%, rgba(207, 166, 100, .12) 100%);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-img: 20px;

  --shadow-soft: 0 4px 20px rgba(27, 67, 50, 0.08);
  --shadow-soft-hover: 0 14px 34px rgba(27, 67, 50, 0.14);
  --shadow-nav: 0 2px 12px rgba(27, 67, 50, 0.06);

  --transition-base: 0.3s ease;
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-heading);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

.text-primary-forest {
  color: var(--color-primary) !important;
}

.bg-primary-forest {
  background: var(--gradient-brand) !important;
}

.bg-soft {
  background-color: var(--color-bg) !important;
}

/* ==========================================================================
   Gradient utilities (Primary -> Secondary)
   ========================================================================== */

.bg-gradient-brand {
  background: var(--gradient-brand) !important;
  color: #fff;
}

/* Border gradient — pakai border-image karena border-color tidak bisa gradient */
.border-gradient-brand {
  border-style: solid;
  border-width: 2px;
  border-image: var(--gradient-brand) 1;
}

.border-gradient-brand-thin {
  border-style: solid;
  border-width: 1px;
  border-image: var(--gradient-brand) 1;
}

.section-py {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: .75rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  margin-bottom: .5rem;
}

.section-desc {
  color: var(--color-muted);
  max-width: 620px;
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Organic "growth ring" divider — signature element
   ========================================================================== */

.ring-divider {
  width: 100%;
  height: 48px;
  display: block;
  color: var(--color-bg);
}

.leaf-accent {
  position: absolute;
  opacity: .08;
  color: var(--color-primary);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.topbar {
  background-image: var(--gradient-brand);
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
}

.topbar a {
  color: rgba(255, 255, 255, .85);
}

.topbar a:hover {
  color: #fff;
}

.topbar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  margin-left: .35rem;
  transition: background var(--transition-base);
}

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

/* ==========================================================================
   Navbar
   ========================================================================== */
.main-navbar {
  background-color: #fff;
  box-shadow: var(--shadow-nav);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  padding-top: .85rem;
  padding-bottom: .85rem;
  z-index: 1030;
  position: sticky;
  top: 0;
  width: 100%;
}

/* State floating: lepas dari flow, menggantung di atas dengan efek melayang */
.main-navbar.is-floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: .6rem;
  padding-bottom: .6rem;
  background-color: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft-hover);
}

/* Placeholder agar konten di bawah navbar tidak "lompat" saat navbar jadi fixed */
.navbar-placeholder {
  height: 0;
  transition: height .35s cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 991px) {
  .main-navbar.is-floating {
    width: calc(100% - 1.5rem);
    border-radius: 22px;
    top: 10px;
  }
}

.main-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.main-navbar .brand-acronym {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .01em;
  padding-right: 0.75rem;
  border-right: 2px solid var(--color-border);
  margin-right: .15rem;
  transition: font-size var(--transition-base);
}

.main-navbar .brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  font-size: 0.80rem;
  max-width: 260px;
}

.main-navbar .brand-subtitle {
  font-size: 0.80rem;
  color: var(--color-muted);
  font-weight: 500;
}

.main-navbar .nav-link {
  font-weight: 600;
  font-size: .93rem;
  color: var(--color-text);
  padding: .55rem .9rem !important;
  border-radius: 8px;
  transition: color var(--transition-base), background var(--transition-base);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--color-primary);
  background: rgba(31, 111, 67, .07);
}

.main-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-soft);
  border-radius: 14px;
  padding: .5rem;
  margin-top: 1.6rem !important;
}

.main-navbar .dropdown-item {
  border-radius: 10px;
  padding: .55rem .85rem;
  font-size: .9rem;
  font-weight: 500;
}

.main-navbar .dropdown-item:hover {
  background: rgba(31, 111, 67, .08);
  color: var(--color-primary);
}

.navbar-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  border-radius: var(--radius-btn);
  font-weight: 600;
  padding: .65rem 1.5rem;
  transition: all var(--transition-base);
}

.btn-primary-forest {
  background: var(--color-primary);
  border: 1px solid transparent;
  color: #fff;
}

.btn-primary-forest:hover,
.btn-primary-forest:focus {
  background: var(--gradient-brand);
  filter: brightness(0.92);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-forest {
  border: 1.5px solid rgba(255, 255, 255, .65);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}

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

.btn-light-forest {
  background: #fff;
  color: var(--color-primary);
}

.btn-light-forest:hover {
  background: var(--color-bg);
  color: var(--color-primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.hero-slider {
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 67, 50, .35) 0%, rgba(20, 83, 45, .55) 55%, rgba(15, 58, 32, .92) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: clamp(6rem, 8vw, 10rem);
  padding-top: 1rem;
  /* max-width: 960px; */
}

.hero-slide-content .hero-tag {
  display: inline-block;
  background: rgba(124, 179, 66, .25);
  border: 1px solid rgba(124, 179, 66, .55);
  color: #E8F5E9;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-slide-content h1 {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, .88);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: .55;
  width: 9px;
  height: 9px;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--color-accent);
  width: 26px;
  border-radius: 5px;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: #fff;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
  font-size: 1.1rem;
}

/* ==========================================================================
   Statistic band
   ========================================================================== */

.stat-band {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.stat-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  /* border-top: 3px solid; */
  border-image: var(--gradient-brand) 1;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-hover);
}

.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(31, 111, 67, .08);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .85rem;
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--color-heading);
}

.stat-card .stat-label {
  color: var(--color-muted);
  font-size: .88rem;
}

/* ==========================================================================
   Cards — news / program / gallery
   ========================================================================== */

.card-elevated {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
}

.card-elevated:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-hover);
  border-style: solid;
  border-width: 1px;
}

.card-img-wrap {
  overflow: hidden;
  border-radius: var(--radius-img) var(--radius-img) 0 0;
  aspect-ratio: 16/10.5;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.card-elevated:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-category {
  display: inline-block;
  background: rgba(31, 111, 67, .08);
  color: var(--color-primary);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}

.card-elevated .card-body {
  padding: 1.4rem;
}

.card-elevated .card-title a {
  color: var(--color-heading);
}

.card-elevated .card-title a:hover {
  color: var(--color-primary);
}

.card-meta {
  font-size: .8rem;
  color: var(--color-muted);
}

.program-icon-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.program-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft-hover);
}

.program-icon-card .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

/* Rounded images generally */
.img-rounded {
  border-radius: var(--radius-img);
  overflow: hidden;
}

.img-hover-zoom {
  overflow: hidden;
  border-radius: var(--radius-img);
}

.img-hover-zoom img {
  transition: transform .5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-hover-zoom:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Agenda / Announcement sidebar
   ========================================================================== */

.agenda-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.agenda-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base);
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-item:hover {
  background: var(--color-bg);
}

.agenda-date {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  line-height: 1.05;
}

.agenda-date .day {
  font-size: 1.15rem;
  font-weight: 700;
}

.agenda-date .month {
  font-size: .65rem;
  text-transform: uppercase;
}

.announcement-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.announcement-item:last-child {
  border-bottom: none;
}

.announcement-item i {
  color: var(--color-accent);
  margin-top: .2rem;
}

/* ==========================================================================
   Partner logos
   ========================================================================== */

.partner-logo {
  filter: grayscale(100%);
  opacity: .55;
  transition: all var(--transition-base);
  max-height: 200px;
  width: auto;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-heading);
  color: rgba(255, 255, 255, .75);
  position: relative;
}

.site-footer .footer-brand-acronym {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  letter-spacing: .01em;
  padding-right: .15rem;
  border-right: 2px solid rgba(255, 255, 255, .3);
  margin-right: .1rem;
}

.site-footer .footer-brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  font-size: 0.75rem;
  max-width: 270px;
}

.site-footer .footer-brand-subtitle {
  font-size: .74rem;
  color: rgba(255, 255, 255, .72);
  font-weight: 500;
}

.site-footer h6 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: rgba(255, 255, 255, .72);
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer .footer-links li {
  margin-bottom: .6rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, .18);
  font-size: .85rem;
}

.social-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-base);
}

.social-round:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
  z-index: 1040;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gradient-brand);
  filter: brightness(0.92);
}

/* ==========================================================================
   Breadcrumb / page banner
   ========================================================================== */

.page-banner {
  background: linear-gradient(120deg, var(--color-heading) 0%, var(--color-primary) 100%);
  padding: 3.5rem 0 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.page-banner .breadcrumb {
  --bs-breadcrumb-divider: '/';
  margin-bottom: .5rem;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, .75);
}

.page-banner .breadcrumb-item.active {
  color: #fff;
}

/* ==========================================================================
   Sidebar widgets (Berita listing)
   ========================================================================== */

.widget-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.widget-card+.widget-card {
  margin-top: 1.5rem;
}

.widget-title {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--color-bg);
}

.category-list li {
  display: flex;
  justify-content: space-between;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list .badge-count {
  background: var(--color-bg);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 999px;
  padding: .15rem .6rem;
  font-size: .75rem;
}

.popular-post {
  display: flex;
  gap: .85rem;
  margin-bottom: 1rem;
}

.popular-post img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.popular-post .title {
  font-size: .86rem;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.35;
}

.popular-post .date {
  font-size: .75rem;
  color: var(--color-muted);
}

.tag-pill {
  display: inline-block;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: .8rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  margin: 0 .4rem .4rem 0;
  transition: all var(--transition-base);
}

.tag-pill:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

/* ==========================================================================
   Article detail
   ========================================================================== */

.article-body {
  font-size: 1.03rem;
  line-height: 1.85;
}

.article-body h2,
.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg);
  padding: 1.25rem 1.5rem;
  border-radius: 0 16px 16px 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-heading);
  margin: 1.75rem 0;
}

.article-body img {
  border-radius: var(--radius-img);
  margin: 1.5rem 0;
}

.article-body table {
  width: 100%;
}

.share-buttons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.share-buttons a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.author-box {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.author-box img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Comments */
.comment-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.comment-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-item.reply {
  margin-left: 3.5rem;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.masonry-grid {
  column-count: 4;
  column-gap: 1.25rem;
}

@media (max-width: 991px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 767px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-img);
  overflow: hidden;
  position: relative;
  display: block;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}

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

.masonry-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 83, 45, .75) 0%, rgba(20, 83, 45, 0) 55%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
}

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

.video-thumb {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all var(--transition-base);
}

.video-thumb:hover .video-play-btn {
  background: var(--gradient-brand);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: .6rem;
  right: .6rem;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: 6px;
}

/* Photo show */
.photo-show-main img {
  border-radius: var(--radius-img);
  width: 100%;
}

.thumb-strip {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .5rem;
}

.thumb-strip img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border var(--transition-base);
}

.thumb-strip img.active,
.thumb-strip img:hover {
  border-color: var(--color-accent);
}

/* ==========================================================================
   Accordion / CMS page
   ========================================================================== */

.accordion-item {
  border-style: solid;
  border-width: 1px;
  border-image: var(--gradient-brand) 1;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: .85rem;
}

.accordion-button {
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-heading);
}

.accordion-button:not(.collapsed) {
  background: rgba(31, 111, 67, .06);
  color: var(--color-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  outline: 3px solid var(--color-accent);
}

.download-file-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-bg);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: .85rem;
}

.download-file-item .file-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Video player page
   ========================================================================== */

.ratio-video {
  border-radius: var(--radius-img);
  overflow: hidden;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination .page-link {
  border-radius: 10px !important;
  margin: 0 .2rem;
  color: var(--color-text);
  border-color: var(--color-border);
  font-weight: 600;
}

.pagination .page-item.active .page-link {
  background: var(--gradient-brand);
  border-color: transparent;
}

.pagination .page-link:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-control,
.form-select {
  border-radius: 10px;
  border-color: var(--color-border);
  padding: .65rem .9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 .2rem rgba(46, 139, 87, .15);
}

/* ==========================================================================
   Google Map
   ========================================================================== */

.map-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  filter: grayscale(15%);
}

/* ==========================================================================
   Utility
   ========================================================================== */

.divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-muted);
  display: inline-block;
}