@font-face {
  font-family: "Entre Sans";
  src: url("fonts/Montserrat-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Entre Sans";
  src: url("fonts/Montserrat-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Entre Sans";
  src: url("fonts/Montserrat-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Entre Sans";
  src: url("fonts/Montserrat-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Entre Sans";
  src: url("fonts/Montserrat-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ec-ivory: #fef8f1;
  --ec-white: #ffffff;
  --ec-burgundy: #a5002d;
  --ec-burgundy-dark: #800020;
  --ec-gold: #f5b735;
  --ec-black: #050505;
  --ec-ink: #171412;
  --ec-muted: #5c5550;
  --ec-line: #e8d9c9;
  --ec-on-burgundy: #ffffff;
  --ec-sans: "Entre Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body.ec {
  margin: 0;
  color: var(--ec-ink);
  background: #ffffff;
  font: 16px/1.55 var(--ec-sans);
}
img, svg { max-width: 100%; }
a { color: var(--ec-burgundy); }
a:hover { color: var(--ec-burgundy-dark); }
.ec-skip { position: absolute; left: -999px; top: .5rem; }
.ec-skip:focus { left: .5rem; z-index: 5; background: var(--ec-white); color: var(--ec-ink); padding: .4rem .7rem; }
.ec-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav tools";
  align-items: center;
  gap: .5rem 1.15rem;
  min-height: 6.25rem;
  padding: .4rem 1.5rem;
  background: var(--ec-white);
  border-bottom: 1px solid var(--ec-line);
}
.ec-nav-toggle { position: absolute; left: -999px; }
.ec-burger { display: none; }
.ec-header .ec-brand { grid-area: brand; }
.ec-brand {
  display: flex;
  align-items: center;
  color: var(--ec-burgundy);
  text-decoration: none;
  min-width: 0;
}
.ec-brand:hover { color: var(--ec-burgundy-dark); }
.ec-logo {
  display: block;
  width: 14.75rem;
  height: auto;
}
.ec-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
}
.ec-nav a {
  color: var(--ec-ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1;
  padding: .75rem 0 .6rem;
  white-space: nowrap;
}
.ec-nav a:hover { color: var(--ec-burgundy); }
.ec-nav a[aria-current="page"] {
  color: var(--ec-burgundy);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--ec-burgundy);
}
.ec-nav a:focus-visible, .ec-search:focus-visible, .ec-iconbtn:focus-visible, .ec-brand:focus-visible, .ec-btn:focus-visible {
  outline: 2px solid var(--ec-burgundy);
  outline-offset: 3px;
}
.ec-tools { grid-area: tools; display: flex; align-items: center; gap: .2rem; }
.ec-search {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--ec-ink);
}
.ec-search svg { width: 1.2rem; height: 1.2rem; }
.ec-iconbtn {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--ec-ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.ec-iconbtn svg { width: 1.2rem; height: 1.2rem; }
.ec-qr { position: relative; display: inline-flex; }
.ec-qr-panel {
  position: absolute;
  z-index: 8;
  top: calc(100% + .35rem);
  left: 0;
  width: min(18rem, calc(100vw - 1.25rem));
  padding: .75rem .75rem .85rem;
  background: var(--ec-white);
  border: 1px solid var(--ec-line);
  box-shadow: 0 10px 28px rgba(23, 20, 18, .12);
}
.ec-qr-panel[hidden] { display: none !important; }
.ec-qr-title { margin: 0 1.75rem .55rem 0; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.ec-qr-close {
  position: absolute;
  top: .3rem;
  right: .3rem;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ec-ink);
  cursor: pointer;
}
.ec-qr-close svg { width: 1rem; height: 1rem; }
.ec-qr-close:hover { color: var(--ec-burgundy); }
.ec-qr-close:focus-visible { outline: 2px solid var(--ec-burgundy); outline-offset: 2px; }
.ec-qr-canvas { display: block; width: 100%; height: auto; background: #fff; }
.ec-qr-url { margin: .65rem 0 0; color: var(--ec-ink); font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; }
.ec-login { margin-inline-start: .4rem; }
.ec-session { display: inline-flex; align-items: center; margin-inline-start: .35rem; }
.ec-user { position: relative; display: inline-flex; }
.ec-user-status,
.ec-user-status:hover { color: #1B7A3A; }
.ec-user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .15rem);
  z-index: 6;
  min-width: 11rem;
  padding: .3rem 0;
  background: var(--ec-white);
  border: 1px solid var(--ec-line);
  box-shadow: 0 10px 28px rgba(23, 20, 18, .12);
}
.ec-user-menu a {
  display: block;
  padding: .55rem .9rem;
  color: var(--ec-ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
}
.ec-user-menu a:hover { color: var(--ec-burgundy); }
.ec-user-menu a:focus-visible { outline: 2px solid var(--ec-burgundy); outline-offset: -2px; }
.ec-logout { display: inline-flex; margin: 0; }
.ec-logout .ec-iconbtn:hover { color: var(--ec-burgundy); }
.ec-lang { position: relative; }
.ec-lang summary {
  list-style: none;
  cursor: pointer;
  min-height: 2.5rem;
  min-width: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: 0 .35rem;
  color: var(--ec-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.ec-lang summary::-webkit-details-marker { display: none; }
.ec-lang summary:focus-visible { outline: 2px solid var(--ec-burgundy); outline-offset: 3px; }
.ec-lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + .15rem);
  z-index: 6;
  margin: 0;
  padding: .3rem 0;
  list-style: none;
  min-width: 12.5rem;
  background: var(--ec-white);
  border: 1px solid var(--ec-line);
  box-shadow: 0 10px 28px rgba(23, 20, 18, .12);
}
.ec-lang a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .9rem;
  color: var(--ec-ink);
  text-decoration: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 500;
}
.ec-lang a abbr { color: var(--ec-muted); text-decoration: none; letter-spacing: .06em; font-size: .75rem; }
.ec-lang a[aria-current="true"], .ec-lang a:hover { color: var(--ec-burgundy); }
.ec-lang a:focus-visible { outline: 2px solid var(--ec-burgundy); outline-offset: -2px; }
/* ===== Hero (ETTC-067 rebuild) ===== */
.ec-hero {
  --ec-hero-black: var(--ec-black);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ec-white);
  background-color: var(--ec-hero-black);
  aspect-ratio: 1024 / 403;
}
.ec-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}
.ec-hero-media picture,
.ec-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.ec-hero-media img {
  object-fit: cover;
  object-position: center 22%;
}
.ec-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 5, 5, .48) 0%, rgba(5, 5, 5, .2) 30%, rgba(5, 5, 5, 0) 55%);
}
.ec-hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 2.4rem 6vw;
  box-sizing: border-box;
}
.ec-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0;
  padding: 0;
  background: transparent;
}
.ec-kicker {
  margin: 0 0 .55rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ec-white);
}
.ec-hero h1 {
  margin: 0;
  font-family: var(--ec-sans);
  font-size: clamp(3.4rem, 5.1vw, 4.75rem);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.04em;
}
.ec-hero-entre { color: var(--ec-white); }
.ec-hero-culturas { color: #e10021; }
.ec-lead {
  max-width: 26rem;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: .9rem 0 0;
  color: var(--ec-white);
}
.ec-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.25rem 0 0; }
.ec-broadcast {
  position: absolute;
  top: auto;
  left: auto;
  right: clamp(.75rem, 2.4vw, 1.35rem);
  bottom: .5rem;
  z-index: 3;
  width: min(15.5rem, 30%);
  margin: 0;
  padding: .65rem .8rem;
  border-radius: 10px;
  background: rgba(5, 5, 5, .72);
  color: var(--ec-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.ec-broadcast ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .38rem;
}
.ec-broadcast li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
  margin: 0;
  font-size: .78rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ec-white);
}
.ec-broadcast-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  margin-top: .05rem;
  color: var(--ec-gold);
}
.ec-broadcast-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: .65rem 1.15rem;
  border: 1.5px solid var(--ec-burgundy);
  border-radius: 8px;
  background: var(--ec-burgundy);
  color: var(--ec-on-burgundy);
  font: 700 .95rem/1 var(--ec-sans);
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ec-btn:hover { background: var(--ec-burgundy-dark); border-color: var(--ec-burgundy-dark); color: var(--ec-on-burgundy); }
.ec-btn-ghost {
  background: transparent;
  color: var(--ec-white);
  border-color: var(--ec-white);
}
.ec-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--ec-white); color: var(--ec-white); }
.ec-textlink {
  color: var(--ec-burgundy);
  font-weight: 700;
  text-decoration: none;
}
.ec-textlink:hover { color: var(--ec-burgundy-dark); text-decoration: underline; }
.ec-pillars {
  padding: 0;
  background: var(--ec-ivory);
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
}
.ec-programmes, .ec-magazine { padding: 1.6rem 1.5rem 0; }
.ec-pillars ul, .ec-cards { list-style: none; margin: 0; padding: 0; }
.ec-pillars ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  background: var(--ec-ivory);
}
.ec-pillars li {
  min-width: 0;
  min-height: 0;
  margin: 0;
  border-right: 1px solid var(--ec-line);
}
.ec-pillars li:last-child { border-right: 0; }
.ec-pillar {
  display: grid;
  grid-template-columns: 38.4px minmax(0, 1fr);
  column-gap: .75rem;
  align-items: start;
  min-height: 100%;
  padding: 1.05rem .9rem 1.15rem;
  color: inherit;
  text-decoration: none;
}
a.ec-pillar:hover,
a.ec-pillar:hover strong { color: var(--ec-burgundy); }
.ec-pillar-icon {
  display: block;
  flex-shrink: 0;
  width: 38.4px;
  height: 38.4px;
  min-width: 38.4px;
  min-height: 38.4px;
  margin-top: 0;
  color: var(--ec-burgundy);
}
.ec-pillar-icon svg {
  display: block;
  width: 38.4px;
  height: 38.4px;
  min-width: 38.4px;
  min-height: 38.4px;
  max-width: none;
}
.ec-pillar-text {
  display: grid;
  gap: .2rem;
  min-width: 0;
}
.ec-pillar-text strong {
  display: block;
  color: var(--ec-ink);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
}
.ec-pillar-note {
  display: block;
  color: var(--ec-muted);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.35;
}
.ec-empty { color: var(--ec-muted); display: block; margin-top: .35rem; font-size: .9rem; line-height: 1.4; }
.ec-programmes {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); /* ~59% / 41% */
  gap: 1.75rem 1.6rem;
  align-items: start;
  padding-bottom: .5rem;
}
.ec-programmes-latest,
.ec-programmes-upcoming {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ec-programmes-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem 1rem;
  min-height: 2.35rem;
  margin: 0 0 .85rem;
}
.ec-programmes-head h2 { margin: 0; }
.ec-programmes-head .ec-label { margin-bottom: 0; }
.ec-programmes-head .ec-textlink {
  flex-shrink: 0;
  margin-top: .2rem;
  font-size: .9rem;
}
.ec-programmes h2, .ec-magazine h2 { margin: 0; }
.ec-label {
  display: inline-block;
  margin: 0 0 .85rem;
  padding: .28rem .65rem;
  background: var(--ec-gold);
  color: var(--ec-ink);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
}
h2 .ec-label { margin-bottom: 0; }
.ec-magazine header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.ec-magazine { padding-bottom: 2.6rem; }
.ec-magazine h2 {
  margin: .15rem 0 .8rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ec-ink);
}
.ec-empty {
  background: var(--ec-white);
  border: 1px solid var(--ec-line);
  padding: 1rem 1.1rem;
  margin-top: .85rem;
}
.ec-cards {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
.ec-programmes .ec-cards { grid-template-columns: 1fr; gap: 0; }

/* Latest programme — horizontal featured card */
.ec-cards--featured .ec-card-link {
  flex-direction: row;
  align-items: stretch;
  min-height: 13rem;
}
.ec-cards--featured .ec-card-media {
  flex: 0 0 42%;
  width: 42%;
  max-width: 42%;
  aspect-ratio: auto;
  min-height: 13rem;
  align-self: stretch;
}
.ec-cards--featured .ec-card-body {
  flex: 1 1 auto;
  justify-content: center;
  gap: .45rem;
  padding: 1.1rem 1.15rem 1.2rem;
}
.ec-cards--featured .ec-card-title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  -webkit-line-clamp: 3;
}
.ec-cards--featured .ec-card-summary {
  -webkit-line-clamp: 3;
  font-size: .9rem;
}
.ec-cards--featured .ec-agenda-facts {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-width: 0;
}
.ec-cards--featured .ec-agenda-badge {
  display: flex;
  flex: 0 0 4.1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.1rem;
  min-height: 4.1rem;
  padding: .3rem;
  border-radius: .3rem;
  background: var(--ec-burgundy);
  color: #fff;
  line-height: 1.05;
  text-align: center;
}
.ec-cards--featured .ec-agenda-badge.is-upcoming {
  background: #1f6b45;
}
.ec-cards--featured .ec-agenda-month,
.ec-cards--featured .ec-agenda-year {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ec-cards--featured .ec-agenda-day {
  font-size: 1.3rem;
  font-weight: 800;
}
.ec-cards--featured .ec-agenda-when {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
  color: var(--ec-ink);
  font-size: .88rem;
  line-height: 1.3;
}
.ec-cards--featured .ec-agenda-weekday {
  font-weight: 700;
}
.ec-cards--featured .ec-agenda-time,
.ec-cards--featured .ec-agenda-venue {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  min-width: 0;
}
.ec-cards--featured .ec-agenda-time svg,
.ec-cards--featured .ec-agenda-venue svg {
  flex: 0 0 .95rem;
  width: .95rem;
  height: .95rem;
  margin-top: .12rem;
  color: var(--ec-burgundy);
}
.ec-cards--featured .ec-agenda-venue span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ec-card-date {
  display: block;
  color: var(--ec-burgundy);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Upcoming programmes — compact horizontal rows */
.ec-cards--upcoming {
  gap: 0;
  border: 1px solid var(--ec-line);
  background: var(--ec-white);
}
.ec-cards--upcoming .ec-card {
  height: auto;
  border: 0;
}
.ec-cards--upcoming .ec-card + .ec-card {
  border-top: 1px solid var(--ec-line);
}
.ec-cards--upcoming .ec-card-link {
  flex-direction: row;
  align-items: center;
  gap: .85rem;
  height: auto;
  min-height: 0;
  padding: .55rem .75rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.ec-cards--upcoming .ec-card-link:hover {
  background: rgba(0, 0, 0, .015);
  box-shadow: none;
}
.ec-cards--upcoming .ec-card-media {
  flex: 0 0 96px;
  width: 96px;
  max-width: 96px;
  aspect-ratio: 4 / 3;
  min-height: 0;
  align-self: center;
  margin-top: 0;
}
.ec-cards--upcoming .ec-card-body {
  flex: 1 1 auto;
  justify-content: center;
  gap: .12rem;
  padding: 0;
  min-width: 0;
}
.ec-cards--upcoming .ec-card-title {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  -webkit-line-clamp: 3;
}
.ec-cards--upcoming .ec-card-date {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ec-burgundy);
}
.ec-cards--upcoming .ec-card-time {
  display: block;
  font-size: .8rem;
  line-height: 1.3;
  color: var(--ec-muted);
}
.ec-cards--upcoming .ec-card-summary,
.ec-cards--upcoming .ec-card-note {
  display: none;
}

.ec-magazine .ec-cards {
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}
.ec-card {
  min-width: 0;
  margin: 0;
  height: 100%;
}
.ec-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ec-white);
  border: 1px solid var(--ec-line);
  color: var(--ec-ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ec-card-link:hover {
  border-color: var(--ec-burgundy);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.ec-card-link:focus-visible {
  outline: 2px solid var(--ec-burgundy);
  outline-offset: 2px;
}
.ec-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ec-black);
  overflow: hidden;
}
.ec-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ec-card-body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1 1 auto;
  padding: .9rem 1rem 1.05rem;
  min-height: 0;
}
.ec-card-label {
  display: block;
  color: var(--ec-burgundy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.ec-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ec-ink);
}
.ec-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--ec-muted);
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.45;
}
.ec-card-event {
  display: grid;
  gap: .2rem;
  margin-top: .35rem;
  padding-top: .45rem;
  border-top: 1px solid var(--ec-line);
}
.ec-card-event-when {
  display: block;
  color: var(--ec-burgundy);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
}
.ec-card-event-venue {
  display: block;
  color: var(--ec-muted);
  font-size: .8rem;
  line-height: 1.35;
}
.ec-footer {
  padding: 1.85rem 1.75rem 2rem;
  background: var(--ec-black);
  color: var(--ec-white);
  border-top: 3px solid var(--ec-gold);
}
.ec-footer-top {
  display: grid;
  grid-template-columns: 13.125rem minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding-bottom: 1.45rem;
}
.ec-logo-footer { width: 13.125rem; height: auto; }
.ec-footer-top nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem 1.45rem;
  font-size: .95rem;
}
.ec-footer-bottom {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(18rem, 2.2fr) minmax(11rem, 1fr);
  align-items: center;
  gap: .85rem 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid #3a3532;
}
.ec-footer a { color: var(--ec-white); text-decoration: none; }
.ec-footer a:hover { color: var(--ec-gold); }
.ec-footer .ec-copy { margin: 0; justify-self: start; color: #c8bfb6; font-size: .9rem; }
.ec-footer .ec-attribution {
  margin: 0;
  justify-self: center;
  text-align: center;
  color: #f4efe9;
  font-size: 1rem;
  line-height: 1.45;
}
.ec-footer .ec-legal {
  display: flex;
  flex-wrap: wrap;
  justify-self: end;
  justify-content: flex-end;
  gap: .75rem 1.15rem;
}
.ec-footer .ec-legal a { color: #c8bfb6; font-size: .9rem; }
.ec-footer .ec-credit {
  margin: 1.15rem 0 0;
  color: #8f8680;
  font-size: .8125rem;
  line-height: 1.4;
}
.ec-footer .ec-credit a { color: #f4efe9; font-size: inherit; text-decoration: underline; text-underline-offset: .15em; }
.ec-footer .ec-credit a:hover { color: #f4efe9; }
.ec-page { max-width: 48rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.ec-page h1, .ec-page .fsc-content-title { font-family: var(--ec-sans); font-weight: 800; letter-spacing: -.03em; }
.ec-staff-entry { margin: .35rem 0 0; font-family: var(--ec-sans); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.ec-staff-entry__link { color: var(--ec-burgundy); text-decoration: none; border-bottom: 1px solid var(--ec-gold); }
.ec-staff-entry__link:hover, .ec-staff-entry__link:focus-visible { color: var(--ec-burgundy-dark); }
@media (max-width: 640px) {
  .ec-staff-entry { margin-top: .5rem; font-size: .78rem; }
  .ec-staff-entry__link { display: inline-block; padding: .35rem 0; }
}
/* Front-panel Add/Edit — scoped; does not restyle public articles or Admin */
.ec-front-edit {
  --ec-front-border: #e4d9cc;
  --ec-front-field: #fffdf9;
  --ec-front-field-border: #cfc4b8;
  max-width: 46rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  font-family: var(--ec-sans);
  color: var(--ec-ink);
}
.ec-front-edit__header { margin-bottom: 1.1rem; }
.ec-front-edit__header .fsc-content-crumb {
  margin: 0 0 .45rem;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ec-front-edit__header .fsc-content-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.ec-front-edit__note {
  margin: 0 0 1rem;
  padding: .7rem .85rem;
  background: #fff8ef;
  border-left: 3px solid var(--ec-gold);
  font-size: .92rem;
  color: var(--ec-muted);
}
.ec-front-edit__note strong { color: var(--ec-ink); font-weight: 700; }
.ec-front-edit__card {
  border: 1px solid var(--ec-front-border);
  background: var(--ec-white);
  margin: 0 0 1rem;
  padding: 1rem 1.05rem 1.05rem;
}
.ec-front-edit__form fieldset.ec-front-edit__card,
.ec-front-edit__form fieldset {
  border: 1px solid var(--ec-front-border);
  margin: 0 0 1rem;
  padding: 1rem 1.05rem 1.05rem;
  min-width: 0;
}
.ec-front-edit__form legend {
  font-family: var(--ec-sans);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0;
  padding: 0 .2rem;
  color: var(--ec-burgundy);
}
.ec-front-edit__form label {
  display: block;
  margin: 0 0 .9rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ec-ink);
}
.ec-front-edit__form label:last-child { margin-bottom: 0; }
.ec-front-edit__form .fsc-content-hint {
  display: inline;
  font-weight: 500;
  font-size: .8rem;
  color: var(--ec-muted);
  letter-spacing: 0;
  text-transform: none;
}
.ec-front-edit__form input[type="text"],
.ec-front-edit__form input[type="url"],
.ec-front-edit__form textarea,
.ec-front-edit__form select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: .4rem;
  padding: .62rem .7rem;
  min-height: 2.55rem;
  border: 1px solid var(--ec-front-field-border);
  border-radius: 0;
  background: var(--ec-front-field);
  font: inherit;
  font-weight: 400;
  color: #2a2420;
  appearance: none;
}
.ec-front-edit__form textarea {
  min-height: 5.5rem;
  resize: vertical;
  line-height: 1.45;
}
.ec-front-edit__form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ec-burgundy) 50%),
    linear-gradient(135deg, var(--ec-burgundy) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 1.1rem, calc(100% - .75rem) 1.1rem;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.ec-front-edit__form input:focus,
.ec-front-edit__form textarea:focus,
.ec-front-edit__form select:focus,
.ec-front-edit input[type="url"]:focus {
  outline: 2px solid var(--ec-gold);
  outline-offset: 1px;
  border-color: #b9a892;
}
.ec-front-edit__choice {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  margin: 0 !important;
  font-weight: 500 !important;
  cursor: pointer;
}
.ec-front-edit__choice input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--ec-burgundy);
}
.ec-front-edit__status-readonly {
  margin: 0 0 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--ec-front-border);
  font-size: .92rem;
}
.ec-front-edit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1rem;
  align-items: center;
  margin: 1.35rem 0 0;
  padding: 1.1rem 0 .25rem;
  border-top: 1px solid var(--ec-front-border);
}
.ec-front-edit__save,
.ec-front-edit__btn {
  appearance: none;
  border: 0;
  background: var(--ec-burgundy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .72rem 1.15rem;
  min-height: 2.55rem;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}
.ec-front-edit__save:hover,
.ec-front-edit__save:focus-visible,
.ec-front-edit__btn:hover,
.ec-front-edit__btn:focus-visible {
  background: var(--ec-burgundy-dark);
}
.ec-front-edit__btn--secondary {
  background: transparent;
  color: var(--ec-burgundy);
  border: 1px solid var(--ec-burgundy);
}
.ec-front-edit__btn--secondary:hover,
.ec-front-edit__btn--secondary:focus-visible {
  background: #f8efe6;
  color: var(--ec-burgundy-dark);
  border-color: var(--ec-burgundy-dark);
}
.ec-front-edit__btn--danger {
  background: transparent;
  color: #8b1e1e;
  border: 1px solid #c58a8a;
  text-transform: none;
  letter-spacing: .02em;
  font-weight: 600;
  padding: .45rem .75rem;
  min-height: 2.1rem;
  font-size: .82rem;
}
.ec-front-edit__btn--danger:hover,
.ec-front-edit__btn--danger:focus-visible {
  background: #f8ecec;
  color: #6e1515;
  border-color: #8b1e1e;
}
.ec-front-edit__cancel {
  color: var(--ec-burgundy);
  text-decoration: none;
  border-bottom: 1px solid var(--ec-gold);
  font-size: .9rem;
  font-weight: 600;
  padding: .2rem 0;
}
.ec-front-edit__cancel:hover,
.ec-front-edit__cancel:focus-visible { color: var(--ec-burgundy-dark); }

/* Media section cards */
.ec-front-edit__media {
  display: grid;
  gap: .85rem;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ec-front-edit__media-head h2 {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
  color: var(--ec-burgundy);
}
.ec-front-edit__media-head .fsc-content-hint {
  margin: 0;
  color: var(--ec-muted);
  font-size: .88rem;
}
.ec-front-edit__media-card {
  border: 1px solid var(--ec-front-border);
  background: var(--ec-white);
  padding: .95rem 1rem;
  min-width: 0;
}
.ec-front-edit__media-card-title {
  margin: 0 0 .65rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ec-ink);
}
.ec-front-edit__media-state {
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: var(--ec-ink);
}
.ec-front-edit__media-state.is-empty {
  color: var(--ec-muted);
  font-style: italic;
}
.ec-front-edit__media-id {
  display: inline-block;
  margin-left: .25rem;
  padding: .1rem .35rem;
  background: #f4ebe1;
  font-size: .8rem;
  font-style: normal;
}
.ec-front-edit__media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 .55rem;
}
.ec-front-edit__media-actions:last-child { margin-bottom: 0; }
.ec-front-edit__media-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}
.ec-front-edit__media-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .5rem .75rem;
  align-items: center;
  padding: .55rem .65rem;
  background: #fffaf4;
  border: 1px solid #efe3d5;
  font-size: .9rem;
  min-width: 0;
}
.ec-front-edit__media-item-label {
  overflow-wrap: anywhere;
  font-weight: 600;
}
.ec-front-edit__media-item-kind {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ec-muted);
  font-weight: 600;
}
.ec-front-edit__media-detach { margin: 0; }

