/* forumkronstadt.ro — 2026 refresh of the 2012 design.
   Same palette (navy, orange, grey), same structure (top bar, logo header, menu bar, content with a
   right column, navy footer), rebuilt for today: cards on a tinted page, a menu that looks like one,
   readable line length, one accent colour for actions, a real mobile menu. No framework, no CDN. */

@font-face { font-family: "Droid Sans"; src: url("../Fonts/DroidSans.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Droid Sans"; src: url("../Fonts/DroidSans-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
    --navy: #2c3749;
    --navy-deep: #222b3a;
    --navy-soft: #3d4a60;
    --orange: #e14f00;
    --orange-text: #c24400;        /* orange for text on white: 5.0:1 */
    --orange-tint: #fbeee6;
    --grey: #ebebeb;
    --page: #eef0f3;
    --line: #dde1e7;
    --text: #1f2430;
    --muted: #5d6573;
    --white: #fff;
    --radius: 10px;
    --radius-s: 6px;
    --shadow: 0 1px 2px rgba(31, 36, 48, .06), 0 6px 20px rgba(31, 36, 48, .07);
    --shadow-lift: 0 2px 4px rgba(31, 36, 48, .08), 0 12px 32px rgba(31, 36, 48, .12);
    --font: "Droid Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(16px, 3vw, 32px);
}

/* ------------------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 17px/1.65 var(--font); overflow-wrap: break-word; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--orange-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.25; color: var(--navy); margin: 1.6em 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skiplink { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: var(--radius-s); }
.skiplink:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.btn, .searchbox button, .embed-consent__load {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
    font: 700 15px/1 var(--font); text-decoration: none; border-radius: 999px; transition: background .15s, box-shadow .15s, transform .15s;
}
.btn, .embed-consent__load { background: var(--orange); color: var(--white); padding: 12px 24px; box-shadow: 0 4px 14px rgba(225, 79, 0, .28); }
.btn:hover, .embed-consent__load:hover { background: var(--orange-text); color: var(--white); transform: translateY(-1px); }
.linkbutton { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ------------------------------------------------------------------------------ header */
.topbar { background: var(--navy-deep); color: #cfd5df; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; gap: 8px 20px; min-height: 38px; }
.topbar__place { margin: 0 auto 0 0; letter-spacing: .04em; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar a { color: #e8ecf2; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.langnav ul { gap: 4px; }
.langnav__item { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
.langnav__item img { border-radius: 2px; }
.langnav__item.is-active { background: rgba(255, 255, 255, .14); color: var(--white); }
.topbar .langnav__item:hover { text-decoration: none; background: rgba(255, 255, 255, .1); }

.brandbar { background: var(--white); border-bottom: 1px solid var(--line); }
.brandbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); text-decoration: none; }
.brand__logo { width: clamp(68px, 9vw, 112px); height: auto; }
.brand__name { display: flex; flex-direction: column; color: var(--orange); font-weight: 400; text-transform: uppercase;
               font-size: clamp(16px, 1rem + 1.1vw, 27px); line-height: 1.12; letter-spacing: .015em; }
.brand:hover .brand__name { color: var(--orange-text); }

.searchbox { position: relative; display: flex; align-items: center; }
.searchbox input { width: 100%; font: 15px var(--font); color: var(--text); background: var(--page); border: 1px solid var(--line);
                   border-radius: 999px; padding: 11px 52px 11px 18px; transition: border-color .15s, background .15s, box-shadow .15s; }
.searchbox input::placeholder { color: #808897; }
.searchbox input:focus { outline: none; background: var(--white); border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(44, 55, 73, .15); }
.searchbox button { position: absolute; right: 4px; width: 40px; height: 40px; padding: 0; background: var(--orange); color: var(--white); }
.searchbox button:hover { background: var(--orange-text); }
.searchbox--header { flex: 0 1 340px; }
@media (max-width: 760px) { .searchbox--header { display: none; } }

/* menu bar — sticky, solid, current item marked */
.navbar { position: sticky; top: 0; z-index: 40; background: var(--navy); }
.navbar.is-stuck { box-shadow: 0 6px 18px rgba(20, 26, 38, .25); }
.navbar__inner { display: flex; align-items: center; min-height: 54px; }
.navbar__home { display: none; margin-right: 14px; padding: 3px; border-radius: 50%; background: var(--white); line-height: 0; }
.navbar.is-stuck .navbar__home { display: inline-block; }
.mainnav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav__item { position: relative; display: flex; align-items: stretch; }
.mainnav__link { display: flex; align-items: center; padding: 15px 16px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 16.5px;
                 letter-spacing: .01em; box-shadow: inset 0 -4px 0 transparent; transition: background .15s, box-shadow .15s; }
.mainnav__link:hover, .has-sub:hover > .mainnav__link { color: var(--white); background: rgba(255, 255, 255, .08); }
.mainnav__item.is-active > .mainnav__link { box-shadow: inset 0 -4px 0 var(--orange); color: var(--white); }
.mainnav__expand { display: none; }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; z-index: 30; min-width: 270px;
           background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lift);
           opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.submenu a { display: block; padding: 9px 14px; color: var(--navy); text-decoration: none; font-size: 15px; border-radius: var(--radius-s); line-height: 1.35; }
.submenu a:hover { background: var(--page); color: var(--orange-text); }
.submenu .is-active > a { color: var(--orange-text); font-weight: 700; background: var(--orange-tint); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.navtoggle, .navpanel__extra { display: none; }

@media (max-width: 960px) {
    .navbar__inner { justify-content: space-between; min-height: 52px; }
    .navbar__home { display: inline-block; }
    .navtoggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 10px 4px; border: 0; background: none;
                 color: var(--white); font: 700 16px var(--font); cursor: pointer; }
    .navtoggle__icon, .navtoggle__icon span, .navtoggle__icon::before, .navtoggle__icon::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
    .navtoggle__icon { position: relative; background: none; height: 16px; }
    .navtoggle__icon span { position: absolute; top: 7px; }
    .navtoggle__icon::before, .navtoggle__icon::after { content: ""; position: absolute; left: 0; }
    .navtoggle__icon::before { top: 0; }
    .navtoggle__icon::after { top: 14px; }
    .navbar.is-open .navtoggle__icon span { opacity: 0; }
    .navbar.is-open .navtoggle__icon::before { transform: translateY(7px) rotate(45deg); }
    .navbar.is-open .navtoggle__icon::after { transform: translateY(-7px) rotate(-45deg); }
    .navpanel { position: fixed; top: var(--navbar-bottom, 52px); right: 0; bottom: 0; left: 0; background: var(--white); overflow-y: auto; overscroll-behavior: contain;
                /* fade + slight drop, never pushed sideways: an off-screen fixed panel widens the mobile layout viewport */
                opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; padding: 4px 0 32px; }
    .navbar.is-open .navpanel { opacity: 1; transform: none; visibility: visible; }
    .mainnav { flex-direction: column; flex-wrap: nowrap; }
    .mainnav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .mainnav__link { flex: 1; padding: 15px var(--gutter); color: var(--navy); font-size: 18px; }
    .mainnav__link:hover, .has-sub:hover > .mainnav__link { background: var(--page); color: var(--navy); }
    .mainnav__item.is-active > .mainnav__link { box-shadow: inset 4px 0 0 var(--orange); color: var(--orange-text); }
    .mainnav__expand { display: flex; align-items: center; justify-content: center; width: 58px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--navy); cursor: pointer; }
    .mainnav__expand span::before { content: ""; display: block; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
    .mainnav__item.is-open .mainnav__expand span::before { transform: rotate(-135deg) translateY(-2px); }
    .submenu { position: static; width: 100%; min-width: 0; padding: 0 0 10px; box-shadow: none; border-radius: 0; background: var(--page);
               opacity: 1; visibility: visible; transform: none; display: none; transition: none; }
    .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: none; }
    .mainnav__item.is-open > .submenu { display: block; }
    .submenu a { padding: 11px calc(var(--gutter) + 16px); border-radius: 0; font-size: 16px; }
    .navpanel__extra { display: flex; flex-direction: column; gap: 18px; padding: 22px var(--gutter) 0; }
    .navpanel__extra .shortcuts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
    .navpanel__extra .shortcuts a { color: var(--navy); font-size: 15px; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 760px) { .topbar__place, .topbar .shortcuts { display: none; } .topbar__inner { justify-content: flex-end; } }

/* ------------------------------------------------------------------------------ breadcrumb + grid */
.breadcrumb ol { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: #a3a9b4; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-text); text-decoration: underline; }

.page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(20px, 2.5vw, 32px); padding: 18px 0 48px; align-items: start; }
.page__main, .page__aside { min-width: 0; }
@media (max-width: 960px) { .page { grid-template-columns: minmax(0, 1fr); } }

/* the content sheet: white card, text at a readable width */
.sheet { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 44px); }
.sheet > .frame:first-child > header > :first-child, .sheet > .frame:first-child h1:first-child, .sheet > .frame:first-child h2:first-child { margin-top: 0; }
.sheet .ce-bodytext, .sheet .news-article__body, .sheet .news-article__lead { max-width: 72ch; }
.frame { margin-bottom: 1.8em; }
.frame:last-child { margin-bottom: 0; }
.frame > header h1, .frame > header h2 { position: relative; padding-bottom: .35em; }
.frame > header h1::after, .frame > header h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--orange); }
.frame > header h3 { color: var(--navy-soft); }
.ce-bodytext h1 a, .ce-bodytext h2 a, .ce-bodytext h3 a, .ce-bodytext h4 a, .frame header a { color: inherit; text-decoration: none; }
.ce-bodytext h2 a:hover, .ce-bodytext h3 a:hover, .frame header a:hover { color: var(--orange-text); }
.ce-bodytext ul, .ce-bodytext ol { padding-left: 1.3em; }
.ce-bodytext li { margin-bottom: .35em; }
.ce-bodytext li::marker { color: var(--orange); }
blockquote { margin: 1.2em 0; padding: .4em 0 .4em 1.1em; border-left: 4px solid var(--orange); color: var(--muted); font-style: italic; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 1em 0; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--page); color: var(--navy); font-weight: 700; }
.ce-bodytext table { display: block; overflow-x: auto; }

