/* S-1 theme "101st Airborne", revision 0db0cc2, skin winter. Generated from s1/themes/101st: edit the files there. */
@font-face{font-family:"Montserrat";font-style:normal;font-weight:300;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/montserrat-latin-ext-300-normal.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:300;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/montserrat-latin-300-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/montserrat-latin-ext-400-normal.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/montserrat-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/montserrat-latin-ext-700-normal.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/montserrat-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Merriweather";font-style:normal;font-weight:400;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/merriweather-latin-ext-400-normal.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Merriweather";font-style:normal;font-weight:400;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/merriweather-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Merriweather";font-style:normal;font-weight:700;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/merriweather-latin-ext-700-normal.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Merriweather";font-style:normal;font-weight:700;font-display:swap;src:url("/index.php/s1/theme/0db0cc2/fonts/merriweather-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
:root{
color-scheme:dark;
--s1-color-page:#0d0e12;
--s1-color-frame:#131313;
--s1-color-row:#18191d;
--s1-color-row-alt:#212224;
--s1-color-topic:#121317;
--s1-color-surface:#303238;
--s1-color-surface-low:#222328;
--s1-color-surface-raised:#3a3c43;
--s1-color-title-bar:#393b41;
--s1-color-border:#393b41;
--s1-color-border-dark:#1d1f23;
--s1-color-text:#b3b3b3;
--s1-color-text-light:#999999;
--s1-color-text-dark:#878787;
--s1-color-heading:#eaeaea;
--s1-color-title:#cecece;
--s1-color-link:#cccccc;
--s1-color-link-hover:#ffffff;
--s1-color-accent:#5d7f9e;
--s1-color-accent-hover:#6f93b3;
--s1-color-on-accent:#ffffff;
--s1-color-normal:#478f79;
--s1-color-alternate:#3e4148;
--s1-color-light:#3d3d3d;
--s1-color-info:#155249;
--s1-color-success:#479c87;
--s1-color-warning:#d87c4f;
--s1-color-error:#cc5353;
--s1-color-on-message:#ffffff;
--s1-color-online:#57b357;
--s1-color-highlight:#1f3134;
--s1-color-hover:rgba(255, 255, 255, 0.04);
--s1-color-line:rgba(255, 255, 255, 0.06);
--s1-color-shadow:rgba(0, 0, 0, 0.45);
--s1-gradient-card:linear-gradient(to bottom, var(--s1-color-surface), var(--s1-color-surface-low));
--s1-font-body:Montserrat, "Helvetica Neue", Arial, sans-serif;
--s1-font-heading:"Helvetica Neue", Helvetica, Arial, sans-serif;
--s1-font-nav:Merriweather, Georgia, serif;
--s1-size-frame:1340px;
--s1-size-text:14px;
--s1-size-small:12px;
--s1-size-tiny:11px;
--s1-size-h1:28px;
--s1-size-h2:22px;
--s1-size-h3:18px;
--s1-size-title:14px;
--s1-weight-heading:700;
--s1-weight-sub-title:600;
--s1-size-feature-title:20px;
--s1-size-sub-title:16px;
--s1-space-1:4px;
--s1-space-2:8px;
--s1-space-3:12px;
--s1-space-4:18px;
--s1-space-5:26px;
--s1-space-6:36px;
--s1-radius-card:3px;
--s1-radius-button:4px;
--s1-radius-frame:15px;
--s1-effect-snow-color:rgba(255, 255, 255, 0.85);
--s1-effect-snow-flakes:120;
--s1-page-back-to-top-bg:var(--s1-color-surface);
--s1-page-back-to-top-text:var(--s1-color-link);
--s1-page-back-to-top-size:20px;
--s1-page-avatar-bg:var(--s1-color-surface);
--s1-landing-poster-frame:#14160f;
--s1-landing-poster-shadow:#111111;
--s1-landing-poster-height:250px;
--s1-landing-rank-icon-height:24px;
--s1-landing-featured-edge:var(--s1-color-accent);
--s1-cards-bg:var(--s1-gradient-card);
--s1-cards-border:var(--s1-color-border);
--s1-cards-title-bg:var(--s1-color-title-bar);
--s1-cards-title-border:#222939;
--s1-cards-title-text:var(--s1-color-title);
--s1-cards-title-size:var(--s1-size-title);
--s1-cards-list-bg:var(--s1-color-frame);
--s1-cards-row-alt:var(--s1-color-row);
--s1-cards-forum-icon:var(--s1-img-page-patch);
--s1-cards-post-bg:var(--s1-color-topic);
--s1-cards-post-highlight:var(--s1-color-highlight);
--s1-cards-quote-bg:#28292e;
--s1-cards-quote-header:#32343a;
--s1-cards-quote-text:#d2d2d2;
--s1-cards-pagination-bg:#2d2d2d;
--s1-cards-pagination-text:#a0a2a3;
--s1-cards-pagination-active:var(--s1-color-accent);
--s1-cards-tab-bg:#212528;
--s1-cards-tab-text:#a9a9af;
--s1-cards-menu-bg:var(--s1-color-surface);
--s1-cards-menu-hover:var(--s1-color-surface-raised);
--s1-cards-menu-text:#d0d0d0;
--s1-cards-menu-text-hover:#f0f0f0;
--s1-cards-forum-last-col:minmax(10.5rem, 26%);
--s1-buttons-size:var(--s1-size-small);
--s1-buttons-height:34px;
--s1-buttons-primary-bg:var(--s1-color-accent);
--s1-buttons-primary-hover:var(--s1-color-accent-hover);
--s1-buttons-primary-text:var(--s1-color-on-accent);
--s1-buttons-outlined-border:var(--s1-color-border);
--s1-forms-input-bg:#1e1f20;
--s1-forms-input-border:#161616;
--s1-forms-input-focus:#1c1d1d;
--s1-forms-input-focus-border:var(--s1-color-text-dark);
--s1-forms-input-text:#b3b3b3;
--s1-forms-size:var(--s1-size-text);
--s1-forms-editor-toolbar:#212121;
--s1-forms-tile-bg:var(--s1-forms-input-bg);
--s1-forms-tile-border:var(--s1-forms-input-border);
--s1-forms-tile-hover:var(--s1-forms-input-focus);
--s1-forms-tile-checked-border:var(--s1-color-accent);
--s1-forms-tile-checked-bg:var(--s1-color-highlight);
--s1-forms-tile-gap:var(--s1-size-small);
--s1-forms-note-border:var(--s1-color-accent);
--s1-forms-note-bg:var(--s1-color-hover);
--s1-forms-field-gap:var(--s1-size-text);
--s1-forms-aside-width:320px;
--s1-forms-columns-gap:var(--s1-size-h1);
--s1-forms-aside-top:calc(var(--s1-nav-height) + var(--s1-forms-field-gap));
--s1-records-title-size:1.7rem;
--s1-records-label-size:0.72rem;
--s1-records-meta-size:0.85rem;
--s1-records-small-size:0.8rem;
--s1-records-tiny-size:0.7rem;
--s1-records-kind:var(--s1-color-title);
--s1-records-online:var(--s1-color-online);
--s1-records-line:var(--s1-color-border);
--s1-records-roster-insignia-size:30px;
--s1-records-roster-rank-column:3rem;
--s1-records-roster-row-padding:0.6rem;
--s1-records-roster-status-column:9rem;
--s1-records-roster-online-column:6rem;
--s1-records-roster-online-opacity:1;
--s1-records-roster-online-size:var(--s1-records-tiny-size);
--s1-records-badge-transform:none;
--s1-records-zebra:var(--s1-color-row-alt);
--s1-records-roster-offline-opacity:0.85;
--s1-soldier-record-side-width:17rem;
--s1-soldier-record-gap:var(--s1-space-4);
--s1-soldier-record-tab-bg:var(--s1-color-surface-low);
--s1-soldier-record-tab-text:var(--s1-color-text-light);
--s1-soldier-record-tab-active-bg:var(--s1-color-surface);
--s1-soldier-record-tab-active-text:var(--s1-color-heading);
--s1-soldier-record-tab-hover:var(--s1-color-hover);
--s1-soldier-record-tab-error:var(--s1-color-error);
--s1-soldier-record-border:var(--s1-color-border);
--s1-soldier-record-focus:var(--s1-color-accent);
--s1-soldier-record-tab-size:var(--s1-size-small);
--s1-soldier-record-heading:var(--s1-color-heading);
--s1-soldier-record-muted:var(--s1-color-text-light);
--s1-soldier-record-name-size:var(--s1-size-h3);
--s1-soldier-record-small-size:var(--s1-size-small);
--s1-soldier-record-tiny-size:var(--s1-size-tiny);
--s1-soldier-record-pill-bg:var(--s1-color-alternate);
--s1-soldier-record-pill-text:var(--s1-color-heading);
--s1-soldier-record-action-bg:var(--s1-color-surface-raised);
--s1-soldier-record-action-hover:var(--s1-color-title-bar);
--s1-soldier-record-action-text:var(--s1-color-heading);
--s1-soldier-record-danger-bg:var(--s1-color-warning);
--s1-soldier-record-danger-text:var(--s1-color-on-accent);
--s1-soldier-record-insignia-size:72px;
--s1-footer-bg:#212123;
--s1-footer-text:var(--s1-color-text-light);
--s1-footer-link:var(--s1-color-link-hover);
--s1-footer-link-hover:var(--s1-color-link);
--s1-footer-size:var(--s1-size-small);
--s1-backdrop-height:900px;
--s1-backdrop-fit:100% auto;
--s1-backdrop-dim:rgba(13, 14, 18, 0.35);
--s1-header-logo-height:100px;
--s1-header-logo-pad:12px;
--s1-header-userbar-bg:#18191d;
--s1-header-userbar-text:#d0d0d0;
--s1-header-userbar-hover:#ffffff;
--s1-header-radius:var(--s1-radius-frame);
--s1-header-z:60;
--s1-nav-bg:#3b3d44;
--s1-nav-text:#d0d0d0;
--s1-nav-hover-bg:#202225;
--s1-nav-hover-text:#f0f0f0;
--s1-nav-current-bg:var(--s1-nav-hover-bg);
--s1-nav-current-text:#ffffff;
--s1-nav-dot:#5a5d66;
--s1-nav-size:13px;
--s1-nav-weight:600;
--s1-nav-tracking:0.5px;
--s1-nav-pad:0 22px;
--s1-nav-height:58px;
--s1-nav-dropdown-bg:var(--s1-color-surface);
--s1-nav-dropdown-hover-bg:#3a3c43;
--s1-nav-dropdown-text:#d0d0d0;
--s1-nav-z:50;
--s1-ticker-bg:#131313;
--s1-ticker-text:#9d9e9e;
--s1-ticker-title-bg:#151518;
--s1-ticker-title-text:#dadbdb;
--s1-ticker-title-size:12px;
--s1-ticker-font:Verdana, Geneva, sans-serif;
--s1-ticker-size:12px;
--s1-ticker-speed:60s;
--s1-ticker-gap:28px;
--s1-ticker-dot:#5a5d66;
--s1-hero-height:350px;
--s1-hero-fit:cover;
--s1-hero-overlay:linear-gradient(rgba(19, 19, 19, 0.2), rgba(19, 19, 19, 0.2));
--s1-hero-dot:rgba(255, 255, 255, 0.45);
--s1-hero-dot-active:#ffffff;
--s1-hero-news-background:var(--s1-color-surface);
--s1-hero-caption-background:linear-gradient(to top, rgba(19, 19, 19, 0.92), rgba(19, 19, 19, 0.55));
--s1-hero-caption-text:#ffffff;
--s1-hero-caption-width:46rem;
--s1-hero-fallback-dim:rgba(0, 0, 0, 0.65);
--s1-hero-news-min-height:20rem;
--s1-author-pane-width:235px;
--s1-author-pane-bg-top:#18191d;
--s1-author-pane-bg-bottom:#21262f;
--s1-author-pane-bg:linear-gradient(to bottom, var(--s1-author-pane-bg-top), var(--s1-author-pane-bg-bottom));
--s1-author-pane-photo-size:100px;
--s1-author-pane-photo-size-phone:48px;
--s1-author-pane-name-size:20px;
--s1-author-pane-text-size:var(--s1-size-text);
--s1-author-pane-position-color:#d0d0d0;
--s1-author-pane-muted-color:#999999;
--s1-author-pane-photo-size-list:34px;
--s1-author-pane-photo-size-list-phone:30px;
--s1-author-pane-photo-size-forum:44px;
--s1-author-pane-photo-size-header:54px;
--s1-author-pane-photo-gap-header:var(--s1-space-4);
--s1-author-pane-photo-bg:var(--s1-color-surface-low);
--s1-widgets-row-bg:#18191d;
--s1-widgets-text-color:#b3b3b3;
--s1-widgets-muted-color:#999999;
--s1-widgets-text-size:var(--s1-size-text);
--s1-widgets-small-size:12px;
--s1-widgets-stat-size:24px;
--s1-widgets-rank-icon-height:15px;
--s1-widgets-badge-size:34px;
--s1-widgets-request-edge-width:3px;
--s1-widgets-request-pending-edge:#323232;
--s1-forum-index-sidebar-width:350px;
--s1-forum-index-gap:var(--s1-space-5);
--s1-boxes-bg:var(--s1-color-surface);
--s1-boxes-band-bg:var(--s1-color-title-bar);
--s1-boxes-band-text:var(--s1-color-heading);
--s1-boxes-text:var(--s1-color-text);
--s1-boxes-label:var(--s1-color-heading);
--s1-boxes-border:var(--s1-color-border);
--s1-boxes-line:var(--s1-color-line);
--s1-boxes-row-alt:var(--s1-color-row-alt);
--s1-boxes-on-accent:var(--s1-color-on-accent);
--s1-boxes-accent:var(--s1-color-accent);
--s1-boxes-accent-hover:var(--s1-color-accent-hover);
--s1-boxes-radius:var(--s1-radius-card);
--s1-boxes-pad:var(--s1-space-3);
--s1-boxes-pad-x:var(--s1-space-4);
--s1-boxes-gap:var(--s1-space-4);
--s1-boxes-band-size:var(--s1-size-small);
--s1-boxes-label-col:30%;
--s1-boxes-flag-width:20px;
--s1-boxes-flag-height:15px;
--s1-img-page-patch:url("/index.php/s1/theme/0db0cc2/components/10-page/images/patch.webp");
--s1-img-page-avatar:url("/index.php/s1/theme/0db0cc2/components/10-page/images/patch.webp");
--s1-img-header-logo:url("/index.php/s1/theme/0db0cc2/components/60-header/images/logo.webp");
--s1-img-widgets-patreon:url("/index.php/s1/theme/0db0cc2/components/71-widgets/images/patreon.webp");
--s1-img-widgets-warbond:url("/index.php/s1/theme/0db0cc2/components/71-widgets/images/warbond.webp");
--c-primary:var(--s1-color-link);
--c-primary-accent:var(--s1-color-link-hover);
--c-primary-text:var(--s1-color-frame);
--c-secondary:var(--s1-color-alternate);
--c-secondary-text:var(--s1-color-on-accent);
--c-call-to-action:var(--s1-color-accent);
--c-call-to-action-accent:var(--s1-color-accent-hover);
--c-call-to-action-text:var(--s1-color-on-accent);
--c-text-primary:var(--s1-color-text);
--c-text-secondary:var(--s1-color-text-light);
--c-success:var(--s1-color-success);
--c-success-text:var(--s1-color-on-message);
--c-info:var(--s1-color-info);
--c-info-text:var(--s1-color-on-message);
--c-warning:var(--s1-color-warning);
--c-warning-text:var(--s1-color-on-message);
--c-error:var(--s1-color-error);
--c-error-text:var(--s1-color-on-message);
--c-elevation-0:var(--s1-color-page);
--c-elevation-1:var(--s1-color-row);
--c-elevation-2:var(--s1-color-row-alt);
--c-elevation-3:var(--s1-color-surface);
--c-elevation-4:var(--s1-color-surface-raised);
--c-elevation-5:var(--s1-color-title-bar);
--c-hover:var(--s1-color-hover);
--c-border:var(--s1-color-border-dark);
--border-color:var(--s1-color-border);
--border-radius:var(--s1-radius-card);
--button-border-radius:var(--s1-radius-button);
--font-size:var(--s1-size-text);
}
/* components/10-page/page.css */
/*
 * Page: the html and body base, typography, links, the frame (the main column), the default avatar, the online
 * dot and the back-to-top link.
 *
 * Never give .s1-site, html, body or :root an overflow other than visible: the header's nav row is
 * position: sticky, and an overflowing ancestor breaks it (the lint rejects it).
 * :root, not html, carries the page colour so it wins over the older header's inline "html { ... }" rule.
 */
:root {
    background-color: var(--s1-color-page);
}

body {
    background-color: var(--s1-color-page);
    color: var(--s1-color-text);
    font-family: var(--s1-font-body);
    font-size: var(--s1-size-text);
    font-weight: 400;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--s1-color-heading);
    font-family: var(--s1-font-heading);
}

h1 {
    font-size: var(--s1-size-h1);
    font-weight: var(--s1-weight-heading);
}

h2 {
    font-size: var(--s1-size-h2);
    font-weight: var(--s1-weight-heading);
}

h3 {
    font-size: var(--s1-size-h3);
    font-weight: var(--s1-weight-heading);
}

a {
    color: var(--s1-color-link);
}

a:hover {
    color: var(--s1-color-link-hover);
}

.text-secondary {
    color: var(--s1-color-text-light);
}

.text-small {
    font-size: var(--s1-size-small);
}

/*
 * The frame (the main column's dark panel) and the shell (header, nav row, hero, ticker, footer) share
 * --s1-size-frame: each is width: 100% with that max-width, so their outer edges line up at every window width.
 * Forumify's own .responsive is 11/12 of the window, which left the frame 34px narrower than the shell at 1425px.
 * The padding sits inside the edge (Forumify sets box-sizing: border-box on every element; repeated here).
 * Forumify's flash toast is also .responsive (<div class="responsive flashbag">, fixed at the bottom right, at most
 * 600px): it keeps its own size (ThemeLintTest::testNoThemeRuleOnResponsiveResizesTheFlashToast).
 */
.s1-site .responsive:not(.flashbag) {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--s1-size-frame);
}

