@charset "UTF-8";
/**
 * Master entry point for the migrated rame.css SCSS decomposition.
 * Compiles to assets/css/rame.compiled.css, replacing the legacy static
 * assets/css/rame.css as the enqueued stylesheet (see inc/scripts.php).
 *
 * Partials are @use'd in the same order as their source line ranges
 * appear in the original assets/css/rame.css (not alphabetical, not
 * folder order) — the source relies on cascade/source-order for
 * specificity ties between unrelated selectors, so reordering risks
 * silently changing which rule wins a tie. A partial covering several
 * non-contiguous ranges (base/utilities, article/content,
 * components/related-cards, pages/about, podcast/podcast) is placed
 * once, at the position of its first/primary range.
 *
 * The palette custom properties, the site header and the site footer
 * come from the shared stylesheet of shared/rame-shell (handle
 * `rame-shell`); abstracts/palette is still used by admin.scss.
 */
/**
 * Design tokens of the Magazine home redesign, measured on the 1440px
 * (desktop) and 375px (mobile) mockups. Colors reuse the palette
 * variables; only values with no palette match are new.
 * Surt cap height is 0.76em, which is how sizes were derived from glyphs.
 */
:root {
  /* Display font (Surt Extended Black) */
  --mag-title-font: 'Surt Extended Black', sans-serif;
  --mag-title-size: 40px; /* centered H2 "Storie": 145px wide, cap 31px */
  --mag-title-size-sm: 32px; /* same title at 375px: 117px wide */
  --mag-title-size-left: 18px; /* left H2 "News"/"Parliamone", same on mobile */
  --mag-subtitle-font: 'Surt Extended Regular', sans-serif;
  --mag-subtitle-size: 18px; /* 565px for the Storie subtitle */
  --mag-subtitle-size-sm: 16px;
  --mag-subtitle-lh: 24px; /* line pitch measured on mobile (2 lines) */
  /* Spacing */
  --mag-section-gap: 64px; /* box end to next section title, both viewports */
  --mag-block-gap: 32px; /* e.g. strip to "Parliamone", CTA to app box */
  --mag-title-gap: 16px; /* left title to its content */
  --mag-title-gap-center: 48px; /* centered title/subtitle to its content */
  /* Light-blue rounded box (app box, newsletter, event cards): azzurro-100 */
  --mag-box-bg: var(--azzurro-100);
  --mag-box-bg-strong: var(--azzurro-500); /* app icon tile */
  --mag-box-radius: 10px; /* corner ends 10px from the edge */
  /* Tinted chip (News card): #FCF3F3 is ~14% rosa-500 on white */
  --mag-chip-bg: color-mix(in srgb, var(--rosa-500) 14%, var(--bianco-500));
  --mag-chip-radius: 10px;
  --mag-chip-date: var(--ruggine-500);
  --mag-chip-title: var(--marrone-500);
  /* Full-bleed bands */
  --mag-band-podcast: var(--giallo-100); /* cream, #FCF5E9 */
  --mag-band-glossary: var(--rosa-500); /* pink, #F0AFA1 */
  /* Outline button: 1px ruggine border, 150x50 for "Ultimi articoli" */
  --mag-btn-color: var(--ruggine-500);
  --mag-btn-radius: 6px;
  --mag-btn-padding: 14px 24px;
  --mag-btn-size: 16px;
  /* Small-caps link ("LEGGI TUTTE", 68px wide) */
  --mag-link-color: var(--nero-500);
  --mag-link-size: 10px;
}

/**
 * Migrated from assets/css/rame.css lines 1-46: base element
 * typography (`body`, `h1`-`h4`, `a`, `i`/`em`). Loaded site-wide —
 * literal migration only, no new abstractions.
 */
body {
  font-family: "Surt Normal Regular", sans-serif;
  color: #192649;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  margin-bottom: 1rem;
}

h1 {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 45px;
  color: #8B261F;
}

h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  color: #8B261F;
}

h3 {
  font-family: "Surt Normal Extrabold";
  font-weight: 850;
  color: #8B261F;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -0.01em;
}

h4 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  color: #192649;
  font-size: 20px;
  line-height: 24px;
}

a {
  color: #C05E43;
  transition: color 0.2s;
}

a:hover {
  color: #8B261F;
  text-decoration: none;
}

i, em {
  font-family: "Surt Normal Regular Italic", sans-serif;
}

/**
 * Migrated from assets/css/rame.css lines 49-150: Bootstrap variable
 * overrides (`.row`, `.btn-primary`, `.btn-secondary`, `.form-control`,
 * `.bg-primary`/`.bg-secondary`, `.badge`). Literal migration — these
 * CSS custom-property overrides feed Bootstrap 5's own component CSS
 * loaded separately, so nothing here is safe to restructure.
 */
.row {
  --bs-gutter-x: 1.2rem;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #8b261f;
  --bs-btn-border-color: #8b261f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6F1E19;
  --bs-btn-hover-border-color: #6F1E19;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #565e64;
  --bs-btn-active-border-color: #51585e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
  font-family: "Surt Normal Regular";
  padding: 12px 24px;
}

.btn-secondary {
  --bs-btn-color: #192649;
  --bs-btn-bg: #B6D0F2;
  --bs-btn-border-color: #B6D0F2;
  --bs-btn-hover-color: #192649;
  --bs-btn-hover-bg: #92A6C2;
  --bs-btn-hover-border-color: #92A6C2;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #565e64;
  --bs-btn-active-border-color: #51585e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
}

.form-control {
  padding: 12px 15px;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ADB5BD;
  opacity: 1; /* Firefox */
  font-family: "Surt Normal Light", sans-serif;
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #ADB5BD;
  font-family: "Surt Normal Light", sans-serif;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
  color: #ADB5BD;
  font-family: "Surt Normal Light", sans-serif;
}

.form-control:focus {
  border-color: #8b261f;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(139, 38, 31, 0.25);
}

.btn-check:checked + .btn:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible, .btn:first-child:active:focus-visible, :not(.btn-check) + .btn:active:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(139, 38, 31, 0.25);
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
  background-color: #192649;
  border-color: #192649;
}

.bg-primary {
  background-color: #192649 !important;
  color: #fff;
}

.bg-primary:hover {
  background-color: #121E41 !important;
  color: #fff;
}

.bg-secondary {
  background-color: #fff !important;
  color: #5F5F5F;
}

.badge.bg-primary {
  --bs-badge-color: var(--cat-badge-color, #fff);
}

.badge {
  --bs-badge-padding-x: 12px;
  --bs-badge-padding-y: 8px;
  --bs-badge-font-size: 10px;
  --bs-badge-font-weight: 400;
  --bs-badge-color: #fff;
  --bs-badge-border-radius: 75px;
  border: 1px solid #D7D7D7;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-right: 4px;
  margin-top: 6px;
}

/**
 * Base/global utility grab-bag, literal migration from three
 * non-contiguous ranges of assets/css/rame.css:
 *
 * - Lines 152-154: `.sidebar-sticky`, a generic sticky-column helper
 *   used across many single/archive templates (single.php, tag.php,
 *   category.php, etc.) — sits between the base typography block and
 *   `.main-header` in the source and doesn't belong to either; not a
 *   listed line range in the sub-phase brief but genuinely unmigrated
 *   and generic, so it lands here rather than being left behind.
 * - Lines 3093-3143: misc small utilities — `.single h2`,
 *   `.single .meta-sections a:hover`, `p.small`,
 *   `.text-left`, header nav bold-state overrides per page-template,
 *   `.card-image-resized`.
 * - Lines 3890-3913: the generic (non-`.about-`-prefixed)
 *   `.counter-carousel` rules — deliberately left out of
 *   pages/_about.scss in an earlier sub-phase since it's reused
 *   outside the about page.
 */
.sidebar-sticky {
  top: 160px;
}

/* Article sidebar scrolls with the post: newsletter + membership are taller
   than the viewport, so a sticky column hides the end of the membership box. */
.single .sidebar-sticky {
  position: static;
}

.single h2 {
  color: #192649;
}

.single .meta-sections a:hover {
  background-color: #121E41 !important;
  color: #fff !important;
}

.single .meta-sections a.share:hover {
  background-color: transparent !important;
}

p.small {
  line-height: 16px;
  font-size: 12px;
}

.text-left {
  text-align: left !important;
}

.page-template-page-parliamone .main-header .links .magazine,
.page-template-archive-autori .main-header .links .magazine,
.page-template-page-newsletter .main-header .links .magazine,
.page-template-archive-post_tag .main-header .links .magazine,
.archive .main-header .links .magazine,
.single .main-header .links .magazine,
.post-type-archive .main-header .links .magazine,
.page-template-archive-post .main-header .links .magazine {
  font-weight: bold;
}

.page-template-page-about .main-header .links .chi-siamo {
  font-weight: bold;
}

img.card-img-top {
  visibility: hidden;
}

.card-image-resized {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.page-template-page-parliamone .card-image-resized {
  position: absolute;
  top: 0;
  height: 100%;
}

.counter-carousel strong {
  font-family: "Surt Extended Black";
  font-size: 40px;
  font-weight: 900;
  line-height: 48px;
  display: block;
}

.counter-carousel span {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  text-align: left;
  color: #192649;
  display: block;
  margin-top: 7px;
}

.counter-carousel .count {
  padding: 8px 16px 16px 16px;
  border-radius: 10px;
  background-color: #fff;
}

.counter-carousel.owl-carousel .owl-stage {
  display: flex;
}

/**
 * Migrated from assets/css/rame.css lines 360-393: layout shell —
 * `.main-container` margin rules (incl. `.admin-bar`/`.home`/
 * page-template variants) and `.logo`. The `.admin-bar .main-header`
 * offset lives in shared/rame-shell. Does not overlap `.breadcrumb` (already migrated to
 * components/_breadcrumb.scss in sub-phase 9) which follows directly
 * after this range in the source.
 */
.main-container {
  margin-top: 80px;
}

.home .main-container,
.page-template-page-about .main-container {
  margin-top: 80px;
}

.admin-bar .main-container {
  margin-top: 80px;
}

.home.admin-bar .main-container,
.page-template-page-about.admin-bar .main-container {
  margin-top: 80px;
}

.logo {
  display: flex;
  align-items: center;
  height: 80px;
}

.logo img {
  width: 110px !important;
}

/**
 * Migrated from assets/css/rame.css lines 395-434: `.breadcrumb`.
 * The final rule couples to the numeric category-color theming system
 * (category-13/35 white breadcrumb text) — that coupling is preserved
 * literally here rather than moved into components/_category-theme.scss,
 * matching where the source physically placed it.
 */
.breadcrumb {
  margin-bottom: calc(var(--bs-breadcrumb-margin-bottom) - 3px);
}

.breadcrumb ol {
  padding: 0;
  margin: 0;
}

.breadcrumb ol li {
  display: inline-block;
  position: relative;
}

.breadcrumb ol li:not(:last-child) {
  margin-right: 18px;
}

.breadcrumb ol li:not(:last-child):after {
  content: "•";
  display: inline-block;
  color: #878787;
  font-family: "Surt Normal Light", sans-serif;
  margin: 0 5px;
  position: absolute;
  font-size: 32px;
  top: 0;
  line-height: 20px;
  margin-left: 4px;
}

.breadcrumb ol li a, .breadcrumb ol li a span {
  color: #373737;
  text-decoration: none;
}

.breadcrumb ol li a:hover {
  color: #8B261F;
}

.breadcrumb ol li span {
  color: #6C757D;
}

body.archive.category.category-13 .breadcrumb ol li a span,
body.archive.category.category-35 .breadcrumb ol li a span {
  color: #fff;
}

/**
 * Migrated from assets/css/rame.css lines 436-527: post meta —
 * `.meta-info`, `.author-info` (single/multi-author), `.meta-sections`,
 * `.post-image`. Listed in the decomposition map as its own target
 * (components/_post-meta.scss) but not picked up by any of the first
 * 11 sub-phases; migrated here as part of completing the full
 * decomposition. Used across single templates.
 */
.meta-info time, .meta-info p {
  display: inline-block;
  font-size: 14px;
  line-height: 16.8px;
  letter-spacing: -0.01em;
  color: #5F5F5F;
}

.meta-info, .author-info {
  border-bottom: 1px solid #D7D7D7;
}

.meta-info {
  margin-top: 22px;
  padding-bottom: 16px;
}

.meta-info p {
  color: #878787;
  margin-bottom: 0;
}

.meta-info p:before {
  content: "|";
  font-family: "Surt Normal Light", sans-serif;
  display: inline-block;
  color: #D7D7D7;
  margin-left: 4px;
  margin-right: 9px;
}

.meta-info p span {
  color: #5F5F5F;
}

.author-info header h2 {
  font-size: 16px;
  line-height: 24px;
  color: #373737;
  margin-bottom: 1px;
}

.author-info header h2 a {
  color: #83A89F;
  font-family: "Surt Normal Bold", sans-serif;
  font-weight: 850;
}

.author-info header h2 a:hover {
  color: #8B261F;
}

h2 a:hover, .author a:hover {
  color: #8B261F !important;
}

.author-info figure {
  margin-right: 12px;
  margin-bottom: 0;
}

.author-info figure img {
  height: 48px;
  width: 48px;
}

.author-info figure figcaption {
  display: none;
}

.author-info section p {
  color: #5F5F5F;
  font-size: 14px;
  line-height: 16.8px;
  margin-bottom: 15px;
}

.multi-authors {
  padding-bottom: 8px;
}

.multi-authors figure {
  margin-right: 4px;
}

.multi-authors figure:has(+ div) {
  margin-right: 9px;
}

.meta-sections {
  padding: 8px 0 14px 0;
}

.post-image {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #F4D0BA;
}

.post-image img {
  border-radius: 5px;
}

.post-image figcaption {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #878787;
  margin-top: 6px;
}

/**
 * Migrated from assets/css/rame.css lines 541-663 (newsletter/membership/
 * app sidebar widgets). The shared box-model rule (padding/border-radius/
 * margin-top/position) is factored into a %sidebar-widget-base
 * placeholder — first use of this pattern in the migration, validated
 * against production output below. Everything past that base rule is
 * migrated literally: newsletter/membership share some descendant rules
 * (h4, p, small, .btn, .wp-block-image img) via the same comma-grouping
 * as the source, but .app's equivalents differ enough in property sets
 * (not just color) that folding them into the same abstraction would be
 * a real semantic change, not a safe refactor — left as-is per the
 * migration plan's "land literal first, refactor separately" convention
 * (same call made for the gift-item color variants).
 */
.newsletter, .membership, .app {
  padding: 15px 23px 20px;
  border-radius: 10px;
  margin-top: 24px;
  position: relative;
}

.newsletter {
  border: 1px solid #E1E1E1;
  background-color: #E2ECFA;
}

.newsletter, .membership {
  width: 100%;
  padding: 23px;
}

.membership {
  margin-top: 26px;
}

.newsletter .form-control,
.membership .form-control {
  height: 48px;
}

.newsletter .btn,
.membership .btn {
  height: 50px;
}

.newsletter .btn {
  background-color: #8B261F;
  border-color: #8B261F;
}

.newsletter .widget > strong,
.membership .widget > strong {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 12px;
  color: #8B261F;
}

.newsletter h4,
.membership h4 {
  margin-top: 4px;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-right: 100px;
}

.newsletter p,
.membership p {
  color: #192649;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 16px;
}

.newsletter .form-group {
  margin-bottom: 8px;
}

.newsletter small,
.membership small {
  font-size: 12px;
}

.newsletter small strong,
.membership small strong {
  font-family: "Surt Normal Extrabold";
}

.newsletter small a,
.membership small a {
  color: #192649;
}

.newsletter small br,
.membership small br {
  content: "";
  margin: -10px;
  display: block;
}

.newsletter .btn,
.membership .btn {
  margin-bottom: 9px;
}

.newsletter .wp-block-image img,
.membership .wp-block-image img {
  max-width: 100px;
  width: 100%;
  height: auto;
  position: absolute;
  top: 24px;
  right: 25px;
}

.membership {
  border: 1px solid #fff;
  background-color: #192649;
}

.membership .widget > strong {
  color: #B6D0F2;
}

.membership h4, .membership p {
  color: #fff;
}

.membership small, .membership small a {
  color: #F0F6FC;
}

.membership .btn {
  color: #192649;
  background-color: #B6D0F2;
  font-family: "Surt Normal Regular";
}

.membership .btn:hover {
  color: #192649;
  background-color: #92a6c2;
  border-color: #92a6c2;
}

.membership .btn:active {
  color: #fff;
  background-color: #192649;
  border-color: #192649;
}

.membership .wp-block-image img {
  max-width: 82px;
}

.app {
  border: 1px solid #E2ECFA;
  background: #F0F6FC;
}

.app h4 {
  color: #83A89F;
}

.app h4, .app p {
  margin-bottom: 7px;
}

.app img {
  width: 100%;
  max-width: 155px;
  height: auto;
}

.app .widget {
  flex: 0 0 auto;
  width: 50%;
}

.app .widget:last-child {
  text-align: right;
}

/**
 * Migrated from assets/css/rame.css lines 667-929 (`.content` article body:
 * drop-cap, iframe, headings, lists, blockquote, `.minititle`, and the
 * `.content`-scoped wrapper overrides for `.wp-block-gallery`/
 * `.block-related`/`.block-tip`/`.block-glossary`/`.wp-block-quote` — these
 * own in-article width/spacing, distinct from the already-migrated
 * each block's own `inc/blocks/<name>/<name>.css` file (own internal
 * styling), plus
 * the owl-carousel dot/nav rules and `.border-line`), and lines 1033-1083
 * (`.summary` TOC, `.divider`) — bundled here as article reading-page
 * furniture per this sub-phase's split judgment call. `#scrollToTop` is
 * styled by shared/rame-shell.
 */
.content {
  line-height: 26px;
}

.content > p {
  margin-bottom: 26px;
}

.content > p:first-of-type:first-letter {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 52px;
  color: var(--cat-color, #8B261F);
  float: left;
  margin-right: 15px;
}

.content iframe {
  width: 100%;
  border-top: 1px solid #F4D0BA;
  border-bottom: 1px solid #F4D0BA;
  padding: 16px 0;
  height: 140px;
  margin-top: 11px;
}

.content h3 {
  margin-top: 27px;
  margin-bottom: 15px;
}

.content h4 {
  margin-top: 27px;
  margin-bottom: 15px;
  font-family: "Surt Normal Extrabold", sans-serif;
  font-size: 16px;
  font-weight: 850;
  line-height: 19.2px;
  color: var(--blu-500);
}

.content mark {
  padding: 0 2px;
  background-color: var(--cipria-500);
  color: inherit;
}

.content p.is-style-disclaimer {
  font-size: 13px;
  line-height: 16px;
  color: var(--nero-300);
}

.content h2,
.content h3,
.content h4,
.content p,
.content ul,
.content ol,
.content .minititle,
.content iframe,
.content .wp-block-gallery,
.content .block-related,
.content .wp-block-quote,
.content .wp-block-buttons {
  width: 74%;
}

.content .wp-block-buttons .wp-element-button {
  padding: 8px 12px;
  background-color: #8B261F;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.content ul, .content ol {
  padding-left: 28px;
}

.content ol > li::marker {
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
  color: var(--cat-color, #8B261F);
}

.content .wp-block-pullquote {
  width: 74%;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  background: none;
  color: #8B261F;
  font-family: "Surt Extended Regular";
  font-size: 23px;
  font-weight: 400;
  line-height: 26px;
}

.content .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.content .wp-block-pullquote p {
  margin-bottom: 0;
  font-size: inherit;
  line-height: inherit;
}

.content blockquote {
  font-family: "Surt Extended Regular";
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: #8B261F;
  margin: 62px auto;
}

.content blockquote p {
  width: 100%;
}

.content .minititle {
  font-family: "Surt Normal Extrabold", sans-serif;
  font-size: 16px;
  font-weight: 850;
  line-height: 19.2px;
  color: #373737;
}

.content img {
  max-width: 100%;
  height: auto;
}

.content .wp-element-caption,
.content figure figcaption {
  font-size: 13px;
  color: #878787;
}

.content .wp-element-caption a,
.content figure figcaption a {
  color: inherit;
  text-decoration: underline;
}

/*
.content .wp-block-gallery.owl-carousel figcaption{
    margin-top: 54px;
}
*/
.content .wp-block-gallery.owl-carousel figure {
  position: relative;
}

.content .wp-block-gallery.owl-carousel figure img {
  border-radius: 5px;
}

.content .wp-block-gallery.owl-carousel figure figcaption {
  margin-top: 54px;
}

.content .wp-block-gallery.owl-carousel .owl-nav,
.content .wp-block-gallery.owl-carousel .owl-dots {
  position: absolute;
}

.content .wp-block-gallery.owl-carousel .owl-nav {
  bottom: 56px;
  right: 9px;
}

.content .wp-block-gallery.owl-carousel .owl-dots {
  bottom: 62px;
}

.content .block-related {
  margin-top: 16px;
  margin-bottom: 16px;
  padding-left: 0;
  padding-right: 0;
}

.content .block-related + .block-related {
  margin-top: -16px;
}

.content .block-related + .block-related strong {
  display: none;
}

.content .block-related + .block-related .related-container {
  border-top: 0;
}

.content .block-related a {
  text-decoration: none;
}

.content .block-related strong {
  display: block;
  font-family: "Surt Normal Extrabold";
  font-size: 12px;
  font-weight: 850;
  line-height: 20px;
  text-transform: uppercase;
  color: #373737;
  margin-left: 0;
}

.content .block-related .related-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid #D7D7D7;
  border-bottom: 1px solid #D7D7D7;
}

.content .block-related .related-col {
  display: block;
  width: auto;
  max-width: none;
  padding: 0;
}

.content .block-related .related-col:first-child {
  flex: 1 1 auto;
}

.content .block-related .related-col:last-child:not(:first-child) {
  flex: 0 0 96px;
}

.content .block-related h4 {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #8B261F;
  font-family: "Surt Extended Black";
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
}

.content .block-related figure {
  margin: 0;
}

.content .block-related img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 7px;
}

.content .block-tip {
  border-radius: 5px;
  border-top: 6px solid #8B261F;
  background-color: #FDF6F1;
  padding: 20px 24px 8px 37px;
  width: 70.3%;
  margin-top: 16px;
  margin-bottom: 32px;
}

.content .block-tip h4 {
  color: #8B261F;
}

.content .block-tip p {
  width: 100%;
}

.content .block-glossary {
  border-radius: 5px;
  border-top: 6px solid #F0AFA1;
  background-color: #FCEFEC;
  padding: 18px 32px 16px;
  width: 70.3%;
  margin-top: 16px;
  margin-bottom: 32px;
  text-align: center;
}

.content .block-glossary h5 {
  color: #24376A;
  font-size: 14px;
  text-transform: uppercase;
  font-family: "Surt Extended Black";
  margin-bottom: 10px;
}

.content .block-glossary h4 {
  color: #8B261F;
  font-size: 24px;
  margin-bottom: 34px;
  width: 100%;
}

.content .block-glossary p {
  font-family: Georgia, "Times New Roman", Times, serif;
  width: 100%;
  text-align: left;
}

.content .wp-block-quote {
  font-family: "Surt Normal Regular";
  padding: 21px 0 21px 43px;
  margin-bottom: 6px;
  margin-top: 16px;
  position: relative;
}

.content .wp-block-quote:before {
  content: "";
  display: block;
  background-color: #B6D0F2;
  width: 7px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.content .wp-block-quote p {
  font-size: 22px;
  line-height: 26px;
  color: #8B261F;
  margin-bottom: 6px;
  margin-top: 0;
}

.content .wp-block-quote cite {
  font-size: 16px;
  color: #5F5F5F;
  font-style: normal;
  margin-bottom: 16px;
  display: block;
}

.content .wp-block-quote cite strong {
  font-family: "Surt Normal Extrabold";
}

.owl-carousel button.owl-dot {
  border: 1.5px solid #8B261F;
  height: 14px;
  width: 14px;
  border-radius: 16px;
  /*margin-right: 4px;*/
  margin-right: 10px;
}

.owl-carousel button.owl-dot.active {
  background: #8B261F;
}

.owl-carousel .owl-nav button.owl-prev {
  margin-right: 10px;
}

.owl-carousel .owl-nav button.disabled {
  display: none;
}

.border-line {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  margin-top: 26px;
}

.border-line::before,
.border-line::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px; /* This is the height of the gray line */
  background-color: #D7D7D7; /* This is the color of the gray line */
}

.border-line::before {
  left: calc(var(--bs-gutter-x) * 0.5); /* Uguale al padding-left del contenitore */
  width: calc(50% - 26px); /* Calcolo per far terminare la linea dove inizia l'SVG, escludendo il padding */
}

.border-line::after {
  right: calc(var(--bs-gutter-x) * 0.5); /* Uguale al padding-right del contenitore */
  width: calc(50% - 26px); /* Calcolo per far terminare la linea dove inizia l'SVG, escludendo il padding */
}

.summary {
  border-top: 1px solid var(--cipria-500);
  border-bottom: 1px solid var(--cipria-500);
}

.summary strong, .summary a {
  font-family: "Surt Normal Extrabold";
  font-size: 16px;
  font-weight: 850;
  color: var(--blu-500);
}

.summary a {
  text-decoration: underline;
}

.summary ul {
  margin-top: 18px;
  margin-bottom: 26px;
}

.summary ul li {
  list-style-type: none;
  padding-left: 20px;
  padding-top: 2px;
  padding-bottom: 2px;
  position: relative;
}

.summary ul li::before {
  content: "";
  background-color: var(--ruggine-500);
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 14px;
}

.divider {
  height: 182px;
}

/**
 * End-of-article app promo box (partials/box-app.php).
 */
.box-app {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 74%;
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: 10px;
  background-color: var(--azzurro-100);
}

.box-app-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

.box-app-text {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--blu-500);
}

.box-app-text a {
  font-family: "Surt Normal Extrabold";
  font-weight: 850;
  text-decoration: underline;
  color: var(--blu-500);
}

.block-in-breve {
  width: 74%;
  margin-bottom: 16px;
  padding: 24px 24px 27px;
  background-color: #F4F3FF;
  border-top: 6px solid #8159C4;
  border-radius: 0 0 4px 4px;
  color: #192649;
  font-size: 16px;
  line-height: 26px;
}
.block-in-breve__header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8159C4;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.block-in-breve__icon {
  flex: none;
}
.block-in-breve__title {
  width: 100%;
  margin: 8px 0;
  font-weight: 700;
}
.block-in-breve ol {
  width: 100%;
  margin: 0;
  padding-left: 24px;
}
.block-in-breve li {
  font-size: 16px;
  line-height: 26px;
}
@media (max-width: 991px) {
  .block-in-breve {
    width: 100%;
  }
}

.block-sponsor {
  width: 74%;
  margin-bottom: 16px;
  padding: 20px 16px;
  background-color: #F0F6FC;
  border-radius: 4px;
  color: #192649;
  font-size: 16px;
  line-height: 26px;
}
.block-sponsor p {
  width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
.block-sponsor p + p {
  margin-top: 8px;
}
.block-sponsor a {
  color: #C05E43;
  text-decoration: underline;
}
@media (max-width: 991px) {
  .block-sponsor {
    width: 100%;
  }
}

.block-allegati {
  width: 74%;
  margin-bottom: 16px;
  color: var(--blu-500);
  font-size: 16px;
  line-height: 26px;
}
.block-allegati__item {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 73px;
  padding: 15px 10px;
  background-color: var(--azzurro-100);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.block-allegati__item:hover, .block-allegati__item:focus-visible, .block-allegati__item:active {
  background-color: var(--azzurro-200);
}
.block-allegati__item + .block-allegati__item {
  margin-top: 8px;
}
.block-allegati__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--ruggine-500);
  border-radius: 50%;
}
.block-allegati__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: 20px;
}
.block-allegati__title {
  color: var(--ruggine-500);
  font-size: 16px;
  line-height: 26px;
  text-decoration: underline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.block-allegati__meta {
  color: var(--blu-200);
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.block-allegati__label {
  width: 100%;
  margin: 0 0 8px;
  color: var(--ruggine-500);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
.block-allegati__notice {
  width: 100%;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 20px;
}
.block-allegati__notice a {
  color: var(--ruggine-500);
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 991px) {
  .block-allegati {
    width: 100%;
  }
}

.block-podcast {
  width: 74%;
  margin-bottom: 16px;
  padding: 16px 0;
  border-top: 2px solid var(--rosa-300);
  border-bottom: 2px solid var(--rosa-300);
  color: var(--blu-500);
  font-size: 16px;
  line-height: 26px;
}
.block-podcast__label {
  width: 100%;
  margin: 0 0 12px;
  font-weight: 700;
}
.block-podcast__embed {
  width: 100%;
  margin: 0;
}
.block-podcast__embed iframe {
  display: block;
  width: 100%;
  border: 0;
}
.block-podcast__embed a {
  color: var(--ruggine-500);
  text-decoration: underline;
}
@media (max-width: 991px) {
  .block-podcast {
    width: 100%;
  }
}

/**
 * Migrated from assets/css/rame.css lines 930-948: `.social` share links,
 * used by partials/modal-share.php.
 */
.social a {
  margin: 0 5px;
  text-decoration: none;
}

.social a:hover:not(.copylink) svg path {
  fill: #8b261f;
}

.social a.copylink {
  background: #373737;
  border-radius: 56px;
  padding: 5px 3px;
  vertical-align: middle;
}

.social a.copylink:hover {
  background-color: #8b261f;
}

.social a.copylink svg {
  margin-top: -2px;
}

.share-label {
  display: block;
  font-size: 16px;
  color: #373737;
}

.social.share-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social.share-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #373737;
}

.social.share-row a svg {
  width: 20px;
  height: 20px;
  margin: 0;
}

.social.share-row a:hover {
  background: #8b261f;
}

.social.share-row a:hover:not(.copylink) svg path {
  fill: #fff;
}

/**
 * Migrated from assets/css/rame.css lines 954-1031 (`.related-teaser`,
 * `.related` card grid) and lines 1085-1098 (`.current-category` owl-carousel
 * nav, bundled here since it's the nav for the `.related.current-category`
 * carousel above).
 */
.related-teaser {
  border-top: 1px solid #C05E43;
  padding-top: 16px;
  padding-bottom: 16px;
  margin: 0;
}

.related-teaser h3 {
  font-size: 24px;
  color: #373737;
  margin-bottom: 0;
}

.related-teaser a {
  font-size: 14px;
  color: #83A89F;
  font-family: "Surt Normal Light";
  font-weight: 400;
  line-height: 24px;
  min-width: 74px;
}

.related-teaser a:hover {
  color: #8b261f;
}

.related a {
  text-decoration: none;
}

.related a:hover .card-title {
  color: #192649;
}

.related .card {
  --bs-card-spacer-y: 0;
  --bs-card-spacer-x: 0;
  --bs-card-border-width: 0;
}

.related.current-category .card-img-top {
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
}

.related .card-img-top {
  min-height: 200px;
}

.related .card-text {
  font-size: 14px;
  color: #878787;
}

.related .card-category {
  margin-top: 3px;
  margin-bottom: 4px;
}

.related .card-category small {
  color: #192649 !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.related .card-title {
  font-family: "Surt Extended Black", sans-serif;
  color: #8B261F;
  font-size: 18px;
  font-weight: 900;
  line-height: 22px;
  margin-bottom: 10px;
  transition: color 0.5s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 66px;
}

.related .card-body {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.related.current-tags .card-body {
  padding: 0 16px 15px;
}

.current-category.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50px);
  width: 100%;
}

.current-category.owl-carousel .owl-nav .owl-prev {
  position: absolute;
  left: -10px;
}

.current-category.owl-carousel .owl-nav .owl-next {
  position: absolute;
  right: -20px;
}

.article-related-teaser h3 {
  font-size: 25px;
  font-weight: 700;
  line-height: 120%;
  color: #373737;
}

.article-related-teaser a {
  font-size: 14px;
  color: #373737;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.article-related-teaser a:hover {
  color: #8b261f;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(139, 38, 31, 0.35);
}

.article-related .card-img-top {
  width: 100%;
  aspect-ratio: 261/177;
  min-height: 0;
  object-fit: cover;
  border-radius: 4px;
}

.article-related .card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EEEEEE;
}

.article-related .card-body {
  padding: 15px 0 0;
}

.article-related.current-tags .card-body {
  padding: 15px 0 0;
}

.article-related .card-category {
  margin: 0 0 10px;
}

.article-related .card-category small {
  font-size: 13px;
}