/* Language tabs */
.ec-front-edit__langs {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--ec-front-border);
  background: #fffaf4;
}
.ec-front-edit__langs-label {
  margin: 0 0 .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ec-burgundy);
}
.ec-front-edit .fsc-content-lang-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ec-front-edit .fsc-content-lang-tab {
  display: inline-flex;
  align-items: center;
  padding: .45rem .7rem;
  text-decoration: none;
  color: var(--ec-burgundy);
  border: 1px solid transparent;
  background: transparent;
  font-size: .88rem;
  font-weight: 600;
}
.ec-front-edit .fsc-content-lang-tab:hover,
.ec-front-edit .fsc-content-lang-tab:focus-visible {
  border-color: #e0d0bc;
  background: #fff;
}
.ec-front-edit .fsc-content-lang-tab.is-active {
  border-color: var(--ec-gold);
  background: #fff;
  box-shadow: inset 0 -2px 0 var(--ec-gold);
  font-weight: 700;
  color: var(--ec-burgundy-dark);
}
.ec-front-edit .fsc-content-lang-tab.is-missing { opacity: .85; }
.ec-front-edit__lang-missing {
  font-weight: 500;
  font-size: .75rem;
  color: var(--ec-muted);
  text-transform: lowercase;
  letter-spacing: 0;
}

