/* ============================================================
   FRAU ERICA — Consolidated Stylesheet
   Merged from: Verwandtschaft.css, Display.css, Stammbuch.css,
                TextStyles.css, AnniversaryStyles.css, KeepersStyles.css
   + New layout classes for CSS Grid responsive design
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --color-gold: #ff6600;
    --color-brown: #663300;
    --color-blue: #0066ff;
    --color-gray: #666666;
    --color-light-gray: #cccccc;
    --color-bg-light: #eeeeee;
    --color-bg-medium: #dddddd;
    --color-bg-dark: #cccccc;
    --color-red: #cc0000;
    --color-g1: #ffcc99;
    --color-g2: #ffcc33;
    --color-g3: #99cc99;
    --font-stack: verdana, arial, helvetica, sans-serif;
    --sidebar-width-family: 220px;
    --sidebar-width-text: 200px;
    --content-width-family: 800px;
    --content-width-text: 866px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    background: white;
    font-family: var(--font-stack);
    margin: 0;
    padding: 0;
}
body.body-default { background: #eeeeee; }
body.body-family { background: #eeeeee; }
body.body-text { background: #cccccc; }
body.body-keepers { background: #eeeeee; }
body.body-image { background: #999999; }
body.body-login { background: #663300; }

img { border: 0; }

/* ============================================================
   TYPOGRAPHY — from Verwandtschaft.css + TextStyles.css
   ============================================================ */
p { font: normal 12px var(--font-stack); line-height: 13px; }

