/*
Theme Name: Miami Valley Shared Living
Theme URI: https://miamivalleysharedliving.org
Author: Miami Valley Shared Living
Author URI: https://miamivalleysharedliving.org
Description: Custom "river & hearth" theme for Miami Valley Shared Living — a warm, grounded member portal for affordable shared living. Free-path build wired for Paid Memberships Pro, bbPress, and BuddyPress, with a branded 7-panel resident dashboard that renders real plugin shortcodes once configured (and friendly sample content until then).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mvsl
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template, two-columns, accessibility-ready
*/

/* =====================================================================
   MIAMI VALLEY SHARED LIVING — "RIVER & HEARTH" DESIGN SYSTEM
   ---------------------------------------------------------------------
   Concept: warm, grounded, community-feeling — not clinical.
   Dominant deep pine/teal river, terracotta clay accent, warm cream paper.
   ===================================================================== */

:root {
  /* --- Brand core --- */
  --mv-river: #16504d;      /* deep pine/teal — dominant */
  --mv-river-deep: #0f3a38; /* darker pine for depth/footers */
  --mv-river-soft: #2c6b67; /* lifted pine for hovers */
  --mv-clay: #d97b30;       /* terracotta — accent */
  --mv-clay-deep: #b9601d;  /* pressed clay */
  --mv-clay-soft: #e8a468;  /* warm clay tint */
  --mv-paper: #f7f1e7;      /* warm cream — background */
  --mv-paper-deep: #efe5d4; /* cream card edges / wells */
  --mv-ink: #23201b;        /* near-black warm ink for text */
  --mv-ink-soft: #5b554c;   /* muted body / captions */
  --mv-line: #e2d6c2;       /* hairlines on cream */
  --mv-white: #fffdf9;      /* card surface, slightly warm white */

  /* --- Functional accents --- */
  --mv-ok: #3f7d57;
  --mv-warn: #c9892b;
  --mv-alert: #b14b35;
  --mv-info: var(--mv-river-soft);

  /* --- Typography --- */
  --mv-display: "Fraunces", Georgia, "Times New Roman", serif;
  --mv-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- Rhythm & shape --- */
  --mv-radius: 14px;
  --mv-radius-sm: 9px;
  --mv-radius-lg: 22px;
  --mv-shadow-sm: 0 1px 2px rgba(15, 58, 56, .06), 0 2px 6px rgba(15, 58, 56, .05);
  --mv-shadow: 0 4px 14px rgba(15, 58, 56, .08), 0 12px 32px rgba(15, 58, 56, .07);
  --mv-shadow-lg: 0 18px 48px rgba(15, 58, 56, .14);
  --mv-maxw: 1180px;
  --mv-ease: cubic-bezier(.22, .61, .36, 1);
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--mv-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--mv-ink);
  background-color: var(--mv-paper);
  background-image:
    radial-gradient(1200px 600px at 88% -8%, rgba(217, 123, 48, .06), transparent 60%),
    radial-gradient(900px 540px at -6% 8%, rgba(22, 80, 77, .06), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mv-river); text-decoration-color: rgba(22, 80, 77, .35); text-underline-offset: 3px; transition: color .18s var(--mv-ease); }
a:hover { color: var(--mv-clay-deep); }

h1, h2, h3, h4 {
  font-family: var(--mv-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--mv-river-deep);
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; }

.mv-eyebrow {
  font-family: var(--mv-body);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mv-clay-deep);
  margin: 0 0 .65rem;
}

/* =====================================================================
   LAYOUT HELPERS
   ===================================================================== */
