/* Full-screen phone menu, 2026-11-17 (inc/mobilemenu.php, mobilemenu.js).
 * A black-and-white photograph across the top, the links on olive cloth
 * (the plaster grain over #7C7D5E), cream type. */
.vw-mm {
  --mm-ground: #7C7D5E;
  --mm-ink: #F3EEDC;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow-y: auto;
  color: var(--mm-ink);
  background: var(--mm-ground) url("img/plaster.webp") center / cover;
  background-blend-mode: multiply;
  opacity: 0;
  transition: opacity 320ms ease;
}
.vw-mm[hidden] { display: none; }
.vw-mm.is-open { opacity: 1; }
html.vw-mm-open, html.vw-mm-open body { overflow: hidden; }

.vw-mm__photo {
  position: relative;
  flex: none;
  height: 44dvh;
  background: #222;
  border-bottom: 3px double rgba(243, 238, 220, 0.75);
}
.vw-mm__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(1);
}
.vw-mm__close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  /* Bare X in the site's oxblood, thin like the italic links, no disc
   * (2026-11-17). A faint cream glow keeps it readable on dark photos. */
  color: #6B0A03;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  filter: drop-shadow(0 0 6px rgba(243, 238, 220, 0.55));
}

.vw-mm__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px 28px;
}
.vw-mm__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  justify-items: center;
}
.vw-mm__list li { margin: 0; padding: 0; list-style: none; }
.vw-mm__list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  color: var(--mm-ink);
  text-decoration: none;
}
.vw-mm__num {
  padding-top: 0.55em;
  font-family: "EB Garamond", Garamond, serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.vw-mm__label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 11vw, 52px);
  line-height: 1.1;
}
.vw-mm__list a:active .vw-mm__label,
.vw-mm__list a:hover .vw-mm__label { opacity: 0.7; }

.vw-mm__social {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
}
.vw-mm__social a {
  font-family: "EB Garamond", Garamond, serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 238, 220, 0.4);
  padding-bottom: 2px;
}

/* Divi's own dropdown never shows. */
@media (max-width: 980px) {
  body #main-header .mobile_nav #mobile_menu { display: none !important; }
}
@media (min-width: 981px) {
  .vw-mm { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .vw-mm { transition: none; }
}

/* Phone header bar (2026-11-17): the shell + VLADANA WEDDINGS centred, and
 * the burger drawn like the menu's close X: three thin oxblood strokes
 * with round ends, instead of Divi's icon-font burger. */
@media (max-width: 980px) {
  #main-header .logo_container { justify-content: center !important; }
  #main-header .vw-logotype {
    --vw-logotype-size: 15px;
    align-items: center;
    letter-spacing: 0.1em;
  }
  #main-header .vw-logotype::before {
    content: "";
    flex: none;
    width: 30px;
    height: 28px;
    margin-right: 4px;
    background: url("img/logo-shell.svg") center / contain no-repeat;
  }

  #main-header .mobile_menu_bar::before {
    content: "" !important;
    display: block;
    width: 30px;
    height: 30px;
    top: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' stroke='%236B0A03' stroke-width='1.1' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
@media (max-width: 980px) {
  #main-header .mobile_nav { transform: translateX(22px); }
}

/* Phone burger, 2026-11-18 (Jovan): smaller (30 to 24px) and black instead
 * of oxblood. Shifted 3px further right so its centre stays where it was. */
@media (max-width: 980px) {
  #main-header .mobile_menu_bar::before {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' stroke='%231A1714' stroke-width='1.25' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  }
  #main-header .mobile_nav { transform: translateX(25px); }
}

/* Phone header, 2026-11-18 (late, Jovan): burger drawn at 20px (was 24),
 * centre unchanged; its tap area made larger, not smaller (44 x 48px, the
 * extra width as padding pulled back with a negative margin so nothing
 * moves). Shell + VLADANA WEDDINGS a touch larger (15 to 16.5px, shell
 * 30x28 to 33x31). */
@media (max-width: 980px) {
  #main-header .mobile_menu_bar::before { width: 20px; height: 20px; margin-top: 2px; }
  #main-header .mobile_nav { transform: translateX(27px); }
  #main-header .mobile_nav .mobile_menu_bar { padding-left: 12px !important; padding-right: 12px !important; padding-bottom: 26px !important; margin: 0 -12px !important; }
  #main-header .vw-logotype { --vw-logotype-size: 16.5px; }
  #main-header .vw-logotype::before { width: 33px; height: 31px; }
}

/* Phone burger, 2026-11-18 (Jovan's pick): three close, thin bars
 * (Ionicons reorder-three, MIT). viewBox cropped to the bars' width so the
 * lines run the full 20px. Black. Tap area unchanged (44 x 48px). */
@media (max-width: 980px) {
  #main-header .mobile_menu_bar::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='80 80 352 352'%3E%3Cpath fill='%231A1714' d='M80 304h352v16H80zM80 248h352v16H80zM80 192h352v16H80z'/%3E%3C/svg%3E");
  }
}

/* Phone menu close X, 2026-11-19 (Jovan): it sat 15px left of the burger
 * and looked bigger. Now centred exactly where the burger's bars are
 * (x 367, y 38 on a 390px screen: 44px button, 1px from the edge), drawn
 * 16px across with a thin stroke like the bars, and in the menu links'
 * cream (#F3EEDC) instead of oxblood, with a soft dark glow so it
 * still reads on the light top photograph. Tap area stays 44 x 48px. */
.vw-mm__close {
  right: 1px;
  width: 44px;
  color: #F3EEDC;
  filter: drop-shadow(0 0 3px rgba(26, 23, 20, 0.55)) drop-shadow(0 0 8px rgba(26, 23, 20, 0.35));
}
.vw-mm__close svg { width: 24px; height: 24px; }
.vw-mm__close svg path { stroke-width: 1.2; }