/* Type / categories / editor */
.ec-front-edit .fsc-content-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.15rem;
}
.ec-front-edit .fsc-content-cat-panel {
  display: grid;
  gap: .4rem;
  max-height: 14rem;
  overflow: auto;
  padding: .15rem 0;
}
.ec-front-edit .fsc-content-cat-row {
  display: flex;
  gap: .55rem;
  align-items: center;
  font-weight: 500;
  margin: 0 !important;
  padding: .35rem .4rem;
}
.ec-front-edit .fsc-content-cat-row:hover { background: #fff8ef; }
.ec-front-edit .fsc-content-cat-row input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--ec-burgundy);
}
.ec-front-edit__editor-wrap {
  padding-bottom: 1.1rem;
}
.ec-front-edit .fsc-rich-editor {
  margin: 0;
  border: 1px solid var(--ec-front-field-border);
  background: var(--ec-front-field);
}
.ec-front-edit .fsc-rich-editor-label {
  display: block;
  margin: 0 0 .55rem;
  font-size: .88rem;
  font-weight: 600;
}
.ec-front-edit .fsc-rich-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: .45rem .5rem;
  border-bottom: 1px solid var(--ec-front-border);
  background: #fffaf4;
}
.ec-front-edit .fsc-rich-editor__btn {
  min-width: 2rem;
  min-height: 2rem;
  padding: .25rem .4rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ec-ink);
  font: inherit;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.ec-front-edit .fsc-rich-editor__btn:hover,
