/* =========================================================
   Sterling Ridge HOA — Resident portal styles
   ---------------------------------------------------------
   Auth visibility states, the sign-in gate, and the document
   library / FAQ markup that js/shared.js generates.

   Class names below (.doc-row, .doc-info, .docs-cat-btn,
   .docs-subtab, .faq-trigger, .btn-secondary …) are dictated
   by shared.js — renaming them here breaks rendering. Loaded
   after style.css so it can rely on the same tokens.
   ========================================================= */

/* =========================================================
   Signed-in / signed-out visibility
   Everything stays hidden until main.js resolves the session
   and sets .auth-ready, so neither state flashes on load.
   ========================================================= */
[data-when="in"], [data-when="out"],
[data-admin-only], [data-user-only] { display: none !important; }

body.auth-ready [data-when="out"]                       { display: revert !important; }
body.auth-ready.is-signed-in [data-when="out"]          { display: none !important; }
body.auth-ready.is-signed-in [data-when="in"]           { display: revert !important; }
body.auth-ready.is-signed-in [data-user-only]           { display: revert !important; }
body.auth-ready.is-signed-in.is-admin [data-admin-only] { display: revert !important; }

/* Header/nav contexts need an inline-flex value, not `revert` */
body.auth-ready .header__actions [data-when="out"],
body.auth-ready .drawer [data-when="out"]               { display: inline-flex !important; }
body.auth-ready.is-signed-in .header__actions [data-when="out"],
body.auth-ready.is-signed-in .drawer [data-when="out"]  { display: none !important; }
body.auth-ready.is-signed-in .header__actions [data-when="in"],
body.auth-ready.is-signed-in .header__actions [data-user-only],
body.auth-ready.is-signed-in .drawer [data-when="in"],
body.auth-ready.is-signed-in .drawer [data-user-only]   { display: inline-flex !important; }
body.auth-ready.is-signed-in.is-admin .header__actions [data-admin-only],
body.auth-ready.is-signed-in.is-admin .drawer [data-admin-only] { display: inline-flex !important; }

/* An administrator gets the Administrator chip INSTEAD of a name chip —
   showing both is redundant and does not match the agreed header. */
body.auth-ready.is-signed-in.is-admin [data-user-only] { display: none !important; }

/* Nav link to Documents, only for signed-in members */
body.auth-ready.is-signed-in .nav [data-when="in"] { display: inline-block !important; }

/* =========================================================
   Session badges in the header
   ========================================================= */
.nav-badge {
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: var(--brass-wash);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 500;
  white-space: nowrap;
  max-width: 180px;
}
.nav-badge b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-badge svg { width: 15px; height: 15px; color: var(--brass-text); flex-shrink: 0; }

/* Administrator: a brass chip that opens the portal in a new window. */
.nav-badge--admin {
  background: linear-gradient(140deg, #7A5D25 0%, var(--brass-text) 100%);
  color: #FFFFFF;
  cursor: pointer;
  transition: filter .3s ease, transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: var(--shadow-sm);
}
/* brass-light is only 2.51:1 here and fails the 3:1 minimum for icons. */
.nav-badge--admin svg { color: #E3CE9B; }
.nav-badge--admin:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-badge--admin:active { transform: translateY(0); }

/* Resident: name only. Deliberately inert — no pointer, no hover, not
   focusable, because there is nothing behind it to open. */
.nav-badge--user {
  background: var(--stone-deep);
  color: var(--ink);
  cursor: default;
  user-select: none;
}
.nav-badge--user svg { color: var(--moss); }

/* =========================================================
   Sign-in gate (shown to signed-out visitors)
   ========================================================= */
.gate {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.gate__lock {
  width: 68px; height: 68px;
  margin: 0 auto 24px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--brass-wash);
  color: var(--brass-text);
}
.gate h2 { margin-bottom: 14px; }
.gate .lead { margin-inline: auto; }

/* =========================================================
   Library layout
   ========================================================= */
.docs-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } }

.docs-side { position: sticky; top: calc(var(--header-h) + 20px); }
.docs-side .eyebrow { margin-bottom: 18px; }
@media (max-width: 900px) { .docs-side { position: static; } }