main.responsive {
    background-color: var(--s1-color-frame);
    padding: var(--s1-space-5);
}

/* Forumify sets 8px under a paragraph; posts read as a wall of text at that. */
.rich-text p {
    margin-bottom: var(--s1-space-3);
}

/* Forumify renders a bare <div class="avatar"> for a user without a photo; imported users have none. */
div.avatar {
    background-color: var(--s1-page-avatar-bg);
    background-image: var(--s1-img-page-avatar);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 72%;
}

.s1-user-online {
    background-color: var(--s1-color-online);
}

.s1-back-to-top {
    position: fixed;
    right: var(--spacing-6);
    bottom: var(--spacing-6);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--s1-page-back-to-top-bg);
    color: var(--s1-page-back-to-top-text);
    font-size: var(--s1-page-back-to-top-size);
    box-shadow: 0 2px 6px var(--s1-color-shadow);
    opacity: 0.85;
}

.s1-back-to-top:hover {
    color: var(--s1-color-link-hover);
    opacity: 1;
}

/* Fade in once the page has scrolled, where the browser supports scroll-driven animations; otherwise always shown. */
@supports (animation-timeline: scroll()) {
    .s1-back-to-top {
        animation: s1-back-to-top-reveal linear both;
        animation-timeline: scroll(root);
        animation-range: 0 400px;
    }
}

