/* =============================================================
   Studio Ingegneria Lepori SA – site styles
   ============================================================= */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../Fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../Fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../Fonts/lato-400i.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../Fonts/lato-700.woff2") format("woff2"); }

:root {
    --orange: #f7a535;
    --orange-dark: #e08a12;
    --text: #333;
    --muted: #6b6b6b;
    --grey-bg: #f4f5f5;
    --grey-line: #d2d2d2;
    --dark: #3a3a3a;
    --darker: #2b2b2b;
    --white: #fff;
    --container: 1170px;
    --gutter: 16px;
    --gap: 30px;
    --header-h: 120px;
    --font: "Lato", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--text); text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin: 0 0 .6em; color: #222; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--grey-line); margin: 2.5rem 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); 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; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #000; padding: .5rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; }

/* ---------- Buttons ---------- */
.btn, a.btn, .important-cta-link {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    border: 2px solid var(--orange);
    padding: .7em 1.6em;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, box-shadow .2s;
    font-family: inherit;
}
.btn:hover, .btn:focus { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; text-decoration: none; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--grey-line); }
.btn--ghost:hover, .btn--ghost:focus { background: var(--grey-bg); color: var(--text); border-color: var(--muted); }
.btn--light { background: #fff; color: var(--orange-dark); border-color: #fff; }
.btn--light:hover, .btn--light:focus { background: transparent; color: #fff; border-color: #fff; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.link-button:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.97);
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 8px; }
.site-logo { display: block; flex: 1 1 100%; }
.site-logo img { width: 100%; height: auto; }
.site-logo__compact { display: none !important; }
.nav-toggle { display: none; }
.main-nav { flex: 1 1 100%; }
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 4px 22px; flex-wrap: wrap; }
.main-nav__item a { display: block; color: #222; font-size: 1rem; padding: 6px 0 4px; border-bottom: 2px solid transparent; }
.main-nav__item a:hover, .main-nav__item a:focus { color: var(--orange-dark); text-decoration: none; border-bottom-color: var(--orange); }
.main-nav__item.is-active a { color: var(--orange-dark); border-bottom-color: var(--orange); }

@media (max-width: 860px) {
    .site-header__inner { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
    .site-logo { flex: 0 1 auto; max-width: 260px; }
    .site-logo__wide { display: none !important; }
    .site-logo__compact { display: block !important; }
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 10px; margin-left: 12px;
        background: transparent; border: 1px solid var(--grey-line); border-radius: 3px; cursor: pointer;
    }
    .nav-toggle__bar { display: block; height: 2px; background: #333; transition: transform .2s, opacity .2s; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .main-nav.is-open { max-height: 80vh; }
    .main-nav__list { flex-direction: column; gap: 0; padding: 6px var(--gutter) 14px; }
    .main-nav__item a { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 1.05rem; }
}

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: clamp(340px, 52vw, 560px); color: #fff; overflow: hidden; background: #555; display: flex; align-items: center; }
.hero__slides, .hero__slide, .hero__overlay { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.1) 100%); }
.hero__content { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 3rem; }
.hero__title { color: #fff; max-width: 720px; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.6rem, 3.6vw, 2.5rem); text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero__text { max-width: 620px; font-size: 1.1rem; margin-bottom: 1.6rem; }
.hero__text p { margin-bottom: .4em; }
.hero__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.2); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.hero__nav:hover, .hero__nav:focus { background: rgba(255,255,255,.4); }
.hero__nav--prev { left: 14px; }
.hero__nav--next { right: 14px; }
@media (max-width: 600px) { .hero__nav { display: none; } }