.ec-front-edit .fsc-rich-editor__btn:focus-visible,
.ec-front-edit .fsc-rich-editor__btn[aria-pressed="true"] {
  border-color: #e0d0bc;
  background: #fff;
  color: var(--ec-burgundy);
}
.ec-front-edit .fsc-rich-editor__surface {
  min-height: 12rem;
  padding: .85rem .9rem;
  background: #fff;
}
.ec-front-edit .fsc-rich-editor__bytes {
  margin: .45rem .6rem .15rem;
  font-size: .78rem;
  color: var(--ec-muted);
}
.ec-front-edit .fsc-ax-flash-ok,
.ec-front-edit .fsc-ok {
  color: #1f5c38;
  margin: 0 0 1rem;
  padding: .65rem .8rem;
  background: #eef7f1;
  border-left: 3px solid #1f5c38;
}
.ec-front-edit .fsc-ax-flash-err,
.ec-front-edit .fsc-error {
  color: #8b1e1e;
  margin: 0 0 1rem;
  padding: .65rem .8rem;
  background: #f8ecec;
  border-left: 3px solid #8b1e1e;
}
@media (max-width: 640px) {
  .ec-front-edit {
    padding: 1.1rem .85rem 2.5rem;
  }
  .ec-front-edit__media-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label kind"
      "detach detach";
  }
  .ec-front-edit__media-item-label { grid-area: label; }
  .ec-front-edit__media-item-kind { grid-area: kind; justify-self: end; }
  .ec-front-edit__media-detach {
    grid-area: detach;
    justify-self: stretch;
  }
  .ec-front-edit__media-detach .ec-front-edit__btn { width: 100%; }
  .ec-front-edit__actions {
    position: static;
    background: transparent;
  }
  .ec-front-edit__save { flex: 1 1 auto; text-align: center; }
  .ec-front-edit__cancel { width: 100%; text-align: center; }
}
.fsc-content-tool-nav ul, .fsc-content-type-nav ul, .fsc-content-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  list-style: none;
  padding: 0;
}
@media (max-width: 959px) {
  .ec-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "burger brand tools" "nav nav nav";
    min-height: 0;
    padding: .55rem .9rem;
  }
  .ec-logo { width: 9.5rem; }
  .ec-burger {
    grid-area: burger;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.75rem;
    cursor: pointer;
    font-weight: 600;
  }
  .ec-burger span, .ec-burger span:before, .ec-burger span:after {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--ec-ink);
    position: relative;
  }
  .ec-burger span:before, .ec-burger span:after { content: ""; position: absolute; left: 0; }
  .ec-burger span:before { top: -6px; }
  .ec-burger span:after { top: 6px; }
  .ec-nav { display: none; flex-direction: column; align-items: flex-start; padding: .25rem 0 .5rem; }
  .ec-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: 1rem; }
  .ec-nav-toggle:checked ~ .ec-nav { display: flex; }
  .ec-nav-toggle:focus-visible + .ec-burger { outline: 2px solid var(--ec-burgundy); }
  /* Hero phone/tablet rules live in dedicated ranges below. */
  .ec-pillars ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ec-pillars li {
    border-right: 1px solid var(--ec-line);
    border-bottom: 1px solid var(--ec-line);
  }
  .ec-pillars li:nth-child(3n) { border-right: 0; }
  .ec-pillars li:nth-last-child(-n+3) { border-bottom: 0; }
  .ec-pillar {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: .5rem;
    padding: 1rem .5rem 1.1rem;
    text-align: center;
  }
  .ec-pillar-icon {
    margin-top: 0;
    width: 35.2px;
    height: 35.2px;
    min-width: 35.2px;
    min-height: 35.2px;
  }
  .ec-pillar-icon svg {
    width: 35.2px;
    height: 35.2px;
    min-width: 35.2px;
    min-height: 35.2px;
  }
  .ec-pillar-text { justify-items: center; }
  .ec-pillar-text strong { font-size: .88rem; }
  .ec-pillar-note { font-size: .72rem; }
  /* Keep programme columns side-by-side on tablet when space allows */
  .ec-programmes {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.35rem;
  }
  .ec-cards--featured .ec-card-link { min-height: 11.5rem; }
  .ec-cards--featured .ec-card-media {
    flex-basis: 40%;
    width: 40%;
    max-width: 40%;
    min-height: 11.5rem;
  }
  .ec-cards--upcoming .ec-card-media {
    flex-basis: 100px;
    width: 100px;
    max-width: 100px;
  }
  .ec-magazine .ec-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec-magazine header { flex-direction: column; align-items: flex-start; }
  .ec-footer { padding: 1.5rem 1.1rem 1.35rem; }
  .ec-footer-top { grid-template-columns: 1fr; justify-items: start; gap: 1rem; padding-bottom: 1.15rem; }
  .ec-footer-top nav { justify-content: flex-start; }
  .ec-footer-top nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .ec-logo-footer { width: 12.25rem; }
  .ec-footer-bottom { grid-template-columns: 1fr; justify-items: start; gap: .7rem; padding-top: 1.15rem; }
  .ec-footer .ec-copy, .ec-footer .ec-attribution, .ec-footer .ec-legal { justify-self: start; text-align: left; }
  .ec-footer .ec-legal { justify-content: flex-start; }
  .ec-footer .ec-legal a { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .ec-footer .ec-credit { margin-top: 1rem; }
  .ec-footer .ec-credit a { min-height: 2.75rem; display: inline-flex; align-items: center; }
}

/* ===== Hero tablet 600–959: landscape photo, compact overlay ===== */
@media (min-width: 600px) and (max-width: 959px) {
  .ec-hero {
    aspect-ratio: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero";
    overflow: hidden;
  }
  .ec-hero-media {
    grid-area: hero;
    position: relative;
    inset: auto;
    z-index: 0;
    align-self: start;
    width: 100%;
  }
  .ec-hero-media picture,
  .ec-hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 403;
  }
  .ec-hero-media img {
    object-fit: cover;
    object-position: center 22%;
  }
  .ec-hero-shade {
    grid-area: hero;
    position: relative;
    inset: auto;
    z-index: 1;
    align-self: start;
    width: 100%;
    height: calc(100vw * 403 / 1024);
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 5, 5, .48) 0%, rgba(5, 5, 5, .2) 30%, rgba(5, 5, 5, 0) 55%);
  }
  .ec-hero-panel {
    grid-area: hero;
    position: relative;
    z-index: 2;
    align-self: start;
    width: 100%;
    min-height: calc(100vw * 403 / 1024);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    padding: 1.75rem 4vw 1.1rem;
    box-sizing: border-box;
  }
  .ec-hero-copy {
    max-width: min(28rem, 58%);
  }
  .ec-hero h1 { font-size: clamp(2.6rem, 5.2vw, 3.4rem); }
  .ec-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
  .ec-hero-actions .ec-btn { width: auto; }
  .ec-broadcast {
    position: absolute;
    right: clamp(.75rem, 2.4vw, 1.35rem);
    bottom: .65rem;
    left: auto;
    top: auto;
    z-index: 3;
    width: min(15.5rem, 34%);
    margin: 0;
    padding: .65rem .8rem;
    background: rgba(5, 5, 5, .72);
    color: var(--ec-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  }
  .ec-broadcast li {
    font-size: .78rem;
    color: var(--ec-white);
  }
  .ec-broadcast-icon { color: var(--ec-gold); }
}