@keyframes s1-back-to-top-reveal {
    from {
        opacity: 0;
        visibility: hidden;
    }

    to {
        opacity: 0.85;
        visibility: visible;
    }
}

@media (max-width: 700px) {
    main.responsive {
        padding: var(--s1-space-4) var(--s1-space-3);
    }

    .s1-back-to-top {
        right: var(--spacing-3);
        bottom: var(--spacing-3);
    }
}

@media print {
    .s1-back-to-top {
        display: none;
    }
}
/* components/15-landing/landing.css */
/*
 * The S-1 landing page (s1/templates/header/frontend/index.html.twig): the optional poster beside the welcome
 * text, the pinned recruiting FAQ for guests, and the posts, events and promotions feeds.
 */
.s1-home-hero {
    padding: 1.5rem 1.5rem 1.25rem;
}

.s1-home-top {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
    align-items: center;
}

.s1-poster {
    display: block;
    overflow: hidden;
    border: 4px solid var(--s1-landing-poster-frame);
    box-shadow: 6px 6px 0 var(--s1-landing-poster-shadow);
}

.s1-poster img {
    display: block;
    width: 100%;
    height: var(--s1-landing-poster-height);
    object-fit: cover;
    object-position: center top;
}

/* No poster: the text block takes the whole card. */
.s1-home-top--solo {
    grid-template-columns: 1fr;
}

.s1-home-hero h1 {
    margin: 0 0 0.4rem;
    letter-spacing: 0.04em;
}

.s1-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.s1-home-actions a {
    text-decoration: none;
}

.s1-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.s1-home-featured {
    margin-top: 1rem;
    border-left: 3px solid var(--s1-landing-featured-edge);
}

.s1-home-featured h2 {
    margin: 0 0 0.5rem;
    font-size: var(--s1-size-feature-title);
    font-weight: var(--s1-weight-heading);
    letter-spacing: 0.03em;
}

.s1-home-title {
    font-size: var(--s1-size-feature-title);
    font-weight: var(--s1-weight-heading);
}

.s1-home-grid li {
    margin-bottom: 0.9rem;
}

.s1-home-grid li p {
    margin: 0.15rem 0 0;
}

/* Promotions: the insignia beside the name and the rank name. */
.s1-home-promotion {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.s1-home-rank {
    flex: none;
    height: var(--s1-landing-rank-icon-height);
    width: auto;
}

@media (max-width: 700px) {
    .s1-home-top {
        grid-template-columns: 1fr;
    }

    .s1-poster {
        max-width: 260px;
    }
}
/* components/20-cards/cards.css */
/*
 * Cards: boxes and cards with their title bars, the forum and topic lists, posts, quotes, pagination, tabs,
 * breadcrumbs and Forumify's dropdown menus. Old values: Taman widgets (#303238 to #222328 with a #393b41 title
 * bar), zebra rows #18191d, posts on #121317.
 */
.box,
.card {
    background: var(--s1-cards-bg);
    border: 1px solid var(--s1-cards-border);
    border-radius: var(--s1-radius-card);
    box-shadow: none;
}

.card-title {
    padding: var(--s1-space-3) var(--s1-space-4);
    background-color: var(--s1-cards-title-bg);
    border-bottom: 1px solid var(--s1-cards-title-border);
    border-radius: var(--s1-radius-card) var(--s1-radius-card) 0 0;
    color: var(--s1-cards-title-text);
    font-size: var(--s1-cards-title-size);
    font-weight: 700;
    letter-spacing: 0.98px;
    text-transform: uppercase;
}

.card-title h4,
.card-title .text-subtitle {
    margin: 0;
    color: inherit;
    font-family: var(--s1-font-body);
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.card-footer {
    border-top: 1px solid var(--s1-cards-border);
}

.forum-list {
    gap: var(--s1-space-5);
}

/* Forum index: dark rows, zebra striped, each with the 101st patch as the forum icon. */
.forum-list .card {
    background: var(--s1-cards-list-bg);
}

.forum-list .card > ul > li:nth-of-type(even) {
    background-color: var(--s1-cards-row-alt);
}

.forum-list .card > ul > li > div:first-child {
    min-height: 56px;
    padding-left: 56px;
    background: var(--s1-cards-forum-icon) left center / 36px auto no-repeat;
}

.forum-list .card > ul > li {
    padding: var(--s1-space-4) var(--s1-space-5);
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s1-space-3) var(--s1-space-4);
}

/*
 * Forumify puts the forum on col-md-3 and the last post on col-1 of a four-column grid, so a forum without a last post
 * leaves a quarter of its row empty. Up to 900px (Forumify's .hide-phone range) both cells span the row; from 901px the last post gets its own
 * column and a row without one spans the card.
 */
.forum-list .card > ul > li > div {
    grid-column: 1 / -1;
}

@media screen and (min-width: 901px) {
    .forum-list .card > ul > li {
        grid-template-columns: minmax(0, 1fr) var(--s1-cards-forum-last-col);
    }

    .forum-list .card > ul > li > div:first-child {
        grid-column: 1;
    }

    .forum-list .card > ul > li > div:not(:first-child) {
        grid-column: 2;
    }

    .forum-list .card > ul > li > div:only-child {
        grid-column: 1 / -1;
    }
}

.forum-list .card > ul > li h3 {
    font-size: var(--s1-size-feature-title);
    font-weight: var(--s1-weight-heading);
    line-height: 1.25;
}

.forum-subforums {
    margin-top: var(--s1-space-2);
}

.forum-subforums a {
    font-size: var(--s1-size-sub-title);
    font-weight: var(--s1-weight-sub-title);
}

/* The last-post column is narrow: bold at body size reads as a heading without wrapping to many lines. Only the topic
   link (a direct child of the cell's text column), not the author's name link inside the byline span. */
.forum-list .card > ul > li > div + div > div > a {
    font-size: var(--s1-size-text);
    font-weight: var(--s1-weight-sub-title);
}

.forum-list .card > ul > hr {
    border-top-color: var(--s1-cards-border);
}

.topic-row {
    padding: var(--s1-space-4) var(--s1-space-5);
}

.topic-row h4 {
    margin-bottom: var(--s1-space-2);
    font-size: var(--s1-size-feature-title);
    font-weight: var(--s1-weight-heading);
    line-height: 1.25;
}

.topic-row .topic-content {
    margin-top: var(--s1-space-3);
}

.topic-row:hover {
    background-color: var(--s1-color-hover);
}

/* Topic page: the title, the gap between its parts and between posts. */
.topic {
    gap: var(--s1-space-5);
}

.topic-header h2 {
    font-size: var(--s1-size-h1);
    font-weight: var(--s1-weight-heading);
}

.comment-list ul.gap-4 {
    gap: var(--s1-space-4);
}

/* Replaces Forumify's pl-4 pr-4 on the post body. */
.comment .comment-content > div:first-child {
    padding-inline: var(--s1-space-5);
}

/* Posts. */
.comment.box {
    background: var(--s1-cards-post-bg);
}

.comment.selected,
.comment.answer {
    background: var(--s1-cards-post-highlight);
}

.forumify-quote {
    background-color: var(--s1-cards-quote-bg);
    border-color: var(--s1-cards-border);
    border-left-color: var(--s1-color-accent);
    color: var(--s1-cards-quote-text);
}

.forumify-quote .forumify-quote-header {
    margin: calc(-1 * var(--spacing-2)) calc(-1 * var(--spacing-4)) var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background-color: var(--s1-cards-quote-header);
    border-bottom: 0;
}

/* Pagination and tabs. */
.pagination-selected-page {
    background-color: var(--s1-cards-pagination-active);
    color: var(--s1-color-on-accent);
}

.tablist > * {
    background-color: var(--s1-cards-tab-bg);
    color: var(--s1-cards-tab-text);
}

.tablist .active {
    background-color: var(--s1-color-accent);
    color: var(--s1-color-on-accent);
}

.breadcrumbs {
    margin-bottom: var(--s1-space-4);
    color: var(--s1-color-text-light);
    font-size: var(--s1-size-small);
}

@media (max-width: 700px) {
    .forum-list .card > ul > li h3,
    .topic-row h4 {
        font-size: var(--s1-size-sub-title);
    }

    .forum-list .card > ul > li,
    .topic-row {
        padding: var(--s1-space-3) var(--s1-space-4);
    }

    .comment .comment-content > div:first-child {
        padding-inline: var(--s1-space-4);
    }
}

/* Forumify's dropdown menus (account menu, collections). */
.menu {
    background-color: var(--s1-cards-menu-bg);
    border: 1px solid var(--s1-color-border-dark);
}

.menu .btn-link {
    color: var(--s1-cards-menu-text);
}

.menu .btn-link:hover,
.menu .btn-link.active {
    background-color: var(--s1-cards-menu-hover);
    color: var(--s1-cards-menu-text-hover);
}
/* components/30-buttons/buttons.css */
/*
 * Buttons: Taman's rust primary button (#8e5847 on white, 4 px radius, 12 px, weight 500, 34 px high).
 * Forumify paints .btn-primary with --c-primary, which here is the link grey, so it is restyled explicitly.
 */
.btn-primary,
.btn-cta,
.btn-outlined,
.btn-outlined-highlighted,
.btn-link {
    font-family: var(--s1-font-body);
}

.btn-primary,
.btn-cta,
.btn-outlined,
.btn-outlined-highlighted {
    height: var(--s1-buttons-height);
    border-radius: var(--s1-radius-button);
    font-size: var(--s1-buttons-size);
    font-weight: 500;
}

.btn-primary,
.btn-cta {
    background-color: var(--s1-buttons-primary-bg);
    color: var(--s1-buttons-primary-text);
}

.btn-primary:hover,
.btn-cta:hover {
    background-color: var(--s1-buttons-primary-hover);
    color: var(--s1-buttons-primary-text);
}

.btn-outlined {
    border-color: var(--s1-buttons-outlined-border);
    color: var(--s1-color-link);
}

.btn-outlined:hover:not([disabled]):not(:disabled) {
    border-color: var(--s1-color-link-hover);
    color: var(--s1-color-link-hover);
}
/* components/40-forms/forms.css */
/*
 * Forms: inputs, selects, text areas, Forumify's rich editor and TomSelect, alerts. Old values: input #1e1f20,
 * border #161616, focus #1c1d1d, text #b3b3b3, editor toolbar #212121. The focus border is lighter than the old
 * #131313 so keyboard focus stays visible.
 */
select,
textarea,
input {
    background-color: var(--s1-forms-input-bg);
    border-color: var(--s1-forms-input-border);
    border-radius: var(--s1-radius-button);
    color: var(--s1-forms-input-text);
    font-family: var(--s1-font-body);
    font-size: var(--s1-forms-size);
}

select:hover,
select:focus,
textarea:hover,
textarea:focus,
input:hover,
input:focus {
    background-color: var(--s1-forms-input-focus);
    border-color: var(--s1-forms-input-focus-border);
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--s1-color-accent);
}