.article-related .card-title {
  color: var(--cat-color, #8B261F);
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 22px;
}

.article-related a:hover .card-title {
  color: var(--cat-color, #8B261F);
}

.article-related .card-text {
  color: #373737;
}

.related.current-tags.article-related .col-12 .card-body {
  background-color: transparent !important;
}

.related.current-tags.article-related .col-12 .card-title {
  color: var(--cat-color, #8B261F);
}

.related.current-tags.article-related .col-12 .card-text {
  color: #373737;
}

/**
 * "Altro in <tag>" (tipologia): desktop cards filled with the category
 * color (`--cat-color` from `.category-<id>` on the column), per the
 * article mockup; below 992px they become a horizontal scroller (see the
 * second block).
 * Label is cipria on dark fills, navy on the light ones (332, 6, 20, 539).
 */
.article-related.current-tags > [class*=category-] {
  --cat-card-label: var(--cipria-500);
}

.article-related.current-tags > .category-332,
.article-related.current-tags > .category-6,
.article-related.current-tags > .category-20,
.article-related.current-tags > .category-539 {
  --cat-card-label: var(--blu-500);
}

@media (min-width: 992px) {
  .article-related.current-tags > [class*=col-] > a {
    display: block;
    height: 100%;
  }
  .article-related.current-tags .card {
    height: 100%;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--cat-color, #8B261F);
  }
  .article-related.current-tags .card-img-top {
    border-radius: 0;
    aspect-ratio: 468/317;
  }
  .related.current-tags.article-related .col-12 .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 16px;
    background-color: transparent !important;
  }
  .article-related.current-tags .card-category {
    margin: 0 0 4px;
  }
  .article-related.current-tags .card-category small {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--cat-card-label) !important;
  }
  .related.current-tags.article-related .col-12 .card-title,
  .article-related.current-tags a:hover .card-title {
    font-family: var(--mag-title-font, inherit);
    font-weight: 900;
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 24px;
  }
  .related.current-tags.article-related .col-12 .card-text {
    margin: auto 0 0;
    font-size: 14px;
    color: #fff;
  }
}
/* Mobile: both "Altro in" sections are horizontal scrollers of 261px cards under a one-row header; tag cards are filled with the category color. */
@media (max-width: 991px) {
  .article-related-teaser > div {
    flex-direction: row;
    align-items: center !important;
  }
  .article-related-teaser h3 {
    font-size: 22px;
    line-height: 1.2;
  }
  .article-related-teaser a {
    font-size: 14px;
  }
  .row.related.article-related {
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }
  .row.related.article-related > [class*=col-] {
    flex: 0 0 261px;
    width: 261px;
    padding: 0;
    scroll-snap-align: start;
  }
  .row.related.article-related > [class*=col-] > a {
    display: block;
    height: 100%;
  }
  .row.related.article-related .card {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: 100%;
    padding: 0;
    border: 0;
  }
  .row.related.article-related .card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 261/177;
    border-radius: 5px;
  }
  .row.related.article-related .card-body {
    flex: 1 1 auto;
    padding: 12px 0 0;
  }
  .row.related.article-related .card-category small {
    font-size: 12px;
  }
  .row.related.article-related .card-title {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .row.related.article-related .card-text {
    font-size: 14px;
  }
  .row.related.current-tags.article-related .card {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--cat-color, #8B261F);
  }
  .row.related.current-tags.article-related .card-img-top {
    border-radius: 0;
  }
  .row.related.current-tags.article-related .col-12 .card-body {
    padding: 16px;
  }
  .row.related.current-tags.article-related .card-category small {
    font-weight: 500;
    text-transform: uppercase;
    color: var(--cat-card-label) !important;
  }
  .row.related.current-tags.article-related .col-12 .card-title {
    font-family: var(--mag-title-font, inherit);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 24px;
  }
  .row.related.current-tags.article-related .col-12 .card-text {
    margin: auto 0 0;
    font-size: 14px;
    color: #fff;
  }
}
/**
 * Hover (measured on the prototype recording): the image gets a ~17% white
 * veil and the title fades by the same amount, no zoom and no outer shadow.
 * lazy-images wraps `img.card-img-top` in `.card-image-resized` (the same
 * picture as its background-image), so the veil goes on that wrapper: fading
 * only the img would let the background show through. An unwrapped direct
 * `.card-img-top` (placeholder, JS not run yet) is covered as well.
 * Tag cards sit on a colored fill, so they brighten the image with a filter
 * instead of fading it over the fill, and the fill itself darkens by 15%.
 */
.article-related .card-image-resized {
  overflow: hidden;
  border-radius: 4px;
}

.article-related.current-tags .card-image-resized {
  border-radius: 0;
}

@media (max-width: 991px) {
  .article-related .card-image-resized {
    border-radius: 5px;
  }
  .article-related.current-tags .card-image-resized {
    border-radius: 0;
  }
}
@media (hover: hover) {
  .article-related .card-image-resized,
  .article-related .card > .card-img-top,
  .article-related .card-title {
    transition: opacity 0.3s, filter 0.3s;
  }
  .article-related a:hover .card-image-resized,
  .article-related a:hover .card > .card-img-top {
    opacity: 0.83;
  }
  .article-related.current-category a:hover .card-title {
    opacity: 0.83;
  }
  .article-related.current-tags .card {
    transition: background-color 0.3s;
  }
  .article-related.current-tags a:hover .card {
    background-color: color-mix(in srgb, var(--cat-color, #8B261F), #000 15%);
  }
  .article-related.current-tags a:hover .card-image-resized,
  .article-related.current-tags a:hover .card > .card-img-top {
    opacity: 1;
    filter: brightness(1.18) saturate(0.83);
  }
}
/**
 * Data map backing the numeric `.category-<id>` color theming system,
 * migrated from assets/css/rame.css lines 1100-1447. Keyed by category
 * ID (matches the source's inline Italian-name comments). `primary` is
 * the single color value that recurs identically across every category's
 * text-color rule AND border-color rule in the source (verified during
 * migration — every category uses the exact same hex for both), which is
 * the one piece of this system regular enough to drive a Sass @each loop
 * (see components/_category-theme.scss for why the rest is NOT looped).
 *
 * This is a SEPARATE, unrelated system from the name-keyed
 * `.category-<slug>` theming in magazine/_magazine-home.scss
 * (`.magazine-argomenti .category-investimenti` etc.) — do not merge them.
 */
/**
 * Migrated from assets/css/rame.css lines 1100-1447: the numeric
 * `.category-<id>` color theming system (9 categories: 112, 332, 6, 539,
 * 531, 20, 546, 35, 13).
 *
 * DEVIATION FROM THE MIGRATION PLAN'S ORIGINAL PROPOSAL: the decomposition
 * map described this as "9 near-identical ~15-line groups... with only
 * color values and a couple of per-category presence/absence quirks
 * differing" and proposed a full `$category-colors` map + `@each` loop.
 * Reading the actual source line-by-line during this migration found the
 * irregularity goes much deeper than "a couple of quirks" — selector
 * MEMBERSHIP (not just color) differs per category in almost every rule
 * group: some categories lack `.archive.category.category-N h2 a` in the
 * text-color group (546, 35), lack it entirely (13), use `.col-12`-scoped
 * variants of the background rule (531, 20, 546, 35, 13) while others use
 * plain selectors (112, 332, 6, 539), have different excerpt-color values
 * (531 uses #B6D0F2, everyone else uses #F4D0BA), have one-off extra rules
 * found nowhere else (112's `.highlight-post.category-112` excerpt/hover
 * overrides), or omit whole rule groups (13 has no text-color group at
 * all — see note below). Forcing all of that into one generic `@each`
 * would require per-category conditional flags for nearly every line,
 * which reconstructs the literal CSS with MORE risk of a silent
 * selector/rule mismatch, not less — the same "don't force it" judgment
 * already made for the gift-item color variants and the non-base rules of
 * the sidebar widgets (see campaigns/_gift-campaigns.scss and
 * components/_sidebar-widgets.scss).
 *
 * What IS safely reducible: every category's border-color rule (image
 * borders on `.articoli a`, `.tax-autori .list-post`, and
 * `.page-template-archive-post_tag .list-post`) has the exact same
 * 3-selector shape and reuses the exact same color value as that
 * category's text-color rule — verified for all 9 categories against
 * `abstracts/_category-map.scss`. That one group is generated below via
 * `@each`; everything else is migrated literally, grouped per category
 * with the source's own Italian-name comments preserved, in source order.
 *
 * Separate from this is the name-keyed `.category-<slug>` system in
 * magazine/_magazine-home.scss (`.magazine-argomenti .category-investimenti`
 * etc.) — do not merge the two.
 */
.category-112 {
  --cat-color: #CF4937;
}

.category-332 {
  --cat-color: #F4AB9B;
  --cat-badge-color: #192649;
}

.category-6 {
  --cat-color: #95BDF2;
  --cat-badge-color: #192649;
}

.category-539 {
  --cat-color: #6CB4A3;
}

.category-531 {
  --cat-color: #34629E;
}

.category-20 {
  --cat-color: #F4BE72;
  --cat-badge-color: #192649;
}

.category-546 {
  --cat-color: #C05E43;
}

.category-35 {
  --cat-color: #734540;
}

.category-13 {
  --cat-color: #8B261F;
}

:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) h1,
:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) h1 + h2,
:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) .author-info h2 a,
:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) .content h3,
:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) .content > p:first-of-type:first-letter,
:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) .related.current-category .card-title {
  color: var(--cat-color);
}

:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) .badge.bg-primary,
:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) .summary ul li:before {
  background-color: var(--cat-color) !important;
}

.articoli a.category-112 img,
.tax-autori .list-post .category-112 img,
.page-template-archive-post_tag .list-post .category-112 img {
  border-color: #CF4937;
}

.articoli a.category-332 img,
.tax-autori .list-post .category-332 img,
.page-template-archive-post_tag .list-post .category-332 img {
  border-color: #F4AB9B;
}

.articoli a.category-6 img,
.tax-autori .list-post .category-6 img,
.page-template-archive-post_tag .list-post .category-6 img {
  border-color: #95BDF2;
}

.articoli a.category-539 img,
.tax-autori .list-post .category-539 img,
.page-template-archive-post_tag .list-post .category-539 img {
  border-color: #6CB4A3;
}

.articoli a.category-531 img,
.tax-autori .list-post .category-531 img,
.page-template-archive-post_tag .list-post .category-531 img {
  border-color: #34629E;
}

.articoli a.category-20 img,
.tax-autori .list-post .category-20 img,
.page-template-archive-post_tag .list-post .category-20 img {
  border-color: #F4BE72;
}

.articoli a.category-546 img,
.tax-autori .list-post .category-546 img,
.page-template-archive-post_tag .list-post .category-546 img {
  border-color: #C05E43;
}

.articoli a.category-35 img,
.tax-autori .list-post .category-35 img,
.page-template-archive-post_tag .list-post .category-35 img {
  border-color: #734540;
}

.articoli a.category-13 img,
.tax-autori .list-post .category-13 img,
.page-template-archive-post_tag .list-post .category-13 img {
  border-color: #8B261F;
}

.articoli a.category-112 h4,
.archive.category.category-112 h2 a,
.tax-autori .list-post .category-112 h2 a,
.page-template-archive-post_tag .list-post .category-112 h2 a {
  color: #CF4937;
}

.archive.category.category-112 .title-teaser,
.page-template-page-parliamone .category-112,
.page-template-archive-post .category-112 {
  background-color: #CF4937 !important;
}

.archive.category.category-112 h1,
.archive.category.category-112 .breadcrumb ol li:after,
.page-template-page-parliamone .category-112 .category a,
.page-template-page-parliamone .category-112 .excerpt,
.page-template-archive-post .category-112 .category a,
.page-template-archive-post .category-112 .excerpt {
  color: #F4D0BA !important;
}

.page-template-page-parliamone .highlight-post.category-112 .excerpt,
.page-template-page-parliamone .highlight-post.category-112 .category a {
  color: #192649 !important;
}

.page-template-archive-post .highlight-post.category-112 a:hover {
  color: #F4D0BA !important;
}

.archive.category.category-112 .breadcrumb ol li a {
  color: #fff;
}

.archive.category.category-112 .highlight-post {
  background-color: #F3E9E9;
}

.articoli a.category-332 h4,
.archive.category.category-332 h2 a,
.tax-autori .list-post .category-332 h2 a,
.page-template-archive-post_tag .list-post .category-332 h2 a {
  color: #F4AB9B;
}

.archive.category.category-332 .title-teaser,
.page-template-page-parliamone .category-332,
.page-template-archive-post .category-332 {
  background-color: #F4AB9B !important;
}

.archive.category.category-332 h1 {
  color: #fff;
}

.articoli a.category-6 h4,
.archive.category.category-6 h2 a,
.tax-autori .list-post .category-6 h2 a,
.page-template-archive-post_tag .list-post .category-6 h2 a {
  color: #95BDF2;
}

.archive.category.category-6 .title-teaser,
.page-template-page-parliamone .category-6,
.page-template-archive-post .category-6 {
  background-color: #95BDF2 !important;
}

.archive.category.category-6 h1 {
  color: #192649;
}

.archive.category.category-6 .highlight-post {
  background-color: #F4F8FE;
}

.articoli a.category-539 h4,
.archive.category.category-539 h2 a,
.tax-autori .list-post .category-539 h2 a,
.page-template-archive-post_tag .list-post .category-539 h2 a {
  color: #6CB4A3;
}

.archive.category.category-539 .title-teaser,
.page-template-page-parliamone .category-539,
.page-template-archive-post .category-539 {
  background-color: #6CB4A3 !important;
}

.archive.category.category-539 h1 {
  color: #192649;
}

.archive.category.category-539 .highlight-post {
  background-color: #F4F8FE;
}

.archive.category.category-539 .highlight-post h2 a:hover {
  color: #8B261F !important;
}

.articoli a.category-531 h4,
.archive.category.category-531 h2 a,
.tax-autori .list-post .category-531 h2 a,
.page-template-archive-post_tag .list-post .category-531 h2 a {
  color: #34629E;
}

.archive.category.category-531 .title-teaser,
.page-template-page-parliamone .category-531 .col-12,
.page-template-archive-post .category-531 .col-12,
.page-template-archive-post .single-post.category-531 {
  background-color: #34629E !important;
}

.archive.category.category-531 h1,
.archive.category.category-531 .breadcrumb ol li:after,
.page-template-page-parliamone .category-531 .category a,
.page-template-archive-post .category-531 .category a {
  color: #F4D0BA !important;
}

.archive.category.category-531 .breadcrumb ol li a {
  color: #fff !important;
}

.archive.category.category-531 .highlight-post {
  background-color: #F3E9E9;
}

.page-template-page-parliamone .category-531 .excerpt,
.page-template-archive-post .category-531 .excerpt {
  color: #B6D0F2;
}

.articoli a.category-20 h4,
.archive.category.category-20 h2 a,
.tax-autori .list-post .category-20 h2 a,
.page-template-archive-post_tag .list-post .category-20 h2 a {
  color: #F4BE72;
}

.archive.category.category-20 .title-teaser,
.page-template-page-parliamone .category-20 .col-12,
.page-template-archive-post .category-20 .col-12,
.page-template-archive-post .category-20 {
  background-color: #F4BE72 !important;
}

.archive.category.category-20 h1 {
  color: #192649;
}

.archive.category.category-20 .highlight-post {
  background-color: #F3E9E9;
}

.articoli a.category-546 h4,
.tax-autori .list-post .category-546 h2 a,
.page-template-archive-post_tag .list-post .category-546 h2 a {
  color: #C05E43;
}

.archive.category.category-546 .title-teaser,
.page-template-page-parliamone .category-546 .col-12,
.page-template-archive-post .category-546 .col-12,
.page-template-archive-post .category-546 {
  background-color: #C05E43 !important;
}

.archive.category.category-546 h1,
.archive.category.category-546 .breadcrumb ol li:after,
.page-template-page-parliamone .category-546 .excerpt,
.page-template-archive-post .category-546 .excerpt,
.page-template-archive-post .category-546 {
  color: #F4D0BA !important;
}

.archive.category.category-546 .breadcrumb ol li a {
  color: #fff;
}

.archive.category.category-546 .highlight-post {
  background-color: #F3E9E9;
}

.articoli a.category-35 h4,
.tax-autori .list-post .category-35 h2 a,
.page-template-archive-post_tag .list-post .category-35 h2 a {
  color: #734540;
}

.archive.category.category-35 .title-teaser,
.page-template-page-parliamone .category-35 .col-12,
.page-template-archive-post .category-35 .col-12 {
  background-color: #734540 !important;
}

.archive.category.category-35 h1,
.archive.category.category-35 .breadcrumb ol li:after,
.page-template-page-parliamone .category-35 .category a,
.page-template-page-parliamone .category-35 .excerpt,
.page-template-archive-post .category-35 .excerpt {
  color: #F4D0BA !important;
}

.archive.category.category-35 .breadcrumb ol li a {
  color: #fff;
}

.archive.category.category-35 .highlight-post {
  background-color: #F3E9E9;
}

.archive.category.category-13 .title-teaser,
.page-template-page-parliamone .category-13 .col-12,
.page-template-archive-post .category-13 .col-12 {
  background-color: #8B261F !important;
}

.articoli a.category-112 h4 {
  color: #8B261F;
}

.archive.category.category-13 h1,
.page-template-page-parliamone .category-13 .category a,
.page-template-page-parliamone .category-13 .excerpt,
.page-template-archive-post .category-13 .excerpt {
  color: #F4D0BA !important;
}

.archive.category.category-13 .breadcrumb ol li a {
  color: #fff;
}

.archive.category.category-13 .breadcrumb ol li:after {
  color: #F4D0BA;
}

.archive.category.category-13 .highlight-post {
  background-color: #F3E9E9;
}

:is(.category-112, .category-332, .category-6, .category-539, .category-531, .category-20, .category-546, .category-35, .category-13) .related.current-tags .card-title {
  color: var(--cat-color);
}

/**
 * Migrated from assets/css/rame.css lines 1450-1631: `.archive.category h2`,
 * `.title-teaser`, `.highlight-post` (including "parliamone"/archive-post
 * page-template variants), and the 5 stacked `@media` blocks that follow
 * (desktop-first: 1399/1199/991/767/575/992px). Media queries are preserved
 * literally in their original order and values — do NOT rewrite to
 * mobile-first. Note the last two media blocks include `.related`
 * selectors (`.card-img-top`, `.card-title`) even though `.related` itself
 * lives in components/_related-cards.scss — kept here because that's where
 * the source physically grouped them (inside this page-template's own
 * media-query stack), matching the "preserve media queries exactly" rule.
 */
.archive.category h2 {
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  font-family: "Surt Extended Regular";
}

.title-teaser {
  padding-top: 36px;
}

.title-teaser h1 {
  font-size: 45px;
  margin-bottom: 13px;
}

.page-template-page-parliamone .title-teaser h2,
.page-template-archive-post .title-teaser h2 {
  font-size: 18px;
  line-height: 24px;
  font-family: "Surt Extended Regular";
}

.page-template-page-parliamone .highlight-post .author a,
.page-template-page-parliamone .list-post .author a,
.page-template-archive-post .highlight-post .author a,
.page-template-archive-post .list-post .author a {
  text-decoration: underline;
}

.page-template-page-parliamone .list-post .author:after,
.page-template-archive-post .list-post .author:after {
  margin-top: -1px;
  color: #D7D7D7;
}

.page-template-page-parliamone .highlight-post h2 a,
.page-template-page-parliamone .list-post h2 a,
.page-template-page-parliamone .highlight-post .mt-auto,
.page-template-page-parliamone .list-post .mt-auto,
.page-template-page-parliamone .highlight-post .mt-auto a,
.page-template-page-parliamone .list-post .mt-auto a,
.page-template-archive-post .highlight-post h2 a,
.page-template-archive-post .list-post h2 a,
.page-template-archive-post .highlight-post .mt-auto,
.page-template-archive-post .list-post .mt-auto,
.page-template-archive-post .highlight-post .mt-auto a,
.page-template-archive-post .list-post .mt-auto a {
  color: #fff;
}

.highlight-post {
  padding: 32px 0;
  margin-bottom: 19px;
}

.highlight-post img {
  border-radius: 5px;
  width: 100%;
}

.highlight-post .category a {
  font-size: 14px;
  line-height: 18px;
  font-family: "Surt Extended Black";
  color: #192649;
  text-transform: uppercase;
  text-decoration: none;
}

.highlight-post h2 a {
  font-size: 28px;
  line-height: 34px;
  font-family: "Surt Extended Black";
  color: #8B261F;
  text-decoration: none;
}

.highlight-post h2 a:hover {
  color: inherit !important;
}

/* Hovering the title or the image dims both together. */
.highlight-post h2 a,
.highlight-post img,
.list-post h2 a,
.list-post img {
  transition: opacity 0.2s;
}

.highlight-post .row:has(h2 a:hover, a:hover > img) h2 a,
.highlight-post .row:has(h2 a:hover, a:hover > img) img,
.list-post .single-post:has(h2 a:hover, a:hover > img) h2 a,
.list-post .single-post:has(h2 a:hover, a:hover > img) img {
  opacity: 0.8;
}

.highlight-post .author {
  float: left;
  margin-right: 20px;
}

.highlight-post .author a {
  color: #83A89F;
  text-decoration: none;
}

.highlight-post .author:after {
  content: "|";
  color: #CFCFCF;
  font-family: "Surt Normal Light";
  font-size: 15px;
  margin-top: 1px;
  position: absolute;
  margin-left: 7px;
}

.highlight-post .excerpt {
  margin-bottom: 22px;
}

/*.page-template-page-parliamone .sidebar-sticky{
    top: 120px;
}*/
.page-template-page-parliamone .highlight-post {
  padding-bottom: 0;
  margin-bottom: 8px;
  background-color: #fff !important;
}

.page-template-page-parliamone .highlight-post .container {
  max-width: 1116px;
}

.page-template-page-parliamone .highlight-post .row {
  background-color: #F4BE72;
  border-radius: 10px;
  overflow: hidden;
}

.description-container {
  padding: 22px 26px 24px 26px !important;
}

.page-template-page-parliamone .highlight-post img {
  border-radius: 0;
}

.page-template-page-parliamone .highlight-post .row {
  --bs-gutter-x: 24px;
}

@media (max-width: 1399px) {
  .page-template-page-parliamone .highlight-post .container {
    max-width: 1115px;
  }
}
@media (max-width: 1199px) {
  .page-template-page-parliamone .highlight-post .container {
    max-width: 936px;
  }
  .related .card-img-top {
    min-height: 165px;
  }
}
@media (max-width: 991px) {
  .page-template-page-parliamone .highlight-post .container {
    max-width: 720px;
  }
  .page-template-page-parliamone .highlight-post .row {
    --bs-gutter-x: 0;
  }
  .page-template-page-parliamone .highlight-post .category a {
    font-size: 12px;
  }
  .page-template-page-parliamone .highlight-post h2 a {
    font-size: 24px;
  }
  .related .card-img-top {
    min-height: 120px;
  }
}
@media (max-width: 767px) {
  .page-template-page-parliamone .highlight-post .container {
    max-width: 540px;
  }
  .related .card-img-top {
    min-height: 190px;
  }
}
@media (max-width: 575px) {
  .page-template-page-parliamone .highlight-post .container {
    max-width: 100%;
  }
  .related .card-title {
    min-height: 0;
  }
  .related .card-img-top {
    min-height: auto;
  }
}
@media (min-width: 992px) {
  .pl-md-0 {
    padding-left: 0;
  }
  .pr-md-0 {
    padding-right: 0;
  }
}
/**
 * Migrated from assets/css/rame.css lines 1634-1732: `.list-post` (incl.
 * `.noimage` and the "parliamone" page-template variant), `.loadmore`,
 * and `li:has(strong)`.
 */
.list-post {
  font-size: 14px;
  margin-top: 12px;
}

.list-post img {
  border-radius: 5px;
  width: 100%;
}

.list-post .category a {
  font-size: 12px;
  line-height: 14.4px;
  font-family: "Surt Extended Black";
  color: #192649;
  text-transform: uppercase;
  text-decoration: none;
}

.list-post h2 a {
  font-size: 20px;
  line-height: 24px;
  font-family: "Surt Extended Black";
  color: #8B261F;
  text-decoration: none;
}

.list-post .author {
  float: left;
  margin-right: 20px;
}

.list-post .author a {
  color: #83A89F;
  text-decoration: none;
}

.list-post .author:after {
  content: "|";
  color: #CFCFCF;
  font-family: "Surt Normal Light";
  font-size: 15px;
  margin-top: 1px;
  position: absolute;
  margin-left: 7px;
}

.list-post .excerpt {
  line-height: 16.8px;
  margin-bottom: 3px;
}

.list-post .single-post {
  position: relative;
  border-bottom: 1px solid #D7D7D7;
  padding-top: 11px;
  padding-bottom: 11px;
}

.list-post .mt-auto {
  color: #5F5F5F;
}

.list-post .single-post.noimage {
  padding-top: 25px;
  padding-bottom: 20px;
}

.list-post .single-post.noimage .category {
  margin-bottom: 7px;
}

.list-post .single-post.noimage h2 {
  margin-bottom: 9px;
}

.page-template-page-parliamone .list-post {
  padding: 0 19px;
  margin-top: 24px;
}

.page-template-page-parliamone .list-post .single-post {
  border: none;
  background-color: #F4BE72;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}

.page-template-page-parliamone .list-post .single-post .excerpt {
  margin-bottom: 18px;
}

.page-template-page-parliamone .list-post .box-card {
  padding: 22px 26px 24px 26px !important;
}

.page-template-page-parliamone .list-post img {
  border-radius: 0;
}

.page-template-page-parliamone .list-post h2 {
  font-size: 20px;
  line-height: 24px;
}

.loadmore {
  width: auto;
  padding: 7px 16px;
  margin: auto;
}

li:has(strong)::marker {
  font-weight: bold;
}

/**
 * Migrated from assets/css/rame.css lines 1772-1863: the
 * `.page-template-archive-post`/`.page-template-archive-autori` title-teaser
 * heading overrides, `.author-list`, `.col-20p`, `.author-foo`,
 * `.author-teaser`, `.num-posts`, and the `.tax-autori`/
 * `.page-template-archive-post_tag` list-post overrides.
 */
.page-template-archive-post .title-teaser h1 {
  font-size: 80px;
  line-height: 96px;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.page-template-archive-post .title-teaser h2,
.page-template-archive-autori .title-teaser h2 {
  font-family: "Surt Extended Regular", sans-serif;
  font-size: 18px;
  line-height: 21.6px;
}

.author-list {
  padding: 32px 80px 0;
  margin-top: 24px;
  border-top: 1px solid #D7D7D7;
  border-bottom: 1px solid #D7D7D7;
}

.author-list a {
  text-decoration: none;
  text-align: center;
}

.author-list img {
  max-width: 100%;
  width: 136px;
  display: block;
  margin: auto;
  margin-bottom: 8px;
}

.author-list h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 20px;
  line-height: 24px;
  width: 82%;
  margin: auto;
}

.author-list .col-20p {
  margin-bottom: 64px;
}

.col-20p {
  width: 20%;
}

.author-foo {
  padding-top: 22px;
  padding-bottom: 136px;
}

.author-foo strong {
  font-family: "Surt Normal Extrabold", sans-serif;
}

.author-foo a {
  color: #192649;
}

.author-teaser {
  padding-bottom: 24px;
}

.author-teaser img {
  max-width: 100%;
  width: 164px;
}

.author-teaser h1 {
  font-size: 36px;
  line-height: 24px;
  margin-top: 20px;
  margin-bottom: 26px;
}

.num-posts {
  border-top: 1px solid #D7D7D7;
}

.num-posts p {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: #393939;
}

.tax-autori .list-post .category a,
.page-template-archive-post_tag .list-post .category a {
  font-family: "Surt Normal Extrabold", sans-serif;
  font-size: 12px;
  line-height: 14.4px;
  letter-spacing: -0.01em;
}

.tax-autori .list-post img,
.page-template-archive-post_tag .list-post img {
  border-top: 6px solid #8B261F;
}

/**
 * Migrated from assets/css/rame.css lines 1864-1931: `.category-glossario`,
 * `.glossario-posts`, `.letters-container`, `.letters` (the A-Z owl-carousel
 * nav used by `inc/ajax.php`'s `load_glossary_letter` action).
 */
.category-glossario .title-teaser h2 {
  color: #192649;
}

.glossario-posts {
  background-color: #FCEFEC;
  margin-bottom: -48px;
  padding-bottom: 48px;
  padding-top: 36px;
}

.category-glossario .list-post .single-post {
  background-color: #fff;
  border-radius: 10px;
  border: none;
  margin-bottom: 8px;
  padding: 32px 22px 28px;
}

.category-glossario .list-post .single-post h2 {
  margin-bottom: 14px;
}

.category-glossario .list-post .single-post h2 a {
  font-size: 24px;
}

.category-glossario .list-post .single-post .excerpt {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 24px;
}

.category-glossario .list-post h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 52px;
  line-height: 35px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.letters-container {
  background-color: #F0AFA1;
}

.letters {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 28px;
  line-height: 35px;
  color: #F6CFC7;
  position: relative;
  text-align: center;
}

.letters a {
  color: #8B261F;
  text-decoration: none;
}

.letters .owl-nav {
  position: absolute;
  top: 13px;
  width: 100%;
}

.letters .owl-nav .owl-prev {
  position: absolute;
  left: 0;
}

.letters .owl-nav .owl-next {
  position: absolute;
  right: 0;
}

.letters .owl-stage-outer {
  margin: 0 45px;
  padding: 16px 0;
}

.filters {
  font-size: 14px;
  line-height: 22px;
  color: #323232;
  letter-spacing: 0.02em;
  padding-top: 45px;
  padding-bottom: 45px;
}
.filters select {
  font-size: 14px;
  line-height: 16px;
  color: #192649;
  background-color: #E2ECFA;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  max-width: 118px;
}

.search .filters {
  padding-top: 14px;
  padding-bottom: 27px;
}

#search-input {
  border: none;
  border-bottom: 1px solid #5F5F5F;
  width: 100%;
  font-family: "Surt Extended Black";
  font-size: 40px;
  font-weight: 900;
  line-height: 45px;
  color: #373737;
  padding: 4px 30px 4px 1px;
}

#search-form button {
  border: none;
  background: transparent;
  position: absolute;
  right: 4px;
  bottom: 0;
  height: 100%;
}
#search-form button svg {
  margin-left: 18px;
}

input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
input[type=search]::-moz-search-cancel-button {
  display: none;
}
input[type=search]::-ms-clear {
  display: none;
}
input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
input[type=search]::-moz-search-cancel-button {
  display: none;
}
input[type=search]::-ms-clear {
  display: none;
}
input[type=search]:focus {
  outline: none;
}
input[type=search]::placeholder {
  color: #878787;
}
input[type=search]:-moz-placeholder {
  color: #878787;
}
input[type=search]::-ms-input-placeholder {
  color: #878787;
}

.current-tag {
  display: inline-block;
  text-transform: uppercase;
  color: #373737;
  border: 1px solid #D7D7D7;
  border-radius: 75px;
  padding: 9px 17px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  cursor: pointer;
  margin-bottom: 34px;
  margin-top: -12px;
}
.current-tag svg {
  margin-left: 8px;
  margin-top: -3px;
}

/**
 * Shared keyboard focus ring for the search modal and topics filter.
 * Emits nothing by itself, include it from a :focus-visible rule.
 */
/**
 * Search modal (#searchModal, partials/modal-search.php). Drops from the
 * top as a full-width panel; below 992px it becomes a full-screen sheet
 * (see mediaquery/_bp-991-search-modal.scss).
 */
body.search-modal-open .modal-backdrop {
  --bs-backdrop-bg: rgb(9 18 43);
  --bs-backdrop-opacity: 0.55;
  backdrop-filter: blur(6px);
}