/* old layout 1 = boxed, 2 = highlighted — now tinted panels inside the sheet */
.sheet .frame-layout-1, .sheet .frame-layout-2 { background: var(--page); border-radius: var(--radius-s); padding: clamp(16px, 2.4vw, 26px); }
.sheet .frame-layout-2 { background: var(--orange-tint); box-shadow: inset 4px 0 0 var(--orange); }
.sheet .frame-layout-1 > header h2, .sheet .frame-layout-2 > header h2 { margin-top: 0; }

/* images */
.ce-gallery img, .news-article img, .news-item__image img { border-radius: var(--radius-s); }
.ce-gallery figure { margin: 0; }
.ce-gallery figcaption, .news-img-caption { font-size: 13.5px; color: var(--muted); padding-top: 6px; line-height: 1.45; }
.ce-intext.ce-right .ce-gallery { margin-left: clamp(16px, 2.5vw, 28px); }
.ce-intext.ce-left .ce-gallery { margin-right: clamp(16px, 2.5vw, 28px); }
@media (max-width: 640px) {
    .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery { float: none; margin: 0 0 14px; }
    .ce-gallery .ce-column, .ce-gallery .ce-row { float: none; width: auto !important; }
    .ce-gallery .ce-column { margin-bottom: 10px; }
}

