/* Shared Elementor and JetEngine presentation primitives. */

.rihlah-btn,
.elementor-button.rihlah-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 30px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), color var(--ease), background var(--ease);
}

.rihlah-btn:hover { transform: translateY(-2px); }

.rihlah-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 22px rgba(235, 52, 152, .28);
}

.rihlah-btn--gold {
  color: #fff;
  background: linear-gradient(135deg, #a07d1e, #7d5f12);
  box-shadow: 0 10px 22px rgba(160, 125, 30, .3);
}

.rihlah-btn--wa {
  color: #fff;
  background: var(--wa);
  box-shadow: 0 10px 22px rgba(37, 211, 102, .3);
}

.rihlah-btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.rihlah-section-heading {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* ---- Shared layout primitives (used on Home, Profil, Hubungi Kami, etc.) ----
   These must live in components.css (not home.css) so they load on all pages
   even after home.css is scoped to is_front_page(). */
.rihlah-section {
  padding: 84px 0;
}

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

.rihlah-btn--lg {
  padding: 16px 40px;
  font-size: 1.02rem;
}

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

.rihlah-home-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.rihlah-home-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.rihlah-home-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.rihlah-hero__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rihlah-home-cta {
  padding: 60px 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.rihlah-home-cta > div {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rihlah-home-cta h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.rihlah-home-cta p {
  max-width: 560px;
  margin: 0 auto 30px;
}

@media (max-width: 768px) {
  .rihlah-section { padding: 60px 0; }
}

.rihlah-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* JetEngine package listing classes. Assign these classes in Listing Item. */
.pkg {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.pkg:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.pkg--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pkg__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

.pkg__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.pkg:hover .pkg__media img { transform: scale(1.055); }

.pkg__tag,
.pkg__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .65px;
  line-height: 1;
  text-transform: uppercase;
}

.pkg__tag {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  color: #fff;
  background: rgba(29, 21, 26, .84);
}

.pkg__badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 7px 18px rgba(176, 22, 109, .3);
}

.pkg__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 22px 0;
}

.pkg__name {
  margin: 0 0 16px;
  font-size: 1.34rem;
}

.rihlah-price,
.pkg__price {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.05;
}

/* Label kecil di atas harga kartu (dibaca dari atribut data-prefix). */
.pkg__price::before {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .7px;
  text-transform: uppercase;
  content: attr(data-prefix);
}

.rihlah-price__unit {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
}

.pkg__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pkg__spec {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 8px 13px 0;
  color: var(--text-muted);
  font-size: .75rem;
}

.pkg__spec i {
  flex: none;
  width: 16px;
  margin-top: 3px;
  color: var(--gold-dark);
  text-align: center;
}

.pkg__spec:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.pkg__spec:nth-child(n + 3) { border-top: 1px solid var(--line); }

.pkg__spec-label,
.pkg__spec span {
  display: block;
  color: var(--text-muted);
  font-size: .72rem;
  line-height: 1.3;
}

.pkg__spec-value,
.pkg__spec strong {
  display: block;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pkg__foot {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 10px;
  margin-top: auto;
  padding: 0 22px 22px;
}

.pkg__foot > * { width: 100%; }

.rihlah-package-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  color: var(--text);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  font-size: .9rem;
}

.rihlah-whatsapp-link {
  color: #fff;
  background: var(--wa);
}

/*
 * Global header and footer for Elementor Theme Builder templates.
 *
 * Header: root container Elementor harus diberi class `rihlah-site-header`.
 * Jangan aktifkan fitur Sticky Elementor — fixed positioning sudah ditangani
 * di sini agar konsisten dengan body padding-top dan site.js scroll state.
 */
.rihlah-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(36, 27, 33, .06);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--ease);
}

.rihlah-site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

body { padding-top: var(--header-height); }