.form-row .pre {
    border-color: var(--s1-forms-input-border);
    border-radius: var(--s1-radius-button);
}

.help-text {
    color: var(--s1-color-text-light);
}

.rich-editor .ql-toolbar.ql-snow {
    background-color: var(--s1-forms-editor-toolbar);
    border-color: var(--s1-forms-input-border);
    border-radius: var(--s1-radius-button) var(--s1-radius-button) 0 0;
}

.rich-editor .ql-container.ql-snow {
    background-color: var(--s1-forms-input-bg);
    border-color: var(--s1-forms-input-border);
    border-radius: 0 0 var(--s1-radius-button) var(--s1-radius-button);
    color: var(--s1-forms-input-text);
}

.ts-control,
.ts-wrapper.single .ts-control,
.ts-dropdown {
    background-color: var(--s1-forms-input-bg);
    border-color: var(--s1-forms-input-border);
    color: var(--s1-forms-input-text);
}

.alert-success,
.alert-info,
.alert-warning,
.alert-error {
    border-radius: var(--s1-radius-card);
    color: var(--s1-color-on-message);
}


/*
 * Request and enlistment pages (FormBlocks, s1_tiles form theme, enlist aside). Fields sit in a grid:
 * short fields two to a row from 720 px, long answers and choice tiles full width. Choice sets are tiles: a bordered
 * label around the control, accented when checked. The only positioned rule is the enlist aside's
 * `position: sticky` (from 960 px, below the nav bar); nothing here is fixed or given a z-index, so toasts,
 * modals, the header dropdowns and the back-to-top button are unaffected.
 */
