/*
Theme Name: GNTP
Theme URI: https://gntp.net/
Template: xionic
Author: Xionic
Author URI: https://xionic.web.id
Description: GNTP theme extending the Xionic Theme Framework with custom Front Page Hero Image section for Sekolah Madani Indonesia.
Version: 1.0.0
Text Domain: gntp
*/

/* Custom GNTP Child Theme Tokens */
:root {
  --xionic-primary: #1e3a8a;
  --xionic-primary-rgb: 30, 58, 138;
  --xionic-secondary-container: #0284c7;
  --xionic-on-primary: #ffffff;
  --xionic-container-max: 1200px;
}


/* =============================================================================
   GNTP HERO IMAGE — CSS Utilities & Enhancements
   Menangani semua class dari templates/components/hero.php
   ============================================================================= */


/* ── Keyframe Animations ─────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Ken Burns slow zoom untuk hero image */
@keyframes kenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

/* Pulse halus untuk elemen badge */
@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.35);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(14, 165, 233, 0);
  }
}

/* ── Base Animation Utilities ────────────────────────────────────────────── */
.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered delay untuk child elements di dalam hero content */
.animate-fade-in-up>*:nth-child(1) {
  animation-delay: 0.10s;
}

.animate-fade-in-up>*:nth-child(2) {
  animation-delay: 0.25s;
}

.animate-fade-in-up>*:nth-child(3) {
  animation-delay: 0.40s;
}

.animate-fade-in-up>*:nth-child(4) {
  animation-delay: 0.55s;
}

/* ── Layout & Positioning ────────────────────────────────────────────────── */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

/* Hero section height */
.h-\[60vh\] {
  height: 60vh;
  min-height: 460px;
}

@media (min-width: 768px) {
  .md\:h-\[80vh\] {
    height: 80vh;
    min-height: 560px;
  }
}

/* ── Flex Utilities ──────────────────────────────────────────────────────── */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.overflow-hidden {
  overflow: hidden;
}

/* ── Sizing & Object-fit ─────────────────────────────────────────────────── */
.w-full {
  width: 100% !important;
}

.h-full {
  height: 100% !important;
}

.object-cover {
  object-fit: cover !important;
}

.max-w-2xl {
  max-width: 42rem;
}

.opacity-90 {
  opacity: 0.90 !important;
}