/* ===== Hero phone ≤599: locutores-phone.png portrait composition ===== */
@media (max-width: 599px) {
  .ec-hero {
    aspect-ratio: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero";
    overflow: hidden;
  }
  .ec-hero-media {
    grid-area: hero;
    position: relative;
    inset: auto;
    z-index: 0;
    align-self: start;
    width: 100%;
  }
  .ec-hero-media picture,
  .ec-hero-media img {
    width: 100%;
    height: auto;
  }
  .ec-hero-media img {
    object-fit: contain;
    object-position: center top;
  }
  .ec-hero-shade {
    grid-area: hero;
    position: relative;
    inset: auto;
    z-index: 1;
    align-self: start;
    width: 100%;
    height: calc(100vw * 736 / 626);
    pointer-events: none;
    background: none;
  }
  .ec-hero-panel {
    grid-area: hero;
    position: relative;
    z-index: 2;
    align-self: start;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    margin: 0;
    /* ETTC-069: eyebrow at reference line (~130px @393 ≈ 0.28 of artwork height). */
    padding: calc(100vw * 736 / 626 * 0.28) 1.05rem 1.3rem;
    box-sizing: border-box;
  }
  .ec-hero-copy {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    max-width: min(18rem, 86%);
    margin: 0;
    padding: 0;
  }
  .ec-hero h1 { font-size: 2.45rem; }
  .ec-hero .ec-lead {
    max-width: none;
    font-size: .98rem;
    margin-top: .7rem;
  }
  .ec-hero-actions {
    margin-top: .95rem;
    flex-direction: column;
    align-items: stretch;
    width: min(18rem, 100%);
  }
  .ec-hero-actions .ec-btn { width: 100%; }
  .ec-broadcast {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: stretch;
    width: auto;
    max-width: none;
    margin: .9rem 0 0;
    padding: .95rem 1rem;
    background: var(--ec-ivory);
    color: var(--ec-ink);
    box-shadow: none;
  }
  .ec-broadcast li {
    font-size: .9rem;
    color: var(--ec-ink);
  }
  .ec-broadcast-icon { color: var(--ec-gold); }
  .ec-btn { min-height: 2.85rem; }
  .ec-magazine .ec-cards { grid-template-columns: 1fr; }
  .ec-card-title { font-size: 1.02rem; }
  .ec-card-body { padding: .85rem .9rem 1rem; }
  .ec-cards--featured .ec-card-body { padding: .95rem 1rem 1.05rem; }
  .ec-cards--upcoming .ec-card-body { padding: 0; }
  .ec-cards--upcoming .ec-card-media {
    flex-basis: 96px;
    width: 96px;
    max-width: 96px;
  }
}

@media (max-width: 767px) {
  .ec-programmes { grid-template-columns: 1fr; gap: 1.5rem; }
  .ec-cards--featured .ec-card-link {
    flex-direction: column;
    min-height: 0;
  }
  .ec-cards--featured .ec-card-media {
    flex: none;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .ec-pillar-note { display: none; }
  .ec-pillar {
    row-gap: .35rem;
    padding-block: .85rem 1rem;
  }
}
@media (max-width: 480px) {
  .ec-header { padding-inline: .55rem; }
  .ec-burger { gap: 0; font-size: 0; }
  .ec-tools { gap: .1rem; }
  .ec-login, .ec-session { margin-inline-start: .2rem; }
  .ec-lang summary { min-width: 2.5rem; padding-inline: .15rem; }
}

/* Detail frame. Homepage stays on .ec-home. Other module pages keep .ec-page at 48rem.
   Module CSS loads later, so these selectors stay more specific than .fsc-content-*. */
body.ec-detail .ec-page.ec-detail-frame {
  max-width: 76rem;
  width: min(76rem, 100%);
  margin: 0 auto;
  padding: 1.85rem 1.5rem 3.5rem;
}
body.ec-detail .fsc-content-public {
  --fsc-c-accent: var(--ec-burgundy);
  --fsc-c-text: var(--ec-ink);
  --fsc-c-muted: var(--ec-muted);
  --fsc-c-border: var(--ec-line);
  --fsc-c-surface: var(--ec-white);
  --fsc-c-bg: var(--ec-ivory);
}
body.ec-detail .fsc-content-detail-header,
body.ec-detail .fsc-content-detail .fsc-content-media {
  max-width: none;
}
body.ec-detail .fsc-content-detail .fsc-content-crumb {
  margin: 0 0 .85rem;
  font-size: .875rem;
}
body.ec-detail .fsc-content-detail .fsc-content-crumb a {
  color: var(--ec-muted);
  font-weight: 600;
  text-decoration: none;
}
body.ec-detail .fsc-content-detail .fsc-content-crumb a:hover {
  color: var(--ec-burgundy);
  text-decoration: underline;
}
body.ec-detail .fsc-content-detail .fsc-content-type {
  margin: 0 0 .7rem;
  color: var(--ec-burgundy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
}
body.ec-detail .fsc-content-detail .fsc-content-title {
  max-width: none;
  margin: 0 0 .85rem;
  color: var(--ec-ink);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  font-size: clamp(2.35rem, 1.45rem + 2.5vw, 3.65rem);
  overflow-wrap: break-word;
}
body.ec-detail .fsc-content-detail .fsc-content-summary {
  max-width: 40rem;
  margin: 0 0 1.15rem;
  color: var(--ec-muted);
  font-size: clamp(1.05rem, 1rem + .25vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  opacity: 1;
}
body.ec-detail .fsc-content-detail .fsc-content-categories {
  margin: 0;
}
body.ec-detail .fsc-content-detail .fsc-content-categories a {
  color: var(--ec-burgundy);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
body.ec-detail .fsc-content-detail .fsc-content-categories a:hover {
  text-decoration: underline;
}
body.ec-detail .fsc-content-detail-stage:not(.fsc-content-detail-stage--with-aside),
body.ec-detail .fsc-content-event-stage:not(.fsc-content-detail-stage--with-aside) {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}
body.ec-detail .fsc-content-detail-stage__main,
body.ec-detail .fsc-content-event-stage__media {
  min-width: 0;
}
body.ec-detail .fsc-content-media-single,
body.ec-detail .fsc-content-carousel {
  background: transparent;
  padding: 0;
}
body.ec-detail .fsc-content-image-open,
body.ec-detail .fsc-content-figure.fsc-media--landscape .fsc-content-image-open {
  width: 100%;
}
body.ec-detail .fsc-content-image-open img,
body.ec-detail .fsc-content-figure video {
  width: 100%;
  height: auto;
  border-radius: .25rem;
}
body.ec-detail .fsc-content-detail .fsc-content-body,
body.ec-detail .fsc-content-detail-stage__main .fsc-content-body {
  max-width: min(42rem, 72ch, 100%);
  color: var(--ec-ink);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}
body.ec-detail .fsc-content-detail:not(:has(.fsc-content-detail-stage--with-aside)) .fsc-content-body {
  margin-inline: 0;
}
body.ec-detail .fsc-content-body p:has(> strong:only-child) {
  margin: 1.75rem 0 .6rem;
  color: var(--ec-ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
}
body.ec-detail .fsc-content-detail .fsc-content-body a {
  color: var(--ec-burgundy);
}
body.ec-detail .fsc-content-event-facts {
  background: var(--ec-ivory);
  border: 1px solid var(--ec-line);
  border-top: 3px solid var(--ec-burgundy);
  border-radius: .35rem;
  box-shadow: none;
}
body.ec-detail .fsc-content-event-facts__title {
  color: var(--ec-ink);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
}
body.ec-detail .fsc-content-event-facts__row dt {
  color: var(--ec-burgundy);
}
@media (min-width: 64rem) {
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 20.5rem);
    column-gap: 2.25rem;
    align-items: start;
  }
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) > .fsc-content-detail-header {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    margin-bottom: 1.35rem;
  }
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) > .fsc-content-detail-stage {
    display: contents;
  }
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) .fsc-content-detail-stage__main,
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) .fsc-content-event-stage__media {
    grid-column: 1;
    grid-row: 2;
  }
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) .fsc-content-media {
    max-width: none;
  }
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) .fsc-content-detail-stage__aside,
  body.ec-detail .fsc-content-detail:has(.fsc-content-detail-stage--with-aside) .fsc-content-event-stage__aside {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}
@media (max-width: 63.99rem) {
  body.ec-detail .fsc-content-detail-stage,
  body.ec-detail .fsc-content-event-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }
  body.ec-detail .ec-page.ec-detail-frame {
    padding: 1.2rem .9rem 2.75rem;
  }
}
@media (max-width: 480px) {
  body.ec-detail .ec-page.ec-detail-frame {
    padding-inline: .55rem;
  }
  body.ec-detail .fsc-content-detail .fsc-content-title {
    font-size: clamp(1.85rem, 1.35rem + 4vw, 2.35rem);
  }
}

/* Article detail — reference layout on top of the module's stage, carousel, and aside.
   Module CSS is linked inside the article, so these selectors stay more specific. */
body.ec-detail {
  overflow-x: clip;
}
body.ec-detail .fsc-content-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1rem;
  margin: 0;
}
body.ec-detail .fsc-content-detail .fsc-content-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ec-detail .fsc-content-detail .fsc-content-date {
  margin: 0;
  color: var(--ec-muted);
  font-size: .875rem;
}
body.ec-detail .fsc-content-media,
body.ec-detail .fsc-content-detail-stage__main,
body.ec-detail .fsc-content-figure,
body.ec-detail .fsc-content-figure img,
body.ec-detail .fsc-content-figure video,
body.ec-detail .fsc-content-body img,
body.ec-detail .fsc-content-body video,
body.ec-detail .fsc-content-body audio,
body.ec-detail .fsc-content-body iframe {
  max-width: 100%;
}
body.ec-detail .fsc-content-figure img,
body.ec-detail .fsc-content-figure video,
body.ec-detail .fsc-content-body video,
body.ec-detail .fsc-content-body audio {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.25rem 0;
}
body.ec-detail .fsc-content-slide { display: none; }
body.ec-detail .fsc-content-slide.is-active { display: block; }
body.ec-detail .fsc-content-body iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  margin: 1.25rem 0;
}
body.ec-detail .fsc-content-body h2,
body.ec-detail .fsc-content-body h3 {
  margin: 1.75rem 0 .6rem;
  color: var(--ec-ink);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  overflow-wrap: break-word;
}
body.ec-detail .fsc-content-body p {
  overflow-wrap: break-word;
}
body.ec-detail .fsc-content-body blockquote {
  margin: 1.6rem 0;
  padding: .15rem 0 .15rem 1.05rem;
  border-left: 4px solid var(--ec-burgundy);
  color: var(--ec-ink);
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem);
  font-weight: 650;
  line-height: 1.35;
}
body.ec-detail .fsc-content-body blockquote p {
  margin: 0;
}
body.ec-detail .fsc-content-carousel {
  position: relative;
  padding: 0;
  background: transparent;
}
body.ec-detail .fsc-content-carousel-viewport {
  border-radius: .25rem;
  overflow: hidden;
  background: var(--ec-black);
}
body.ec-detail .fsc-content-carousel .fsc-content-carousel-controls {
  display: contents;
}
body.ec-detail .fsc-content-carousel .fsc-content-carousel-prev,
body.ec-detail .fsc-content-carousel .fsc-content-carousel-next {
  position: absolute;
  z-index: 2;
  top: 38%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 5, 5, .72);
  color: var(--ec-gold);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
