/*
Theme Name: Bulan Madu Indonesia
Description: Tema BulanMadu.co.id berdasarkan mockup premium yang disetujui.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: bulanmadu-indonesia
*/
:root {
  color-scheme: dark;
  --forest: #121d17;
  --ivory: #fbf6ea;
  --champagne: #e9d6b9;
  --rule: rgb(249 237 217 / 27%);
  --frame: clamp(26px, 6.4vw, 108px);
  --serif: Baskerville, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--forest); color: var(--ivory); font: 15px/1.55 var(--sans); }
a, button, summary { color: inherit; }
a { text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
button { border: 0; padding: 0; background: none; text-align: left; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }
.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-inline: var(--frame);
}
.stage-image, .stage::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-image { z-index: -2; object-fit: cover; object-position: 60% 54%; }
.stage::before {
  content: "";
  z-index: -1;
  background:
    linear-gradient(180deg, #0b130f9e, transparent 24%, transparent 69%, #0b130fdb),
    linear-gradient(90deg, #111b15a6 0%, #111b1566 37%, #111b1512 69%, transparent 100%);
}
.masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font: 400 29px/.94 var(--serif);
}
.brand small {
  display: block;
  margin-top: 7px;
  color: var(--champagne);
  font: 500 8px/1 var(--sans);
  letter-spacing: .31em;
  text-transform: uppercase;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  aspect-ratio: 1;
  border: 1px solid #e9d6b9b8;
  border-radius: 50%;
  color: var(--champagne);
}
.brand-mark::after {
  content: "";
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: -3px 2px 0 currentColor;
  transform: translate(2px, -1px);
}
.desktop-nav, .footer-links { display: flex; align-items: center; }
.desktop-nav { gap: clamp(20px, 2.6vw, 42px); font-size: 13px; letter-spacing: .015em; }
.desktop-nav a, .footer-links a, summary { padding-block: 10px; text-underline-offset: 5px; }
.desktop-nav a:hover, .footer-links a:hover, summary:hover { color: var(--champagne); text-decoration: underline; }
.mobile-menu { display: none; }
.intro { align-self: center; padding-block: 60px 68px; }
h1 {
  margin: 0;
  font: 400 clamp(64px, 7.9vw, 122px)/.93 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 2px 24px #10181030;
}
h1 em { color: var(--champagne); font-weight: 400; }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 17px;
  min-height: 64px;
  padding-block: 9px;
  border-top: 1px solid var(--rule);
  color: #f4ebdc;
  font-size: 12px;
}
.site-footer p { margin: 0; }
.footer-links { flex-wrap: wrap; gap: 0 23px; }
@media (max-width: 830px) {
  .stage-image { object-position: 67% 50%; }
  .stage::before {
    background:
      linear-gradient(180deg, #111b15ab, transparent 22%, #111b152e 37%, #111b159c 68%, #111b15e8),
      linear-gradient(90deg, #111b154d, transparent 90%);
  }
  .masthead { min-height: 72px; }
  .brand { font-size: 24px; gap: 10px; }
  .brand-mark { width: 32px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; font-size: 13px; }
  .mobile-menu summary { list-style: none; min-height: 44px; display: grid; align-items: center; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    position: absolute;
    z-index: 2;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 185px;
    padding: 7px 16px;
    background: #15241bf5;
    border: 1px solid var(--rule);
  }
  .mobile-menu nav a { min-height: 42px; display: flex; align-items: center; }
  .mobile-menu nav a:hover { color: var(--champagne); }
  .intro { align-self: end; padding-block: 48px clamp(48px, 11svh, 96px); }
  h1 { font-size: clamp(36px, 11.4vw, 81px); line-height: .99; }
  .site-footer { display: grid; gap: 2px; min-height: 0; padding-block: 12px; font-size: 11px; }
  .footer-links { gap: 0 14px; }
  .footer-links a { padding-block: 5px; }
}
@media (max-width: 360px) {
  .stage { padding-inline: 19px; }
  .site-footer { font-size: 10px; }
  .footer-links { gap: 0 9px; }
}

.skip-link { position: absolute; top: 10px; left: 10px; z-index: 5; padding: 8px 12px; background: var(--ivory); color: var(--forest); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.admin-bar .stage { min-height: calc(100svh - 32px); }
.inner-shell { color-scheme: light; background: var(--ivory); color: #23362e; min-height: 100vh; display: flex; flex-direction: column; }
.inner-shell .masthead, .inner-shell .site-footer { margin-inline: var(--frame); }
.inner-shell .masthead { border-color: #ddd2c0; }
.inner-shell .brand-mark { border-color: #9a7951; color: #89673e; }
.inner-shell .brand small { color: #765734; }
.inner-shell .desktop-nav a:hover, .inner-shell summary:hover { color: #765734; }
.inner-shell .site-footer { border-color: #ddd2c0; color: #4d5c53; }
.inner-shell .site-footer a:hover { color: #765734; }
.inner-content { flex: 1; width: min(720px, calc(100% - 2 * var(--frame))); margin-inline: auto; padding-block: clamp(48px, 10vw, 104px); }
.inner-content h1 { font-size: clamp(43px, 7vw, 80px); text-shadow: none; margin-bottom: 32px; }
.inner-content h2 { font: 400 clamp(28px, 4.5vw, 40px)/1.12 var(--serif); margin: 1.3em 0 .4em; }
.inner-content p, .inner-content ul { line-height: 1.75; }
.inner-content a { text-decoration: underline; text-underline-offset: 4px; }
.inner-content .wp-block-button__link { background: #23362e; color: #fbf6ea; text-decoration: none; }
.inner-content img { max-width: 100%; height: auto; }
.inner-content .journal-list { padding-left: 1.25em; }
.inner-content .journal-list li + li { margin-top: 8px; }
.site-footer .footer-links a { display: inline-block; }
@media (max-width: 830px) {
  .inner-shell .mobile-menu nav { color: #fbf6ea; }
  .inner-shell .mobile-menu nav a:hover { color: var(--champagne); }
}
@media (max-width: 782px) {
  .admin-bar .stage { min-height: calc(100svh - 46px); }
}
.custom-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: inherit; }
.mobile-menu .custom-menu { display: grid; }
.desktop-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
