:root {
  --catv-widget-navy: #062b55;
  --catv-widget-gold: #c79a3b;
  --catv-widget-ink: #132b49;
  --catv-widget-muted: #667085;
  --catv-widget-line: #e3e8ee;
  --catv-widget-soft: #f5f7fa;
  --catv-widget-max: 1240px;
  --catv-widget-radius: 6px;
  --catv-widget-shadow: 0 14px 34px rgba(6,43,85,.08);
}

/*
 * Homepage rhythm.
 * The starter page is intentionally vertical: each functional block occupies
 * its own row, while the content inside the row uses an orderly card grid.
 */
.catv-home-grid.e-con {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block !important;
}
.catv-home-grid > .e-con {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 76px max(20px, calc((100vw - var(--catv-widget-max)) / 2));
}
.catv-home-grid > .e-con:nth-child(even) { background: var(--catv-widget-soft); }
.catv-home-stack.e-con {
  width: 100%;
  max-width: none;
  display: block !important;
  padding: 0 !important;
}
.catv-home-stack > .elementor-element {
  width: 100%;
  margin: 0;
  padding: 76px max(20px, calc((100vw - var(--catv-widget-max)) / 2));
}
.catv-home-stack > .elementor-element:nth-child(even) { background: var(--catv-widget-soft); }

.catv-home-section.e-con {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 76px 20px;
  align-items: center;
}
.catv-home-section--soft.e-con { background: var(--catv-widget-soft); }
.catv-home-section > .elementor-element {
  width: min(100%, var(--catv-widget-max));
  max-width: var(--catv-widget-max);
  margin-inline: auto;
}
.catv-intro.e-con {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 78px 20px 72px;
  text-align: center;
  background: #fff;
}
.catv-intro > .elementor-element {
  width: min(100%, 880px);
  margin-inline: auto;
}
.catv-intro .elementor-heading-title {
  margin: 0;
  color: var(--catv-widget-navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.catv-intro .elementor-widget-text-editor {
  margin-top: 18px;
  color: var(--catv-widget-muted);
  font-size: 18px;
  line-height: 1.75;
}
.catv-intro .elementor-widget-text-editor p { margin: 0; }

/* Shared section heading */
.catv-widget-heading {
  min-height: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--catv-widget-line);
  position: relative;
}
.catv-widget-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  background: var(--catv-widget-gold);
}
.catv-widget-heading__title {
  margin: 0;
  color: var(--catv-widget-navy);
  font: 700 clamp(28px, 2.35vw, 36px)/1.12 Georgia, 'Times New Roman', serif;
  letter-spacing: -.018em;
  text-transform: none;
}
.catv-widget-heading__link {
  padding-bottom: 3px;
  color: var(--catv-widget-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}
.catv-widget-heading__link:hover { color: var(--catv-widget-gold); }
.catv-empty {
  padding: 22px;
  margin: 0;
  border: 1px dashed var(--catv-widget-line);
  color: var(--catv-widget-muted);
  background: #fff;
}

/* Hero */
.catv-hero {
  --catv-hero-stop: 58%;
  --catv-hero-overlay-opacity: 1;
  --catv-hero-gradient: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.98) 33%, rgba(255,255,255,.82) var(--catv-hero-stop), rgba(255,255,255,.08) 100%);
  position: relative;
  min-height: 500px;
  background-color: #f2f5f8;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}
.catv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--catv-hero-gradient);
  opacity: var(--catv-hero-overlay-opacity);
  pointer-events: none;
}
.catv-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--catv-widget-max));
  min-height: inherit;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 64px 0 88px;
}
.catv-hero__content { max-width: 49%; }
.catv-hero__title {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 22px;
  color: var(--catv-widget-navy);
  font: 700 clamp(46px, 4.7vw, 68px)/1.02 Georgia, 'Times New Roman', serif;
  letter-spacing: -.032em;
}
.catv-hero__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58px;
  height: 4px;
  background: var(--catv-widget-gold);
}
.catv-hero__description {
  max-width: 570px;
  margin-bottom: 28px;
  color: #46586b;
  font-size: 17px;
  line-height: 1.65;
}
.catv-hero__description p { margin: 0; }
.catv-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.catv-hero__button {
  min-height: 48px;
  padding: 13px 21px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--catv-widget-navy);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}