.mv-wrap { width: 100%; max-width: var(--mv-maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.mv-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.mv-narrow { max-width: 720px; }
.mv-center { text-align: center; }
.mv-stack > * + * { margin-top: 1rem; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.mv-btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--mv-body);
  font-weight: 650;
  font-size: .98rem;
  line-height: 1;
  padding: .9em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s var(--mv-ease), box-shadow .2s var(--mv-ease), background-color .2s var(--mv-ease), color .2s var(--mv-ease), border-color .2s var(--mv-ease);
  will-change: transform;
}
.mv-btn:active { transform: translateY(1px); }
.mv-btn--primary { background: var(--mv-clay); color: #fff; box-shadow: 0 6px 18px rgba(217, 123, 48, .28); }
.mv-btn--primary:hover { background: var(--mv-clay-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217, 123, 48, .34); }
.mv-btn--river { background: var(--mv-river); color: var(--mv-paper); }
.mv-btn--river:hover { background: var(--mv-river-soft); color: #fff; transform: translateY(-2px); }
.mv-btn--ghost { background: transparent; color: var(--mv-river-deep); border-color: var(--mv-line); }
.mv-btn--ghost:hover { border-color: var(--mv-river); background: rgba(22, 80, 77, .05); color: var(--mv-river-deep); }
.mv-btn--block { width: 100%; justify-content: center; }
.mv-btn--sm { padding: .6em 1.05em; font-size: .86rem; }

/* =====================================================================
   SITE HEADER
   ===================================================================== */
.mv-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 231, .82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--mv-line);
}
.mv-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }
.mv-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.mv-brand__logo { height: 40px; width: auto; display: block; }
.mv-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.mv-brand__name { font-family: var(--mv-display); font-weight: 600; font-size: 1.16rem; color: var(--mv-river-deep); letter-spacing: -.01em; }
.mv-brand__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mv-clay-deep); font-weight: 700; }

.mv-nav { display: flex; align-items: center; gap: 1.7rem; }
.mv-nav__menu { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.mv-nav__menu a { font-weight: 600; font-size: .96rem; color: var(--mv-ink); text-decoration: none; position: relative; padding-block: .35rem; }
.mv-nav__menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--mv-clay); transition: right .25s var(--mv-ease); border-radius: 2px; }
.mv-nav__menu a:hover { color: var(--mv-river-deep); }
.mv-nav__menu a:hover::after, .mv-nav__menu .current-menu-item > a::after { right: 0; }

.mv-nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: var(--mv-river-deep); }
.mv-nav__toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .mv-nav__menu, .mv-nav__cta-desktop { display: none; }
  .mv-nav__toggle { display: inline-flex; }
  .mv-nav.is-open .mv-nav__menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: .2rem;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--mv-paper); border-bottom: 1px solid var(--mv-line);
    padding: 1rem clamp(1.1rem, 4vw, 2.4rem) 1.6rem; box-shadow: var(--mv-shadow);
  }
  .mv-nav.is-open .mv-nav__menu a { padding-block: .7rem; width: 100%; border-bottom: 1px solid var(--mv-line); }
}

/* =====================================================================
   HERO (front page)
   ===================================================================== */
.mv-hero { position: relative; overflow: hidden; padding-block: clamp(3.4rem, 8vw, 6rem); }
.mv-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mv-hero__title { margin-bottom: .35em; }
.mv-hero__title em { font-style: italic; color: var(--mv-clay-deep); }
.mv-hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--mv-ink-soft); max-width: 38ch; }
.mv-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.mv-hero__art {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--mv-radius-lg);
  background:
    radial-gradient(120% 120% at 30% 20%, var(--mv-river-soft), var(--mv-river) 45%, var(--mv-river-deep) 100%);
  box-shadow: var(--mv-shadow-lg); overflow: hidden;
  display: grid; place-items: center;
}
.mv-hero__art::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(247,241,231,.5), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(247,241,231,.35), transparent),
    radial-gradient(1.5px 1.5px at 45% 80%, rgba(247,241,231,.4), transparent);
}
.mv-hero__art svg { width: 62%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }

@media (max-width: 860px) {
  .mv-hero__grid { grid-template-columns: 1fr; }
  .mv-hero__art { max-width: 420px; margin-inline: auto; order: -1; }
}

/* =====================================================================
   FEATURE GRID (front page)
   ===================================================================== */