.search-modal .search-modal__dialog {
  max-width: none;
  margin: 0;
}
.search-modal.fade .search-modal__dialog {
  transform: translateY(-16px);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.search-modal.show .search-modal__dialog {
  transform: none;
}
.search-modal.fade {
  transition: opacity 0.2s linear;
}
.search-modal .modal-content {
  border: 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 30px 80px rgba(0, 10, 34, 0.35);
  max-height: 92vh;
  overflow: auto;
  padding: 28px max(32px, (100% - 960px) / 2 + 32px) 48px;
}

@media (prefers-reduced-motion: reduce) {
  .search-modal.fade,
  .search-modal.fade .search-modal__dialog {
    transition: none;
    transform: none;
  }
}
.search-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.search-modal__header h2 {
  margin: 0;
  font-family: "Surt Extended Black", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: #161616;
}

.search-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--grigio-300, #DEE2E6);
  border-radius: 20px;
  background: #fff;
  color: #373737;
  cursor: pointer;
}
.search-modal__close:hover {
  background: var(--azzurro-100, #F0F6FC);
}

.search-modal__field {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.search-modal__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 3px solid var(--ruggine-500, #8B261F);
  border-radius: 0;
  background: transparent;
  font-family: "Surt Extended Black", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ruggine-900, #1C0806);
}
.search-modal__input::placeholder {
  color: #AFAFAF;
}
.search-modal__input:focus {
  outline: none;
}
.search-modal__input:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

.search-modal__clear {
  flex: none;
  align-self: center;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  background: var(--azzurro-100, #F0F6FC);
  font-size: 13px;
  color: #373737;
  cursor: pointer;
}
.search-modal__clear[hidden] {
  display: none;
}
.search-modal__clear:hover {
  background: var(--azzurro-200, #E2ECFA);
}

.search-modal__submit {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--ruggine-500, #8B261F);
  font-family: "Surt Normal Bold", "Surt Normal Regular", sans-serif;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
.search-modal__submit:hover {
  background: var(--ruggine-600, #6F1E19);
}
.search-modal__submit:active {
  background: var(--ruggine-700, #531713);
}

.search-modal__section {
  margin-top: 32px;
}

.search-modal__label {
  margin: 0 0 14px;
  font-family: "Surt Normal Regular", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5F5F5F;
}

.search-modal__topics,
.search-modal__frequent {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-chip__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--topic-color, var(--ruggine-500, #8B261F));
}

.topic-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1.5px solid var(--topic-color, var(--grigio-300, #DEE2E6));
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  line-height: 1.3;
  color: #161616;
  cursor: pointer;
}
.topic-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.topic-chip:hover {
  background: var(--azzurro-100, #F0F6FC);
}
.topic-chip:has(input:checked),
.topic-chip input:checked ~ .topic-chip__name {
  color: var(--ruggine-700, #531713);
}
.topic-chip:has(input:checked) {
  background: var(--cipria-200, #FBECE3);
  box-shadow: inset 0 0 0 1px var(--topic-color, var(--ruggine-700, #531713));
}
.topic-chip input:checked ~ .topic-chip__name::after {
  content: "✓";
  margin-left: 8px;
  font-weight: 700;
}
.topic-chip:has(input:focus-visible) {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

.frequent-chip {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--grigio-300, #DEE2E6);
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.3;
  color: #161616;
  text-decoration: none;
}
.frequent-chip:hover {
  background: var(--azzurro-100, #F0F6FC);
  color: var(--ruggine-700, #531713);
}
.frequent-chip:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

.search-modal__close:focus-visible,
.search-modal__clear:focus-visible,
.search-modal__submit:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

/**
 * Search results page topics filter (search.php): dropdown with
 * checkboxes plus the active-topics chips row. The `#search-form`
 * prefix is needed to beat the blanket `#search-form button` rule in
 * _filters-search.scss (absolute-positioned icon buttons).
 */
.topics-filter {
  position: relative;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

#search-form .topics-filter button {
  position: static;
  height: auto;
  font: inherit;
  color: #161616;
  cursor: pointer;
}
#search-form .topics-filter button svg {
  margin-left: 0;
}

#search-form .topics-filter__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--grigio-300, #DEE2E6);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  line-height: 16px;
}
#search-form .topics-filter__toggle.is-active {
  border-color: var(--blu-400, #24376A);
  background: var(--azzurro-200, #E2ECFA);
}
#search-form .topics-filter__toggle:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

.topics-filter__menu {
  position: absolute;
  top: 44px;
  left: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  padding: 6px;
  border: 1px solid var(--grigio-300, #DEE2E6);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 10, 34, 0.12);
}
.topics-filter__menu[hidden] {
  display: none;
}

#search-form .topics-filter__all {
  width: 100%;
  margin-bottom: 6px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--grigio-300, #DEE2E6);
  border-radius: 6px 6px 0 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  color: var(--ruggine-700, #531713);
}
#search-form .topics-filter__all:hover {
  background: var(--azzurro-100, #F0F6FC);
}
#search-form .topics-filter__all:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

.topics-filter__option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
.topics-filter__option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.topics-filter__option:hover, .topics-filter__option:has(input:checked) {
  background: var(--azzurro-100, #F0F6FC);
}
.topics-filter__option:has(input:checked)::after {
  content: "✓";
  margin-left: auto;
  font-weight: 700;
  color: var(--ruggine-700, #531713);
}
.topics-filter__option:has(input:focus-visible) {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: -2px;
}
.topics-filter__option .topic-chip__dot {
  width: 8px;
  height: 8px;
}

#search-form .topics-filter__apply {
  margin-left: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ruggine-500, #8B261F);
  font-size: 14px;
  color: #fff;
}
#search-form .topics-filter__apply[hidden] {
  display: none;
}

.topics-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.topics-active[hidden] {
  display: none;
}

#search-form .topics-active__chip {
  position: static;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--cipria-200, #FBECE3);
  font-size: 14px;
  line-height: 1.3;
  color: var(--ruggine-700, #531713);
  cursor: pointer;
}
#search-form .topics-active__chip svg {
  margin-left: 0;
}
#search-form .topics-active__chip:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

#search-form .topics-active__reset {
  position: static;
  height: auto;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ruggine-500, #8B261F);
  text-decoration: underline;
  cursor: pointer;
}
#search-form .topics-active__reset:hover {
  color: var(--ruggine-700, #531713);
}
#search-form .topics-active__reset:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

/**
 * Search results page (search.php): search bar, result count, filters row
 * (topics dropdown + sort), active topic chips and the image-less result
 * list. Values measured from the mocks "Cerca Risultati Desktop/Mobile 2026"
 * (desktop 1440px real viewport, mobile 750px at 2x so halved here); font
 * sizes are inferred from glyph heights. Colours map to palette tokens
 * (--ruggine-500 #8B261F, --blu-500 #192649, --azzurro-200 #E2ECFA,
 * --nero-200 #AFAFAF); #D7D7D7 (hairlines) and #373737 (body grey) are the
 * existing literals used by list-post / filters-search.
 *
 * Selectors are prefixed with `#search-form` where the blanket
 * `#search-form button` rule in _filters-search.scss (shared with
 * archive-category.php) would otherwise apply; the mobile layout starts
 * below 992px (Bootstrap lg), like the rest of the theme.
 */
.search .filters.search-page {
  padding-top: 87px;
  padding-bottom: 0;
}

/* Search bar ------------------------------------------------------------- */
.search-page .search-bar {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 18px;
}
.search-page .search-bar #search-input {
  flex: 0 1 530px;
  box-sizing: border-box;
  width: 530px;
  max-width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #D7D7D7;
  border-radius: 3px;
  background: #fff;
  font-family: inherit;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #373737;
}
.search-page .search-bar #search-input::placeholder {
  color: var(--nero-200, #AFAFAF);
}
.search-page .search-bar #search-input:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

#search-form .search-bar__submit {
  position: static;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--ruggine-500, #8B261F);
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  cursor: pointer;
}
#search-form .search-bar__submit:hover {
  background: var(--ruggine-600, #6F1E19);
}
#search-form .search-bar__submit:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}
#search-form .search-bar__submit .search-bar__submit-icon {
  display: none;
  margin: 0;
}

/* Count ------------------------------------------------------------------ */
.search-page .search-summary {
  margin-top: 108px;
  padding: 0 3px 15px;
  border-bottom: 1px solid #D7D7D7;
}
.search-page .search-summary .num-posts {
  border: 0;
}
.search-page .search-summary .num-posts p {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  color: #373737;
}

/* Filters row: topics dropdown + sort ------------------------------------ */
.search-page .search-controls {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 992px) {
  .search-page .search-controls {
    margin-left: 26.25%;
    width: 65.25%;
  }
}
.search-page .search-controls .topics-filter {
  margin: 0;
}

.search-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.search-sort__label {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
  color: #373737;
}

.search-sort__mobile,
.topics-filter__label-mobile {
  display: none;
}

.search-page .search-sort select,
#search-form .topics-filter__toggle {
  box-sizing: border-box;
  height: 32px;
  max-width: none;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background-color: var(--azzurro-200, #E2ECFA);
  font-size: 14px;
  line-height: 32px;
  color: var(--blu-500, #192649);
  cursor: pointer;
}
.search-page .search-sort select:hover,
#search-form .topics-filter__toggle:hover {
  background-color: var(--azzurro-300, #D3E3F7);
}
.search-page .search-sort select:focus-visible,
#search-form .topics-filter__toggle:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}

.search-page .search-sort select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23192649'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

#search-form .topics-filter__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#search-form .topics-filter__toggle.is-active {
  background-color: var(--azzurro-300, #D3E3F7);
}

.search-page .topics-active {
  margin-top: 12px;
}
@media (min-width: 992px) {
  .search-page .topics-active {
    margin-left: 26.25%;
    width: 65.25%;
  }
}

/* Result list ------------------------------------------------------------ */
.search-results {
  margin-bottom: 52px;
}
.search-results .list-post {
  margin-top: 0;
  font-size: 14px;
}
@media (min-width: 992px) {
  .search-results .list-post {
    margin-left: 26.25%;
    width: 65.25%;
  }
}
.search-results .single-post.search-item {
  position: relative;
  padding: 16px 0;
  border-bottom: 1px solid #D7D7D7;
}

.search-item__category {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.search-item__category a {
  color: var(--blu-500, #192649);
  text-decoration: none;
}

.search-item__title {
  margin: 0 0 6px;
  font-family: "Surt Extended Black", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 24px;
}
.search-item__title a {
  color: var(--ruggine-500, #8B261F);
  text-decoration: none;
}
.search-item__title a:hover {
  text-decoration: underline;
}

.search-item__excerpt {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 17px;
  color: var(--blu-500, #192649);
}
.search-item__excerpt p {
  margin: 0;
}

.search-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  font-size: 14px;
  line-height: 18px;
  color: #373737;
}
.search-item__meta a {
  color: inherit;
  text-decoration: underline;
}

.search-item__author + .search-item__date {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #D7D7D7;
}

.search-results__more {
  margin-top: 48px;
  text-align: center;
}
.search-results__more .loadmore {
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: var(--ruggine-500, #8B261F);
  font-size: 16px;
  line-height: 38px;
  color: #fff;
}
.search-results__more .loadmore:hover {
  background: var(--ruggine-600, #6F1E19);
}

/* Mobile (< 992px): pill search, Filtri / Ordina outlined buttons ---------- */
@media (max-width: 991px) {
  .search .filters.search-page,
  .search .search-results {
    padding-right: 20px;
    padding-left: 20px;
  }
  .search .filters.search-page {
    padding-top: 38px;
  }
  .search-page .search-bar #search-input {
    flex: 1 1 auto;
    width: 100%;
    height: 80px;
    padding: 0 68px 0 41px;
    border-color: var(--nero-200, #AFAFAF);
    border-radius: 40px;
    font-family: "Surt Extended Black", sans-serif;
    font-size: 26px;
    font-weight: 900;
  }
  #search-form .search-bar__submit {
    position: absolute;
    top: 0;
    right: 24px;
    width: 48px;
    height: 80px;
    background: transparent;
    color: var(--blu-900, #000A22);
  }
  #search-form .search-bar__submit:hover {
    background: transparent;
  }
  #search-form .search-bar__submit .search-bar__submit-text {
    display: none;
  }
  #search-form .search-bar__submit .search-bar__submit-icon {
    display: block;
  }
  .search-page .search-summary {
    margin-top: 58px;
    padding: 0 0 12px;
  }
  .search-page .search-controls {
    margin-top: 24px;
  }
  .search-sort__label,
  .topics-filter__label,
  .topics-filter__count {
    display: none;
  }
  .topics-filter__label-mobile {
    display: inline;
  }
  .search-page .topics-filter {
    position: static;
  }
  .search-sort__mobile,
  #search-form .topics-filter__toggle {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 33px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--blu-500, #192649);
    border-radius: 0;
    background-color: #fff;
    font-size: 16px;
    line-height: 31px;
    color: var(--blu-500, #192649);
  }
  #search-form .topics-filter__toggle:hover, #search-form .topics-filter__toggle.is-active {
    background-color: var(--azzurro-100, #F0F6FC);
  }
  .search-sort {
    position: relative;
    gap: 0;
  }
  .search-sort__mobile {
    pointer-events: none;
  }
  .search-page .search-sort select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  .search-page .search-sort:has(select:focus-visible) .search-sort__mobile {
    outline: 2px solid var(--blu-400, #24376A);
    outline-offset: 2px;
  }
  .search-page .topics-filter__menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: auto;
    max-height: 60vh;
    margin-top: 8px;
    overflow-y: auto;
  }
  #search-form .topics-filter__all,
  #search-form .topics-active__chip,
  #search-form .topics-active__reset,
  .topics-filter__option {
    min-height: 44px;
  }
  .search-results .list-post {
    margin-top: 0;
  }
  .search-results .single-post.search-item {
    padding: 18px 0;
  }
  .search-item__title {
    font-size: 20px;
    line-height: 22px;
  }
  .search-item__excerpt {
    font-size: 15px;
  }
}
/**
 * Migrated from assets/css/rame.css lines 2031-2130. The source
 * interleaves video and eventi rules under two shared comma-selector
 * groups (`.video-container .related-teaser, .event-container
 * .related-teaser` and the archive-video/serie-podcast/podcast
 * title-teaser rule); both are split here into their per-domain
 * declaration blocks, which is structurally equivalent to the
 * original grouped selector — see assets/scss/eventi/_eventi.scss
 * and assets/scss/podcast/_podcast.scss for the other halves.
 */
.video-post {
  margin-top: 24px;
}

.video-post .category {
  font-family: "Surt Extended Black";
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 19px;
  margin-bottom: 11px;
}

.video-post h1 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 55px;
}

.video-post time {
  font-size: 16px;
  line-height: 28px;
  color: rgba(48, 48, 48, 0.8);
}

.video-post .content-video {
  margin-top: 21px;
}

.player-container {
  position: relative;
}

.player-container svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.player-container img {
  border-radius: 5px;
}

.player-container img, .player-container svg {
  cursor: pointer;
}

.player-container iframe {
  width: 100% !important;
  height: 413px !important;
}

.video-container .related-teaser {
  border-color: #D7D7D7;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 68px;
}

.video-container .related-teaser h3 {
  font-family: "Surt Normal Regular";
  font-weight: 400;
  font-size: 24px;
  line-height: 28.8px;
  color: #373737;
}

.video-container .related-teaser a {
  font-family: "Surt Normal Regular";
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #373737;
  text-decoration: none;
  text-transform: uppercase;
}

.page-template-archive-video .title-teaser h2 {
  font-family: "Surt Extended Regular";
  color: #192649;
  font-size: 18px;
  line-height: 24px;
}

.page-template-archive-video .highlight-post {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 32px;
}

.page-template-archive-video .highlight-post .container {
  border-top: 1px solid #D7D7D7;
  border-bottom: 1px solid #D7D7D7;
  padding-top: 32px;
  padding-bottom: 32px;
}

.page-template-archive-video .highlight-post .mt-auto {
  color: rgba(48, 48, 48, 0.8);
}

/**
 * Migrated from assets/css/rame.css lines 2077-2300. See
 * assets/scss/video/_video.scss for the eventi-side split of the
 * two comma-selector groups originally shared with video rules.
 */
div[id^=eventbrite-widget-container-] iframe {
  height: 480px;
  width: 100%;
}

.event-container .related-teaser {
  border-color: #D7D7D7;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 68px;
}

.event-container .related-teaser h3 {
  font-family: "Surt Normal Regular";
  font-weight: 400;
  font-size: 24px;
  line-height: 28.8px;
  color: #373737;
}

.event-container img {
  border-radius: 5px;
}

.event-container .related .card-category {
  margin-top: 8px;
}

.event-container .related .card-category small {
  text-transform: initial;
  font-size: 16px;
  line-height: 24px;
}

.event-container .related .card-text {
  font-family: "Surt Normal Bold";
  text-transform: uppercase;
  color: #5F5F5F;
}

.event-container .date {
  font-size: 20px;
  line-height: 24px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.event-container h1 {
  font-size: 32px;
  line-height: 38.4px;
  margin-bottom: 12px;
}

.event-container .type {
  padding: 5px 12px 5px 12px;
  border-radius: 55px;
  display: inline-block;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.event-container .type.free {
  background: #FFCD29;
}

.event-container .type.member {
  background: #192649;
  color: #fff;
}

.event-container .type.past {
  background: #C05E43;
  color: #fff;
  position: absolute;
  top: 10px;
  left: 10px;
}

.event-container .meta-items {
  font-size: 18px;
  line-height: 22px;
}

.event-container .meta-items .place {
  font-family: "Surt Extended Black";
}

.event-container .subscribe a {
  padding: 13px 55px;
}

.event-container h2 {
  font-family: "Surt Normal Extrabold";
  font-size: 24px;
  line-height: 32px;
  color: #83A89F;
  margin-bottom: 8px;
}

.event-container .event-info strong {
  display: block;
}

.event-container .event-content {
  border-top: 1px solid #D7D7D7;
  padding-top: 45px;
  margin-top: 26px;
}

.page-template-archive-eventi .title-teaser .container {
  border-bottom: 1px solid #D7D7D7;
}

.page-template-archive-eventi .title-teaser h2 {
  font-family: "Surt Extended Regular";
  font-size: 18px;
  line-height: 24px;
  color: #8B261F;
}

.event-list {
  padding-top: 64px;
}

.event-list .event {
  background-color: #F0F6FC;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 32px;
}

.event-list .event .day {
  font-size: 40px;
  line-height: 37px;
  letter-spacing: -0.011em;
  margin-bottom: 8px;
}

.event-list .event .month {
  font-size: 24px;
  line-height: 16.8px;
  letter-spacing: -0.011em;
  margin-bottom: 16px;
}

.event-list .event .year {
  font-size: 16px;
  line-height: 19.2px;
  letter-spacing: -0.011em;
  margin-bottom: 24px;
}

.event-list .event .range,
.event-list .event .city {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.01em;
}

.event-list .event .city {
  font-family: "Surt Normal Bold";
}

.event-list .event .type {
  font-size: 12px;
  line-height: 14.4px;
  margin-bottom: 12px;
}

.event-list .event h2 {
  margin-bottom: 20px;
}

.event-list .event h2 a {
  font-family: "Surt Extended Black";
  text-decoration: none;
  font-size: 24px;
  line-height: 28.8px;
  color: #8B261F;
}

.event-list .event .excerpt {
  font-size: 14px;
  line-height: 22px;
}

.event-list .event .event-infos {
  padding-left: 30px;
}

.event-list .event .event-info {
  border-right: 1px solid #DADBDB;
}

.event-list .info-keep {
  padding-top: 44px;
}

.event-list .info-keep strong {
  font-family: "Surt Normal Extrabold";
  display: block;
}

.event-list .info-keep a {
  color: #192649;
}

.no-events a {
  color: #192649;
}

.no-events img {
  margin-bottom: 32px;
  width: 280px;
}

/**
 * Migrated from assets/css/rame.css lines 2302-2398: homepage hero
 * and intro sections — `.hero`, the reusable `.link` style,
 * `.hint-container`, `.multicolor-container` (newsletter/membership
 * split-color teaser), and the `.pl-110`/`.pl-22` spacing utilities
 * used inside those two columns.
 */
.hero {
  background: #F0AFA1;
  padding-top: 47px;
  padding-bottom: 450px;
  background-size: cover;
  background-position: top center;
}
.hero h1 {
  font-size: 72px;
  line-height: 72px;
  margin-bottom: 32px;
}
.hero p {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 32px;
}
.hero .btn {
  margin-bottom: 8px;
}

.link {
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  color: #192649;
  display: block;
}

.hint-container {
  padding: 94px 0 48px;
}
.hint-container h2 {
  font-family: "Surt Extended Black";
  font-size: 32px;
  line-height: 38.4px;
  letter-spacing: -0.011em;
}
.hint-container p {
  font-family: "Surt Extended Regular";
  font-size: 21px;
  line-height: 32px;
  letter-spacing: -0.01em;
}
.hint-container strong {
  font-family: "Surt Normal Bold";
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.hint-container img {
  width: 48px;
  margin-right: 16px;
}

.multicolor-container {
  background: linear-gradient(to right, #FCEFEC 50%, #E2ECFA 50%);
}
.multicolor-container .action-newsletter, .multicolor-container .action-membership {
  padding-top: 82px;
  padding-bottom: 72px;
}
.multicolor-container .action-newsletter {
  background: #FCEFEC;
}
.multicolor-container .action-membership {
  background: #E2ECFA;
}
.multicolor-container img {
  margin-bottom: 12px;
}
.multicolor-container .action-newsletter img {
  width: 339px;
}
.multicolor-container .action-membership img {
  width: 225px;
}
.multicolor-container h3 {
  font-family: "Surt Extended Black";
  font-size: 24px;
  font-weight: 900;
  line-height: 28.8px;
  margin-bottom: 16px;
}
.multicolor-container .action-membership h3 {
  color: #192649;
}
.multicolor-container p {
  margin-bottom: 40px;
}

.pl-110 {
  padding-left: 110px;
}

.pl-22 {
  padding-left: 22px;
}

/**
 * Migrated from assets/css/rame.css lines 2399-2477: the homepage
 * "membership features" accordion (`.membership-features-container`)
 * and its 5 `.feat-N` color variants.
 *
 * The 5 `.feat-N` variants share the exact same 2-rule shape (a
 * background-color on `.accordion-item.feat-N` + its own
 * `.accordion-button`, plus a text color on the button), differing
 * only in color values — a repetition candidate structurally similar
 * to the category-theme map. Per this migration's own convention
 * ("land literal migration first, refactor separately" — see how the
 * gift-item color variants and the non-base sidebar-widget rules were
 * each handled), these are migrated literally rather than folded into
 * a Sass map + @each in this pass.
 */
.membership-features-container {
  padding-top: 72px;
  padding-bottom: 72px;
}
.membership-features-container h2 {
  font-family: "Surt Extended Black";
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.011em;
  color: #192649;
}
.membership-features-container h2.feat-title {
  margin-bottom: 32px;
}
.membership-features-container .accordion-item,
.membership-features-container .accordion-button {
  border-radius: 20px !important;
}
.membership-features-container .accordion-item {
  margin-bottom: 7px;
  border: none;
}
.membership-features-container .accordion-button {
  font-size: 16px;
  line-height: 19.2px;
  letter-spacing: -0.011em;
  box-shadow: none;
  padding-right: 30px;
}
.membership-features-container .accordion-button:after {
  background: none;
  content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMzkyXzEzOTM1KSI+DQo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDIyLjVDMTQuNzg0OCAyMi41IDE3LjQ1NTUgMjEuMzkzOCAxOS40MjQ2IDE5LjQyNDZDMjEuMzkzOCAxNy40NTU1IDIyLjUgMTQuNzg0OCAyMi41IDEyQzIyLjUgOS4yMTUyMyAyMS4zOTM4IDYuNTQ0NTEgMTkuNDI0NiA0LjU3NTM4QzE3LjQ1NTUgMi42MDYyNSAxNC43ODQ4IDEuNSAxMiAxLjVDOS4yMTUyMyAxLjUgNi41NDQ1MSAyLjYwNjI1IDQuNTc1MzggNC41NzUzOEMyLjYwNjI1IDYuNTQ0NTEgMS41IDkuMjE1MjMgMS41IDEyQzEuNSAxNC43ODQ4IDIuNjA2MjUgMTcuNDU1NSA0LjU3NTM4IDE5LjQyNDZDNi41NDQ1MSAyMS4zOTM4IDkuMjE1MjMgMjIuNSAxMiAyMi41Wk0xMiAyNEMxNS4xODI2IDI0IDE4LjIzNDggMjIuNzM1NyAyMC40ODUzIDIwLjQ4NTNDMjIuNzM1NyAxOC4yMzQ4IDI0IDE1LjE4MjYgMjQgMTJDMjQgOC44MTc0IDIyLjczNTcgNS43NjUxNiAyMC40ODUzIDMuNTE0NzJDMTguMjM0OCAxLjI2NDI4IDE1LjE4MjYgMCAxMiAwQzguODE3NCAwIDUuNzY1MTYgMS4yNjQyOCAzLjUxNDcyIDMuNTE0NzJDMS4yNjQyOCA1Ljc2NTE2IDAgOC44MTc0IDAgMTJDMCAxNS4xODI2IDEuMjY0MjggMTguMjM0OCAzLjUxNDcyIDIwLjQ4NTNDNS43NjUxNiAyMi43MzU3IDguODE3NCAyNCAxMiAyNFoiIGZpbGw9IiMxOTI2NDkiLz4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIgNkMxMi4xOTg5IDYgMTIuMzg5NyA2LjA3OTAyIDEyLjUzMDMgNi4yMTk2N0MxMi42NzEgNi4zNjAzMiAxMi43NSA2LjU1MTA5IDEyLjc1IDYuNzVWMTEuMjVIMTcuMjVDMTcuNDQ4OSAxMS4yNSAxNy42Mzk3IDExLjMyOSAxNy43ODAzIDExLjQ2OTdDMTcuOTIxIDExLjYxMDMgMTggMTEuODAxMSAxOCAxMkMxOCAxMi4xOTg5IDE3LjkyMSAxMi4zODk3IDE3Ljc4MDMgMTIuNTMwM0MxNy42Mzk3IDEyLjY3MSAxNy40NDg5IDEyLjc1IDE3LjI1IDEyLjc1SDEyLjc1VjE3LjI1QzEyLjc1IDE3LjQ0ODkgMTIuNjcxIDE3LjYzOTcgMTIuNTMwMyAxNy43ODAzQzEyLjM4OTcgMTcuOTIxIDEyLjE5ODkgMTggMTIgMThDMTEuODAxMSAxOCAxMS42MTAzIDE3LjkyMSAxMS40Njk3IDE3Ljc4MDNDMTEuMzI5IDE3LjYzOTcgMTEuMjUgMTcuNDQ4OSAxMS4yNSAxNy4yNVYxMi43NUg2Ljc1QzYuNTUxMDkgMTIuNzUgNi4zNjAzMiAxMi42NzEgNi4yMTk2NyAxMi41MzAzQzYuMDc5MDIgMTIuMzg5NyA2IDEyLjE5ODkgNiAxMkM2IDExLjgwMTEgNi4wNzkwMiAxMS42MTAzIDYuMjE5NjcgMTEuNDY5N0M2LjM2MDMyIDExLjMyOSA2LjU1MTA5IDExLjI1IDYuNzUgMTEuMjVIMTEuMjVWNi43NUMxMS4yNSA2LjU1MTA5IDExLjMyOSA2LjM2MDMyIDExLjQ2OTcgNi4yMTk2N0MxMS42MTAzIDYuMDc5MDIgMTEuODAxMSA2IDEyIDZaIiBmaWxsPSIjMTkyNjQ5Ii8+DQo8L2c+DQo8ZGVmcz4NCjxjbGlwUGF0aCBpZD0iY2xpcDBfMTM5Ml8xMzkzNSI+DQo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IndoaXRlIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=");
}
.membership-features-container .accordion-button:not(.collapsed):after {
  content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xNTIzXzEyMjY5KSI+DQo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjUgMjIuNUMxNS4yODQ4IDIyLjUgMTcuOTU1NSAyMS4zOTM4IDE5LjkyNDYgMTkuNDI0NkMyMS44OTM4IDE3LjQ1NTUgMjMgMTQuNzg0OCAyMyAxMkMyMyA5LjIxNTIzIDIxLjg5MzggNi41NDQ1MSAxOS45MjQ2IDQuNTc1MzhDMTcuOTU1NSAyLjYwNjI1IDE1LjI4NDggMS41IDEyLjUgMS41QzkuNzE1MjMgMS41IDcuMDQ0NTEgMi42MDYyNSA1LjA3NTM4IDQuNTc1MzhDMy4xMDYyNSA2LjU0NDUxIDIgOS4yMTUyMyAyIDEyQzIgMTQuNzg0OCAzLjEwNjI1IDE3LjQ1NTUgNS4wNzUzOCAxOS40MjQ2QzcuMDQ0NTEgMjEuMzkzOCA5LjcxNTIzIDIyLjUgMTIuNSAyMi41Wk0xMi41IDI0QzE1LjY4MjYgMjQgMTguNzM0OCAyMi43MzU3IDIwLjk4NTMgMjAuNDg1M0MyMy4yMzU3IDE4LjIzNDggMjQuNSAxNS4xODI2IDI0LjUgMTJDMjQuNSA4LjgxNzQgMjMuMjM1NyA1Ljc2NTE2IDIwLjk4NTMgMy41MTQ3MkMxOC43MzQ4IDEuMjY0MjggMTUuNjgyNiAwIDEyLjUgMEM5LjMxNzQgMCA2LjI2NTE2IDEuMjY0MjggNC4wMTQ3MiAzLjUxNDcyQzEuNzY0MjggNS43NjUxNiAwLjUgOC44MTc0IDAuNSAxMkMwLjUgMTUuMTgyNiAxLjc2NDI4IDE4LjIzNDggNC4wMTQ3MiAyMC40ODUzQzYuMjY1MTYgMjIuNzM1NyA5LjMxNzQgMjQgMTIuNSAyNFoiIGZpbGw9IiMxOTI2NDkiLz4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNy40NzAzNCA2Ljk2ODg4QzcuNTQwMDEgNi44OTkwMyA3LjYyMjc3IDYuODQzNjIgNy43MTM4OSA2LjgwNTgxQzcuODA1MDEgNi43NjggNy45MDI2OSA2Ljc0ODU0IDguMDAxMzQgNi43NDg1NEM4LjA5OTk5IDYuNzQ4NTQgOC4xOTc2NyA2Ljc2OCA4LjI4ODc5IDYuODA1ODFDOC4zNzk5MSA2Ljg0MzYyIDguNDYyNjcgNi44OTkwMyA4LjUzMjM0IDYuOTY4ODhMMTIuNTAxMyAxMC45Mzk0TDE2LjQ3MDMgNi45Njg4OEMxNi41NDAxIDYuODk5MTQgMTYuNjIyOSA2Ljg0MzgzIDE2LjcxNCA2LjgwNjA5QzE2LjgwNTEgNi43NjgzNSAxNi45MDI3IDYuNzQ4OTMgMTcuMDAxMyA2Ljc0ODkzQzE3LjEgNi43NDg5MyAxNy4xOTc2IDYuNzY4MzUgMTcuMjg4NyA2LjgwNjA5QzE3LjM3OTggNi44NDM4MyAxNy40NjI2IDYuODk5MTQgMTcuNTMyMyA2Ljk2ODg4QzE3LjYwMjEgNy4wMzg2MSAxNy42NTc0IDcuMTIxMzkgMTcuNjk1MSA3LjIxMjVDMTcuNzMyOSA3LjMwMzYxIDE3Ljc1MjMgNy40MDEyNiAxNy43NTIzIDcuNDk5ODhDMTcuNzUyMyA3LjU5ODQ5IDE3LjczMjkgNy42OTYxNCAxNy42OTUxIDcuNzg3MjVDMTcuNjU3NCA3Ljg3ODM2IDE3LjYwMjEgNy45NjExNCAxNy41MzIzIDguMDMwODhMMTMuNTYxOCAxMS45OTk5TDE3LjUzMjMgMTUuOTY4OUMxNy42MDIxIDE2LjAzODYgMTcuNjU3NCAxNi4xMjE0IDE3LjY5NTEgMTYuMjEyNUMxNy43MzI5IDE2LjMwMzYgMTcuNzUyMyAxNi40MDEzIDE3Ljc1MjMgMTYuNDk5OUMxNy43NTIzIDE2LjU5ODUgMTcuNzMyOSAxNi42OTYxIDE3LjY5NTEgMTYuNzg3M0MxNy42NTc0IDE2Ljg3ODQgMTcuNjAyMSAxNi45NjExIDE3LjUzMjMgMTcuMDMwOUMxNy40NjI2IDE3LjEwMDYgMTcuMzc5OCAxNy4xNTU5IDE3LjI4ODcgMTcuMTkzN0MxNy4xOTc2IDE3LjIzMTQgMTcuMSAxNy4yNTA4IDE3LjAwMTMgMTcuMjUwOEMxNi45MDI3IDE3LjI1MDggMTYuODA1MSAxNy4yMzE0IDE2LjcxNCAxNy4xOTM3QzE2LjYyMjkgMTcuMTU1OSAxNi41NDAxIDE3LjEwMDYgMTYuNDcwMyAxNy4wMzA5TDEyLjUwMTMgMTMuMDYwNEw4LjUzMjM0IDE3LjAzMDlDOC40NjI2MSAxNy4xMDA2IDguMzc5ODIgMTcuMTU1OSA4LjI4ODcyIDE3LjE5MzdDOC4xOTc2MSAxNy4yMzE0IDguMDk5OTYgMTcuMjUwOCA4LjAwMTM0IDE3LjI1MDhDNy45MDI3MiAxNy4yNTA4IDcuODA1MDcgMTcuMjMxNCA3LjcxMzk2IDE3LjE5MzdDNy42MjI4NiAxNy4xNTU5IDcuNTQwMDcgMTcuMTAwNiA3LjQ3MDM0IDE3LjAzMDlDNy40MDA2MSAxNi45NjExIDcuMzQ1MjkgMTYuODc4NCA3LjMwNzU2IDE2Ljc4NzNDNy4yNjk4MiAxNi42OTYxIDcuMjUwMzkgMTYuNTk4NSA3LjI1MDM5IDE2LjQ5OTlDNy4yNTAzOSAxNi40MDEzIDcuMjY5ODIgMTYuMzAzNiA3LjMwNzU2IDE2LjIxMjVDNy4zNDUyOSAxNi4xMjE0IDcuNDAwNjEgMTYuMDM4NiA3LjQ3MDM0IDE1Ljk2ODlMMTEuNDQwOCAxMS45OTk5TDcuNDcwMzQgOC4wMzA4OEM3LjQwMDUgNy45NjEyMSA3LjM0NTA4IDcuODc4NDQgNy4zMDcyNyA3Ljc4NzMzQzcuMjY5NDYgNy42OTYyMSA3LjI1IDcuNTk4NTMgNy4yNSA3LjQ5OTg4QzcuMjUgNy40MDEyMiA3LjI2OTQ2IDcuMzAzNTQgNy4zMDcyNyA3LjIxMjQyQzcuMzQ1MDggNy4xMjEzMSA3LjQwMDUgNy4wMzg1NCA3LjQ3MDM0IDYuOTY4ODhaIiBmaWxsPSIjMTkyNjQ5Ii8+DQo8L2c+DQo8ZGVmcz4NCjxjbGlwUGF0aCBpZD0iY2xpcDBfMTUyM18xMjI2OSI+DQo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjUpIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=");
  transform: none;
}
.membership-features-container .accordion-body {
  padding-top: 0;
}
.membership-features-container .accordion-item.feat-1,
.membership-features-container .accordion-item.feat-1 .accordion-button {
  background-color: #B6D0F2;
}
.membership-features-container .accordion-item.feat-1 .accordion-button {
  color: #192649;
}
.membership-features-container .accordion-item.feat-2,
.membership-features-container .accordion-item.feat-2 .accordion-button {
  background-color: #83A89F;
}
.membership-features-container .accordion-item.feat-2 .accordion-button {
  color: #fff;
}
.membership-features-container .accordion-item.feat-3,
.membership-features-container .accordion-item.feat-3 .accordion-button {
  background-color: #F2CB93;
}
.membership-features-container .accordion-item.feat-3 .accordion-button {
  color: #8B261F;
}
.membership-features-container .accordion-item.feat-4,
.membership-features-container .accordion-item.feat-4 .accordion-button {
  background-color: #F0AFA1;
}
.membership-features-container .accordion-item.feat-4 .accordion-button {
  color: #fff;
}
.membership-features-container .accordion-item.feat-5,
.membership-features-container .accordion-item.feat-5 .accordion-button {
  background-color: #FBECE3;
}
.membership-features-container .accordion-item.feat-5 .accordion-button {
  color: #734540;
}

/**
 * Migrated from assets/css/rame.css lines 2479-2674: the homepage
 * content sections between the membership accordion and the FAQ —
 * the `.home .related .card-text` hide, `.home-newsletter`(-box),
 * `.home-authors`, `.home-guide`, and `.home-about` (owl carousel).
 */
.home .related .card-text {
  display: none;
}

.home-newsletter {
  background-color: #B6D0F2;
  padding-top: 32px;
  padding-bottom: 32px;
}
.home-newsletter img {
  max-width: 451px;
}
.home-newsletter h4 {
  font-family: "Surt Extended Black";
  font-size: 16px;
  line-height: 19.2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.home-newsletter h2 {
  font-family: "Surt Extended Black";
  font-size: 30px;
  line-height: 36px;
  color: #192649;
  margin-bottom: 26px;
}
.home-newsletter p strong {
  font-family: "Surt Normal Extrabold";
}
.home-newsletter form {
  padding-top: 22px;
}
.home-newsletter .form-group, .home-newsletter .btn {
  display: inline-block;
}
.home-newsletter .form-group {
  margin-right: 8px;
  width: calc(100% - 250px);
  max-width: 427px;
}
.home-newsletter .btn {
  width: auto !important;
}

.home-authors {
  background-color: #FCF5E9;
  padding-top: 48px;
  padding-bottom: 48px;
}
.home-authors svg {
  max-width: 100%;
}
.home-authors h2 {
  font-family: "Surt Extended Black";
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 22px;
}
.home-authors p {
  margin-bottom: 24px;
}
.home-authors .image-link {
  text-align: right;
}

.home-guide {
  padding-top: 72px;
}
.home-guide h3 {
  font-family: "Surt Extended Regular";
  font-size: 28px;
  line-height: 33.6px;
  letter-spacing: -0.011em;
  font-weight: 400;
  color: #192649;
  margin-bottom: 56px;
}
.home-guide .card-title {
  color: #F0AFA1;
}
.home-guide .type {
  position: absolute;
  top: 10px;
  left: 10px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  line-height: 13.3px;
  background-color: #F0AFA1;
  padding: 4px 8px;
  border-radius: 12px;
}

.home-newsletter-box {
  background-color: #8B261F;
  border-radius: 5px;
  padding-top: 14px;
  padding-bottom: 14px;
  margin-top: 72px;
  color: #fff;
}
.home-newsletter-box a {
  color: #fff;
}
.home-newsletter-box h4 {
  color: #fff;
  text-transform: uppercase;
}
.home-newsletter-box .form-group {
  width: 286px;
  margin-bottom: 8px;
}
.home-newsletter-box .form-group, .home-newsletter-box .btn {
  display: inline-block;
}
.home-newsletter-box .btn {
  width: auto !important;
  background-color: #B6D0F2;
  color: #192649;
  vertical-align: baseline;
}
.home-newsletter-box .btn:hover {
  background-color: #92A6C2;
}
.home-newsletter-box form {
  text-align: right;
}
.home-newsletter-box .btn span {
  display: none;
}

.home-about {
  border-top: 1px solid #D7D7D7;
  padding-top: 48px;
  margin-top: 32px;
}
.home-about h2 {
  font-family: "Surt Extended Black";
  font-size: 28px;
  line-height: 33.6px;
  letter-spacing: -0.011em;
  color: #83A89F;
  margin-bottom: 34px;
}
.home-about .about-card {
  max-width: 454px;
  width: 100%;
  background: #E6EEEC;
  border-radius: 15px;
  padding: 24px;
}
.home-about .about-card p {
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: -0.011em;
  margin-bottom: 50px;
}
.home-about .about-card img {
  width: 48px;
  margin-right: 16px;
  border-radius: 30px;
}
.home-about .about-card span {
  font-family: "Surt Extended Black";
  font-size: 16px;
  font-weight: 900;
  line-height: 19.2px;
  color: #8B261F;
}
.home-about .owl-item {
  display: flex;
  justify-content: center;
}
.home-about .owl-dots {
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
}
.home-about .owl-carousel button.owl-dot {
  border-color: #192649;
}
.home-about .owl-carousel button.owl-dot.active {
  background-color: #192649;
}
.home-about .owl-nav .owl-prev, .home-about .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.home-about .owl-nav .owl-prev {
  left: calc(50% - 322px);
}
.home-about .owl-nav .owl-next {
  right: calc(50% - 322px);
}

/**
 * Migrated from assets/css/rame.css lines 2676-2727: the homepage
 * FAQ accordion (`.home-faq`).
 */
.home-faq {
  background-color: #E2ECFA;
  margin-top: 96px;
  padding-top: 72px;
  padding-bottom: 68px;
}
.home-faq h2 {
  font-family: "Surt Extended Black";
  font-size: 32px;
  font-weight: 900;
  line-height: 38.4px;
  letter-spacing: -0.011em;
  color: #192649;
}
.home-faq .accordion-item,
.home-faq .accordion-item .accordion-button {
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.home-faq .accordion-item {
  border-top: 1px solid #fff;
}
.home-faq .accordion-item:last-child {
  border-bottom: 1px solid #fff;
}
.home-faq .accordion-item .accordion-button {
  font-size: 19px;
  font-weight: 900;
  line-height: 22.8px;
  padding-left: 0;
  padding-right: 0;
  color: #192649;
}
.home-faq .accordion-item .accordion-body {
  line-height: 28px;
  padding-left: 0;
  padding-right: 0;
}
.home-faq .info-faq {
  margin-top: 50px;
}
.home-faq .info-faq strong {
  font-family: "Surt Normal Extrabold";
}
.home-faq .info-faq a {
  color: #192649;
}
.home-faq .title-container {
  margin-bottom: 38px;
}

/**
 * Migrated from assets/css/rame.css lines 2729-2755: the tail of the
 * homepage — the newsletter-page-template background color and the
 * `.read` label used at the end of teaser cards. The sponsor band is
 * rendered and styled by shared/rame-shell (`.site-sponsor`).
 */
body.page-template-page-newsletter {
  background-color: #FCEFEC;
}

.read {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  color: #192649;
}

.newsletter-comments {
  border-top: 1px solid #D7D7D7;
  padding-top: 14px;
  margin-top: 30px;
}
.newsletter-comments .cloud-height {
  height: 400px;
}
.newsletter-comments h5 {
  font-family: "Surt Extended Black";
  font-size: 12px;
  font-weight: 900;
  line-height: 14.4px;
  text-align: center;
  color: #192649;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.newsletter-comments .cloud {
  padding: 16px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  width: 100%;
  max-width: 356px;
  margin-top: 16px;
}
.newsletter-comments .cloud-1 {
  background-color: #F0AFA1;
}
.newsletter-comments .cloud-2 {
  background-color: #F4D0BA;
}
.newsletter-comments .cloud-3 {
  background-color: #B6D0F2;
}
.newsletter-comments .cloud-4 {
  background-color: #83A89F;
}
.newsletter-comments .cloud-left {
  float: left;
}
.newsletter-comments .cloud-right {
  float: right;
}

.newsletter-content h1 {
  font-family: "Surt Extended Black";
  font-size: 40px;
  font-weight: 900;
  line-height: 48px;
  letter-spacing: -0.01em;
  margin-bottom: 58px;
}
.newsletter-content h2 {
  font-family: "Surt Extended Regular";
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.01em;
  color: #192649;
  margin-top: 86px;
}
.newsletter-content h2 strong {
  font-family: "Surt Extended Black";
}
.newsletter-content h3 {
  font-family: "Surt Extended Black";
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
  margin-bottom: 40px;
}
.newsletter-content form .btn,
.newsletter-content .form-group {
  display: inline-block;
}
.newsletter-content .form-group {
  margin-right: 12px;
  width: calc(100% - 300px);
}
.newsletter-content form .btn {
  width: auto !important;
}

.newsletter-features {
  border-top: 1px solid #D7D7D7;
  padding-top: 14px;
  margin-top: 42px;
}
.newsletter-features img {
  width: 71px;
  height: 71px;
  margin-right: 17px;
}
.newsletter-features strong {
  font-family: "Surt Extended Black";
  font-size: 18px;
  font-weight: 900;
  line-height: 24px;
  display: block;
}

.newsletter-about {
  border-top: 1px solid #D7D7D7;
  padding-top: 14px;
  margin-top: 92px;
}
.newsletter-about h4 {
  font-family: "Surt Extended Black";
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
  margin-bottom: 22px;
}

.newsletter-footer {
  border-top: 1px solid #D7D7D7;
  margin-top: 70px;
  padding-top: 32px;
}
.newsletter-footer img {
  max-width: 120px;
  margin-bottom: 16px;
}
.newsletter-footer h6 {
  font-family: "Surt Extended Black";
  font-size: 28px;
  font-weight: 900;
  line-height: 34px;
  color: #8B261F;
  margin-bottom: 32px;
}
.newsletter-footer h6 strong {
  color: #192649;
}
.newsletter-footer form {
  margin-bottom: 34px;
}
.newsletter-footer form .btn {
  width: auto !important;
  display: inline-block;
}
.newsletter-footer form .btn span {
  display: none;
}
.newsletter-footer .form-group {
  display: inline-block;
  width: calc(100% - 109px);
}

/**
 * Migrated from assets/css/rame.css lines 2907-3092, plus the
 * podcast/serie-podcast half of the shared title-teaser h2 rule
 * originally grouped with the archive-video selector at line 2108
 * (see assets/scss/video/_video.scss for the video half). Also note
 * the `time:after`/`.duration:before` icon rules below are shared
 * verbatim with `.card-text` (magazine, not yet migrated) in the
 * source — kept as-is here; do not dedupe until magazine is migrated.
 */
.serie-podcast-list img {
  border-radius: 10px;
  margin-bottom: 16px;
  max-width: 100%;
}

.serie-podcast-list h3 {
  font-family: "Surt Extended Black";
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
  margin-bottom: 9px;
}

.serie-podcast-list a {
  text-decoration: none;
}

.serie-podcast-list .same-height {
  min-height: 192px;
}

.serie-podcast-list p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #192649;
  padding-right: 12px;
}

.serie-podcast-list span {
  font-family: "Surt Extended Black";
  font-size: 10px;
  font-weight: 900;
  line-height: 20px;
  color: #878787;
  text-transform: uppercase;
  display: block;
  margin-bottom: 48px;
}

.tax-serie-podcast .title-teaser {
  background-color: #FCEFEC;
}

.tax-serie-podcast .title-teaser h2 {
  font-family: "Surt Extended Regular";
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.01em;
  color: #192649;
}

.tax-serie-podcast .title-teaser img {
  border-radius: 10px;
}

.tax-serie-podcast .title-teaser .count-container {
  border-top: 1px solid #D7D7D7;
}

.tax-serie-podcast .title-teaser .count {
  font-family: "Surt Extended Black";
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
  color: #373737;
  text-transform: uppercase;
}

.tax-serie-podcast .filters {
  padding-right: 18px;
  padding-top: 24px;
  padding-bottom: 15px;
}

.podcast-list h5 {
  font-family: "Surt Normal Extrabold";
  font-size: 12px;
  font-weight: 850;
  line-height: 14.4px;
  color: #192649;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.podcast-list h4 {
  font-family: "Surt Extended Black";
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
  color: #8B261F;
  margin-bottom: 16px;
}

.podcast-list a {
  text-decoration: none;
}

.podcast-list p, .card-excerpt {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podcast-list .meta {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  color: #5F5F5F;
}

.podcast-list img {
  width: auto;
  max-width: 166px;
  border-radius: 5px;
  margin-right: 24px;
}

.podcast-list time:after,
.podcast-meta time:after,
.card-text .time:after {
  content: "|";
  color: #D7D7D7;
  margin-left: 7px;
}

.podcast-list .duration:before,
.podcast-meta .duration:before,
.card-text .duration:before {
  content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAxOSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xNTY0XzQ1OTQpIj4NCjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3LjgxMjVDMTEuNzA0NiAxNy44MTI1IDEzLjgxODkgMTYuOTM2NyAxNS4zNzc4IDE1LjM3NzhDMTYuOTM2NyAxMy44MTg5IDE3LjgxMjUgMTEuNzA0NiAxNy44MTI1IDkuNUMxNy44MTI1IDcuMjk1MzkgMTYuOTM2NyA1LjE4MTA3IDE1LjM3NzggMy42MjIxN0MxMy44MTg5IDIuMDYzMjggMTEuNzA0NiAxLjE4NzUgOS41IDEuMTg3NUM3LjI5NTM5IDEuMTg3NSA1LjE4MTA3IDIuMDYzMjggMy42MjIxNyAzLjYyMjE3QzIuMDYzMjggNS4xODEwNyAxLjE4NzUgNy4yOTUzOSAxLjE4NzUgOS41QzEuMTg3NSAxMS43MDQ2IDIuMDYzMjggMTMuODE4OSAzLjYyMjE3IDE1LjM3NzhDNS4xODEwNyAxNi45MzY3IDcuMjk1MzkgMTcuODEyNSA5LjUgMTcuODEyNVpNMTkgOS41QzE5IDEyLjAxOTYgMTcuOTk5MSAxNC40MzU5IDE2LjIxNzUgMTYuMjE3NUMxNC40MzU5IDE3Ljk5OTEgMTIuMDE5NiAxOSA5LjUgMTlDNi45ODA0NCAxOSA0LjU2NDA4IDE3Ljk5OTEgMi43ODI0OSAxNi4yMTc1QzEuMDAwODkgMTQuNDM1OSAwIDEyLjAxOTYgMCA5LjVDMCA2Ljk4MDQ0IDEuMDAwODkgNC41NjQwOCAyLjc4MjQ5IDIuNzgyNDlDNC41NjQwOCAxLjAwMDg5IDYuOTgwNDQgMCA5LjUgMEMxMi4wMTk2IDAgMTQuNDM1OSAxLjAwMDg5IDE2LjIxNzUgMi43ODI0OUMxNy45OTkxIDQuNTY0MDggMTkgNi45ODA0NCAxOSA5LjVaIiBmaWxsPSIjODNBODlGIi8+DQo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguOTA2MjUgMy41NjI1QzkuMDYzNzIgMy41NjI1IDkuMjE0NzQgMy42MjUwNiA5LjMyNjA5IDMuNzM2NDFDOS40Mzc0NCAzLjg0Nzc2IDkuNSAzLjk5ODc4IDkuNSA0LjE1NjI1VjEwLjM0MzFMMTMuMzU3IDEyLjU0NzFDMTMuNDg5OCAxMi42MjcyIDEzLjU4NTkgMTIuNzU2IDEzLjYyNDkgMTIuOTA2MUMxMy42NjQgMTMuMDU2MSAxMy42NDI3IDEzLjIxNTUgMTMuNTY1OCAxMy4zNTAxQzEzLjQ4ODkgMTMuNDg0NyAxMy4zNjI0IDEzLjU4MzkgMTMuMjEzMyAxMy42MjY1QzEzLjA2NDIgMTMuNjY5IDEyLjkwNDQgMTMuNjUxNiAxMi43NjggMTMuNTc3OUw4LjYxMTc1IDExLjIwMjlDOC41MjA4NyAxMS4xNTEgOC40NDUzMyAxMS4wNzYgOC4zOTI3OCAxMC45ODU1QzguMzQwMjMgMTAuODk0OSA4LjMxMjUzIDEwLjc5MjIgOC4zMTI1IDEwLjY4NzVWNC4xNTYyNUM4LjMxMjUgMy45OTg3OCA4LjM3NTA2IDMuODQ3NzYgOC40ODY0MSAzLjczNjQxQzguNTk3NzYgMy42MjUwNiA4Ljc0ODc4IDMuNTYyNSA4LjkwNjI1IDMuNTYyNVoiIGZpbGw9IiM4M0E4OUYiLz4NCjwvZz4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJjbGlwMF8xNTY0XzQ1OTQiPg0KPHJlY3Qgd2lkdGg9IjE5IiBoZWlnaHQ9IjE5IiBmaWxsPSJ3aGl0ZSIvPg0KPC9jbGlwUGF0aD4NCjwvZGVmcz4NCjwvc3ZnPg0K");
  margin-right: 9px;
  margin-left: 5px;
  vertical-align: sub;
}

.podcast-list .single-post {
  border-bottom: 1px solid #D7D7D7;
  padding-top: 16px;
  padding-bottom: 16px;
}

.podcast-title {
  display: flex;
  margin-bottom: 63px;
}

.podcast-title img {
  width: 157px;
  height: 157px;
  margin-right: 33px;
  border-radius: 5px;
}

.podcast-title .info {
  font-family: "Surt Extended Black";
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: #192649;
  text-transform: uppercase;
}

.podcast-title .info .serie:after {
  content: " - ";
}

.podcast-container iframe {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.podcast-meta {
  color: #5F5F5F;
  margin-bottom: 7px;
}

.podcast-content {
  border-top: 1px solid #D7D7D7;
  padding-top: 32px;
}

.podcast-column {
  margin-top: 24px;
}

.podcast-container .related-teaser {
  margin-top: 160px;
  border-color: #D7D7D7;
}

.podcast-container .related .card-category small {
  font-family: "Surt Normal Extrabold";
}

.podcast-container .related .card-category {
  margin-bottom: 1px;
}

.card-excerpt {
  display: none;
}

.page-template-archive-serie-podcast .title-teaser h2,
.page-template-archive-podcast .title-teaser h2 {
  font-family: "Surt Extended Regular";
  color: #192649;
  font-size: 18px;
  line-height: 24px;
}

#shareModal {
  --bs-modal-width: 333px;
}
#shareModal .modal-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  text-align: center;
  color: #373737;
}
#shareModal .btn-close {
  background: none;
  padding: 5px;
}
#shareModal .btn-close svg {
  vertical-align: super;
}
#shareModal .modal-header {
  margin-top: 3px;
}
#shareModal .modal-body {
  padding-top: 2px;
  padding-bottom: 12px;
}
#shareModal .modal-footer {
  padding-bottom: 46px;
}
#shareModal .modal-header,
#shareModal .modal-footer {
  border: none;
}

/**
 * Migrated from assets/css/rame.css lines 3178-3499: magazine homepage
 * sections (.magazine-main, .image-perfect, .magazine-storie,
 * .magazine-articoli, .magazine-argomenti, .magazine-membership).
 * Migrated literally (1:1) — .magazine-argomenti carries a second,
 * name-keyed category color theming system (7 `.category-<slug>` rules,
 * e.g. `.category-investimenti`) that is structurally similar to, but
 * deliberately NOT unified with, the numeric `.category-112`-style ID
 * theming system used elsewhere in rame.css (see
 * abstracts/_category-map.scss once that sub-phase lands) — the two
 * are keyed differently (slug vs numeric ID) and unifying them now
 * would be exactly the kind of premature abstraction the migration
 * plan warns against; land both literally first.
 */
.magazine-main h3 {
  font-family: "Surt Extended Black";
  font-size: 18px;
  font-weight: 900;
  line-height: 21.6px;
  color: #734540;
}

.magazine-main .read-all {
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  text-align: right;
  text-transform: uppercase;
  text-decoration: none;
  color: #373737;
}

.magazine-main .teaser {
  border-bottom: 1px solid #D7D7D7;
  margin-bottom: 16px;
  padding-bottom: 7px;
}

.magazine-main .highlight-post,
.magazine-main .list-post .single-post {
  border-radius: 10px;
}

.magazine-main .list-post .single-post {
  padding: 16px;
}

.magazine-main .list-post .single-post,
.magazine-main .list-post .single-post .box-card {
  height: 100%;
}

.magazine-main .list-post .single-post h2 a {
  display: block;
  font-size: 18px;
  line-height: 22px;
}

.magazine-main .list-post .row {
  --bs-gutter-x: 24px;
}

.magazine-main .highlight-post {
  padding: 0;
  overflow: hidden;
}

.magazine-main .category a {
  font-family: "Surt Normal Regular";
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.magazine-main .highlight-post .mt-auto {
  font-size: 14px;
}

.magazine-main .description-container {
  padding: 15px 15px 18px 18px !important;
}

.magazine-main .highlight-post img {
  border-radius: 0;
}

.magazine-main .list-news a {
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  color: #5F5F5F;
}

.magazine-main .list-news p {
  letter-spacing: 0.02em;
}

.magazine-main .list-news small {
  color: #8B261F;
  font-size: 12px;
  font-weight: 400;
}

.magazine-main .list-news h3 {
  font-size: 14px;
  font-weight: 900;
  line-height: 16.8px;
  color: #734540;
}

.magazine-main > .container > .row {
  --bs-gutter-x: 38px;
}

.image-perfect {
  position: relative;
  padding: 0;
}

.image-perfect .card-image-resized {
  position: absolute;
  top: 0;
  right: -2px;
  height: 100%;
}

.image-perfect a img {
  height: 100%;
}

.magazine-storie {
  background-color: #8B261F;
  padding-top: 65px;
  margin-top: 48px;
  padding-bottom: 78px;
}

.magazine-storie .storie.owl-carousel .owl-stage {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.magazine-storie .storie.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50px);
  width: 100%;
}

.magazine-storie .storie.owl-carousel .owl-nav .owl-prev {
  position: absolute;
  left: -20px;
}

.magazine-storie .storie.owl-carousel .owl-nav .owl-next {
  position: absolute;
  right: -20px;
}

.magazine-storie h2 {
  font-family: "Surt Extended Black";
  font-size: 40px;
  font-weight: 900;
  line-height: 45px;
  text-align: center;
  color: #F4D0BA;
  margin-bottom: 9px;
}

.magazine-storie h3 {
  font-family: "Surt Extended Regular";
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 48px;
}

.magazine-storie h4 {
  font-size: 18px;
  font-weight: 900;
  line-height: 22px;
  color: #fff;
  margin-top: 12px;
}

.magazine-storie .storie {
  margin-bottom: 50px;
}

.magazine-storie .storie a {
  text-decoration: none;
}

.magazine-storie .read-all {
  font-family: "Surt Extended Black";
  font-size: 12px;
  font-weight: 900;
  line-height: 14.4px;
  text-transform: uppercase;
  color: #F0AFA1;
}

.magazine-articoli {
  padding-top: 78px;
  padding-bottom: 42px;
}

.magazine-articoli h2 {
  font-family: "Surt Extended Black";
  font-size: 16px;
  font-weight: 900;
  line-height: 19.2px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #192649;
  margin-bottom: 0;
}

.magazine-articoli h4 {
  font-family: "Surt Extended Black";
  font-size: 18px;
  font-weight: 900;
  line-height: 22px;
  margin-top: 1px;
  margin-bottom: 12px;
}

.magazine-articoli time {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #878787;
}

.magazine-articoli .read-all {
  font-family: "Surt Normal Regular";
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  text-align: right;
  color: #373737;
  text-transform: uppercase;
  text-decoration: none;
  position: absolute;
  right: 0;
}

.magazine-articoli .articoli {
  margin-top: 50px;
}

.magazine-articoli .articoli small.category {
  font-family: "Surt Normal Regular";
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  color: #192649;
  text-transform: uppercase;
  margin-top: 10px;
  display: block;
}

.magazine-articoli .articoli a {
  background: none !important;
  text-decoration: none;
}

.magazine-articoli .articoli img {
  border-radius: 5px;
  border-top: 6px solid;
}

.magazine-articoli .articoli .card-image-resized {
  border-radius: 5px;
  height: 190px;
}

.magazine-argomenti {
  background-color: #FBECE3;
  padding-top: 76px;
  padding-bottom: 65px;
}

.magazine-argomenti h2 {
  font-family: "Surt Extended Black";
  font-size: 16px;
  font-weight: 900;
  line-height: 19.2px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.magazine-argomenti a {
  font-family: "Surt Extended Black";
  font-size: 32px;
  font-weight: 900;
  line-height: 38.4px;
  letter-spacing: 0.01em;
  padding: 24px 32px 24px 32px;
  border-radius: 70px;
  background-color: red;
  display: inline-block;
  margin-right: 9px;
  margin-bottom: 16px;
  text-decoration: none;
}

.magazine-argomenti > .container {
  max-width: 1180px;
}

.magazine-argomenti .category-investimenti {
  color: #192649;
  background-color: #95BDF2;
}

.magazine-argomenti .category-assicurazioni {
  color: #F4D0BA;
  background-color: #34629E;
}

.magazine-argomenti .category-budgeting {
  color: #192649;
  background-color: #6CB4A3;
}

.magazine-argomenti .category-debiti {
  color: #F2CB93;
  background-color: #C05E43;
}

.magazine-argomenti .category-fisco {
  color: #373737;
  background-color: #F2CB93;
}

.magazine-argomenti .category-lavoro {
  color: #F4D0BA;
  background-color: #CF4937;
}

.magazine-argomenti .category-psicologia {
  color: #fff;
  background-color: #F4AB9B;
}

.magazine-membership {
  background-color: #192649;
  padding-top: 63px;
  padding-bottom: 63px;
}

.magazine-membership img {
  max-width: 100%;
  border-radius: 10px;
}

.magazine-membership h2 {
  font-family: "Surt Extended Black";
  font-size: 16px;
  font-weight: 900;
  line-height: 19.2px;
  color: #B6D0F2;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.magazine-membership h3 {
  font-family: "Surt Extended Black";
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
  color: #fff;
  margin-bottom: 20px;
}

.magazine-membership p {
  color: #fff;
}

.magazine-membership .btn {
  padding: 12px 23px;
  margin-top: 4px;
}

/**
 * Migrated from assets/css/rame.css lines 3501-3641: magazine landing
 * teaser sections per CPT (.magazine-eventi, .magazine-podcast,
 * .magazine-glossario) plus the adjacent single-rule
 * .page-template-archive-post footer override. Note the
 * `.magazine-podcast .owl-carousel .owl-stage` rule is duplicated
 * verbatim in the source (identical declarations, twice) — kept as-is
 * rather than deduped, since removing it would be a cleanup decision
 * outside the scope of this literal migration.
 */
.magazine-eventi {
  padding-top: 65px;
  padding-bottom: 65px;
}

.magazine-eventi img {
  max-width: 100%;
}

.magazine-eventi .teaser h2 {
  font-family: "Surt Extended Black";
  font-size: 40px;
  font-weight: 900;
  line-height: 45px;
  color: #8B261F;
  margin-bottom: 23px;
}

.magazine-eventi .teaser h3 {
  font-family: "Surt Normal Regular";
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: #373737;
  margin-bottom: 24px;
}

.magazine-eventi .read-all {
  font-family: "Surt Normal Regular";
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: #373737;
}

.magazine-eventi .event-list {
  padding-top: 0;
}

.magazine-podcast {
  padding-top: 65px;
  padding-bottom: 32px;
  background-color: #FCF5E9;
}

.magazine-podcast .teaser h2 {
  font-family: "Surt Extended Black";
  font-size: 40px;
  font-weight: 900;
  line-height: 45px;
  color: #192649;
  margin-bottom: 8px;
}

.magazine-podcast .teaser h3 {
  font-family: "Surt Extended Regular";
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: left;
  color: #192649;
  margin-bottom: 24px;
}

.magazine-podcast .read-all,
.magazine-glossario .read-all {
  font-family: "Surt Normal Regular";
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  text-transform: uppercase;
  text-decoration: none;
  color: #373737;
}

.magazine-podcast .teaser img {
  max-width: 100%;
  margin-top: 28px;
}

.magazine-podcast .serie-podcast-list {
  padding-top: 0;
  border: none;
}

.magazine-podcast .owl-carousel .owl-stage {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.magazine-podcast .owl-carousel .owl-stage {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.magazine-podcast .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50px);
  width: 100%;
}

.magazine-podcast .owl-carousel .owl-nav .owl-prev {
  position: absolute;
  left: -10px;
}

.magazine-podcast .owl-carousel .owl-nav .owl-next {
  position: absolute;
  right: -20px;
}

.magazine-glossario {
  background-color: #F0AFA1;
  padding-top: 65px;
  padding-bottom: 60px;
}

.magazine-glossario .teaser h2 {
  font-family: "Surt Extended Black";
  font-size: 40px;
  font-weight: 900;
  line-height: 45px;
  color: #fff;
  margin-bottom: 8px;
}

.magazine-glossario .teaser h3 {
  font-family: "Surt Extended Regular";
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: #8B261F;
}

.magazine-glossario .glossario {
  border-radius: 10px;
  padding: 32px 32px 16px;
  background-color: #fff;
}

.magazine-glossario .glossario p {
  font-family: Georgia;
  color: #192649;
}

.magazine-glossario .glossario h4 {
  color: #8B261F;
  margin-bottom: 16px;
}

.magazine-glossario .glossario-link {
  text-decoration: none;
  margin-bottom: 15px;
  display: block;
}

.page-template-archive-post footer > div {
  margin-top: 0 !important;
}

/**
 * Magazine home section title (template-parts/ui/section-header.php).
 * Left variant: small display title; center variant: large title + subtitle.
 */
.section-header {
  margin-bottom: var(--mag-title-gap);
}

.section-header-title {
  margin: 0;
  font-family: var(--mag-title-font);
  font-size: var(--mag-title-size-left);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ruggine-500);
}

.section-header-subtitle {
  margin: 8px 0 0;
  font-family: var(--mag-subtitle-font);
  font-size: var(--mag-subtitle-size-sm);
  line-height: var(--mag-subtitle-lh);
  color: var(--ruggine-500);
}

.section-header--center {
  margin-bottom: var(--mag-title-gap-center);
  text-align: center;
}

.section-header--center .section-header-title {
  font-size: var(--mag-title-size-sm);
}

.section-header--center .section-header-subtitle {
  margin-top: 12px;
}

@media (min-width: 992px) {
  .section-header--center .section-header-title {
    font-size: var(--mag-title-size);
  }
  .section-header--center .section-header-subtitle {
    font-size: var(--mag-subtitle-size);
  }
}
/**
 * Outline CTA button (template-parts/ui/btn-outline.php).
 */
.btn-outline {
  display: inline-block;
  padding: var(--mag-btn-padding);
  border: 1px solid var(--mag-btn-color);
  border-radius: var(--mag-btn-radius);
  background-color: var(--bianco-500);
  font-family: "Surt Normal Regular", sans-serif;
  font-size: var(--mag-btn-size);
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--mag-btn-color);
  transition: background-color 0.2s, color 0.2s;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--mag-btn-color);
  color: var(--bianco-500);
}

/**
 * Small-caps "LEGGI TUTTE" link (template-parts/ui/link-all.php).
 */
.link-all {
  font-family: "Surt Normal Regular", sans-serif;
  font-size: var(--mag-link-size);
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mag-link-color);
}

.link-all:hover,
.link-all:focus-visible {
  text-decoration: underline;
  color: var(--mag-link-color);
}

/**
 * Rounded box wrapper (template-parts/ui/box-rounded.php).
 */
.box-rounded {
  padding: 20px;
  border-radius: var(--mag-box-radius);
}

.box-rounded--blue {
  background-color: var(--mag-box-bg);
}

@media (min-width: 992px) {
  .box-rounded {
    padding: 32px;
  }
}
/**
 * Magazine home post card (template-parts/card/post.php), six variants.
 * Mobile first; desktop from 992px. Title color = --cat-color from the
 * `.category-<id>` classes (components/_category-theme.scss).
 * Measured on the 1440/375 mockups unless marked "inferred" (font sizes
 * inferred from glyph height / line pitch).
 */
.card-post {
  --card-post-line: color-mix(in srgb, var(--nero-500) 10%, var(--bianco-500)); /* #EBEBEB measured */
  --card-post-pad: 20px; /* mobile text padding, measured */
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bianco-500);
  color: var(--blu-500);
}

.card-post-media {
  display: block;
  overflow: hidden;
}

.card-post-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-post-body {
  display: flex;
  flex-direction: column;
}

.card-post p {
  margin: 0;
}

.card-post-label {
  font-size: 12px; /* inferred */
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--blu-500);
}

.card-post-title {
  margin: 4px 0 0;
  font-family: var(--mag-title-font);
  font-size: 16px; /* inferred, mobile text-only */
  font-weight: 900;
  line-height: 1.375; /* 22px pitch measured */
  color: var(--cat-color, var(--ruggine-500));
  transition: color 0.6s;
}

/* Whole card is the hit area (see ::after below), so hover the card. */
.card-post:hover .card-post-title {
  color: var(--ruggine-500);
}

.card-post-title a {
  color: inherit;
  text-decoration: none;
}

/* Whole card is clickable via the title link */
.card-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card-post-excerpt {
  margin-top: 16px;
  font-size: 14px; /* inferred */
  line-height: 1.4;
  color: var(--blu-500);
}

.card-post-date {
  margin-top: 16px;
  font-size: 14px; /* inferred */
  line-height: 1.3;
  color: var(--blu-500);
}

/* ---------- hero: image on top on mobile (335x222), 50/50 on desktop ---------- */
.card-post--hero {
  flex-direction: column;
}

.card-post--hero .card-post-media {
  aspect-ratio: 335/222;
}

.card-post--hero .card-post-body {
  padding: var(--card-post-pad);
}

.card-post--hero .card-post-title {
  font-size: 22px; /* inferred, 28px pitch measured */
  line-height: 1.27;
}

.card-post--hero .card-post-excerpt {
  margin-top: 20px;
  font-size: 12px; /* inferred mobile, 4 lines at 16px pitch */
  line-height: 1.35;
}

.card-post--hero .card-post-date {
  margin-top: 20px;
}

/* ---------- text-only: bordered cell, date pushed to the bottom ---------- */
.card-post--text-only {
  height: 100%;
  border: 1px solid var(--card-post-line);
}

.card-post--text-only .card-post-body {
  flex: 1;
  padding: var(--card-post-pad);
}

.card-post--text-only .card-post-date {
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- story-big: centered portrait, salmon name, big red title ---------- */
.card-post--story-big {
  align-items: center;
  text-align: center;
}

.card-post--story-big .card-post-media {
  width: 100%;
  aspect-ratio: 450/562;
  border-radius: 4px; /* inferred from ~4px corner */
}

.card-post--story-big .card-post-body {
  align-items: center;
  margin-top: 8px;
}

.card-post--story-big .card-post-label,
.card-post--story-small .card-post-label {
  font-family: var(--mag-title-font);
  font-size: 16px;
  font-weight: 900;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--rosa-500); /* #F0AFA1 */
}

.card-post--story-big .card-post-title {
  margin-top: 8px;
  font-size: 22px; /* inferred mobile; 38px pitch on desktop */
  line-height: 1.3;
  color: var(--ruggine-500);
}

/* B/W treatment applies when the portrait is not already monochrome */
.card-post--story-big .card-post-img,
.card-post--story-small .card-post-img {
  filter: grayscale(1);
}

/* ---------- story-small: row with right thumb (mobile), vertical (desktop) ---------- */
.card-post--story-small {
  flex-direction: row-reverse; /* thumb on the right, DOM keeps image first */
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-post-line);
}

.card-post--story-small .card-post-media {
  flex: 0 0 95px; /* 95x95 measured */
  width: 95px;
  aspect-ratio: 1;
  border-radius: 4px; /* inferred */
}

.card-post--story-small .card-post-body {
  flex: 1;
  min-width: 0;
}

.card-post--story-small .card-post-title {
  margin-top: 4px;
  font-size: 16px; /* inferred, 20px pitch measured */
  line-height: 1.25;
  color: var(--ruggine-500);
}

/* ---------- topic-feature: landscape image, colored title, excerpt, date ---------- */
.card-post--topic-feature .card-post-media {
  aspect-ratio: 548/343; /* ~16:10 measured */
  border-radius: 4px; /* inferred */
}

.card-post--topic-feature .card-post-body {
  margin-top: 16px;
}

.card-post--topic-feature .card-post-title {
  margin-top: 0;
  font-size: 22px; /* inferred */
  line-height: 1.27;
}

.card-post--topic-feature .card-post-excerpt {
  margin-top: 12px;
}

.card-post--topic-feature .card-post-date,
.card-post--topic-list .card-post-date {
  font-family: "Surt Normal Regular";
  font-size: 12px; /* mockup */
  font-weight: 400;
  line-height: 1.2;
  color: #373737;
}

/* ---------- topic-list: text left, thumb right, excerpt hidden on mobile ---------- */
.card-post--topic-list {
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-post-line);
}

.card-post--topic-list .card-post-media {
  flex: 0 0 95px; /* 95x95 measured */
  width: 95px;
  aspect-ratio: 1;
  border-radius: 4px; /* inferred */
}

.card-post--topic-list .card-post-body {
  flex: 1;
  min-width: 0;
}

.card-post--topic-list .card-post-title {
  margin-top: 0;
  font-size: 16px; /* inferred */
  line-height: 1.2;
}

.card-post--topic-list .card-post-excerpt {
  display: none;
}

.card-post--topic-list .card-post-date {
  margin-top: 12px;
}

@media (min-width: 992px) {
  .card-post {
    --card-post-pad: 32px; /* text inset 32px in hero, measured */
  }
  .card-post-label {
    font-size: 12px;
  }
  .card-post-title {
    font-size: 18px; /* inferred, 22px pitch */
  }
  .card-post-excerpt,
  .card-post-date {
    font-size: 16px; /* inferred, 24px pitch measured on hero */
  }
  /* hero: text left, image right (557x520), text vertically centered */
  .card-post--hero {
    flex-direction: row;
    align-items: stretch;
  }
  .card-post--hero .card-post-body {
    flex: 0 0 50%;
    justify-content: center;
    padding: var(--card-post-pad);
  }
  .card-post--hero .card-post-media {
    order: 2;
    flex: 0 0 50%;
    aspect-ratio: auto;
    min-height: 520px;
  }
  .card-post--hero .card-post-title {
    font-size: 32px; /* inferred, 38px pitch measured */
    line-height: 1.2;
  }
  .card-post--hero .card-post-excerpt {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.5;
  }
  .card-post--hero .card-post-date {
    margin-top: 24px;
    font-size: 14px;
  }
  .card-post--text-only .card-post-body {
    padding: 36px; /* ~36px measured */
    min-height: 250px; /* cell height 250px measured */
  }
  .card-post--story-big .card-post-title {
    font-size: 28px; /* inferred, 38px pitch measured */
    line-height: 1.35;
  }
  /* story-small: vertical, 260x174 image over left-aligned name + title */
  .card-post--story-small {
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 0;
  }
  .card-post--story-small .card-post-media {
    flex: none;
    width: 100%;
    aspect-ratio: 260/174;
  }
  .card-post--story-small .card-post-body {
    flex: none;
    margin-top: 8px;
  }
  .card-post--story-small .card-post-title {
    font-size: 17px; /* inferred, 22px pitch measured */
    line-height: 1.3;
  }
  .card-post--topic-feature .card-post-title {
    font-size: 24px; /* inferred */
  }
  .card-post--topic-feature .card-post-excerpt {
    font-size: 14px;
  }
  .card-post--topic-list .card-post-title {
    font-size: 17px; /* inferred, 19px pitch measured */
  }
  .card-post--topic-list .card-post-excerpt {
    display: block;
    margin-top: 8px;
    font-size: 13px; /* inferred, 16px pitch measured */
    line-height: 1.25;
  }
  .card-post--topic-list .card-post-date {
    margin-top: 16px;
  }
}
/**
 * News chip (template-parts/card/news-chip.php). Measured 205x98 on both
 * mockups, 8px gap in the strip. The strip sets --news-chip-width/-height.
 */
.card-news-chip {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--news-chip-width, 205px);
  box-sizing: border-box;
  width: var(--news-chip-width, 205px);
  min-height: var(--news-chip-height, 98px);
  padding: 12px;
  border-radius: var(--mag-chip-radius);
  background: var(--mag-chip-bg);
  text-decoration: none;
}

.card-news-chip:hover,
.card-news-chip:focus-visible {
  text-decoration: none;
  background: color-mix(in srgb, var(--mag-chip-bg), var(--rosa-500) 12%);
}

.card-news-chip:focus-visible {
  outline: 2px solid var(--mag-chip-date);
  outline-offset: 2px;
}

.card-news-chip__date {
  margin-bottom: 4px;
  font-family: "Surt Normal Light", sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: var(--mag-chip-date);
}

.card-news-chip__title {
  font-family: "Surt Normal Extrabold", sans-serif;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--mag-chip-title);
}

/**
 * Event card (template-parts/card/event.php). Measured on the mockups:
 * desktop box 832x245, padding 32, date column 190 + 1px divider (#D7D7D7,
 * nero-100) + 32 gap; mobile box 335 wide, padding 24 (top ~20), date on one
 * line. Markup is two wrappers: side (date, time/place) and main (title,
 * badge, excerpt). On mobile they are display: contents and `order` restores
 * date, title, badge, time/place, excerpt; on desktop they are the two flex
 * columns and the badge is lifted above the title with `order`.
 * Font sizes are inferred from glyph height (Surt cap height 0.76em).
 */
.card-event {
  --card-event-badge-bg: var(--giallo-500);
  --card-event-badge-color: var(--nero-500);
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 20px 24px 24px;
  border-radius: var(--mag-box-radius);
  background: var(--mag-box-bg);
  color: var(--blu-500);
}

.card-event__side,
.card-event__main {
  display: contents;
}

.card-event__date {
  order: 1;
}

.card-event__title {
  order: 2;
}

.card-event__badge {
  order: 3;
}

.card-event__when {
  order: 4;
}

.card-event__excerpt {
  order: 5;
}

.card-event--members {
  --card-event-badge-bg: var(--blu-500);
  --card-event-badge-color: var(--bianco-500);
}

.card-event__date {
  font-family: "Surt Normal Regular", sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: var(--blu-500);
}

.card-event__day,
.card-event__month,
.card-event__year {
  display: inline;
}

.card-event__month {
  text-transform: lowercase;
}

.card-event__title {
  margin: 4px 0 0;
  font-family: "Surt Extended Black", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 29px;
  color: var(--ruggine-500);
}

.card-event__link {
  color: inherit;
  text-decoration: none;
}

/* Whole card clickable through the title link */
.card-event__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card-event__link:focus-visible {
  outline: none;
}

.card-event__link:focus-visible::after {
  outline: 2px solid var(--ruggine-500);
  outline-offset: 2px;
}

.card-event__badge {
  align-self: flex-start;
  box-sizing: border-box;
  height: 25px;
  margin-top: 19px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--card-event-badge-bg);
  font-family: "Surt Normal Regular", sans-serif;
  font-size: 12px;
  line-height: 25px;
  text-transform: uppercase;
  color: var(--card-event-badge-color);
}

.card-event__when {
  margin: 23px 0 0;
  font-family: "Surt Normal Regular", sans-serif;
  font-size: 18px;
  line-height: 21px;
  color: var(--nero-500);
}

.card-event__time,
.card-event__place {
  display: block;
}

.card-event__place {
  font-family: "Surt Normal Bold", sans-serif;
  font-weight: 700;
}

.card-event__excerpt {
  margin: 30px 0 0;
  font-family: "Surt Normal Regular", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: var(--blu-500);
}

@media (min-width: 992px) {
  .card-event {
    flex-direction: row;
    column-gap: 32px;
    min-height: 246px;
    padding: 32px;
  }
  /* Vertical divider between the date column and the content */
  .card-event::before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 222px;
    width: 1px;
    background: var(--nero-100);
  }
  .card-event__side,
  .card-event__main {
    display: flex;
    flex-direction: column;
  }
  .card-event__side {
    flex: 0 0 190px;
  }
  .card-event__main {
    flex: 1 1 0;
    min-width: 0;
  }
  .card-event__date,
  .card-event__title,
  .card-event__badge,
  .card-event__when,
  .card-event__excerpt {
    order: 0;
  }
  /* Date column (Figma "Data": 174 wide, 24 gap to the time block). Sizes
     from the Surt metrics (digit height 0.792em) against the 2x board:
     "09" 40/37, month 24/28, year 16/24, baselines 28.5 / 31 apart. */
  .card-event__date {
    font-size: 24px;
    line-height: 28px;
  }
  .card-event__day,
  .card-event__month,
  .card-event__year {
    display: block;
  }
  .card-event__day {
    font-size: 40px;
    line-height: 37px;
    letter-spacing: -0.011em;
  }
  .card-event__month {
    margin-top: 2px;
    letter-spacing: -0.011em;
  }
  .card-event__year {
    margin-top: 8px;
    font-size: 16px;
    line-height: 24px;
  }
  .card-event__when {
    margin-top: 21px;
    font-size: 16px;
    line-height: 20px;
  }
  /* Badge above the title, shrunk to its text; title capped at 75% of the
     content width; excerpt uses the full width. */
  .card-event__badge {
    order: -1;
    flex: 0 0 auto;
    margin-top: 0;
  }
  .card-event__title {
    max-width: 514px;
    margin-top: 16px;
  }
  .card-event__excerpt {
    margin-top: 30px;
  }
}
/**
 * Podcast series card (template-parts/card/podcast-serie.php).
 * Measured on the mockups (1440 and 375 identical): square cover 261px,
 * 16px to name (cap 16px), name to description 8px, description 14/20,
 * count 12px below. Selectors are doubled-up so they beat the legacy
 * `.serie-podcast-list h3/p/img/span/a` rules in podcast/_podcast.scss.
 */
.card-podcast-serie .card-podcast-serie__link {
  display: block;
  text-decoration: none;
}

.card-podcast-serie .card-podcast-serie__cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: var(--mag-box-radius);
}

.card-podcast-serie .card-podcast-serie__name {
  margin: 0 0 8px;
  font-family: "Surt Extended Black", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
  color: var(--ruggine-500);
}

.card-podcast-serie .card-podcast-serie__desc {
  margin: 0 0 12px;
  padding-right: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--blu-500);
}