/* ── Container & Spacing ─────────────────────────────────────────────────── */
.max-w-container {
  max-width: var(--xionic-container-max, 1200px);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-gutter {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

/* ── Element Grid Utilities (Added for Image Grids) ──────────────────────── */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-outline-variant {
  border-color: var(--xionic-outline-variant);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.aspect-\[3\/2\] {
  aspect-ratio: 3 / 2;
}

.aspect-\[16\/9\] {
  aspect-ratio: 16 / 9;
}

.aspect-\[4\/5\] {
  aspect-ratio: 4 / 5;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-12 {
  padding-top: 3rem;
}

.space-y-4> :not([hidden])~ :not([hidden]) {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .md\:w-1\/2 {
    width: 50%;
  }

  .md\:flex-row {
    flex-direction: row !important;
  }

  .md\:flex-row-reverse {
    flex-direction: row-reverse !important;
  }

  .md\:items-end {
    align-items: flex-end !important;
  }
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

/* ── Flex Layout Utilities (Missing from Parent) ─────────────────────────── */
.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-col {
  flex-direction: column !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.items-start {
  align-items: flex-start !important;
}

.items-center {
  align-items: center !important;
}

.items-end {
  align-items: flex-end !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-end {
  justify-content: flex-end !important;
}

.justify-between {
  justify-content: space-between !important;
}

/* ── Icon List Utilities ─────────────────────────────────────────────────── */
.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.bg-primary-10 {
  background-color: rgba(var(--xionic-primary-rgb, 30, 58, 138), 0.1);
}

.text-primary {
  color: var(--xionic-primary, #1e3a8a) !important;
}

.text-on-surface {
  color: var(--xionic-on-surface, #1e2327);
}

.font-body-md {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.shrink-0 {
  flex-shrink: 0 !important;
}

/* ── Section Header Utilities ────────────────────────────────────────────── */
.bg-secondary-10 {
  background-color: rgba(var(--xionic-secondary-rgb, 100, 116, 139), 0.1);
}

.text-secondary {
  color: var(--xionic-secondary, #64748b) !important;
}

.text-on-surface-variant {
  color: var(--xionic-on-surface-variant, #4b5563);
}

.font-headline-md {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.font-label-md {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.border-primary {
  border-color: var(--xionic-primary, #1e3a8a) !important;
}

/* ── Hero Image: Ken Burns Effect ────────────────────────────────────────── */
/* Gunakan selector spesifik agar tidak mengganggu gambar lain */
.gntp-hero-image,
section.relative>.absolute>img {
  animation: kenBurns 18s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

/* ── Overlay Gradient (bg-gradient-to-r) ─────────────────────────────────── */
.bg-gradient-to-r {
  background:
    /* Vignette bawah */
    linear-gradient(to top,
      rgba(15, 23, 42, 0.60) 0%,
      rgba(15, 23, 42, 0) 35%),
    /* Overlay kiri utama (text legibility) */
    linear-gradient(to right,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(15, 23, 42, 0.65) 45%,
      rgba(15, 23, 42, 0.15) 100%) !important;
}

/* ── Colors ──────────────────────────────────────────────────────────────── */
/* Text white (h1, p dengan class text-white di hero) */
.text-white {
  color: #ffffff !important;
}

.text-on-primary,
.text-on-primary * {
  color: #ffffff !important;
}

/* Badge: bg-secondary-container */
.bg-secondary-container {
  background-color: var(--xionic-secondary-container, #0ea5e9) !important;
}

/* ── Hero Badge (span.inline-block.bg-secondary-container) ──────────────── */
section.relative span.inline-block.bg-secondary-container {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  /* pill shape */
  background-color: rgba(251, 109, 0, 0.90) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(251, 109, 0, 0.90);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: badgePulse 3s ease-in-out infinite, fadeInLeft 0.7s 0.1s both;
}

/* ── Hero Typography ─────────────────────────────────────────────────────── */
.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.text-caption {
  font-size: 0.8125rem;
}

.font-label-md {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.text-label-md {
  font-size: 0.9375rem;
}

/* H1 Hero Title */
.text-display-lg-mobile {
  font-size: 2.125rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.font-display-lg-mobile {
  font-weight: 800;
}

@media (min-width: 768px) {
  .md\:text-display-lg {
    font-size: 3.375rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .md\:font-display-lg {
    font-weight: 800;
  }
}

/* Subtitle / Body */
.text-body-lg {
  font-size: 1.0625rem;
  line-height: 1.70;
}

.font-body-lg {
  font-weight: 400;
}

.text-xl {
  font-size: 1.25rem;
}

/* ── Hero CTA Buttons ────────────────────────────────────────────────────── */
/* Primary CTA: bg-secondary-container (biru muda) */
section.relative a.bg-secondary-container {
  position: relative;
  overflow: hidden;
  background-color: rgb(251 109 0) !important;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  text-decoration: none !important;
  transition: background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
  box-shadow: 0 4px 14px rgb(199, 87, 2);
}

section.relative a.bg-secondary-container:hover {
  background-color: rgb(218, 96, 3) !important;
  box-shadow: 0 6px 20px rgb(199, 87, 2);
  transform: translateY(-2px);
}

section.relative a.bg-secondary-container:active {
  transform: translateY(0) scale(0.97);
}

/* Secondary CTA: border ghost button */
section.relative a.border-on-primary,
.border-on-primary {
  border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.18s ease;
}

section.relative a.border-on-primary:hover,
.hover\:bg-white\/10:hover {
  background-color: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-2px);
}

section.relative a.border-on-primary:active {
  transform: translateY(0) scale(0.97);
}

/* ── CTA hover shadow (transition-shadow) ────────────────────────────────── */
.transition-shadow {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hover\:shadow-lg:hover {
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-2px);
}

.transition-colors {
  transition: background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.18s ease;
}

/* ── Material Icon di CTA 2 ──────────────────────────────────────────────── */
section.relative .material-symbols-outlined.text-xl {
  font-size: 1.25rem;
  vertical-align: middle;
  line-height: 1;
}

/* ── Responsive Mobile Adjustments ──────────────────────────────────────── */
@media (max-width: 767px) {
  .max-w-2xl {
    max-width: 100%;
  }

  section.relative {
    min-height: 460px;
  }

  /* Buttons full-width on small screens */
  section.relative .flex.flex-wrap.gap-4 {
    flex-direction: column;
    gap: 0.75rem;
  }

  section.relative .flex.flex-wrap.gap-4 a {
    width: 100%;
    justify-content: center;
  }

  /* Ken Burns dinonaktifkan untuk performa mobile */
  .gntp-hero-image,
  section.relative>.absolute>img {
    animation: none;
  }
}

/* ── Accessibility: reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  .animate-fade-in-up,
  .gntp-hero-image,
  section.relative>.absolute>img,
  section.relative span.inline-block.bg-secondary-container {
    animation: none !important;
  }
}

/* ── text-decoration-none (dipakai di kedua CTA) ─────────────────────────── */
.text-decoration-none,
a.text-decoration-none {
  text-decoration: none !important;
}


/* =============================================================================
   GNTP HEADER — CSS Utilities & Design Tokens
   Menangani semua class yang dipakai di templates/header/gntp-header.php
   ============================================================================= */

/* ── Design Tokens Override untuk GNTP (Sekolah Madani Indonesia) ────────── */
:root {
  /* Primary: biru institusi */
  --gntp-primary: #1e3a8a;
  --gntp-primary-hover: #1e40af;
  --gntp-on-primary: #ffffff;

  /* Surface: putih bersih dengan alpha */
  --gntp-surface-container-lowest: #ffffff;
  --gntp-surface-container: #f1f5f9;

  /* Border */
  --gntp-outline-variant: #e2e8f0;

  /* Text */
  --gntp-on-surface-variant: #475569;
  --gntp-on-surface: #0f172a;

  /* Accent (dari Secondary Accent Color di options panel) */
  --gntp-accent: var(--xionic-secondary, #b45309);

  /* Shadow */
  --gntp-shadow-sm: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
}

/* Sinkronkan ke token Xionic agar semua komponen parent ikut skema biru */
:root {
  --xionic-primary: var(--gntp-primary);
  --xionic-on-primary: var(--gntp-on-primary);
  --xionic-secondary-container: rgb(251 109 0);
  --xionic-outline-variant: var(--gntp-outline-variant);
  --xionic-on-surface-variant: var(--gntp-on-surface-variant);
}

/* ── Positioning & Z-index ────────────────────────────────────────────────── */
.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

/* ── Glassmorphism Header Background ─────────────────────────────────────── */
.bg-surface-container-lowest\/90 {
  background-color: rgba(255, 255, 255, 0.92);
}

.bg-surface-container-lowest\/95 {
  background-color: rgba(255, 255, 255, 0.97);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Border ───────────────────────────────────────────────────────────────── */
.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-outline-variant {
  border-color: var(--gntp-outline-variant) !important;
}

/* ── Shadow & Global Transitions ─────────────────────────────────────────── */
.shadow-sm {
  box-shadow: var(--gntp-shadow-sm);
}

.transition-all {
  transition: all 0.3s ease;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.transition-transform {
  transition: transform 0.2s ease;
}

/* ── Flexbox Utilities ────────────────────────────────────────────────────── */
.justify-between {
  justify-content: space-between !important;
}

.justify-center {
  justify-content: center !important;
}

.flex-col {
  flex-direction: column !important;
}

.inline-flex {
  display: inline-flex !important;
}

.shrink-0 {
  flex-shrink: 0 !important;
}

/* ── Spacing (Header-specific) ───────────────────────────────────────────── */
.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.pt-3 {
  padding-top: 0.75rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.px-6 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

/* ── Sizing (Logo) ───────────────────────────────────────────────────────── */
.h-10 {
  height: 2.5rem !important;
}

.w-auto {
  width: auto !important;
}

.object-contain {
  object-fit: contain !important;
}

.text-2xl {
  font-size: 1.5rem !important;
  line-height: 1 !important;
}

/* ── Color: Primary ──────────────────────────────────────────────────────── */
.bg-primary {
  background-color: var(--gntp-primary) !important;
}

.text-primary {
  color: var(--gntp-primary) !important;
}

/* on-primary sudah didefinisikan di atas untuk hero, pastikan konsisten */
.bg-primary .text-on-primary,
.bg-primary {
  color: var(--gntp-on-primary);
}

/* ── Color: Surface Container ────────────────────────────────────────────── */
.bg-surface-container {
  background-color: var(--gntp-surface-container) !important;
}

/* ── Color: Text on Surface Variant (nav links) ──────────────────────────── */
.text-on-surface-variant {
  color: var(--gntp-on-surface-variant) !important;
}

/* ── Typography: Brand Title ─────────────────────────────────────────────── */
.font-title-lg {
  font-weight: 700;
}

.text-title-lg {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.font-bold {
  font-weight: 700;
}

/* ── Typography: Nav Links ───────────────────────────────────────────────── */
.font-body-md {
  font-weight: 400;
}

.text-body-md {
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ── Decorations ─────────────────────────────────────────────────────────── */
.text-decoration-none,
a.text-decoration-none {
  text-decoration: none !important;
}

/* ── Responsive Visibility ───────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .md\:block {
    display: block !important;
  }

  .md\:flex {
    display: flex !important;
  }

  .md\:inline-flex {
    display: inline-flex !important;
  }

  .md\:hidden {
    display: none !important;
  }

  .md\:h-12 {
    height: 3rem !important;
  }
}

/* ── Nav Link Hover States ────────────────────────────────────────────────── */
.hover\:text-primary:hover {
  color: var(--gntp-primary) !important;
  transition: color 0.2s ease;
}

.hover\:bg-surface-container:hover {
  background-color: var(--gntp-surface-container) !important;
}

/* ── PPDB Button ─────────────────────────────────────────────────────────── */
.hover\:bg-primary\/90:hover {
  background-color: var(--gntp-primary-hover) !important;
}

.active\:scale-95:active {
  transform: scale(0.95);
}

/* ── Mobile Nav Panel ─────────────────────────────────────────────────────── */
#gntp-mobile-nav {
  overflow: hidden;
  transition: opacity 0.2s ease;
}

#gntp-mobile-nav.hidden {
  display: none !important;
}

#gntp-mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gntp-outline-variant);
  text-decoration: none;
}

#gntp-mobile-nav a:last-of-type {
  border-bottom: none;
}

/* ── Hamburger Button ─────────────────────────────────────────────────────── */
#gntp-mobile-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}

#gntp-mobile-toggle:focus-visible {
  outline: 2px solid var(--gntp-primary);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* ── WordPress Admin Bar Offset ──────────────────────────────────────────── */
/* Saat admin bar aktif (margin-top: 32px di html), sticky header perlu offset */
.admin-bar #gntp-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar #gntp-header {
    top: 46px !important;
  }
}

/* ── wp_nav_menu() & Fallback Output Normalization untuk GNTP Header ──────── */
#gntp-header-nav,
#gntp-mobile-nav-menu,
nav[aria-label="Navigasi Utama"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem !important;
}

/* Base style untuk link desktop (menu asli & fallback) */
#gntp-header-nav .menu-item>a,
nav[aria-label="Navigasi Utama"]>a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gntp-on-surface-variant) !important;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.35rem;
  /* Ruang untuk garis bawah */
  transition: color 0.2s ease;
}

/* Garis bawah animasi */
#gntp-header-nav .menu-item>a::before,
nav[aria-label="Navigasi Utama"]>a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gntp-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

/* Hover & Active States (Desktop) */
#gntp-header-nav .menu-item>a:hover,
#gntp-header-nav .current-menu-item>a,
nav[aria-label="Navigasi Utama"]>a:hover,
nav[aria-label="Navigasi Utama"]>a.active {
  color: var(--gntp-accent) !important;
}

#gntp-header-nav .menu-item>a:hover::before,
#gntp-header-nav .current-menu-item>a::before,
nav[aria-label="Navigasi Utama"]>a:hover::before,
nav[aria-label="Navigasi Utama"]>a.active::before {
  transform: scaleX(1);
}

/* Mobile: stack nav items */
#gntp-mobile-nav-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 0 !important;
}

#gntp-mobile-nav-menu .menu-item {
  width: 100%;
}

#gntp-mobile-nav-menu .menu-item>a {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gntp-on-surface-variant) !important;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gntp-outline-variant);
  text-decoration: none;
  transition: color 0.2s ease;
}

#gntp-mobile-nav-menu .menu-item>a:hover,
#gntp-mobile-nav-menu .current-menu-item>a {
  color: var(--gntp-accent) !important;
}

/* =============================================================================
   SUBMENU / DROPDOWN STYLING
   ============================================================================= */

/* ── Desktop Submenu ── */
#gntp-header-nav .menu-item {
  position: relative;
}

#gntp-header-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  /* Bootstrap dropdown bg */
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  /* shadow-sm */
  border: none !important;
  /* border-0 */
  border-radius: 0 !important;
  /* rounded-0 */
  padding: 0.5rem !important;
  /* p-2 */
  margin: 0;
  list-style: none;
  display: block !important;
  /* Overrides Bootstrap's display: none */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

/* Hover parent -> Tampilkan submenu */
#gntp-header-nav .menu-item:hover>.sub-menu,
#gntp-header-nav .menu-item:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Item dalam submenu (Desktop) */
#gntp-header-nav .sub-menu .menu-item {
  width: 100%;
}

#gntp-header-nav .sub-menu .menu-item>a {
  display: block;
  padding: 0.25rem 1rem !important;
  font-size: 0.95rem;
  font-weight: 400;
  color: #212529 !important;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

#gntp-header-nav .sub-menu .menu-item>a:hover {
  background-color: #f8f9fa !important;
  /* Bootstrap dropdown-item hover bg */
  color: #1e2125 !important;
}

#gntp-header-nav .sub-menu .menu-item>a.active,
#gntp-header-nav .sub-menu .current-menu-item>a,
#gntp-header-nav .sub-menu .menu-item>a:active {
  background-color: #e9ecef !important;
  /* Bootstrap dropdown-item active bg tapi lebih soft */
  color: var(--gntp-accent) !important;
  /* Warna accent GNTP */
}

/* Hilangkan garis bawah animasi untuk link di dalam dropdown */
#gntp-header-nav .sub-menu .menu-item>a::before {
  display: none !important;
}

/* Nested Submenu (Level 2+) */
#gntp-header-nav .sub-menu .sub-menu {
  top: 0 !important;
  left: 100% !important;
  margin-top: -0.5rem;
  /* Sejajarkan dengan parent item */
  transform: translateX(15px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#gntp-header-nav .sub-menu .menu-item:hover>.sub-menu,
#gntp-header-nav .sub-menu .menu-item:focus-within>.sub-menu {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ── Mobile Submenu ── */
#gntp-mobile-nav-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  /* Indentasi submenu di mobile */
  border-left: 1px dashed var(--gntp-outline-variant);
  margin-left: 0.5rem;
  display: block;
  /* Selalu tampil ke bawah */
}

#gntp-mobile-nav-menu .sub-menu .menu-item>a {
  border-bottom: none;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  font-weight: 400;
}

/* =============================================================================
   GNTP — Global Design Token Overrides & Typography
   ============================================================================= */

/* Override Xionic font to Inter (no Playfair Display) */
:root {
  --xionic-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Body & Links ────────────────────────────────────────────────────────── */
body {
  font-family: var(--xionic-font-display) !important;
  color: var(--gntp-on-surface, #0f172a);
}

a {
  color: var(--gntp-primary, #1e3a8a);
}

a:hover {
  color: var(--gntp-primary-hover, #1e40af);
}

/* ── Headline elements — no italic ──────────────────────────────────────── */
.font-headline,
h1.font-headline,
h2.font-headline,
h3.font-headline,
h4.font-headline,
h5.font-headline,
h6.font-headline,
.single .font-headline,
.single-post .font-headline,
h1.entry-title,
h2.entry-title,
.entry-title {
  font-style: normal !important;
  font-family: var(--xionic-font-display) !important;
  color: var(--gntp-on-surface, #0f172a);
}

/* ── Blockquote ──────────────────────────────────────────────────────────── */
.xionic-article-body blockquote,
blockquote {
  border-left-color: var(--gntp-accent, #b45309) !important;
  background-color: #fefce8 !important;
  color: var(--gntp-on-surface, #0f172a) !important;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-xionic-primary {
  background-color: var(--gntp-primary, #1e3a8a) !important;
  font-family: var(--xionic-font-display) !important;
}

.btn-xionic-primary:hover {
  background-color: var(--gntp-primary-hover, #1e40af) !important;
  opacity: 1 !important;
}

.btn-xionic-outline {
  border-color: var(--gntp-primary, #1e3a8a) !important;
  color: var(--gntp-primary, #1e3a8a) !important;
  font-family: var(--xionic-font-display) !important;
}

.btn-xionic-outline:hover {
  background-color: var(--gntp-primary, #1e3a8a) !important;
  color: #fff !important;
}

/* ── Sidebar & widget titles (parent theme sidebar) ─────────────────────── */
.xionic-sidebar-title,
.widget-title,
.widget h3,
.widget h4 {
  font-family: var(--xionic-font-display) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gntp-primary, #1e3a8a) !important;
  border-bottom: 2px solid var(--gntp-outline-variant, #e2e8f0);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* ── Parent theme pagination color override ──────────────────────────────── */
.xionic-pagination .page-numbers,
.navigation.pagination .page-numbers {
  font-family: var(--xionic-font-display) !important;
  color: var(--gntp-on-surface-variant, #475569) !important;
}

.xionic-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  color: var(--gntp-primary, #1e3a8a) !important;
  border-bottom-color: var(--gntp-primary, #1e3a8a) !important;
}

.xionic-pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:hover {
  color: var(--gntp-primary, #1e3a8a) !important;
}

/* ── Popular post number color (parent sidebar) ──────────────────────────── */
.xionic-popular-num {
  color: var(--gntp-primary, #1e3a8a) !important;
}

/* ── Post card images — color (no grayscale) ─────────────────────────────── */
.xionic-post-img,
.xionic-hero-img {
  filter: none !important;
}

.xionic-post-card:hover .xionic-post-img,
.xionic-hero-card:hover .xionic-hero-img {
  filter: none !important;
}


/* =============================================================================
   GNTP — Article Body Prose Styles (single post)
   Matches the design from artikel_sekolah_madani_indonesia/code.html
   ============================================================================= */

.gntp-prose p {
  margin-bottom: 1.5rem;
  color: #454652;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.gntp-prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-family: var(--xionic-font-display);
}

.gntp-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-style: normal;
  font-family: var(--xionic-font-display);
}

.gntp-prose blockquote {
  border-left: 4px solid #cc0000 !important;
  padding-left: 1.5rem;
  font-style: italic;
  color: #1a237e !important;
  background: transparent !important;
  margin: 2rem 0;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.gntp-prose ul,
.gntp-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #454652;
}

.gntp-prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.gntp-prose a {
  color: #1e3a8a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gntp-prose a:hover {
  color: #333333;
}

.gntp-prose img {
  border-radius: 0.5rem;
  max-width: 100%;
  height: auto;
}

.gntp-prose figure {
  margin: 2rem 0;
}

.gntp-prose figcaption {
  font-size: 12px;
  color: #475569;
  font-style: italic;
  text-align: center;
  margin-top: 8px;
}

/* Search form in sidebar */
.gntp-prose~aside .search-form,
aside .search-form {
  display: flex;
  gap: 6px;
}

aside .search-field {
  flex: 1;
  height: 38px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

aside .search-field:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

aside .search-submit {
  height: 38px;
  padding: 0 14px;
  background: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

aside .search-submit:hover {
  background: #1e40af;
}

/* =============================================================================
   GNTP — Search Results Page
   Design based on: layout/hasil_pencarian_sekolah_madani_indonesia/code.html

   search.php renders as col-12 inside parent .container > .row.
   .gntp-breakout on hero + results section spans full viewport width.
   ============================================================================= */

/* ── col-12 wrapper reset ────────────────────────────────────────────────── */
#gntp-search-col {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Neutralize parent py-5 + allow breakout overflow */
body.search #content.site-content,
body.search-results #content.site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
  max-width: none !important;
  width: 100% !important;
}

body.search #content.site-content>.row,
body.search-results #content.site-content>.row {
  --bs-gutter-y: 0 !important;
}

/* ── Search Hero ─────────────────────────────────────────────────────────── */
.gntp-search-hero {
  position: relative;
  background: linear-gradient(135deg, #333333 0%, #1a237e 100%);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.gntp-search-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(251, 109, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.gntp-search-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.gntp-search-hero-content {
  max-width: 780px;
}

.gntp-search-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-style: normal;
}

.gntp-search-form-wrap {
  position: relative;
}

.gntp-search-input {
  width: 100%;
  background: #fff;
  color: #454652;
  border: none;
  border-radius: 0.75rem;
  padding: 1.125rem 5rem 1.125rem 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  outline: none;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  font-family: var(--xionic-font-display, 'Inter', sans-serif);
}

.gntp-search-input:focus {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(251, 109, 0, 0.3);
  transform: scale(1.005);
}

.gntp-search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: #cc0000;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.gntp-search-btn:hover {
  background: #7a3200;
}

.gntp-search-btn:active {
  transform: translateY(-50%) scale(0.9);
}

.gntp-search-btn .material-symbols-outlined {
  font-size: 1.75rem;
}

/* ── Results Section ─────────────────────────────────────────────────────── */
.gntp-search-results-section {
  background: var(--xionic-surface, #fcf9f8);
  padding: 3rem 0 4rem;
}

.gntp-search-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gntp-search-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* ── Main Column ─────────────────────────────────────────────────────────── */
.gntp-search-main {
  flex: 1;
  min-width: 0;
}

/* Stats bar */
.gntp-search-statsbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #c6c5d4;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.gntp-search-stats-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111111;
  margin: 0;
}

.gntp-stats-count {
  color: #333333;
  font-weight: 700;
}

.gntp-stats-query {
  color: #cc0000;
  font-style: italic;
}

.gntp-search-sort-badge {
  background: #eae7e7;
  color: #454652;
  padding: 3px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Result Cards ────────────────────────────────────────────────────────── */
.gntp-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gntp-result-card {
  display: flex;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #c6c5d4;
  border-radius: 0.75rem;
  padding: 1.375rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  align-items: flex-start;
}

.gntp-result-card:hover {
  box-shadow: 0 6px 24px rgba(0, 6, 102, 0.1);
  transform: translateY(-1px);
}

.gntp-result-thumb {
  width: 192px;
  height: 128px;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #eae7e7;
}

.gntp-result-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gntp-result-card:hover .gntp-result-img {
  transform: scale(1.05);
}

.gntp-result-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gntp-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.gntp-result-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #333333;
  text-decoration: none;
  transition: color 0.2s;
}

.gntp-result-cat:hover {
  color: #cc0000;
}

.gntp-result-dot {
  color: #454652;
  opacity: 0.4;
  font-size: 12px;
}

.gntp-result-date {
  font-size: 12px;
  color: #454652;
  display: flex;
  align-items: center;
  gap: 3px;
}

.gntp-result-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  font-style: normal;
  transition: color 0.2s;
}

.gntp-result-card:hover .gntp-result-title a {
  color: #cc0000;
}

.gntp-result-excerpt {
  font-size: 0.9375rem;
  color: #454652;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Keyword highlight */
.gntp-highlight {
  background: #ffdbcb;
  color: #111111;
  padding: 0 3px;
  border-radius: 2px;
}

/* ── No Results ──────────────────────────────────────────────────────────── */
.gntp-no-results {
  text-align: center;
  padding: 4rem 1rem;
}

.gntp-no-results-icon {
  font-size: 4rem;
  color: #c6c5d4;
  display: block;
  margin-bottom: 1.5rem;
}

.gntp-no-results-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 0.75rem;
  font-style: normal;
}

.gntp-no-results-text {
  color: #454652;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.gntp-no-results-form {
  display: inline-flex;
  gap: 8px;
  max-width: 440px;
  width: 100%;
}

.gntp-no-results-input {
  flex: 1;
  height: 42px;
  border: 1px solid #c6c5d4;
  border-radius: 0.5rem;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.gntp-no-results-input:focus {
  border-color: #333333;
}

.gntp-no-results-btn {
  height: 42px;
  padding: 0 20px;
  background: #333333;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.gntp-no-results-btn:hover {
  background: #1a237e;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.gntp-search-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gntp-sidebar-box {
  background: #f6f3f2;
  border-radius: 0.75rem;
  padding: 1.375rem;
}

.gntp-sidebar-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #c6c5d4;
  font-style: normal;
}

/* Popular search links */
.gntp-popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.gntp-popular-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #454652;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.gntp-popular-link .material-symbols-outlined {
  font-size: 18px;
  opacity: 0.5;
  flex-shrink: 0;
}

.gntp-popular-link:hover {
  color: #cc0000;
  text-decoration: none;
}

.gntp-popular-link:hover .material-symbols-outlined {
  opacity: 1;
}

/* Help CTA */
.gntp-sidebar-help {
  background: #333333;
  border-radius: 0.75rem;
  padding: 1.375rem;
  color: #fff;
}

.gntp-sidebar-help-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.625rem;
  font-style: normal;
}

.gntp-sidebar-help-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 1.125rem;
}

.gntp-sidebar-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #cc0000;
  color: #fff;
  border-radius: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.gntp-sidebar-help-btn:hover {
  background: #7a3200;
  color: #fff;
  text-decoration: none;
}

.gntp-sidebar-help-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Category list */
.gntp-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gntp-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid #e5e2e1;
  border-radius: 6px;
  color: #111111;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.gntp-cat-link:hover {
  background: #333333;
  color: #fff;
  border-color: #333333;
  text-decoration: none;
}

.gntp-cat-link:hover .gntp-cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.gntp-cat-count {
  background: #f0eded;
  color: #454652;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .gntp-search-layout {
    flex-direction: column;
  }

  .gntp-search-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gntp-sidebar-box,
  .gntp-sidebar-help {
    flex: 1;
    min-width: 240px;
  }
}

@media (max-width: 575.98px) {
  .gntp-search-hero {
    padding: 2.5rem 0 3rem;
  }

  .gntp-result-card {
    flex-direction: column;
  }

  .gntp-result-thumb {
    width: 100%;
    height: 180px;
  }

  .gntp-search-sidebar {
    flex-direction: column;
  }

  .gntp-sidebar-box,
  .gntp-sidebar-help {
    min-width: unset;
  }
}

/* =============================================================================
   GNTP — Archive / Category / Tag / Taxonomy Page
   Design based on: layout/kategori_berita_sekolah_madani_indonesia/code.html

   archive.php renders as col-12 inside the parent's .container > .row.
   .gntp-breakout escapes the container via negative margin trick so hero
   and posts section span full viewport width.
   ============================================================================= */

/* ── Reset the col-12 wrapper — no padding or margin ─────────────────────── */
#gntp-archive-col {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* The parent .container had py-5 (3rem top padding) which we strip.
   The GNTP sticky header takes space in normal flow (~68px) so content
   renders directly below it — no extra offset needed.
   scroll-margin-top ensures browser scroll targets land below the header. */
.gntp-archive-hero {
  scroll-margin-top: 80px;
}

/* ── Breakout: escape Bootstrap .container to full-width ─────────────────── */
.gntp-breakout {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 0;
}

/* Also neutralise the parent .container padding on archive pages */
body.category .site-content.container,
body.tag .site-content.container,
body.archive .site-content.container,
body.author .site-content.container,
body.date .site-content.container,
body.tax .site-content.container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
  /* Required for breakout to work */
}

body.category .site-content .row,
body.tag .site-content .row,
body.archive .site-content .row,
body.author .site-content .row,
body.date .site-content .row,
body.tax .site-content .row {
  --bs-gutter-y: 0 !important;
}

/* ── Hero Header ─────────────────────────────────────────────────────────── */
.gntp-archive-hero {
  background: var(--xionic-surface-low, #f6f3f2);
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid var(--xionic-surface-high, #c6c5d4);
}

.gntp-archive-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Breadcrumb */
.gntp-archive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #454652;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.gntp-archive-breadcrumb a {
  color: #454652;
  text-decoration: none;
  transition: color 0.2s;
}

.gntp-archive-breadcrumb a:hover {
  color: #333333;
}

.gntp-archive-breadcrumb .material-symbols-outlined {
  font-size: 14px;
  line-height: 1;
  opacity: 0.6;
}

.gntp-breadcrumb-current {
  color: #333333;
  font-weight: 600;
}

/* Title */
.gntp-archive-hero-content {
  max-width: 780px;
}

.gntp-archive-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gntp-archive-icon {
  font-size: 2.25rem;
  color: #cc0000;
  flex-shrink: 0;
}

.gntp-archive-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #333333;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-style: normal;
}

.gntp-archive-desc {
  font-size: 1.0625rem;
  color: #454652;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.gntp-archive-desc p {
  margin: 0;
}

.gntp-archive-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #454652;
  background: #e5e2e1;
  padding: 3px 12px;
  border-radius: 999px;
  margin: 0;
}

/* ── Posts Section ───────────────────────────────────────────────────────── */
.gntp-archive-posts-section {
  background: var(--xionic-surface, #fcf9f8);
  padding: 3.5rem 0 4.5rem;
}

.gntp-archive-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── 3-Column Grid ───────────────────────────────────────────────────────── */
.gntp-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.gntp-archive-card {
  background: #fff;
  border: 1px solid #c6c5d4;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.gntp-archive-card:hover {
  box-shadow: 0 10px 32px rgba(0, 6, 102, 0.12);
  transform: translateY(-4px);
}

.gntp-archive-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eae7e7;
  flex-shrink: 0;
}

.gntp-archive-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gntp-archive-card:hover .gntp-archive-card-img {
  transform: scale(1.05);
}

.gntp-archive-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eae7e7;
  color: #c6c5d4;
}

.gntp-archive-card-img-placeholder .material-symbols-outlined {
  font-size: 3rem;
}

.gntp-archive-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #cc0000;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.gntp-archive-card-body {
  padding: 1.375rem 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gntp-archive-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #454652;
  margin-bottom: 0.75rem;
}

.gntp-archive-card-meta .material-symbols-outlined {
  font-size: 15px;
}

.gntp-archive-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  font-style: normal;
}

.gntp-archive-card-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s;
}

.gntp-archive-card:hover .gntp-archive-card-title a {
  color: #cc0000;
}

.gntp-archive-card-excerpt {
  font-size: 0.9375rem;
  color: #454652;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.gntp-archive-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
}

.gntp-archive-read-more .material-symbols-outlined {
  font-size: 17px;
}

.gntp-archive-card:hover .gntp-archive-read-more {
  gap: 10px;
  color: #cc0000;
}

/* ── Pagination — matches index.php style (no boxes, text + underline) ───── */
.gntp-archive-pagination {
  margin-top: 4rem;
  text-align: center;
}

.gntp-archive-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}

.gntp-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--gntp-on-surface-variant, #454652);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gntp-archive-pagination a.page-numbers:hover {
  color: var(--gntp-primary, #333333);
  background: transparent;
  border: none;
}

.gntp-archive-pagination .page-numbers.current {
  background: transparent;
  color: var(--gntp-primary, #333333);
  border-bottom: 2px solid #cc0000;
  border-radius: 0;
}

.gntp-archive-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

.gntp-archive-pagination .page-numbers .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
}

/* ── Empty State ─────────────────────────────────────────────────────────── */
.gntp-archive-empty {
  text-align: center;
  padding: 5rem 1rem;
}

.gntp-archive-empty-icon {
  font-size: 4.5rem;
  color: #c6c5d4;
  display: block;
  margin-bottom: 1.5rem;
}

.gntp-archive-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.75rem;
  font-style: normal;
}

.gntp-archive-empty-text {
  color: #454652;
  font-size: 1rem;
  margin: 0 0 2rem;
}

.gntp-archive-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  background: #333333;
  color: #fff;
  border-radius: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.gntp-archive-empty-btn:hover {
  background: #1a237e;
  color: #fff;
}

.gntp-archive-empty-btn .material-symbols-outlined {
  font-size: 18px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .gntp-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .gntp-archive-hero {
    padding: 2rem 0 2.5rem;
  }

  .gntp-archive-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gntp-archive-title-row {
    gap: 0.5rem;
  }

  .gntp-archive-icon {
    font-size: 1.75rem;
  }

  .gntp-archive-posts-section {
    padding: 2.5rem 0 3rem;
  }
}


/* =============================================================================
   GNTP — Author Profile Page
   Design based on: layout/profil_penulis_sekolah_madani_indonesia/code.html
   ============================================================================= */

/* Neutralize parent container gap */
body.author #content.site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
  max-width: none !important;
  width: 100% !important;
}

body.author #content.site-content>.row {
  --bs-gutter-y: 0 !important;
}

#gntp-author-col {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Author Hero ─────────────────────────────────────────────────────────── */
.gntp-author-hero {
  background: var(--xionic-surface-low, #f6f3f2);
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid #c6c5d4;
}

.gntp-author-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gntp-author-profile {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

/* ── Avatar ──────────────────────────────────────────────────────────────── */
.gntp-author-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.gntp-author-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 4px 24px rgba(0, 6, 102, 0.12);
}

.gntp-author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gntp-author-verified {
  position: absolute;
  bottom: 4px;
  right: 8px;
  background: #cc0000;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gntp-author-verified .material-symbols-outlined {
  font-size: 20px;
}

/* ── Author Info ─────────────────────────────────────────────────────────── */
.gntp-author-info {
  flex: 1;
  min-width: 0;
}

.gntp-author-role-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #1a237e;
  color: #8690ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.gntp-author-name {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #333333;
  margin: 0 0 0.375rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-style: normal;
}

.gntp-author-bio {
  font-size: 1.0625rem;
  color: #454652;
  line-height: 1.7;
  margin: 0.75rem 0 1rem;
  max-width: 680px;
}

/* Stats */
.gntp-author-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.gntp-author-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.gntp-author-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  line-height: 1;
}

.gntp-author-stat-label {
  font-size: 12px;
  color: #454652;
  font-weight: 500;
}

/* Social buttons */
.gntp-author-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gntp-author-social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #767683;
  color: #454652;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gntp-author-social-btn:hover {
  background: #333333;
  color: #fff;
  border-color: #333333;
  text-decoration: none;
}

.gntp-author-social-btn .material-symbols-outlined {
  font-size: 20px;
}

/* ── Posts Section ───────────────────────────────────────────────────────── */
.gntp-author-posts-section {
  background: var(--xionic-surface, #fcf9f8);
  padding: 3.5rem 0 4.5rem;
}

.gntp-author-grid-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gntp-author-grid-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
  line-height: 1.2;
  font-style: normal;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .gntp-author-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .gntp-author-avatar {
    width: 140px;
    height: 140px;
  }

  .gntp-author-stats {
    justify-content: center;
  }

  .gntp-author-social {
    justify-content: center;
  }

  .gntp-author-bio {
    max-width: 100%;
  }
}



/* =============================================================================
   GNTP — Footer Menu (Tautan Cepat)
   ============================================================================= */

.gntp-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.gntp-footer-menu li {
  margin: 0;
  padding: 0;
}

.gntp-footer-menu li a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
  display: inline-block;
}

.gntp-footer-menu li a:hover,
.gntp-footer-menu li.current-menu-item>a,
.gntp-footer-menu li.current_page_item>a {
  color: #ffffff;
  text-decoration: none;
}

/* =============================================================================
   GNTP — Widget Areas (Sidebar & Footer)
   ============================================================================= */

/* ── Shared widget wrapper ───────────────────────────────────────────────── */
.gntp-widget {
  margin-bottom: 2rem;
}

.gntp-widget:last-child {
  margin-bottom: 0;
}

/* ── Widget title ────────────────────────────────────────────────────────── */
.gntp-widget-title {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333333;
  border-bottom: 2px solid #e5e2e1;
  padding-bottom: 0.5rem;
  margin: 0 0 1rem !important;
  font-style: normal !important;
}

/* ── Sidebar Home / Archive / Article: no card wrapper for widgets ──────── */
#gntp-home-sidebar .gntp-widget,
#gntp-single-post .gntp-single-sidebar .gntp-widget,
.gntp-single-sidebar .gntp-widget,
.gntp-index-sidebar .gntp-widget {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* ── Footer widget area: white text on dark bg ───────────────────────────── */
#gntp-footer-col4 .gntp-widget-title,
#gntp-footer-col4 h3,
#gntp-footer-col4 h4 {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

#gntp-footer-col4 .gntp-widget,
#gntp-footer-col4 p,
#gntp-footer-col4 li,
#gntp-footer-col4 a {
  color: rgba(255, 255, 255, 0.72);
}

#gntp-footer-col4 a:hover {
  color: #ffffff;
}

#gntp-footer-col4 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#gntp-footer-col4 ul li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#gntp-footer-col4 ul li:last-child {
  border-bottom: none;
}

/* ── WordPress default widget normalisation ──────────────────────────────── */
.gntp-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gntp-widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid #e5e2e1;
  font-size: 0.9rem;
}

.gntp-widget ul li:last-child {
  border-bottom: none;
}

.gntp-widget ul li a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s;
}