.mv-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.mv-feature {
  background: var(--mv-white); border: 1px solid var(--mv-line); border-radius: var(--mv-radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--mv-shadow-sm);
  transition: transform .2s var(--mv-ease), box-shadow .2s var(--mv-ease), border-color .2s var(--mv-ease);
}
.mv-feature:hover { transform: translateY(-4px); box-shadow: var(--mv-shadow); border-color: var(--mv-clay-soft); }
.mv-feature__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(22,80,77,.12), rgba(217,123,48,.12));
  color: var(--mv-river); margin-bottom: 1rem;
}
.mv-feature__icon svg { width: 28px; height: 28px; }
.mv-feature h3 { margin-bottom: .35rem; }
.mv-feature p { color: var(--mv-ink-soft); margin: 0; font-size: .97rem; }

/* =====================================================================
   COMMUNITY BAND
   ===================================================================== */
.mv-band {
  background: var(--mv-river); color: var(--mv-paper); border-radius: var(--mv-radius-lg);
  padding: clamp(2.4rem, 5vw, 3.6rem); position: relative; overflow: hidden;
}
.mv-band h2 { color: var(--mv-white); }
.mv-band p { color: rgba(247, 241, 231, .82); }
.mv-band__wave { position: absolute; inset: auto 0 0 0; width: 100%; opacity: .25; }
.mv-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .mv-band__inner { grid-template-columns: 1fr; } }

/* =====================================================================
   MEMBER DASHBOARD
   ===================================================================== */
.mv-dash { padding-block: clamp(1.8rem, 4vw, 2.6rem) clamp(3rem, 6vw, 4.5rem); }
.mv-dash__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.4rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--mv-line);
}
.mv-dash__welcome .mv-eyebrow { margin-bottom: .3rem; }
.mv-dash__welcome h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0; }
.mv-dash__welcome h1 em { font-style: italic; color: var(--mv-clay-deep); }
.mv-dash__meta { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.mv-dash__metaitem { text-align: right; }
.mv-dash__metaitem .k { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mv-ink-soft); font-weight: 700; }
.mv-dash__metaitem .v { font-family: var(--mv-display); font-size: 1.15rem; color: var(--mv-river-deep); }

/* Tabs / scrollspy nav */
.mv-dash__tabs {
  position: sticky; top: 74px; z-index: 20;
  display: flex; gap: .4rem; overflow-x: auto; padding: .5rem; margin-bottom: 1.6rem;
  background: rgba(247, 241, 231, .9); backdrop-filter: blur(8px); border-radius: 999px;
  border: 1px solid var(--mv-line); box-shadow: var(--mv-shadow-sm);
  scrollbar-width: none;
}
.mv-dash__tabs::-webkit-scrollbar { display: none; }
.mv-dash__tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45em;
  padding: .55em 1.05em; border-radius: 999px; font-weight: 650; font-size: .9rem;
  color: var(--mv-ink-soft); text-decoration: none; white-space: nowrap; border: 0; background: none; cursor: pointer;
  transition: background-color .18s var(--mv-ease), color .18s var(--mv-ease);
}
.mv-dash__tab svg { width: 17px; height: 17px; }
.mv-dash__tab:hover { color: var(--mv-river-deep); background: rgba(22, 80, 77, .06); }
.mv-dash__tab.is-active { background: var(--mv-river); color: var(--mv-paper); }

/* Panel grid */
.mv-panels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.3rem; }
.mv-panel {
  background: var(--mv-white); border: 1px solid var(--mv-line); border-radius: var(--mv-radius);
  box-shadow: var(--mv-shadow-sm); overflow: hidden; scroll-margin-top: 140px;
  display: flex; flex-direction: column;
}
.mv-panel--6 { grid-column: span 6; }
.mv-panel--12 { grid-column: span 12; }
@media (max-width: 880px) { .mv-panel--6, .mv-panel--12 { grid-column: span 12; } }