/* ---------- Page banner (internal pages) ---------- */
.page-banner {
    position: relative;
    background: #4b4f52 center / cover no-repeat;
    min-height: clamp(150px, 22vw, 260px);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.page-banner__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner__title { color: #fff; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* ---------- Content grid & frames ---------- */
.page-content { padding: clamp(2rem, 5vw, 4rem) 0; }
.content-grid { display: flex; flex-wrap: wrap; column-gap: var(--gap); }
.content-grid > .frame,
.content-grid > [id^="c"] { flex: 1 1 100%; min-width: 0; margin-bottom: 2rem; }
.content-grid > .frame-col-half { flex: 1 1 calc(50% - var(--gap)); max-width: calc(50% - var(--gap) / 2); }
.content-grid > .frame-col-third { flex: 1 1 calc(33.333% - var(--gap)); max-width: calc(33.333% - var(--gap) * 2 / 3); }
.content-grid > .frame-col-quarter { flex: 1 1 calc(25% - var(--gap)); max-width: calc(25% - var(--gap) * 3 / 4); }
@media (max-width: 900px) {
    .content-grid > .frame-col-third, .content-grid > .frame-col-quarter { flex-basis: calc(50% - var(--gap)); max-width: calc(50% - var(--gap) / 2); }
}
@media (max-width: 680px) {
    .content-grid > .frame-col-half, .content-grid > .frame-col-third, .content-grid > .frame-col-quarter { flex-basis: 100%; max-width: 100%; }
}
.frame-space-before-small { margin-top: 1rem; }
.frame-space-before-medium { margin-top: 2rem; }
.frame-space-before-large { margin-top: 3rem; }
.frame-space-after-small { padding-bottom: 1rem; }
.frame-space-after-medium { padding-bottom: 2rem; }
.frame-space-after-large { padding-bottom: 3rem; }
.frame-type-div hr { margin: 1rem 0 2.5rem; }
.ce-headline-center { text-align: center; }
.ce-headline-right { text-align: right; }
.frame-header + * { margin-top: 0; }
.frame .bodytext { margin-bottom: 1em; }

/* Section headings like the old site */
.content-grid > .frame-type-text h2, .content-grid > .frame-type-header h2,
.content-grid > .frame-type-lepori_teasers h2 {
    position: relative; padding-bottom: .4em;
}
.content-grid > .frame-type-header h2::after, .content-grid > .frame-type-lepori_teasers h2::after {
    content: ""; display: block; width: 60px; height: 3px; background: var(--orange); margin-top: .5em;
}
.ce-headline-center::after { margin-left: auto !important; margin-right: auto !important; }

/* Grey full-width band */
.frame-band-grey { background: var(--grey-bg); box-shadow: 0 0 0 100vmax var(--grey-bg); clip-path: inset(0 -100vmax); padding: 2rem 0; }

/* Core textmedia */
.ce-gallery img { border-radius: 2px; }
.ce-gallery figure { margin: 0 0 1rem; }
.ce-gallery figcaption { font-size: .9rem; color: var(--muted); padding-top: .4rem; }
.ce-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.ce-column { flex: 1 1 200px; }
.ce-textpic.ce-right .ce-gallery, .ce-textpic.ce-intext.ce-right .ce-gallery { float: right; margin-left: 1.5rem; max-width: 50%; }
.ce-textpic.ce-left .ce-gallery, .ce-textpic.ce-intext.ce-left .ce-gallery { float: left; margin-right: 1.5rem; max-width: 50%; }
.ce-textpic::after { content: ""; display: table; clear: both; }
@media (max-width: 680px) { .ce-textpic .ce-gallery { float: none !important; max-width: 100% !important; margin: 0 0 1rem !important; } }

/* Lists inside "Competenze / Settori" boxes */
.frame-type-text ul li, .frame-type-textmedia ul li { margin-bottom: .25em; }
.frame-type-text ul, .frame-type-textmedia ul { list-style: none; padding-left: 0; }
.frame-type-text ul li::before, .frame-type-textmedia ul li::before { content: "–"; color: var(--orange); font-weight: 700; margin-right: .5em; }

/* ---------- Teasers (boxes) ---------- */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.teasers--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.teasers--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .teasers, .teasers--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .teasers, .teasers--cols-2, .teasers--cols-4 { grid-template-columns: 1fr; } }
.teaser { text-align: center; }
.teaser__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--grey-bg); }
.teaser__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.teaser:hover .teaser__media img { transform: scale(1.05); }
.teaser__body { padding: 1rem .5rem 0; }
.teaser__title { font-weight: 400; font-size: 1.35rem; margin-bottom: .3rem; }
.teaser__text { color: var(--muted); font-size: .95rem; }
.teaser__more { color: var(--orange-dark); font-size: .9rem; }