.card-podcast-serie .card-podcast-serie__count {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nero-300);
}

/**
 * Glossary card (template-parts/card/glossary.php): white card on the pink
 * band, 642px wide on desktop, full width of its column on mobile. Spacing
 * and type are identical at both viewports in the mockups (32px padding,
 * 16px Georgia on 24px lines); the band and columns belong to the section.
 */
.card-glossary {
  display: block;
  padding: 32px;
  border-radius: var(--mag-box-radius);
  background-color: var(--bianco-500);
  text-decoration: none;
  color: var(--blu-500);
}

.card-glossary:hover,
.card-glossary:focus-visible {
  color: var(--blu-500);
  text-decoration: none;
}

.card-glossary__title {
  margin: 0 0 16px;
  font-family: "Surt Extended Black", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
  color: var(--ruggine-500);
}

.card-glossary__text {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--blu-500);
}

.card-glossary__text p {
  margin: 0 0 24px;
}

.card-glossary__text p:last-child {
  margin-bottom: 0;
}

/**
 * Magazine home simple sections (template-parts/section/): title, app,
 * newsletter, eventi, podcast, glossario. Layout only: cards and UI atoms
 * style themselves. Measured on the 1440 mockup (container 1117 wide):
 * intro column 285, events column 832, glossary card 642 at x=540.
 * Mobile is a single column in DOM order.
 */