.docs-cats { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .docs-cats { flex-direction: row; flex-wrap: wrap; } }

.docs-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 15px;
  border-radius: var(--r-md);
  font-size: .9063rem;
  color: var(--moss);
  text-align: left;
  transition: background .3s ease, color .3s ease;
}
.docs-cat-btn:hover { background: var(--brass-wash); color: var(--ink); }
.docs-cat-btn.active { background: var(--forest); color: var(--stone); font-weight: 500; }
.docs-cat-btn .count {
  font-size: .6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--stone-deep);
  color: var(--muted);
}
.docs-cat-btn.active .count { background: rgba(244,242,237,.18); color: var(--stone); }

.docs-search { position: relative; margin-bottom: 18px; }
.docs-search .ico {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: grid; place-items: center;
}
.docs-search-bar {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .3s ease, box-shadow .35s var(--ease);
}
.docs-search-bar::placeholder { color: var(--muted); }
.docs-search-bar:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 4px var(--brass-wash);
}

.docs-subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.docs-subtabs[hidden] { display: none; }
.docs-subtab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  color: var(--moss);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.docs-subtab:hover { background: var(--brass-wash); color: var(--ink); }
.docs-subtab.active { background: var(--forest); color: var(--stone); box-shadow: none; }
.docs-subtab .count { opacity: .65; font-size: .6875rem; }

.docs-count { font-size: .8125rem; color: var(--muted); margin-bottom: 16px; }

/* =========================================================
   Document rows — markup from shared.js renderDocs()
   ========================================================= */
.docs-list { display: flex; flex-direction: column; gap: 10px; }

.docs-list .doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .3s ease, box-shadow .45s var(--ease);
}
.docs-list .doc-row:hover {
  transform: translateX(4px);
  border-color: rgba(168,130,60,.34);
  box-shadow: var(--shadow-md);
}
.doc-info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.doc-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brass-wash);
  color: var(--brass-text);
  font-size: 1.0625rem;
}
.doc-meta { min-width: 0; }
.doc-meta h4 {
  font-family: var(--font-body);
  font-size: .9688rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.doc-meta span { font-size: .8125rem; color: var(--muted); }
.doc-actions { flex-shrink: 0; }

/* shared.js emits .btn.btn-secondary.btn-sm on the download link.
   `.btn` is already ours; these supply the secondary treatment. */
.btn-secondary {
  --btn-bg: transparent;
  --btn-fg: var(--forest);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-secondary:hover { --btn-fg: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .8125rem; }

/* =========================================================
   FAQ accordion — markup from shared.js renderFaqs()
   ========================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
  transition: color .3s ease;
}
.faq-trigger:hover { color: var(--brass-text); }
.faq-trigger i {
  color: var(--brass-text);
  transition: transform .5s var(--ease);
  flex-shrink: 0;
}
.faq-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-q { display: flex; flex-direction: column; gap: 7px; }
.faq-cat {
  font-family: var(--font-body);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.faq-content p {
  overflow: hidden;
  color: var(--moss);
  font-size: .9688rem;
  max-width: 68ch;
}
.faq-item.is-open .faq-content { grid-template-rows: 1fr; }
.faq-item.is-open .faq-content p { padding-bottom: 26px; }

@media (prefers-reduced-motion: reduce) {
  .docs-list .doc-row:hover { transform: none; }
}

/* =========================================================
   Property manager CTA (home page)
   Sits inside .portal, so it is on the dark forest panel.
   ========================================================= */
.pm-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}
.pm-contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(244, 242, 237, .055);
  border: 1px solid rgba(244, 242, 237, .10);
  transition: background .35s ease, border-color .35s ease, transform .45s var(--ease);
}
.pm-contact__row:hover {
  background: rgba(244, 242, 237, .10);
  border-color: rgba(201, 168, 103, .38);
  transform: translateX(4px);
}
.pm-contact__ico {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(201, 168, 103, .16);
  color: var(--brass-light);
}
.pm-contact__row small {
  display: block;
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2px;
}
.pm-contact__row b {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--stone);
  word-break: break-word;
}