.s1-form-fields {
    display: grid;
    gap: var(--s1-forms-field-gap);
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
    .s1-form-block--details .s1-form-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.s1-form-field .form-row {
    margin-bottom: 0;
}

.s1-form-block--details .s1-form-field:has(textarea),
.s1-form-block--details .s1-form-field:has(.s1-tiles) {
    grid-column: 1 / -1;
}

.s1-form-note {
    background-color: var(--s1-forms-note-bg);
    border-left: 3px solid var(--s1-forms-note-border);
    margin-top: var(--s1-forms-field-gap);
    padding: var(--s1-forms-tile-gap) var(--s1-forms-field-gap);
}

.s1-tiles {
    display: grid;
    gap: var(--s1-forms-tile-gap);
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    margin-top: var(--s1-forms-tile-gap);
}

.s1-tile {
    align-items: center;
    background-color: var(--s1-forms-tile-bg);
    border: 1px solid var(--s1-forms-tile-border);
    border-radius: var(--s1-radius-button);
    cursor: pointer;
    display: flex;
    gap: var(--s1-forms-tile-gap);
    padding: var(--s1-forms-tile-gap) var(--s1-forms-field-gap);
}

.s1-tile:hover {
    background-color: var(--s1-forms-tile-hover);
}

.s1-tile:has(input:checked) {
    background-color: var(--s1-forms-tile-checked-bg);
    border-color: var(--s1-forms-tile-checked-border);
}

.s1-tile:has(input:focus-visible) {
    outline: 2px solid var(--s1-forms-tile-checked-border);
    outline-offset: 2px;
}

.s1-enlist-columns {
    display: grid;
    gap: var(--s1-forms-columns-gap);
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 960px) {
    .s1-enlist-columns {
        grid-template-columns: minmax(0, 1fr) var(--s1-forms-aside-width);
    }

    /*
     * The aside follows the reader down the long form, just below the sticky nav bar. Sticky only (no
     * z-index): the nav bar, header dropdowns, toasts and modals keep their own stacking. align-self: start
     * so the grid cell does not stretch the aside to the form's height, which would leave nothing to stick.
     * Below 960px it is a normal block.
     */
    .s1-enlist-columns > aside {
        align-self: start;
        position: sticky;
        top: var(--s1-forms-aside-top);
    }
}

.s1-enlist-aside ol {
    margin: 0 0 var(--s1-forms-field-gap);
    padding-left: 1.25rem;
}

.s1-enlist-aside li {
    margin-bottom: var(--s1-forms-tile-gap);
}

.s1-enlist-aside__links {
    display: flex;
    flex-direction: column;
    gap: var(--s1-forms-tile-gap);
}
/* components/45-records/records.css */
/*
 * Records: the personnel file, the roster and the record pages (moved from the old inline
 * _dossier_style.html.twig partial, so every page gets it from the one cached theme stylesheet).
 */
.s1-banner { width: 100%; }
.s1-banner img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 4px; }
.s1-file-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.s1-file-id { flex: 1; min-width: 0; }
.s1-crest { height: 140px; width: auto; }
.s1-file h1 { font-size: var(--s1-records-title-size); margin: 0 0 0.35rem; }
.s1-file-rank img { height: 48px; width: auto; }
.s1-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem 1.5rem; margin: 1.1rem 0 0; }
.s1-facts dt { font-size: var(--s1-records-label-size); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.s1-facts dd { margin: 0.15rem 0 0; }
.s1-racks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.s1-history { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.s1-history-section { container-type: inline-size; }
.s1-history-section:only-child { grid-column: 1 / -1; }
@media (min-width: 1100px) {
    .s1-history { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .s1-history-section:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.s1-rack-title, .s1-history-title { letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--s1-records-small-size); }
.s1-history-title .s1-more { text-transform: none; letter-spacing: normal; font-size: var(--s1-records-small-size); }
.s1-rack-items { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: flex-end; }
.s1-rack-items a { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-decoration: none; }
.s1-rack-items img { height: 36px; width: auto; max-width: 140px; object-fit: contain; }
.s1-rack--badge img, .s1-rack--citation img { height: 58px; }
.s1-rack-missing { min-width: 4.5rem; min-height: 2rem; display: inline-flex; align-items: center; justify-content: center; border: 1px dashed currentColor; opacity: 0.75; font-size: var(--s1-records-tiny-size); padding: 0.2rem 0.35rem; }
.s1-rows { list-style: none; margin: 0; padding: 0; }
.s1-row {
    display: grid;
    grid-template-columns: 6.5rem 9.5rem minmax(0, 1fr) auto;
    gap: 0.2rem 1rem;
    align-items: baseline;
    padding: 0.6rem 0;
    border-top: 1px solid var(--s1-records-line);
}
.s1-row:first-child { border-top: none; padding-top: 0; }
.s1-row-date { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: var(--s1-records-meta-size); opacity: 0.75; }
.s1-row-kind { white-space: nowrap; font-size: var(--s1-records-label-size); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-records-kind); }
.s1-row-side { white-space: nowrap; text-align: right; }
.s1-row-note { grid-column: 3 / -1; margin: 0.15rem 0 0; opacity: 0.85; }
/* The answers to an award's or qualification's template fields, on the line under its name. */
.s1-row-fields { display: block; margin-top: 0.1rem; opacity: 0.85; }
.s1-row-rank { display: inline-flex; align-items: center; gap: 0.45rem; }
.s1-row-rank img { height: 24px; width: auto; }
.s1-row-award { height: 28px; width: auto; max-width: 9rem; object-fit: contain; vertical-align: middle; }
.s1-badge { display: inline-block; vertical-align: middle; margin-left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 3px; font-size: var(--s1-records-tiny-size); font-weight: 600; letter-spacing: 0.04em; text-transform: var(--s1-records-badge-transform); }
.s1-file-position { margin: 0; opacity: 0.8; }
.s1-dates { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.s1-dates-list { display: flex; gap: 2rem; margin: 0; flex-wrap: wrap; }
.s1-dates-list dt, .s1-card-facts dt, .s1-demographics dt, .s1-duty-strip dt { font-size: var(--s1-records-label-size); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.s1-dates-list dd, .s1-card-facts dd, .s1-demographics dd, .s1-duty-strip dd { margin: 0.15rem 0 0; }
.s1-online { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--s1-records-small-size); font-weight: 600; }
.s1-online-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: currentColor; opacity: 0.5; }
.s1-online--on { color: var(--s1-records-online); }
.s1-online--on .s1-online-dot { opacity: 1; }
.s1-file-body { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.s1-file-side { display: flex; flex-direction: column; gap: 1rem; }
.s1-card-title { text-align: center; letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--s1-records-small-size); }
.s1-card-rank { text-align: center; }
.s1-card-rank img { height: 64px; width: auto; }
.s1-card-facts { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.s1-file .s1-tab-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 1rem; }
.s1-file .s1-tab-link { flex: 1; text-align: center; padding: 0.6rem 0.9rem; text-decoration: none; border-bottom: 2px solid transparent; opacity: 0.75; }
.s1-file .s1-tab-link--active { border-bottom-color: currentColor; opacity: 1; font-weight: 600; }
.s1-file .s1-tab-panel[hidden] { display: none; }
.s1-demographics { margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.s1-line { display: block; }
.s1-duty-strip { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem 1rem; text-align: center; }
.s1-admin-duty th, .s1-admin-duty td { padding: 0.35rem 0.5rem; }
.s1-note { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.6rem 0; border-top: 1px solid var(--s1-records-line); }
.s1-note:first-child { border-top: none; padding-top: 0; }
.s1-roster-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 1rem; }
.s1-roster-tab { flex: 1; text-align: center; padding: 0.6rem 0.9rem; text-decoration: none; border-bottom: 2px solid transparent; opacity: 0.75; }
.s1-roster-tab--active { border-bottom-color: currentColor; opacity: 1; font-weight: 600; }
.s1-roster-row { display: grid; grid-template-columns: var(--s1-records-roster-rank-column) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr) var(--s1-records-roster-status-column) var(--s1-records-roster-online-column); gap: 0.5rem 1rem; align-items: center; padding: var(--s1-records-roster-row-padding) 0.5rem; border-top: 1px solid var(--s1-records-line); }
.s1-roster-row:first-child { border-top: none; }
.s1-roster-row:nth-child(even) { background: var(--s1-records-zebra); }
.s1-roster-row img { display: block; height: var(--s1-records-roster-insignia-size); width: var(--s1-records-roster-insignia-size); object-fit: contain; margin: 0 auto; }
.s1-roster-rank { text-align: center; }
.s1-roster-status .s1-badge { margin-left: 0; }
.s1-roster-online { font-size: var(--s1-records-roster-online-size); opacity: var(--s1-records-roster-online-opacity); }
.s1-roster-online.s1-online--off { opacity: var(--s1-records-roster-offline-opacity); }
.s1-roster--center .s1-roster-position, .s1-roster--center .s1-roster-weapon, .s1-roster--center .s1-roster-status { text-align: center; }
.s1-roster--center .s1-roster-online { justify-self: center; }
.s1-roster--left .s1-roster-position, .s1-roster--left .s1-roster-weapon, .s1-roster--left .s1-roster-status { text-align: left; }
.s1-roster--left .s1-roster-online { justify-self: start; }
/*
 * A section narrower than 640px (two per row, or a phone) stacks each row on full-width lines: date and kind as a meta
 * line, the record text, the right-hand value (position, points), then the note. Everything wraps; nothing may widen
 * the card. Wide sections keep the columns. The phone rule comes after the container rule and says the same, so the
 * two never disagree at 700px and below (a section can be wider than 640px in a 641-700px viewport).
 */
@container (max-width: 640px) {
    .s1-row { grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.75rem; align-items: baseline; }
    .s1-row-date { grid-column: 1; grid-row: 1; }
    .s1-row-kind { grid-column: 2; grid-row: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
    .s1-row-main { grid-column: 1 / -1; grid-row: 2; min-width: 0; overflow-wrap: anywhere; text-align: left; }
    .s1-row-side { grid-column: 1 / -1; grid-row: 3; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
    .s1-row-note { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 700px) {
    .s1-file-head { flex-direction: column; align-items: flex-start; }
    .s1-crest { height: 96px; }
    .s1-row { grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.75rem; align-items: baseline; }
    .s1-row-date { grid-column: 1; grid-row: 1; }
    .s1-row-kind { grid-column: 2; grid-row: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
    .s1-row-main { grid-column: 1 / -1; grid-row: 2; min-width: 0; overflow-wrap: anywhere; text-align: left; }
    .s1-row-side { grid-column: 1 / -1; grid-row: 3; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
    .s1-row-note { grid-column: 1 / -1; grid-row: 4; }
}
@media (max-width: 900px) {
    .s1-file-body { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .s1-roster-row { grid-template-columns: var(--s1-records-roster-rank-column) minmax(0, 1fr); }
    .s1-roster-position, .s1-roster-weapon, .s1-roster-status, .s1-roster-online { grid-column: 2; }
    .s1-roster--center .s1-roster-position, .s1-roster--center .s1-roster-weapon { text-align: left; }
    .s1-roster-status, .s1-roster-online { display: none; }
}
/* components/46-soldier-record/soldier-record.css */
/*
 * The soldier record layout of Accept & Process (templates/frontend/_record_tabs and _record_summary): the record
 * tabs beside the soldier summary card, as the old PERSCOM "Process Application" page had them, in the site's dark
 * colours. The tab strip wraps on wide screens; below 900px the card stacks above the tabs, and below 700px the tab
 * strip scrolls sideways instead of wrapping.
 *
 * The tab rules start with .s1-rec: the public personnel file uses the same tab class names for its own tabs
 * (_file_tabs, styled in 45-records under .s1-file), and the two must not restyle each other. The admin soldier
 * file loads only the admin stylesheets; its copy of this layout is admin/css/36-soldier-record.css.
 */
.s1-rec { display: grid; grid-template-columns: minmax(0, 1fr) var(--s1-soldier-record-side-width); gap: var(--s1-soldier-record-gap); align-items: start; }
.s1-rec-main { min-width: 0; }
.s1-rec-side { display: flex; flex-direction: column; gap: var(--s1-soldier-record-gap); min-width: 0; }
.s1-rec-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s1-soldier-record-gap); }
.s1-rec-save { display: flex; justify-content: center; }

.s1-rec .s1-tab-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: var(--s1-space-1) var(--s1-space-1) 0; margin-bottom: var(--s1-soldier-record-gap); background: var(--s1-soldier-record-tab-bg); border-bottom: 1px solid var(--s1-soldier-record-border); }
.s1-rec .s1-tab-link { flex: 0 0 auto; padding: var(--s1-space-2) var(--s1-space-2); white-space: nowrap; text-decoration: none; font-size: var(--s1-soldier-record-tab-size); color: var(--s1-soldier-record-tab-text); border: 1px solid transparent; border-bottom: none; border-radius: 3px 3px 0 0; }
.s1-rec .s1-tab-link:hover { background: var(--s1-soldier-record-tab-hover); color: var(--s1-soldier-record-tab-active-text); }
.s1-rec .s1-tab-link--active, .s1-rec .s1-tab-link[aria-selected="true"] { background: var(--s1-soldier-record-tab-active-bg); color: var(--s1-soldier-record-tab-active-text); border-color: var(--s1-soldier-record-border); font-weight: 600; }
.s1-rec .s1-tab-link:focus-visible { outline: 2px solid var(--s1-soldier-record-focus); outline-offset: -2px; }
.s1-rec .s1-tab-link--error { color: var(--s1-soldier-record-tab-error); }
.s1-rec .s1-tab-error { font-weight: 400; }
.s1-rec .s1-tab-panel[hidden] { display: none; }

.s1-rec-card__body { display: flex; flex-direction: column; gap: var(--s1-soldier-record-gap); }
.s1-rec-card__who { display: flex; flex-direction: column; align-items: center; gap: var(--s1-space-1); text-align: center; min-width: 0; }
.s1-rec-card__insignia { width: var(--s1-soldier-record-insignia-size); height: var(--s1-soldier-record-insignia-size); object-fit: contain; }
.s1-rec-card__insignia--text { display: flex; align-items: center; justify-content: center; border: 1px solid var(--s1-soldier-record-border); border-radius: 3px; background: var(--s1-soldier-record-action-bg); color: var(--s1-soldier-record-heading); font-size: var(--s1-soldier-record-small-size); font-weight: 600; overflow-wrap: anywhere; }
.s1-rec-card__rank { margin: 0; font-size: var(--s1-soldier-record-tiny-size); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-soldier-record-muted); }
.s1-rec-pill { display: inline-block; margin: var(--s1-space-1) 0 0; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: var(--s1-soldier-record-tiny-size); font-weight: 600; }
.s1-rec-pill--plain { background: var(--s1-soldier-record-pill-bg); color: var(--s1-soldier-record-pill-text); }
.s1-rec-card__name { margin: var(--s1-space-1) 0 0; font-size: var(--s1-soldier-record-name-size); font-weight: 600; color: var(--s1-soldier-record-heading); overflow-wrap: anywhere; }
.s1-rec-card__meta { margin: 0; font-size: var(--s1-soldier-record-small-size); color: var(--s1-soldier-record-muted); overflow-wrap: anywhere; }
.s1-rec-card__section { border-top: 1px solid var(--s1-soldier-record-border); padding-top: var(--s1-space-3); }
.s1-rec-card__heading { margin: 0 0 var(--s1-space-2); font-size: var(--s1-soldier-record-small-size); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-soldier-record-heading); }
.s1-rec-card__note { margin: var(--s1-space-1) 0 0; font-size: var(--s1-soldier-record-tiny-size); color: var(--s1-soldier-record-muted); }
.s1-rec-actions { display: flex; flex-direction: column; gap: var(--s1-space-1); }
.s1-rec-action { display: block; width: 100%; padding: var(--s1-space-2); border: none; border-radius: 3px; text-align: center; text-decoration: none; font-family: var(--s1-font-body); font-size: var(--s1-soldier-record-small-size); font-weight: 600; background: var(--s1-soldier-record-action-bg); color: var(--s1-soldier-record-action-text); }
a.s1-rec-action:hover { background: var(--s1-soldier-record-action-hover); color: var(--s1-soldier-record-action-text); }
.s1-rec-action--danger, a.s1-rec-action--danger:hover { background: var(--s1-soldier-record-danger-bg); color: var(--s1-soldier-record-danger-text); }
.s1-rec-action:disabled { opacity: 0.5; cursor: not-allowed; }
.s1-rec-dates { margin: 0; display: flex; flex-direction: column; gap: var(--s1-space-2); }
.s1-rec-dates dt { font-size: var(--s1-soldier-record-tiny-size); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-soldier-record-muted); }
.s1-rec-dates dd { margin: 0.15rem 0 0; }

@media (max-width: 900px) {
    .s1-rec { grid-template-columns: minmax(0, 1fr); }
    .s1-rec-side { order: -1; }
}
@media (max-width: 700px) {
    .s1-rec .s1-tab-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
}
/* components/50-footer/footer.css */
/*
 * Footer: Forumify's own <footer> (it sits after .s1-site), joined to the bottom of the frame like the old
 * #212123 copyright bar. "Powered by forumify" and its link must stay visible (Forumify licence).
 * ".s1-site ~ footer" also outranks the older header's inline "footer { ... }" rule.
 */
.s1-site ~ footer {
    /* Same outer edge as the frame above it: --s1-size-frame, shared with the shell (see 10-page). */
    box-sizing: border-box;
    width: 100%;
    max-width: var(--s1-size-frame);
    margin: 0 auto var(--spacing-6);
    padding: var(--spacing-6) var(--spacing-4);
    background-color: var(--s1-footer-bg);
    border: 0;
    border-radius: 0 0 var(--s1-radius-card) var(--s1-radius-card);
    color: var(--s1-footer-text);
    font-size: var(--s1-footer-size);
}

.s1-site ~ footer a {
    color: var(--s1-footer-link);
}

.s1-site ~ footer a:hover {
    color: var(--s1-footer-link-hover);
}

.s1-footer-extra a + a {
    margin-left: var(--spacing-3);
}
/* components/55-backdrop/backdrop.css */
/*
 * Page backdrop: the picture sits at the top of the page, full width, and fades into the page colour (the old
 * site's look). Which pictures, how long each holds and how long the fade lasts are data in component.json; the
 * partial writes the keyframes and the animation timing because they depend on them.
 *
 * Stacking order, lowest first: canvas (page colour on :root) < backdrop (z-index -1) < everything in the flow
 * (no z-index, nothing raised) < sticky nav row (50, 61-nav) < header with its account and notification
 * dropdowns (60, 60-header) < back-to-top (900, 10-page) and Forumify's fixed toasts and modals (999).
 * The backdrop goes BEHIND the content instead of raising the content: a z-index on main, the alerts or the
 * footer would trap Forumify's fixed flash messages and modals in a layer under the header. That needs the
 * page colour on the canvas only, so body is transparent (10-page also sets it; this file loads later).
 */
body {
    background-color: transparent;
}

.s1-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--s1-backdrop-height);
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.s1-backdrop span {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: var(--s1-backdrop-fit);
    opacity: 0;
}

