/*
Theme Name: Mycelium Nature
Version: 1.0.0
Requires PHP: 7.4
*/

body h1, body h2, body h3, body h4, body .brand { letter-spacing: 0; }
h1, h2, h3, .btn { overflow-wrap: anywhere; }
body .hero { min-height: calc(100svh - 32px); }
.hero .hero-inner { padding: 104px 28px 72px; }
.hero .hero-bg::after { background: linear-gradient(180deg, rgba(8,32,56,.34), rgba(8,20,32,.32) 42%, rgba(8,20,32,.87)); }
.hero h1 { max-width: 15ch; }
.hero img, .detail-img img { object-fit: cover; }
/* Let the module aspect ratios override WordPress image height attributes. */
.feat-img-main img, .feat-img-sub img, .ac-img img,
.proc-img img, .circ-img img, .detail-img img { height: auto; }
.feat-text { min-width: 0; }
.feat-text .feat-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-wrap: anywhere; }
.mn-nav-items { display: contents; }
.drawer[hidden] { display: none; }
body .drawer { overflow-y: auto; justify-content: flex-start; padding-top: 82px; padding-bottom: 20px; }
.drawer > .mn-nav-items > a { flex-shrink: 0; }
.drawer .drawer-cta { flex-shrink: 0; }
body header.site.menu-open { color: var(--on-dark); background: var(--deep); }
.admin-bar header.site { top: 32px; }
.admin-bar .drawer { top: 32px; }
#views [id] { scroll-margin-top: 96px; }
body .rv { opacity: 1; transform: none; }
.mn-reveals .rv:not(.in) { opacity: 0; transform: translateY(22px); }
.mn-reveals .page-hero .rv, .mn-reveals .hero .rv { opacity: 1; transform: none; }
.mn-trap { position: absolute; left: -10000px; }
.mn-form-feedback { margin: 16px 0; }
.contact-section .form-success[hidden] { display: none; }
.contact-section .form-success:not([hidden]) { display: block; }
.mn-captcha svg { display: block; margin: 12px 0; max-width: 100%; }
.mn-captcha-group { display: flex; gap: 12px; align-items: center; }
.mn-captcha-group input { max-width: 180px; }
.lang-menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; font-size: 14px; }
.lang-menu a:hover, .lang-menu a.sel { background: var(--bone); }
body .drawer-langs a { display: block; padding: 6px 11px; border: 1px solid var(--line-light); font: 14px var(--body); }
body .drawer-langs a.sel { background: var(--bone); color: var(--ink); }
.legal a:not([href]) { cursor: default; }
@media (max-width: 1023px) {
  body nav.main, body .nav-cta { display: none; }
  body .menu-toggle { display: flex; }
}
@media (max-width: 782px) {
  .admin-bar header.site, .admin-bar .drawer { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar header.site, .admin-bar .drawer { top: 0; }
  .admin-bar:not(.mn-scrolled) header.site { top: 46px; }
}
@media (max-width: 540px) {
  body .hero .hero-inner { padding-top: 96px; padding-bottom: 42px; }
  body .hero h1 { font-size: 36px; margin-bottom: 20px; }
  .hero .hero-badge, .hero .hero-kicker { margin-bottom: 14px; }
  .hero p { margin-bottom: 24px; }
  .hero-actions .btn { padding: 13px 18px; }
  body .drawer > .mn-nav-items > a { font-size: 24px; padding: 7px 0; }
  body .drawer .drawer-cta { margin-top: 18px; font-size: 18px; }
}
@media (max-width: 360px) {
  body .hero .hero-inner { padding-inline: 22px; }
  body .hero h1 { font-size: 32px; }
  .hero p { line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mn-reveals .rv:not(.in) { opacity: 1; transform: none; }
}