body.ec-detail .fsc-content-carousel .fsc-content-carousel-prev { left: .65rem; }
body.ec-detail .fsc-content-carousel .fsc-content-carousel-next { right: .65rem; }
body.ec-detail .fsc-content-carousel .fsc-content-carousel-prev:hover,
body.ec-detail .fsc-content-carousel .fsc-content-carousel-next:hover,
body.ec-detail .fsc-content-carousel .fsc-content-carousel-prev:focus-visible,
body.ec-detail .fsc-content-carousel .fsc-content-carousel-next:focus-visible {
  background: var(--ec-black);
  color: var(--ec-gold);
  border: 0;
  outline: 2px solid var(--ec-gold);
  outline-offset: 2px;
}
body.ec-detail .fsc-content-carousel .fsc-content-carousel-status {
  position: absolute;
  z-index: 2;
  top: .65rem;
  right: .65rem;
  min-width: 0;
  margin: 0;
  padding: .28rem .55rem;
  border-radius: .3rem;
  background: rgba(5, 5, 5, .78);
  color: var(--ec-white);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
}
body.ec-detail .fsc-content-carousel-thumbs {
  max-width: 100%;
  margin-top: .7rem;
  gap: .5rem;
}
body.ec-detail .fsc-content-carousel-thumb {
  width: 5.5rem;
  height: 3.6rem;
  border: 2px solid transparent;
  border-radius: .2rem;
}
body.ec-detail .fsc-content-carousel-thumb.is-selected {
  border-color: var(--ec-gold);
  box-shadow: none;
}
body.ec-detail .fsc-content-related__title {
  margin-bottom: .9rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
body.ec-detail .fsc-content-related__kicker {
  color: var(--ec-burgundy);
}
body.ec-detail .fsc-content-related__card {
  border-color: var(--ec-line);
  background: var(--ec-white);
}
body.ec-detail .fsc-content-related__card:hover {
  border-color: var(--ec-gold);
}
body.ec-detail .fsc-content-related__name {
  overflow-wrap: break-word;
}
@media (max-width: 63.99rem) {
  body.ec-detail .fsc-content-detail-stage__aside,
  body.ec-detail .fsc-content-event-stage__aside {
    position: static;
    margin-top: 1.75rem;
  }
  body.ec-detail .fsc-content-carousel .fsc-content-carousel-prev,
  body.ec-detail .fsc-content-carousel .fsc-content-carousel-next {
    top: 34%;
  }
}

.ec-page .fsc-trust h1 {
  margin: 0 0 .85rem;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.ec-page .fsc-trust h2 {
  margin: 1.85rem 0 .55rem;
  font-size: 1.28rem;
  line-height: 1.25;
}
.ec-page .fsc-trust p {
  margin: 0 0 .95rem;
  line-height: 1.65;
}
.ec-page .fsc-trust > p:first-of-type {
  font-size: 1.08rem;
}
.ec-page .fsc-trust-figure {
  margin: 1.15rem 0 1.4rem;
}
.ec-page .fsc-trust-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.ec-page .fsc-trust-figure figcaption {
  margin-top: .45rem;
  color: var(--ec-muted);
  font-size: .9rem;
}
.ec-page .fsc-trust-links {
  margin: .4rem 0 1.4rem;
  padding-left: 1.15rem;
}
.ec-page .fsc-trust-links a {
  color: var(--ec-burgundy);
}

/* Native Content category listings. Module CSS loads later, so these selectors
   stay more specific than .fsc-content-*. Homepage, detail, search and other
   pages do not receive body.ec-category-index. Programmes adds its own featured
   treatment on top of this shared grid. */
body.ec-category-index .ec-page {
  max-width: 76rem;
  width: min(76rem, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}
body.ec-category-index .fsc-content-public {
  --fsc-c-accent: var(--ec-burgundy);
  --fsc-c-text: var(--ec-ink);
  --fsc-c-muted: var(--ec-muted);
  --fsc-c-border: var(--ec-line);
  --fsc-c-surface: var(--ec-white);
  --fsc-c-bg: var(--ec-white);
  min-width: 0;
}
body.ec-category-index .fsc-content-browse-header .fsc-content-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
}
body.ec-category-index .fsc-content-list {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}
body.ec-category-index .fsc-content-card,
body.ec-category-index .fsc-content-card--has-media {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: var(--ec-white);
  border: 1px solid var(--ec-line);
  border-radius: .35rem;
  box-shadow: none;
  overflow: visible;
}
body.ec-category-index .fsc-content-card:hover,
body.ec-category-index .fsc-content-card--has-media:hover {
  border-color: var(--ec-line);
  box-shadow: none;
}
body.ec-category-index .fsc-content-card:not(.fsc-content-card--has-media) {
  min-height: 0;
  padding: 1rem 1.15rem 1.15rem;
}
body.ec-category-index .fsc-content-card--has-media .fsc-content-card-media {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: .35rem .35rem 0 0;
  background: var(--ec-white);
  overflow: hidden;
}
body.ec-category-index .fsc-content-card--has-media .fsc-content-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}
body.ec-category-index .fsc-content-card--has-media .fsc-content-card-body {
  padding: .95rem 1.15rem 1.1rem;
}
body.ec-category-index .fsc-content-card .fsc-content-type {
  color: var(--ec-burgundy);
}
body.ec-category-index .fsc-content-card-title {
  max-width: none;
  color: var(--ec-ink);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}
body.ec-category-index .fsc-content-card .fsc-content-summary,
body.ec-category-index .fsc-content-card .fsc-content-date {
  color: var(--ec-muted);
}
body.ec-category-index .fsc-content-card-cats a,
body.ec-category-index .fsc-content-card-cats span {
  color: var(--ec-burgundy);
}
body.ec-category-index .fsc-content-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .15rem;
  margin-top: .15rem;
}
body.ec-category-index .fsc-content-card-meta .fsc-content-card-cats,
body.ec-category-index .fsc-content-card-meta .fsc-content-date {
  margin: 0;
}
body.ec-category-index .fsc-content-card-meta .fsc-content-date::before {
  content: "|";
  margin: 0 .55rem 0 .45rem;
  color: var(--ec-muted);
}
body.ec-category-index .fsc-content-public a:focus-visible {
  outline: 3px solid var(--ec-burgundy);
  outline-offset: 3px;
}
body.ec-programmes-index .fsc-content-browse-header .fsc-content-kicker {
  display: none;
}
body.ec-programmes-index .ec-programmes-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .85rem;
  color: var(--ec-muted);
  font-size: .95rem;
}
body.ec-programmes-index .ec-programmes-crumb a {
  color: var(--ec-burgundy);
  text-decoration: none;
}
body.ec-programmes-index .ec-programmes-crumb a:hover {
  text-decoration: underline;
}
body.ec-programmes-index .ec-programmes-crumb a:focus-visible,
body.ec-programmes-index .ec-footer--programmes a:focus-visible {
  outline: 3px solid var(--ec-burgundy);
  outline-offset: 3px;
}
body.ec-programmes-index .fsc-content-browse-header .fsc-content-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
}
body.ec-programmes-index .ec-programmes-intro {
  margin: .55rem 0 1.6rem;
  max-width: 42rem;
  color: var(--ec-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}
body.ec-programmes-index .ec-programme-read {
  margin: .2rem 0 .15rem;
}
body.ec-programmes-index .ec-programme-read a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.5rem;
  padding: .4rem .95rem;
  border-radius: .3rem;
  background: var(--ec-burgundy);
  color: var(--ec-on-burgundy);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
body.ec-programmes-index .ec-programme-read a:hover {
  background: var(--ec-burgundy-dark);
  color: var(--ec-on-burgundy);
}
body.ec-programmes-index .fsc-content-card.ec-programme-lead {
  grid-column: 1 / -1;
}
body.ec-programmes-index .fsc-content-card.ec-programme-lead .fsc-content-card-title {
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}
body.ec-programmes-index .fsc-content-card.ec-programme-lead .fsc-content-summary {
  font-size: 1.05rem;
  line-height: 1.5;
}
body.ec-programmes-index .ec-footer--programmes {
  background: var(--ec-black);
}
body.ec-programmes-index .ec-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
body.ec-programmes-index .ec-footer-brandcol .ec-logo-footer {
  width: min(13.125rem, 100%);
}
body.ec-programmes-index .ec-footer-tagline,
body.ec-programmes-index .ec-footer--programmes .ec-copy {
  margin: .75rem 0 0;
  max-width: 22rem;
  color: #c8bfb6;
  font-size: .95rem;
  line-height: 1.45;
}
body.ec-programmes-index .ec-footer-heading {
  margin: 0 0 .45rem;
  color: var(--ec-white);
  font-size: .95rem;
  font-weight: 700;
}
body.ec-programmes-index .ec-footer--programmes nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}
body.ec-programmes-index .ec-footer--programmes .ec-legal {
  justify-self: start;
  justify-content: flex-start;
}
@media (min-width: 960px) {
  body.ec-programmes-index .fsc-content-card.ec-programme-lead.fsc-content-card--has-media {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.95fr);
    align-items: stretch;
  }
  body.ec-programmes-index .fsc-content-card.ec-programme-lead .fsc-content-card-media {
    align-self: start;
    height: auto;
    border-radius: .35rem 0 0 .35rem;
  }
  body.ec-programmes-index .fsc-content-card.ec-programme-lead .fsc-content-card-body {
    justify-content: center;
    padding: 1.25rem 1.35rem 1.3rem;
  }
  body.ec-programmes-index .ec-footer-grid {
    grid-template-columns: minmax(14rem, 1.4fr) minmax(9rem, 1fr) minmax(9rem, 1fr);
  }
}
@media (max-width: 959px) {
  body.ec-category-index .ec-page {
    padding-inline: 1rem;
  }
  body.ec-programmes-index .ec-footer--programmes nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
}
@media (min-width: 960px) {
  body.ec-category-index .fsc-content-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }
}