.s1-backdrop--static span {
    opacity: 1;
}

.s1-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--s1-backdrop-dim), var(--s1-color-page));
}

@media (prefers-reduced-motion: reduce) {
    .s1-backdrop span {
        animation: none !important;
    }

    .s1-backdrop span:first-child {
        opacity: 1;
    }

    .s1-backdrop span:not(:first-child) {
        display: none;
    }
}
/* components/60-header/header.css */
/*
 * Header: the logo centred above a framed top. The frame holds the userbar row (account menu,
 * notifications, or Sign In / Sign Up); the nav row is its own component (61-nav). The header sits above the
 * sticky nav row (--s1-header-z > --s1-nav-z) so its dropdowns open over it; it does not stick itself.
 */
.s1-site > .s1-header {
    position: relative;
    z-index: var(--s1-header-z);
    display: block;
}

.s1-header-logo {
    display: flex;
    justify-content: center;
    padding: var(--s1-header-logo-pad) 0;
}

.s1-header-logo a {
    display: inline-flex;
}

.s1-header-logo img {
    height: var(--s1-header-logo-height);
    width: auto;
    display: block;
}

.s1-header-frame {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--s1-size-frame);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-3);
    padding: var(--spacing-2) var(--spacing-5);
    background: var(--s1-header-userbar-bg);
    color: var(--s1-header-userbar-text);
    border-radius: var(--s1-header-radius) var(--s1-header-radius) 0 0;
}

.s1-header-frame a,
.s1-header-frame .btn-link {
    color: var(--s1-header-userbar-text);
    font-family: var(--s1-font-body);
}

.s1-header-frame a:hover,
.s1-header-frame .btn-link:hover {
    color: var(--s1-header-userbar-hover);
}

/* On phones the logo shrinks and the Forumify phone menu (nav and account in one) takes the frame. */
@media (max-width: 767px) {
    .s1-header-logo img {
        height: calc(var(--s1-header-logo-height) * 0.6);
    }

    .s1-header-frame {
        border-radius: 0;
        padding: var(--spacing-2) var(--spacing-3);
    }
}
/* components/61-nav/nav.css */
/*
 * Nav bar: styles the HTML Forumify's menu builder writes (a.btn-link items and div[data-controller]
 * collections with a .menu dropdown). The row sticks to the top while the page scrolls. The current item
 * is marked by shell.js (aria-current / data-s1-current), because the menu HTML is cached per user.
 */
.s1-site > .s1-navbar {
    position: sticky;
    top: 0;
    z-index: var(--s1-nav-z);
    box-sizing: border-box;
    width: 100%;
    max-width: var(--s1-size-frame);
    margin: 0 auto;
    background: var(--s1-nav-bg);
}

.s1-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    min-height: var(--s1-nav-height);
}

.s1-nav > * {
    display: flex;
    align-items: stretch;
}

/*
 * The dots between items sit on each item's own link box, so they are centred on the text line whether the
 * item is a plain link or the button of a collection (whose wrapper also holds the hidden dropdown). The
 * first item has none.
 */
.s1-nav > a.btn-link,
.s1-nav > div > a.btn-link:first-child {
    position: relative;
}

.s1-nav > * + a.btn-link::before,
.s1-nav > * + div > a.btn-link:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--s1-nav-dot);
    transform: translate(-50%, -50%);
}

.s1-nav a.btn-link {
    display: flex;
    align-items: center;
    padding: var(--s1-nav-pad);
    border-radius: 0;
    font-family: var(--s1-font-nav);
    font-size: var(--s1-nav-size);
    font-weight: var(--s1-nav-weight);
    letter-spacing: var(--s1-nav-tracking);
    text-transform: uppercase;
    color: var(--s1-nav-text);
    background: transparent;
}

.s1-nav a.btn-link:hover,
.s1-nav a.btn-link:focus-visible {
    background: var(--s1-nav-hover-bg);
    color: var(--s1-nav-hover-text);
}

.s1-nav a.btn-link[aria-current="page"],
.s1-nav a.btn-link[data-s1-current] {
    background: var(--s1-nav-current-bg);
    color: var(--s1-nav-current-text);
}

/* The caret Forumify's menu script adds to a collection button. */
.s1-nav .end-adornment {
    margin-left: var(--spacing-1);
}

/* Dropdowns (nested ones open to the right). */
.s1-navbar .menu {
    background: var(--s1-nav-dropdown-bg);
    color: var(--s1-nav-dropdown-text);
    border: 0;
    border-radius: 0;
    padding: var(--spacing-1) 0;
}

.s1-navbar .menu a.btn-link {
    justify-content: flex-start;
    padding: var(--spacing-2) var(--spacing-4);
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    color: var(--s1-nav-dropdown-text);
}

.s1-navbar .menu a.btn-link:hover,
.s1-navbar .menu a.btn-link:focus-visible {
    background: var(--s1-nav-dropdown-hover-bg);
    color: var(--s1-nav-hover-text);
}
/* components/62-ticker/ticker.css */
/*
 * News ticker: a title box and a marquee. The partial prints the item list twice (the second copy is
 * aria-hidden) so the loop is seamless; --s1-ticker-speed is the time one pass takes.
 */
.s1-ticker {
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: var(--s1-size-frame);
    margin: 0 auto;
    overflow: hidden;
    background: var(--s1-ticker-bg);
}