.mag-section {
  margin-bottom: var(--mag-section-gap);
}

/* Title */
.mag-title {
  padding-top: 40px;
  margin-bottom: var(--mag-block-gap);
  text-align: center;
}

.mag-title__heading {
  margin: 0;
  font-family: var(--mag-title-font);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ruggine-500);
}

.mag-title__subtitle {
  margin: 4px 0 0;
  font-family: var(--mag-subtitle-font);
  font-size: 16px;
  line-height: 24px;
  color: var(--ruggine-500);
}

/* App box */
.mag-app__box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px;
  border-radius: var(--mag-box-radius);
  background: var(--mag-box-bg);
  color: var(--blu-500);
}

.mag-app__icon {
  flex: 0 0 71px;
  width: 71px;
  height: 71px;
}

.mag-app__body p {
  margin: 0;
}

.mag-app__title {
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
  font-size: 16px;
  line-height: 22px;
}

.mag-app__text {
  font-size: 14px;
  line-height: 20px;
}

.mag-app__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--blu-300);
}

/* Newsletter */
.mag-newsletter__box {
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: var(--mag-box-radius);
  background: var(--mag-box-bg);
  color: var(--blu-500);
}

.mag-newsletter__image img {
  display: block;
  width: 100%;
  height: auto;
}

.mag-newsletter__kicker {
  margin: 0 0 4px;
  font-family: var(--mag-title-font);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ruggine-500);
}

.mag-newsletter__title {
  margin: 0 0 8px;
  font-family: var(--mag-title-font);
  font-size: 24px;
  font-weight: 900;
  line-height: 29px;
  color: var(--blu-500);
}

.mag-newsletter__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 24px;
}

.mag-newsletter__form form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mag-newsletter__form input[type=email] {
  flex: 1 1 240px;
  padding: 12px 16px;
  border: 1px solid var(--nero-100);
  border-radius: var(--mag-btn-radius);
  background: var(--bianco-500);
}

.mag-newsletter__form input[type=submit],
.mag-newsletter__form button {
  padding: 12px 24px;
  border: 0;
  border-radius: var(--mag-btn-radius);
  background: var(--ruggine-500);
  color: var(--bianco-500);
}

/* Eventi */
.mag-eventi__title,
.mag-podcast__title,
.mag-glossario__title {
  margin: 0 0 16px;
  font-family: var(--mag-title-font);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
}

.mag-eventi__title {
  color: var(--ruggine-500);
}

.mag-eventi__text,
.mag-podcast__text,
.mag-glossario__text {
  margin: 0 0 24px;
  font-family: var(--mag-subtitle-font);
  font-size: 16px;
  line-height: 24px;
}

.mag-eventi__list {
  display: grid;
  gap: 16px;
}

.mag-eventi__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 24px;
}

.mag-eventi__intro .mag-eventi__title,
.mag-eventi__intro .mag-eventi__text {
  margin: 0;
}

.mag-eventi__image {
  display: block;
  width: 261px;
  max-width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: left top;
}

.mag-eventi__list .link-all {
  justify-self: start;
  width: 86px;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 0.03em;
  text-align: right;
  color: var(--nero-500);
}

/* Podcast band (full width) */
.mag-podcast,
.mag-glossario {
  margin-bottom: 0;
  padding: 48px 0;
}

.mag-podcast {
  background: var(--mag-band-podcast);
  color: var(--blu-500);
}

.mag-podcast__title {
  color: var(--blu-500);
}

.mag-podcast__series {
  min-width: 0;
}

/* Arrow linking to the podcast archive: third grid column, desktop only. */
.mag-podcast__nav {
  display: none;
  line-height: 0;
}

/* Glossario band (full width) */
.mag-glossario {
  background: var(--mag-band-glossary);
  color: var(--ruggine-500);
}

.mag-glossario__title {
  color: var(--bianco-500);
}

.mag-glossario__text {
  color: var(--ruggine-500);
}

.mag-glossario__term .link-all {
  display: inline-block;
  margin-top: 16px;
}

@media (min-width: 992px) {
  .mag-title__heading {
    font-size: 56px;
  }
  .mag-title__subtitle {
    font-size: 18px;
  }
  .mag-app__box {
    padding: 32px;
  }
  .mag-newsletter__box {
    grid-template-columns: 1fr 1.7fr;
    align-items: center;
    gap: 32px;
    padding: 32px;
  }
  .mag-newsletter__title {
    font-size: 28px;
    line-height: 29px;
  }
  .mag-eventi {
    display: grid;
    grid-template-columns: 261px 832px;
    justify-content: space-between;
    align-items: start;
  }
  .mag-eventi__intro {
    width: 261px;
    margin-bottom: 0;
  }
  .mag-eventi__title,
  .mag-podcast__title,
  .mag-glossario__title {
    font-size: 40px;
  }
  .mag-podcast__inner {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
  }
  .mag-podcast__nav {
    display: block;
  }
  .mag-glossario__inner {
    display: grid;
    grid-template-columns: 285px 642px;
    gap: 93px;
    align-items: start;
  }
}
/* News strip */
.mag-news {
  margin-bottom: var(--mag-block-gap);
  --news-chip-width: 205px;
}

.mag-news__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--mag-title-gap);
}

.mag-news__head .section-header {
  margin-bottom: 0;
}

.mag-news__strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.mag-news__strip.owl-carousel {
  display: block; /* owl takes over the layout once bound */
  overflow: visible;
}

.mag-news__strip .owl-stage {
  display: flex;
}

.mag-news__strip .owl-item {
  display: flex;
}

/* Parliamone: the grid owns the outer border, cells only draw inner lines */
.mag-parliamone__grid {
  display: grid;
  border: 1px solid var(--nero-100);
  border-radius: var(--mag-box-radius);
  overflow: hidden;
}

.mag-parliamone__grid .card-post {
  border: 0;
}

.mag-parliamone__grid .mag-parliamone__cell {
  border-top: 1px solid var(--nero-100);
}

.mag-parliamone__cta {
  margin-top: 24px;
  text-align: center;
}

@media (min-width: 992px) {
  .mag-parliamone__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mag-parliamone__grid .mag-parliamone__lead {
    grid-column: 1/-1;
  }
  .mag-parliamone__grid .mag-parliamone__cell + .mag-parliamone__cell {
    border-left: 1px solid var(--nero-100);
  }
}
/* Storie: 1 big + 2x2 small (list rows on mobile, handled by the card) */
.mag-storie__grid {
  display: grid;
  gap: 24px;
}

.mag-storie__small {
  display: grid;
  gap: 0 24px;
}

.mag-storie__cta,
.topic-tabs__cta {
  margin-top: 32px;
  text-align: center;
}

/* Argomenti: tabs + panels */
.mag-argomenti__header .section-header-title {
  color: var(--blu-500); /* #192649 measured on the mockup */
}

.topic-tabs__list {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.topic-tabs__list::-webkit-scrollbar {
  display: none;
}

.topic-tabs__tab {
  flex: 0 0 auto;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font-family: "Surt Extended Regular", sans-serif;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  color: var(--nero-500);
  transition: opacity 0.2s ease;
}

.topic-tabs__tab:hover {
  opacity: 0.8;
}

.topic-tabs__tab.is-active {
  border-bottom-color: var(--nero-500);
  font-weight: 700;
}

.topic-tabs__tab:focus-visible {
  outline: 2px solid var(--blu-500);
  outline-offset: 4px;
}

.topic-tabs__panel[hidden] {
  display: none;
}

.topic-tabs__content {
  display: grid;
  gap: 24px;
}

@media (min-width: 992px) {
  .mag-storie__grid {
    grid-template-columns: 451px 1fr;
    gap: 120px;
    align-items: start;
  }
  .mag-storie__small {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .topic-tabs__list {
    justify-content: center;
  }
  .topic-tabs__content {
    grid-template-columns: 548px 451px;
    justify-content: space-between;
    align-items: start;
    gap: 0;
  }
}
/* News strip: right-to-left marquee, paused on hover/focus. The track holds
   two identical groups, so translating by -50% loops seamlessly. */
.mag-news__strip {
  overflow: hidden;
}

.mag-news__track {
  display: flex;
  width: max-content;
  animation: mag-news-scroll var(--mag-news-duration, 48s) linear infinite;
}

.mag-news__group {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding-right: 8px;
}

.mag-news__strip.is-js {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.mag-news__strip.is-js .mag-news__track {
  animation: none;
  will-change: transform;
}

.mag-news__strip.is-dragging {
  cursor: grabbing;
}

.mag-news__strip:hover .mag-news__track,
.mag-news__strip:focus-within .mag-news__track {
  animation-play-state: paused;
}

@keyframes mag-news-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mag-news__strip {
    overflow-x: auto;
  }
  .mag-news__track {
    animation: none;
  }
  .mag-news__group[aria-hidden=true] {
    display: none;
  }
}
/**
 * Migrated from assets/css/rame.css lines 3643-3881 (about page sections)
 * and 3918-3988 (.section-about/.section-about-secondary/.section-404,
 * a smaller adjacent domain bundled here per the decomposition map). The
 * generic .counter-carousel rules at 3890-3913 and the base `table` rules
 * at 3989-3995 are NOT part of this file — see base/_tables.scss for the
 * table rules; .counter-carousel is reused outside the about page (it's
 * still in legacy rame.css, not yet migrated on its own).
 */
.about-title {
  background-color: #8B261F;
  color: #fff;
  font-size: 21px;
  line-height: 32px;
  padding-top: 97px;
  padding-bottom: 72px;
}

.about-title h1 {
  color: #F0AFA1;
  line-height: 48px;
  margin-bottom: 80px;
}

.about-title strong {
  font-family: "Surt Normal Extrabold";
}

.about-title > .container {
  max-width: 926px;
}

.about-title p {
  max-width: 546px;
  margin: 0 auto 24px;
}

.about-community {
  background-color: #FCEFEC;
}

.about-community .counter-carousel strong {
  color: #F0AFA1;
}

.about-community .counter-carousel .count,
.about-aziende .counter-carousel .count {
  height: 100%;
}

.about-community cite {
  display: block;
  font-family: "Surt Normal Regular";
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  margin-top: 16px;
  margin-bottom: 64px;
}

.about-community .btn {
  padding: 6px 16px;
}

.about-community small {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  display: block;
  margin-top: 40px;
  margin-bottom: 16px;
}

.about-aziende {
  background-color: #E6EEEC;
}

.about-aziende .counter-carousel strong {
  color: #83A89F;
}

.about-aziende .what {
  margin-top: 70px;
}

.about-aziende .what small {
  font-size: 16px;
  font-weight: 700;
  line-height: 19.2px;
  color: #5B70A9;
  display: block;
  margin-bottom: 22px;
}

.about-aziende .what h5 {
  margin-bottom: 0;
}

.about-aziende .about-info {
  max-width: 320px;
}

.about-aziende a.link {
  color: #8B261F;
}

.about-aziende a.btn {
  margin-bottom: -14px;
  background-color: #83A89F;
  border: none;
}

.about-aziende strong {
  font-family: "Surt Normal Extrabold";
}

.about-aziende .customers {
  padding-top: 40px;
}

.about-aziende ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 10px;
}

.about-aziende ul li {
  position: relative;
  padding-left: 10px;
}

.about-aziende ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  background-color: #192649;
  border-radius: 50%;
  transform: translateY(-50%);
}

.about-scuole {
  background-color: #FCF5E9;
}

.about-scuole .counter-carousel strong {
  color: #C05E43;
}

.about-scuole .counter-carousel {
  margin-top: 24px;
}

.about-scuole a.link {
  margin-top: 16px;
  padding-bottom: 22px;
  display: block;
}

.about-scuole .teaser {
  /*max-width: 640px;*/
  padding-bottom: 10px;
}

.about-staff h5 {
  color: #8B261F;
}

.about-staff .staff p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.011em;
  margin-bottom: 0;
}

.about-staff .staff-carousel {
  margin-top: 19px;
}

.about-staff .staff-carousel img {
  width: 72px;
  margin-bottom: 9px;
  margin-top: 24px;
}

.about-staff .staff-carousel h6 {
  font-family: "Surt Extended Black";
  font-size: 14px;
  font-weight: 900;
  line-height: 16.8px;
  letter-spacing: -0.011em;
  color: #8B261F;
}

.about-staff .staff-carousel a {
  text-decoration: none;
}

.about-staff strong {
  font-family: "Surt Normal Bold";
}

.about-staff .staff-carousel.owl-carousel .owl-stage {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.about-press {
  background-color: #F0F6FC;
}

.about-press .partners .partner,
.about-aziende .partners .partner {
  border: none;
  margin-top: 20px;
  margin-right: 22px;
  padding-right: 22px;
}

.about-sponsors {
  background-color: #FCF5E9;
}

.about-sponsors img {
  width: 100%;
}

.about-sponsors a.link {
  font-family: "Surt Normal Bold";
  margin-bottom: 18px;
}

.about-contacts {
  background-color: #F0AFA1;
}

.about-contacts a {
  text-decoration: none;
  color: #192649;
}

.page-template-page-about footer > div {
  margin-top: 0 !important;
}

.image-container {
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 100px;
  position: relative;
  margin-bottom: 16px;
  margin-top: 32px;
}

.image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.partners {
  font-size: 0;
}

.partners .partner {
  display: inline-block;
  vertical-align: middle;
  border-right: 1px solid #D7D7D7;
  margin-right: 34px;
  padding-right: 34px;
}

.partners .partner:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.section-about {
  padding-top: 95px;
  padding-bottom: 95px;
}

.section-about > .container {
  max-width: 740px;
}

.section-about h2 {
  font-family: "Surt Extended Black";
  font-size: 32px;
  font-weight: 900;
  line-height: 34px;
  color: #8B261F;
}

.section-about h3 {
  font-family: "Surt Normal Regular";
  font-size: 21px;
  font-weight: 400;
  line-height: 32px;
  color: #192649;
  margin-bottom: 14px;
}

.section-about h4 {
  font-family: "Surt Extended Black";
  font-size: 24px;
  font-weight: 900;
  line-height: 24px;
  color: #192649;
}

.section-about h5 {
  font-family: "Surt Extended Black";
  font-size: 18px;
  font-weight: 900;
  line-height: 21.6px;
  letter-spacing: -0.011em;
}

.section-about .separator {
  margin-top: 56px;
  margin-bottom: 15px;
}

.section-about a.link {
  font-size: 14px;
  font-weight: 500;
  line-height: 16.8px;
  letter-spacing: -0.011em;
}

.section-about h4.big {
  font-family: "Surt Extended Regular";
  font-size: 28px;
  font-weight: 400;
  line-height: 33.6px;
  letter-spacing: -0.011em;
  color: #192649;
  max-width: 520px;
  margin: auto;
  text-align: center;
  margin-top: 43px;
  margin-bottom: 43px;
}

.section-about-secondary h2 {
  font-size: 28px;
  line-height: 34px;
}

.section-about .separator-double {
  margin-top: 120px;
}

.section-404 {
  padding-top: 130px;
  padding-bottom: 140px;
}

/**
 * Migrated from assets/css/rame.css lines 3989-3995. Base `table`
 * element styling, unscoped to any page/component.
 */
table tr td {
  border: 1px solid #ccc;
  padding: 10px;
}

table {
  margin-bottom: 24px;
}

/**
 * Migrated from assets/css/rame.css lines 3996-4588: gift/campaign
 * landing pages (regala-app, San Valentino, 8-marzo) — intro hero,
 * .gift-list/.gift-choose/.gift-item cards, San Valentino video/FAQ
 * block, and the video-play-icon inline swap. Kept as a literal 1:1
 * migration: the 9 `.gift-item.<color>` variants below are a repeated
 * pattern the decomposition map flags as a `$gift-item-colors` map +
 * `@each` candidate, but per the migration plan's own convention
 * (land the literal move first, refactor separately) that abstraction
 * is deliberately NOT introduced in this pass.
 */
.storie-same-height {
  display: block;
  height: 190px;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}

.storie-same-height img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
}

.page-template-page-regala-app .main-container,
.page-template-page-san-valentino .main-container,
.page-template-page-8-marzo .main-container,
.woocommerce-page .main-container {
  margin-top: 80px;
}

.intro-image {
  height: 548px;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.intro-image h1 {
  font-size: 52px;
  line-height: 120%;
  margin-bottom: 46px;
  color: #fff;
}

.intro-image p {
  font-size: 24px;
  line-height: 32px;
  color: #fff;
}

.intro-image:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  height: 100%;
  width: calc(50% + 3rem);
  background-color: rgba(25, 38, 73, 0.5);
}