/* Magazine category: featured first story, then the shared grid.
   The lead is the first card of page 1; it is not copied into the grid. */
body.ec-magazine-index .fsc-content-browse-header .fsc-content-kicker {
  display: none;
}
body.ec-magazine-index .ec-programmes-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .85rem;
  color: var(--ec-muted);
  font-size: .95rem;
}
body.ec-magazine-index .ec-programmes-crumb a {
  color: var(--ec-burgundy);
  text-decoration: none;
}
body.ec-magazine-index .ec-programmes-crumb a:hover {
  text-decoration: underline;
}
body.ec-magazine-index .fsc-content-browse-header .fsc-content-title {
  margin: 0;
}
body.ec-magazine-index .ec-programmes-intro {
  margin: .55rem 0 1.6rem;
  max-width: 46rem;
  color: var(--ec-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}
body.ec-magazine-index .ec-programme-read {
  margin: .2rem 0 .15rem;
}
body.ec-magazine-index .ec-programme-read a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.5rem;
  padding: .4rem .95rem;
  border-radius: .3rem;
  background: var(--ec-burgundy);
  color: var(--ec-on-burgundy);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
body.ec-magazine-index .ec-programme-read a:hover {
  background: var(--ec-burgundy-dark);
  color: var(--ec-on-burgundy);
}
body.ec-magazine-index .fsc-content-card.ec-magazine-lead {
  grid-column: 1 / -1;
}
body.ec-magazine-index .fsc-content-card.ec-magazine-lead .fsc-content-card-title {
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}
body.ec-magazine-index .fsc-content-card.ec-magazine-lead .fsc-content-summary {
  font-size: 1.05rem;
  line-height: 1.5;
}
body.ec-magazine-index .ec-footer--programmes {
  background: var(--ec-black);
}
body.ec-magazine-index .ec-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
body.ec-magazine-index .ec-footer-brandcol .ec-logo-footer {
  width: min(13.125rem, 100%);
}
body.ec-magazine-index .ec-footer-tagline,
body.ec-magazine-index .ec-footer--programmes .ec-copy {
  margin: .75rem 0 0;
  max-width: 22rem;
  color: #c8bfb6;
  font-size: .95rem;
  line-height: 1.45;
}
body.ec-magazine-index .ec-footer-heading {
  margin: 0 0 .45rem;
  color: var(--ec-white);
  font-size: .95rem;
  font-weight: 700;
}
body.ec-magazine-index .ec-footer--programmes nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}
body.ec-magazine-index .ec-footer--programmes .ec-legal {
  justify-self: start;
  justify-content: flex-start;
}
@media (min-width: 960px) {
  body.ec-magazine-index .fsc-content-card.ec-magazine-lead.fsc-content-card--has-media {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.95fr);
    align-items: stretch;
  }
  body.ec-magazine-index .fsc-content-card.ec-magazine-lead .fsc-content-card-media {
    align-self: start;
    height: auto;
    border-radius: .35rem 0 0 .35rem;
  }
  body.ec-magazine-index .fsc-content-card.ec-magazine-lead .fsc-content-card-body {
    justify-content: center;
    padding: 1.25rem 1.35rem 1.3rem;
  }
  body.ec-magazine-index .ec-footer-grid {
    grid-template-columns: minmax(14rem, 1.4fr) minmax(9rem, 1fr) minmax(9rem, 1fr);
  }
}
@media (max-width: 959px) {
  body.ec-magazine-index .ec-footer--programmes nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
}

/* Keyboard focus on category pages, including Magazine and Programmes.
   Image links use an inset ring because the media frame clips an outer outline.
   The burgundy Read article control uses a gold ring so the indicator stays visible. */
body.ec-category-index a:focus-visible,
body.ec-category-index button:focus-visible,
body.ec-category-index summary:focus-visible {
  outline: 3px solid var(--ec-burgundy);
  outline-offset: 3px;
}
body.ec-category-index .fsc-content-public a:focus-visible,
body.ec-programmes-index .ec-programmes-crumb a:focus-visible,
body.ec-programmes-index .ec-footer--programmes a:focus-visible,
body.ec-magazine-index .ec-footer--programmes a:focus-visible {
  outline: 3px solid var(--ec-burgundy);
  outline-offset: 3px;
}
body.ec-category-index .ec-programme-read a:focus-visible {
  outline: 3px solid var(--ec-gold);
  outline-offset: 3px;
}
body.ec-category-index .fsc-content-public a.fsc-content-card-media:focus-visible {
  outline: 3px solid var(--ec-gold);
  outline-offset: -5px;
  box-shadow: inset 0 0 0 4px var(--ec-gold);
}