.s1-ticker-title {
    flex: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background: var(--s1-ticker-title-bg);
    color: var(--s1-ticker-title-text);
    font-family: var(--s1-font-body);
    font-size: var(--s1-ticker-title-size);
    font-weight: 700;
    text-transform: uppercase;
}

.s1-ticker-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.s1-ticker-run {
    display: flex;
    flex: none;
    width: max-content;
    animation: s1-ticker var(--s1-ticker-speed) linear infinite;
}

.s1-ticker-run:hover,
.s1-ticker-run:focus-within {
    animation-play-state: paused;
}

.s1-ticker-copy,
.s1-ticker-copy .rich-text {
    display: flex;
    flex: none;
}

.s1-ticker-copy ul,
.s1-ticker-copy .rich-text ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Forumify's .rich-text ul li draws a disc marker; the only separator is the ::after dot below. */
.s1-ticker-copy li,
.s1-ticker-copy .rich-text ul li {
    list-style: none;
    position: relative;
    padding: var(--spacing-2) var(--s1-ticker-gap);
    white-space: nowrap;
    color: var(--s1-ticker-text);
    font-family: var(--s1-ticker-font);
    font-size: var(--s1-ticker-size);
    font-weight: 700;
}

.s1-ticker-copy li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--s1-ticker-dot);
    transform: translateY(-50%);
}

.s1-ticker-copy a {
    color: inherit;
}

@keyframes s1-ticker {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .s1-ticker-run {
        animation: none;
        width: auto;
    }

    .s1-ticker-viewport {
        overflow: visible;
    }

    .s1-ticker-copy[aria-hidden="true"] {
        display: none;
    }

    .s1-ticker-copy,
    .s1-ticker-copy .rich-text,
    .s1-ticker-copy ul {
        flex-wrap: wrap;
    }

    .s1-ticker-copy li {
        white-space: normal;
    }
}
/* components/63-hero/hero.css */
/*
 * Hero slider: a scroll-snap track (swiping is the browser's own), dots, an overlay. shell.js advances
 * the track on a timer. Which pages show it is the `routes` data in component.json.
 */
.s1-hero {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--s1-size-frame);
    height: var(--s1-hero-height);
    margin: 0 auto;
    overflow: hidden;
    isolation: isolate;
    background: var(--s1-color-frame);
}

.s1-hero-track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.s1-hero-track::-webkit-scrollbar {
    display: none;
}

.s1-hero-slide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
}

.s1-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--s1-hero-fit);
    object-position: center;
}

.s1-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--s1-hero-overlay);
    pointer-events: none;
}

.s1-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--spacing-3);
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: var(--spacing-2);
}

.s1-hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--s1-hero-dot);
    cursor: pointer;
}

.s1-hero-dot[aria-current="true"] {
    background: var(--s1-hero-dot-active);
}

/* Announcement slides: the post's image (if any) behind a caption panel, linked to the topic. */
.s1-hero-slide--news {
    position: relative;
    background: var(--s1-hero-news-background);
}

.s1-hero-slide--fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--s1-hero-fallback-dim);
    pointer-events: none;
}

.s1-hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    box-sizing: border-box;
    max-width: var(--s1-hero-caption-width);
    padding: var(--spacing-4) var(--spacing-4) var(--spacing-6);
    background: var(--s1-hero-caption-background);
    color: var(--s1-hero-caption-text);
    overflow-wrap: anywhere;
}

.s1-hero-caption a {
    color: var(--s1-hero-caption-text);
}

.s1-hero-caption p {
    margin: 0 0 var(--spacing-1);
}

.s1-hero-label {
    font-family: var(--s1-font-nav);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: var(--s1-size-small);
}

.s1-hero-headline {
    margin: 0 0 var(--spacing-1);
    font-size: var(--s1-size-feature-title);
    font-weight: var(--s1-weight-heading);
}

.s1-hero-byline {
    font-size: var(--s1-size-small);
}

@media (max-width: 767px) {
    .s1-hero {
        height: auto;
        aspect-ratio: 1600 / 683;
    }

    .s1-hero--news {
        aspect-ratio: auto;
        min-height: var(--s1-hero-news-min-height);
    }

    .s1-hero--news .s1-hero-slide {
        min-height: var(--s1-hero-news-min-height);
    }

    .s1-hero-caption {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .s1-hero-track {
        overflow: hidden;
    }

    .s1-hero-slide:not(:first-child),
    .s1-hero-dots {
        display: none;
    }
}
/* components/70-author-pane/author-pane.css */
/*
 * Author pane (phase 2, packet C): the column beside each forum post, as the old IPS author pane
 * showed it: the name, the round rank insignia (or the avatar), combat position and unit, the group
 * title and the post count. Forumify's .comment-author still lays the column out; this restyles it.
 * Forumify's own breakpoint for the side-by-side layout is 900px.
 */
/* Its own background, a step lighter than the post body, as the old Taman pane. */
.comment .s1-author-pane {
    text-align: center;
    font-size: var(--s1-author-pane-text-size);
    padding: var(--s1-space-4) var(--s1-space-3);
    background: var(--s1-author-pane-bg);
}

.comment .s1-author-pane .s1-author-pane__name {
    font-size: var(--s1-author-pane-name-size);
    font-weight: var(--s1-weight-sub-title);
    line-height: 1.25;
}

/* The round photo already shows the rank; the name keeps only the abbreviation, as the old pane did. */
.s1-author-pane__name .s1-rank-icon {
    display: none;
}

.s1-author-pane__photo {
    display: flex;
    justify-content: center;
}

.s1-author-pane__rank,
.comment .s1-author-pane .avatar {
    width: var(--s1-author-pane-photo-size-phone);
    height: var(--s1-author-pane-photo-size-phone);
    border-radius: 50%;
    object-fit: cover;
}

.s1-author-pane__position {
    margin: 0;
    color: var(--s1-author-pane-position-color);
}

.s1-author-pane__unit,
.s1-author-pane__admin,
.s1-author-pane__posts {
    margin: 0;
    color: var(--s1-author-pane-muted-color);
}

.s1-author-pane__status {
    margin-top: var(--s1-space-3);
}

/* On phones the pane is a row above the post: name and a small photo only, as Forumify does. */
@media screen and (max-width: 899px) {
    .s1-author-pane__position,
    .s1-author-pane__unit,
    .s1-author-pane__status,
    .s1-author-pane__admin,
    .s1-author-pane__posts {
        display: none;
    }
}

@media screen and (min-width: 900px) {
    .comment .s1-author-pane {
        gap: var(--s1-space-1);
        width: var(--s1-author-pane-width);
        flex-shrink: 0;
    }

    .comment .s1-author-pane + .comment-content {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }

    .s1-author-pane__photo {
        margin-block: var(--s1-space-3);
    }

    .s1-author-pane__rank,
    .comment .s1-author-pane .avatar {
        width: var(--s1-author-pane-photo-size);
        height: var(--s1-author-pane-photo-size);
    }
}

/*
 * Round photos (commander feedback, forum-rank). A photo is a circle only while its box stays square, and
 * Forumify's .avatar sits in flex rows beside text as a shrinking item: next to a long title the width gave
 * way and the height did not, which drew the ovals. So a photo never shrinks (flex: none), keeps a 1:1 box
 * from one token for width and height, is never capped by its container (max-width: none), and fills the
 * circle without stretching (object-fit: cover; the rank art is square, so only its border corners clip).
 */
.s1-site .avatar,
.s1-site .s1-photo,
.s1-site .s1-author-pane__rank {
    flex: none;
    aspect-ratio: 1;
    min-width: 0;
    max-width: none;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}

/* Backdrop behind a transparent upload, on the image only: the div fallback keeps page.css's patch image. */
.s1-site img.s1-photo {
    background-color: var(--s1-author-pane-photo-bg);
}

.s1-site .s1-photo--list {
    width: var(--s1-author-pane-photo-size-list);
    height: var(--s1-author-pane-photo-size-list);
}

.s1-site .s1-photo--forum {
    width: var(--s1-author-pane-photo-size-forum);
    height: var(--s1-author-pane-photo-size-forum);
}

.s1-site .s1-photo--header {
    width: var(--s1-author-pane-photo-size-header);
    height: var(--s1-author-pane-photo-size-header);
    margin-right: var(--s1-author-pane-photo-gap-header);
}

.s1-site .s1-author-pane__photo {
    flex: none;
}

.s1-site .s1-author-pane__file {
    display: flex;
}

@media screen and (max-width: 899px) {
    .s1-site .s1-photo--list {
        width: var(--s1-author-pane-photo-size-list-phone);
        height: var(--s1-author-pane-photo-size-list-phone);
    }
}
/* components/71-widgets/widgets.css */
/*
 * Widgets (phase 2, packet C): what sits inside the S-1 widget cards (Soldiers On Base, Personnel
 * Action Requests, Recent Threads, the statistics, snippet cards). The cards themselves are
 * Forumify's .card markup, styled by the cards component.
 */
.s1-widget__body {
    font-size: var(--s1-widgets-text-size);
    color: var(--s1-widgets-text-color);
}

.s1-widget__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.s1-widget__row {
    display: flex;
    align-items: center;
    gap: var(--s1-space-2);
    padding: var(--s1-space-3) var(--s1-space-4);
}

.s1-widget__row:nth-child(even) {
    background-color: var(--s1-widgets-row-bg);
}

.s1-widget__rank-icon {
    height: var(--s1-widgets-rank-icon-height);
    width: auto;
    object-fit: contain;
}

.s1-widget__empty {
    margin: 0;
    padding: var(--s1-space-4);
    text-align: center;
    color: var(--s1-widgets-muted-color);
}

.s1-widget__muted {
    color: var(--s1-widgets-muted-color);
    font-size: var(--s1-widgets-small-size);
}

/*
 * Card titles: the cards component styles .card-title .text-subtitle like the forum category bars (small,
 * bold, upper-case, letter-spaced). The old sidebar centred its titles; main-column cards stay
 * left-aligned. Forumify's .card-title is a flex row, so centring is done on the row.
 */
.s1-widget-area--sidebar .s1-widget__header {
    justify-content: center;
    text-align: center;
}

.s1-widget-area > * + * {
    margin-top: var(--s1-space-4);
}

/* Personnel Action Requests: the old coloured edge on the left of each request. */
.s1-widget-request {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-left: var(--s1-widgets-request-edge-width) solid var(--s1-widgets-request-pending-edge);
}

.s1-widget-topic__title,
.s1-widget-request__form {
    font-size: var(--s1-size-sub-title);
    font-weight: var(--s1-weight-sub-title);
    line-height: 1.3;
}

.s1-widget-topic__meta,
.s1-widget-request__meta {
    margin-top: var(--s1-space-1);
}

.s1-widget-topic {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Forum and member statistics: big numbers with a label under each. */
.s1-widget-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: var(--s1-space-4);
    margin: 0;
    padding: var(--s1-space-4);
    text-align: center;
}

.s1-widget-stats dd {
    margin: 0;
}

/* The markup reads label then value; the old blocks showed the big number on top. */
.s1-widget-stats__item {
    display: flex;
    flex-direction: column;
}

.s1-widget-stats__value {
    order: -1;
    font-size: var(--s1-widgets-stat-size);
}

.s1-widget-stats__label {
    color: var(--s1-widgets-muted-color);
    font-size: var(--s1-widgets-small-size);
}

/* Newest member: the photo on the left, then label, name and join date stacked beside it. */
.s1-widget-stats__item--newest {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "photo label"
        "photo name"
        "photo joined";
    justify-content: center;
    align-items: center;
    column-gap: var(--spacing-2);
    text-align: left;
}

.s1-widget-stats__item--newest .s1-widget-stats__label {
    grid-area: label;
}

.s1-widget-stats__photo {
    grid-area: photo;
}

.s1-widget-stats__newest {
    grid-area: name;
}

.s1-widget-stats__joined {
    grid-area: joined;
}

/* The clan-list embed sat bare at the top of the old sidebar. */
.s1-widget--embed {
    text-align: center;
}

.s1-widget--embed embed {
    max-width: 100%;
}

/*
 * Snippet cards with the old side images: the content stays Rich Text that admins edit, the images
 * are decorations here (a skin can swap them through the image tokens).
 */
.s1-widget--patreon .s1-widget__body,
.s1-widget--soldier-of-the-quarter .s1-widget__body {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    text-align: center;
}

.s1-widget--patreon .s1-widget__body > *,
.s1-widget--soldier-of-the-quarter .s1-widget__body > * {
    flex: 1 1 auto;
    min-width: 0;
}

.s1-widget--patreon .s1-widget__body::before,
.s1-widget--patreon .s1-widget__body::after,
.s1-widget--soldier-of-the-quarter .s1-widget__body::after {
    content: "";
    flex: 0 0 var(--s1-widgets-badge-size);
    height: var(--s1-widgets-badge-size);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.s1-widget--patreon .s1-widget__body::before {
    background-image: var(--s1-img-widgets-patreon);
}

.s1-widget--patreon .s1-widget__body::after {
    background-image: var(--s1-img-widgets-warbond);
}

.s1-widget--soldier-of-the-quarter .s1-widget__body::after {
    background-image: var(--s1-img-page-patch);
}

.s1-widget--soldier-of-the-quarter .s1-widget__body img {
    height: var(--s1-widgets-badge-size);
    width: auto;
    vertical-align: middle;
}
/* components/72-forum-index/forum-index.css */
/*
 * Forum index (phase 2, packet C): the old layout around Forumify's board list. The header and footer
 * widget areas sit in the main column above and below the boards, the sidebar beside them; on phones
 * (below Forumify's 900px breakpoint) the sidebar follows the main column.
 */
.s1-forum-index--with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s1-forum-index-gap);
}