.intro-image .intro-image-text {
  position: absolute;
  z-index: 1;
  transform: translateY(-50%);
  top: 50%;
  max-width: 540px;
}

.intro-image.big-height {
  height: 647px;
}

.intro-image.big-height:before {
  display: none;
}

.intro-image.big-height .intro-image-text {
  background: rgba(253, 246, 241, 0.85);
  max-width: 765px;
  border-radius: 30px;
  padding: 36px 30px 31px 58px;
  transform: translateY(-50%);
}

.intro-image.big-height .intro-image-text h1,
.intro-image.big-height .intro-image-text p,
.intro-image.big-height .intro-image-text span,
.intro-image.big-height .intro-image-text div {
  color: #0C0C0D;
}

.intro-image.big-height .intro-image-text h1 {
  font-size: 60px;
  margin-bottom: 17px;
}

.intro-image.big-height .intro-image-text p {
  font-size: 26px;
  max-width: 600px;
  margin-bottom: 46px;
}

.intro-image.big-height .intro-image-text span {
  font-size: 37px;
  font-family: "Surt Extended Black", sans-serif;
}

.intro-image.big-height .intro-image-text .discount {
  display: inline-block;
  background-color: #F7E0BE;
  border-radius: 160px;
  font-family: "Surt Extended Regular", sans-serif;
  font-size: 55px;
  max-width: 287px;
  text-align: center;
  line-height: 125%;
  padding: 40px;
  position: absolute;
  bottom: -75px;
  right: -127px;
}

.intro-image.big-height .intro-image-text .discount strong {
  display: block;
  font-family: "Surt Extended Black", sans-serif;
}

.gift-list.big-height {
  padding-top: 61px;
  padding-bottom: 26px;
}

.gift-list.big-height .gift-item {
  cursor: pointer;
  height: 164px;
  overflow: hidden;
}

.gift-list.big-height .gift-item.active {
  height: auto;
}

.gift-list.big-height .gift-item h3 {
  font-size: 50px;
  line-height: 135%;
}

.gift-list.big-height .gift-item p,
.gift-list.big-height .gift-item ul li {
  font-size: 23px;
  line-height: 32px;
  margin-bottom: 0;
}

.gift-list.big-height .gift-item .gift-info {
  padding-top: 9px;
  padding-bottom: 24px;
  position: relative;
}

.gift-list.big-height .gift-item.active .gift-info:after {
  content: "";
  display: block;
  position: absolute;
  right: 41px;
  top: 83px;
  height: 48px;
  width: 48px;
  background: url('data:image/svg+xml,<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M32.7273 24.9037L26.1818 18.3583L26.1818 37.0909L21.8182 37.0909L21.8182 18.3583L15.2727 24.9037L12.1872 21.8182L24 10.0054L35.8128 21.8182L32.7273 24.9037Z" fill="%23FDF6F1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M24 -1.04907e-06C37.2548 -4.69686e-07 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 -1.62846e-06 37.2548 -1.04907e-06 24C-4.69686e-07 10.7452 10.7452 -1.62846e-06 24 -1.04907e-06ZM43.6364 24C43.6364 13.1551 34.8449 4.36364 24 4.36364C13.1551 4.36363 4.36364 13.1551 4.36363 24C4.36363 34.8449 13.1551 43.6364 24 43.6364C34.8449 43.6364 43.6364 34.8449 43.6364 24Z" fill="%23FDF6F1"/></svg>');
}

.gift-list.big-height .gift-item:not(.active) .gift-info:after {
  content: "";
  display: block;
  position: absolute;
  right: 41px;
  top: 83px;
  height: 48px;
  width: 48px;
  background: url('data:image/svg+xml,<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.2727 23.0963L21.8182 29.6417V10.9091H26.1818V29.6417L32.7273 23.0963L35.8128 26.1818L24 37.9946L12.1872 26.1818L15.2727 23.0963Z" fill="%23FDF6F1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48ZM4.36364 24C4.36364 34.8449 13.1551 43.6364 24 43.6364C34.8449 43.6364 43.6364 34.8449 43.6364 24C43.6364 13.1551 34.8449 4.36364 24 4.36364C13.1551 4.36364 4.36364 13.1551 4.36364 24Z" fill="%23FDF6F1"/></svg>');
}

.border-bottom-medium {
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  box-shadow: 0 0 0 100px #F7E0BE;
}

.border-top-medium {
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  box-shadow: 0 0 0 100px #F7E0BE;
}

.light-background {
  background-color: #FDF6F1;
}

.medium-background {
  background-color: #F7E0BE;
}

.color-blue {
  color: #192649 !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.gift-list.big-height h2 {
  max-width: 1000px;
  margin-bottom: 53px;
}

.gift-teaser.big-height .small-title {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 37px;
  line-height: 130%;
  margin-bottom: 40px;
  color: #0C0C0D;
}

.gift-teaser.big-height .big-title {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 60px;
  line-height: 130%;
  color: #8B261F;
  margin-bottom: 48px;
}

.gift-teaser.big-height .btn-primary, .san-valentino-video .btn-primary {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 45px !important;
  line-height: 65% !important;
  padding: 56px 72px 58px !important;
  border-radius: 30px;
  margin-bottom: 122px;
}

.gift-teaser.big-height .medium-title {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 60px;
  line-height: 135%;
  color: #8B261F;
  margin-bottom: 0;
}

.gift-teaser.big-height ul {
  font-size: 0;
  margin-bottom: 19px;
}

.gift-teaser.big-height ul li {
  font-size: 23px;
  line-height: 30px;
  width: calc(50% - 32px);
  display: inline-block;
  border-radius: 80px;
  padding: 23px 59px 27px;
  margin-bottom: 32px;
  margin-right: 32px;
  vertical-align: middle;
  position: relative;
  z-index: 1;
}

.gift-teaser.big-height ul li:nth-child(1) {
  background-color: #F38B6F;
}

.gift-teaser.big-height ul li:nth-child(2) {
  background-color: #F2A49E;
}

.gift-teaser.big-height ul li:nth-child(3) {
  background-color: #FFC7A9;
}

.gift-teaser.big-height ul li:nth-child(4) {
  background-color: #7DC1B0;
}

.gift-teaser {
  background-size: cover;
  padding-top: 55px;
  padding-bottom: 48px;
}

.gift-teaser h2 {
  font-family: "Surt Extended Black", sans-serif;
  color: #192649;
  font-size: 32px;
  line-height: 120%;
  margin-bottom: 14px;
}

.gift-teaser p {
  font-size: 20px;
  line-height: 28px;
  color: #192649;
  margin-bottom: 46px;
}

.gift-teaser .btn.btn-primary, .gift-choose .btn.btn-primary, .san-valentino-video .btn.btn-primary {
  font-size: 20px;
  line-height: 18px;
  background-color: #192649;
  border: none;
  padding: 16px 25px;
}

.san-valentino-video .btn.btn-primary {
  line-height: 65px !important;
  padding: 14px 100px !important;
  max-width: 715px;
  display: inline-block;
  margin: auto;
  margin-bottom: 63px;
  z-index: 1;
}

.gift-teaser .max-450 {
  max-width: 450px;
}

.gift-list {
  padding-top: 102px;
}

.gift-choose {
  margin-top: 100px;
}

.gift-list h2, .gift-choose h2 {
  font-family: "Surt Extended Black", sans-serif;
  color: #0C0C0D;
  font-size: 37px;
  line-height: 130%;
  max-width: 650px;
  margin: auto;
}

.gift-list h2 {
  margin-bottom: 73px;
}

.gift-choose h2 {
  margin-bottom: 64px;
}

.gift-choose .btn {
  margin-bottom: 52px;
}

.gift-item {
  margin-bottom: 36px;
}

.gift-item h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 32px;
  line-height: 120%;
  margin-bottom: 84px;
}

.gift-item ul {
  margin-bottom: 0;
}

.gift-item p,
.gift-item ul li {
  font-size: 20px;
  color: #192649;
}

.gift-item img {
  max-width: 170%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gift-item .gift-image {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  position: relative;
}

.gift-item .gift-info {
  padding: 61px 31px;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

.background-book-san-valentino {
  position: absolute;
  width: 200px;
}

.background-book-san-valentino.pos-1 {
  left: 20px;
  top: 300px;
  transform: rotate(-15deg);
}

.background-book-san-valentino.pos-2 {
  right: 20px;
  top: 320px;
}

.san-valentino-video {
  padding-top: 44px;
  padding-bottom: 31px;
  position: relative;
  z-index: 1;
}

.san-valentino-video-container {
  position: relative;
  overflow: hidden;
}

/*.san-valentino-video-container:before {
    content: '';
    display: block;
    background-image: url('/wp-content/uploads/2025/01/piante-1.png');
    width: 385px;
    height: 544px;
    position: absolute;
    top: 220px;
    right: 0;
    background-repeat: no-repeat;
}
.san-valentino-video-container:after {
    content: '';
    display: block;
    background-image: url('/wp-content/uploads/2025/01/piante-2.png');
    width: 432px;
    height: 656px;
    position: absolute;
    bottom: -124px;
    left: 0;
    background-repeat: no-repeat;
}*/
.gift-list.big-height.gift-faq {
  padding-top: 54px;
}

.san-valentino-video img {
  max-width: 100%;
  width: 522px;
  margin-bottom: 24px;
}

.san-valentino-video h2 {
  font-family: "Surt Extended Black", sans-serif;
  color: #8B261F;
  font-size: 60px;
  line-height: 135%;
  margin-bottom: 47px;
}

.san-valentino-faq {
  margin-bottom: -48px;
  padding-bottom: 12px;
}

.san-valentino-faq .single-faq.noborder {
  border: none;
}

.san-valentino-faq .single-faq {
  border-top: 1px solid #000;
  padding-top: 40px;
  padding-bottom: 3px;
  position: relative;
  cursor: pointer;
  padding-right: 50px;
}

.san-valentino-faq .single-faq.active:after {
  content: "";
  display: block;
  position: absolute;
  height: 48px;
  width: 48px;
  top: 30px;
  right: 0;
  background: url('data:image/svg+xml,<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M32.7273 24.9037L26.1818 18.3583L26.1818 37.0909L21.8182 37.0909L21.8182 18.3583L15.2727 24.9037L12.1872 21.8182L24 10.0054L35.8128 21.8182L32.7273 24.9037Z" fill="black"/><path fill-rule="evenodd" clip-rule="evenodd" d="M24 -1.04907e-06C37.2548 -4.69686e-07 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 -1.62846e-06 37.2548 -1.04907e-06 24C-4.69686e-07 10.7452 10.7452 -1.62846e-06 24 -1.04907e-06ZM43.6364 24C43.6364 13.1551 34.8449 4.36364 24 4.36364C13.1551 4.36363 4.36364 13.1551 4.36363 24C4.36363 34.8449 13.1551 43.6364 24 43.6364C34.8449 43.6364 43.6364 34.8449 43.6364 24Z" fill="black"/></svg>');
}

.san-valentino-faq .single-faq:not(.active):after {
  content: "";
  display: block;
  position: absolute;
  height: 48px;
  width: 48px;
  top: 30px;
  right: 0;
  background: url('data:image/svg+xml,<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.2727 23.0963L21.8182 29.6417L21.8182 10.9091L26.1818 10.9091L26.1818 29.6417L32.7273 23.0963L35.8128 26.1818L24 37.9946L12.1872 26.1818L15.2727 23.0963Z" fill="black"/><path fill-rule="evenodd" clip-rule="evenodd" d="M24 48C10.7452 48 1.28135e-07 37.2548 2.86197e-07 24C4.44259e-07 10.7452 10.7452 1.28135e-07 24 2.86197e-07C37.2548 4.44259e-07 48 10.7452 48 24C48 37.2548 37.2548 48 24 48ZM4.36364 24C4.36364 34.8449 13.1551 43.6364 24 43.6364C34.8449 43.6364 43.6364 34.8449 43.6364 24C43.6364 13.1551 34.8449 4.36364 24 4.36364C13.1551 4.36364 4.36364 13.1551 4.36364 24Z" fill="black"/></svg>');
}

.san-valentino-faq .single-faq.active p {
  display: block;
}

.san-valentino-faq .single-faq h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-size: 23px;
  line-height: 120%;
  letter-spacing: -1.1%;
  color: #000;
  margin-bottom: 38px;
}

.san-valentino-faq .single-faq p {
  font-size: 23px;
  line-height: 120%;
  letter-spacing: -1.1%;
  color: #000;
  margin-bottom: 28px;
  display: none;
}

.video-play-icon {
  position: relative;
}

.video-play-icon:before {
  content: "";
  display: block;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="64.0267" cy="63.9994" r="63.8704" fill="%23192649"/><path d="M92.7617 57.0711C98.095 60.1503 98.0951 67.8483 92.7617 70.9275L55.6612 92.3475C50.3278 95.4267 43.6612 91.5777 43.6612 85.4193L43.6612 42.5793C43.6612 36.4209 50.3278 32.5719 55.6612 35.6511L92.7617 57.0711Z" fill="%23FDF6F1"/></svg>');
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-play-icon.active:before {
  display: none;
}

.video-play-icon.double:before {
  zoom: 2;
}

.video-play-icon img, video.dyn {
  border-radius: 30px;
}

.gift-item .gift-image {
  overflow: hidden;
}

.gift-item.darkblue .gift-info {
  background-color: #192649;
}

.gift-item.darkblue h3,
.gift-item.darkblue p,
.gift-item.darkblue ul li {
  color: #fff;
}

.gift-item.darkblue .gift-image {
  background-color: #E2ECFA;
}

.gift-item.blue .gift-info {
  background-color: #C5D9F5;
}

.gift-item.blue h3 {
  color: #192649;
}

.gift-item.blue .gift-image {
  background-color: #E2ECFA;
}

.gift-item.green .gift-info {
  background-color: #9CB9B2;
}

.gift-item.green h3 {
  color: #fff;
}

.gift-item.green .gift-image {
  background-color: #E6EEEC;
}

.gift-item.darkgreen .gift-info {
  background-color: #69867F;
}

.gift-item.darkgreen h3,
.gift-item.darkgreen p,
.gift-item.darkgreen ul li {
  color: #fff;
}

.gift-item.darkgreen .gift-image {
  background-color: #E6EEEC;
}

.gift-item.yellow .gift-info {
  background-color: #F5D5A9;
}

.gift-item.yellow h3 {
  color: #8B261F;
}

.gift-item.yellow .gift-image {
  background-color: #FCF5E9;
}

.gift-item.red .gift-info {
  background-color: #F0AFA1;
}

.gift-item.red h3 {
  color: #fff;
}

.gift-item.red .gift-image {
  background-color: #F9DFD9;
}

.gift-item.darkred .gift-info {
  background-color: #8B261F;
}

.gift-item.darkred h3,
.gift-item.darkred p,
.gift-item.darkred ul li {
  color: #fff;
}

.gift-item.darkred .gift-image {
  background-color: #F7E0BE;
}

.gift-item.orange .gift-info {
  background-color: #F4D0BA;
}

.gift-item.orange h3 {
  color: #734540;
}

.gift-item.orange .gift-image {
  background-color: #FBECE3;
}

.gift-item.darkorange .gift-info {
  background-color: #C05E43;
}

.gift-item.darkorange h3,
.gift-item.darkorange p,
.gift-item.darkorange ul li {
  color: #fff;
}

.gift-item.darkorange .gift-image {
  background-color: #F9DFD9;
}

/**
 * Migrated from assets/css/rame.css lines 4589-4664: WooCommerce
 * checkout overrides — hiding WCPay/PayPal express-checkout widgets,
 * the two-column #customer_details/#order_review layout, checkout
 * input/select2 skinning, and the #place_order / .wc-block-cart__submit-button
 * button styling. Literal 1:1 migration, no new abstractions: several
 * selectors here (`.wc-block-cart__payment-options`,
 * `.wc-block-cart__submit-button`, the `[data-block-name=...]` attribute
 * selector) target WooCommerce's own block/core markup directly, so they
 * are copied verbatim rather than "cleaned up" — see the migration report
 * for a flagged specificity note on the #place_order/.wc-block-cart__submit-button
 * comma-grouped rules.
 */
.wc-block-cart__payment-options,
div[data-block-name="woocommerce-paypal-payments/checkout-paylater-messages"],
form.wc-block-components-form.wc-block-checkout__form > div:first-of-type {
  display: none !important;
}

#customer_details .col-1 {
  width: 100%;
}

#customer_details .col-2 {
  display: none;
}

form.woocommerce-checkout .col2-set,
#order_review {
  width: 45%;
  display: inline-block;
  vertical-align: top;
}

#order_review {
  float: right;
}

#order_review_heading {
  display: none;
}

form.woocommerce-checkout input {
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #a2a4a7;
}

form.woocommerce-checkout .select2-container .select2-selection--single {
  height: 47px;
}

form.woocommerce-checkout .select2-container .select2-selection--single span {
  padding: 9px 15px;
}

form.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px;
}

form.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #000;
}

form.woocommerce-checkout #place_order,
.wc-block-cart__submit-button {
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  background-color: #8b261f;
  color: #fff;
  text-decoration: none;
}

form.woocommerce-checkout #place_order:hover,
.wc-block-cart__submit-button:hover {
  background-color: #6F1E19;
}

.wc-block-cart__submit-button:hover span {
  color: #fff;
}

form.woocommerce-checkout #place_order:active,
.wc-block-cart__submit-button:active {
  background-color: #192649;
}

.wcpay-payment-request-wrapper, #wcpay-express-checkout-button-separator {
  display: none !important;
}

form.woocommerce-checkout .separator-top {
  border-top: 1px solid #8B261F;
  padding-top: 10px !important;
  margin-top: 40px !important;
}

form.woocommerce-checkout .separator-top span {
  font-size: 14px;
  color: #192649;
  float: right;
}

/**
 * Migrated from assets/css/rame.css lines 4665-4703: `.btn-app`/
 * `.btn-header-last` and the `.discover-app` app-download teaser
 * (incl. its video play-button overlay). This range sits between the
 * woocommerce checkout and cart ranges in the source and was
 * deliberately left there for this sub-phase to pick up — see the
 * decomposition map's note on sub-phase 10.
 */
.btn-app, .btn-header-last {
  background-color: #8B261F !important;
}

.discover-app {
  margin-top: 80px;
  padding-top: 32px;
}
.discover-app h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 56px;
  color: #192649;
  margin-top: 30px;
}
.discover-app img, .discover-app video {
  max-width: 100%;
  border-radius: 20px;
}
.discover-app .video-play {
  position: relative;
  display: block;
}
.discover-app .video-play:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}
.discover-app .video-play svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/**
 * Migrated from assets/css/rame.css lines 4704-4716: WooCommerce cart
 * page heading and "go back" link. These two rules are interleaved in
 * the source with .btn-app/.btn-header-last/.discover-app (lines
 * 4665-4703), which belong to the future pages/_home.scss sub-phase and
 * are deliberately left untouched in rame.css — see the decomposition
 * map's note on this range.
 */
.woocommerce-cart h1 {
  font-weight: 900;
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: -1.1%;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 40px;
}

.goback {
  margin-bottom: 36px;
  display: block;
}

/**
 * Migrated from assets/css/rame.css lines 4718-4791: `.page-template-page-aziende`
 * color/spacing overrides layered on top of the homepage
 * `.home-faq`, `.membership-features-container`, and `.home-about`
 * cascades. These depend on the base rules in pages/_home-faq.scss,
 * pages/_home-membership.scss, and pages/_home-sections.scss
 * (home-about) cascading correctly — those partials are not modified
 * here, only overridden as the source does.
 */
.page-template-page-aziende footer {
  margin-top: -48px;
}
.page-template-page-aziende .home-faq {
  margin-top: 0;
}
.page-template-page-aziende .home-faq .accordion-item .accordion-body {
  padding-top: 0;
  padding-bottom: 0;
}
.page-template-page-aziende .home-about {
  border-top: none;
  margin-top: 20px;
}
.page-template-page-aziende .home-about .owl-dots {
  display: none;
}
.page-template-page-aziende .home-about .section-separator {
  border-bottom: 1px solid #000;
  margin-bottom: -7px;
  padding-bottom: 72px;
}
.page-template-page-aziende .home-about h2 {
  font-size: 40px;
  line-height: 125%;
  letter-spacing: 0%;
  color: #192649;
  margin-bottom: 60px;
}
.page-template-page-aziende .home-about .about-card {
  max-width: 736px;
  padding: 47px 67px 44px;
  background: #F2CB93;
}
.page-template-page-aziende .home-about .owl-nav .owl-next {
  right: calc(50% - 432px);
}
.page-template-page-aziende .home-about .owl-nav .owl-prev {
  left: calc(50% - 432px);
}
.page-template-page-aziende .home-about .about-card span {
  color: #192649;
}
.page-template-page-aziende .home-about .about-card img {
  width: 71px;
  margin-right: 22px;
  border-radius: 50px;
}
.page-template-page-aziende .home-about .about-card span,
.page-template-page-aziende .home-about .about-card p {
  line-height: 23px;
}
.page-template-page-aziende .membership-features-container .accordion-button:after {
  zoom: 1.75;
  margin-top: -2px;
  margin-right: 2px;
}
.page-template-page-aziende .membership-features-container img {
  border-radius: 20px;
}
.page-template-page-aziende .membership-features-container .accordion-item .accordion-button {
  color: #192649 !important;
}
.page-template-page-aziende .membership-features-container .accordion-item.feat-2,
.page-template-page-aziende .membership-features-container .accordion-item.feat-2 .accordion-button {
  background-color: #CDDCD9;
}
.page-template-page-aziende .membership-features-container .accordion-item.feat-5,
.page-template-page-aziende .membership-features-container .accordion-item.feat-5 .accordion-button {
  background-color: #F4D0BA;
}

/**
 * Migrated from assets/css/rame.css lines 4792-5027 (through EOF): the
 * standalone Aziende landing page — `.section-red`, `.how-container`
 * (interactive "box-single" cards with a JS-driven `.actived` state,
 * toggled by assets/js/box-toggles/index.js — not touched here),
 * `.section-why`, `.aziende-partner`, `.aziende-hero`, plus the two
 * trailing `.page-template-page-aziende` header/layout overrides that
 * sit at the very end of the source file after the landing sections.
 */
.section-red {
  background: #E6BFB4;
  padding: 70px 0;
}
.section-red h2 {
  font-family: "Surt Extended Black";
  font-weight: 900;
  font-size: 32px;
  line-height: 124%;
  letter-spacing: -1.1%;
  color: #192649;
  margin-bottom: 68px;
}
.section-red .btn {
  font-size: 24px;
  line-height: 32px;
  max-width: 261px;
  margin: 0 auto;
  display: block;
}

.how-container {
  padding: 64px 0;
}
.how-container h2 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  color: #192649;
  max-width: 650px;
  margin: 0 auto 64px;
}
.how-container .box-single {
  overflow: hidden;
  min-height: 296px;
  margin-bottom: 16px;
  border-radius: 40px;
}
.how-container .box-single h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 38.4px;
  color: #192649;
  margin-bottom: 19px;
}
.how-container .box-single p {
  font-size: 16px;
  line-height: 23px;
}
.how-container .box-single .btn-primary-big {
  padding: 18px 12px;
  margin-top: 11px;
  font-size: 24px;
  line-height: 18px;
}
.how-container .box-single .btn-close-info {
  position: absolute;
  right: 14px;
  top: 14px;
  display: none;
}
.how-container .box-single .box-image {
  position: relative;
  overflow: hidden;
}
.how-container .box-single .box-image img {
  max-width: 100%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.how-container .box-single .box-text {
  padding: 40px 57px;
  position: relative;
}
.how-container .box-single .box-text .hidden-text {
  display: none;
}
.how-container .box-single.box-color-1 {
  background: #B5CBC5;
}
.how-container .box-single.box-color-1 .box-image {
  background: #9CB9B2;
}
.how-container .box-single.box-color-2 {
  background: #C5D9F5;
}
.how-container .box-single.box-color-2 .box-image {
  background: #93AAE8;
}
.how-container .box-single {
  /* .actived is a JS-driven state class toggled by
     assets/js/box-toggles/index.js — preserved verbatim, JS not touched. */
}
.how-container .box-single.actived .btn-primary-big {
  display: none;
}
.how-container .box-single.actived .box-text .visible-text {
  display: none;
}
.how-container .box-single.actived .box-text .hidden-text {
  display: block;
}
.how-container .box-single.actived .btn-close-info {
  display: block;
}
.how-container .box-single.actived .btn-close-info svg path {
  stroke: #192649;
}
.how-container .box-single .hidden-text strong {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
}
.how-container .box-single:not(.actived) .justify-content-center {
  justify-content: space-between !important;
}

.h-100 {
  height: 100%;
}

.section-why {
  background: #F2CB93;
  border-radius: 40px;
  padding: 62px 0 32px;
}
.section-why h2 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 125%;
  color: #192649;
}
.section-why .btn {
  font-size: 24px;
  line-height: 18px;
  padding: 18px 21px;
}
.section-why h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 60px;
  line-height: 125%;
  letter-spacing: 0%;
  color: #192649;
  margin-bottom: 23px;
}
.section-why h3,
.section-why p,
.section-why span.source {
  display: block;
  text-align: center;
}
.section-why span.source {
  color: #5F5F5F;
  margin-bottom: 32px;
}
.section-why p {
  min-height: 126px;
}
.section-why .items > div {
  border-right: 1px solid #000;
  padding-top: 32px;
}
.section-why .items {
  border-top: 1px solid #000;
  margin-top: 28px;
}
.section-why .items > div:last-child {
  border-right: none;
}

.aziende-partner {
  padding: 36px 0 32px;
}
.aziende-partner img {
  max-width: 100%;
}

.aziende-hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  padding: 60px 0px 49px;
}
.aziende-hero:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(205, 220, 217, 0.9);
  z-index: 0;
}
.aziende-hero > .container {
  position: relative;
  z-index: 1;
}
.aziende-hero h1 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 125%;
  color: #192649;
  margin-bottom: 72px;
}
.aziende-hero h1 span {
  display: block;
}
.aziende-hero p {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
}
.aziende-hero strong {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
}
.aziende-hero .btn {
  font-size: 24px;
  line-height: 32px;
  max-width: 261px;
  padding: 7px 24px;
}

.page-template-page-aziende.admin-bar .main-container,
.page-template-page-aziende .main-container {
  margin-top: 80px;
}

/**
 * Rules shared by the Aziende sub-pages (/aziende/eventi/, /aziende/formazione/,
 * /aziende/media/; templates page-aziende-*.php). Each page is scoped under its
 * own root class, listed in abstracts/_aziende-pages.scss; page-specific parts
 * live in _aziende-formazione.scss and _aziende-media.scss. Below 992px the
 * overrides live in mediaquery/_bp-991-aziende-page.scss. Palette tokens come
 * from abstracts/_palette.scss; the only literal hex is the #EEEEEE image
 * placeholder (no matching token).
 */
/**
 * Root classes of the Aziende sub-pages that share aziende/_aziende-page.scss.
 * Emits nothing by itself.
 */
/**
 * Runs the content once per page with the page slug, for rules that need to
 * name two classes of the same page (a list parent cannot do that).
 */
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  --ae-wide: 1116px;
  --ae-narrow: 926px;
  --ae-col: 546px;
  --ae-navy: var(--blu-500);
  --ae-brick: var(--ruggine-500);
  color: var(--ae-navy);
  overflow-x: clip;
}
.aziende-eventi h1,
.aziende-eventi h2,
.aziende-eventi h3,
.aziende-formazione h1,
.aziende-formazione h2,
.aziende-formazione h3,
.aziende-media h1,
.aziende-media h2,
.aziende-media h3 {
  margin: 0;
}
.aziende-eventi h2,
.aziende-formazione h2,
.aziende-media h2 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 34px;
  color: var(--ae-brick);
}
.aziende-eventi :where(p),
.aziende-formazione :where(p),
.aziende-media :where(p) {
  margin: 0;
}
.aziende-eventi > section,
.aziende-formazione > section,
.aziende-media > section {
  padding-inline: 20px;
}
.aziende-eventi a:focus-visible,
.aziende-eventi button:focus-visible,
.aziende-eventi [tabindex="0"]:focus-visible,
.aziende-formazione a:focus-visible,
.aziende-formazione button:focus-visible,
.aziende-formazione [tabindex="0"]:focus-visible,
.aziende-media a:focus-visible,
.aziende-media button:focus-visible,
.aziende-media [tabindex="0"]:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* Containers */
}
.aziende-eventi__wide, .aziende-eventi__narrow, .aziende-eventi__faq-col,
.aziende-formazione__wide,
.aziende-formazione__narrow,
.aziende-formazione__faq-col,
.aziende-media__wide,
.aziende-media__narrow,
.aziende-media__faq-col {
  width: 100%;
  margin-inline: auto;
}
.aziende-eventi__wide,
.aziende-formazione__wide,
.aziende-media__wide {
  max-width: var(--ae-wide);
}
.aziende-eventi__narrow,
.aziende-formazione__narrow,
.aziende-media__narrow {
  max-width: var(--ae-narrow);
}
.aziende-eventi__faq-col,
.aziende-formazione__faq-col,
.aziende-media__faq-col {
  max-width: var(--ae-col);
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* Buttons */
}
.aziende-eventi__btn,
.aziende-formazione__btn,
.aziende-media__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 249px;
  height: 50px;
  padding: 0 24px;
  border-radius: 3px;
  background: var(--ae-brick);
  color: var(--bianco-500);
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.aziende-eventi__btn:hover, .aziende-eventi__btn:focus-visible,
.aziende-formazione__btn:hover,
.aziende-formazione__btn:focus-visible,
.aziende-media__btn:hover,
.aziende-media__btn:focus-visible {
  background: var(--ruggine-600);
  color: var(--bianco-500);
}
.aziende-eventi__btn--small,
.aziende-formazione__btn--small,
.aziende-media__btn--small {
  min-width: 154px;
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 18px;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* 1. Hero */
}
.aziende-eventi__hero,
.aziende-formazione__hero,
.aziende-media__hero {
  padding: 59px 0 0;
}
.aziende-eventi__hero-grid,
.aziende-formazione__hero-grid,
.aziende-media__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 449px;
  column-gap: 40px;
  align-items: start;
}
.aziende-eventi__hero-text h1,
.aziende-formazione__hero-text h1,
.aziende-media__hero-text h1 {
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 18px;
}
.aziende-eventi__hero-subtitle,
.aziende-formazione__hero-subtitle,
.aziende-media__hero-subtitle {
  font-size: 22px;
  line-height: 24px;
  margin-bottom: 17px;
}
.aziende-eventi__hero-body,
.aziende-formazione__hero-body,
.aziende-media__hero-body {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 32px;
}
.aziende-eventi__hero-body p,
.aziende-formazione__hero-body p,
.aziende-media__hero-body p {
  margin: 0;
}
.aziende-eventi__hero-media img,
.aziende-formazione__hero-media img,
.aziende-media__hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 449/299;
  object-fit: cover;
  border-radius: 11px;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* 2. Logo strip */
}
.aziende-eventi__logos,
.aziende-formazione__logos,
.aziende-media__logos {
  padding-top: 124px;
}
.aziende-eventi__logos-row,
.aziende-formazione__logos-row,
.aziende-media__logos-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.aziende-eventi__logos-label,
.aziende-formazione__logos-label,
.aziende-media__logos-label {
  flex: 0 0 297px;
  font-size: 16px;
  line-height: 22px;
}
.aziende-eventi__logos-scroll,
.aziende-formazione__logos-scroll,
.aziende-media__logos-scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* Right-to-left marquee: three copies, shifted by one copy (logos + gap) per loop. */
}
.aziende-eventi__logos-track,
.aziende-formazione__logos-track,
.aziende-media__logos-track {
  --logos-gap: 64px;
  display: flex;
  gap: var(--logos-gap);
  width: max-content;
  animation: aziende-logos-scroll 24s linear infinite;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* ACF logos: padding instead of gap, so one copy is exactly a third of the track. */
}
.aziende-eventi__logos-track--list,
.aziende-formazione__logos-track--list,
.aziende-media__logos-track--list {
  gap: 0;
  animation-name: aziende-logos-scroll-list;
}
.aziende-eventi__logos-list,
.aziende-formazione__logos-list,
.aziende-media__logos-list {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--logos-gap);
  margin: 0;
  padding: 0 var(--logos-gap) 0 0;
  list-style: none;
}
.aziende-eventi__logos-list img,
.aziende-formazione__logos-list img,
.aziende-media__logos-list img {
  display: block;
  width: auto;
  max-width: none;
  height: 36px;
}
.aziende-eventi__logos-svg,
.aziende-formazione__logos-svg,
.aziende-media__logos-svg {
  display: block;
  flex: none;
  width: 630px;
  max-width: none;
  height: 36px;
}
@media (prefers-reduced-motion: reduce) {
  .aziende-eventi__logos-scroll,
  .aziende-formazione__logos-scroll,
  .aziende-media__logos-scroll {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .aziende-eventi__logos-scroll::-webkit-scrollbar,
  .aziende-formazione__logos-scroll::-webkit-scrollbar,
  .aziende-media__logos-scroll::-webkit-scrollbar {
    display: none;
  }
  .aziende-eventi__logos-track,
  .aziende-formazione__logos-track,
  .aziende-media__logos-track {
    animation: none;
  }
  .aziende-eventi__logos-svg:not(:first-child), .aziende-eventi__logos-list:not(:first-child),
  .aziende-formazione__logos-svg:not(:first-child),
  .aziende-formazione__logos-list:not(:first-child),
  .aziende-media__logos-svg:not(:first-child),
  .aziende-media__logos-list:not(:first-child) {
    display: none;
  }
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* 3. Intro + stats */
}
.aziende-eventi__intro,
.aziende-formazione__intro,
.aziende-media__intro {
  padding-top: 97px;
  text-align: center;
}
.aziende-eventi__intro-text,
.aziende-formazione__intro-text,
.aziende-media__intro-text {
  max-width: 576px;
  margin-inline: auto;
  font-size: 22px;
  line-height: 26px;
}
.aziende-eventi__stats-scroll,
.aziende-formazione__stats-scroll,
.aziende-media__stats-scroll {
  max-width: 832px;
  margin: 40px auto 0;
}
.aziende-eventi__stats,
.aziende-formazione__stats,
.aziende-media__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.aziende-eventi__stat,
.aziende-formazione__stat,
.aziende-media__stat {
  display: block;
  min-height: 142px;
  padding: 16px;
  border-radius: 8px;
  background: var(--azzurro-100);
}
.aziende-eventi__stat-number,
.aziende-formazione__stat-number,
.aziende-media__stat-number {
  display: block;
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 44px;
  color: var(--ae-brick);
}
.aziende-eventi__stat-text,
.aziende-formazione__stat-text,
.aziende-media__stat-text {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 17px;
}
.aziende-eventi__intro-action,
.aziende-formazione__intro-action,
.aziende-media__intro-action {
  margin-top: 40px;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* Rules between sections */
}
.aziende-eventi__ruled,
.aziende-formazione__ruled,
.aziende-media__ruled {
  border-top: 1px solid var(--nero-100);
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* 4. Cosa facciamo */
}
.aziende-eventi__what,
.aziende-formazione__what,
.aziende-media__what {
  padding-top: 88px;
}
.aziende-eventi__what .aziende-eventi__ruled {
  padding-top: 17px;
  padding-bottom: 76px;
}

.aziende-formazione__what .aziende-formazione__ruled {
  padding-top: 17px;
  padding-bottom: 76px;
}

.aziende-media__what .aziende-media__ruled {
  padding-top: 17px;
  padding-bottom: 76px;
}

.aziende-eventi__what-grid,
.aziende-formazione__what-grid,
.aziende-media__what-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 450px));
  column-gap: 24px;
  row-gap: 40px;
  justify-content: space-between;
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
}
.aziende-eventi__what-item,
.aziende-formazione__what-item,
.aziende-media__what-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.aziende-eventi__what-thumb,
.aziende-formazione__what-thumb,
.aziende-media__what-thumb {
  flex: 0 0 71px;
  width: 71px;
  height: 71px;
  border-radius: 7px;
  background: #EEEEEE;
  overflow: hidden;
}
.aziende-eventi__what-thumb img,
.aziende-formazione__what-thumb img,
.aziende-media__what-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aziende-eventi__what-body,
.aziende-formazione__what-body,
.aziende-media__what-body {
  min-width: 0;
}
.aziende-eventi__what-body h3,
.aziende-formazione__what-body h3,
.aziende-media__what-body h3 {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0;
  color: var(--ae-navy);
  margin-bottom: 8px;
}
.aziende-eventi__what-body p,
.aziende-formazione__what-body p,
.aziende-media__what-body p {
  font-size: 16px;
  line-height: 22px;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* 5. CTA + form */
}
.aziende-eventi__cta .aziende-eventi__ruled {
  padding-top: 44px;
  padding-bottom: 43px;
  text-align: center;
}