.gntp-widget ul li a:hover {
  color: #333333;
}

/* Search widget */
.gntp-widget .search-form {
  display: flex;
  gap: 6px;
}

.gntp-widget .search-field {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  background: #fff;
}

.gntp-widget .search-submit {
  height: 38px;
  padding: 0 14px;
  background: #333333;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.gntp-widget .search-submit:hover {
  background: #1a237e;
}

/* =============================================================================
   GNTP — Blog Index (index.php)
   ============================================================================= */

/* Neutralize parent container */
body.blog #content.site-content,
body.home #content.site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
  max-width: none !important;
  width: 100% !important;
}

body.blog #content.site-content>.row,
body.home #content.site-content>.row {
  --bs-gutter-y: 0 !important;
}

#gntp-index-col {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Page header ─────────────────────────────────────────────────────────── */
.gntp-index-header {
  background: var(--xionic-surface-low, #f6f3f2);
  padding: 2.5rem 0 0;
  border-bottom: 1px solid var(--xionic-surface-high, #e5e2e1);
}

.gntp-index-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gntp-index-header-content {
  margin-bottom: 1.25rem;
}

.gntp-index-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #333333;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  font-style: normal;
  letter-spacing: -0.02em;
}

.gntp-index-subtitle {
  font-size: 0.9375rem;
  color: #454652;
  margin: 0;
  line-height: 1.6;
}

/* Category filter tabs */
.gntp-index-cats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.gntp-index-cat-link {
  display: inline-block;
  padding: 0.625rem 1.125rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #454652;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.gntp-index-cat-link:hover {
  color: #111111;
  text-decoration: none;
}

.gntp-index-cat-link.active {
  color: #111111;
  border-bottom-color: #cc0000;
  font-weight: 800;
}

/* ── Body section: content + sidebar ────────────────────────────────────── */
.gntp-index-body {
  background: var(--xionic-surface, #fcf9f8);
  padding: 3rem 0 4rem;
}

.gntp-index-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

/* ── Main posts column (3/4) ─────────────────────────────────────────────── */
.gntp-index-main {
  min-width: 0;
}

/* ── Hero featured post ──────────────────────────────────────────────────── */
.gntp-index-hero {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 6, 102, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: #111111;
}

.gntp-index-hero:hover {
  box-shadow: 0 12px 40px rgba(0, 6, 102, 0.15);
  transform: translateY(-2px);
}

.gntp-index-hero-img-wrap {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.gntp-index-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
  transition: transform 0.6s ease;
}

.gntp-index-hero:hover .gntp-index-hero-img {
  transform: scale(1.04);
}

.gntp-index-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 6, 102, 0.85) 0%,
      rgba(0, 6, 102, 0.4) 45%,
      rgba(0, 0, 0, 0.1) 100%);
}

