:root {
    --navy: #0b2442;
    --blue: #135f9f;
    --azure: #3da6d8;
    --sky: #cfeefb;
    --powder: #eef8fc;
    --cream: #fffaf0;
    --gold: #d2ad67;
    --gold-soft: #f0dfb8;
    --ink: #17283a;
    --muted: #647486;
    --white: #fff;
    --line: rgba(11, 36, 66, 0.11);
    --shadow: 0 24px 70px rgba(11, 36, 66, 0.12);
    --shadow-sm: 0 12px 38px rgba(11, 36, 66, 0.08);
    --container: min(1180px, calc(100% - 40px));
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}
body.no-scroll {
    overflow: hidden;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
button,
input {
    font: inherit;
}
button {
    cursor: pointer;
}
.container {
    width: var(--container);
    margin-inline: auto;
}

.announcement {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
}
.announcement .container {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.announcement-left,
.announcement-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.announcement i {
    color: var(--gold-soft);
}
.announcement a:hover {
    color: #fff;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 250, 240, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: 0.25s ease;
}
.header.scrolled {
    border-color: var(--line);
    box-shadow: 0 9px 30px rgba(11, 36, 66, 0.07);
}
.navbar {
    width: var(--container);
    min-height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}
.brand-mark {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(210, 173, 103, 0.55);
}
.brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(11, 36, 66, 0.15);
}
.brand-copy strong {
    display: block;
    color: var(--navy);
    font-size: 0.94rem;
    line-height: 1.08;
}
.brand-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    margin-top: 4px;
}
.navlinks {
    display: flex;
    align-items: center;
    gap: 3px;
}
.navlinks > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.83rem;
    font-weight: 700;
    transition: 0.2s;
}
.navlinks > a:hover,
.navlinks > a.active {
    background: var(--powder);
    color: var(--blue);
}
.navlinks .portal {
    margin-left: 8px;
    background: var(--navy);
    color: #fff;
    padding-inline: 17px;
    box-shadow: 0 9px 24px rgba(11, 36, 66, 0.18);
}
.navlinks .portal:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-1px);
}
.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 15px;
    background: var(--navy);
    color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("/images/estatua-maria-aux.jpg") center 36% / cover
        no-repeat;
    filter: saturate(0.75);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(7, 27, 51, 0.98),
        rgba(10, 45, 81, 0.91) 52%,
        rgba(11, 36, 66, 0.48)
    );
}
.hero-ring {
    position: absolute;
    right: -130px;
    top: -210px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(240, 223, 184, 0.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 72px rgba(240, 223, 184, 0.035),
        0 0 0 145px rgba(240, 223, 184, 0.018);
    z-index: -1;
}
.hero-inner {
    width: var(--container);
    margin: auto;
    min-height: 500px;
    padding: 82px 0 92px;
    display: grid;
    grid-template-columns: 1fr 0.58fr;
    gap: 70px;
    align-items: end;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-soft);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 22px;
}
.hero-kicker i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
}
.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(3.6rem, 7vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    font-weight: 600;
    margin: 0;
}
.hero h1 span {
    color: #aee2f7;
    font-style: italic;
}
.hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.03rem;
    margin: 25px 0 0;
}
.hero-side {
    padding: 27px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}
.hero-side i {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: rgba(174, 226, 247, 0.14);
    color: var(--gold-soft);
    font-size: 1.15rem;
    margin-bottom: 17px;
}
.hero-side strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    line-height: 1.15;
}
.hero-side p {
    font-size: 0.88rem;
    margin: 9px 0 0;
}

.news-section {
    padding: 92px 0 110px;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 38px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    color: var(--blue);
}
.eyebrow i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sky);
    color: var(--navy);
}
.title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--navy);
    margin: 17px 0 0;
}
.lead {
    color: var(--muted);
    margin: 13px 0 0;
    max-width: 690px;
}

.tools {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.search {
    height: 48px;
    min-width: 270px;
    padding: 0 15px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(11, 36, 66, 0.04);
}
.search i {
    color: var(--blue);
}
.search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    color: var(--ink);
}