/* Text size classes */
.text9 { font: normal 9px var(--font-stack); line-height: 1.5; }
.text10 { font-size: 10px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text { font: normal 10px var(--font-stack); line-height: 13px; }
.textez { font-size: 10px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text10ez { font-size: 10px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text10right { font: normal 10px var(--font-stack); text-align: right; margin: -6px 36px 12px 0; }
.text11 { font-size: 11px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text11ez { font-size: 11px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text12 { font: normal 12px var(--font-stack); line-height: 1.5; }
.text12ez { font-size: 12px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text13 { font-size: 13px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text14 { font-size: 14px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text14ez { font-size: 14px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text16 { font: normal 16px var(--font-stack); line-height: 1.5; }
.text16ez { font-size: 16px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; }
.text18 { font: normal 18px var(--font-stack); line-height: 1.5; }
.text24 { font: normal 24px var(--font-stack); line-height: 34px; }

/* Item / lead */
.item { font: normal 13px var(--font-stack); padding-left: 12px; line-height: 1.7; }
.lead { font: normal 10px var(--font-stack); padding: 18px 0 0 0; }
.small { font: normal 9px var(--font-stack); line-height: 13px; }
.smallright { font: normal 9px var(--font-stack); text-align: right; margin: -6px 36px 12px 0; }
.smallez { font: normal 9px var(--font-stack); }
.large { font: normal 11px var(--font-stack); line-height: 1.5; }
.subhead { font: normal 14px var(--font-stack); line-height: 1.5; }

/* Hanging indents */
.hang9  { font-size: 9px;  font-family: var(--font-stack); font-weight: normal; line-height: 1.5; margin-left: 36px; text-indent: -36px; }
.hang10 { font-size: 10px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; margin-left: 36px; text-indent: -36px; }
.hang11 { font-size: 11px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; margin-left: 36px; text-indent: -36px; }
.hang12 { font-size: 12px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; margin-top: 3px; margin-left: 36px; text-indent: -36px; }
.hang14 { font-size: 14px; font-family: var(--font-stack); font-weight: normal; line-height: 14px; margin-left: 72px; text-indent: -72px; }
.trim12 { font-size: 12px; font-family: var(--font-stack); font-weight: normal; line-height: 1.6; margin-right: 72px; }

/* German text */
.german14 { font-size: 14px; font-family: "times new roman", baskerville, century; font-weight: normal; line-height: 1.5; }
.German14 { font: normal 14px fraktur, verdana, sans-serif; line-height: 1.5; }

/* Data / numeric */
.data10 { font-family: var(--font-stack); font-size: 10px; line-height: 1.5; }
.data11 { font-family: var(--font-stack); font-size: 11px; line-height: 1.5; }
.data12 { font-family: var(--font-stack); font-size: 12px; line-height: 1.5; }

/* Headings */
.head   { font: bold 18px var(--font-stack); line-height: 1.7; margin-top: 18px; }
.head12 { font: bold 12px var(--font-stack); line-height: 18px; }
.head14 { font: bold 14px var(--font-stack); line-height: 18px; }
.head16 { font: bold 16px var(--font-stack); line-height: 20px; }
.head18 { font: bold 18px var(--font-stack); line-height: 24px; }
.head20 { font: bold 20px var(--font-stack); line-height: 26px; }
.head24 { font: bold 24px var(--font-stack); line-height: 34px; }
.head30 { font: bold 30px var(--font-stack); line-height: 36px; }
.head36 { font: bold 36px var(--font-stack); line-height: 42px; }
.bighead { font: bold 18px var(--font-stack); line-height: 24px; }

/* Summary */
.summaryLead { font-size: 14px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; margin: 0 36px 12px 72px; }
.summary { font-size: 14px; font-family: var(--font-stack); font-weight: normal; line-height: 1.5; margin: 0 36px 12px 72px; }

/* Header captions */
.header { font: normal 11px var(--font-stack); color: var(--color-brown); line-height: 1.4; margin: 4px 12px 6px 150px; text-align: right; }
.propheader { font: normal 11px var(--font-stack); color: var(--color-brown); line-height: 1.4; margin: 4px 12px 0 100px; text-align: right; }

/* Caption classes */
.caption_right { font: normal 9px var(--font-stack); color: var(--color-brown); line-height: 1.7; }
.caption_left  { font: normal 9px var(--font-stack); color: var(--color-brown); line-height: 1.7; }
.cutline       { font: normal 9px var(--font-stack); color: var(--color-brown); line-height: 1.7; }
div.caption    { font: normal 11px var(--font-stack); text-align: right; line-height: 1.5; border-width: 0; margin-top: 6px; }

/* Div-scoped text */
div.head   { padding: 3px 0 8px 0; font: bold 12px var(--font-stack); }
div.head12 { padding: 3px 0 8px 0; font: bold 12px var(--font-stack); line-height: 1.5; }
div.text   { padding: 3px 0 24px 0; font: normal 10px var(--font-stack); line-height: 1.5; }
div.text9  { font: normal 9px var(--font-stack); line-height: 1.5; }
div.text10 { padding: 3px 0 24px 0; font: normal 10px var(--font-stack); line-height: 1.5; }
div.text11 { padding: 3px 0 24px 0; font: normal 10px var(--font-stack); line-height: 1.5; }
div.small  { font: normal 9px var(--font-stack); }
div.index10 { font: normal 10px var(--font-stack); margin-top: 8px; margin-left: 4px; line-height: 1.5; }
div.hang10  { font: normal 10px var(--font-stack); margin-left: 42px; line-height: 1.5; }
div.term   { font: normal 12px var(--font-stack); line-height: 1.5; margin-top: 8px; }
div.def    { font: normal 11px var(--font-stack); line-height: 1.5; margin-left: 48px; }

/* List items */
li { font-family: var(--font-stack); font-size: 12px; text-align: left; }
.dot9  { font-weight: normal; font-size: 9px;  padding: 0 0 5px 0; line-height: 1.2; text-align: left; }
.dot10 { font-weight: normal; font-size: 10px; padding: 0 0 5px 0; line-height: 1.2; text-align: left; }
.dot11 { font-weight: normal; font-size: 11px; padding: 0 0 5px 0; line-height: 1.3; text-align: left; }
.dot12 { font-weight: normal; font-size: 12px; padding: 0 0 5px 0; line-height: 1.5; text-align: left; }
.dot14 { font-weight: normal; font-size: 14px; padding: 0 0 5px 0; line-height: 1.5; text-align: left; }
.dot16 { font-weight: normal; font-size: 16px; padding: 0 0 5px 0; line-height: 1.5; text-align: left; }

dt { font: normal 14px var(--font-stack); line-height: 1.5; margin-top: 6px; }
dd { font: normal 13px var(--font-stack); line-height: 1.5; }

/* ============================================================
   LINKS — from all stylesheets
   ============================================================ */
a:link    { font-weight: bold; color: var(--color-gold); text-decoration: none; border-style: hidden; }
a:visited { font-weight: bold; color: var(--color-gold); text-decoration: none; border-style: hidden; }
a:hover   { font-weight: bold; color: var(--color-brown); text-decoration: underline; border-style: hidden; }

a.black, a.black:visited { font-weight: bold; color: #000000; text-decoration: none; }
a.black:hover            { font-weight: bold; color: var(--color-brown); text-decoration: underline; }

a.gold, a.gold:visited { font-weight: normal; color: var(--color-gold); text-decoration: none; }
a.gold:hover           { font-weight: normal; color: var(--color-brown); text-decoration: underline; }

a.blue, a.blue:visited { font-weight: normal; color: var(--color-blue); text-decoration: none; }
a.blue:hover           { font-weight: normal; color: var(--color-gray); text-decoration: underline; }

a.G123, a.G123:visited { font-weight: normal; color: #000000; text-decoration: none; }
a.G123:hover           { font-weight: normal; color: var(--color-brown); text-decoration: none; }

/* ============================================================
   COLOR UTILITY CLASSES
   ============================================================ */
span.brown, .color-brown { color: var(--color-brown); }
span.gold,  .color-gold  { color: var(--color-gold); }
span.blue,  .color-blue  { color: var(--color-blue); }
.color-gray { color: var(--color-gray); }

/* ============================================================
   IMAGES — from Verwandtschaft.css
   ============================================================ */
img.right   { margin-left: 12px; vertical-align: top; }
img.left    { margin-right: 12px; vertical-align: top; }
img.leftpad { margin: 0 12px; vertical-align: top; }
img.box     { float: left; margin-right: 5px; border-style: hidden; }

/* ============================================================
   HORIZONTAL RULES — consolidated from all stylesheets
   ============================================================ */
hr.brown, hr.brown4 { border: 0; color: var(--color-brown); background-color: var(--color-brown); height: 4px; text-align: left; }
hr.brown2, hr.smallbrown { border: 0; color: var(--color-brown); background-color: var(--color-brown); height: 2px; text-align: left; }
hr.brown1 { border: 0; color: var(--color-brown); background-color: var(--color-brown); height: 1px; text-align: left; }
hr.red, hr.red4 { border: 0; color: var(--color-red); background-color: var(--color-red); height: 4px; text-align: left; }
hr.red2, hr.smallred { border: 0; color: var(--color-red); background-color: var(--color-red); height: 2px; text-align: left; }
hr.gold, hr.gold4 { border: 0; color: var(--color-gold); background-color: var(--color-gold); height: 4px; text-align: left; }
hr.gold2, hr.smallgold { border: 0; color: var(--color-gold); background-color: var(--color-gold); height: 2px; text-align: left; }
hr.gold8 { border: 0; color: var(--color-gold); background-color: var(--color-gold); height: 8px; text-align: left; }
hr.blue2 { border: 0; color: var(--color-blue); background-color: var(--color-blue); height: 2px; text-align: left; }
hr.blue4 { border: 0; color: var(--color-blue); background-color: var(--color-blue); height: 4px; text-align: left; }
hr.gray4 { border: 0; color: var(--color-light-gray); background-color: var(--color-light-gray); height: 4px; text-align: left; }
hr.gray8 { border: 0; color: var(--color-light-gray); background-color: var(--color-light-gray); height: 8px; text-align: left; }

/* ============================================================
   NAVIGATION — from Stammbuch.css + TextStyles.css
   ============================================================ */
.menu10 { color: var(--color-gold); font: bold 10px var(--font-stack); line-height: 1.5; padding-left: 10px; }
.menu11 { color: var(--color-brown); font: bold 11px var(--font-stack); }
.nav11  { color: var(--color-gold); font: bold 11px var(--font-stack); line-height: 1.8; padding-left: 15px; }
.nav12  { color: var(--color-gold); font: bold 12px var(--font-stack); line-height: 1.8; padding-left: 10px; }
.navtitle11 { color: var(--color-brown); font: bold 11px var(--font-stack); line-height: 1.8; padding-left: 15px; }
.navtitle12 { color: var(--color-brown); font: bold 12px var(--font-stack); line-height: 1.8; padding-left: 10px; }

/* ============================================================
   GENERATION BOXES — from Stammbuch.css (converted td -> div)
   ============================================================ */
.G1 { font-family: var(--font-stack); font-size: 12px; line-height: 1.3; }
.G2 { font-family: var(--font-stack); font-size: 12px; line-height: 1.3; }
.G3 { font-family: var(--font-stack); font-size: 12px; line-height: 1.3; }

.gen-box {
    width: 370px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: left top;
    min-height: 60px;
}
.gen-box--empty {
    width: 370px;
    min-height: 60px;
}

/* G1 — Grandparents (peach) */
.G1plain { background-color: var(--color-g1); background-image: url('/images/G1plain.jpg'); }
.G1arrow { background-color: var(--color-g1); background-image: url('/images/G1arrow.jpg'); }

/* G2 — Parents (gold) */
.G2plain { background-color: var(--color-g2); background-image: url('/images/G2plain.jpg'); border: 1px solid #666666; }
.G2arrow { background-color: var(--color-g2); background-image: url('/images/G2arrow.jpg'); border: 1px solid #666666; }

/* G3 — Children (green) */
.G3plain { background-color: var(--color-g3); background-image: url('/images/G3plain.jpg'); }
.G3arrow { background-color: var(--color-g3); background-image: url('/images/G3arrow.jpg'); }
.G3germ  { background-color: var(--color-g3); background-image: url('/images/G3germ.jpg'); }

/* ============================================================
   LAYOUT — CSS Grid (replaces table-based layouts)
   ============================================================ */
.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Family tree layout: 220px sidebar + 800px content --- */
.layout-family {
    display: grid;
    grid-template-columns: var(--sidebar-width-family) var(--content-width-family);
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    background-color: var(--color-bg-light);
    max-width: 1020px;
    margin: 0 auto;
}

/* --- Text/Keepers/Anniversary layout: 200px sidebar + 30px gold bar + 18px gap + 800px content --- */
.layout-text {
    display: grid;
    grid-template-columns: var(--sidebar-width-text) 30px 18px 800px;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    background-color: var(--color-bg-light);
    max-width: 1066px;
    margin: 0 auto;
}

/* ============================================================
   TOP / BOTTOM BARS
   ============================================================ */
.topbar-orange {
    grid-column: 1 / -1;
    height: 24px;
    background-color: var(--color-gold);
}
.bottombar-orange {
    height: 24px;
    background-color: var(--color-gold);
    width: 100%;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    background-color: var(--color-bg-medium);
    padding: 10px 10px 20px 15px;
    overflow-y: auto;
}
.layout-text .sidebar,
.layout-family .sidebar { background-color: var(--color-bg-light); }

.sidebar-family { grid-row: 2; grid-column: 1; }
.sidebar-text   { grid-row: 1 / -1; grid-column: 1; }
.sidebar-keepers { grid-row: 1 / -1; grid-column: 1; }

/* Text page vertical gold bar + gap (columns 2 and 3 of layout-text) */
.sidebar-text-bar { grid-column: 2; grid-row: 1 / -1; background-color: var(--color-gold); }
.sidebar-text-gap { grid-column: 3; grid-row: 1 / -1; background-color: var(--color-bg-light); }

.sidebar__flag { width: 100%; max-width: 200px; display: block; margin-bottom: 8px; }
.sidebar__flag--small { max-width: 160px; }
.sidebar__intro { margin: 0 0 12px 0; }
.sidebar-divider { float: left; width: 80%; margin: 8px 0 8px 10px; }

.sidebar__germline-controls { margin: 10px 0; }
.germ-button {
    font: bold 10px var(--font-stack);
    color: white;
    background: var(--color-gold);
    border: none;
    padding: 3px 12px;
    cursor: pointer;
    margin-right: 4px;
}
.germ-button:hover { background: var(--color-brown); }

.sidebar__keepers { margin-top: 20px; }
.keepers-link { display: flex; align-items: center; text-decoration: none; }
.keepers-icon { width: 60px; margin-right: 8px; }

/* Nav sections */
.nav-section { margin: 8px 0; }
.nav-section__title {
    color: var(--color-brown);
    font: bold 12px var(--font-stack);
    margin: 0 0 3px 0;
    padding-left: 0;
}
.nav-section__content {
    padding-left: 10px;
    font: bold 11px var(--font-stack);
    line-height: 1.8;
}
.nav-section__content a { font-weight: bold; }

/* ============================================================
   MAIN CONTENT AREAS
   ============================================================ */
.content-family {
    grid-row: 2;
    grid-column: 2;
    background-color: var(--color-bg-light);
    padding: 0 15px;
}
.content-text {
    grid-row: 1 / -1;
    grid-column: 4;
    background-color: var(--color-bg-light);
    padding: 0;
}

/* ============================================================
   FAMILY TREE DISPLAY
   ============================================================ */
.family-header-image { width: 100%; display: block; }
.text-header-image   { width: 100%; display: block; margin-bottom: 6px; }
.header-caption      { font: normal 11px var(--font-stack); color: var(--color-brown); line-height: 1.4; text-align: right; margin: 0 20px 24px 150px; }

.family-box {
    padding: 10px 0;
}
.family-intro {
    margin-bottom: 10px;
}
.family-precis {
    margin-top: 6px;
}

.generation-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.generation-spacer { height: 15px; }
.generation-gap-small { height: 5px; }

.divorce-indicator {
    display: flex;
    align-items: center;
    font: bold 14px var(--font-stack);
    color: var(--color-red);
    padding: 0 5px;
}

/* ============================================================
   TEXT/CONTENT PAGES
   ============================================================ */
.text-body { padding: 10px 0; }

/* Multi-column text (from original columnset variable) */
.columns-1 { column-count: 1; }
.columns-2 { column-count: 2; column-gap: 20px; }
.columns-3 { column-count: 3; column-gap: 15px; }
.columns-4 { column-count: 4; column-gap: 12px; }
.columns-5 { column-count: 5; column-gap: 10px; }
.columns-6 { column-count: 6; column-gap: 8px; }

/* ============================================================
   IMAGE VIEWER — from Display.css
   ============================================================ */
.image-viewer {
    background: #999999;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}
.image-container {
    background: var(--color-bg-medium);
    padding: 15px;
    text-align: center;
    max-width: 100%;
}
.image-container img { max-width: 100%; height: auto; }
.image-caption {
    background: var(--color-bg-medium);
    padding: 8px;
    margin: 0 auto;
    text-align: left;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 30px 15px;
    background: var(--color-brown);
}
.login-container {
    background: var(--color-bg-light);
    max-width: 900px;
    width: 100%;
    padding: 25px 30px;
}
.login-story {
    margin-bottom: 20px;
}
.login-portrait {
    float: right;
    width: 200px;
    margin: 0 0 15px 20px;
}
.login-info-grid {
    clear: both;
}
.login-info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px;
    margin-bottom: 12px;
}
.login-label { }
.login-value { }
.login-info-row input[type="text"],
.login-info-row input[type="password"] {
    font: normal 11px var(--font-stack);
    padding: 3px 5px;
    border: 1px solid var(--color-light-gray);
}
.login-info-row input[type="submit"] {
    font: bold 11px var(--font-stack);
    color: white;
    background: var(--color-gold);
    border: none;
    padding: 4px 12px;
    cursor: pointer;
}
.login-info-row input[type="submit"]:hover {
    background: var(--color-brown);
}

/* ============================================================
   FORCE PASSWORD RESET
   ============================================================ */
.force-reset-container {
    max-width: 500px;
    margin: 50px auto;
    background: var(--color-bg-light);
    padding: 30px;
}

/* ============================================================
   KEEPERS OVERRIDES — blue color scheme from KeepersStyles.css
   ============================================================ */
.layout-keepers a:link,
.layout-keepers a:visited { color: var(--color-blue); }
.layout-keepers a:hover   { color: var(--color-blue); text-decoration: underline; }

.layout-keepers a.black,
.layout-keepers a.black:visited { color: var(--color-gray); }
.layout-keepers a.black:hover   { color: var(--color-blue); text-decoration: underline; }

.layout-keepers .menu10,
.layout-keepers .menu11 { color: var(--color-blue); }
.layout-keepers .nav11,
.layout-keepers .nav12  { color: var(--color-gray); }
.layout-keepers .navtitle11,
.layout-keepers .navtitle12,
.layout-keepers .navtitle14,
.layout-keepers .navtitle18 { color: var(--color-blue); }

.layout-keepers .sidebar { border-right: 2px solid var(--color-blue); }

/* ============================================================
   MOBILE NAV TOGGLE
   ============================================================ */
.nav-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background: var(--color-gold);
    color: white;
    border: none;
    font-size: 24px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
}
.nav-toggle:hover { background: var(--color-brown); }

/* ============================================================
   RESPONSIVE — Tablet (768-1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .layout-family {
        grid-template-columns: 180px 1fr;
    }
    .layout-text {
        grid-template-columns: 170px 20px 10px 1fr;
    }
    .gen-box, .gen-box--empty {
        width: 100%;
        max-width: 370px;
    }
    .generation-row {
        flex-wrap: wrap;
    }
    .login-info-row {
        grid-template-columns: 150px 1fr;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (<768px)
   ============================================================ */
@media (max-width: 768px) {
    .layout-family,
    .layout-text {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    .sidebar--open {
        left: 0;
    }
    .sidebar-family,
    .sidebar-text,
    .sidebar-keepers {
        grid-row: auto;
        grid-column: 1;
    }
    .sidebar-text-bar,
    .sidebar-text-gap {
        display: none;
    }

    .content-family,
    .content-text {
        grid-column: 1;
        grid-row: auto;
        padding: 50px 10px 15px 10px;
    }

    .topbar-orange { grid-column: 1; }

    .generation-row {
        flex-direction: column;
        align-items: center;
    }
    .gen-box, .gen-box--empty {
        width: 100%;
        max-width: 370px;
        margin-bottom: 5px;
    }

    /* Login page mobile */
    .login-container { padding: 15px; }
    .login-portrait {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
    .login-info-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    /* Multi-column text collapses on mobile */
    .columns-2, .columns-3,
    .columns-4, .columns-5,
    .columns-6 {
        column-count: 1;
    }
}
