/* FlexIT Fabrications Core — structural styles for dynamic blocks. Theme presets are used when present. */
:root {
	--abz-accent: var(--wp--preset--color--accent, #0a56a8);
	--abz-accent-dark: var(--wp--preset--color--accent-dark, #07407e);
	--abz-accent-soft: var(--wp--preset--color--accent-soft, #e2edf9);
	--abz-ink: var(--wp--preset--color--contrast, #0d1b2a);
	--abz-muted: var(--wp--preset--color--muted, #4a5868);
	--abz-line: var(--wp--preset--color--border, #cbd4de);
	--abz-bg: var(--wp--preset--color--base, #ffffff);
	--abz-surface: var(--wp--preset--color--surface, #edf1f6);
	--abz-head: var(--wp--preset--font-family--heading, "Helvetica Neue", Arial, sans-serif);
	--abz-radius: 2px;
	--abz-navy: var(--wp--preset--color--navy, #0a2540);
	--abz-signal: var(--wp--preset--color--signal, #f5b000);
	--abz-gap: clamp(1rem, 2vw, 1.75rem);
}
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* ---------- Cards ---------- */
.abz-card { position: relative; display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.abz-card__media { display: block; position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: var(--abz-surface); border-radius: var(--abz-radius); }
.abz-card__media img, .abz-thumb-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.abz-thumb-fallback { background: var(--abz-surface); }
.abz-card__media img { transition: transform .5s ease; }
.abz-card:hover .abz-card__media img { transform: none; }
.abz-card__body { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.abz-card__cat { align-self: flex-start; font-family: var(--abz-head); font-size: .8125rem; font-weight: 700; color: var(--abz-accent); text-decoration: none; }
.abz-card__cat:hover, .abz-card__cat:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.abz-card__title { margin: 0; font-family: var(--abz-head); font-size: clamp(1.1rem, 1.05rem + .4vw, 1.375rem); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; font-stretch: 90%; text-wrap: balance; }
.abz-card__title a { color: var(--abz-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s ease; }
.abz-card__title a:hover, .abz-card__title a:focus-visible { background-size: 100% 1px; }
.abz-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is clickable */
.abz-card__cat { position: relative; z-index: 2; }
.abz-card__excerpt { margin: 0; color: var(--abz-muted); font-size: .95rem; line-height: 1.55; }
.abz-card__meta { margin: .15rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .8125rem; color: var(--abz-muted); }
.abz-card--hero .abz-card__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); line-height: 1.04; font-weight: 750; letter-spacing: -.02em; }
.abz-card--hero .abz-card__media { aspect-ratio: 16 / 10; }
.abz-card--hero .abz-card__excerpt { font-size: 1.05rem; max-width: 60ch; }
.abz-card--list, .abz-card--compact { display: grid; grid-template-columns: 7.5rem 1fr; align-items: start; gap: 1rem; }
.abz-card--list .abz-card__title, .abz-card--compact .abz-card__title { font-size: 1.05rem; }
.abz-card--list .abz-card__media, .abz-card--compact .abz-card__media { aspect-ratio: 8 / 5; }
.abz-card--compact { grid-template-columns: 2rem 1fr; }
.abz-card--compact .abz-card__media { display: none; }
.abz-card__rank { font-family: var(--abz-head); font-size: 1.6rem; font-weight: 750; line-height: 1; color: var(--abz-navy); font-variant-numeric: tabular-nums; grid-column: 1; }
.abz-card--compact { grid-template-columns: 2.25rem 1fr; }
.abz-card--compact .abz-card__body { display: contents; }
.abz-card--compact .abz-card__rank { grid-column: 1; grid-row: 1 / span 3; }
.abz-card--compact .abz-card__cat, .abz-card--compact .abz-card__title, .abz-card--compact .abz-card__meta { grid-column: 2; }
.abz-card__meta [aria-hidden] { display: inline-block; width: 1px; height: .8em; align-self: center; margin-inline: .2rem; background: var(--abz-line); overflow: hidden; font-size: 0; }
.abz-card__meta { font-variant-numeric: tabular-nums; }

/* Wire feed item: time column, then category + headline. */
.abz-card--wire { display: grid; grid-template-columns: 3.1rem 1fr; gap: .75rem; align-items: start; padding-block: .8rem; border-top: 1px solid var(--abz-line); }
.abz-card--wire:first-child { border-top: 0; padding-top: .25rem; }
.abz-card--wire .abz-card__time { display: grid; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--abz-muted); font-size: .75rem; }
.abz-card--wire .abz-card__time strong { font-size: 1rem; font-weight: 700; color: var(--abz-navy); }
.abz-card--wire .abz-card__title { font-size: 1rem; line-height: 1.25; font-weight: 650; }
.abz-card--wire .abz-card__body { gap: .15rem; }

/* ---------- Grids ---------- */
.abz-grid__heading { font-family: var(--abz-head); font-size: 1.5rem; margin: 0 0 1rem; }
.abz-grid__items { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem) var(--abz-gap); grid-template-columns: 1fr; }
@media (min-width: 600px) { .abz-grid--grid .abz-grid__items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.abz-grid--cols-3.abz-grid--grid .abz-grid__items { grid-template-columns: repeat(3, 1fr); }
	.abz-grid--cols-4.abz-grid--grid .abz-grid__items { grid-template-columns: repeat(4, 1fr); }
}
.abz-grid--list .abz-grid__items, .abz-grid--compact .abz-grid__items { gap: 1.1rem; }
.abz-grid--wire .abz-grid__items { gap: 0; }
.abz-grid--compact .abz-card--compact { padding-block: .35rem; border-bottom: 1px solid var(--abz-line); }
.abz-grid__ad { grid-column: 1 / -1; }

/* ---------- Hero ---------- */
.abz-hero { display: block; }
.abz-hero__main .abz-card--hero .abz-card__media { aspect-ratio: 16 / 9; }
.abz-hero__side { display: grid; gap: 1.25rem; align-content: start; margin-top: clamp(1.25rem, 2.5vw, 2rem); padding-top: clamp(1.25rem, 2.5vw, 2rem); border-top: 1px solid var(--abz-line); }
.abz-hero__side .abz-card--list { grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 700px) { .abz-hero__side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); } .abz-hero__side .abz-card--list .abz-card__title { font-size: 1.05rem; } }

/* ---------- Category sections ---------- */
.abz-section__head { display: grid; gap: .35rem .75rem; grid-template-columns: 1fr auto; align-items: end; padding-bottom: .75rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--abz-navy); position: relative; }
.abz-section__head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 3.5rem; height: 4px; background: var(--abz-accent); }
.abz-section__title { margin: 0; font-family: var(--abz-head); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); font-weight: 750; font-stretch: 90%; line-height: 1.1; }
.abz-section__title a { color: var(--abz-navy); text-decoration: none; }
.abz-section__desc { grid-column: 1 / -1; grid-row: 2; margin: 0; color: var(--abz-muted); max-width: 70ch; }
.abz-section__more { font-size: .9rem; font-weight: 700; color: var(--abz-accent); text-decoration: none; white-space: nowrap; }
.abz-section__more:hover, .abz-section__more:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.abz-section__body { display: grid; gap: var(--abz-gap); }
.abz-section__list { display: grid; gap: 1.1rem; align-content: start; }
@media (min-width: 900px) { .abz-section__body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.75rem, 3vw, 3rem); } }

/* ---------- Archive header ---------- */
.abz-archive-header { padding-block: clamp(1rem, 3vw, 2rem); border-bottom: 4px solid var(--abz-navy); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.abz-archive-header__kicker { margin: 0 0 .4rem; font-size: .95rem; font-weight: 700; color: var(--abz-accent); }
.abz-archive-header__title { margin: 0; font-family: var(--abz-head); font-size: clamp(2rem, 1.4rem + 2.5vw, 3.25rem); line-height: 1.08; text-wrap: balance; }
.abz-archive-header__desc { margin: .9rem 0 0; max-width: 62ch; font-size: 1.1rem; color: var(--abz-muted); }
.abz-archive-header__page { margin: .6rem 0 0; font-size: .85rem; color: var(--abz-muted); }
.abz-empty { padding: 2rem 0; max-width: 40rem; }
.abz-empty__title { font-family: var(--abz-head); font-size: 1.5rem; margin: 0 0 .5rem; }
.abz-empty__cats { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.abz-empty__cats a { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--abz-line); border-radius: 0; text-decoration: none; color: var(--abz-ink); }
.abz-empty__cats a:hover, .abz-empty__cats a:focus-visible { border-color: var(--abz-accent); color: var(--abz-accent); }

/* ---------- Pagination ---------- */
.abz-pagination { margin-top: clamp(2rem, 4vw, 3rem); }
.abz-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.abz-pagination a, .abz-pagination span { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; padding: 0 .85rem; border: 1px solid var(--abz-line); border-radius: var(--abz-radius); text-decoration: none; color: var(--abz-ink); font-weight: 600; }
.abz-pagination a:hover, .abz-pagination a:focus-visible { border-color: var(--abz-accent); color: var(--abz-accent); }
.abz-pagination .current { background: var(--abz-navy); border-color: var(--abz-navy); color: var(--abz-bg); }
.abz-pagination .dots { border: 0; }

/* ---------- Breadcrumbs ---------- */
.abz-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--abz-muted); }
.abz-breadcrumbs li + li::before { content: "/"; margin-right: .25rem; opacity: .55; }
.abz-breadcrumbs a { color: var(--abz-muted); text-decoration: none; }
.abz-breadcrumbs a:hover, .abz-breadcrumbs a:focus-visible { color: var(--abz-accent); text-decoration: underline; }
.abz-breadcrumbs [aria-current] { color: var(--abz-ink); }
.abz-breadcrumbs li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 32ch; }