.pm-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(244, 242, 237, .055);
  border: 1px solid rgba(244, 242, 237, .12);
  box-shadow: var(--shadow-lg);
}
.pm-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.pm-card__body { padding: 24px 26px 28px; }
.pm-card__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--stone);
  margin-bottom: 4px;
}
.pm-card__role {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 16px;
}
.pm-card__addr,
.pm-card__hours {
  font-size: .875rem;
  color: rgba(244, 242, 237, .66);
  line-height: 1.6;
}
.pm-card__hours {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 242, 237, .12);
}

/* =========================================================
   Store-driven gallery strip (home page)
   renderGallery() emits .masonry__item buttons into it.
   ========================================================= */
.gallery-strip .masonry__item {
  aspect-ratio: 1;
  margin-bottom: 0;
  border-radius: var(--r-md);
}
.gallery-strip .masonry__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   Responsive header
   ---------------------------------------------------------
   The desktop nav collapses at 1040px. Below that the drawer
   is the header, so it must carry EVERYTHING — every nav
   link plus the login/sign-out action. Nothing may be
   reachable on desktop but missing on a phone.
   ========================================================= */
@media (max-width: 1040px) {
  .drawer {
    padding-top: 24px;
    gap: 2px;
  }
  .drawer__link {
    font-size: clamp(1.25rem, 5.5vw, 1.6rem);
    padding: 14px 0;
  }
  /* The drawer scrolls if the viewport is short (landscape phones). */
  .drawer { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .drawer .btn { margin-top: 20px; }
  .drawer .btn + .btn { margin-top: 10px; }

  /* Session chips belong in the drawer too, not just the desktop bar. */
  .drawer .nav-badge {
    max-width: none;
    justify-content: center;
    padding: 12px 18px;
    margin-top: 14px;
  }
}

/* Very small screens: tighten the header itself so the logo and burger
   never collide. */
@media (max-width: 480px) {
  /* Still large enough to read the mark on a phone — just enough smaller that
     the logo and the burger never collide. */
  :root { --header-h: 78px; }
  .brand__mark, .brand__mark img { height: 50px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: .5rem; }
}

/* =========================================================
   Property-manager CTA — reduced height
   ========================================================= */
#management { padding-block: clamp(44px, 5vw, 74px); }
#management .portal { padding: clamp(26px, 3vw, 44px); }
#management .portal__grid { gap: clamp(28px, 3.4vw, 52px); align-items: center; }
#management .h2 { margin: 14px 0 14px !important; }
#management .lead { font-size: 1rem; line-height: 1.55; max-width: 52ch; }
#management .pm-contact { margin-top: 20px; gap: 8px; }
#management .pm-contact__row { padding: 11px 15px; }
#management .mt-6 { margin-top: 22px !important; }
#management .pm-card img { aspect-ratio: 16 / 9; }
#management .pm-card__addr { display: none; }   /* address already in the footer */
#management .pm-card__hours { margin-top: 0; padding-top: 0; border-top: 0; }
#management .pm-card__body { padding: 18px 20px 20px; }
#management .pm-card__role { margin-bottom: 12px; }

/* =========================================================
   Board cards — initials monogram, no photography
   Markup comes from shared.js renderBoard().
   ========================================================= */
.board-card__avatar {
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  position: relative;
  overflow: hidden;
}
.board-card__avatar::after {
  /* Faint ridge echo so the block is not a flat rectangle. */
  content: '';
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,103,.22), transparent 70%);
  pointer-events: none;
}
.board-card__avatar span {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--brass-light);
  line-height: 1;
  position: relative;
}
.board-card__body { gap: 8px; }
.board-card__body h3 { font-size: 1.1875rem; }

/* =========================================================
   Events page — two-panel reference layout
   ========================================================= */
.page-hero--tight { padding-bottom: clamp(28px, 3vw, 44px); }

.ev-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
}
@media (max-width: 1000px) { .ev-layout { grid-template-columns: 1fr; } }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--shadow-sm);
}

/* --- calendar --- */
.panel .cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }

