/* Shared styling for the case management pages (edit, file list): the slim noir
   banner (cases/partials/_caseSlimBanner.html) and the manila field-group tiles.
   Link with static_v from each page's extra_head. */

/* ---- slim noir banner (about a quarter the height of the case detail banner —
   management pages give their vertical space to the working controls) ---- */
.ge-banner { position: relative; background: #17150f; overflow: hidden; padding: 14px 24px 16px; margin-bottom: 1rem; }
.ge-banner-backdrop {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; filter: blur(7px); opacity: 0.45; transform: scale(1.08);
}
.ge-banner-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,21,15,0.95) 12%, rgba(23,21,15,0.55)); }
.ge-banner-fg { position: relative; }
.ge-banner-eyebrow {
    font-family: 'Oswald', 'Helvetica Neue', sans-serif; font-size: 12px; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; color: #cdc6b5;
}
/* eyebrow back-links look like the surrounding text (hover underline only) */
.ge-banner-eyebrow a { color: inherit; text-decoration: none; }
.ge-banner-eyebrow a:hover { text-decoration: underline; }
.ge-banner-title {
    font-family: 'Oswald', 'Helvetica Neue', sans-serif; font-size: 24px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.15;
    color: #f4efe3;  /* plain-text titles (non-case pages); the <a> rule below overrides for links */
}
.ge-banner-title a { color: #f4efe3; text-decoration: none; }
.ge-banner-title a:hover { text-decoration: underline; }
.ge-banner-summary { color: #cdc6b5; font-size: 13.5px; line-height: 1.4; margin-top: 3px; max-width: 90ch; }

/* ---- grouped field tiles (manila ground like the profile dossier tiles) ---- */
.caseEditTiles { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-bottom: 1.25rem; }
.caseEditTile { flex: 1 1 320px; min-width: 280px; background: var(--nyn-manila, #E9E2CF); padding: 14px 18px 6px; }
.caseEditTileHead {
    font-family: 'Oswald', 'Helvetica Neue', sans-serif; font-weight: 600; font-size: 13px;
    letter-spacing: 0.14em; text-transform: uppercase; color: #17150f;
    border-bottom: 2px solid #17150f; padding-bottom: 6px; margin-bottom: 12px;
}
/* full-page-width tile; the flex sizing from .caseEditTile is inert outside the
   .caseEditTiles container */
.caseEditTileFull { margin-bottom: 1.25rem; padding-bottom: 14px; }

/* ---- simple authoring variant for admin-editable pages (about/downloads):
   inside .caseEditTiles a bare <section> is a tile, and its leading <h2>
   renders as the eyebrow head — so hand-maintained HTML needs no classes:
     <div class="caseEditTiles">
       <section><h2>Heading</h2> ...content...</section>
       <section class="full"><h2>Wide tile</h2> ...</section>
     </div> ---- */
.caseEditTiles section {
    flex: 1 1 320px; min-width: 280px;
    background: var(--nyn-manila, #E9E2CF); padding: 14px 18px 10px;
}
.caseEditTiles section.full { flex-basis: 100%; }
.caseEditTiles section > h2:first-child {
    font-family: 'Oswald', 'Helvetica Neue', sans-serif; font-weight: 600; font-size: 13px;
    letter-spacing: 0.14em; text-transform: uppercase; color: #17150f;
    border-bottom: 2px solid #17150f; padding-bottom: 6px; margin-bottom: 12px;
}