.rihlah-nav { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.rihlah-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.rihlah-brand .custom-logo { width: auto; height: 46px; border-radius: 8px; }
.rihlah-brand__fallback { display: grid; width: 46px; height: 46px; place-items: center; color: #fff; background: var(--primary); border-radius: 8px; font-weight: 900; }
.rihlah-brand__text { display: grid; line-height: 1.1; }
.rihlah-brand__name { color: var(--ink); font-family: var(--font-heading); font-size: 1.12rem; font-weight: 700; }
.rihlah-brand__sub { color: var(--gold-dark); font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.rihlah-nav__menu ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.rihlah-nav__menu a { position: relative; display: block; padding: 4px 0 !important; color: var(--ink) !important; font-size: .93rem !important; font-weight: 700 !important; text-decoration: none; transition: color var(--ease); }
.rihlah-nav__menu a::after { position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--primary); content: ""; transition: width var(--ease); }
.rihlah-nav__menu a:hover, .rihlah-nav__menu .current-menu-item > a, .rihlah-nav__menu .current_page_item > a { color: var(--primary) !important; }
.rihlah-nav__menu a:hover::after, .rihlah-nav__menu .current-menu-item > a::after, .rihlah-nav__menu .current_page_item > a::after { width: 100%; }

/*
 * CTA button in nav menu (audit S10).
 * Primary selector: last <li> child (WordPress nav menu standard).
 * Fallback selector: menu item with CSS class `.rihlah-nav__cta`
 *   (add via Appearance > Menus > Screen Options > CSS Classes).
 * Also supports `.rihlah-nav__menu` being the <ul> itself (Elementor Nav Menu).
 */
.rihlah-nav__menu ul > li:last-child > a,
.rihlah-nav__menu > li:last-child > a,
.rihlah-nav__menu li.rihlah-nav__cta > a,
.rihlah-nav__menu ul li.rihlah-nav__cta > a {
  padding: 13px 30px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 22px rgba(235, 52, 152, .28);
}

.rihlah-nav__menu ul > li:last-child > a::after,
.rihlah-nav__menu > li:last-child > a::after,
.rihlah-nav__menu li.rihlah-nav__cta > a::after,
.rihlah-nav__menu ul li.rihlah-nav__cta > a::after { display: none; }
.rihlah-nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; background: none; }
.rihlah-nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
.rihlah-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rihlah-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rihlah-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rihlah-site-footer { padding: 66px 0 24px; color: #b3a7ae; background: var(--bg-dark); }
.rihlah-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.rihlah-footer-brand .custom-logo, .rihlah-footer-brand .rihlah-brand__fallback { width: auto; height: 48px; margin-bottom: 16px; }
.rihlah-footer-brand p { max-width: 32ch; font-size: .92rem; }
.rihlah-footer-col h2 { margin: 0 0 18px; color: #fff; font-size: 1.02rem; }
.rihlah-footer-col ul, .rihlah-footer__menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rihlah-footer-col a { color: inherit; font-size: .92rem; text-decoration: none; transition: color var(--ease); }
.rihlah-footer-col a:hover { color: var(--gold); }
.rihlah-socials { display: flex; gap: 12px; margin-top: 18px; }
.rihlah-social { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border-radius: 50%; text-decoration: none; transition: transform var(--ease), background var(--ease); }
.rihlah-social:hover { color: #fff; background: var(--primary); transform: translateY(-3px); }
.rihlah-footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; font-size: .84rem; }

/* ---- Page Hero (archive / inner pages) ---- */
.rihlah-page-hero {
  padding: 74px 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(29, 21, 26, .66), rgba(176, 22, 109, .6));
}

.rihlah-page-hero h1 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

.rihlah-page-hero p {
  max-width: 620px;
  margin-inline: auto;
  opacity: .93;
}

.rihlah-page-hero .rihlah-crumbs {
  margin-top: 16px;
  color: rgba(255, 255, 255, .8);
  font-size: .88rem;
}

.rihlah-page-hero .rihlah-crumbs a {
  color: inherit;
  transition: color var(--ease);
}

.rihlah-page-hero .rihlah-crumbs a:hover {
  color: var(--gold);
}

/* ---- Package Detail: Specs Grid (Package Specs Grid widget) ---- */
.dspecs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dspec {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(36, 27, 33, .03);
}

.dspec__icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  font-size: 16px;
}

.dspec__label {
  margin-bottom: 2px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.2;
}

.dspec__value {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

/* ---- Package Detail: Hotels (Package Hotels widget) ---- */
.dhotels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dhotel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(36, 27, 33, .03);
}

.dhotel__city {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dhotel__name {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.dhotel__stars {
  margin-bottom: 8px;
  color: var(--star);
  font-size: 14px;
  letter-spacing: 2px;
}

.dhotel__meta {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
}

/* ---- Package Detail: Itinerary Timeline (Package Itinerary widget) ---- */
.dtimeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.dtimeline__item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 30px;
}

.dtimeline__item:last-child {
  margin-bottom: 0;
}

.dtimeline__item:last-child .dtimeline__line {
  display: none;
}

.dtimeline__marker {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary-soft);
  border-radius: 50%;
  background: var(--primary);
}

.dtimeline__line {
  position: absolute;
  z-index: 1;
  top: 16px;
  bottom: -24px;
  left: 5px;
  width: 2px;
  background: var(--line);
}

.dtimeline__day {
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dtimeline__item h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.dtimeline__item p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

/* ==================================================================
   SINGLE PAKET — hero, layout grid, heading section, fasilitas,
   sidebar booking card, jadwal
   Port dari web-baru/assets/css/style.css (section 20b)
   ================================================================== */

/* ---- Hero Detail ---- */
.detail-hero {
  position: relative;
  padding: 90px 0 64px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 14, 18, .72) 0%, rgba(29, 21, 26, .55) 45%, rgba(176, 22, 109, .72) 100%),
    var(--dhero-img, none) center/cover no-repeat, var(--ink);
}