.gntp-index-hero-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.gntp-index-badge {
  display: inline-block;
  padding: 3px 12px;
  background: #cc0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.gntp-index-badge--overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  pointer-events: none;
}

.gntp-index-hero-title {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-style: normal;
}

.gntp-index-hero-title a {
  color: #fff;
  text-decoration: none;
}

.gntp-index-hero-excerpt {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gntp-index-hero-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  flex-wrap: wrap;
}

.gntp-index-hero-meta .material-symbols-outlined {
  font-size: 14px;
  line-height: 1;
}

.gntp-index-meta-dot {
  opacity: 0.5;
}

/* ── Section heading ─────────────────────────────────────────────────────── */
.gntp-index-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e2e1;
  gap: 1rem;
}

.gntp-index-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111111;
  margin: 0;
  font-style: normal;
}

.gntp-index-view-all {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #333333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.gntp-index-view-all:hover {
  color: #cc0000;
  text-decoration: none;
}

/* ── Cards grid ──────────────────────────────────────────────────────────── */
.gntp-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.gntp-index-card {
  background: #fff;
  border: 1px solid #e5e2e1;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gntp-index-card:hover {
  box-shadow: 0 6px 24px rgba(0, 6, 102, 0.1);
  transform: translateY(-3px);
}

.gntp-index-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eae7e7;
  flex-shrink: 0;
}