/* ---------- CTA bands ---------- */
.frame-type-lepori_cta { flex-basis: 100% !important; max-width: 100% !important; }
.content-grid > .cta { flex: 1 1 100%; min-width: 0; margin-bottom: 2rem; }
.content-grid > .cta:not(.cta--layout-3),
.content-grid > .frame-type-lepori_cta { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw !important; }
.content-grid > .cta--layout-3 { margin-top: -1rem; }
.page-bottom .frame { margin: 0; }
.cta { padding: clamp(2rem, 5vw, 3.5rem) 0; background: var(--grey-bg) center / cover no-repeat; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.cta__text { flex: 1 1 480px; }
.cta__text > :last-child { margin-bottom: 0; }
.cta__title { margin-bottom: .4em; }
.cta__action { flex: 0 0 auto; }
.cta--layout-1 { background: var(--orange); color: #fff; padding: 1.6rem 0; }
.cta--layout-1 h2, .cta--layout-1 h3, .cta--layout-1 a:not(.btn) { color: #fff; }
.cta--layout-1 .cta__text { font-size: 1.25rem; }
.cta--layout-1 .cta__title, .cta--layout-1 h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 400; }
.cta--layout-1 .btn { background: #fff; color: var(--orange-dark); border-color: #fff; }
.cta--layout-1 .btn:hover, .cta--layout-1 .btn:focus { background: transparent; color: #fff; border-color: #fff; }
.cta .container { padding-left: max(var(--gutter), 24px); padding-right: max(var(--gutter), 24px); }
.cta--layout-2 { position: relative; color: #fff; background-color: #3c4b5a; }
.cta--layout-2::before { content: ""; position: absolute; inset: 0; background: rgba(10,25,40,.55); }
.cta--layout-2 .cta__inner { position: relative; }
.cta--layout-2 h2, .cta--layout-2 h3 { color: #fff; }
.cta--layout-2 .cta__inner { align-items: flex-start; flex-direction: column; max-width: calc(var(--container) + 2 * var(--gutter)); }
.cta--layout-2 .cta__text { max-width: 760px; flex-basis: auto; }
.cta--layout-3 { background: transparent; padding: .5rem 0 1rem; }
.cta--layout-3 .cta__inner { justify-content: center; }

/* ---------- News ---------- */
.news-date { display: inline-block; color: var(--orange-dark); font-weight: 700; font-size: .95rem; margin-bottom: .2rem; }
.news-list { display: grid; gap: 1.6rem; }
.news-item { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; padding-bottom: 1.6rem; border-bottom: 1px solid #eee; }
.news-item:not(:has(.news-item__media)) { grid-template-columns: 1fr; }
.news-item__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.news-item__title { font-size: 1.25rem; margin-bottom: .4rem; }
.news-item__title a { color: #222; }
.news-item__teaser { color: var(--muted); }
.news-item__more { font-size: .9rem; font-weight: 700; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } }

.news-home { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 680px) { .news-home { grid-template-columns: 1fr; } }
.news-home-item { border-left: 3px solid var(--orange); padding: .2rem 0 .2rem 1.1rem; }
.news-home-item__title { font-size: 1.1rem; font-weight: 400; margin: .2rem 0 .4rem; }
.news-home-item__title a { color: var(--text); }

.news-portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 900px) { .news-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .news-portfolio { grid-template-columns: 1fr; } }
.portfolio-item__link { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; color: #fff; }
.portfolio-item__img, .portfolio-item__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.portfolio-item__placeholder { background: linear-gradient(135deg, #8a8f93, #5d6266); }
.portfolio-item__caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    display: flex; flex-direction: column; gap: .2rem;
}
.portfolio-item__title { font-weight: 700; line-height: 1.25; }
.portfolio-item__cats { font-size: .82rem; opacity: .85; }
.portfolio-item__link:hover .portfolio-item__img, .portfolio-item__link:focus .portfolio-item__img { transform: scale(1.06); }
.portfolio-item__link:hover, .portfolio-item__link:focus { color: #fff; text-decoration: none; }

.category-filter ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; justify-content: center; }
.category-filter a { display: inline-block; padding: .45em 1em; border: 1px solid var(--grey-line); border-radius: 30px; color: var(--text); font-size: .92rem; }
.category-filter a:hover, .category-filter a:focus, .category-filter a.active { background: var(--orange); border-color: var(--orange); color: #fff; text-decoration: none; }

.news-detail__title { margin-bottom: .2rem; }
.news-detail__cats { color: var(--orange-dark); font-weight: 700; }
.news-detail__header { margin-bottom: 1.5rem; }
.news-detail__grid.has-media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .news-detail__grid.has-media { grid-template-columns: 1fr; } .news-detail__gallery { order: -1; } }
.news-detail__teaser { font-size: 1.05rem; }
.news-detail__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gallery-item { display: block; overflow: hidden; background: #eee; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: opacity .2s; }
.gallery-item:hover img { opacity: .85; }
.gallery-item--first { grid-column: 1 / -1; }
.news-detail__back { margin-top: 2.5rem; }

.f3-widget-paginator { list-style: none; display: flex; gap: .4rem; justify-content: center; padding: 0; margin: 2rem 0 0; flex-wrap: wrap; }
.f3-widget-paginator li a, .f3-widget-paginator li.current { display: inline-block; min-width: 2.4em; text-align: center; padding: .35em .6em; border: 1px solid var(--grey-line); color: var(--text); }
.f3-widget-paginator li.current { background: var(--orange); border-color: var(--orange); color: #fff; }
.page-navigation p { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus { background: rgba(255,255,255,.35); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- External content (maps / video) ---------- */
.consent-embed { position: relative; background: #e9ebec; min-height: 280px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; }
.consent-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent-embed__notice { max-width: 420px; font-size: .95rem; color: var(--muted); }
.consent-embed__notice .btn { margin-top: .8rem; }
.consent-embed.is-loaded .consent-embed__notice { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #d9d9d9; font-size: .95rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer .container { padding-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gap); padding: 3rem 0 2.5rem; }
.site-footer__grid .frame { margin: 0; }
.site-footer__grid h2, .site-footer__grid h3 { color: #fff; font-size: 1.1rem; margin-bottom: .7rem; }
.site-footer__grid p { margin-bottom: .2rem; }
.site-footer__brand img { max-width: 220px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__bottom { background: var(--darker); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1rem !important; padding-bottom: 1rem; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; padding: 0; margin: 0; }
.footer-menu a, .footer-menu .link-button { color: #cfcfcf; }
.to-top {
    position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 42px; height: 42px; border-radius: 50%;
    background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; text-decoration: none; background: var(--orange-dark); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; background: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.15); border-top: 4px solid var(--orange); font-size: .93rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }
.cookie-banner__text { flex: 1 1 520px; }
.cookie-banner__text p { margin: 0 0 .3rem; }
.cookie-banner__title { font-weight: 700; font-size: 1.05rem; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Tables (RTE) ---------- */
.contenttable, .frame table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.contenttable th, .contenttable td, .frame table td, .frame table th { border-bottom: 1px solid #e3e3e3; padding: .5rem; text-align: left; vertical-align: top; }

@media print {
    .site-header, .cookie-banner, .to-top, .page-bottom, .site-footer__bottom { display: none !important; }
    .page-banner { min-height: 0; background: none !important; }
    .page-banner__title { color: #000; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