.aziende-formazione__cta .aziende-formazione__ruled {
  padding-top: 44px;
  padding-bottom: 43px;
  text-align: center;
}

.aziende-media__cta .aziende-media__ruled {
  padding-top: 44px;
  padding-bottom: 43px;
  text-align: center;
}

.aziende-eventi h2.aziende-eventi__cta-title {
  max-width: 586px;
  margin-inline: auto;
  font-family: "Surt Extended Regular", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  color: var(--ae-navy);
}

.aziende-formazione h2.aziende-formazione__cta-title {
  max-width: 586px;
  margin-inline: auto;
  font-family: "Surt Extended Regular", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  color: var(--ae-navy);
}

.aziende-media h2.aziende-media__cta-title {
  max-width: 586px;
  margin-inline: auto;
  font-family: "Surt Extended Regular", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 34px;
  color: var(--ae-navy);
}

.aziende-eventi__cta-text,
.aziende-formazione__cta-text,
.aziende-media__cta-text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 22px;
}
.aziende-eventi__form,
.aziende-formazione__form,
.aziende-media__form {
  max-width: var(--ae-col);
  margin: 62px auto 0;
  text-align: left;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* 6. Dicono di noi */
}
.aziende-eventi__testimonials .aziende-eventi__narrow {
  border-top: 1px solid var(--nero-100);
  padding-top: 64px;
  padding-bottom: 63px;
}

.aziende-formazione__testimonials .aziende-formazione__narrow {
  border-top: 1px solid var(--nero-100);
  padding-top: 64px;
  padding-bottom: 63px;
}

.aziende-media__testimonials .aziende-media__narrow {
  border-top: 1px solid var(--nero-100);
  padding-top: 64px;
  padding-bottom: 63px;
}

.aziende-eventi__testimonials h2,
.aziende-formazione__testimonials h2,
.aziende-media__testimonials h2 {
  margin-bottom: 23px;
}
.aziende-eventi__quote,
.aziende-formazione__quote,
.aziende-media__quote {
  width: 100%;
  max-width: 736px;
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 10px;
  background: var(--azzurro-100);
}
.aziende-eventi__quote:last-child,
.aziende-formazione__quote:last-child,
.aziende-media__quote:last-child {
  margin-bottom: 0;
}
.aziende-eventi__quote:nth-of-type(even),
.aziende-formazione__quote:nth-of-type(even),
.aziende-media__quote:nth-of-type(even) {
  margin-left: auto;
}
.aziende-eventi__quote blockquote,
.aziende-formazione__quote blockquote,
.aziende-media__quote blockquote {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}
.aziende-eventi__quote blockquote p,
.aziende-formazione__quote blockquote p,
.aziende-media__quote blockquote p {
  font-size: 16px;
  line-height: 21px;
}
.aziende-eventi__quote-author,
.aziende-formazione__quote-author,
.aziende-media__quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.aziende-eventi__quote-avatar,
.aziende-formazione__quote-avatar,
.aziende-media__quote-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bianco-500);
}
.aziende-eventi__quote-avatar img,
.aziende-formazione__quote-avatar img,
.aziende-media__quote-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aziende-eventi__quote-meta,
.aziende-formazione__quote-meta,
.aziende-media__quote-meta {
  display: flex;
  flex-direction: column;
}
.aziende-eventi__quote-name,
.aziende-formazione__quote-name,
.aziende-media__quote-name {
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 16px;
  line-height: 20px;
  color: var(--ae-brick);
}
.aziende-eventi__quote-role,
.aziende-formazione__quote-role,
.aziende-media__quote-role {
  font-size: 14px;
  line-height: 18px;
}
.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* 7. FAQ band */
}
.aziende-eventi__faq,
.aziende-formazione__faq,
.aziende-media__faq {
  padding: 82px 0 69px;
  background: var(--azzurro-200);
}
.aziende-eventi__faq h2,
.aziende-formazione__faq h2,
.aziende-media__faq h2 {
  margin-bottom: 30px;
  text-align: center;
  font-size: 32px;
  line-height: 38px;
  color: var(--ae-navy);
}
.aziende-eventi__accordion .accordion-item,
.aziende-eventi__accordion .accordion-button,
.aziende-formazione__accordion .accordion-item,
.aziende-formazione__accordion .accordion-button,
.aziende-media__accordion .accordion-item,
.aziende-media__accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}
.aziende-eventi__accordion .accordion-item,
.aziende-formazione__accordion .accordion-item,
.aziende-media__accordion .accordion-item {
  border-top: 1px solid var(--bianco-500);
}
.aziende-eventi__accordion .accordion-item:last-child,
.aziende-formazione__accordion .accordion-item:last-child,
.aziende-media__accordion .accordion-item:last-child {
  border-bottom: 1px solid var(--bianco-500);
}
.aziende-eventi__accordion .accordion-header,
.aziende-formazione__accordion .accordion-header,
.aziende-media__accordion .accordion-header {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
}
.aziende-eventi__accordion .accordion-button,
.aziende-formazione__accordion .accordion-button,
.aziende-media__accordion .accordion-button {
  padding: 19px 0 20px;
  font-family: "Surt Extended Black", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 22px;
  color: var(--ae-navy);
}
.aziende-eventi__accordion .accordion-button::after,
.aziende-formazione__accordion .accordion-button::after,
.aziende-media__accordion .accordion-button::after {
  width: 20px;
  height: 12px;
  background-size: 20px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12' fill='none'%3E%3Cpath d='M1 1l9 9 9-9' stroke='%23192649' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.aziende-eventi__accordion .accordion-button:not(.collapsed)::after,
.aziende-formazione__accordion .accordion-button:not(.collapsed)::after,
.aziende-media__accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12' fill='none'%3E%3Cpath d='M1 1l9 9 9-9' stroke='%23192649' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.aziende-eventi__accordion .accordion-body,
.aziende-formazione__accordion .accordion-body,
.aziende-media__accordion .accordion-body {
  padding: 0 0 20px;
  font-size: 16px;
  line-height: 26px;
}
.aziende-eventi__accordion .accordion-body p:last-child,
.aziende-formazione__accordion .accordion-body p:last-child,
.aziende-media__accordion .accordion-body p:last-child {
  margin-bottom: 0;
}
.aziende-eventi__faq-info,
.aziende-formazione__faq-info,
.aziende-media__faq-info {
  margin-top: 40px;
}
.aziende-eventi__faq-info p,
.aziende-eventi__faq-info a,
.aziende-formazione__faq-info p,
.aziende-formazione__faq-info a,
.aziende-media__faq-info p,
.aziende-media__faq-info a {
  display: block;
  font-size: 16px;
  line-height: 22px;
  color: var(--ae-navy);
}
.aziende-eventi__faq-info a,
.aziende-formazione__faq-info a,
.aziende-media__faq-info a {
  width: fit-content;
  text-decoration: underline;
}
.aziende-eventi__faq-info a.aziende-eventi__faq-all {
  display: none;
  margin-bottom: 8px;
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
}

.aziende-formazione__faq-info a.aziende-formazione__faq-all {
  display: none;
  margin-bottom: 8px;
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
}

.aziende-media__faq-info a.aziende-media__faq-all {
  display: none;
  margin-bottom: 8px;
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
}

.aziende-eventi,
.aziende-formazione,
.aziende-media {
  /* WPForms (form id comes from the page's cta.form_id) */
}
.aziende-eventi div.wpforms-container-full,
.aziende-formazione div.wpforms-container-full,
.aziende-media div.wpforms-container-full {
  margin: 0;
  --wpforms-button-background-color: var(--ruggine-500);
  --wpforms-button-background-color-alt: var(--ruggine-500);
  --wpforms-button-text-color: var(--bianco-500);
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-container,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-container,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 19px;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field {
  grid-column: 1/-1;
  float: none;
  clear: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-one-half,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-one-half,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-one-half {
  grid-column: auto;
  width: auto;
  margin-left: 0;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-label,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-label,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-label {
  display: flex;
  margin: 0 0 8px;
  font-family: "Surt Normal Regular", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--ae-navy);
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-required-label,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-required-label,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-required-label {
  color: inherit;
}
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=text],
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=email],
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=tel],
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=url],
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=number],
.aziende-eventi div.wpforms-container-full .wpforms-form select,
.aziende-eventi div.wpforms-container-full .wpforms-form textarea,
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=text],
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=email],
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=tel],
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=url],
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=number],
.aziende-formazione div.wpforms-container-full .wpforms-form select,
.aziende-formazione div.wpforms-container-full .wpforms-form textarea,
.aziende-media div.wpforms-container-full .wpforms-form input[type=text],
.aziende-media div.wpforms-container-full .wpforms-form input[type=email],
.aziende-media div.wpforms-container-full .wpforms-form input[type=tel],
.aziende-media div.wpforms-container-full .wpforms-form input[type=url],
.aziende-media div.wpforms-container-full .wpforms-form input[type=number],
.aziende-media div.wpforms-container-full .wpforms-form select,
.aziende-media div.wpforms-container-full .wpforms-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--grigio-300);
  border-radius: 4px;
  background-color: var(--bianco-500);
  box-shadow: none;
  font-family: "Surt Normal Regular", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: var(--ae-navy);
}
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=text]:focus-visible,
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=email]:focus-visible,
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=tel]:focus-visible,
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=url]:focus-visible,
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=number]:focus-visible,
.aziende-eventi div.wpforms-container-full .wpforms-form select:focus-visible,
.aziende-eventi div.wpforms-container-full .wpforms-form textarea:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=text]:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=email]:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=tel]:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=url]:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=number]:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form select:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form textarea:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form input[type=text]:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form input[type=email]:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form input[type=tel]:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form input[type=url]:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form input[type=number]:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form select:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form textarea:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 0;
  border-color: var(--blu-400);
}
.aziende-eventi div.wpforms-container-full .wpforms-form textarea,
.aziende-formazione div.wpforms-container-full .wpforms-form textarea,
.aziende-media div.wpforms-container-full .wpforms-form textarea {
  height: 134px;
  padding: 12px 16px;
  resize: vertical;
}
.aziende-eventi div.wpforms-container-full .wpforms-form select,
.aziende-formazione div.wpforms-container-full .wpforms-form select,
.aziende-media div.wpforms-container-full .wpforms-form select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 20 12' fill='none'%3E%3Cpath d='M1 1l9 9 9-9' stroke='%23192649' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 10px;
}
.aziende-eventi div.wpforms-container-full .wpforms-form select:invalid, .aziende-eventi div.wpforms-container-full .wpforms-form select:has(option[value=""]:checked),
.aziende-formazione div.wpforms-container-full .wpforms-form select:invalid,
.aziende-formazione div.wpforms-container-full .wpforms-form select:has(option[value=""]:checked),
.aziende-media div.wpforms-container-full .wpforms-form select:invalid,
.aziende-media div.wpforms-container-full .wpforms-form select:has(option[value=""]:checked) {
  color: var(--nero-200);
}
.aziende-eventi div.wpforms-container-full .wpforms-form select option,
.aziende-formazione div.wpforms-container-full .wpforms-form select option,
.aziende-media div.wpforms-container-full .wpforms-form select option {
  color: var(--ae-navy);
}
.aziende-eventi div.wpforms-container-full .wpforms-form ::placeholder,
.aziende-formazione div.wpforms-container-full .wpforms-form ::placeholder,
.aziende-media div.wpforms-container-full .wpforms-form ::placeholder {
  color: var(--nero-200);
  opacity: 1;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-checkbox ul,
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox ul,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-checkbox ul,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox ul,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-checkbox ul,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-checkbox li,
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox li,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-checkbox li,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox li,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-checkbox li,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=checkbox],
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=checkbox],
.aziende-media div.wpforms-container-full .wpforms-form input[type=checkbox] {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin: 5px 0 0;
}
.aziende-eventi div.wpforms-container-full .wpforms-form input[type=checkbox]:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form input[type=checkbox]:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form input[type=checkbox]:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-checkbox label,
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox label,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-checkbox label,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox label,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-checkbox label,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox label {
  font-size: 16px;
  line-height: 22px;
  color: var(--ae-navy);
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  word-break: auto-phrase;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-checkbox .wpforms-field-label,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-checkbox .wpforms-field-label,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-checkbox .wpforms-field-label {
  display: none;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-submit-container,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-submit-container,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-submit-container {
  margin: 24px 0 0;
  padding: 0;
}
.aziende-eventi div.wpforms-container-full .wpforms-form button.wpforms-submit,
.aziende-formazione div.wpforms-container-full .wpforms-form button.wpforms-submit,
.aziende-media div.wpforms-container-full .wpforms-form button.wpforms-submit {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background-color: var(--ae-brick);
  color: var(--bianco-500);
  font-family: "Surt Normal Regular", sans-serif;
  font-size: 16px;
  line-height: 22px;
  transition: background-color 0.2s;
}
.aziende-eventi div.wpforms-container-full .wpforms-form button.wpforms-submit:hover:not(:disabled), .aziende-eventi div.wpforms-container-full .wpforms-form button.wpforms-submit:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form button.wpforms-submit:hover:not(:disabled),
.aziende-formazione div.wpforms-container-full .wpforms-form button.wpforms-submit:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form button.wpforms-submit:hover:not(:disabled),
.aziende-media div.wpforms-container-full .wpforms-form button.wpforms-submit:focus-visible {
  background: var(--ruggine-600);
}
.aziende-eventi div.wpforms-container-full .wpforms-form button.wpforms-submit:focus-visible,
.aziende-formazione div.wpforms-container-full .wpforms-form button.wpforms-submit:focus-visible,
.aziende-media div.wpforms-container-full .wpforms-form button.wpforms-submit:focus-visible {
  outline: 2px solid var(--blu-400, #24376A);
  outline-offset: 2px;
}
.aziende-eventi div.wpforms-container-full .wpforms-form button.wpforms-submit:disabled,
.aziende-formazione div.wpforms-container-full .wpforms-form button.wpforms-submit:disabled,
.aziende-media div.wpforms-container-full .wpforms-form button.wpforms-submit:disabled {
  background: color-mix(in srgb, var(--ruggine-500) 55%, var(--bianco-500));
  cursor: not-allowed;
}
.aziende-eventi div.wpforms-container-full .wpforms-form,
.aziende-formazione div.wpforms-container-full .wpforms-form,
.aziende-media div.wpforms-container-full .wpforms-form {
  /* Inactive until every required field is valid (all four carry the required attribute) */
}
.aziende-eventi div.wpforms-container-full .wpforms-form:has(:required:invalid) button.wpforms-submit,
.aziende-formazione div.wpforms-container-full .wpforms-form:has(:required:invalid) button.wpforms-submit,
.aziende-media div.wpforms-container-full .wpforms-form:has(:required:invalid) button.wpforms-submit {
  background: color-mix(in srgb, var(--ruggine-500) 55%, var(--bianco-500));
  cursor: not-allowed;
  pointer-events: none;
}
.aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-error,
.aziende-eventi div.wpforms-container-full .wpforms-form label.wpforms-error,
.aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-error,
.aziende-formazione div.wpforms-container-full .wpforms-form label.wpforms-error,
.aziende-media div.wpforms-container-full .wpforms-form .wpforms-error,
.aziende-media div.wpforms-container-full .wpforms-form label.wpforms-error {
  margin-top: 6px;
  font-size: 14px;
  line-height: 18px;
  color: var(--ae-brick);
}
.aziende-eventi div.wpforms-container-full .wpforms-form input.wpforms-error,
.aziende-eventi div.wpforms-container-full .wpforms-form select.wpforms-error,
.aziende-eventi div.wpforms-container-full .wpforms-form textarea.wpforms-error,
.aziende-formazione div.wpforms-container-full .wpforms-form input.wpforms-error,
.aziende-formazione div.wpforms-container-full .wpforms-form select.wpforms-error,
.aziende-formazione div.wpforms-container-full .wpforms-form textarea.wpforms-error,
.aziende-media div.wpforms-container-full .wpforms-form input.wpforms-error,
.aziende-media div.wpforms-container-full .wpforms-form select.wpforms-error,
.aziende-media div.wpforms-container-full .wpforms-form textarea.wpforms-error {
  border-color: var(--ae-brick);
}

@keyframes aziende-logos-scroll-list {
  to {
    transform: translateX(-33.3333333333%);
  }
}
@keyframes aziende-logos-scroll {
  to {
    transform: translateX(-694px);
  }
}
/**
 * Pagina Aziende Formazione (/aziende/formazione/, template
 * page-aziende-formazione.php). Differences from the shared rules in
 * _aziende-page.scss: hero illustration at its natural proportions, stats with
 * a source line, the "Per approfondire" row, "Cosa facciamo" flowing down the
 * columns and the "Perché scegliere Rame" section. Below 992px:
 * mediaquery/_bp-991-aziende-formazione.scss.
 */
.aziende-formazione__hero-grid {
  grid-template-columns: minmax(0, 1fr) 430px;
}
.aziende-formazione__hero-media img {
  aspect-ratio: auto;
  object-fit: contain;
}
.aziende-formazione__stats-scroll {
  max-width: var(--ae-narrow);
}
.aziende-formazione__stat-source {
  display: block;
  margin-top: 17px;
  font-size: 14px;
  line-height: 17px;
  color: var(--nero-400);
}
.aziende-formazione {
  /* Per approfondire */
}
.aziende-formazione__deepdive {
  max-width: 356px;
  margin: 65px auto 40px;
  text-align: left;
}
.aziende-formazione__deepdive-label {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--nero-100);
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
  font-size: 12px;
  line-height: 15px;
  text-transform: uppercase;
  color: var(--nero-500);
}
.aziende-formazione__deepdive-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  text-decoration: none;
}
.aziende-formazione__deepdive-link:hover .aziende-formazione__deepdive-title {
  text-decoration: underline;
}
.aziende-formazione__deepdive-title {
  min-width: 0;
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--ae-brick);
}
.aziende-formazione__deepdive-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 7px;
  background: #EEEEEE;
  overflow: hidden;
}
.aziende-formazione__deepdive-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aziende-formazione {
  /* Cosa facciamo: items run down the left column first (--ae-what-rows is set by the template) */
}
.aziende-formazione__what-grid--by-column {
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--ae-what-rows, 3), auto);
}
.aziende-formazione {
  /* Perché scegliere Rame */
}
.aziende-formazione__why {
  padding-top: 34px;
  padding-bottom: 211px;
}
.aziende-formazione__why .aziende-formazione__ruled {
  padding-top: 17px;
}
.aziende-formazione__why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 451px;
  column-gap: 40px;
  align-items: start;
  margin-top: 42px;
  padding-left: 95px;
}
.aziende-formazione__why-list {
  max-width: 460px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aziende-formazione__why-item {
  font-size: 16px;
  line-height: 24px;
}
.aziende-formazione__why-item + .aziende-formazione__why-item {
  margin-top: 36px;
}
.aziende-formazione__why-item h3 {
  font-family: "Surt Normal Extrabold", sans-serif;
  font-weight: 850;
  font-size: 16px;
  line-height: 24px;
  color: var(--ae-brick);
}
.aziende-formazione__why-media {
  grid-column: 2;
}
.aziende-formazione__why-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 451/564;
  object-fit: cover;
  border-radius: 11px;
}

/**
 * Pagina Aziende Media (/aziende/media/, template page-aziende-media.php).
 * Differences from the shared rules in _aziende-page.scss: a wider intro
 * line, four stats across the wide container and a hero collage shown at its
 * natural proportions. No separate 991px file: the shared overrides cover it.
 */
.aziende-media__hero-grid {
  grid-template-columns: minmax(0, 1fr) 400px;
}
.aziende-media__hero-media img {
  aspect-ratio: auto;
  object-fit: contain;
}
.aziende-media__intro-text {
  max-width: 680px;
}
.aziende-media__stats-scroll {
  max-width: var(--ae-wide);
}
.aziende-media__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/**
 * mediaquery.css fold-in (assets/css/mediaquery.css, 1127 LOC / 6 media
 * queries). Deliberately @use'd LAST, after all 38 rame.css-derived
 * partials above, rather than interleaved into each base partial as
 * .claude/docs/mediaquery-css-decomposition-map.md originally suggested.
 *
 * Why: today mediaquery.css is enqueued as a second stylesheet that
 * always loads AFTER rame.css/rame.compiled.css, so for any specificity
 * tie between a mediaquery.css rule and a rame.css rule, mediaquery.css
 * always wins (last-loaded-wins). If these rules were instead folded
 * physically into their base partials, their position in the final
 * concatenated rame.compiled.css would shift to wherever that partial
 * sits in the @use chain above — which could land BEFORE some unrelated,
 * equal-specificity selector that appears later in the file, silently
 * inverting which rule wins in an active media query. Loading these
 * partials last preserves the exact "loads after everything else"
 * cascade guarantee the current two-file setup provides.
 *
 * Order below mirrors the 6 original media-query blocks' top-to-bottom
 * order in mediaquery.css; the large 991px block is further split into
 * 12 domain-scoped sub-files for manageability, in original rule order.
 * Two of these (bp-576, bp-1400/bp-992) preserve deliberate min-width
 * exceptions in an otherwise desktop-first (max-width) file — do not
 * "fix" them to max-width.
 */