/* ---------- Article parts ---------- */
.abz-subtitle { font-family: var(--abz-head); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); line-height: 1.4; color: var(--abz-muted); margin: 0; text-wrap: pretty; }
.abz-article-image { margin: 0; }
.abz-article-image__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--abz-radius); background: var(--abz-surface); }
.abz-article-image__cap { margin-top: .6rem; font-size: .85rem; color: var(--abz-muted); }
.abz-article-image__credit { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.abz-article-image__credit:hover, .abz-article-image__credit:focus-visible { color: var(--abz-accent); }
.abz-article-image__cap > .abz-article-image__credit:not(:first-child)::before { content: "· "; text-decoration: none; display: inline-block; }
.abz-reading-time, .abz-updated { font-size: inherit; }

.abz-toc { border: 1px solid var(--abz-line); background: var(--abz-surface); border-radius: var(--abz-radius); padding: 1rem 1.25rem; margin-block: 1.5rem; font-size: .95rem; }
.abz-toc summary { cursor: pointer; font-weight: 700; font-family: var(--abz-head); font-size: 1.1rem; padding-block: .25rem; }
.abz-toc__list { margin: .75rem 0 0; padding: 0 0 0 1.25rem; display: grid; gap: .4rem; }
.abz-toc__item--h3 { margin-left: 1.1rem; list-style: circle; font-size: .92em; }
.abz-toc a { color: var(--abz-ink); text-decoration: none; }
.abz-toc a:hover, .abz-toc a:focus-visible { color: var(--abz-accent); text-decoration: underline; text-underline-offset: 3px; }

.abz-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-block: 1rem; border-block: 1px solid var(--abz-line); }
.abz-share__label { font-weight: 700; font-size: .9rem; }
.abz-share__list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.abz-share__link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--abz-line); border-radius: 0; background: transparent; color: var(--abz-ink); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.abz-share__link:hover, .abz-share__link:focus-visible { background: var(--abz-navy); border-color: var(--abz-navy); color: #fff; }

.abz-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100000; pointer-events: none; }
.abz-progress__bar { height: 100%; background: var(--abz-signal); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
body.admin-bar .abz-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .abz-progress { top: 46px; } }