.gntp-index-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
  transition: transform 0.5s ease;
}

.gntp-index-card:hover .gntp-index-card-img {
  transform: scale(1.05);
}

.gntp-index-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c6c5d4;
}

.gntp-index-card-img-placeholder .material-symbols-outlined {
  font-size: 3rem;
}

.gntp-index-card-body {
  padding: 1.125rem 1.125rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gntp-index-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #454652;
  margin-bottom: 0.5rem;
}

.gntp-index-card-meta .material-symbols-outlined {
  font-size: 13px;
}

.gntp-index-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  font-style: normal;
}

.gntp-index-card-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s;
}

.gntp-index-card:hover .gntp-index-card-title a {
  color: #333333;
}

.gntp-index-card-excerpt {
  font-size: 0.875rem;
  color: #454652;
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.gntp-index-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333333;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
}

.gntp-index-read-more .material-symbols-outlined {
  font-size: 15px;
}

.gntp-index-card:hover .gntp-index-read-more {
  gap: 8px;
  color: #cc0000;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.gntp-index-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}

.gntp-index-pagination {
  text-align: center;
  margin-top: 1rem;
}

.gntp-index-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  color: #454652;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}

.gntp-index-pagination a.page-numbers:hover {
  color: #333333;
}

.gntp-index-pagination .page-numbers.current {
  color: #333333;
  border-bottom: 2px solid #cc0000;
}

.gntp-index-pagination .page-numbers.dots {
  border: none;
}

.gntp-index-pagination .page-numbers .material-symbols-outlined {
  font-size: 18px;
  vertical-align: middle;
}

/* ── Sidebar (1/4) ───────────────────────────────────────────────────────── */
.gntp-index-sidebar {
  width: 100%;
  min-width: 0;
}

.gntp-index-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Widget in index sidebar */
#gntp-home-sidebar.gntp-index-sidebar .gntp-widget {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}


/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1023.98px) {
  .gntp-index-layout {
    display: flex;
    flex-direction: column;
  }

  .gntp-index-sidebar {
    width: 100%;
  }

  .gntp-index-sidebar-sticky {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gntp-index-sidebar .gntp-widget,
  #gntp-home-sidebar.gntp-index-sidebar .gntp-widget {
    flex: 1;
    min-width: 240px;
  }

  .gntp-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .gntp-index-hero-body {
    padding: 1.25rem;
  }

  .gntp-index-grid {
    grid-template-columns: 1fr;
  }

  .gntp-index-sidebar-sticky {
    flex-direction: column;
  }

  .gntp-index-sidebar .gntp-widget,
  #gntp-home-sidebar.gntp-index-sidebar .gntp-widget {
    min-width: unset;
  }

  .gntp-index-cats {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

/* =============================================================================
   GNTP — Prevent horizontal scrollbar from Bootstrap .row negative margins
   The .row inside #content applies margin-left/right: calc(-.5 * gutter-x)
   which overflows when combined with .gntp-breakout full-width sections.
   ============================================================================= */

body.blog,
body.home,
body.single,
body.single-post,
body.category,
body.tag,
body.archive,
body.author,
body.search,
body.date {
  overflow-x: hidden;
}

body.blog #content.site-content>.row,
body.home #content.site-content>.row,
body.single #content.site-content>.row,
body.single-post #content.site-content>.row,
body.category #content.site-content>.row,
body.tag #content.site-content>.row,
body.archive #content.site-content>.row,
body.author #content.site-content>.row,
body.search #content.site-content>.row,
body.date #content.site-content>.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

/* =============================================================================
   GNTP — Archive posts section: use index layout (main + sidebar)
   ============================================================================= */

/* Archive posts section now shares .gntp-index-layout for sidebar support */
.gntp-archive-posts-section .gntp-index-layout {
  padding: 3.5rem 1.5rem 4.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

/* Inside the sidebar layout, 2-col grid fits better than 3-col */
.gntp-archive-posts-section .gntp-archive-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 575.98px) {
  .gntp-archive-posts-section .gntp-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   GNTP — Single Post Page (article-GNTP.php)
   Design based on: layout/artikel_sekolah_madani_indonesia/code.html
   ============================================================================= */

#gntp-single-post {
  background: var(--xionic-surface, #fcf9f8);
  padding-top: 0;
  /* breadcrumb bar handles its own top spacing */
}

/* Col-12 wrapper for single post */
#gntp-single-col {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* The GNTP sticky header is ~68px. The parent .container had py-5 (3rem)
   stripped. Add it back as margin-top on the col wrapper so breadcrumb
   doesn't sit flush against the header. */
body.single #gntp-single-col,
body.single-post #gntp-single-col,
body.page #gntp-single-col {
  margin-top: 0 !important;
  /* Reset margin, header sudah mengambil ruang secara otomatis */
}

/* Fix sticky header tertutup admin bar saat login */
body.admin-bar #gntp-header,
body.admin-bar header.sticky,
body.admin-bar .sticky-top {
  top: 32px !important;
}

@media screen and (max-width: 782px) {

  body.admin-bar #gntp-header,
  body.admin-bar header.sticky,
  body.admin-bar .sticky-top {
    top: 46px !important;
  }
}


/* Allow breakout children to overflow the container */
body.single #content.site-content,
body.single-post #content.site-content,
body.page #content.site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.single #content.site-content>.row,
body.single-post #content.site-content>.row,
body.page #content.site-content>.row {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.gntp-single-breadcrumb {
  background: var(--xionic-surface-low, #f6f3f2);
  border-bottom: 1px solid var(--xionic-surface-high, #e5e2e1);
  padding: 1rem 0;
  scroll-margin-top: 80px;
  /* prevents anchor-jump hiding under sticky header */
}

.gntp-single-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gntp-bc-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #454652;
  flex-wrap: wrap;
}

.gntp-bc-nav a {
  color: #454652;
  text-decoration: none;
  transition: color 0.2s;
}

.gntp-bc-nav a:hover {
  color: #333333;
}

.gntp-bc-nav .material-symbols-outlined {
  font-size: 14px;
  line-height: 1;
  opacity: 0.5;
}

.gntp-bc-current {
  color: #333333;
  font-weight: 600;
}

/* ── Hero image ──────────────────────────────────────────────────────────── */
.gntp-single-hero-img {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #eae7e7;
}

.gntp-single-hero-thumb {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: none !important;
}

/* ── Two-column layout ───────────────────────────────────────────────────── */
.gntp-single-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 0 4rem;
}