.status {
    padding: 34px;
    border: 1px dashed rgba(19, 95, 159, 0.25);
    background: rgba(238, 248, 252, 0.65);
    border-radius: 26px;
    text-align: center;
    color: var(--muted);
}
.status i {
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--sky);
    color: var(--blue);
    font-size: 1.15rem;
}
.status strong {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.featured {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 34px;
    min-height: 0;
}
.featured-media {
    position: relative;
    overflow: hidden;
    background: var(--powder);
    height: 430px;
}
.featured-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
}
.featured:hover .featured-media img {
    transform: scale(1.025);
}
.featured-badge {
    position: absolute;
    left: 22px;
    top: 22px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    font-size: 0.71rem;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(11, 36, 66, 0.12);
}
.featured-copy {
    padding: 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.featured h2 {
    font-family: "Playfair Display", serif;
    color: var(--navy);
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 16px 0 16px;
}
.featured p {
    color: var(--muted);
    margin: 0 0 26px;
}
.read-btn {
    align-self: flex-start;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 15px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.22s;
}
.read-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}
.load-more-btn {
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(11, 36, 66, 0.06);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}
.load-more-btn:hover {
    background: var(--powder);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 36, 66, 0.1);
}
.load-more-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}
.load-more-wrap[hidden] {
    display: none;
}
.news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 27px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.news-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--powder);
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-image img {
    transform: scale(1.035);
}
.news-copy {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-copy h3 {
    font-family: "Playfair Display", serif;
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1.13;
    letter-spacing: -0.02em;
    margin: 11px 0 11px;
}
.news-copy p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-link {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
}
.card-link i {
    transition: transform 0.2s;
}
.news-card:hover .card-link i {
    transform: translateX(3px);
}

.footer {
    background: #071a31;
    color: rgba(255, 255, 255, 0.68);
    padding: 72px 0 26px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.9fr;
    gap: 50px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}
.footer-brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}
.footer-brand strong {
    color: #fff;
    line-height: 1.15;
}
.footer h4 {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-soft);
    margin: 0 0 14px;
}
.footer-links {
    display: grid;
    gap: 8px;
    font-size: 0.87rem;
}
.footer a:hover {
    color: #fff;
}
.socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.socials a {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: #fff;
}
.footer-bottom {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.78rem;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: rgba(7, 26, 49, 0.98);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s;
    display: grid;
    place-items: center;
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav {
    width: min(360px, calc(100% - 36px));
    display: grid;
    gap: 8px;
    text-align: center;
}
.mobile-nav a {
    padding: 14px;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
}
.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
}
.mobile-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.article-modal {
    position: fixed;
    inset: 0;
    z-index: 2400;
    background: rgba(2, 12, 24, 0.88);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s;
    padding: 24px;
    overflow: auto;
}
.article-modal.open {
    opacity: 1;
    visibility: visible;
}
.article-shell {
    width: min(1040px, 100%);
    margin: 34px auto;
    background: var(--cream);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}
.article-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: var(--powder);
}
.article-body {
    padding: 42px 46px 50px;
}
.article-body h2 {
    font-family: "Playfair Display", serif;
    color: var(--navy);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 15px 0 22px;
}
.article-body p {
    color: #42556a;
    font-size: 1rem;
    margin: 0 0 1.25em;
    white-space: pre-line;
}
.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    z-index: 3;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1000px) {
    .announcement {
        display: none;
    }
    .navlinks {
        display: none;
    }
    .menu-btn {
        display: grid;
        place-items: center;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-side {
        max-width: 600px;
    }
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .featured {
        grid-template-columns: 1fr;
    }
    .featured-media {
        height: auto;
        aspect-ratio: 16/8;
    }
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
}
@media (max-width: 680px) {
    :root {
        --container: min(100% - 28px, 1180px);
    }
    .navbar {
        min-height: 72px;
    }
    .brand-mark,
    .brand img {
        width: 46px;
        height: 46px;
    }
    .brand-copy strong {
        font-size: 0.8rem;
        max-width: 205px;
    }
    .brand-copy span {
        display: none;
    }
    .hero-inner {
        min-height: auto;
        padding: 68px 0 74px;
    }
    .hero h1 {
        font-size: clamp(3.2rem, 16vw, 5rem);
    }
    .news-section {
        padding: 72px 0 82px;
    }
    .tools,
    .search {
        width: 100%;
    }
    .featured-media {
        height: auto;
        aspect-ratio: 4/3;
    }
    .featured-copy {
        padding: 30px 24px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid > div:first-child {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .article-modal {
        padding: 10px;
    }
    .article-shell {
        margin: 55px auto 20px;
        border-radius: 22px;
    }
    .article-body {
        padding: 28px 22px 34px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}