.cal__key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.cal__key span { display: inline-flex; align-items: center; gap: 8px; }
.cal__key i, .cal__dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.k-meeting     { background: var(--forest); }
.k-maintenance { background: var(--brass); }
.k-social      { background: #6E8F72; }
.k-deadline    { background: #A8564A; }

.cal__dots { display: flex; gap: 3px; margin-top: 4px; }
.cal__dots i { width: 5px; height: 5px; }
.cal__day.has-event:hover .cal__dots i { background: var(--brass-light); }

/* --- agenda list --- */
.ev-toolbar { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 20px; }
.ev-toolbar .search { flex: 1 1 auto; }
.ev-toolbar .chips { gap: 6px; }
.ev-toolbar .chip { padding: 7px 14px; font-size: .78rem; }

.ev-list { display: flex; flex-direction: column; gap: 10px; }

.ev-list .event-row {
  width: 100%;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--stone);
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .4s var(--ease);
}
.ev-list .event-row:hover {
  background: var(--surface);
  border-color: rgba(168,130,60,.34);
  transform: translateX(3px);
}
.ev-list .event-row.is-past { opacity: .6; }

.event-row__cal {
  width: 56px;
  padding: 9px 0;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--stone);
  text-align: center;
  display: block;
}
.event-row__cal strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}
.event-row__cal span {
  display: block;
  margin-top: 2px;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.event-row__main { min-width: 0; display: block; }
.event-row__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
}
.event-row__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .8125rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  .ev-list .event-row { grid-template-columns: 48px minmax(0, 1fr); }
  .ev-list .event-row .tag { grid-column: 2; justify-self: start; }
}

/* --- past events disclosure --- */
.ev-past { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.ev-past summary {
  cursor: pointer;
  font-size: .875rem;
  font-weight: 500;
  color: var(--moss);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
}
.ev-past summary::-webkit-details-marker { display: none; }
.ev-past summary::before {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .35s var(--ease);
}
.ev-past[open] summary::before { transform: rotate(45deg); }
.ev-past summary:hover { color: var(--brass-text); }
.ev-past .ev-list { margin-top: 16px; }

/* =========================================================
   Event detail dialog
   ========================================================= */
#event-detail {
  margin: auto;
  border: 0;
  padding: 0;
  border-radius: var(--r-xl);
  background: var(--stone);
  box-shadow: var(--shadow-xl);
  width: min(480px, calc(100vw - 40px));
  overflow: hidden;
}
#event-detail::backdrop { background: rgba(20,35,28,.55); backdrop-filter: blur(8px); }
.ed-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 26px 20px;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%);
}
.ed-head .event-row__cal { flex-shrink: 0; background: rgba(244,242,237,.12); }
.ed-head h3 { color: var(--stone); font-size: 1.375rem; margin-top: 8px; }
.ed-body { padding: 22px 26px 26px; }
.ed-row { display: flex; gap: 13px; align-items: flex-start; padding: 9px 0; }
.ed-row svg { color: var(--brass-text); flex-shrink: 0; margin-top: 3px; }
.ed-row small {
  display: block;
  font-size: .625rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.ed-row b { font-weight: 500; color: var(--ink); font-size: .9375rem; }
.ed-desc { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--moss); font-size: .9375rem; }
.ed-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(244,242,237,.14);
  border: 1px solid rgba(244,242,237,.24);
  color: var(--stone);
  transition: background .3s ease, transform .4s var(--ease);
}
.ed-close:hover { background: rgba(244,242,237,.26); transform: rotate(90deg); }

/* =========================================================
   Page-hero photographic banner
   Sits behind the heading, dimmed so text keeps its contrast.
   ========================================================= */
.page-hero { position: relative; isolation: isolate; }

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Wash the photo back toward the page so headings stay legible.
   Without this the stone-on-photo contrast is unpredictable. */
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--stone) 0%, rgba(244,242,237,.94) 42%, rgba(244,242,237,.72) 100%),
    linear-gradient(to bottom, rgba(244,242,237,.55), rgba(244,242,237,.9));
}
@media (max-width: 760px) {
  .page-hero__media::after {
    background: linear-gradient(to bottom, rgba(244,242,237,.86), rgba(244,242,237,.96));
  }
}
/* The existing decorative glow would sit on top of the photo — drop it. */
.page-hero::before { display: none; }

/* =========================================================
   Photographs in split sections
   ========================================================= */
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