/* ---------- Ads ---------- */
.abz-ad { display: block; margin-block: 1.5rem; text-align: center; }
.abz-ad__label { display: block; margin-bottom: .35rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--abz-muted); }
.abz-ad__slot { display: flex; align-items: center; justify-content: center; min-height: var(--abz-ad-h-m, 0); max-width: 100%; overflow: hidden; background: transparent; }
@media (min-width: 768px) { .abz-ad__slot { min-height: var(--abz-ad-h-d, 0); } }
.abz-ad--placeholder .abz-ad__slot { border: 1px dashed var(--abz-muted); background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(0, 0, 0, .03) 10px 20px); color: var(--abz-muted); font-size: .85rem; }
.abz-ad--in_article, .abz-ad--article_end { border-block: 1px solid var(--abz-line); padding-block: .75rem; }
.abz-ad--sidebar { margin-top: 0; }
.abz-ad.is-collapsed { display: none; }
@media (max-width: 767px) { .abz-ad--vis-desktop { display: none; } }
@media (min-width: 768px) { .abz-ad--vis-mobile { display: none; } }
.abz-ad--banner { display: flow-root; clear: both; float: none; }
.abz-banner { display: flex; flex-direction: column; text-align: left; color: inherit; text-decoration: none; background: var(--abz-surface); border: 1px solid var(--abz-line); border-radius: var(--abz-radius); overflow: hidden; }
a.abz-banner:hover .abz-banner__title, a.abz-banner:focus-visible .abz-banner__title { text-decoration: underline; }
.abz-banner__media { display: block; float: none; }
.abz-banner__img { display: block; float: none; width: 100%; max-width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: center; margin: 0; }
.abz-banner__body { display: block; float: none; text-align: left; padding: .85rem 1rem 1rem; }
.abz-banner__title { display: block; margin: 0; font-family: var(--wp--preset--font-family--heading, inherit); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.abz-banner__desc { display: block; margin: .4rem 0 0; font-size: .82rem; font-weight: 400; line-height: 1.45; text-align: left; color: var(--abz-muted); }
.abz-banners { display: block; }
.abz-ad--multi .abz-banners { display: grid; gap: .9rem; }
.abz-ad--sidebar.abz-ad--multi .abz-banners { grid-template-columns: 1fr; }
.abz-ad--sidebar .abz-banner__img { max-height: 240px; }
.abz-ad--article_end.abz-ad--multi .abz-banners { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (min-width: 900px) { .abz-ad--article_end.abz-ad--count-4 .abz-banners { grid-template-columns: repeat(4, 1fr); } .abz-ad--article_end.abz-ad--count-3 .abz-banners { grid-template-columns: repeat(3, 1fr); } .abz-ad--article_end.abz-ad--count-2 .abz-banners { grid-template-columns: repeat(2, 1fr); } }
.abz-ad--article_end .abz-banner { height: 100%; }
.abz-ad--article_end .abz-banner__img { height: 150px; max-height: none; }
.abz-ad--article_end .abz-banner__title { font-size: .95rem; }
/* Horizontal layout (wide strip under the header) on desktop: image left, text vertically centred with a gap. */
@media (min-width: 768px) {
  .abz-ad--header_below .abz-banner { flex-direction: row; align-items: center; }
  .abz-ad--header_below .abz-banner__media { flex: 0 0 260px; }
  .abz-ad--header_below .abz-banner__img { height: 140px; max-height: none; }
  .abz-ad--header_below .abz-banner__body { flex: 1 1 auto; padding: 1rem 1.75rem; }
  .abz-ad--header_below .abz-banner__title { font-size: 1.2rem; }
  .abz-ad--header_below .abz-banner__desc { font-size: .9rem; }
}
.abz-grid__ad .abz-ad { background: var(--abz-surface); border-radius: var(--abz-radius); padding: .75rem; margin: 0; }

/* ---------- Buttons / forms ---------- */
.abz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem 1.25rem; border: 2px solid var(--abz-ink); border-radius: var(--abz-radius); background: var(--abz-ink); color: var(--abz-bg); font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.abz-btn:hover, .abz-btn:focus-visible { background: var(--abz-accent); border-color: var(--abz-accent); color: #fff; }
.abz-btn { background: var(--abz-navy); border-color: var(--abz-navy); }
.abz-btn--primary { background: var(--abz-accent); border-color: var(--abz-accent); color: #fff; }
.abz-btn--primary:hover, .abz-btn--primary:focus-visible { background: var(--abz-accent-dark); border-color: var(--abz-accent-dark); }
.abz-btn--link, .abz-link-btn { background: none; border: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0 .25rem; font: inherit; cursor: pointer; min-height: 2.75rem; }
.abz-btn--link:hover, .abz-link-btn:hover { color: var(--abz-accent); background: none; }
.abz-btn[disabled] { opacity: .6; cursor: progress; }
.abz-form { display: grid; gap: 1.15rem; max-width: 46rem; }
.abz-field { display: grid; gap: .35rem; }
.abz-field label { font-weight: 600; }
.abz-field input[type=text], .abz-field input[type=email], .abz-field input[type=tel], .abz-field input[type=url], .abz-field select, .abz-field textarea { width: 100%; min-height: 2.9rem; padding: .6rem .8rem; border: 1px solid #8b8f8c; border-radius: var(--abz-radius); background: #fff; color: var(--abz-ink); font: inherit; }
.abz-field input, .abz-field select, .abz-field textarea { box-sizing: border-box; max-width: 100%; }
.abz-form .abz-btn { justify-self: start; }
.abz-field textarea { resize: vertical; min-height: 7rem; }
.abz-field input:focus-visible, .abz-field select:focus-visible, .abz-field textarea:focus-visible, .abz-btn:focus-visible, .abz-share__link:focus-visible { outline: 3px solid var(--abz-accent); outline-offset: 2px; }
.abz-field [aria-invalid=true] { border-color: #a4262c; box-shadow: 0 0 0 1px #a4262c; }
.abz-hint { margin: 0; font-size: .85rem; color: var(--abz-muted); }
.abz-hint:empty { display: none; }
.abz-error { margin: 0; font-size: .9rem; font-weight: 600; color: #a4262c; }
.abz-req { color: #a4262c; }
.abz-check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400 !important; }
.abz-check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; accent-color: var(--abz-accent); }
.abz-legal-note { margin: 0; font-size: .9rem; color: var(--abz-muted); }
.abz-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.abz-notice { padding: .9rem 1.1rem; border-radius: var(--abz-radius); border: 1px solid var(--abz-line); background: var(--abz-surface); margin-bottom: 1.25rem; max-width: 46rem; }
.abz-notice--ok { border-color: #1e6b3a; background: #e8f4ec; color: #14461f; }
.abz-notice--err { border-color: #a4262c; background: #fbeaea; color: #6f1519; }
.abz-notice ul { margin: 0; padding-left: 1.1rem; }
.abz-placeholder { background: #fff3bf; color: #5c4400; padding: 0 .25em; border-radius: 0; font-weight: 600; }

/* ---------- Consent ---------- */
.abz-consent { position: fixed; inset: auto 0 0 0; z-index: 99999; background: var(--abz-bg); border-top: 1px solid var(--abz-line); box-shadow: 0 -6px 24px rgba(0, 0, 0, .08); padding: 1rem; }
.abz-consent[hidden] { display: none; }
.abz-consent__inner { max-width: 1200px; margin: 0 auto; display: grid; gap: .9rem 2rem; align-items: center; }
@media (min-width: 860px) { .abz-consent__inner { grid-template-columns: 1fr auto; } }
.abz-consent__title { font-family: var(--abz-head); font-size: 1.15rem; font-weight: 700; margin: 0 0 .25rem; }
.abz-consent p { margin: 0; font-size: .92rem; }
.abz-consent__actions, .abz-consent-dialog__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.abz-consent-dialog { max-width: min(36rem, calc(100vw - 2rem)); border: 1px solid var(--abz-line); border-radius: 0; padding: 1.5rem; background: var(--abz-bg); color: var(--abz-ink); }
.abz-consent-dialog::backdrop { background: rgba(20, 24, 22, .55); }
.abz-consent-dialog h2 { margin: 0 0 1rem; font-family: var(--abz-head); }
.abz-consent-dialog__group { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 1rem; }
.abz-consent-dialog__row p { margin: .25rem 0 0 1.75rem; font-size: .9rem; color: var(--abz-muted); }
.abz-consent-dialog__row input { width: 1.1rem; height: 1.1rem; accent-color: var(--abz-accent); margin-right: .5rem; vertical-align: -.15rem; }
.abz-social { display: flex; flex-wrap: wrap; gap: .5rem 1rem; list-style: none; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
	.abz-card__media img, .abz-card__title a, .abz-btn, .abz-share__link { transition: none; }
	.abz-card:hover .abz-card__media img { transform: none; }
}
@media print { .abz-ad, .abz-consent, .abz-progress, .abz-share { display: none !important; } }

/* ---------- Logo ---------- */
.abz-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; color: inherit; }
.abz-logo svg { display: block; height: 2.15rem; width: auto; }
.abz-logo--text { font-family: var(--abz-head); font-weight: 750; font-size: 1.5rem; line-height: 1.1; color: var(--abz-ink); }
.abz-footer .abz-logo svg { height: 2.4rem; }
@media (max-width: 599px) { .abz-header .abz-logo svg { height: 1.6rem; } }

/* ---------- Weather widget ---------- */
.abz-weather { position: relative; }
.abz-weather > summary { display: flex; align-items: center; gap: .4rem; box-sizing: border-box; min-height: 2.75rem; padding: 0 .9rem 0 .7rem; border: 1px solid var(--abz-line); border-radius: 0; background: var(--abz-surface); color: var(--abz-ink); font-size: .9rem; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none; transition: border-color .2s, background-color .2s; }
.abz-weather > summary::-webkit-details-marker { display: none; }
.abz-weather > summary::marker { content: ""; }
.abz-weather > summary:hover, .abz-weather[open] > summary { border-color: var(--abz-accent); background: #fff; }
.abz-weather__svg { width: 22px; height: 22px; flex: none; color: var(--abz-accent); }
.abz-weather__city { font-weight: 500; color: var(--abz-muted); }
.abz-weather__panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 1100; box-sizing: border-box; width: min(20rem, calc(100vw - 2rem)); padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--abz-line); border-radius: 0; box-shadow: 0 6px 18px rgba(17, 20, 24, .18); color: var(--abz-ink); text-align: left; }
.abz-weather__now { margin: 0 0 .5rem; font-size: .95rem; }
.abz-weather__days { list-style: none; margin: 0; padding: 0; display: grid; }
.abz-weather__days li { display: grid; grid-template-columns: 4.2rem 2rem 1fr; align-items: center; gap: .25rem; padding: .45rem 0; border-top: 1px solid var(--abz-line); font-size: .9rem; }
.abz-weather__day { font-weight: 600; }
.abz-weather__range { text-align: right; font-variant-numeric: tabular-nums; }
.abz-weather__credit { margin: .6rem 0 0; font-size: .75rem; color: var(--abz-muted); }
.abz-weather__credit a { color: inherit; }
@media (max-width: 599px) {
	.abz-weather > summary { min-width: 3.9rem; padding: 0 .55rem; justify-content: center; gap: .25rem; }
	.abz-weather__city { display: none; }
	.abz-weather__panel { position: fixed; left: 1rem; right: 1rem; top: 4rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .abz-weather > summary { transition: none; } }
@media print { .abz-weather { display: none; } }

/* Forms never exceed their container on narrow screens (long Italian labels/hints). */
.abz-form, .abz-field { min-width: 0; max-width: 100%; }
.abz-field :where(input, select, textarea) { box-sizing: border-box; max-width: 100%; }
.abz-field input[type=file] { width: 100%; min-width: 0; }

/* Sponsored / advertorial disclosure */
.abz-sponsored { display: block; margin: 0 0 1.5rem; padding: .85rem 1rem; border: 1px solid var(--abz-line); border-left: 4px solid var(--abz-accent, #0a56a8); background: #f6f6f4; color: var(--abz-muted); font-family: var(--abz-head); font-size: .9rem; line-height: 1.5; }
.abz-sponsored__label { color: #1a1a1a; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; margin-right: .35rem; }
.abz-card__sponsored { align-self: flex-start; font-family: var(--abz-head); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--abz-muted); border: 1px solid var(--abz-line); padding: .05rem .4rem; border-radius: 2px; }

/* Advertising notice under the header (sponsored articles) */
.abz-adbar { background: #f1f1ee; border-bottom: 1px solid var(--abz-line); padding: .5rem 1rem; text-align: center; font-family: var(--abz-head); font-size: .8125rem; line-height: 1.45; color: var(--abz-muted); }
.abz-adbar strong { color: #1a1a1a; }
.abz-adbar a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