.mv-panel__head { display: flex; align-items: center; gap: .7rem; padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--mv-line); background: linear-gradient(180deg, rgba(247,241,231,.5), transparent); }
.mv-panel__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(22, 80, 77, .1); color: var(--mv-river); flex: 0 0 auto; }
.mv-panel__icon svg { width: 20px; height: 20px; }
.mv-panel__title { margin: 0; font-size: 1.12rem; }
.mv-panel__sub { margin: .1rem 0 0; font-size: .82rem; color: var(--mv-ink-soft); font-family: var(--mv-body); }
.mv-panel__body { padding: 1.3rem; flex: 1; }

/* Admin-only setup hint */
.mv-hint {
  display: flex; gap: .7rem; align-items: flex-start;
  margin-top: 1rem; padding: .8rem .95rem; border-radius: var(--mv-radius-sm);
  background: rgba(217, 123, 48, .09); border: 1px dashed var(--mv-clay-soft);
  font-size: .85rem; color: var(--mv-clay-deep);
}
.mv-hint svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.mv-hint code { background: rgba(185, 96, 29, .14); padding: .1em .4em; border-radius: 5px; font-size: .92em; }

/* =====================================================================
   SAMPLE CONTENT PRIMITIVES (used inside panels before plugins wire up)
   ===================================================================== */
.mv-kv { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin: 0; }
.mv-kv dt { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--mv-ink-soft); font-weight: 700; }
.mv-kv dd { margin: 0; font-weight: 600; color: var(--mv-ink); }

.mv-pill { display: inline-flex; align-items: center; gap: .4em; padding: .25em .7em; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .03em; }
.mv-pill--ok { background: rgba(63, 125, 87, .15); color: var(--mv-ok); }
.mv-pill--warn { background: rgba(201, 137, 43, .16); color: var(--mv-warn); }
.mv-pill--river { background: rgba(22, 80, 77, .12); color: var(--mv-river); }

.mv-ledger { width: 100%; border-collapse: collapse; font-size: .92rem; }
.mv-ledger th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mv-ink-soft); padding: .4rem .6rem; border-bottom: 1px solid var(--mv-line); }
.mv-ledger td { padding: .62rem .6rem; border-bottom: 1px solid var(--mv-line); }
.mv-ledger tr:last-child td { border-bottom: 0; }
.mv-ledger .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.mv-ledger__due { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--mv-radius-sm); background: var(--mv-paper-deep); }
.mv-ledger__due .amt { font-family: var(--mv-display); font-size: 1.5rem; color: var(--mv-river-deep); }

.mv-thread { display: flex; flex-direction: column; gap: .85rem; }
.mv-msg { max-width: 82%; padding: .7rem .95rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.mv-msg__who { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .2rem; opacity: .75; }
.mv-msg--them { align-self: flex-start; background: var(--mv-paper-deep); color: var(--mv-ink); border-bottom-left-radius: 4px; }
.mv-msg--me { align-self: flex-end; background: var(--mv-river); color: var(--mv-paper); border-bottom-right-radius: 4px; }
.mv-msg--me .mv-msg__who { color: var(--mv-clay-soft); opacity: 1; }
.mv-composer { display: flex; gap: .5rem; margin-top: 1rem; }
.mv-composer input { flex: 1; border: 1px solid var(--mv-line); border-radius: 999px; padding: .65rem 1rem; font: inherit; font-size: .92rem; background: var(--mv-paper); color: var(--mv-ink); }
.mv-composer input:focus { outline: 2px solid var(--mv-river-soft); outline-offset: 1px; }

.mv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mv-list li { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px solid var(--mv-line); }
.mv-list li:last-child { border-bottom: 0; }
.mv-list__dot { width: 9px; height: 9px; border-radius: 50%; margin-top: .5rem; flex: 0 0 auto; background: var(--mv-clay); }
.mv-list__body { flex: 1; }
.mv-list__title { font-weight: 650; color: var(--mv-ink); }
.mv-list__meta { font-size: .8rem; color: var(--mv-ink-soft); }

.mv-field { margin-bottom: .9rem; }
.mv-field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--mv-ink-soft); margin-bottom: .35rem; }
.mv-field input, .mv-field select, .mv-field textarea {
  width: 100%; border: 1px solid var(--mv-line); border-radius: var(--mv-radius-sm); padding: .6rem .8rem;
  font: inherit; background: var(--mv-paper); color: var(--mv-ink);
}
.mv-field input:focus, .mv-field select:focus, .mv-field textarea:focus { outline: 2px solid var(--mv-river-soft); outline-offset: 1px; }
.mv-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