/* Agenda category only. Other category indexes keep the shared card grid. */
body.ec-agenda-index .ec-agenda-hero {
  margin: 0 0 1.5rem;
  padding: 2.2rem 1.25rem 1.9rem;
  border-radius: .4rem;
  color: #fff;
  background-color: #120e0c;
  background-image:
    linear-gradient(180deg, rgba(8, 6, 5, .78), rgba(8, 6, 5, .55)),
    url("entreculturas-hero-gutes-radio-mobile.webp");
  background-position: center;
  background-size: cover;
}
body.ec-agenda-index .ec-agenda-hero .ec-programmes-crumb,
body.ec-agenda-index .ec-agenda-hero .ec-programmes-crumb a,
body.ec-agenda-index .ec-agenda-hero .fsc-content-title,
body.ec-agenda-index .ec-agenda-intro {
  color: #fff;
}
body.ec-agenda-index .ec-agenda-hero .ec-programmes-crumb {
  margin: 0 0 .7rem;
}
body.ec-agenda-index .ec-agenda-hero .fsc-content-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}
body.ec-agenda-index .ec-agenda-intro {
  max-width: 40rem;
  margin: .7rem 0 0;
  color: #f4efe9;
  font-size: 1.02rem;
  line-height: 1.5;
}
body.ec-agenda-index .ec-agenda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ec-agenda-index .ec-agenda-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: var(--ec-white);
  border: 1px solid var(--ec-line);
  border-radius: .4rem;
  overflow: hidden;
}
body.ec-agenda-index .ec-agenda-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #1a1614;
  overflow: hidden;
}
body.ec-agenda-index .ec-agenda-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.ec-agenda-index .ec-agenda-body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
  padding: 1rem 1.1rem 1.15rem;
}
body.ec-agenda-index .ec-agenda-facts {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  min-width: 0;
}
body.ec-agenda-index .ec-agenda-badge {
  display: flex;
  flex: 0 0 4.7rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.7rem;
  min-height: 4.7rem;
  padding: .35rem;
  border-radius: .3rem;
  background: var(--ec-burgundy);
  color: #fff;
  line-height: 1.05;
  text-align: center;
}
body.ec-agenda-index .ec-agenda-badge.is-upcoming {
  background: #1f6b45;
}
body.ec-agenda-index .ec-agenda-month,
body.ec-agenda-index .ec-agenda-year {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.ec-agenda-index .ec-agenda-day {
  font-size: 1.55rem;
  font-weight: 800;
}
body.ec-agenda-index .ec-agenda-when {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
  color: var(--ec-ink);
  font-size: .95rem;
  line-height: 1.35;
}
body.ec-agenda-index .ec-agenda-weekday {
  font-weight: 700;
}
body.ec-agenda-index .ec-agenda-time,
body.ec-agenda-index .ec-agenda-venue {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  min-width: 0;
}
body.ec-agenda-index .ec-agenda-time svg,
body.ec-agenda-index .ec-agenda-venue svg {
  flex: 0 0 1.05rem;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .15rem;
  color: var(--ec-burgundy);
}
body.ec-agenda-index .ec-agenda-type {
  margin: .15rem 0 0;
  color: var(--ec-burgundy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.ec-agenda-index .ec-agenda-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}
body.ec-agenda-index .ec-agenda-title a {
  color: var(--ec-ink);
  text-decoration: none;
}
body.ec-agenda-index .ec-agenda-title a:hover {
  color: var(--ec-burgundy);
}
body.ec-agenda-index .ec-agenda-summary {
  margin: 0;
  color: var(--ec-muted);
  line-height: 1.5;
}
body.ec-agenda-index .ec-agenda-section-title {
  margin: 0 0 .8rem;
  font-size: 1.25rem;
  line-height: 1.2;
}
body.ec-agenda-index .ec-agenda-feature.ec-programmes {
  margin: 0 0 2rem;
  padding: 0;
}
body.ec-agenda-index .ec-agenda-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body.ec-agenda-index .ec-agenda-card--lead,
body.ec-agenda-index .ec-agenda-card--next {
  flex-direction: row;
  align-items: stretch;
}
body.ec-agenda-index .ec-agenda-card--lead .ec-agenda-media,
body.ec-agenda-index .ec-agenda-card--next .ec-agenda-media {
  flex: 0 0 38%;
  width: 38%;
  aspect-ratio: auto;
  align-self: stretch;
}
body.ec-agenda-index .ec-agenda-card--lead .ec-agenda-media img,
body.ec-agenda-index .ec-agenda-card--next .ec-agenda-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.ec-agenda-index .ec-agenda-card--lead .ec-agenda-body,
body.ec-agenda-index .ec-agenda-card--next .ec-agenda-body {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
body.ec-agenda-index .ec-agenda-card--lead .ec-agenda-title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  overflow-wrap: break-word;
}
body.ec-agenda-index .ec-agenda-card--lead .ec-agenda-summary,
body.ec-agenda-index .ec-agenda-card--lead .ec-agenda-when {
  overflow-wrap: break-word;
}
body.ec-agenda-index .ec-agenda-archive {
  margin-top: .5rem;
}
body.ec-agenda-index .ec-agenda .fsc-content-pager {
  margin-top: 1.5rem;
}
@media (min-width: 960px) {
  body.ec-agenda-index .ec-agenda-hero {
    padding: 3rem 2.2rem 2.5rem;
    background-image:
      linear-gradient(90deg, rgba(8, 6, 5, .8) 0%, rgba(8, 6, 5, .38) 72%),
      url("entreculturas-hero-gutes-radio.webp");
  }
  body.ec-agenda-index .ec-agenda-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }
}
@media (max-width: 359px) {
  body.ec-agenda-index .ec-agenda-card--lead,
  body.ec-agenda-index .ec-agenda-card--next {
    flex-direction: column;
  }
  body.ec-agenda-index .ec-agenda-card--lead .ec-agenda-media,
  body.ec-agenda-index .ec-agenda-card--next .ec-agenda-media {
    flex: none;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
}

/* Front-panel rich-editor Insert media (EC-FRONTEDIT-003 / 006) */
body.ec .fsc-rich-editor__btn[data-fsc-rich-cmd="image"],
.ec-front-edit .fsc-rich-editor__btn[data-fsc-rich-cmd="image"] {
  border: 1px solid #cfc4b8;
  background: #fffdf9;
  color: var(--ec-ink);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: .78rem;
  padding: .4rem .65rem;
  min-width: auto;
}
body.ec .fsc-rich-editor__btn--external,
.ec-front-edit .fsc-rich-editor__btn--external {
  border: 1px solid var(--ec-burgundy);
  background: #fff8ef;
  color: var(--ec-burgundy);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .78rem;
  padding: .4rem .7rem;
  min-width: auto;
}
body.ec .fsc-rich-editor__choose-option {
  border-radius: 0;
  border-color: #e4d9cc;
  background: #fffaf4;
}
body.ec .fsc-rich-editor__choose-option:hover,
body.ec .fsc-rich-editor__choose-option:focus-visible {
  border-color: var(--ec-burgundy);
  outline-color: var(--ec-gold);
  background: #fff8ef;
}
body.ec .fsc-rich-editor__choose-option-label {
  color: var(--ec-burgundy);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .82rem;
}
body.ec .fsc-rich-editor__choose-option-help {
  color: var(--ec-muted);
  text-transform: none;
  letter-spacing: 0;
}
body.ec .fsc-rich-editor__btn--external:hover,
body.ec .fsc-rich-editor__btn--external:focus-visible,
.ec-front-edit .fsc-rich-editor__btn--external:hover,
.ec-front-edit .fsc-rich-editor__btn--external:focus-visible {
  background: var(--ec-burgundy);
  color: #fff;
  border-color: var(--ec-burgundy);
}
body.ec .fsc-rich-editor__dialog-backdrop {
  --fsc-rc-border: #e4d9cc;
  --fsc-rc-focus: #a5002d;
  --fsc-rc-text: #171412;
  --fsc-rc-danger: #8b1e1e;
  background: rgba(23, 20, 18, 0.48);
}
body.ec .fsc-rich-editor__dialog {
  border: 1px solid #e4d9cc;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(23, 20, 18, 0.18);
  font-family: var(--ec-sans);
}
body.ec .fsc-rich-editor__dialog h2 {
  color: var(--ec-burgundy);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .9rem;
}
body.ec .fsc-rich-editor__dialog input {
  border-radius: 0;
  border-color: #cfc4b8;
  background: #fffdf9;
  min-height: 2.55rem;
}
body.ec .fsc-rich-editor__dialog input:focus {
  outline: 2px solid var(--ec-gold);
  outline-offset: 1px;
}
body.ec .fsc-rich-editor__dialog-actions button.fsc-rich-editor__dialog-primary {
  background: var(--ec-burgundy);
  border-color: var(--ec-burgundy);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}
body.ec .fsc-rich-editor__dialog-actions button[data-fsc-external-cancel] {
  border-radius: 0;
  border-color: #cfc4b8;
}
body.ec .fsc-rich-editor__external-hint {
  color: var(--ec-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem;
  font-weight: 600;
}
body.ec .fsc-rich-editor__surface figure.fsc-rc-external {
  border: 1px dashed #e0d0bc;
  background: #fffaf4;
  padding: .65rem .75rem;
  margin: .75rem 0;
}
body.ec .fsc-rich-editor__surface figure.fsc-rc-external.fsc-rc-media--selected {
  outline: 2px solid var(--ec-gold);
  outline-offset: 2px;
  border-color: var(--ec-burgundy);
  background: #fff8ef;
}
.ec-front-edit__media-stage-hint {
  margin: .55rem 0 0;
  padding: .55rem .7rem;
  border-left: 3px solid var(--ec-gold);
  background: #fff8ef;
  color: var(--ec-ink);
  font-size: .82rem;
  line-height: 1.4;
}
.ec-front-edit__editor-hint {
  margin: .55rem 0 0;
  font-size: .82rem;
  color: var(--ec-muted);
}

/* Front-panel visual media strip (EC-FRONTEDIT-004) */
.ec-front-edit__media-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: .75rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: .15rem .1rem .55rem;
  margin: 0 0 .85rem;
  max-width: 100%;
}
.ec-front-edit__media-strip:focus-visible {
  outline: 2px solid var(--ec-gold);
  outline-offset: 2px;
}
.ec-front-edit__media-card-item {
  flex: 0 0 9.5rem;
  width: 9.5rem;
  max-width: 78vw;
  scroll-snap-align: start;
  border: 1px solid var(--ec-front-border, #e4d9cc);
  background: #fffaf4;
  padding: .5rem;
  min-width: 0;
}
.ec-front-edit__media-card-item.is-featured {
  border-color: var(--ec-gold);
  box-shadow: inset 0 0 0 1px var(--ec-gold);
  background: #fff8ef;
}
.ec-front-edit__media-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #efe6da;
  overflow: hidden;
  margin: 0 0 .45rem;
}
.ec-front-edit__media-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-front-edit__media-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ec-muted);
  background: #f4ebe1;
}
.ec-front-edit__media-badge {
  position: absolute;
  left: .35rem;
  top: .35rem;
  background: var(--ec-burgundy);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .2rem .35rem;
}
.ec-front-edit__media-play {
  position: absolute;
  right: .35rem;
  bottom: .35rem;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 20, 18, .72);
  color: #fff;
  font-size: .65rem;
}
.ec-front-edit__media-card-name {
  margin: 0 0 .15rem;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  color: var(--ec-ink);
}
.ec-front-edit__media-card-kind {
  margin: 0 0 .45rem;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ec-muted);
  font-weight: 600;
}
.ec-front-edit__media-card-actions {
  display: grid;
  gap: .35rem;
}
.ec-front-edit__media-card-actions .ec-front-edit__btn {
  width: 100%;
  min-height: 2rem;
  padding: .35rem .45rem;
  font-size: .7rem;
  text-transform: none;
  letter-spacing: .02em;
}
.ec-front-edit__media-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 .85rem;
}
.ec-front-edit__media-toolbar .ec-front-edit__media-actions { margin: 0; }
@media (max-width: 640px) {
  .ec-front-edit__media-card-item {
    flex-basis: 8.25rem;
    width: 8.25rem;
  }
}