.catv-hero__button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(6,43,85,.18); }
.catv-hero__button--primary { background: var(--catv-widget-navy); color: #fff; }
.catv-hero__button--primary:hover { color: #fff; }
.catv-hero__button--secondary { background: rgba(255,255,255,.88); color: var(--catv-widget-navy); }

/* Feature cards */
.catv-features {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 40px), var(--catv-widget-max));
  margin: -54px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.catv-feature {
  min-height: 142px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 25px 26px;
  border: 1px solid var(--catv-widget-line);
  border-radius: var(--catv-widget-radius);
  background: #fff;
  box-shadow: var(--catv-widget-shadow);
}
.catv-feature__icon {
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--catv-widget-navy);
  color: var(--catv-widget-gold);
  font-size: 28px;
}
.catv-feature__icon svg { width: 1em; height: 1em; fill: currentColor; }
.catv-feature__title {
  margin: 0 0 7px;
  color: var(--catv-widget-navy);
  font: 700 20px/1.22 Georgia, 'Times New Roman', serif;
}
.catv-feature__text { margin: 0; color: #536477; font-size: 14px; line-height: 1.58; }
.catv-feature__link { color: var(--catv-widget-gold); font-size: 24px; }

/* Events */
.catv-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.catv-event {
  min-height: 168px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--catv-widget-line);
  border-radius: var(--catv-widget-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(6,43,85,.055);
}
.catv-event__date {
  width: 66px;
  min-height: 78px;
  padding: 9px 5px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--catv-widget-navy);
  color: #fff;
  border-radius: 4px;
  line-height: 1;
}
.catv-event__date strong { font: 700 27px/1 Georgia, 'Times New Roman', serif; }
.catv-event__date span { margin-top: 5px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.catv-event__date small { margin-top: 4px; font-size: 10px; opacity: .84; }
.catv-event__title { margin: 1px 0 13px; font: 700 19px/1.32 Georgia, 'Times New Roman', serif; }
.catv-event__title a { color: var(--catv-widget-ink); }
.catv-event__meta { display: grid; gap: 7px; color: var(--catv-widget-muted); font-size: 12px; line-height: 1.45; }
.catv-event__meta span { display: inline-flex; align-items: flex-start; gap: 8px; }
.catv-event__meta i { width: 14px; margin-top: 3px; color: var(--catv-widget-navy); text-align: center; }

/* News */
.catv-news--list { display: grid; gap: 16px; }
.catv-news--list .catv-news-item {
  min-height: 142px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--catv-widget-line);
  border-radius: var(--catv-widget-radius);
  background: #fff;
}
.catv-news-item__image { display: block; min-width: 0; overflow: hidden; background: #eef1f4; }
.catv-news--list .catv-news-item__image { min-height: 116px; border-radius: 3px; }
.catv-news-item__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.catv-news-item:hover img { transform: scale(1.025); }
.catv-news-item__placeholder { min-height: 116px; display: grid; place-items: center; color: #8a98a8; font-size: 30px; }
.catv-news-item__title { margin: 0 0 9px; font: 700 20px/1.28 Georgia, 'Times New Roman', serif; }
.catv-news-item__title a { color: var(--catv-widget-ink); }
.catv-news-item__date { color: var(--catv-widget-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .035em; }
.catv-news-item__excerpt { margin-top: 11px; color: var(--catv-widget-muted); font-size: 14px; line-height: 1.6; }
.catv-news-item__excerpt p { margin: 0; }
.catv-news--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.catv-news--cards .catv-news-item {
  overflow: hidden;
  border: 1px solid var(--catv-widget-line);
  border-radius: var(--catv-widget-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(6,43,85,.055);
}
.catv-news--cards .catv-news-item__image { aspect-ratio: 16/9; }
.catv-news--cards .catv-news-item__body { padding: 22px 22px 24px; }
.catv-news--cards .catv-news-item__title { min-height: 2.55em; }

/* Documents */
.catv-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.catv-document {
  min-height: 82px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--catv-widget-line);
  border-radius: var(--catv-widget-radius);
  color: var(--catv-widget-ink);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.catv-document:hover {
  transform: translateY(-2px);
  border-color: rgba(199,154,59,.55);
  box-shadow: 0 10px 26px rgba(6,43,85,.07);
}
.catv-document__icon { color: var(--catv-widget-gold); font-size: 23px; text-align: center; }
.catv-document__body { min-width: 0; display: flex; flex-direction: column; }
.catv-document__title {
  overflow: hidden;
  color: var(--catv-widget-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
}
.catv-document__meta { margin-top: 5px; color: var(--catv-widget-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.catv-document__download { justify-self: end; color: var(--catv-widget-navy); font-size: 16px; }

/* Members */
.catv-members {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}
.catv-member {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  text-align: center;
}
.catv-member__image {
  width: 112px;
  height: 112px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  background: #e9edf1;
  color: #8593a2;
  box-shadow: 0 8px 24px rgba(6,43,85,.12);
  font-size: 34px;
}
.catv-member__image img { width: 100%; height: 100%; object-fit: cover; }
.catv-member__name { color: var(--catv-widget-ink); font: 700 15px/1.35 Georgia, 'Times New Roman', serif; }
.catv-member__role { margin-top: 5px; color: var(--catv-widget-muted); font-size: 12px; line-height: 1.35; }

/* CTA */
.catv-cta {
  width: min(calc(100% - 40px), var(--catv-widget-max));
  margin: 76px auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 36px 42px;
  border-bottom: 3px solid var(--catv-widget-gold);
  border-radius: var(--catv-widget-radius);
  background: var(--catv-widget-navy);
  color: #fff;
  box-shadow: var(--catv-widget-shadow);
}
.catv-cta__icon { color: var(--catv-widget-gold); font-size: 46px; }
.catv-cta__icon svg { width: 1em; height: 1em; fill: currentColor; }
.catv-cta__title { margin: 0 0 7px; color: #fff; font: 700 31px/1.16 Georgia, 'Times New Roman', serif; }
.catv-cta__text { margin: 0; color: #d9e2ec; font-size: 15px; line-height: 1.6; }
.catv-cta__button {
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--catv-widget-gold);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  white-space: nowrap;
}
.catv-cta__button:hover { color: #fff; filter: brightness(1.05); }

@media (max-width: 1100px) {
  .catv-hero__content { max-width: 58%; }
  .catv-feature { grid-template-columns: 60px minmax(0,1fr); }
  .catv-feature__link { display: none; }
  .catv-feature__icon { width: 58px; height: 58px; }
  .catv-events, .catv-news--cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .catv-members { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .catv-home-grid > .e-con,
  .catv-home-stack > .elementor-element,
  .catv-home-section.e-con { padding-top: 58px; padding-bottom: 58px; }
  .catv-intro.e-con { padding-top: 62px; padding-bottom: 58px; }
  .catv-intro .elementor-widget-text-editor { font-size: 16px; line-height: 1.65; }
  .catv-widget-heading {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
  }
  .catv-widget-heading__title { font-size: 29px; }
  .catv-widget-heading__link { white-space: normal; }
  .catv-hero {
    --catv-hero-gradient: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.95) 70%, rgba(255,255,255,.72) 100%);
    min-height: 520px;
    background-position: 66% center;
  }
  .catv-hero__inner { align-items: flex-start; padding: 52px 0 122px; }
  .catv-hero__content { max-width: 100% !important; }
  .catv-hero__title { font-size: clamp(38px, 11vw, 50px); }
  .catv-hero__description { font-size: 16px; }
  .catv-features { grid-template-columns: 1fr !important; margin-top: -82px; }
  .catv-feature { min-height: auto; padding: 21px; }
  .catv-events,
  .catv-news--cards,
  .catv-documents { grid-template-columns: 1fr !important; }
  .catv-event { min-height: 0; padding: 21px; }
  .catv-news--list .catv-news-item { grid-template-columns: 1fr; }
  .catv-news--list .catv-news-item__image { aspect-ratio: 16/9; }
  .catv-members { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 24px 14px; }
  .catv-member__image { width: 92px; height: 92px; }
  .catv-cta {
    margin: 58px auto;
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 30px 26px;
  }
  .catv-cta__icon { display: none; }
  .catv-cta__title { font-size: 27px; }
}

/* -------------------------------------------------------------------------
 * Visual rhythm 1.4.1 — structural fix
 *
 * The previous release painted the coloured bands with absolutely positioned
 * pseudo-elements extended above and below the widget. That effect could cover
 * the following Elementor container when a section became taller than the
 * demo content. These bands now belong to the normal document flow: every
 * section owns its padding, background and height, so cards, headings and the
 * footer can never be overpainted by an adjacent section.
 * ---------------------------------------------------------------------- */

/* Elementor containers that host a CATV section become neutral full-width
 * wrappers. The widget itself supplies the real background and spacing. */
.catv-home-section--events.e-con,
.catv-home-section--news.e-con,
.catv-home-section--documents.e-con,
.catv-home-section--members.e-con {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  display: block !important;
  overflow: visible;
  background: transparent;
}
.catv-home-section--events.e-con > .elementor-element,
.catv-home-section--news.e-con > .elementor-element,
.catv-home-section--documents.e-con > .elementor-element,
.catv-home-section--members.e-con > .elementor-element {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.catv-home-section--events .elementor-widget-container,
.catv-home-section--news .elementor-widget-container,
.catv-home-section--documents .elementor-widget-container,
.catv-home-section--members .elementor-widget-container {
  width: 100%;
}

/* Real, flow-based colour bands. The custom property remains editable from
 * the Stile tab of each Elementor widget. */
.catv-events-widget,
.catv-news-widget,
.catv-documents-widget,
.catv-members-widget {
  position: relative;
  z-index: auto;
  isolation: isolate;
  width: 100%;
  min-height: 1px;
  margin: 0;
  padding: 76px max(20px, calc((100vw - var(--catv-widget-max)) / 2));
  background: var(--catv-section-bg, #fff);
  overflow: hidden;
}
.catv-events-widget { --catv-section-bg: #fff; }
.catv-news-widget { --catv-section-bg: #f3f6f8; }
.catv-documents-widget { --catv-section-bg: #102a43; }
.catv-members-widget {
  --catv-section-bg: #fff;
  --catv-watermark-color: #062b55;
}

/* Activities keep the intentional overlap with the hero, but the warm band is
 * attached to the Elementor widget wrapper and no longer extends into the next
 * section with an absolute pseudo-element. */
.elementor-widget-catv-features {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: none;
  padding: 0 20px 54px;
  background: var(--catv-section-bg, #f7f5f0);
  overflow: visible;
  border-top: 1px solid rgba(199,154,59,.16);
}
.elementor-widget-catv-features > .elementor-widget-container { overflow: visible; }
.catv-features {
  --catv-section-bg: #f7f5f0;
  position: relative;
  z-index: 5;
  width: min(100%, var(--catv-widget-max));
  margin: -54px auto 0;
}

/* Fine separators remain inside their section bounds. */
.catv-events-widget::before,
.catv-news-widget::before,
.catv-members-widget::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: min(82vw, 1080px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(199,154,59,.58), transparent);
  pointer-events: none;
}
.catv-events-widget > *,
.catv-news-widget > *,
.catv-documents-widget > *,
.catv-members-widget > * {
  position: relative;
  z-index: 1;
}

/* Events and card motion. */
.catv-event,
.catv-news--cards .catv-news-item,
.catv-feature,
.catv-member__image {
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.catv-event:hover,
.catv-news--cards .catv-news-item:hover,
.catv-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(199,154,59,.48);
  box-shadow: 0 18px 38px rgba(6,43,85,.11);
}
.catv-event:first-child {
  --catv-featured-accent: #c79a3b;
  position: relative;
  border-top: 4px solid var(--catv-featured-accent);
  box-shadow: 0 16px 36px rgba(6,43,85,.10);
}
.catv-event:first-child::after {
  content: 'PROSSIMO';
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--catv-featured-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
}

/* News editorial treatment. */
.catv-news--cards .catv-news-item__body { border-top: 3px solid transparent; }
.catv-news--cards .catv-news-item:hover .catv-news-item__body { border-top-color: var(--catv-widget-gold); }
.catv-news-item__title a,
.catv-event__title a,
.catv-document__download,
.catv-feature__link { transition: color .2s ease, transform .2s ease; }
.catv-news-item__title a:hover,
.catv-event__title a:hover { color: var(--catv-widget-gold); }
.catv-feature:hover .catv-feature__link,
.catv-document:hover .catv-document__download { transform: translateX(3px); }

/* Documents: strong but self-contained colour interruption. */
.catv-documents-widget {
  background-color: var(--catv-section-bg);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.025) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.025) 25%, transparent 25%);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
}
.catv-documents-widget .catv-widget-heading__title,
.catv-documents-widget .catv-widget-heading__link { color: #fff; }
.catv-documents-widget .catv-widget-heading { border-color: rgba(255,255,255,.20); }
.catv-documents-widget .catv-document {
  background: #f7f3e8;
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.catv-documents-widget .catv-document:hover {
  background: #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
}

/* Board section is clean by default. The former circle/vertical-line motif
 * was visually ambiguous. A watermark can still be enabled explicitly from
 * Elementor and is rendered as a restrained, recognisable institutional mark. */
.catv-members-widget {
  background-color: var(--catv-section-bg);
  background-image: none;
}
.catv-members-widget--watermark {
  background-image: url('../board-watermark.svg');
  background-repeat: no-repeat;
  background-position: calc(100% - 72px) 50%;
  background-size: 210px auto;
}
.catv-member:hover .catv-member__image {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 14px 30px rgba(6,43,85,.16);
}
.catv-member:hover .catv-member__name { color: var(--catv-widget-gold); }

/* CTA: its former vertical margins could sit outside an empty Elementor
 * container. Spacing is now owned by the widget wrapper, keeping the complete
 * blue panel above the theme footer. */
.elementor-widget-catv-cta {
  width: 100%;
  padding: 76px 20px;
  background: #fff;
  overflow: visible;
}
.elementor-widget-catv-cta > .elementor-widget-container { overflow: visible; }
.elementor-widget-catv-cta .catv-cta { margin: 0 auto; }

/* Editable full-width institutional banner. */
.catv-home-banner-section.e-con {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  display: block !important;
  overflow: visible;
}
.catv-home-banner-section.e-con > .elementor-element {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.catv-institutional-banner {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  background-color: #102a43;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}
.catv-institutional-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #062b55;
  opacity: .9;
}
.catv-institutional-banner::after {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(199,154,59,.28);
  pointer-events: none;
}
.catv-institutional-banner__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--catv-widget-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding-block: 72px;
}
.catv-institutional-banner__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199,154,59,.52);
  color: var(--catv-widget-gold);
  font-size: 30px;
}
.catv-institutional-banner__icon svg { width: 1em; height: 1em; fill: currentColor; }
.catv-institutional-banner__eyebrow {
  margin-bottom: 10px;
  color: #e7c675;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.catv-institutional-banner__title {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font: 700 clamp(30px, 3vw, 44px)/1.13 Georgia, 'Times New Roman', serif;
  letter-spacing: -.02em;
}
.catv-institutional-banner__text {
  max-width: 760px;
  margin: 16px 0 0;
  color: #e8eef5;
  font-size: 16px;
  line-height: 1.65;
}
.catv-institutional-banner__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 3px;
  background: var(--catv-widget-gold);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease;
}
.catv-institutional-banner__button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
}

@media (max-width: 900px) {
  .catv-institutional-banner__inner { grid-template-columns: 64px minmax(0,1fr); }
  .catv-institutional-banner__button { grid-column: 2; justify-self: start; }
  .catv-institutional-banner__icon { width: 60px; height: 60px; }
}
@media (max-width: 767px) {
  .catv-events-widget,
  .catv-news-widget,
  .catv-documents-widget,
  .catv-members-widget { padding: 58px 20px; }
  .elementor-widget-catv-features { padding-bottom: 44px; }
  .catv-features { margin-top: -42px; }
  .catv-event:first-child::after { display: none; }
  .elementor-widget-catv-cta { padding: 58px 20px; }
  .catv-institutional-banner::after { inset: 12px; }
  .catv-institutional-banner__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 62px;
  }
  .catv-institutional-banner__button { grid-column: 1; }
  .catv-institutional-banner__title { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .catv-event,
  .catv-news--cards .catv-news-item,
  .catv-feature,
  .catv-member__image,
  .catv-institutional-banner__button,
  .catv-news-item__image img { transition: none !important; }
  .catv-event:hover,
  .catv-news--cards .catv-news-item:hover,
  .catv-feature:hover,
  .catv-member:hover .catv-member__image,
  .catv-institutional-banner__button:hover { transform: none !important; }
}


/* -------------------------------------------------------------------------
 * Width hotfix 1.4.2
 * Some Elementor installations keep custom widgets at intrinsic width inside
 * flex containers. Force every CATV widget wrapper to occupy the full row and
 * neutralise inner container constraints so section backgrounds and grids can
 * span the intended editorial width.
 * ---------------------------------------------------------------------- */
.elementor-widget-catv-hero,
.elementor-widget-catv-features,
.elementor-widget-catv-events,
.elementor-widget-catv-institutional-banner,
.elementor-widget-catv-news,
.elementor-widget-catv-documents,
.elementor-widget-catv-members,
.elementor-widget-catv-cta {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
  align-self: stretch !important;
}
.elementor-widget-catv-hero > .elementor-widget-container,
.elementor-widget-catv-features > .elementor-widget-container,
.elementor-widget-catv-events > .elementor-widget-container,
.elementor-widget-catv-institutional-banner > .elementor-widget-container,
.elementor-widget-catv-news > .elementor-widget-container,
.elementor-widget-catv-documents > .elementor-widget-container,
.elementor-widget-catv-members > .elementor-widget-container,
.elementor-widget-catv-cta > .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
}
.catv-home-grid.e-con > .e-con-inner,
.catv-home-stack.e-con > .e-con-inner,
.catv-home-section.e-con > .e-con-inner,
.catv-home-banner-section.e-con > .e-con-inner,
.catv-intro.e-con > .e-con-inner,
.catv-home-section--events.e-con > .e-con-inner,
.catv-home-section--news.e-con > .e-con-inner,
.catv-home-section--documents.e-con > .e-con-inner,
.catv-home-section--members.e-con > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

/* Grids keep a comfortable minimum width before wrapping. */
.catv-events {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
}
.catv-news--cards {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
}
.catv-documents {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
}
.catv-members {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}
@media (max-width: 1240px) {
  .catv-events,
  .catv-news--cards { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
  .catv-documents { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
  .catv-members { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
}
@media (max-width: 767px) {
  .catv-events,
  .catv-news--cards,
  .catv-documents,
  .catv-members { grid-template-columns: 1fr !important; }
}


/* -------------------------------------------------------------------------
 * Legacy Elementor structure repair 1.4.3
 *
 * Older CATV starter pages store Eventi, Notizie, Documenti and Direttivo
 * inside a boxed .catv-home-grid. With Elementor containers the actual flex
 * layout is applied to .e-con-inner, not only to the outer .e-con. Therefore
 * the old three-column layout and its horizontal padding survived earlier
 * overrides. These rules flatten both layers and let each CATV widget own the
 * full-width band and its single editorial container.
 * ---------------------------------------------------------------------- */
.catv-home-grid.e-con,
.catv-home-grid.e-con > .e-con-inner,
.catv-home-stack.e-con,
.catv-home-stack.e-con > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  gap: 0 !important;
  flex: none !important;
  grid-template-columns: none !important;
}

/* Elementor may render the child containers directly or through e-con-inner,
 * depending on the installed Elementor version. Cover both DOM variants. */
.catv-home-grid.e-con > .e-con,
.catv-home-grid.e-con > .e-con-inner > .e-con,
.catv-home-stack.e-con > .elementor-element,
.catv-home-stack.e-con > .e-con-inner > .elementor-element {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  align-self: stretch !important;
  background: transparent !important;
}

.catv-home-grid.e-con > .e-con:nth-child(even),
.catv-home-grid.e-con > .e-con-inner > .e-con:nth-child(even),
.catv-home-stack.e-con > .elementor-element:nth-child(even),
.catv-home-stack.e-con > .e-con-inner > .elementor-element:nth-child(even) {
  background: transparent !important;
}

/* Do not allow the old boxed-container custom properties to constrain the
 * repaired rows. */
.catv-home-grid,
.catv-home-grid > .e-con-inner,
.catv-home-stack,
.catv-home-stack > .e-con-inner {
  --container-max-width: none !important;
  --content-width: 100% !important;
  --width: 100% !important;
  --min-height: 0px !important;
}

/* Each dynamic section is now a normal full-width row. */
.catv-home-grid .elementor-widget-catv-events,
.catv-home-grid .elementor-widget-catv-news,
.catv-home-grid .elementor-widget-catv-documents,
.catv-home-grid .elementor-widget-catv-members,
.catv-home-stack .elementor-widget-catv-documents,
.catv-home-stack .elementor-widget-catv-members {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}


/* 1.4.4: keep the optional board watermark out of smaller layouts. */
@media (max-width: 1100px) {
  .catv-members-widget--watermark { background-image: none; }
}


/* -------------------------------------------------------------------------
 * Events card polish 1.4.6
 * More orderly composition for the homepage event cards: stronger hierarchy,
 * cleaner spacing, consistent vertical rhythm and a clearer featured badge.
 * ---------------------------------------------------------------------- */
.catv-event {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  min-height: 212px;
  align-items: stretch;
}
.catv-event__date {
  width: 76px;
  min-height: 96px;
  padding: 12px 6px 10px;
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12);
}
.catv-event__date strong { font-size: 31px; }
.catv-event__date span { margin-top: 7px; font-size: 13px; }
.catv-event__date small { margin-top: 6px; font-size: 11px; }
.catv-event__body {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.catv-event__title {
  margin: 0 0 18px;
  color: var(--catv-widget-ink);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.catv-event__meta {
  margin-top: auto;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
}
.catv-event__meta span {
  min-height: 20px;
  align-items: center;
  gap: 10px;
}
.catv-event__meta i {
  width: 16px;
  margin-top: 0;
  font-size: 13px;
  opacity: .88;
}
.catv-event:first-child {
  padding-top: 36px;
}
.catv-event:first-child::after {
  top: 12px;
  right: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(199,154,59,.12);
  line-height: 1;
}
@media (max-width: 1240px) {
  .catv-event { min-height: 198px; padding: 24px; }
  .catv-event__title { font-size: 20px; }
}
@media (max-width: 767px) {
  .catv-event {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    min-height: 0;
  }
  .catv-event__date {
    width: 64px;
    min-height: 82px;
    padding: 10px 4px 8px;
  }
  .catv-event__date strong { font-size: 26px; }
  .catv-event__title { margin-bottom: 14px; font-size: 19px; }
  .catv-event__meta { gap: 8px; font-size: 13px; }
}


/* -------------------------------------------------------------------------
 * Events card refinement 1.4.7
 * Match the approved visual reference more closely: generous card spacing,
 * larger date block, simpler stacked metadata and a soft pill for the
 * featured "PROSSIMO" label.
 * ---------------------------------------------------------------------- */
.catv-event {
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 30px;
  padding: 30px 32px;
  min-height: 248px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(6,43,85,.045);
}
.catv-event__date {
  width: 108px;
  min-height: 160px;
  padding: 16px 8px 14px;
  border-radius: 12px;
}
.catv-event__date strong {
  font-size: 34px;
  line-height: 1;
}
.catv-event__date span {
  margin-top: 10px;
  font-size: 18px;
  letter-spacing: .03em;
}
.catv-event__date small {
  margin-top: 10px;
  font-size: 13px;
  opacity: 1;
}
.catv-event__body {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 10px;
}
.catv-event__title {
  margin: 0 0 20px;
  color: var(--catv-widget-navy);
  font: 700 30px/1.08 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.catv-event__title a { color: var(--catv-widget-navy); }
.catv-event__meta {
  margin-top: 0;
  gap: 10px;
  color: #6f7c90;
  font-size: 17px;
  line-height: 1.45;
}
.catv-event__meta span {
  display: block;
  min-height: 0;
}
.catv-event__meta i {
  display: none;
}
.catv-event:first-child {
  padding-top: 30px;
  border-top-width: 1px;
}
.catv-event:first-child::after {
  top: 26px;
  right: 30px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #f2ead9;
  color: var(--catv-widget-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  box-shadow: none;
}
@media (max-width: 1360px) {
  .catv-event {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
    min-height: 230px;
  }
  .catv-event__date {
    width: 92px;
    min-height: 142px;
    padding: 14px 7px 12px;
  }
  .catv-event__date strong { font-size: 30px; }
  .catv-event__date span { font-size: 16px; margin-top: 8px; }
  .catv-event__date small { font-size: 12px; margin-top: 8px; }
  .catv-event__title { font-size: 24px; margin-bottom: 16px; }
  .catv-event__meta { font-size: 15px; }
}
@media (max-width: 1240px) {
  .catv-event {
    min-height: 210px;
  }
  .catv-event__title { font-size: 22px; }
  .catv-event__meta { font-size: 14px; }
  .catv-event:first-child::after {
    top: 22px;
    right: 24px;
    padding: 7px 14px;
    font-size: 12px;
  }
}
@media (max-width: 767px) {
  .catv-event {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    min-height: 0;
    border-radius: 8px;
  }
  .catv-event__date {
    width: 72px;
    min-height: 112px;
    padding: 12px 5px 10px;
    border-radius: 10px;
  }
  .catv-event__date strong { font-size: 26px; }
  .catv-event__date span { font-size: 14px; margin-top: 6px; }
  .catv-event__date small { font-size: 11px; margin-top: 6px; }
  .catv-event__body { justify-content: flex-start; padding-right: 0; }
  .catv-event__title {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.12;
  }
  .catv-event__meta {
    gap: 8px;
    font-size: 14px;
  }
  .catv-event:first-child::after {
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    font-size: 11px;
  }
}


/* -------------------------------------------------------------------------
 * Events final layout 1.4.8
 * The previous version inherited an old Elementor typography setting, which
 * made titles much larger than the approved reference. This layout uses new
 * CSS variables and a real editable badge, so saved legacy values no longer
 * distort the cards.
 * ---------------------------------------------------------------------- */
.catv-events {
  gap: 26px;
}
.catv-event {
  container-type: inline-size;
  position: relative;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  gap: 26px !important;
  align-items: start !important;
  min-height: 268px !important;
  padding: 58px 28px 30px !important;
  border: 1px solid var(--catv-widget-line) !important;
  border-radius: 10px !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,43,85,.045) !important;
}
.catv-event:first-child,
.catv-event--featured {
  border-top: 1px solid var(--catv-widget-line) !important;
  padding-top: 58px !important;
}
.catv-event:first-child::after {
  content: none !important;
  display: none !important;
}
.catv-event__featured-label {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 17px;
  border-radius: 999px;
  background: #f3ecdc;
  color: var(--catv-featured-accent, var(--catv-widget-gold));
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.catv-event__date {
  width: 94px !important;
  min-height: 150px !important;
  padding: 14px 7px 12px !important;
  align-self: start !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.catv-event__date strong {
  font-size: 31px !important;
  line-height: 1 !important;
}
.catv-event__date span {
  margin-top: 10px !important;
  font-size: 17px !important;
  line-height: 1 !important;
}
.catv-event__date small {
  margin-top: 10px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}
.catv-event__body {
  min-width: 0;
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
}
.catv-event__title {
  margin: 3px 0 20px !important;
  padding: 0 !important;
  color: var(--catv-widget-navy);
  font-size: var(--catv-event-title-size, 25px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.018em !important;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.catv-event__title a {
  color: inherit;
}
.catv-event__meta {
  margin: 0 !important;
  display: grid !important;
  gap: 9px !important;
  color: var(--catv-widget-muted);
  font-size: var(--catv-event-meta-size, 16px) !important;
  line-height: 1.45 !important;
}
.catv-event__meta span {
  display: block !important;
  min-height: 0 !important;
  line-height: inherit !important;
}
.catv-event__meta i {
  display: none !important;
}
@container (max-width: 520px) {
  .catv-event {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    gap: 20px !important;
    padding-inline: 22px !important;
  }
  .catv-event__date {
    width: 78px !important;
    min-height: 126px !important;
  }
  .catv-event__date strong { font-size: 27px !important; }
  .catv-event__date span { font-size: 15px !important; }
  .catv-event__title { font-size: min(var(--catv-event-title-size, 23px), 23px) !important; }
  .catv-event__meta { font-size: min(var(--catv-event-meta-size, 15px), 15px) !important; }
}
@media (max-width: 1240px) {
  .catv-events { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  .catv-events { grid-template-columns: 1fr !important; }
  .catv-event {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 18px !important;
    min-height: 0 !important;
    padding: 54px 20px 24px !important;
  }
  .catv-event__featured-label {
    top: 16px;
    right: 18px;
    min-height: 30px;
    padding: 6px 13px;
    font-size: 11px;
  }
  .catv-event__date {
    width: 70px !important;
    min-height: 112px !important;
  }
  .catv-event__date strong { font-size: 25px !important; }
  .catv-event__date span { font-size: 14px !important; margin-top: 7px !important; }
  .catv-event__date small { font-size: 11px !important; margin-top: 7px !important; }
  .catv-event__title {
    margin-top: 1px !important;
    margin-bottom: 14px !important;
    font-size: var(--catv-event-title-size, 20px) !important;
  }
  .catv-event__meta {
    gap: 7px !important;
    font-size: var(--catv-event-meta-size, 14px) !important;
  }
}


/* -------------------------------------------------------------------------
 * Events compact layout 1.4.9
 * The cards are intentionally tighter and more orderly: less vertical space,
 * calmer typography, smaller featured pill and metadata with a clear rhythm.
 * ---------------------------------------------------------------------- */
.catv-events {
  gap: 22px !important;
}
.catv-event {
  grid-template-columns: 88px minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 24px 24px 22px !important;
  border-radius: 10px !important;
}
.catv-event:first-child,
.catv-event--featured {
  padding-top: 24px !important;
}
.catv-event__featured-label {
  top: 18px !important;
  right: 18px !important;
  min-height: 28px !important;
  padding: 5px 12px !important;
  font-size: 11px !important;
  letter-spacing: .11em !important;
}
.catv-event__date {
  width: 74px !important;
  min-height: 124px !important;
  padding: 12px 6px 10px !important;
  border-radius: 10px !important;
}
.catv-event__date strong {
  font-size: 24px !important;
}
.catv-event__date span {
  margin-top: 8px !important;
  font-size: 13px !important;
  letter-spacing: .03em !important;
}
.catv-event__date small {
  margin-top: 8px !important;
  font-size: 11px !important;
}
.catv-event__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}
.catv-event__title {
  margin: 4px 0 14px !important;
  font-size: var(--catv-event-title-size, 20px) !important;
  line-height: 1.14 !important;
  letter-spacing: -.015em !important;
  text-wrap: pretty;
}
.catv-event__meta {
  gap: 8px !important;
  font-size: var(--catv-event-meta-size, 13px) !important;
  line-height: 1.4 !important;
}
.catv-event__meta span {
  color: #6d788a;
}
@container (max-width: 520px) {
  .catv-event {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 20px !important;
  }
  .catv-event:first-child,
  .catv-event--featured {
    padding-top: 20px !important;
  }
  .catv-event__date {
    width: 68px !important;
    min-height: 112px !important;
  }
  .catv-event__date strong { font-size: 22px !important; }
  .catv-event__date span { font-size: 12px !important; }
  .catv-event__title { font-size: min(var(--catv-event-title-size, 18px), 18px) !important; margin-bottom: 12px !important; }
  .catv-event__meta { font-size: min(var(--catv-event-meta-size, 12.5px), 12.5px) !important; gap: 7px !important; }
  .catv-event__featured-label {
    top: 14px !important;
    right: 14px !important;
    min-height: 24px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
  }
}
@media (max-width: 767px) {
  .catv-event {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 20px !important;
  }
  .catv-event:first-child,
  .catv-event--featured {
    padding-top: 20px !important;
  }
  .catv-event__date {
    width: 66px !important;
    min-height: 108px !important;
  }
  .catv-event__date strong { font-size: 22px !important; }
  .catv-event__title {
    font-size: var(--catv-event-title-size, 18px) !important;
    margin-bottom: 12px !important;
  }
  .catv-event__meta {
    font-size: var(--catv-event-meta-size, 12.5px) !important;
    gap: 7px !important;
  }
}


/* -------------------------------------------------------------------------
 * Events metadata and featured label 1.4.10
 * User-requested exact metadata rhythm and plain featured text.
 * ---------------------------------------------------------------------- */
.catv-event__meta {
  font-size: min(var(--catv-event-meta-size, 12.5px), 12.5px) !important;
  gap: 2px !important;
}
.catv-event__featured-label {
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* -------------------------------------------------------------------------
 * Unified widget typography 1.4.11
 * Slight increase to supporting copy across all CATV widgets. The compact
 * event metadata remains at the explicitly requested 12.5px / 2px gap.
 * ---------------------------------------------------------------------- */
.catv-intro .elementor-widget-text-editor {
  font-size: 19px;
  line-height: 1.72;
}
.catv-widget-heading__link {
  font-size: 15px;
}
.catv-hero__description {
  font-size: 18px;
  line-height: 1.68;
}
.catv-hero__button {
  font-size: 15px;
}
.catv-feature__title {
  font-size: 21px;
}
.catv-feature__text {
  font-size: 15px;
  line-height: 1.62;
}
.catv-news-item__date {
  font-size: 13px;
}
.catv-news-item__excerpt {
  font-size: 15px;
  line-height: 1.65;
}
.catv-news-item__title {
  font-size: 21px;
}
.catv-document__title {
  font-size: 16px;
  line-height: 1.42;
}
.catv-document__meta {
  font-size: 12px;
}
.catv-member__name {
  font-size: 16px;
}
.catv-member__role {
  font-size: 13px;
  line-height: 1.45;
}
.catv-cta__text {
  font-size: 16px;
  line-height: 1.65;
}
.catv-cta__button {
  font-size: 15px;
}
.catv-institutional-banner__eyebrow {
  font-size: 13px;
}
.catv-institutional-banner__text {
  font-size: 17px;
  line-height: 1.68;
}
.catv-institutional-banner__button {
  font-size: 15px;
}
.catv-empty {
  font-size: 15px;
}
/* Preserve the exact compact event metadata requested in 1.4.10. */
.catv-event__meta {
  font-size: min(var(--catv-event-meta-size, 12.5px), 12.5px) !important;
  gap: 2px !important;
}
@media (max-width: 767px) {
  .catv-intro .elementor-widget-text-editor { font-size: 17px; }
  .catv-hero__description { font-size: 17px; }
  .catv-feature__text,
  .catv-news-item__excerpt,
  .catv-cta__text { font-size: 15px; }
  .catv-institutional-banner__text { font-size: 16px; }
}


/* -------------------------------------------------------------------------
 * Typography scale 1.4.12
 * One further, controlled increase for readability while preserving the
 * compact event metadata explicitly requested by the user.
 * ---------------------------------------------------------------------- */
.catv-intro .elementor-widget-text-editor {
  font-size: 20px;
  line-height: 1.72;
}
.catv-widget-heading__link {
  font-size: 16px;
}
.catv-hero__description {
  font-size: 19px;
  line-height: 1.68;
}
.catv-hero__button {
  font-size: 16px;
}
.catv-feature__title {
  font-size: 22px;
}
.catv-feature__text {
  font-size: 16px;
  line-height: 1.62;
}
.catv-news-item__date {
  font-size: 14px;
}
.catv-news-item__excerpt {
  font-size: 16px;
  line-height: 1.65;
}
.catv-news-item__title {
  font-size: 22px;
}
.catv-document__title {
  font-size: 17px;
  line-height: 1.42;
}
.catv-document__meta {
  font-size: 13px;
}
.catv-member__name {
  font-size: 17px;
}
.catv-member__role {
  font-size: 14px;
  line-height: 1.45;
}
.catv-cta__text {
  font-size: 17px;
  line-height: 1.65;
}
.catv-cta__button {
  font-size: 16px;
}
.catv-institutional-banner__eyebrow {
  font-size: 14px;
}
.catv-institutional-banner__text {
  font-size: 18px;
  line-height: 1.68;
}
.catv-institutional-banner__button {
  font-size: 16px;
}
.catv-empty {
  font-size: 16px;
}
.catv-event__title {
  font-size: var(--catv-event-title-size, 21px) !important;
}
.catv-event__date strong {
  font-size: 25px !important;
}
.catv-event__date span {
  font-size: 14px !important;
}
.catv-event__date small {
  font-size: 12px !important;
}
/* Preserve the exact compact event metadata requested in 1.4.10. */
.catv-event__meta {
  font-size: min(var(--catv-event-meta-size, 12.5px), 12.5px) !important;
  gap: 2px !important;
}
@media (max-width: 767px) {
  .catv-intro .elementor-widget-text-editor { font-size: 18px; }
  .catv-hero__description { font-size: 18px; }
  .catv-feature__text,
  .catv-news-item__excerpt,
  .catv-cta__text { font-size: 16px; }
  .catv-institutional-banner__text { font-size: 17px; }
  .catv-event__title { font-size: var(--catv-event-title-size, 19px) !important; }
  .catv-event__date strong { font-size: 23px !important; }
  .catv-event__date span { font-size: 13px !important; }
  .catv-event__date small { font-size: 11px !important; }
}


/* -------------------------------------------------------------------------
 * Direttivo single-row carousel 1.4.24
 * ---------------------------------------------------------------------- */
.catv-members-carousel {
  position: relative;
  width: 100%;
  padding-inline: 54px;
}
.catv-members-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.catv-members-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.catv-members-carousel .catv-members {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 96px) / 5);
  align-items: start;
  gap: 24px;
  width: 100%;
}
.catv-members-carousel .catv-member {
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.catv-members-carousel__button {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  color: var(--catv-widget-navy);
  background: #fff;
  border: 1px solid var(--catv-widget-line);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(6, 43, 85, .12);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}
.catv-members-carousel__button span {
  display: block;
  margin-top: -3px;
  font: 400 32px/1 Arial, sans-serif;
}
.catv-members-carousel__button--previous { left: 0; }
.catv-members-carousel__button--next { right: 0; }
.catv-members-carousel__button:hover:not(:disabled),
.catv-members-carousel__button:focus-visible {
  color: var(--catv-widget-gold);
  border-color: var(--catv-widget-gold);
  transform: translateY(-50%) scale(1.05);
}
.catv-members-carousel__button:disabled {
  opacity: .28;
  cursor: default;
}
.catv-members-carousel__button[hidden] {
  display: none !important;
}
@media (max-width: 1240px) {
  .catv-members-carousel .catv-members {
    grid-auto-columns: calc((100% - 72px) / 4);
  }
}
@media (max-width: 960px) {
  .catv-members-carousel .catv-members {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
}
@media (max-width: 700px) {
  .catv-members-carousel {
    padding-inline: 44px;
  }
  .catv-members-carousel .catv-members {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }
  .catv-members-carousel__button {
    width: 36px;
    height: 36px;
  }
  .catv-members-carousel__button span {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .catv-members-carousel {
    padding-inline: 40px;
  }
  .catv-members-carousel .catv-members {
    grid-auto-columns: 100%;
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .catv-members-carousel__viewport {
    scroll-behavior: auto;
  }
}


/* -------------------------------------------------------------------------
 * CATV 1.4.25 – optional responsive horizontal card sliders
 * Existing grid markup and layout remain unchanged until slider is selected.
 * ---------------------------------------------------------------------- */
.catv-card-slider { --catv-cards-visible: 3; --catv-slide-step: 1; --catv-slider-gap: 22px; width: 100%; min-width: 0; }
.catv-card-slider__controls { display: flex; justify-content: flex-end; gap: 9px; margin: 0 0 14px; }
.catv-card-slider__arrow {
  appearance: none; display: grid; place-items: center; width: 38px; height: 38px;
  padding: 0; color: var(--catv-widget-navy); background: #fff;
  border: 1px solid var(--catv-widget-line); border-radius: 50%;
  cursor: pointer; transition: color .2s, border-color .2s, opacity .2s;
}
.catv-card-slider__arrow span { line-height: 1; font-size: 27px; transform: translateY(-2px); }
.catv-card-slider__arrow:hover:not(:disabled),
.catv-card-slider__arrow:focus-visible { color: var(--catv-widget-gold); border-color: var(--catv-widget-gold); }
.catv-card-slider__arrow:disabled { opacity: .32; cursor: default; }
.catv-card-slider__arrow[hidden] { display: none !important; }
.catv-card-slider__viewport { width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.catv-card-slider__viewport::-webkit-scrollbar { display: none; }
/* Override the grid's old !important mobile rules only in carousel mode. */
.catv-card-slider .catv-card-slider__track {
  display: flex !important; flex-wrap: nowrap !important; grid-template-columns: none !important;
  width: 100%; align-items: stretch; gap: var(--catv-slider-gap) !important;
}
.catv-card-slider .catv-card-slider__track > * {
  flex: 0 0 calc((100% - (var(--catv-cards-visible) - 1) * var(--catv-slider-gap)) / var(--catv-cards-visible));
  min-width: 0; width: auto; max-width: none; scroll-snap-align: start;
}
.catv-events-widget .catv-card-slider { --catv-slider-gap: 22px; }
.catv-news-widget .catv-card-slider { --catv-slider-gap: 22px; }
.catv-documents-widget .catv-card-slider { --catv-slider-gap: 16px; }
.catv-features.catv-features--slider { display: block !important; }
.catv-features--slider .catv-card-slider { --catv-slider-gap: 18px; }
.catv-features--slider .catv-card-slider .catv-feature { height: auto; }
/* Members already had an accessible carousel. Expose its per-device visible + step counts. */
.catv-members-carousel .catv-members {
  --catv-member-gap: 24px;
  grid-auto-columns: calc((100% - (var(--catv-member-visible, 5) - 1) * var(--catv-member-gap)) / var(--catv-member-visible, 5)) !important;
}
@media (max-width: 1240px) {
  .catv-card-slider { --catv-cards-visible: 2; }
  .catv-members-carousel { --catv-member-visible: 4; }
}
@media (max-width: 960px) {
  .catv-members-carousel { --catv-member-visible: 3; }
}
@media (max-width: 767px) {
  .catv-card-slider { --catv-cards-visible: 1; }
}
@media (max-width: 700px) {
  .catv-members-carousel { --catv-member-visible: 2; }
  .catv-members-carousel .catv-members { --catv-member-gap: 18px; }
}
@media (max-width: 480px) {
  .catv-members-carousel { --catv-member-visible: 1; }
  .catv-members-carousel .catv-members { --catv-member-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .catv-card-slider__viewport { scroll-behavior: auto; }
}
