:root {
      --carbon: #202727;
      --deep: #063d76;
      --blue: #0e6099;
      --electric: #3075f3;
      --sky: #55bcea;
      --hot: #fc2583;
      --paper: #f2f1f1;
      --muted: #64737b;
      --line: rgba(32,39,39,0.12);
      --shadow: 0 22px 58px rgba(6,61,118,0.15);
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      color: var(--carbon);
      background: #fff;
      font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
      letter-spacing: 0;
    }
    a { color: inherit; text-decoration: none; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 78px;
      padding: 0 34px;
      color: #fff;
      background: linear-gradient(135deg, rgba(6,61,118,0.96), rgba(32,39,39,0.96));
      box-shadow: 0 12px 34px rgba(0,0,0,0.16);
    }
    .brand-logo { width: clamp(240px, 24vw, 370px); height: auto; display: block; }
    .header-spacer {
      flex: 0 0 188px;
      width: 188px;
      height: 1px;
    }

    .municipio-shield {
      position: absolute;
      right: 34px;
      top: 14px;
      z-index: 32;
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 96px;
      height: 112px;
      margin-left: 0;
      padding: 13px;
      border: 1px solid rgba(255,255,255,0.22);
      border-radius: 30px 16px 36px 20px;
      background: rgba(255,255,255,0.12);
      box-shadow: 0 22px 44px rgba(0,0,0,0.22);
      backdrop-filter: blur(16px);
      transform: none;
    }
    .municipio-shield img {
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: contain;
      filter: drop-shadow(0 12px 20px rgba(0,0,0,0.2));
    }
    .nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 850; color: rgba(255,255,255,0.84); }
    .nav a { transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
    .nav a:hover { color: #fff; }

    .nav .nav-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 15px;
      border: 1px solid rgba(255,255,255,0.32);
      border-radius: 999px;
      color: #fff;
      background: rgba(255,255,255,0.15);
      box-shadow: 0 10px 24px rgba(0,0,0,0.16);
    }

    .nav .nav-button-campus {
      border-color: transparent;
      background: linear-gradient(135deg, var(--electric), var(--hot));
      box-shadow: 0 14px 30px rgba(252,37,131,0.28);
    }

    .nav .nav-button:hover {
      transform: translateY(-2px);
      border-color: rgba(255,255,255,0.48);
      background: rgba(255,255,255,0.22);
      box-shadow: 0 16px 34px rgba(0,0,0,0.2);
    }

    .nav .nav-button-campus:hover {
      background: linear-gradient(135deg, var(--sky), var(--electric) 42%, var(--hot));
      box-shadow: 0 18px 38px rgba(252,37,131,0.34);
    }

    .hero {
      color: #fff;
      background:
        radial-gradient(circle at 82% 14%, rgba(252,37,131,0.26), transparent 30%),
        linear-gradient(135deg, var(--deep), var(--carbon));
      padding: 88px 34px 74px;
      border-radius: 0 0 54px 54px;
    }
    .hero-inner,
    .inner {
      max-width: 1280px;
      margin: 0 auto;
    }
    .kicker {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      color: #fff;
      background: linear-gradient(135deg, var(--electric), var(--hot));
      font-size: 12px;
      font-weight: 950;
      text-transform: uppercase;
    }
    h1 {
      max-width: 880px;
      margin: 18px 0 16px;
      font-size: clamp(40px, 5.8vw, 74px);
      line-height: 0.98;
    }
    .hero p {
      max-width: 760px;
      margin: 0;
      color: rgba(255,255,255,0.76);
      font-size: 20px;
      line-height: 1.5;
    }

    .news-page {
      padding: 54px 34px 78px;
      background: linear-gradient(180deg, #fff, var(--paper));
    }
    .news-list {
      display: grid;
      gap: 18px;
    }
    .news-detail-card {
      display: grid;
      grid-template-columns: minmax(300px, 0.48fr) minmax(0, 0.72fr);
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 34px 20px 42px 24px;
      background: #fff;
      box-shadow: 0 14px 34px rgba(32,39,39,0.07);
      animation: newsEnter 0.68s cubic-bezier(.2,.8,.2,1) both;
    }
    .news-detail-card:nth-child(2) { animation-delay: 0.08s; }
    .news-detail-card:nth-child(3) { animation-delay: 0.14s; }
    .news-detail-card:nth-child(4) { animation-delay: 0.2s; }
    .news-detail-card:nth-child(5) { animation-delay: 0.26s; }
    .news-detail-card:nth-child(6) { animation-delay: 0.32s; }

    .news-photo {
      min-height: 100%;
      background:
        linear-gradient(135deg, rgba(6,61,118,0.12), rgba(252,37,131,0.08)),
        var(--image) center/cover no-repeat;
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
    }
    .news-photo img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      object-position: center;
      display: block;
    }
    .news-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(6,61,118,0.08), rgba(252,37,131,0.05));
      pointer-events: none;
    }
    .news-copy {
      padding: 26px;
    }
    .meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
    }
    .meta span {
      padding: 7px 9px;
      border-radius: 999px;
      background: rgba(85,188,234,0.16);
    }
    .meta .hot {
      color: #fff;
      background: linear-gradient(135deg, var(--electric), var(--hot));
    }
    h2 {
      margin: 0 0 12px;
      font-size: clamp(26px, 3vw, 42px);
      line-height: 1.02;
    }
    .lead {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.55;
    }

    details {
      border-top: 1px solid var(--line);
      padding-top: 16px;
    }
    summary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 16px;
      border-radius: 999px;
      color: #fff;
      background: linear-gradient(135deg, var(--deep), var(--electric) 58%, var(--hot));
      font-size: 14px;
      font-weight: 900;
      cursor: pointer;
      list-style: none;
      box-shadow: 0 12px 26px rgba(48,117,243,0.18);
    }
    summary::-webkit-details-marker { display: none; }
    details[open] summary { margin-bottom: 18px; }
    .story p {
      margin: 0 0 14px;
      color: #45545c;
      font-size: 16px;
      line-height: 1.66;
    }

    .back-top {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      margin-top: 30px;
      padding: 0 16px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      font-weight: 900;
      box-shadow: 0 12px 26px rgba(32,39,39,0.06);
    }
    .footer {
      color: rgba(255,255,255,0.74);
      background: var(--carbon);
      padding: 34px;
    }
    .footer-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 24px;
    }
    .footer strong {
      display: block;
      color: #fff;
      margin-bottom: 8px;
    }

    @keyframes newsEnter {
      from { opacity: 0; transform: translate3d(0, 22px, 0) scale(0.98); }
      to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }

    @media (max-width: 860px) {
      .topbar { padding: 0 16px; }
      .nav { display: none; }
      .brand-logo { width: 190px; }
      .municipio-shield {
        width: 70px;
        height: 84px;
        right: 16px;
        top: 10px;
        margin-left: 0;
        padding: 10px;
        border-radius: 22px 12px 26px 14px;
        transform: none;
      }
      .hero,
      .news-page,
      .footer { padding-left: 16px; padding-right: 16px; }
      .news-detail-card { grid-template-columns: 1fr; }
      .news-photo { min-height: 230px; }
      .footer-inner { display: block; }
    }