/* ── Article column (8/12 equivalent) ───────────────────────────────────── */
.gntp-single-article {
  flex: 1;
  min-width: 0;
}

/* ── Article header ──────────────────────────────────────────────────────── */
.gntp-single-header {
  margin-bottom: 2.5rem;
}

.gntp-single-cat-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #ffdbcb;
  color: #562100;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.gntp-single-cat-badge:hover {
  background: #cc0000;
  color: #fff;
  text-decoration: none;
}

.gntp-single-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #333333;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  font-style: normal;
}

.gntp-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--xionic-surface-high, #e5e2e1);
  border-bottom: 1px solid var(--xionic-surface-high, #e5e2e1);
  font-size: 14px;
  color: #454652;
}

.gntp-single-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gntp-single-meta-item .material-symbols-outlined {
  font-size: 18px;
  color: #333333;
}

/* ── Featured image caption ──────────────────────────────────────────────── */
.gntp-single-fig-caption {
  margin: 0 0 2rem;
}

.gntp-single-fig-caption figcaption {
  padding: 10px 16px;
  background: var(--xionic-surface-low, #f6f3f2);
  border: 1px solid var(--xionic-surface-high, #e5e2e1);
  color: #454652;
  font-size: 12px;
  font-style: italic;
  text-align: center;
  border-radius: 0 0 6px 6px;
}

/* ── Article body ────────────────────────────────────────────────────────── */
.gntp-single-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #111111;
  margin-bottom: 3rem;
}

/* ── Prev/Next navigation ────────────────────────────────────────────────── */
.gntp-single-prevnext {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--xionic-surface-high, #e5e2e1);
  margin-bottom: 2rem;
}

.gntp-single-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  text-decoration: none;
  max-width: 45%;
  transition: color 0.2s;
}

.gntp-single-nav-link:hover {
  color: #cc0000;
  text-decoration: none;
}

.gntp-single-nav-link .material-symbols-outlined {
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Tags + share row ────────────────────────────────────────────────────── */
.gntp-single-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--xionic-surface-high, #e5e2e1);
  margin-bottom: 2.5rem;
}

.gntp-single-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gntp-single-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: #454652;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gntp-single-tag {
  padding: 3px 12px;
  background: #eae7e7;
  color: #333333;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.gntp-single-tag:hover {
  background: #333333;
  color: #fff;
}

.gntp-single-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gntp-single-share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #e5e2e1;
  background: none;
  color: #333333;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.gntp-single-share-btn:hover {
  background: #333333;
  color: #fff;
  border-color: #333333;
}

.gntp-single-share-btn .material-symbols-outlined {
  font-size: 16px;
}

/* ── Comments ────────────────────────────────────────────────────────────── */
.gntp-single-comments {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--xionic-surface-high, #e5e2e1);
}

/* ── Sidebar (4/12 equivalent) ───────────────────────────────────────────── */
.gntp-single-sidebar {
  width: 320px;
  flex-shrink: 0;
}

.gntp-single-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Widget inside single sidebar */
.gntp-single-sidebar .gntp-widget {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}


/* Popular posts in sidebar */
.gntp-sidebar-pop-link {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  align-items: flex-start;
}

.gntp-sidebar-pop-link:hover .gntp-sidebar-pop-title {
  color: #cc0000;
}