/* Login gate */
.mv-gate { max-width: 460px; margin: clamp(2rem, 6vw, 4rem) auto; text-align: center; }
.mv-gate__card { background: var(--mv-white); border: 1px solid var(--mv-line); border-radius: var(--mv-radius-lg); box-shadow: var(--mv-shadow); padding: clamp(2rem, 5vw, 3rem); }
.mv-gate__mark { width: 64px; height: 64px; margin: 0 auto 1.2rem; }

/* =====================================================================
   ARTICLE / GENERIC CONTENT
   ===================================================================== */
.mv-article { max-width: 760px; margin-inline: auto; }
.mv-article img { border-radius: var(--mv-radius); margin-block: 1.5rem; }
.mv-article blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 3px solid var(--mv-clay); font-family: var(--mv-display); font-size: 1.25rem; font-style: italic; color: var(--mv-river-deep); }
.mv-meta { color: var(--mv-ink-soft); font-size: .88rem; margin-bottom: 1.5rem; }

.mv-404 { text-align: center; padding-block: clamp(3rem, 9vw, 7rem); }
.mv-404 .code { font-family: var(--mv-display); font-size: clamp(4rem, 16vw, 9rem); color: var(--mv-clay); line-height: .9; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.mv-footer { background: var(--mv-river-deep); color: rgba(247, 241, 231, .8); margin-top: clamp(3rem, 7vw, 5rem); }
.mv-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.4rem, 5vw, 3.6rem); }
@media (max-width: 760px) { .mv-footer__top { grid-template-columns: 1fr; gap: 1.6rem; } }
.mv-footer h4 { color: var(--mv-paper); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mv-body); font-weight: 700; margin-bottom: 1rem; }
.mv-footer a { color: rgba(247, 241, 231, .8); text-decoration: none; }
.mv-footer a:hover { color: var(--mv-clay-soft); }
.mv-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.mv-footer__brand .mv-brand__name { color: var(--mv-paper); }
.mv-footer__brand p { max-width: 34ch; font-size: .92rem; }
.mv-footer__bar { border-top: 1px solid rgba(247, 241, 231, .14); padding-block: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .82rem; }

/* =====================================================================
   WORDPRESS CORE / PLUGIN CONTAINER STYLING
   (light touch so PMPro / bbPress / BuddyPress inherit the brand)
   ===================================================================== */
.mv-plugin-area { font-family: var(--mv-body); }
.mv-plugin-area a { color: var(--mv-river); }
.mv-plugin-area .pmpro_account-links a,
.mv-plugin-area .bbp-forum-title,
.mv-plugin-area .bp-messages-button { font-weight: 650; }
.mv-plugin-area table { width: 100%; border-collapse: collapse; }
.mv-plugin-area table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mv-ink-soft); padding: .5rem .6rem; border-bottom: 1px solid var(--mv-line); }
.mv-plugin-area table td { padding: .6rem; border-bottom: 1px solid var(--mv-line); }

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   ACCESSIBILITY & MOTION
   ===================================================================== */
:focus-visible { outline: 3px solid var(--mv-clay); outline-offset: 2px; border-radius: 4px; }
.mv-skip-link { position: absolute; left: -999px; top: 0; background: var(--mv-river); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0; z-index: 200; }
.mv-skip-link:focus { left: 0; color: #fff; }

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

/* Page-load reveal (front page) */
@keyframes mv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.mv-reveal { animation: mv-rise .6s var(--mv-ease) both; }
.mv-reveal-2 { animation: mv-rise .6s var(--mv-ease) .1s both; }
.mv-reveal-3 { animation: mv-rise .6s var(--mv-ease) .2s both; }