.detail-hero .crumbs,
.detail-hero .rihlah-crumbs {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .85);
}

.detail-hero .crumbs a:hover,
.detail-hero .rihlah-crumbs a:hover { color: var(--gold); }

.detail-hero .crumbs span { color: #fff; }

.detail-hero__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--gold);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.detail-hero h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  text-shadow: 0 4px 18px rgba(0, 0, 0, .4);
}

.detail-hero p {
  max-width: 720px;
  font-size: 1.06rem;
  opacity: .95;
}

/* ---- Body Layout: kolom utama + sidebar ---- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 46px;
  align-items: start;
}

.detail-main { min-width: 0; }

.detail-aside {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.detail-block { margin-bottom: 48px; }
.detail-block:last-child { margin-bottom: 0; }

.detail-h {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.detail-h::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

/* ---- Fasilitas: termasuk / tidak termasuk ---- */
.dfac {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.dfac__col { min-width: 0; }

.dfac__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.dfac__title--yes { color: #1f8a4c; }
.dfac__title--no  { color: #b3283a; }

.dfac__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dfac__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: .95rem;
}

.dfac__list--yes i { color: #1f8a4c; margin-top: 4px; }
.dfac__list--no  i { color: #c25563; margin-top: 4px; }

/* ---- Sidebar Booking Card ---- */
.dcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.dcard__price-label {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.dcard__price {
  margin: 2px 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.dcard__unit {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: .88rem;
}

.dcard .rihlah-btn { margin-bottom: 10px; }

.dcard__jadwal {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.dcard__jadwal-head {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 800;
}

.dcard__jadwal-head i {
  margin-right: 6px;
  color: var(--primary);
}

.djadwal {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.djadwal__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.djadwal__date {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
}

.djadwal__date i {
  margin-right: 5px;
  color: var(--gold-dark);
}

.djadwal__seat {
  grid-column: 1;
  color: var(--text-muted);
  font-size: .78rem;
}

.djadwal__btn {
  grid-row: 1 / span 2;
  grid-column: 2;
  padding: 8px 16px;
  font-size: .82rem;
}

.dcard__note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.dcard__note i {
  margin-right: 5px;
  color: var(--gold-dark);
}

@media (max-width: 992px) {
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-aside { position: static; }
  .dcard { max-width: 460px; }
}

@media (max-width: 560px) {
  .dfac { grid-template-columns: 1fr; gap: 24px; }
}

/* ==================================================================
   BLOG — kartu artikel, intro hero, single post
   Port dari web-baru/assets/css/style.css (section 20c)
   ================================================================== */

/* ---- Blog Intro (hero archive blog) ---- */
.blog-intro {
  padding: 76px 0 170px;
  background: linear-gradient(145deg, var(--ink), #442432);
  color: #fff;
}

.blog-intro .rihlah-crumbs,
.blog-intro .crumbs { margin: 0 0 40px; }

.blog-intro h1 {
  max-width: 750px;
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.blog-intro p {
  max-width: 620px;
  color: #eadfe5;
  font-size: 1.08rem;
}

.blog-kicker {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.blog-intro .blog-kicker { color: var(--gold); }

/* Kartu featured menumpuk di atas batas bawah intro */
.blog-lead {
  position: relative;
  z-index: 2;
  margin-top: -110px;
}

/* ---- Blog Card ---- */
.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.blog-card--featured {
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: none;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}

.blog-card--featured .blog-card__media {
  aspect-ratio: auto;
  min-height: 480px;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.blog-card:hover .blog-card__media img { transform: scale(1.04); }

.blog-card__body { padding: 24px 4px 26px; }

.blog-card--featured .blog-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 46px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
}

.blog-meta > * + *::before {
  content: "·";
  margin-right: 10px;
  color: var(--gold-dark);
}

.blog-meta span:first-child {
  color: var(--primary-dark);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 14px 0 11px;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
}

.blog-card--featured h2 { font-size: clamp(2rem, 3.3vw, 3rem); }

.blog-card h2 a:hover { color: var(--primary-dark); }

.blog-card p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-dark);
  font-size: .9rem;
  font-weight: 900;
}

.blog-read i { transition: transform var(--ease); }
.blog-read:hover i { transform: translateX(4px); }

/* ---- Listing grid (archive blog) ---- */
.blog-listing { padding-top: 96px; }

.blog-listing__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.blog-listing__head h2 {
  margin-top: 7px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.blog-listing__head > p {
  max-width: 470px;
  color: var(--text-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

/* ---- Single Post: hero, author, cover ---- */
.post-hero {
  padding: 76px 0 52px;
  background: var(--bg-soft);
}

.post-hero__inner { max-width: 900px; }

.post-hero .rihlah-crumbs,
.post-hero .crumbs {
  margin: 0 0 34px;
  color: var(--text-muted);
}

.post-hero .crumbs a:hover { color: var(--primary); }

.post-hero h1 {
  margin: 18px 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.post-hero__inner > p {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.post-author__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 11px;
  font-weight: 900;
}

.post-author b,
.post-author small { display: block; }
.post-author small { color: var(--text-muted); }

.post-cover { margin-top: 46px; }

.post-cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---- Single Post: layout 2 kolom (TOC + konten) ---- */
.post-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  gap: 70px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 100px;
}

.post-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 10px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.post-toc strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--font-heading);
}

.post-toc a {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.35;
}

.post-toc a:hover { color: var(--primary-dark); }

.post-toc__wa {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #16763a !important;
  font-weight: 800;
}

/* ---- Single Post: konten ---- */
.post-content {
  font-size: 1.05rem;
  line-height: 1.82;
}

.post-lede {
  margin-bottom: 52px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.42rem;
  line-height: 1.55;
}

.post-section {
  margin-bottom: 50px;
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.post-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
}

.post-section p { margin-bottom: 18px; }

.post-section ul {
  margin: 10px 0 22px;
  padding-left: 22px;
  list-style: disc;
}

.post-section li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.post-note {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  color: var(--ink);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
}

.post-note i {
  margin-top: 5px;
  color: var(--primary);
}

.related-posts .blog-listing__head { align-items: center; }

/* ---- Blog responsive ---- */
@media (max-width: 992px) {
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__media { min-height: 360px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-toc {
    position: static;
    grid-template-columns: 1fr 1fr;
    padding: 22px;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: var(--radius);
  }
  .post-toc strong, .post-toc__wa { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .blog-intro { padding: 58px 0 130px; }
  .blog-intro .rihlah-crumbs,
  .blog-intro .crumbs { margin-bottom: 28px; }
  .blog-lead { margin-top: -75px; }
  .blog-card--featured .blog-card__media { min-height: 280px; }
  .blog-card--featured .blog-card__body { padding: 32px 26px; }
  .blog-listing { padding-top: 68px; }
  .blog-listing__head { display: block; }
  .blog-listing__head > p { margin-top: 14px; }
  .post-hero { padding: 52px 0 38px; }
  .post-cover { margin-top: 24px; padding: 0; }
  .post-cover img { border-radius: 0; }
  .post-layout { padding-top: 48px; padding-bottom: 68px; }
}

@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card__media { aspect-ratio: 16/9; }
  .post-toc { grid-template-columns: 1fr; }
  .post-toc strong, .post-toc__wa { grid-column: auto; }
  .post-content { font-size: 1rem; }
}

/* ---- Mobile bottom navigation ---- */
.rihlah-mobile-nav {
  display: none;
}

/* ---- Feature Grid (shared Home + Profil) ----
   Port dari web-baru/assets/css/style.css (section 9) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 1.5rem;
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.feature:hover .feature__icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}

.feature h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--text-muted);
  font-size: .96rem;
}

/* Profil variant: icon di kiri teks (2-kolom per kartu) */
.profile-features .feature {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-content: start;
}

.profile-features .feature__icon {
  grid-row: 1 / span 2;
  margin: 0;
}

.profile-features .feature h3 {
  align-self: end;
}

/* ---- Profil Page: Split Section Variants (split__media / split__body) ---- */
.rihlah-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.rihlah-split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 18px 18px 0 var(--primary-soft);
}

.rihlah-split__body h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 18px;
}

.rihlah-split__body p {
  margin-bottom: 16px;
  color: var(--text);
}

.rihlah-split__body ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.rihlah-split__body li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--primary);
  font-weight: 900;
}

/* ---- Stats Mini (profil-split) ---- */
.stats--mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}

.stats--mini .stat {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.stats--mini .stat__num {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  margin: 0 0 4px;
}

.stats--mini .stat__label {
  font-size: 13px;
}

/* ---- Visi-Misi Nilai (Bento) ---- */
.profile-principles {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.profile-principle {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.profile-principle:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.profile-principle .feature__icon {
  width: 52px;
  height: 52px;
  flex: none;
  margin-bottom: 0;
}

.profile-principle h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.profile-principle p {
  color: var(--text-muted);
}

.profile-principle--vision {
  grid-row: span 2;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  background: linear-gradient(145deg, var(--ink), #442432);
  color: #fff;
  border: 0;
}

.profile-principle--vision h3 { color: #fff; font-size: 1.65rem; }
.profile-principle--vision p { color: #eadfe5; max-width: 42ch; }
.profile-principle--vision .feature__icon { background: rgba(255,255,255,.12); color: var(--gold); }

/* ---- Legalitas (4-col grid) ---- */
.legal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  gap: 22px;
}

.legal__item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.legal__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.legal__ic {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-radius: 12px;
  font-size: 1.2rem;
}

.legal__item h4 { font-size: 1rem; margin-bottom: 3px; }
.legal__item p { font-size: .9rem; color: var(--text-muted); }

/* ---- Gallery (profil) ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
}

.gallery a,
.gallery button {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

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

.gallery a:hover img,
.gallery button:hover img {
  transform: scale(1.08);
}

/* ---- Profil: Grid khusus gallery ---- */
.profile-gallery {
  grid-template-columns: 1.4fr .8fr .8fr;
  grid-template-rows: 220px 220px;
}

.profile-gallery__item {
  color: #fff;
  text-align: left;
}

.profile-gallery__item--hero { grid-row: 1 / span 2; }
.profile-gallery__item--wide { grid-column: 2 / span 2; }

.profile-gallery__item::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(20,14,18,.82));
  pointer-events: none;
}

.profile-gallery__item img {
  transition: transform .65s cubic-bezier(.16,1,.3,1), filter var(--ease);
}

.profile-gallery__item:hover img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.profile-gallery__item > span {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 17px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.profile-gallery__item small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #e9d9e2;
}

/* ---- Gallery Dialog lightbox ---- */
.gallery-dialog {
  width: min(92vw, 980px);
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}

.gallery-dialog::backdrop {
  background: rgba(20,14,18,.82);
  backdrop-filter: blur(5px);
}

.gallery-dialog img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #100c0f;
}

.gallery-dialog p {
  padding: 16px 22px 20px;
  color: #fff;
  font-weight: 700;
}

.gallery-dialog__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20,14,18,.78);
  color: #fff;
  font-size: 1.05rem;
}

/* ---- Responsive profil extras ---- */
@media (max-width: 992px) {
  .rihlah-split { grid-template-columns: 1fr; gap: 34px; }
  .rihlah-split__media img { box-shadow: var(--shadow-md); }
  .profile-principles { grid-template-columns: 1fr; }
  .profile-principle--vision { grid-row: auto; min-height: 230px; }
  .legal { grid-template-columns: repeat(2, 1fr); }
  .profile-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px 190px;
  }
  .profile-gallery__item--hero { grid-column: 1 / span 2; grid-row: auto; }
  .profile-gallery__item--wide { grid-column: 1 / span 2; }
}

@media (max-width: 768px) {
  .legal { grid-template-columns: 1fr; }
  .stats--mini { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .profile-principle { padding: 24px; }
  .profile-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4, 230px); }
  .profile-gallery__item--hero, .profile-gallery__item--wide { grid-column: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .dspecs { grid-template-columns: 1fr; }

  .rihlah-mobile-nav {
    position: fixed;
    z-index: 1150;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
  }

  .rihlah-mobile-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
  }

  .rihlah-mobile-nav a i { font-size: 1.1rem; }
  .rihlah-mobile-nav a.is-active { color: var(--primary); }

  body { padding-bottom: 62px; }
}

@media (max-width: 480px) {
  .dspecs { grid-template-columns: 1fr; }
  .dspec { padding: 14px; }
  .dhotel { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==================================================================
   TAXONOMY ARCHIVE — SEO intro, content, filter locked
   ================================================================== */

.taxo-intro { max-width: 820px; margin-inline: auto; }
.taxo-intro__h { margin-bottom: 16px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.taxo-intro p { color: var(--text); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }

.taxo-content { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }
.taxo-content__col h2, .taxo-content__col h3 { margin-bottom: 14px; }
.taxo-content__col p { color: var(--text); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }
.taxo-content__col ul { padding-left: 22px; }
.taxo-content__col li { margin-bottom: 8px; color: var(--text); }

.filter__field--locked select { opacity: .6; cursor: not-allowed; }

@media (max-width: 768px) {
  .taxo-content { grid-template-columns: 1fr; gap: 30px; }
}