.gntp-sidebar-pop-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.gntp-sidebar-pop-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.gntp-sidebar-pop-title {
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.gntp-sidebar-pop-date {
  font-size: 11px;
  color: #475569;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1023.98px) {
  .gntp-single-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .gntp-single-sidebar {
    width: 100%;
  }

  .gntp-single-sidebar-sticky {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gntp-single-sidebar .gntp-widget {
    flex: 1;
    min-width: 240px;
  }

  .gntp-single-hero-thumb {
    height: 320px;
  }
}

@media (max-width: 575.98px) {
  .gntp-single-hero-thumb {
    height: 220px;
  }

  .gntp-single-sidebar-sticky {
    flex-direction: column;
  }

  .gntp-single-sidebar .gntp-widget {
    min-width: unset;
  }

  .gntp-single-meta {
    gap: 0.75rem;
    font-size: 13px;
  }
}

/* =============================================================================
   GNTP — Admin Bar + Sticky Header: content offset
   The parent xionic_fix_adminbar_layout() resets html{margin-top:0}.
   GNTP header shifts to top:32px when admin-bar is active, but page
   content starts at top:0 — creating a gap where breadcrumb is hidden.
   Compensate by adding padding-top to the page wrapper.
   ============================================================================= */

/* When admin bar is active: add top padding to #page equal to admin bar height */
body.admin-bar #page.site {
  padding-top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar #page.site {
    padding-top: 46px;
  }
}

/* =============================================================================
   GNTP WIDGETS
   ============================================================================= */
.gntp-post-list-title a {
  transition: color 0.2s ease;
}

.gntp-post-list-title a:hover {
  color: var(--gntp-primary) !important;
}

/* =============================================================================
   TABLE STYLES
   ============================================================================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background-color: var(--gntp-bg, #ffffff);
  color: var(--gntp-text, #333333);
  font-size: 0.95rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

table th,
table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--gntp-border, #eaeaea);
}

table th {
  background-color: rgba(0, 0, 0, 0.03);
  color: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table tbody tr {
  transition: background-color 0.2s ease;
}

table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

table tbody tr:last-child td {
  border-bottom: none;
}

.dark table {
  background-color: var(--gntp-bg, #1a1a1a);
  color: var(--gntp-text, #ffffff);
}

.dark table th,
.dark table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark table th {
  background-color: rgba(255, 255, 255, 0.05);
}

.dark table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Responsive Tables */
@media screen and (max-width: 768px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =============================================================================
   DESCRIPTION LISTS (dl, dt, dd)
   ============================================================================= */
dl {
  margin-bottom: 1.5rem;
  color: var(--gntp-text, #333333);
}

dt {
  font-weight: 600;
  font-size: 1.05em;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gntp-text, inherit);
}

dd {
  margin-left: 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gntp-primary, var(--xionic-primary, rgba(0, 0, 0, 0.1)));
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: var(--gntp-text-variant, var(--xionic-on-surface-variant, #4b5563));
}

.dark dl,
.dark dt {
  color: var(--gntp-text, #ffffff);
}

.dark dd {
  color: var(--gntp-text-variant, rgba(255, 255, 255, 0.7));
  border-left-color: var(--gntp-primary, rgba(255, 255, 255, 0.3));
}

/* =============================================================================
   BLOCKQUOTE & PULLQUOTE
   ============================================================================= */
.wp-block-pullquote blockquote {
  border-left: none !important;
  margin: 0;
  padding: 2rem 0;
  text-align: center;
}

.wp-block-pullquote blockquote p {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gntp-primary, var(--xionic-primary, #007bff));
  margin-bottom: 0;
}

.wp-block-pullquote blockquote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 500;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gntp-text-variant, var(--xionic-on-surface-variant, #6c757d));
}

.dark .wp-block-pullquote blockquote p {
  color: var(--gntp-text, #ffffff);
}

.dark .wp-block-pullquote blockquote cite {
  color: var(--gntp-text-variant, rgba(255, 255, 255, 0.7));
}

/* ── GNTP Widget & Footer Headings ────────────────────────────────────────── */
.gntp-widget-heading {
  color: var(--xionic-primary);
}

.xionic-footer .gntp-widget-heading,
.xionic-footer .gntp-widget-title,
.xionic-footer .widget-title,
.xionic-footer .xionic-footer-heading,
.xionic-footer--GNTP h4 {
  color: #ffffff;
}

/* =============================================================================
   GNTP — BERITA TERKINI GRID COMPONENT
   ============================================================================= */

.gntp-berita-terkini-wrap {
  margin-bottom: 2.25rem;
}

/* ── Header Ribbon Bar ── */
.gntp-bt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0;
}

.dark .gntp-bt-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.gntp-bt-badge {
  display: inline-flex;
  align-items: center;
  background: #cc0000;
  color: #ffffff;
  padding: 6px 22px 6px 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  line-height: 1.2;
}

.gntp-bt-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

.gntp-bt-badge-icon svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

.gntp-bt-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  padding-bottom: 6px;
}

.dark .gntp-bt-view-all {
  color: #94a3b8;
}

.gntp-bt-view-all:hover {
  color: #cc0000;
  text-decoration: none;
  transform: translateX(3px);
}

.gntp-bt-view-all svg {
  transition: transform 0.2s ease;
}

.gntp-bt-view-all:hover svg {
  transform: translateX(2px);
}

/* ── Main Grid ── */
.gntp-bt-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .gntp-bt-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Left Column: Main Featured Card ── */
.gntp-bt-main-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.gntp-bt-main-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.gntp-bt-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gntp-bt-main-card:hover .gntp-bt-main-img {
  transform: scale(1.04);
}

.gntp-bt-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
}

.gntp-bt-main-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.58) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
}

.gntp-bt-main-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem 1.25rem 1.15rem;
}

.gntp-bt-cat-badge {
  display: inline-block;
  background: #cc0000;
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 3px;
  text-decoration: none;
  margin-bottom: 7px;
  line-height: 1.3;
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.gntp-bt-cat-badge:hover {
  background: #aa0000;
  color: #ffffff !important;
  text-decoration: none;
}

.gntp-bt-main-title {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.3;
  margin: 0 0 7px;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gntp-bt-main-title a {
  color: #ffffff !important;
  text-decoration: none;
  transition: opacity 0.2s;
}

.gntp-bt-main-title a:hover {
  opacity: 0.9;
  text-decoration: none;
}

.gntp-bt-main-excerpt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Meta Rows ── */
.gntp-bt-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  flex-wrap: wrap;
}

.gntp-bt-meta--dark {
  color: #64748b;
}

.dark .gntp-bt-meta--dark {
  color: #94a3b8;
}

.gntp-bt-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gntp-bt-meta-item svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.gntp-bt-meta-divider {
  opacity: 0.4;
  font-size: 10px;
}

/* ── Right Column: 3 Side Posts List ── */
.gntp-bt-side-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.gntp-bt-side-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 0;
}

.gntp-bt-side-thumb-wrap {
  width: 140px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}

.dark .gntp-bt-side-thumb-wrap {
  background: #1e293b;
}

.gntp-bt-side-thumb-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.gntp-bt-side-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gntp-bt-side-thumb-wrap:hover .gntp-bt-side-thumb {
  transform: scale(1.05);
}

.gntp-bt-side-content {
  flex: 1;
  min-width: 0;
}

.gntp-bt-side-title {
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px;
  color: #111111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .gntp-bt-side-title {
  color: #f1f5f9;
}

.gntp-bt-side-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gntp-bt-side-title a:hover {
  color: #cc0000;
  text-decoration: none;
}

@media (max-width: 480px) {
  .gntp-bt-side-thumb-wrap {
    width: 105px;
    height: 75px;
  }
  .gntp-bt-side-title {
    font-size: 0.85rem;
  }
}

/* ── Mode Atas & Bawah (Vertical Stacking + Grid Bawah) ── */
.gntp-bt-layout-atas-bawah .gntp-bt-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gntp-bt-layout-atas-bawah .gntp-bt-main-card--full {
  min-height: 380px;
  width: 100%;
}

@media (min-width: 992px) {
  .gntp-bt-layout-atas-bawah .gntp-bt-main-card--full {
    min-height: 420px;
  }
}

.gntp-bt-bottom-grid {
  display: grid;
  grid-template-columns: repeat(var(--gntp-bt-cols, 3), minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .gntp-bt-bottom-grid {
    grid-template-columns: repeat(min(var(--gntp-bt-cols, 3), 2), minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gntp-bt-bottom-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}

.gntp-bt-bottom-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  transition: transform 0.2s ease;
}

.gntp-bt-bottom-card:hover {
  transform: translateY(-2px);
}

.gntp-bt-bottom-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
  margin-bottom: 0.75rem;
}

.dark .gntp-bt-bottom-thumb-wrap {
  background: #1e293b;
}

.gntp-bt-cat-badge--overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  bottom: auto;
  width: auto !important;
  max-width: calc(100% - 20px);
  height: auto !important;
  max-height: max-content;
  display: inline-block !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 4;
  margin: 0;
  padding: 3px 9px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.gntp-bt-bottom-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.gntp-bt-bottom-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gntp-bt-bottom-card:hover .gntp-bt-bottom-thumb {
  transform: scale(1.05);
}

.gntp-bt-bottom-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gntp-bt-bottom-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 6px;
  color: #111111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .gntp-bt-bottom-title {
  color: #f1f5f9;
}

.gntp-bt-bottom-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gntp-bt-bottom-title a:hover {
  color: #cc0000;
  text-decoration: none;
}