/**
 * mediaquery.css fold-in — min-width: 576px — video archive card image height
 * Verbatim migration of assets/css/mediaquery.css lines 1-5
 * (media query: (min-width: 576px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (min-width: 576px) {
  .page-template-archive-video .card-image-resized {
    height: 215px;
  }
}
/**
 * mediaquery.css fold-in — max-width: 767px — filters, home-about carousel, magazine list-news, section-404, serie-podcast, magazine-argomenti, storie-same-height, discover-app
 * Verbatim migration of assets/css/mediaquery.css lines 6-55
 * (media query: (max-width: 767px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 767px) {
  .filters {
    padding-bottom: 8px;
  }
  .home-about .owl-nav {
    display: none;
  }
  .magazine-main .list-news.owl-carousel .owl-stage {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .magazine-storie .storie.owl-carousel .owl-nav {
    display: none;
  }
  .section-404 {
    padding-top: 46px;
    padding-bottom: 16px;
  }
  .section-404 h1 {
    font-size: 28px;
    line-height: 32px;
  }
  .serie-podcast-list p {
    min-height: auto;
  }
  .magazine-argomenti a {
    font-size: 18px;
    line-height: 22.4px;
  }
  .storie-same-height {
    height: 280px;
  }
  .discover-app {
    padding-top: 0;
  }
  .discover-app .close-discover-app svg {
    height: 32px;
    width: 32px;
  }
  .discover-app h3 {
    font-size: 23px;
    line-height: 28.75px;
    margin-top: 24px;
    margin-bottom: 28px;
  }
  .discover-app .video-play svg {
    width: 66px;
    height: 66px;
  }
}
/**
 * mediaquery.css fold-in — min-width: 1400px — container max-width, hero background-position
 * Verbatim migration of assets/css/mediaquery.css lines 57-64
 * (media query: (min-width: 1400px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1140px;
  }
  .hero {
    background-position: center center;
  }
}
/**
 * mediaquery.css fold-in — min-width: 992px — magazine list-news owl-item width
 * Verbatim migration of assets/css/mediaquery.css lines 65-69
 * (media query: (min-width: 992px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (min-width: 992px) {
  .magazine-main .list-news.owl-carousel .owl-item {
    width: 100% !important;
  }
}
/**
 * mediaquery.css fold-in — admin-bar main-container, col-20p, divider, newsletter image
 * Verbatim migration of assets/css/mediaquery.css lines 71-96
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .admin-bar .main-container {
    margin-top: 65px;
  }
  .main-container {
    margin-top: 65px;
  }
  .col-20p {
    width: 50%;
  }
  .divider {
    height: 42px;
  }
  .newsletter .wp-block-image img {
    top: 8px;
  }
}
/**
 * mediaquery.css fold-in — article .content element width overrides
 * Verbatim migration of assets/css/mediaquery.css lines 97-113
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .content h2,
  .content h3,
  .content p,
  .content ul,
  .content ol,
  .content .minititle,
  .content iframe,
  .content .wp-block-gallery,
  .content .block-related,
  .content .wp-block-quote {
    width: 100%;
  }
  .content .block-tip,
  .content .block-glossary {
    width: 97%;
  }
}
@media (max-width: 991px) {
  .single-post .main-container > .container {
    padding-left: 27px;
    padding-right: 27px;
  }
  .single-post .col-lg-10 > h1 {
    font-size: 28px;
    line-height: 30px;
  }
  .single-post .col-lg-10 > h2 {
    font-size: 20px;
    line-height: 22px;
  }
  .meta-info {
    margin-top: 0;
  }
  .meta-info time,
  .meta-info p {
    font-size: 16px;
    line-height: 19px;
  }
  .meta-info p:before {
    content: "";
    width: 1px;
    height: 16px;
    margin: 0 8px;
    vertical-align: middle;
    background-color: #D7D7D7;
  }
  .author-info > div {
    min-width: 0;
  }
  .author-info header h2 {
    font-size: 18px;
    line-height: 24px;
  }
  .author-info header h2 a {
    font-weight: 700;
  }
  .author-info section p {
    font-size: 16px;
    line-height: 19px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .meta-sections {
    flex-wrap: nowrap;
  }
  .meta-sections section {
    min-width: 0;
  }
  .meta-sections section > div {
    flex-wrap: nowrap !important;
    overflow: hidden;
  }
  .meta-sections .badge {
    --bs-badge-padding-y: 7px;
    margin-right: 5px;
    white-space: nowrap;
  }
  .meta-sections .ms-auto {
    flex: none;
  }
  .post-image img {
    aspect-ratio: 336/243;
    object-fit: cover;
  }
  .post-image figcaption {
    font-size: 14px;
    color: #7C7C7C;
    margin-top: 12px;
  }
  .content {
    font-size: 18px;
  }
  .content > p {
    margin-bottom: 24px;
  }
  .content h3 {
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 50px;
  }
  .content h4,
  .content .wp-block-buttons,
  .content .wp-block-pullquote {
    width: 100%;
  }
  .content .wp-block-pullquote {
    font-size: 22px;
  }
  .content .block-in-breve,
  .content .block-in-breve li,
  .content .block-sponsor p,
  .content .block-allegati,
  .content .block-allegati__title {
    font-size: 18px;
    line-height: 26px;
  }
  .block-in-breve,
  .block-sponsor,
  .block-allegati {
    width: 100%;
  }
  .article-related-teaser h3 {
    font-size: 20px;
    line-height: 24px;
  }
  .article-related-teaser > div {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .article-related-teaser a {
    font-size: 16px;
  }
  .article-related > [class*=col-] {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .article-related .card {
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #D7D7D7;
    padding: 9px 0 24px;
  }
  .article-related .card-img-top {
    flex: none;
    width: 95px;
    height: 95px;
    aspect-ratio: auto;
    border-radius: 5px;
  }
  .article-related .card-body,
  .article-related.current-tags .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }
  .article-related .card-category {
    margin: 0 0 4px;
  }
  .article-related .card-category small {
    font-size: 12px;
  }
  .article-related .card-title {
    font-size: 16px;
    line-height: 19px;
    min-height: 0;
    margin-bottom: 8px;
  }
  .article-related .card-text {
    margin: auto 0 0;
    font-size: 12px;
    line-height: 120%;
  }
  .border-line::before,
  .border-line::after {
    width: 150px;
  }
  .share-label {
    font-size: 19px;
  }
  .newsletter {
    padding: 24px 0;
    border-width: 1px 0;
    border-color: #D7D7D7;
    border-radius: 0;
    background-color: transparent;
    text-align: center;
  }
  .newsletter .wp-block-image img {
    position: static;
    display: block;
    width: 57px;
    height: 67px;
    max-width: none;
    margin: 0 auto 12px;
  }
  .newsletter h4 {
    font-size: 22px;
    line-height: 22px;
    padding-right: 0;
  }
  .newsletter p {
    font-size: 16px;
    line-height: 18px;
  }
  .newsletter .form-control,
  .newsletter .btn {
    display: block;
    width: 100%;
    max-width: 301px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
  }
  .newsletter .form-group {
    margin-bottom: 8px;
  }
}
/**
 * mediaquery.css fold-in — title-teaser, highlight-post, list-post, archive-category/archive-post overrides
 * Verbatim migration of assets/css/mediaquery.css lines 114-207
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .title-teaser {
    padding-top: 18px;
  }
  .title-teaser h1 {
    font-size: 32px;
    margin-bottom: 5px;
  }
  .title-teaser h2 {
    margin-bottom: 8px;
  }
  .title-teaser .breadcrumb {
    margin-bottom: 9px;
  }
  .highlight-post {
    padding: 24px 0 20px;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 6px;
  }
  .highlight-post .category {
    font-size: 12px;
    margin-bottom: 3px;
    margin-top: 9px;
  }
  .highlight-post h2 {
    margin-bottom: 8px;
  }
  .highlight-post h2 a {
    font-size: 20px;
    line-height: 24px;
  }
  .highlight-post img {
    border-radius: 10px;
  }
  .list-post {
    font-size: 12px;
    line-height: 14.4px;
  }
  .list-post .category {
    font-size: 9px;
    line-height: 10.8px;
  }
  .list-post h2 {
    margin-bottom: 6px;
  }
  .list-post h2 a {
    font-size: 16px;
    line-height: 19.2px;
  }
  .list-post .excerpt {
    margin-bottom: 24px;
  }
  .list-post .single-post {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .page-template-archive-category .list-post .single-post {
    padding-top: 0;
    padding-bottom: 0;
  }
  .page-template-archive-category .list-post .excerpt,
  .page-template-archive-category .list-post .author {
    display: none;
  }
  .page-template-archive-category .list-post .single-post h2 {
    margin-bottom: 20px;
  }
  .page-template-archive-category .highlight-post {
    padding-top: 0;
  }
  .page-template-archive-category .list-post .box-card,
  .description-container {
    padding: 10px 20px 22px 20px !important;
  }
  .page-template-archive-category .list-post .box-card {
    font-weight: 700;
    font-size: 14px;
  }
  .page-template-archive-category .list-post .category a {
    font-family: "Surt Normal Regular";
    font-weight: 700;
  }
  .page-template-archive-post .title-teaser h1 {
    font-size: 55px;
    line-height: 66px;
    margin-bottom: 8px;
  }
  .page-template-archive-post .title-teaser h2 {
    font-size: 16px;
    line-height: 19.2px;
  }
}
/**
 * mediaquery.css fold-in — author-list/author-teaser, tax-autori
 * Verbatim migration of assets/css/mediaquery.css lines 208-229
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .author-list {
    margin-top: 0;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
  .author-teaser img {
    width: 144px;
  }
  .author-teaser h1 {
    font-size: 30px;
    line-height: 36px;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .tax-autori .list-post .author,
  .page-template-archive-post_tag .list-post .author {
    display: none;
  }
}
/**
 * mediaquery.css fold-in — video-post/video-meta/video-container, event-container, event-list, no-events
 * Verbatim migration of assets/css/mediaquery.css lines 230-337
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .video-post h1 {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 36px;
  }
  .video-meta {
    border-bottom: 1px solid #D7D7D7;
    padding-bottom: 22px;
  }
  .video-post .content-video {
    margin-top: 32px;
  }
  .video-container .related-teaser h3 {
    font-family: "Surt Normal Extrabold";
    font-size: 24px;
    font-weight: 850;
    line-height: 24px;
    letter-spacing: -0.011em;
  }
  .video-container .related-teaser a,
  .event-container .related-teaser a {
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    color: #373737;
  }
  .video-container .related-teaser,
  .event-container .related-teaser {
    padding-top: 17px;
    padding-bottom: 20px;
  }
  .page-template-archive-video .highlight-post .excerpt {
    font-size: 16px;
    line-height: 24px;
  }
  .event-container img {
    margin-top: 16px;
  }
  .event-container .related-teaser {
    padding-bottom: 8px;
  }
  .event-container .event-content-container {
    border-top: 1px solid #D7D7D7;
    padding-top: 24px;
    margin-top: 10px;
  }
  .event-container .event-content {
    padding-top: 24px;
  }
  .event-container .date {
    font-size: 16px;
    line-height: 24px;
    margin-top: 16px;
    margin-bottom: 8px;
  }
  .event-container h1 {
    font-size: 28px;
    line-height: 34px;
  }
  .event-container .type {
    font-size: 12px;
    line-height: 14.4px;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
  }
  .event-container .meta-items-container {
    flex-direction: column;
    align-items: start !important;
  }
  .event-container .subscribe {
    width: 100%;
    margin-top: 32px;
  }
  .event-container .subscribe a {
    display: block;
  }
  .event-list .event .day, .event-list .event .month, .event-list .event .year {
    font-size: 20px;
    line-height: 14px;
    display: inline-block;
    margin-bottom: 14px;
    margin-right: 5px;
  }
  .event-list .event .event-info {
    border: none;
  }
  .event-list .event .event-infos {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
  .event-list .event {
    padding: 22px;
  }
  .event-list .event h2 {
    margin-bottom: 12px;
  }
  .event-list .event .type {
    margin-bottom: 20px;
  }
  .event-list .event .city {
    margin-bottom: 22px;
  }
  .no-events img {
    width: 100%;
    max-width: 215px;
    margin-bottom: 0;
  }
}
/**
 * mediaquery.css fold-in — hero, hint-container, membership-features, home-newsletter(-box), home-authors, home-guide, home-faq, newsletter-landing content/features/footer
 * Verbatim migration of assets/css/mediaquery.css lines 338-507
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .hero {
    padding-top: 31px;
    padding-bottom: 300px;
  }
  .hero h1 {
    font-size: 42px;
    line-height: 42px;
    margin-bottom: 16px;
  }
  .hero p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }
  .hero .btn {
    margin-bottom: 8px;
  }
  .hint-container {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
  .hint-container h2 {
    font-size: 24px;
    line-height: 28.8px;
    letter-spacing: -0.011em;
    margin-bottom: 14px;
  }
  .hint-container p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
  }
  .hint-container img {
    width: 60px;
  }
  .multicolor-container {
    background: linear-gradient(to bottom, #FCEFEC 50%, #E2ECFA 50%);
  }
  .multicolor-container .action-newsletter, .multicolor-container .action-membership {
    background: transparent;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .pl-110, .pl-22 {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
  .membership-features-container {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .membership-features-container h2 {
    font-size: 32px;
    line-height: 38.4px;
  }
  .home-newsletter {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .home-newsletter img {
    max-width: 219px;
    margin-bottom: 8px;
  }
  .home-newsletter h2 {
    font-size: 22px;
    line-height: 26.4px;
    margin-bottom: 14px;
  }
  .home-newsletter h4 {
    margin-bottom: 8px;
  }
  .home-newsletter .form-group, .home-newsletter .btn {
    display: block;
  }
  .home-newsletter .form-group {
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .home-newsletter form {
    padding-top: 0;
  }
  .home-authors .image-link {
    text-align: center;
    margin-bottom: 14px;
  }
  .home-guide .owl-stage {
    padding-left: 0px !important;
  }
  .home-guide {
    padding-top: 46px;
  }
  .home-newsletter-box {
    margin-top: 48px;
  }
  .home-newsletter-box h4 {
    margin-bottom: 16px;
  }
  .home-newsletter-box .form-group {
    margin-bottom: 12px;
  }
  .home-newsletter-box .form-group, .home-newsletter-box .btn {
    display: block;
    width: 100% !important;
  }
  .home-newsletter-box form {
    text-align: center;
  }
  .home-faq {
    padding-top: 48px;
    padding-bottom: 34px;
  }
  .home-faq h2 {
    font-size: 24px;
    font-weight: 900;
    line-height: 28.8px;
  }
  .home-faq .title-container {
    margin-bottom: 52px;
  }
  .newsletter-content h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .newsletter-content h2 {
    margin-top: 42px;
    margin-bottom: 42px;
  }
  .newsletter-content form .btn, .newsletter-content .form-group {
    display: block;
  }
  .newsletter-content .form-group {
    margin-right: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  .newsletter-features {
    margin-top: 30px;
  }
  .newsletter-features img {
    width: 60px;
    height: 60px;
  }
  .newsletter-footer {
    margin-top: 48px;
  }
  .newsletter-footer form .btn, .newsletter-footer .form-group {
    display: block;
  }
  .newsletter-footer .form-group {
    margin-right: 0;
    margin-bottom: 8px;
    width: 100%;
  }
  .newsletter-footer form .btn {
    width: 100% !important;
  }
}
/**
 * mediaquery.css fold-in — serie-podcast-list, tax-serie-podcast, podcast-title/content, podcast-container related-teaser, card-excerpt, single-related
 * Verbatim migration of assets/css/mediaquery.css lines 508-573
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .serie-podcast-list {
    padding-top: 32px;
  }
  .serie-podcast-list span {
    margin-bottom: 32px;
  }
  .serie-podcast-list img {
    max-width: 261px;
  }
  .tax-serie-podcast .title-teaser h1 {
    font-size: 45px;
    font-weight: 900;
    line-height: 45px;
    margin-bottom: 14px;
  }
  .tax-serie-podcast .title-teaser h2 {
    margin-bottom: 32px;
  }
  .tax-serie-podcast .title-teaser img {
    margin: 40px auto 8px;
    max-width: 215px;
    display: flex;
  }
  .tax-serie-podcast .filters {
    padding-right: 0;
    padding-bottom: 0;
  }
  .podcast-list .single-post {
    padding-bottom: 10px;
  }
  .podcast-title {
    margin-bottom: 17px;
  }
  .podcast-title img {
    width: 36px;
    height: 36px;
    margin-right: 7px;
  }
  .podcast-title .info {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    line-height: 16px;
  }
  .podcast-title .info .serie:after {
    display: none;
  }
  .podcast-title h1 {
    font-size: 26px;
    line-height: 32px;
    margin-top: 21px;
  }
  .podcast-content {
    border: none;
    padding-top: 30px;
  }
  .podcast-container .related-teaser {
    margin-top: 70px;
  }
  .card-excerpt {
    display: -webkit-box;
  }
  .single-related {
    border-bottom: 1px solid #D7D7D7;
    margin-bottom: 5px !important;
  }
}
/**
 * mediaquery.css fold-in — page-template main-container margin-top list, #search-input, .search .filters
 * Verbatim migration of assets/css/mediaquery.css lines 574-596
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .home .main-container,
  .home.admin-bar .main-container,
  .page-template-page-about .main-container,
  .page-template-page-about.admin-bar .main-container,
  .page-template-page-regala-app .main-container,
  .page-template-page-regala-app.admin-bar .main-container,
  .page-template-page-san-valentino .main-container,
  .page-template-page-san-valentino.admin-bar .main-container,
  .page-template-page-8-marzo .main-container,
  .page-template-page-8-marzo.admin-bar .main-container,
  .woocommerce-page .main-container,
  .woocommerce-page.admin-bar .main-container {
    margin-top: 65px;
  }
  #search-input {
    font-size: 32px;
    line-height: 40px;
    padding: 9px 30px 9px 1px;
  }
  .search .filters {
    padding-top: 12px;
    padding-bottom: 8px;
  }
}
/**
 * Search modal, below 992px (the results-page filters live in components/_search-page.scss) (Bootstrap lg).
 */
@media (max-width: 991px) {
  .search-modal .modal-content {
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 20px 20px 32px;
    border-radius: 0;
    box-shadow: none;
  }
  .search-modal__close {
    width: 44px;
    height: 44px;
    border-radius: 22px;
  }
  .search-modal__field {
    flex-wrap: wrap;
    gap: 12px;
  }
  .search-modal__input {
    font-size: 28px;
  }
  .search-modal__clear {
    min-height: 44px;
  }
  .search-modal__submit {
    flex: 1 0 100%;
    min-height: 52px;
  }
  .topic-chip,
  .frequent-chip {
    min-height: 44px;
    align-items: center;
  }
  .frequent-chip {
    display: inline-flex;
  }
}
/**
 * mediaquery.css fold-in — image-perfect, magazine-main highlight-post/list-post/description, magazine-storie/articoli/argomenti/membership/eventi/podcast/glossario
 * Verbatim migration of assets/css/mediaquery.css lines 597-709
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .image-perfect .card-image-resized {
    position: relative;
    height: auto;
    right: 3px;
    width: calc(100% + 6px);
  }
  .image-perfect a img {
    height: auto;
  }
  .magazine-main .highlight-post,
  .magazine-main .list-post .mpb {
    margin-bottom: 19px;
  }
  .magazine-main .description-container {
    padding: 15px 4px 18px 4px !important;
  }
  .magazine-storie {
    padding-top: 32px;
    padding-bottom: 27px;
  }
  .magazine-storie h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 40px;
    text-align: left;
    margin-bottom: 0;
  }
  .magazine-storie h3 {
    text-align: left;
    margin-bottom: 32px;
  }
  .magazine-storie .storie {
    margin-bottom: 38px;
  }
  .magazine-articoli {
    padding-top: 36px;
    padding-bottom: 26px;
  }
  .magazine-articoli .articoli.owl-carousel .owl-stage {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .magazine-argomenti {
    padding-top: 44px;
    margin-top: 22px;
    padding-bottom: 32px;
  }
  .magazine-membership {
    padding-bottom: 48px;
    padding-top: 32px;
  }
  .magazine-membership h2 {
    margin-top: 25px;
  }
  .magazine-membership h3 {
    font-size: 22px;
    line-height: 26.4px;
  }
  .magazine-eventi {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .magazine-eventi img {
    max-width: 195px;
    margin-bottom: 24px;
  }
  .magazine-eventi .teaser h2 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 0;
  }
  .magazine-eventi .teaser h3 {
    margin-bottom: 7px;
  }
  .magazine-eventi .event-list .event {
    margin-bottom: 8px;
  }
  .magazine-eventi .read-all {
    margin-top: 16px;
    display: inline-block;
  }
  .magazine-podcast {
    padding-top: 32px;
  }
  .magazine-podcast .teaser h2 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 0;
  }
  .magazine-podcast .teaser h3 {
    margin-bottom: 14px;
  }
  .magazine-podcast .teaser img {
    max-width: 180px;
    display: block;
    margin-top: 0;
    margin-bottom: 7px;
  }
  .magazine-podcast .serie-podcast-list {
    margin-top: 21px;
  }
  .magazine-glossario {
    padding-top: 32px;
    padding-bottom: 44px;
  }
  .magazine-glossario .teaser h2 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 0;
  }
  .magazine-glossario .teaser h3 {
    margin-bottom: 32px;
  }
}
/**
 * mediaquery.css fold-in — about-title, section-about, about-community/aziende/scuole/staff/contacts, archive-category card-image-resized, serie-podcast-list same-height, storie-same-height
 * Verbatim migration of assets/css/mediaquery.css lines 710-763
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .about-title {
    padding-top: 64px;
    padding-bottom: 38px;
  }
  .about-title h1 {
    font-size: 32px;
    line-height: 38.4px;
    margin-bottom: 63px;
  }
  .about-title p {
    margin-left: 0;
  }
  .section-about {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .about-community {
    padding-bottom: 0;
  }
  .about-community .partners .partner {
    margin-bottom: 54px;
  }
  .about-community cite {
    margin-bottom: 38px;
  }
  .about-community .counter-carousel.owl-carousel {
    margin-top: 40px;
  }
  .counter-carousel.owl-carousel .owl-stage {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .about-aziende .about-info {
    margin-bottom: 60px;
  }
  .about-scuole .counter-carousel {
    margin-top: 0;
  }
  .about-staff {
    padding-bottom: 24px;
  }
  .about-contacts {
    padding-bottom: 50px;
  }
  .page-template-archive-category .card-image-resized {
    position: relative;
  }
  .serie-podcast-list .same-height {
    min-height: auto;
  }
  .storie-same-height {
    height: 150px;
  }
}
/**
 * mediaquery.css fold-in — gift-teaser/gift-list/gift-item, woocommerce checkout col2-set/order_review(_heading)
 * Verbatim migration of assets/css/mediaquery.css lines 764-817
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  .gift-teaser {
    padding-top: 52px;
    padding-bottom: 0;
  }
  .gift-teaser p {
    font-size: 16px;
    line-height: 24px;
  }
  .gift-teaser .max-450 {
    max-width: 100%;
  }
  .gift-list {
    padding-top: 112px;
  }
  .gift-list h2 {
    font-size: 32px;
  }
  .gift-item h3 {
    font-size: 24px;
  }
  .gift-item p {
    font-size: 16px;
    line-height: 24px;
  }
  .gift-item .gift-info {
    padding: 30px 24px;
    order: 1;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .gift-item .gift-image {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    order: 0;
  }
  .gift-item img {
    position: relative;
    max-width: 50%;
  }
  form.woocommerce-checkout .col2-set,
  #order_review {
    width: 100%;
  }
  #order_review_heading {
    display: block;
    margin-top: 20px;
  }
}
/**
 * mediaquery.css fold-in — Pagina Aziende: main-container, membership-features-container, home-about, section-red, how-container, section-why, aziende-partner, aziende-hero
 * Verbatim migration of assets/css/mediaquery.css lines 818-1010
 * (media query: (max-width: 991px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 991px) {
  /* Pagina Aziende */
  .page-template-page-aziende.admin-bar .main-container, .page-template-page-aziende .main-container {
    margin-top: 65px;
  }
  .page-template-page-aziende .membership-features-container .accordion-button:after {
    zoom: 1.3;
  }
  .page-template-page-aziende .membership-features-container h2 {
    font-size: 23px;
  }
  .page-template-page-aziende .home-about {
    padding-top: 17px;
  }
  .page-template-page-aziende .home-about .owl-nav {
    display: none;
  }
  .page-template-page-aziende .home-about .owl-dots {
    display: block;
  }
  .page-template-page-aziende .home-about h2 {
    font-size: 23px;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 24px;
  }
  .page-template-page-aziende .home-about .about-card {
    padding: 20px 14px 14px;
  }
  .page-template-page-aziende .home-about .about-card p {
    font-size: 13.5px;
    line-height: 18.5px;
    letter-spacing: 0%;
    margin-bottom: 13px;
  }
  .page-template-page-aziende .home-about .about-card img {
    width: 51px;
  }
  .page-template-page-aziende .home-about .about-card span {
    font-size: 13.5px;
    line-height: 18.5px;
    letter-spacing: 0%;
  }
  .page-template-page-aziende .home-about .about-card img {
    margin-right: 14px;
  }
  .page-template-page-aziende .home-about .owl-dots {
    bottom: -34px;
  }
  .page-template-page-aziende .membership-features-container {
    padding-top: 34px;
  }
  .section-red {
    padding: 42px 0;
  }
  .section-red h2 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 34px;
  }
  .section-red .btn {
    font-size: 16px;
    line-height: 19px;
    max-width: 156px;
  }
  .how-container {
    padding: 36px 0 0;
  }
  .how-container h2 {
    font-size: 23px;
    line-height: 120%;
    margin: 0 auto 34px;
  }
  .how-container .box-single h3 {
    font-size: 23px;
    line-height: 27.6px;
  }
  .how-container .box-single .box-text {
    min-height: 306px;
    padding: 28px 23px 21px;
  }
  .how-container .box-single .box-text:before {
    content: "";
    display: block;
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
  }
  .how-container .box-single.actived .btn-close-info {
    top: 14px;
    right: 14px;
  }
  .how-container .box-single.actived .hidden-text {
    margin-top: 40px;
  }
  .how-container .box-single .box-image {
    min-height: 224px;
  }
  .how-container .box-single {
    min-height: 506px;
  }
  .how-container .box-single .box-image img {
    max-height: initial;
    top: 6px;
    transform: translateX(-50%);
  }
  .how-container .box-single .justify-content-center {
    justify-content: space-between !important;
  }
  .section-why {
    border-radius: 20px;
    padding: 28px 0;
  }
  .section-why h2 {
    font-size: 23px;
    line-height: 120%;
  }
  .section-why h3 {
    font-size: 23px;
    line-height: 130%;
    margin-top: 2px;
  }
  .section-why .items {
    margin-top: 0;
  }
  .section-why .items {
    border-top: none;
  }
  .section-why .items > div {
    border-right: none;
    border-top: 1px solid #000;
    padding-top: 0;
  }
  .section-why .items > div .col-4 {
    border-right: 1px solid #000;
  }
  .section-why .items > div .col-8 {
    padding: 13px 23px;
  }
  .section-why h3, .section-why p, .section-why span.source {
    text-align: left;
  }
  .section-why p, .section-why span.source {
    min-height: 0;
    font-size: 13.5px;
    line-height: 18.5px;
    margin-bottom: 0;
  }
  .aziende-partner {
    padding: 36px 0 10px;
    font-size: 13.5px;
    line-height: 18.5px;
  }
  .aziende-partner img {
    zoom: 0.69;
  }
  .aziende-partner span {
    margin-bottom: 24px;
    display: block;
  }
  .aziende-partner .partner-item {
    margin-bottom: 26px;
  }
  .aziende-hero {
    padding: 32px 0px 40px;
  }
  .aziende-hero h1 {
    font-size: 33px;
    line-height: 130%;
    margin-bottom: 34px;
  }
  .aziende-hero h1 span {
    font-size: 16px;
    line-height: 24px;
    margin-top: 2px;
  }
  .aziende-hero p {
    font-size: 16px;
    line-height: 24px;
  }
  .aziende-hero .btn {
    font-size: 16px;
    line-height: 19px;
    max-width: 156px;
    margin-top: 30px;
  }
  .aziende-hero .align-items-center {
    justify-content: center !important;
  }
}
/**
 * Aziende sub-pages, below 992px (Bootstrap lg).
 * Base rules: aziende/_aziende-page.scss.
 */
@media (max-width: 991px) {
  .aziende-eventi h2,
  .aziende-formazione h2,
  .aziende-media h2 {
    font-size: 24px;
    line-height: 28px;
  }
  .aziende-eventi__hero,
  .aziende-formazione__hero,
  .aziende-media__hero {
    padding-top: 20px;
  }
  .aziende-eventi__hero-grid,
  .aziende-formazione__hero-grid,
  .aziende-media__hero-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .aziende-eventi__hero-text h1,
  .aziende-formazione__hero-text h1,
  .aziende-media__hero-text h1 {
    font-size: 30px;
    line-height: 34px;
    margin-bottom: 14px;
  }
  .aziende-eventi__hero-subtitle,
  .aziende-formazione__hero-subtitle,
  .aziende-media__hero-subtitle {
    font-size: 20px;
    line-height: 22px;
  }
  .aziende-eventi__hero-media img,
  .aziende-formazione__hero-media img,
  .aziende-media__hero-media img {
    border-radius: 8px;
  }
  .aziende-eventi__logos,
  .aziende-formazione__logos,
  .aziende-media__logos {
    padding-top: 56px;
  }
  .aziende-eventi__logos-row,
  .aziende-formazione__logos-row,
  .aziende-media__logos-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 46px;
  }
  .aziende-eventi__logos-label,
  .aziende-formazione__logos-label,
  .aziende-media__logos-label {
    flex: none;
  }
  .aziende-eventi__logos-scroll,
  .aziende-formazione__logos-scroll,
  .aziende-media__logos-scroll {
    width: calc(100% + 20px);
    margin-right: -20px;
  }
  .aziende-eventi__intro,
  .aziende-formazione__intro,
  .aziende-media__intro {
    padding-top: 88px;
  }
  .aziende-eventi__intro-text,
  .aziende-formazione__intro-text,
  .aziende-media__intro-text {
    padding-inline: 20px;
    font-size: 22px;
    line-height: 26px;
  }
  .aziende-eventi__stats-scroll,
  .aziende-formazione__stats-scroll,
  .aziende-media__stats-scroll {
    max-width: none;
    margin-top: 24px;
    padding-inline: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .aziende-eventi__stats-scroll::-webkit-scrollbar,
  .aziende-formazione__stats-scroll::-webkit-scrollbar,
  .aziende-media__stats-scroll::-webkit-scrollbar {
    display: none;
  }
  .aziende-eventi__stats,
  .aziende-formazione__stats,
  .aziende-media__stats {
    display: flex;
    gap: 8px;
    width: max-content;
  }
  .aziende-eventi__stat,
  .aziende-formazione__stat,
  .aziende-media__stat {
    flex: 0 0 260px;
    scroll-snap-align: start;
    scroll-margin-left: 20px;
  }
  .aziende-eventi__stat:last-child,
  .aziende-formazione__stat:last-child,
  .aziende-media__stat:last-child {
    margin-right: 20px;
  }
  .aziende-eventi__intro-action,
  .aziende-formazione__intro-action,
  .aziende-media__intro-action {
    margin-top: 32px;
    padding-inline: 20px;
  }
  .aziende-eventi__what,
  .aziende-formazione__what,
  .aziende-media__what {
    padding-top: 56px;
  }
  .aziende-eventi__what .aziende-eventi__ruled {
    padding-bottom: 30px;
  }
  .aziende-formazione__what .aziende-formazione__ruled {
    padding-bottom: 30px;
  }
  .aziende-media__what .aziende-media__ruled {
    padding-bottom: 30px;
  }
  .aziende-eventi__what-grid,
  .aziende-formazione__what-grid,
  .aziende-media__what-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
    row-gap: 40px;
  }
  .aziende-eventi__what-item,
  .aziende-formazione__what-item,
  .aziende-media__what-item {
    gap: 18px;
  }
  .aziende-eventi__what-thumb,
  .aziende-formazione__what-thumb,
  .aziende-media__what-thumb {
    flex-basis: 59px;
    width: 59px;
    height: 59px;
    border-radius: 6px;
  }
  .aziende-eventi__cta .aziende-eventi__ruled {
    width: calc(100% + 40px);
    max-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-top: 42px;
    padding-bottom: 43px;
  }
  .aziende-formazione__cta .aziende-formazione__ruled {
    width: calc(100% + 40px);
    max-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-top: 42px;
    padding-bottom: 43px;
  }
  .aziende-media__cta .aziende-media__ruled {
    width: calc(100% + 40px);
    max-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-top: 42px;
    padding-bottom: 43px;
  }
  .aziende-eventi h2.aziende-eventi__cta-title {
    font-size: 24px;
    line-height: 29px;
  }
  .aziende-formazione h2.aziende-formazione__cta-title {
    font-size: 24px;
    line-height: 29px;
  }
  .aziende-media h2.aziende-media__cta-title {
    font-size: 24px;
    line-height: 29px;
  }
  .aziende-eventi__form,
  .aziende-formazione__form,
  .aziende-media__form {
    margin-top: 36px;
  }
  .aziende-eventi__testimonials .aziende-eventi__narrow {
    width: calc(100% + 40px);
    max-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-top: 0;
    padding-bottom: 48px;
  }
  .aziende-formazione__testimonials .aziende-formazione__narrow {
    width: calc(100% + 40px);
    max-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-top: 0;
    padding-bottom: 48px;
  }
  .aziende-media__testimonials .aziende-media__narrow {
    width: calc(100% + 40px);
    max-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-top: 0;
    padding-bottom: 48px;
  }
  .aziende-eventi__testimonials h2,
  .aziende-formazione__testimonials h2,
  .aziende-media__testimonials h2 {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 38px;
  }
  .aziende-eventi__quote,
  .aziende-formazione__quote,
  .aziende-media__quote {
    max-width: none;
    margin-left: 0;
    border-radius: 10px;
    text-align: left;
  }
  .aziende-eventi__quote:nth-of-type(even),
  .aziende-formazione__quote:nth-of-type(even),
  .aziende-media__quote:nth-of-type(even) {
    margin-left: 0;
  }
  .aziende-eventi__faq,
  .aziende-formazione__faq,
  .aziende-media__faq {
    padding: 64px 0;
  }
  .aziende-eventi__faq h2,
  .aziende-formazione__faq h2,
  .aziende-media__faq h2 {
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 38px;
  }
  .aziende-eventi__accordion .accordion-button,
  .aziende-formazione__accordion .accordion-button,
  .aziende-media__accordion .accordion-button {
    padding-block: 16px;
  }
  .aziende-eventi__accordion .accordion-body,
  .aziende-formazione__accordion .accordion-body,
  .aziende-media__accordion .accordion-body {
    line-height: 28px;
  }
  .aziende-eventi__faq-info,
  .aziende-formazione__faq-info,
  .aziende-media__faq-info {
    margin-top: 35px;
  }
  .aziende-eventi__faq-info p,
  .aziende-eventi__faq-info a,
  .aziende-formazione__faq-info p,
  .aziende-formazione__faq-info a,
  .aziende-media__faq-info p,
  .aziende-media__faq-info a {
    line-height: 28px;
  }
  .aziende-eventi__faq-info a.aziende-eventi__faq-all {
    display: block;
    margin-bottom: 0;
  }
  .aziende-formazione__faq-info a.aziende-formazione__faq-all {
    display: block;
    margin-bottom: 0;
  }
  .aziende-media__faq-info a.aziende-media__faq-all {
    display: block;
    margin-bottom: 0;
  }
  .aziende-eventi div.wpforms-container-full .wpforms-form .wpforms-field-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .aziende-formazione div.wpforms-container-full .wpforms-form .wpforms-field-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .aziende-media div.wpforms-container-full .wpforms-form .wpforms-field-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .aziende-eventi > section.aziende-eventi__intro {
    padding-inline: 0;
  }
  .aziende-formazione > section.aziende-formazione__intro {
    padding-inline: 0;
  }
  .aziende-media > section.aziende-media__intro {
    padding-inline: 0;
  }
}
/**
 * Pagina Aziende Formazione, below 992px (Bootstrap lg). Mockup is desktop
 * only: single column and horizontally scrolling stats as on the other
 * Aziende pages; spacing of the new sections is inferred.
 * Base rules: aziende/_aziende-formazione.scss.
 */
@media (max-width: 991px) {
  .aziende-formazione__deepdive {
    width: calc(100% - 40px);
    margin: 48px auto 32px;
  }
  .aziende-formazione__what-grid--by-column {
    grid-auto-flow: row;
    grid-template-rows: none;
  }
  .aziende-formazione__why {
    padding-top: 40px;
    padding-bottom: 64px;
  }
  .aziende-formazione__why-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    margin-top: 34px;
    padding-left: 0;
  }
  .aziende-formazione__why-list {
    max-width: none;
  }
  .aziende-formazione__why-media {
    grid-column: 1;
  }
  .aziende-formazione__why-media img {
    aspect-ratio: 4/3;
    border-radius: 8px;
  }
}
/**
 * mediaquery.css fold-in — max-width: 1199px — intro-image, gift-teaser/list big-height, san-valentino campaign overrides
 * Verbatim migration of assets/css/mediaquery.css lines 1013-1127
 * (media query: (max-width: 1199px)). Deliberately NOT interleaved into the base
 * rame.css partials — see assets/scss/mediaquery/README or
 * .claude/docs/mediaquery-css-decomposition-map.md for the late-@use
 * cascade-order rationale. No rewriting, no reordering, no new abstractions.
 */
@media (max-width: 1199px) {
  .intro-image {
    height: 520px;
    background-position: 70%;
  }
  .intro-image:before {
    width: 100%;
    background-color: rgba(25, 38, 73, 0.7);
  }
  .intro-image h1 {
    font-size: 38px;
    margin-bottom: 32px;
    margin-top: 28px;
  }
  .intro-image p {
    color: #B6D0F2;
  }
  .intro-image .intro-image-text {
    position: relative;
    transform: none;
  }
  .intro-image.big-height .intro-image-text {
    transform: none;
    margin-top: 24px;
    padding: 34px 24px 34px 24px;
  }
  .intro-image.big-height .intro-image-text h1 {
    font-size: 46px;
  }
  .intro-image.big-height .intro-image-text p {
    font-size: 22px;
  }
  .intro-image.big-height .intro-image-text span {
    font-size: 30px;
  }
  .intro-image.big-height .intro-image-text .discount {
    font-size: 30px;
    max-width: 194px;
    bottom: -165px;
    right: 50%;
    transform: translateX(50%);
  }
  .background-book-san-valentino {
    display: none;
  }
  .gift-teaser.big-height ul li {
    width: 100%;
    margin-right: 0;
    font-size: 22px;
    padding: 24px 34px;
  }
  .gift-teaser.big-height .small-title {
    font-size: 26px;
  }
  .gift-teaser.big-height .big-title {
    font-size: 42px;
  }
  .gift-teaser.big-height .btn-primary, .san-valentino-video .btn-primary {
    font-size: 30px !important;
    padding: 24px 80px !important;
    line-height: 120% !important;
    margin-bottom: 80px;
  }
  .gift-teaser.big-height ul {
    margin-bottom: 60px;
    padding: 0;
  }
  .gift-teaser.big-height .medium-title {
    font-size: 36px;
    margin-bottom: 60px;
  }
  .san-valentino-faq .single-faq h3 {
    font-size: 30px;
    margin-bottom: 26px;
  }
  .san-valentino-faq .single-faq p {
    font-size: 18px;
  }
  .san-valentino-faq .single-faq {
    padding-top: 24px;
    padding-bottom: 14px;
  }
  .gift-list.big-height h2 {
    margin-bottom: 80px;
  }
  .gift-list.big-height .gift-item {
    height: auto;
    cursor: default;
  }
  .gift-list.big-height .gift-item .gift-info:after {
    display: none !important;
  }
  .gift-list.big-height .gift-item h3 {
    font-size: 36px;
  }
  .gift-list.big-height .gift-item p, .gift-list.big-height .gift-item ul li {
    font-size: 18px;
  }
  .san-valentino-video h2 {
    font-size: 46px;
  }
  .san-valentino-video .btn.btn-primary {
    line-height: 42px !important;
    padding: 20px 76px !important;
    margin-bottom: 100px;
  }
  .san-valentino-video {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .video-play-icon.double:before {
    zoom: 1;
  }
}
