/*
Theme Name: Carmina Ballester
Description: Diseño propio con noticias nativas y contenidos de portada personalizables.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: carmina-ballester
*/

    :root {
      --blue: #0055a4;
      --blue-bright: #008bd2;
      --blue-dark: #003f7d;
      --ink: #16202a;
      --muted: #647386;
      --soft: #eef6ff;
      --line: #dbe8ef;
      --white: #ffffff;
      --red: #d71f2a;
      --yellow: #ffd319;
      --shadow: 0 20px 60px rgba(15, 54, 82, .14);
      --radius: 8px;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      line-height: 1.5;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .92);
      border-bottom: 1px solid rgba(219, 232, 239, .8);
      backdrop-filter: blur(18px);
    }

    .nav {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
    }

    .brand {
      width: min(320px, 58vw);
    }

    .brand img {
      width: 100%;
      height: auto;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #334659;
      font-weight: 700;
    }

    .menu a {
      padding: 10px 12px;
      border-radius: var(--radius);
    }

    .menu a:hover,
    .menu a:focus {
      color: var(--blue-dark);
      background: var(--soft);
      outline: none;
    }

    .hero {
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
      background:
        linear-gradient(118deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 42%, rgba(0, 85, 164, .14) 100%),
        radial-gradient(circle at 85% 18%, rgba(0, 139, 210, .22), transparent 34%);
    }

    .hero::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 6px;
      background: linear-gradient(90deg, var(--blue) 0 64%, var(--red) 64% 76%, var(--yellow) 76% 88%, var(--red) 88% 100%);
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      min-height: calc(100vh - 76px);
      display: grid;
      grid-template-columns: minmax(0, 1.06fr) minmax(280px, .74fr);
      align-items: center;
      gap: 56px;
      padding: 54px 0 72px;
    }

    .eyebrow {
      margin: 0 0 18px;
      color: var(--blue-dark);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    h1 {
      margin: 0;
      max-width: 820px;
      font-size: clamp(42px, 5.8vw, 76px);
      line-height: 1.04;
      letter-spacing: 0;
    }

    .hero-name {
      position: relative;
      display: block;
      z-index: 0;
      color: var(--blue-dark);
      text-shadow: 0 12px 30px rgba(0, 85, 164, .14);
      cursor: pointer;
      transform-origin: left center;
      transition: color .22s ease, text-shadow .28s ease, transform .28s ease;
    }

    .hero-name:hover,
    .hero-name:focus-visible {
      color: var(--blue);
      text-shadow: 0 18px 42px rgba(0, 85, 164, .26);
      transform: translateY(-3px);
      outline: none;
    }

    .hero-name::after {
      content: "";
      position: absolute;
      left: 2px;
      right: 12%;
      bottom: .05em;
      height: .12em;
      z-index: -1;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(0, 139, 210, .35), rgba(0, 85, 164, .1));
      transition: right .28s ease, background .28s ease, height .28s ease;
    }

    .hero-name:hover::after,
    .hero-name:focus-visible::after {
      right: 2%;
      height: .1em;
      background: linear-gradient(90deg, rgba(0, 139, 210, .45), rgba(0, 85, 164, .18));
    }

    .hero-title-rest {
      display: block;
      margin-top: 12px;
      max-width: 720px;
      color: #22364a;
      font-size: clamp(32px, 4.1vw, 54px);
      line-height: 1.12;
      font-weight: 800;
    }

    .hero-mark {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 16px;
      padding: 8px 13px 8px 9px;
      border: 1px solid rgba(0, 85, 164, .18);
      border-radius: 999px;
      color: var(--blue-dark);
      background: rgba(255, 255, 255, .78);
      font-size: 13px;
      font-weight: 850;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .heart-icon {
      display: inline-flex;
      width: 18px;
      height: 18px;
      align-items: center;
      justify-content: center;
      color: var(--blue);
      background: transparent;
      box-shadow: none;
      font-size: 14px;
      line-height: 1;
    }

    .hero-mark::before {
      content: "";
      width: 18px;
      height: 18px;
      display: inline-block;
      border: 2px solid var(--blue);
      border-radius: 50%;
      box-shadow: inset 0 0 0 5px rgba(0, 85, 164, .08);
    }

    .lead {
      max-width: 690px;
      margin: 24px 0 0;
      color: #3f5267;
      font-size: clamp(18px, 2vw, 23px);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 13px 18px;
      border: 1px solid transparent;
      border-radius: var(--radius);
      font-weight: 800;
      color: var(--white);
      background: var(--blue);
      box-shadow: 0 12px 28px rgba(11, 132, 198, .22);
    }

    .button.secondary {
      color: var(--blue-dark);
      background: var(--white);
      border-color: var(--line);
      box-shadow: none;
    }

    .button.dark {
      background: var(--blue-dark);
    }

    .button:hover {
      transform: translateY(-1px);
    }

    .hero-portrait {
      position: relative;
      min-height: 500px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .portrait-frame {
      position: relative;
      width: min(390px, 100%);
      aspect-ratio: 4 / 5;
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--soft);
      box-shadow: var(--shadow);
      border: 1px solid rgba(255, 255, 255, .78);
    }

    .portrait-frame img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      transform: scale(1.02);
    }

    .portrait-main {
      opacity: 1;
    }

    .portrait-wink {
      opacity: 0;
      pointer-events: none;
    }

    .portrait-frame:hover .portrait-wink,
    .portrait-frame:focus-within .portrait-wink {
      animation: winkSwap .78s ease-in-out 1;
    }

    @keyframes winkSwap {
      0%, 18% { opacity: 0; }
      28%, 54% { opacity: 1; }
      72%, 100% { opacity: 0; }
    }

    .stat-strip {
      position: absolute;
      left: 0;
      bottom: 26px;
      width: min(310px, 88%);
      padding: 18px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .94);
      border: 1px solid var(--line);
      box-shadow: 0 16px 38px rgba(20, 44, 66, .16);
    }

    .stat-strip strong {
      display: block;
      color: var(--blue-dark);
      font-size: 28px;
      line-height: 1;
    }

    .stat-strip span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-weight: 700;
      font-size: 14px;
    }

    .section {
      padding: 86px 0;
    }

    .section.alt {
      background: #f7fbfe;
    }

    .wrap {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, .72fr) minmax(260px, .44fr);
      gap: 36px;
      align-items: end;
      margin-bottom: 36px;
    }

    h2 {
      margin: 0;
      font-size: clamp(32px, 4.2vw, 54px);
      line-height: 1.08;
      letter-spacing: 0;
    }

    .section-head p,
    .wide-copy {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
    }

    .pill-line {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
    }

    .pill {
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 8px 12px;
      color: #365066;
      background: var(--white);
      font-size: 14px;
      font-weight: 800;
    }

    .pill.heart {
      border-color: rgba(0, 85, 164, .18);
      color: var(--blue-dark);
      background: #eef6ff;
    }

    .pill.heart::before {
      content: "";
      display: inline-block;
      width: 7px;
      height: 7px;
      margin-right: 7px;
      border-radius: 50%;
      background: var(--blue);
    }

    .heart-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: -8px 0 30px;
    }

    .heart-row span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--blue-dark);
      font-weight: 850;
    }

    .heart-row span::before {
      content: "";
      width: 8px;
      height: 8px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: var(--blue);
      box-shadow: 0 0 0 7px rgba(0, 85, 164, .08);
    }

    .news-grid {
      display: grid;
      grid-template-columns: 1.08fr repeat(2, minmax(0, .96fr));
      gap: 14px;
    }

    .news-card {
      display: flex;
      min-height: 420px;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 16px 42px rgba(15, 54, 82, .08);
    }

    .news-card.featured {
      background: var(--blue-dark);
      color: var(--white);
    }

    .news-image {
      height: 190px;
      background: var(--soft);
      overflow: hidden;
    }

    .news-card.featured .news-image {
      height: 230px;
    }

    .news-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 28%;
    }

    .news-body {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 22px;
    }

    .news-meta {
      margin: 0 0 13px;
      color: var(--blue);
      font-weight: 850;
      font-size: 12px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .news-card.featured .news-meta,
    .news-card.featured p {
      color: rgba(255, 255, 255, .78);
    }

    .news-body h3 {
      margin: 0;
      font-size: 23px;
      line-height: 1.08;
    }

    .news-body p {
      margin: 12px 0 18px;
      color: var(--muted);
    }

    .news-link {
      margin-top: auto;
      color: var(--blue-dark);
      font-weight: 850;
    }

    .news-card.featured .news-link {
      color: var(--white);
    }

    .facts {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-bottom: 22px;
    }

    .fact {
      padding: 22px;
      border-radius: var(--radius);
      background: var(--blue);
      color: var(--white);
      min-height: 150px;
    }

    .fact strong {
      display: block;
      font-size: clamp(30px, 4vw, 48px);
      line-height: .95;
    }

    .fact span {
      display: block;
      margin-top: 12px;
      color: rgba(255, 255, 255, .82);
      font-weight: 750;
    }

    .project-board {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .project-column {
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
    }

    .project-column.featured-projects {
      grid-column: 1 / -1;
      padding: clamp(18px, 3vw, 26px);
      border-color: rgba(0, 85, 164, .24);
      background:
        linear-gradient(180deg, rgba(238, 246, 255, .88), rgba(255, 255, 255, 1) 190px),
        var(--white);
      box-shadow: 0 18px 54px rgba(15, 54, 82, .12);
    }

    .project-column h3 {
      margin: 0 0 14px;
      color: var(--blue-dark);
      font-size: 19px;
    }

    .project-column.featured-projects h3 {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1;
    }

    .project-column.featured-projects h3::after {
      content: "Hechos que ya se pueden ver y tocar";
      display: inline-flex;
      padding: 7px 11px;
      border-radius: 999px;
      color: var(--blue-dark);
      background: var(--white);
      border: 1px solid rgba(0, 85, 164, .16);
      font-size: 13px;
      font-weight: 850;
    }

    .project-column.secondary-projects {
      background: #fbfdff;
      box-shadow: none;
    }

    .project-column.secondary-projects h3 {
      color: #496173;
      font-size: 18px;
    }

    .project-card {
      overflow: hidden;
      border-radius: var(--radius);
      background: #f7fbff;
      border: 1px solid rgba(0, 85, 164, .12);
    }

    .project-card + .project-card {
      margin-top: 10px;
    }

    .project-column.featured-projects {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .project-column.featured-projects h3 {
      grid-column: 1 / -1;
    }

    .project-column.featured-projects .project-card {
      background: var(--white);
      box-shadow: 0 14px 34px rgba(15, 54, 82, .1);
    }

    .project-column.featured-projects .project-card + .project-card,
    .project-column.secondary-projects .project-card + .project-card {
      margin-top: 0;
    }

    .project-column.secondary-projects {
      display: grid;
      align-content: start;
      gap: 8px;
    }

    .project-column.secondary-projects .project-card {
      border-color: rgba(73, 97, 115, .12);
      background: #ffffff;
    }

    .project-column.secondary-projects .project-card .project-copy {
      min-height: auto;
      padding: 13px 14px;
      background: #ffffff;
    }

    .project-column.secondary-projects .status {
      color: #496173;
      background: #edf3f7;
    }

    .project-card img {
      width: 100%;
      height: 138px;
      object-fit: cover;
      object-position: center;
      background: #dceaf4;
    }

    .project-column.featured-projects .project-card img {
      height: clamp(150px, 18vw, 220px);
    }

    .project-card .project-copy {
      padding: 16px;
    }

    .project-card b {
      display: block;
      font-size: 17px;
      line-height: 1.2;
    }

    .project-card p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .project-column.secondary-projects .project-card p {
      display: none;
    }

    .status {
      display: inline-flex;
      margin-bottom: 10px;
      padding: 5px 9px;
      border-radius: 999px;
      color: var(--white);
      background: var(--blue);
      font-size: 12px;
      font-weight: 850;
    }

    .project-card.no-photo .project-copy {
      min-height: 142px;
      background:
        linear-gradient(135deg, rgba(0, 85, 164, .1), rgba(0, 139, 210, .06)),
        #f7fbff;
    }

    .priorities {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .priority {
      min-height: 220px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
    }

    .priority b {
      display: inline-flex;
      width: 34px;
      height: 34px;
      align-items: center;
      justify-content: center;
      margin-bottom: 22px;
      color: var(--white);
      background: var(--blue);
      border-radius: 50%;
      font-size: 15px;
    }

    .priority h3,
    .person h3 {
      margin: 0;
      font-size: 20px;
      line-height: 1.14;
    }

    .priority p,
    .person p,
    .quote p {
      margin: 12px 0 0;
      color: var(--muted);
    }

    .statement {
      display: grid;
      grid-template-columns: minmax(0, .76fr) minmax(260px, .42fr);
      gap: 48px;
      align-items: center;
    }

    .statement-copy {
      font-size: clamp(25px, 3.2vw, 42px);
      line-height: 1.12;
      font-weight: 850;
      letter-spacing: 0;
    }

    .statement-copy span {
      color: var(--blue-dark);
    }

    .quote {
      border-left: 6px solid var(--blue);
      padding: 8px 0 8px 24px;
    }

    .quote strong {
      display: block;
      margin-top: 18px;
      color: var(--ink);
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .person {
      position: relative;
      overflow: hidden;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      min-height: 330px;
      box-shadow: 0 16px 42px rgba(15, 54, 82, .08);
    }

    .person-photo {
      position: relative;
      height: 210px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(0, 85, 164, .16), rgba(0, 139, 210, .08)),
        #eef6ff;
    }

    .person-photo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center bottom;
      background: #f3f6f8;
    }

    .person-body {
      position: relative;
      padding: 18px 18px 20px;
    }

    .person .role {
      margin: 0 0 16px;
      color: var(--blue-dark);
      font-weight: 850;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .person.leader {
      background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
      border-color: rgba(11, 132, 198, .28);
    }

    .agenda {
      display: grid;
      grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
      gap: 20px;
      align-items: stretch;
    }

    .agenda-panel {
      padding: 28px;
      border-radius: var(--radius);
      color: var(--white);
      background: var(--blue-dark);
    }

    .agenda-panel h2 {
      font-size: clamp(30px, 4vw, 48px);
    }

    .agenda-panel p {
      margin: 18px 0 0;
      color: rgba(255, 255, 255, .8);
      font-size: 17px;
    }

    .agenda-list {
      display: grid;
      gap: 10px;
    }

    .agenda-item {
      display: grid;
      grid-template-columns: 88px minmax(0, 1fr);
      gap: 18px;
      align-items: start;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
    }

    .agenda-item time {
      color: var(--blue-dark);
      font-weight: 850;
      font-size: 14px;
    }

    .agenda-item h3 {
      margin: 0;
      font-size: 19px;
    }

    .agenda-item p {
      margin: 6px 0 0;
      color: var(--muted);
    }

    .program-shell {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
      gap: 18px;
      align-items: stretch;
    }

    .program-main {
      position: relative;
      overflow: hidden;
      padding: clamp(28px, 5vw, 52px);
      border-radius: var(--radius);
      color: var(--white);
      background:
        linear-gradient(135deg, rgba(0, 63, 125, .98), rgba(0, 85, 164, .94)),
        url("assets/noticia-presupuesto-2026.webp") center / cover;
      min-height: 420px;
    }

    .program-main::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 7px;
      background: linear-gradient(90deg, var(--blue-bright) 0 62%, var(--red) 62% 74%, var(--yellow) 74% 88%, var(--red) 88% 100%);
    }

    .program-main > * {
      position: relative;
      z-index: 1;
    }

    .program-main h2 {
      max-width: 760px;
    }

    .program-main p {
      max-width: 650px;
      margin: 20px 0 0;
      color: rgba(255, 255, 255, .84);
      font-size: 18px;
    }

    .program-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .program-actions .button {
      box-shadow: none;
    }

    .program-actions .button.secondary {
      border-color: rgba(255, 255, 255, .38);
      color: var(--white);
      background: rgba(255, 255, 255, .12);
    }

    .program-list {
      display: grid;
      gap: 10px;
    }

    .program-item {
      padding: 18px;
      border: 1px solid rgba(0, 85, 164, .14);
      border-radius: var(--radius);
      background: var(--white);
    }

    .program-item b {
      display: block;
      color: var(--blue-dark);
      font-size: 18px;
    }

    .program-item span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 14px;
    }

    .participation-grid {
      display: grid;
      grid-template-columns: minmax(0, .72fr) minmax(300px, .42fr);
      gap: 18px;
      align-items: stretch;
    }

    .proposal-panel,
    .applause-panel {
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: var(--white);
      box-shadow: 0 16px 42px rgba(15, 54, 82, .08);
    }

    .proposal-panel {
      padding: clamp(22px, 4vw, 34px);
    }

    .proposal-form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 24px;
    }

    .field {
      display: grid;
      gap: 7px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    .field.compact {
      grid-column: span 1;
    }

    .policy-check {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      padding: 14px;
      border: 1px solid rgba(0, 85, 164, .14);
      border-radius: var(--radius);
      background: #fbfdff;
    }

    .policy-check input {
      width: 18px;
      height: 18px;
      margin-top: 2px;
      accent-color: var(--blue);
    }

    .policy-check label {
      color: #365066;
      font-size: 13px;
      line-height: 1.45;
      font-weight: 750;
    }

    label {
      color: #365066;
      font-weight: 850;
      font-size: 13px;
    }

    input,
    select,
    textarea {
      width: 100%;
      border: 1px solid #c9dce8;
      border-radius: var(--radius);
      padding: 13px 14px;
      color: var(--ink);
      background: #fbfdff;
      font: inherit;
    }

    input[type="file"] {
      padding: 11px 12px;
    }

    textarea {
      min-height: 136px;
      resize: vertical;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--blue);
      outline: 3px solid rgba(0, 85, 164, .14);
    }

    .form-actions {
      grid-column: 1 / -1;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      margin-top: 4px;
    }

    .form-note {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .audio-actions {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 160px minmax(0, 1fr);
      gap: 18px;
      align-items: center;
      padding: 18px;
      border: 1px solid rgba(0, 85, 164, .12);
      border-radius: var(--radius);
      background:
        linear-gradient(135deg, rgba(0, 85, 164, .08), rgba(0, 139, 210, .04)),
        #f7fbff;
    }

    .audio-actions .button {
      min-height: 44px;
      padding: 10px 14px;
      box-shadow: none;
    }

    .audio-actions audio {
      width: 100%;
      min-width: 220px;
    }

    .mic-button {
      width: 132px;
      height: 132px;
      justify-self: center;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: var(--white);
      background: var(--blue);
      box-shadow: 0 18px 38px rgba(0, 85, 164, .24);
      cursor: pointer;
    }

    .mic-button::before {
      content: "";
      width: 34px;
      height: 54px;
      border: 5px solid currentColor;
      border-radius: 22px;
      border-bottom-width: 8px;
    }

    .mic-button::after {
      content: "";
      position: absolute;
    }

    .mic-stack {
      display: grid;
      gap: 10px;
      justify-items: center;
    }

    .mic-label {
      color: var(--blue-dark);
      font-weight: 900;
      text-align: center;
    }

    .audio-copy {
      display: grid;
      gap: 12px;
    }

    .audio-copy h3 {
      margin: 0;
      color: var(--blue-dark);
      font-size: clamp(22px, 3vw, 30px);
      line-height: 1.05;
    }

    .audio-copy p {
      margin: 0;
      color: var(--muted);
    }

    .audio-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .button.recording,
    .mic-button.recording {
      background: var(--red);
    }

    .proposal-list {
      display: grid;
      gap: 10px;
      margin-top: 20px;
    }

    .proposal-chip {
      padding: 13px 14px;
      border-radius: var(--radius);
      background: #eef6ff;
      border: 1px solid rgba(0, 85, 164, .12);
      color: #31536d;
      font-size: 14px;
    }

    .applause-panel {
      overflow: hidden;
      color: var(--white);
      background: var(--blue-dark);
    }

    .applause-visual {
      min-height: 260px;
      background:
        linear-gradient(180deg, rgba(0, 63, 125, .08), rgba(0, 63, 125, .78)),
        url("assets/carmina.webp") center 18% / contain no-repeat;
      background-color: #eaf4fb;
    }

    .applause-body {
      padding: 26px;
    }

    .applause-body h3 {
      margin: 0;
      font-size: 30px;
      line-height: 1;
    }

    .applause-count {
      display: block;
      margin: 20px 0 6px;
      font-size: clamp(48px, 7vw, 78px);
      font-weight: 900;
      line-height: .9;
    }

    .applause-body p {
      margin: 0 0 22px;
      color: rgba(255, 255, 255, .78);
    }

    .applause-button {
      width: 100%;
      min-height: 56px;
      border: 0;
      border-radius: var(--radius);
      color: var(--blue-dark);
      background: var(--white);
      font: inherit;
      font-weight: 900;
      cursor: pointer;
    }

    .applause-button:hover {
      transform: translateY(-1px);
    }

    .applause-status {
      min-height: 22px;
      margin-top: 12px;
      color: rgba(255, 255, 255, .82);
      font-size: 14px;
      font-weight: 750;
    }

    .cta {
      position: relative;
      overflow: hidden;
      color: var(--white);
      background:
        linear-gradient(120deg, rgba(0, 63, 125, .95), rgba(0, 85, 164, .9)),
        url("assets/carmina.webp") center / cover;
    }

    .cta::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0, 63, 125, .96), rgba(0, 85, 164, .68), rgba(0, 63, 125, .86));
    }

    .cta .wrap {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, .76fr) minmax(240px, .24fr);
      gap: 36px;
      align-items: center;
    }

    .cta p {
      margin: 18px 0 0;
      max-width: 700px;
      color: rgba(255, 255, 255, .83);
      font-size: 18px;
    }

    .cta .button {
      justify-self: end;
      color: var(--blue-dark);
      background: var(--white);
      box-shadow: none;
    }

    footer {
      padding: 34px 0;
      color: #5b6c7e;
      background: #ffffff;
      border-top: 1px solid var(--line);
      font-size: 14px;
    }

    .footer-inner {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    @media (max-width: 920px) {
      .topbar {
        position: relative;
      }

      .nav {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0 12px;
      }

      .menu {
        width: 100%;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 4px;
        scrollbar-width: none;
      }

      .menu::-webkit-scrollbar {
        display: none;
      }

      .menu a {
        flex: 0 0 auto;
        padding: 9px 11px;
        background: #f4f9fe;
        border: 1px solid rgba(0, 85, 164, .08);
      }

      .hero-inner,
      .section-head,
      .statement,
      .agenda,
      .program-shell,
      .participation-grid,
      .cta .wrap {
        grid-template-columns: 1fr;
      }

      .hero-inner {
        min-height: auto;
        gap: 30px;
        padding-top: 36px;
        padding-bottom: 58px;
      }

      .hero-portrait {
        min-height: auto;
        justify-content: flex-start;
      }

      .portrait-frame {
        width: min(360px, 86vw);
      }

      .stat-strip {
        right: 0;
        left: auto;
      }

      .priorities,
      .news-grid,
      .facts,
      .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .project-board,
      .project-column.featured-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .cta .button {
        justify-self: start;
      }

      .audio-actions {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 620px) {
      .nav {
        width: min(1180px, calc(100% - 24px));
        padding-top: 12px;
      }

      .brand {
        width: min(238px, 74vw);
      }

      .menu {
        font-size: 13px;
      }

      .menu a {
        padding: 8px 10px;
      }

      h1 {
        font-size: clamp(38px, 12vw, 48px);
        line-height: 1.05;
      }

      .hero-title-rest {
        margin-top: 10px;
        font-size: clamp(26px, 7.2vw, 34px);
        line-height: 1.14;
      }

      .hero-name::after {
        right: 4%;
      }

      .lead {
        font-size: 17px;
      }

      .hero-actions {
        gap: 10px;
        margin-top: 26px;
      }

      .hero-actions .button {
        width: 100%;
      }

      .pill-line {
        margin-top: 20px;
      }

      .section {
        padding: 62px 0;
      }

      .section-head {
        gap: 16px;
        margin-bottom: 26px;
      }

      h2 {
        font-size: clamp(30px, 9vw, 40px);
      }

      .priorities,
      .news-grid,
      .facts,
      .project-board,
      .project-column.featured-projects,
      .team-grid {
        grid-template-columns: 1fr;
      }

      .project-column.featured-projects h3 {
        display: block;
      }

      .project-column.featured-projects h3::after {
        margin-top: 10px;
      }

      .agenda-item {
        grid-template-columns: 1fr;
      }

      .proposal-form {
        grid-template-columns: 1fr;
      }

      .audio-actions {
        padding: 16px;
      }

      .mic-button {
        width: 112px;
        height: 112px;
      }

      .audio-controls .button,
      .audio-controls a {
        width: 100%;
      }

      .portrait-frame {
        width: min(318px, 92vw);
        aspect-ratio: 1 / 1.12;
      }

      .portrait-frame img {
        object-position: center 12%;
      }

      .stat-strip {
        position: relative;
        width: 100%;
        margin-top: -18px;
        bottom: auto;
      }
    }
  
body.admin-bar .topbar{top:32px}.cb-article{max-width:850px;margin:auto;padding:48px 24px}.cb-article h1{font-size:clamp(30px,5vw,52px)}.cb-article .entry-content{margin-top:28px}.entry-content p{margin:1em 0}.entry-content a{text-decoration:underline;color:var(--blue)}.entry-content ul,.entry-content ol{padding-left:24px}.cb-featured{width:100%;height:auto;margin:28px 0}.cb-news-footer{margin-top:24px}.menu{flex-wrap:wrap}.news-card img{width:100%;height:100%;object-fit:cover}@media(max-width:782px){body.admin-bar .topbar{top:46px}.nav{flex-wrap:wrap;padding:12px 0}.menu{gap:4px}.menu a{padding:7px}}@media(max-width:600px){body.admin-bar .topbar{position:relative;top:0}}