/* Khusus jika dipilih 1 kolom pada Mode Atas Bawah di desktop */
@media (min-width: 601px) {
  .gntp-bt-cols-1 .gntp-bt-bottom-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .gntp-bt-cols-1 .gntp-bt-bottom-thumb-wrap {
    width: 220px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* =============================================================================
   GNTP — Berita Populer Numbered Card Widget / Block
   Matches the design with fire icon, red circular rank badge, post title & views
   ============================================================================= */

.gntp-popular-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 0.75rem;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dark .gntp-popular-box {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gntp-popular-box:hover {
  box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.08);
}

/* Header */
.gntp-popular-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.125rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.dark .gntp-popular-header {
  border-bottom-color: #334155;
}

.gntp-popular-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.gntp-popular-fire-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.gntp-popular-title {
  font-family: var(--xionic-font-display, inherit);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.dark .gntp-popular-title {
  color: #f8fafc;
}

/* List */
.gntp-popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gntp-popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8fafc;
  transition: background-color 0.15s ease;
}

.gntp-popular-item:last-child {
  border-bottom: none;
}

.dark .gntp-popular-item {
  border-bottom-color: rgba(51, 65, 85, 0.5);
}

/* Rank Badge: Red Circle */
.gntp-popular-rank {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background-color: #cc0000;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(204, 0, 0, 0.25);
}

/* Post Content / Title */
.gntp-popular-content {
  flex: 1;
  min-width: 0;
}

.gntp-popular-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.dark .gntp-popular-post-title {
  color: #e2e8f0;
}

.gntp-popular-post-title:hover {
  color: #cc0000;
}

/* Views Counter */
.gntp-popular-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.775rem;
  color: #64748b;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.dark .gntp-popular-views {
  color: #94a3b8;
}

.gntp-popular-views svg {
  stroke: #94a3b8;
  flex-shrink: 0;
}

.gntp-popular-empty {
  padding: 1rem 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

/* ==========================================================================
   GNTP — Sorot Posts Grid (#cc0000)
   ========================================================================== */
.gntp-sorot-wrap {
  margin: 1.75rem 0;
  container-type: inline-size;
}

.gntp-sorot-box {
  background: var(--gntp-sorot-bg, #cc0000);
  border-radius: 14px;
  padding: 1.5rem 1.75rem 1.75rem;
  color: var(--gntp-sorot-text-color, #ffffff);
  border: var(--gntp-sorot-border, none);
  box-shadow: var(--gntp-sorot-shadow, 0 10px 25px -5px rgba(204, 0, 0, 0.3), 0 8px 12px -6px rgba(0, 0, 0, 0.12));
  position: relative;
}

.gntp-sorot-header {
  margin-bottom: 1.25rem;
}

.gntp-sorot-title {
  font-family: var(--xionic-font-display, inherit);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gntp-sorot-title-color, #ffffff);
  margin: 0;
  line-height: 1.2;
}

/* Grid Layout (Dinamis Kolom) */
.gntp-sorot-grid {
  display: grid;
  grid-template-columns: repeat(var(--gntp-sorot-cols, 4), minmax(0, 1fr));
  gap: 1.25rem;
}

/* Kartu Post */
.gntp-sorot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gntp-sorot-thumb-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}

.gntp-sorot-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.22);
}

.gntp-sorot-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.gntp-sorot-card:hover .gntp-sorot-thumb-img {
  transform: scale(1.06);
}

.gntp-sorot-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.45);
}

.gntp-sorot-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 0.75rem;
}

.gntp-sorot-post-title {
  font-family: var(--xionic-font-body, inherit);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gntp-sorot-post-title a {
  color: var(--gntp-sorot-text-color, #ffffff) !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.gntp-sorot-card:hover .gntp-sorot-post-title a {
  opacity: 0.88;
  text-decoration: underline !important;
}

.gntp-sorot-time {
  font-size: 0.8125rem;
  color: var(--gntp-sorot-text-color, #ffffff);
  opacity: 0.75;
  font-weight: 400;
  margin-top: auto;
}

/* Footer & Tautan "Lihat Selengkapnya" */
.gntp-sorot-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

.gntp-sorot-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.gntp-sorot-more-link:hover {
  background: #ffffff;
  color: var(--gntp-sorot-bg, #cc0000) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.gntp-sorot-more-icon {
  transition: transform 0.2s ease;
}

.gntp-sorot-more-link:hover .gntp-sorot-more-icon {
  transform: translateX(4px);
}

/* Responsive (Container & Media Queries) */
@container (max-width: 580px) {
  .gntp-sorot-box {
    padding: 1.25rem 1rem 1.35rem;
  }
  .gntp-sorot-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 1rem;
  }
}

@container (min-width: 581px) and (max-width: 880px) {
  .gntp-sorot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .gntp-sorot-box {
    padding: 1.25rem 1rem 1.35rem;
  }
  .gntp-sorot-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 1rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .gntp-sorot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =============================================================================
   GNTP LAYOUT BUILDER & HERO SECTION — ZERO GAP & SEAMLESS DISPLAY
   ============================================================================= */

.xionic-layout-page,
.page-template-page-layout-builder .xionic-layout-page,
.xionic-layout-page-body .xionic-layout-page,
.gntp-layout-builder-post,
.gntp-layout-builder-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Eliminate auto-paragraph gaps from Gutenberg / wpautop */
.xionic-layout-page > p,
.page-template-page-layout-builder .xionic-layout-page > p,
.xionic-layout-page-body .xionic-layout-page > p,
.gntp-layout-builder-content > p {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 0 !important;
}

.xionic-layout-page > p:empty,
.page-template-page-layout-builder .xionic-layout-page > p:empty,
.xionic-layout-page-body .xionic-layout-page > p:empty,
.gntp-layout-builder-content > p:empty {
  display: none !important;
}

/* Ensure no gap between header and first section */
#gntp-header {
  margin-bottom: 0 !important;
}

.xionic-layout-page > section:first-of-type,
.xionic-layout-page > section:first-child,
.gntp-layout-builder-content > section:first-of-type,
.gntp-layout-builder-content > section:first-child,
.xionic-hero:first-of-type {
  margin-top: 0 !important;
}

/* ==========================================================================
   Layout Builder Section Padding Utilities (Scoped strictly to <section>)
   Ensures proportional, clean spacing across all builder sections without
   affecting header, navbars, cards, badges, or buttons.
   ========================================================================== */
section.py-0, .xionic-layout-page section.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
section.py-1, .xionic-layout-page section.py-1 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
section.py-2, .xionic-layout-page section.py-2 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
section.py-3, .xionic-layout-page section.py-3 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
section.py-4, .xionic-layout-page section.py-4 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
section.py-5, .xionic-layout-page section.py-5 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
section.py-6, .xionic-layout-page section.py-6 { padding-top: 7.5rem !important; padding-bottom: 7.5rem !important; }

/* Keyword aliases */
section.py-none, .xionic-layout-page section.py-none { padding-top: 0 !important; padding-bottom: 0 !important; }
section.py-compact, .xionic-layout-page section.py-compact { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
section.py-normal, .xionic-layout-page section.py-normal { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
section.py-large, .xionic-layout-page section.py-large { padding-top: 7.5rem !important; padding-bottom: 7.5rem !important; }

section.pt-0, .xionic-layout-page section.pt-0 { padding-top: 0 !important; }
section.pt-1, .xionic-layout-page section.pt-1 { padding-top: 0.75rem !important; }
section.pt-2, .xionic-layout-page section.pt-2 { padding-top: 1.5rem !important; }
section.pt-3, .xionic-layout-page section.pt-3 { padding-top: 2.75rem !important; }
section.pt-4, .xionic-layout-page section.pt-4 { padding-top: 4rem !important; }
section.pt-5, .xionic-layout-page section.pt-5 { padding-top: 5.5rem !important; }
section.pt-6, .xionic-layout-page section.pt-6 { padding-top: 7.5rem !important; }

section.pb-0, .xionic-layout-page section.pb-0 { padding-bottom: 0 !important; }
section.pb-1, .xionic-layout-page section.pb-1 { padding-bottom: 0.75rem !important; }
section.pb-2, .xionic-layout-page section.pb-2 { padding-bottom: 1.5rem !important; }
section.pb-3, .xionic-layout-page section.pb-3 { padding-bottom: 2.75rem !important; }
section.pb-4, .xionic-layout-page section.pb-4 { padding-bottom: 4rem !important; }
section.pb-5, .xionic-layout-page section.pb-5 { padding-bottom: 5.5rem !important; }
section.pb-6, .xionic-layout-page section.pb-6 { padding-bottom: 7.5rem !important; }

@media (max-width: 768px) {
  section.py-3, .xionic-layout-page section.py-3 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  section.py-4, .xionic-layout-page section.py-4 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
  section.py-5, .xionic-layout-page section.py-5 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  section.py-6, .xionic-layout-page section.py-6 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
  section.py-compact, .xionic-layout-page section.py-compact { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  section.py-normal, .xionic-layout-page section.py-normal { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  section.py-large, .xionic-layout-page section.py-large { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }

  section.pt-3, .xionic-layout-page section.pt-3 { padding-top: 2rem !important; }
  section.pt-4, .xionic-layout-page section.pt-4 { padding-top: 2.75rem !important; }
  section.pt-5, .xionic-layout-page section.pt-5 { padding-top: 3.5rem !important; }
  section.pt-6, .xionic-layout-page section.pt-6 { padding-top: 4.5rem !important; }

  section.pb-3, .xionic-layout-page section.pb-3 { padding-bottom: 2rem !important; }
  section.pb-4, .xionic-layout-page section.pb-4 { padding-bottom: 2.75rem !important; }
  section.pb-5, .xionic-layout-page section.pb-5 { padding-bottom: 3.5rem !important; }
  section.pb-6, .xionic-layout-page section.pb-6 { padding-bottom: 4.5rem !important; }
}