.s1-forum-index__main {
    min-width: 0;
}

.s1-forum-index__main > .s1-widget-area--header {
    margin-bottom: var(--s1-forum-index-gap);
}

.s1-forum-index__main > .s1-widget-area--footer {
    margin-top: var(--s1-forum-index-gap);
}

.s1-forum-index__sidebar {
    min-width: 0;
}

@media screen and (min-width: 900px) {
    .s1-forum-index--with-sidebar {
        grid-template-columns: minmax(0, 1fr) var(--s1-forum-index-sidebar-width);
        align-items: start;
    }
}
/* components/73-boxes/boxes.css */
/*
 * Boxed application topics, answer rows, personnel-request facts and enlist form blocks.
 * Colours come from the theme tokens, so a skin that changes those tokens stays readable.
 * Form blocks keep Forumify's .card frame; only their title becomes the centred band.
 * Nothing here is positioned or given a z-index.
 */
section.s1-box {
    margin: 0 0 var(--s1-boxes-gap);
    background: var(--s1-boxes-bg);
    border: 1px solid var(--s1-boxes-border);
    border-radius: var(--s1-boxes-radius);
    color: var(--s1-boxes-text);
}

.s1-box > .s1-box__band,
.card.s1-box > .card-title {
    margin: 0;
    padding: var(--s1-boxes-pad) var(--s1-boxes-pad-x);
    background: var(--s1-boxes-band-bg);
    border-bottom: 1px solid var(--s1-boxes-border);
    color: var(--s1-boxes-band-text);
    font-size: var(--s1-boxes-band-size);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

section.s1-box > .s1-box__band {
    border-radius: var(--s1-boxes-radius) var(--s1-boxes-radius) 0 0;
}

.s1-box__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s1-boxes-pad);
    padding: var(--s1-boxes-pad) var(--s1-boxes-pad-x);
}

.s1-box__name,
.s1-box__submitted {
    margin: 0;
}

.s1-box__name {
    color: var(--s1-boxes-label);
    font-weight: 700;
}

.s1-box__action {
    display: inline-block;
    padding: var(--s1-boxes-pad) var(--s1-boxes-pad-x);
    background: var(--s1-boxes-accent);
    border-radius: var(--s1-boxes-radius);
    color: var(--s1-boxes-on-accent);
    font-weight: 700;
    text-decoration: none;
}

.s1-box__action:hover {
    background: var(--s1-boxes-accent-hover);
    color: var(--s1-boxes-on-accent);
}

.s1-box__table {
    width: 100%;
    border-collapse: collapse;
}

.s1-box__table th,
.s1-box__table td {
    padding: var(--s1-boxes-pad) var(--s1-boxes-pad-x);
    border-bottom: 1px solid var(--s1-boxes-line);
    vertical-align: top;
    text-align: left;
    overflow-wrap: anywhere;
}

.s1-box__table th {
    width: var(--s1-boxes-label-col);
    color: var(--s1-boxes-label);
    font-weight: 700;
}

.s1-box__table td {
    color: var(--s1-boxes-text);
}

.s1-box__table tr:last-child th,
.s1-box__table tr:last-child td {
    border-bottom: none;
}

.s1-box__table tbody tr:nth-child(even) {
    background: var(--s1-boxes-row-alt);
}

.s1-app-topic .s1-flag {
    width: var(--s1-boxes-flag-width);
    height: var(--s1-boxes-flag-height);
    vertical-align: middle;
}

dl.s1-answers {
    display: grid;
    grid-template-columns: var(--s1-boxes-label-col) minmax(0, 1fr);
    margin: 0;
    background: var(--s1-boxes-bg);
    border: 1px solid var(--s1-boxes-border);
    border-radius: var(--s1-boxes-radius);
}

dl.s1-answers dt,
dl.s1-answers dd {
    margin: 0;
    padding: var(--s1-boxes-pad) var(--s1-boxes-pad-x);
    border-bottom: 1px solid var(--s1-boxes-line);
}

dl.s1-answers dt {
    color: var(--s1-boxes-label);
    font-weight: 700;
}

dl.s1-answers dd {
    color: var(--s1-boxes-text);
    overflow-wrap: anywhere;
    white-space: pre-line;
}

dl.s1-answers > :nth-last-child(-n + 2) {
    border-bottom: none;
}

.s1-box__body dl.s1-answers {
    border: none;
    border-radius: 0;
}

@media (max-width: 760px) {
    .s1-box__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .s1-box__table,
    .s1-box__table tbody,
    .s1-box__table tr,
    .s1-box__table th,
    .s1-box__table td {
        display: block;
        width: auto;
    }

    .s1-box__table th {
        border-bottom: none;
        padding-bottom: 0;
    }

    dl.s1-answers {
        grid-template-columns: minmax(0, 1fr);
    }

    dl.s1-answers dt {
        border-bottom: none;
        padding-bottom: 0;
    }
}
/* skins/winter/skin.css */
/*
 * Winter (12-01 to 01-06): the cooler accent comes from skin.json; this adds a thin accent line on card title
 * bars. Scoped to the skin so it never leaks into the base theme.
 */
.s1-site[data-s1-skin="winter"] .card-title {
    box-shadow: inset 0 2px 0 var(--s1-color-accent);
}