/* teaser row under the start page content */
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(20px, 2.5vw, 32px); }
.teasers > .frame { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px 16px;
                    transition: box-shadow .2s, transform .2s; }
.teasers > .frame:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.teasers > .frame-layout-1, .teasers > .frame-layout-2 { background: var(--white); box-shadow: var(--shadow); }
.teasers h2, .teasers h3 { font-size: 1.15rem; margin: 0 0 .7em; padding: 0; }
.teasers h2::after { display: none; }
.teasers .ce-gallery { float: none !important; margin: 12px 0 0 !important; }
.teasers .ce-gallery img { width: 100%; max-height: 170px; object-fit: contain; }

/* ------------------------------------------------------------------------------ right column */
.page__aside { display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.page__aside > .frame, .card { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.page__aside h1, .page__aside h2, .page__aside h3, .card__title {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--orange-text);
    margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.page__aside h1::after, .page__aside h2::after { display: none; }
.card__title a { color: inherit; text-decoration: none; }
.page__aside .ce-gallery { float: none; }
.page__aside .ce-gallery .ce-column { margin-bottom: 10px; }
.page__aside .ce-gallery img { border: 1px solid var(--line); border-radius: var(--radius-s); }
.page__aside .frame-layout-2 { box-shadow: var(--shadow), inset 4px 0 0 var(--orange); }
.page__aside p:last-child { margin-bottom: 0; }

.sectionnav ul { list-style: none; margin: 0; padding: 0; }
.sectionnav li a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: var(--radius-s); color: var(--navy); text-decoration: none; line-height: 1.35; }
.sectionnav li a:hover { background: var(--page); color: var(--orange-text); }
.sectionnav li.is-active > a { color: var(--orange-text); font-weight: 700; }
.sectionnav li a[aria-current="page"] { background: var(--orange-tint); }
.sectionnav li ul { padding-left: 14px; border-left: 2px solid var(--line); margin: 2px 0 6px 4px; }
.sectionnav li ul a { font-size: 14px; }

.aside-social { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 9px 16px; border-radius: 999px;
                background: var(--white); box-shadow: var(--shadow); color: #1b4f9c; text-decoration: none; font-weight: 700; font-size: 14px; }
.aside-social:hover { color: #1b4f9c; box-shadow: var(--shadow-lift); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.aside-social--ig, .aside-social--ig:hover { color: #b1306a; }
.aside-social--li, .aside-social--li:hover { color: #0a66c2; }
@media (max-width: 960px) and (min-width: 600px) { .page__aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* ------------------------------------------------------------------------------ news */
.news-teaser { padding: 10px 0; border-bottom: 1px solid var(--line); }
.news-teaser:first-child { padding-top: 0; }
.news-teaser:last-child { border-bottom: 0; padding-bottom: 0; }
.news-teaser time { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .03em; margin-bottom: 2px; }
.news-teaser__title { font-size: 15px; line-height: 1.35; margin: 0 0 4px; color: var(--navy); }
.news-teaser__title a { color: inherit; text-decoration: none; }
.news-teaser__title a:hover { color: var(--orange-text); }
.news-teaser p { font-size: 14px; color: var(--muted); margin: 0 0 4px; line-height: 1.5; }
.news-teaser .more { font-size: 13px; font-weight: 700; text-decoration: none; }
.news-list__all { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.news-list__all a { font-weight: 700; font-size: 14px; text-decoration: none; }
.news-list__all a::after { content: " →"; }

.news-list--full { display: flex; flex-direction: column; gap: 14px; }
.news-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 16px; border-radius: var(--radius);
             background: var(--white); border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.news-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.news-item--noimage { grid-template-columns: minmax(0, 1fr); }
.news-item__image img { display: block; width: 180px; height: 130px; object-fit: cover; }
.news-item__title { font-size: 1.15rem; margin: 0 0 4px; }
.news-item__title a { color: var(--navy); text-decoration: none; }
.news-item__title a:hover { color: var(--orange-text); }
.news-item time { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.news-item p { margin: 0 0 8px; color: #3c4351; }
.news-item .more { font-weight: 700; font-size: 14px; text-decoration: none; }
@media (max-width: 560px) { .news-item { grid-template-columns: minmax(0, 1fr); } .news-item__image img { width: 100%; height: 190px; } }
.page-navigation { margin-top: 22px; }
.page-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.page-navigation a, .page-navigation span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
                                            border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.page-navigation a:hover { border-color: var(--orange); color: var(--orange-text); }
.page-navigation .current a, .page-navigation .current span, .page-navigation li.active a, .page-navigation li.active span { background: var(--navy); border-color: var(--navy); color: var(--white); }

.news-article__title { margin: 0 0 .35em; }
.news-article__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 1.2em; }
.news-article__lead { font-size: 1.15rem; line-height: 1.6; color: #39404d; }
.news-article .news-img-wrap { float: right; width: min(46%, 360px); margin: 4px 0 16px clamp(16px, 2.5vw, 28px); }
.news-article .news-img-wrap .outer, .news-article .news-img-wrap .mediaelement { margin-bottom: 12px; }
.news-article .news-img-wrap img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .news-article .news-img-wrap { float: none; width: auto; margin: 0 0 16px; } }
.news-article__back { clear: both; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.news-article__back a { font-weight: 700; text-decoration: none; }

/* search results */
.tx-indexedsearch-searchbox fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.tx-indexedsearch-searchbox input[type="text"], .tx-indexedsearch-searchbox input[type="search"] { font: 16px var(--font); padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; width: min(100%, 420px); }
.tx-indexedsearch-res { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tx-indexedsearch-res h3 { margin: 0 0 4px; font-size: 1.1rem; }
.tx-indexedsearch-redMarkup { background: var(--orange-tint); color: inherit; padding: 0 2px; border-radius: 2px; }

/* ------------------------------------------------------------------------------ embeds (click-to-load) */
.embed-consent { background: var(--page); border: 2px dashed #c3c9d3; border-radius: var(--radius); padding: 28px; text-align: center; min-height: 240px;
                 display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.embed-consent__text { max-width: 520px; margin: 0; font-size: 15px; }
.embed-consent__always { font-size: 13.5px; color: var(--muted); }
.embed-frame { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 520px; border: 0; border-radius: var(--radius); }
.embed-frame--video { aspect-ratio: 16 / 9; max-height: none; }
.embed-frame--calendar { aspect-ratio: auto; height: 680px; max-height: none; background: var(--white); }
/* the widget's toolbar needs ~380px: on phones the frame takes the full screen width */
@media (max-width: 600px) { .embed-frame--calendar { height: 600px; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; } }
/* library catalogue (own service, no consent box): 800px until its first height message (forum.js) */
.opac-frame { display: block; width: 100%; height: 800px; border: 0; }

/* notice boxes (replaced raw-HTML elements) and the name filter on "Kronstädter Persönlichkeiten" */
.notice-box { background: var(--page); border-left: 4px solid var(--orange); border-radius: var(--radius-s); padding: 18px 20px; margin: 0 0 1.4em; }
.notice-box p { margin: 0 0 .8em; }
.notice-box p:last-child { margin-bottom: 0; }
.notice-box a.btn { color: var(--white); }
.person-search { background: var(--page); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 1.4em; }
.person-search label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.person-search input { font: 16px var(--font); padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; width: min(100%, 420px); background: var(--white); }
.person-search__none { margin: 10px 0 0; color: var(--muted); }
.frame[hidden], .frame-type-menu_section li[hidden], .person-search__none[hidden] { display: none !important; }

/* ------------------------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #d6dbe4; font-size: 15px; }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px 48px; padding-top: 40px; padding-bottom: 36px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer__org { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.site-footer__address { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .site-footer__org { flex-direction: column; gap: 12px; } }
.site-footer__logo { flex: 0 0 auto; background: var(--white); border-radius: 50%; padding: 4px; }
.site-footer__address .frame { margin: 0; }
.site-footer__address p { margin: 0 0 .35em; }
.site-footer__address strong, .site-footer__address b { color: var(--white); }
.site-footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 22px; }
.site-footer__links a, .site-footer__links .linkbutton { color: #e8ecf2; text-decoration: none; font-size: 15px; }
.site-footer__links a:hover, .site-footer__links .linkbutton:hover { color: var(--white); text-decoration: underline; }
.site-footer__bottom { background: var(--navy-deep); font-size: 13px; color: #aeb6c4; }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 14px; padding-bottom: 14px; }
.site-footer__bottom a { color: #d6dbe4; }

/* ------------------------------------------------------------------------------ cookie notice */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px; pointer-events: none; }
.consent__box { pointer-events: auto; max-width: 1040px; margin: 0 auto; background: var(--white); border-radius: var(--radius);
                box-shadow: 0 -2px 30px rgba(20, 26, 38, .28); border-top: 4px solid var(--orange);
                padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; font-size: 15px; }
.consent__text { margin: 0; flex: 1 1 420px; }
.consent__external { flex: 1 1 240px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------------------ print */
@media print {
    .topbar, .navbar, .page__aside, .site-footer, .consent, .breadcrumb, .teasers, .searchbox { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .sheet { box-shadow: none; padding: 0; }
    .page { display: block; }
}
