:root {
    --blue: #0757b8;
    --blue-dark: #06458f;
    --black: #050505;
    --black-soft: #111111;
    --gold: #bc9655;
    --gold-light: #d8bd88;
    --white: #ffffff;
    --off-white: #f6f6f4;
    --text: #242424;
    --muted: #707070;
    --border: #e4e4e4;
}
/* BASE */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
}
.container {
    width: min(1280px, calc(100% - 60px));
    margin: 0 auto;
}
/* ==========================================================
   HEADER
========================================================== */
.site-header {
    position: relative;
    z-index: 1000;
    background: var(--black);
}
.header-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 65px;
}
.site-logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.main-navigation > a, .dropdown-toggle {
    padding: 25px 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .13em;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}
.main-navigation > a:hover, .dropdown-toggle:hover, .main-navigation > a.active {
    color: var(--gold);
}
.dropdown-toggle span {
    margin-left: 4px;
    color: var(--gold);
}
.main-navigation .login-link {
    padding: 12px 18px;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.main-navigation .login-link:hover {
    color: var(--black);
    background: var(--gold);
}
.nav-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: -20px;
    min-width: 270px;
    padding: 10px 0;
    background: var(--black-soft);
    border-top: 2px solid var(--gold);
    box-shadow: 0 18px 40px rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.nav-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    justify-content: space-between;
    padding: 13px 22px;
    color: #eeeeee;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.dropdown-menu a:hover {
    color: var(--gold);
    background: rgba(255,255,255,.05);
}
.dropdown-submenu {
    position: relative;
}
.submenu {
    position: absolute;
    top: -10px;
    left: 100%;
    min-width: 250px;
    padding: 10px 0;
    background: var(--black-soft);
    border-top: 2px solid var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.dropdown-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.menu-toggle {
    display: none;
}
/* ==========================================================
   SLIDER
========================================================== */
.hero-slider {
    position: relative;
    height: 540px;
    min-height: 540px;
    overflow: hidden;
    background: var(--black);
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}
.slide-content {
    max-width: 900px;
    color: var(--white);
    text-align: center;
    text-shadow: 0 3px 18px rgba(0,0,0,.5);
}
.slide-content > span {
    display: block;
    margin-bottom: 14px;
    color: var(--gold-light);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.slide-content h1, .slide-content h2 {
    margin: 0;
    font-size: clamp(48px, 5vw, 78px);
    line-height: 1.04;
    font-weight: 600;
}
.slide-content p {
    margin: 22px 0 32px;
    font-size: 22px;
    line-height: 1.5;
}
.slider-button {
    display: inline-block;
    padding: 15px 25px;
    border: 1px solid var(--gold-light);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-shadow: none;
    transition: color .2s ease, background .2s ease;
}
.slider-button:hover {
    color: var(--black);
    background: var(--gold-light);
}
.slider-arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    width: 52px;
    height: 70px;
    border: 0;
    color: var(--white);
    background: rgba(0,0,0,.45);
    font-size: 40px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease;
}
.slider-arrow:hover {
    background: var(--blue);
}
.slider-prev {
    left: 0;
}
.slider-next {
    right: 0;
}
.slider-dots {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 27px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}
.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid var(--white);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.slider-dot.active {
    border-color: var(--gold);
    background: var(--gold);
}
/* ==========================================================
   GENERIC SECTIONS
========================================================== */
.section {
    padding: 100px 0;
}
.section-heading {
    margin-bottom: 55px;
    text-align: center;
}
.section-heading > span, .section-kicker {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
}
.section-heading h2 {
    margin: 10px 0 18px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 45px;
    font-weight: normal;
}
.section-line {
    width: 65px;
    height: 2px;
    margin: auto;
    background: var(--gold);
}
.gold-line {
    width: 65px;
    height: 2px;
    margin: 25px 0;
    background: var(--gold);
}
.gold-line.centered {
    margin: 25px auto;
}
/* ==========================================================
   NEWS
========================================================== */
.news-section {
    background: var(--off-white);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.news-card {
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.news-image {
    height: 245px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.news-card:hover .news-image img {
    transform: scale(1.035);
}
.news-body {
    padding: 28px;
}
.news-body time {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.news-body h3 {
    margin: 12px 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: normal;
    line-height: 1.3;
}
.news-body p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}
.news-body a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.section-action {
    margin-top: 50px;
    text-align: center;
}
.outline-button {
    display: inline-block;
    padding: 14px 24px;
    border: 1px solid var(--blue);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.outline-button:hover {
    color: var(--white);
    background: var(--blue);
}
/* ==========================================================
   ABOUT
========================================================== */
.about-section {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 85px;
    align-items: center;
}
.section-photo {
    position: relative;
    min-height: 550px;
    overflow: hidden;
}
.section-photo::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(216,189,136,.65);
    pointer-events: none;
}
.section-photo img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center top;
}
.section-copy h2 {
    max-width: 600px;
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 49px;
    font-weight: normal;
    line-height: 1.15;
}
.institutional-title {
    font-size: 40px !important;
    line-height: 1.18 !important;
}
.section-copy p {
    max-width: 570px;
    color: rgba(255,255,255,.86);
    font-size: 17px;
    line-height: 1.85;
}
.light-button {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 22px;
    border: 1px solid var(--gold-light);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.light-button:hover {
    color: var(--blue-dark);
    background: var(--gold-light);
}
/* ==========================================================
   MISSION
========================================================== */
.mission-section {
    background: var(--white);
}
.mission-intro {
    max-width: 900px;
    margin: -15px auto 55px;
    color: var(--muted);
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.85;
}
.mission-intro p {
    margin: 0 0 18px;
}
.mission-intro p:last-child {
    margin-bottom: 0;
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.mission-grid article {
    position: relative;
    padding: 45px 35px;
    text-align: center;
}
.mission-grid article:not(:last-child) {
    border-right: 1px solid var(--border);
}
.mission-number {
    margin-bottom: 18px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
}
.mission-grid h3 {
    margin: 0 0 15px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: normal;
}
.mission-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}
/* ==========================================================
   GOVERNMENT
========================================================== */
.government-section {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.government-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 85px;
    align-items: center;
}
.government-copy h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-weight: normal;
    line-height: 1.1;
}
.government-copy p {
    max-width: 540px;
    margin: 0 0 25px;
    color: rgba(255,255,255,.88);
    font-size: 17px;
    line-height: 1.8;
}
.government-photo {
    position: relative;
    min-height: 440px;
    overflow: hidden;
}
.government-photo img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
}
/* ==========================================================
   CONTACT CTA
========================================================== */
.contact-cta {
    position: relative;
    padding: 75px 0;
    background: var(--off-white);
}
.contact-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--blue);
}
.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.contact-inner span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.contact-inner h2 {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: normal;
}
.contact-actions {
    display: flex;
    gap: 15px;
}
.blue-button, .outline-blue-button {
    display: inline-block;
    padding: 15px 22px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.blue-button {
    border: 1px solid var(--blue);
    color: var(--white);
    background: var(--blue);
}
.outline-blue-button {
    border: 1px solid var(--blue);
    color: var(--blue);
}
/* ==========================================================
   *** COLABORACIÓN DIPUTACIÓN DE CIUDAD REAL ***
========================================================== */
.collaboration-section {
    padding: 70px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.collaboration-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 70px;
    align-items: center;
}
.collaboration-copy span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.collaboration-copy h2 {
    max-width: 650px;
    margin: 10px 0 18px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: normal;
    line-height: 1.2;
}
.collaboration-copy p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}
.collaboration-poster {
    background: transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.collaboration-poster img {
    width: 100%;
    height: auto;
}
/* ==========================================================
   FOOTER
========================================================== */
.site-footer {
    color: #cccccc;
    background: var(--black);
}
.footer-main {
    min-height: 190px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.footer-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
}
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-info strong {
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-info span {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}
.footer-info p {
    margin: 4px 0 0;
}
.footer-bottom {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding:20px max(30px,calc((100% - 1280px)/2));
    border-top:1px solid rgba(255,255,255,.1);
    color:#777;
    font-size:11px
}
.footer-legal-links {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px
}
.footer-legal-links a {
    color:#aaa;
    transition:color .2s ease
}
.footer-legal-links a:hover {
    color:var(--gold)
}
@media(max-width:600px) {
    .footer-bottom {
        flex-direction:column;
        align-items:flex-start;
        padding:22px 15px;
        text-align:left
    }
}
/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1100px) {
    .header-inner {
        gap: 30px;
    }
    .main-navigation {
        gap: 15px;
    }
    .main-navigation > a, .dropdown-toggle {
        font-size: 10px;
    }
}
@media (max-width: 900px) {
    .container {
        width: min(100% - 36px, 1280px);
    }
    .header-inner {
        min-height: 95px;
        justify-content: space-between;
    }
    .site-logo img {
        width: 72px;
        height: 72px;
    }
    .menu-toggle {
        display: flex;
        width: 42px;
        padding: 6px;
        border: 0;
        background: transparent;
        flex-direction: column;
        gap: 7px;
        cursor: pointer;
    }
    .menu-toggle span {
        width: 100%;
        height: 2px;
        background: var(--gold);
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px 28px 30px;
        background: var(--black);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .main-navigation.open {
        display: flex;
    }
    .main-navigation > a, .dropdown-toggle {
        width: 100%;
        padding: 15px 0;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .nav-dropdown {
        width: 100%;
    }
    .dropdown-menu, .submenu {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 5px 15px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-dropdown:hover > .dropdown-menu, .dropdown-submenu:hover > .submenu {
        display: block;
    }
    .main-navigation .login-link {
        margin-top: 15px;
        padding: 14px;
        text-align: center;
        border: 1px solid var(--gold);
    }
    .hero-slider {
        height: 520px;
        min-height: 520px;
    }
    .slide {
        padding: 40px 35px;
    }
    .slide-content h1, .slide-content h2 {
        font-size: clamp(42px, 12vw, 65px);
    }
    .slide-content p {
        font-size: 18px;
    }
    .section {
        padding: 70px 0;
    }
    .news-grid, .two-columns, .government-grid, .collaboration-inner {
        grid-template-columns: 1fr;
    }
    .government-grid, .collaboration-inner {
        gap: 45px;
    }
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mission-grid article:nth-child(2) {
        border-right: 0;
    }
    .mission-grid article:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }
    .two-columns {
        gap: 45px;
    }
    .section-photo, .section-photo img {
        height: 480px;
        min-height: 480px;
    }
    .government-photo, .government-photo img {
        height: 430px;
        min-height: 430px;
    }
    .collaboration-poster {
        width: min(100%, 460px);
        margin: 0 auto;
    }
    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-actions {
        flex-wrap: wrap;
    }
    .footer-main {
        padding: 45px 0;
        align-items: flex-start;
    }
}
@media (max-width: 600px) {
    .container {
        width: calc(100% - 30px);
    }
    .header-inner {
        min-height: 85px;
    }
    .site-logo img {
        width: 64px;
        height: 64px;
    }
    .hero-slider {
        height: 470px;
        min-height: 470px;
    }
    .slide {
        padding: 35px 25px;
    }
    .slide-content > span {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: .15em;
    }
    .slide-content h1, .slide-content h2 {
        font-size: clamp(38px, 12vw, 52px);
        line-height: 1.05;
    }
    .slide-content p {
        margin: 18px 0 25px;
        font-size: 17px;
    }
    .slider-button {
        padding: 13px 18px;
        font-size: 10px;
    }
    .slider-arrow {
        width: 38px;
        height: 58px;
        font-size: 30px;
    }
    .slider-dots {
        bottom: 18px;
    }
    .section-heading h2 {
        font-size: 37px;
    }
    .section-copy h2 {
        font-size: 38px;
    }
    .institutional-title {
        font-size: 32px !important;
    }
    .mission-intro {
        margin-bottom: 40px;
        text-align: left;
        font-size: 17px;
    }
    .government-copy h2 {
        font-size: 40px;
    }
    .contact-inner h2 {
        font-size: 33px;
    }
    .mission-grid {
        grid-template-columns: 1fr;
    }
    .mission-grid article {
        border-right: 0 !important;
        border-bottom: 1px solid var(--border);
    }
    .mission-grid article:last-child {
        border-bottom: 0;
    }
    .section-photo, .section-photo img {
        height: 400px;
        min-height: 400px;
    }
    .government-photo, .government-photo img {
        height: 330px;
        min-height: 330px;
    }
    .contact-actions {
        width: 100%;
        flex-direction: column;
    }
    .blue-button, .outline-blue-button {
        width: 100%;
        text-align: center;
    }
    .collaboration-section {
        padding: 55px 0;
    }
    .collaboration-copy h2 {
        font-size: 30px;
    }
    .footer-main {
        flex-direction: column;
    }
    .footer-logo {
        width: 75px;
        height: 75px;
    }
}
/* ==========================================================
   PAGINAS LEGALES
========================================================== */
.legal-hero {
    padding:70px 0 65px;
    color:var(--white);
    background:linear-gradient(135deg,var(--blue),var(--blue-dark));
    text-align:center
}
.legal-hero span {
    color:var(--gold-light);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.2em
}
.legal-hero h1 {
    margin:10px 0 20px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(42px,5vw,64px);
    font-weight:normal;
    line-height:1.08
}
.legal-hero-line {
    width:65px;
    height:2px;
    margin:auto;
    background:var(--gold)
}
.legal-page {
    padding:80px 0 100px;
    background:var(--off-white)
}
.legal-container {
    max-width:980px
}
.legal-intro,.legal-notice {
    margin-bottom:45px;
    padding:28px 32px;
    border-left:4px solid var(--gold);
    background:var(--white);
    box-shadow:0 8px 28px rgba(0,0,0,.04)
}
.legal-intro p,.legal-notice p {
    margin:0;
    color:var(--muted);
    font-size:16px;
    line-height:1.75
}
.legal-notice strong {
    display:block;
    margin-bottom:8px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:20px
}
.legal-block {
    padding:38px 0;
    border-bottom:1px solid var(--border)
}
.legal-block h2 {
    margin:0 0 20px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:30px;
    font-weight:normal;
    line-height:1.25
}
.legal-block h3 {
    margin:0 0 8px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:21px;
    font-weight:normal
}
.legal-block p {
    margin:0 0 16px;
    color:#555;
    font-size:16px;
    line-height:1.8
}
.legal-block p:last-child {
    margin-bottom:0
}
.legal-block a {
    color:var(--blue);
    text-decoration:underline;
    text-underline-offset:3px
}
.legal-data {
    margin:25px 0;
    padding:25px 28px;
    background:var(--white);
    border:1px solid var(--border)
}
.legal-data p {
    margin:0 0 8px
}
.legal-summary {
    margin-bottom:50px;
    border:1px solid var(--border);
    background:var(--white)
}
.legal-summary>div {
    display:grid;
    grid-template-columns:180px 1fr;
    gap:25px;
    padding:18px 24px;
    border-bottom:1px solid var(--border)
}
.legal-summary>div:last-child {
    border-bottom:0
}
.legal-summary span {
    color:var(--gold);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.1em
}
.legal-summary strong {
    color:#444;
    font-size:14px;
    line-height:1.55
}
.legal-rights {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin:28px 0
}
.legal-rights article {
    padding:24px;
    background:var(--white);
    border:1px solid var(--border)
}
.legal-rights article p {
    margin:0;
    font-size:14px;
    line-height:1.65
}
.legal-last {
    border-bottom:0
}
@media(max-width:600px) {
    .legal-hero {
        padding:55px 0 50px
    }
    .legal-page {
        padding:55px 0 70px
    }
    .legal-intro,.legal-notice {
        padding:23px 20px
    }
    .legal-block {
        padding:30px 0
    }
    .legal-block h2 {
        font-size:26px
    }
    .legal-summary>div {
        grid-template-columns:1fr;
        gap:7px;
        padding:17px 18px
    }
    .legal-rights {
        grid-template-columns:1fr
    }
}
/* ==========================================================
   PAGINAS INTERIORES - HISTORIA / CONTENIDO EDITORIAL
========================================================== */
.inner-hero {
    padding: 78px 0 72px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    text-align: center;
}
.inner-hero span {
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
}
.inner-hero h1 {
    max-width: 900px;
    margin: 10px auto 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: normal;
    line-height: 1.08;
}
.inner-hero p {
    max-width: 700px;
    margin: 20px auto 0;
    color: rgba(255,255,255,.82);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.7;
}
.inner-hero-line {
    width: 65px;
    height: 2px;
    margin: auto;
    background: var(--gold);
}
.story-page {
    padding: 95px 0 110px;
    background: var(--white);
}
.story-container {
    max-width: 1180px;
}
.story-intro {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}
.story-year {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-style: italic;
}
.story-intro h2, .story-highlight h2 {
    margin: 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: normal;
    line-height: 1.15;
}
.story-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: 70px;
    align-items: center;
    margin-bottom: 95px;
}
.story-row-reverse {
    grid-template-columns: minmax(360px, .78fr) minmax(0, 1fr);
}
.story-row-reverse .story-copy {
    order: 2;
}
.story-row-reverse .story-image {
    order: 1;
}
.story-copy h2 {
    margin: 7px 0 24px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: normal;
    line-height: 1.2;
}
.story-label {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .17em;
}
.story-copy p {
    margin: 0 0 19px;
    color: #555;
    font-size: 16px;
    line-height: 1.88;
}
.story-copy p:last-child {
    margin-bottom: 0;
}
.story-image {
    margin: 0;
    overflow: hidden;
    background: var(--off-white);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}
.story-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}
.story-image-tall img {
    max-height: 680px;
    object-position: center top;
}
.story-divider {
    display: flex;
    justify-content: center;
    margin: -20px 0 75px;
}
.story-divider span {
    width: 1px;
    height: 65px;
    background: var(--gold);
}
.story-highlight {
    margin: 5px 0 85px;
    padding: 55px 40px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    text-align: center;
}
.story-highlight .story-year {
    color: var(--gold-light);
}
.story-highlight h2 {
    color: var(--white);
}
.story-highlight p {
    max-width: 720px;
    margin: 20px auto 0;
    color: rgba(255,255,255,.84);
    font-size: 17px;
    line-height: 1.8;
}
.story-closing {
    max-width: 900px;
    margin: 10px auto 0;
    padding: 55px 60px;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    background: var(--off-white);
}
.story-closing-mark {
    margin-bottom: 25px;
    color: var(--gold);
    font-size: 24px;
    text-align: center;
}
.story-closing p {
    margin: 0 0 20px;
    color: #555;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.9;
}
.story-closing p:last-child {
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .inner-hero {
        padding: 65px 0 60px;
    }
    .story-page {
        padding: 70px 0 85px;
    }
    .story-row, .story-row-reverse {
        grid-template-columns: 1fr;
        gap: 38px;
        margin-bottom: 75px;
    }
    .story-row-reverse .story-copy, .story-row-reverse .story-image {
        order: initial;
    }
    .story-image {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }
    .story-image img, .story-image-tall img {
        max-height: none;
        height: auto;
        object-fit: contain;
    }
}
@media (max-width: 600px) {
    .inner-hero {
        padding: 52px 0 48px;
    }
    .inner-hero h1 {
        font-size: 39px;
    }
    .inner-hero p {
        font-size: 16px;
    }
    .story-page {
        padding: 55px 0 70px;
    }
    .story-intro {
        margin-bottom: 50px;
    }
    .story-intro h2, .story-highlight h2 {
        font-size: 34px;
    }
    .story-copy h2 {
        font-size: 30px;
    }
    .story-copy p {
        font-size: 15px;
        line-height: 1.82;
    }
    .story-highlight {
        margin-bottom: 65px;
        padding: 42px 22px;
    }
    .story-closing {
        padding: 38px 24px;
    }
    .story-closing p {
        font-size: 16px;
        line-height: 1.82;
    }
}
/* ICONOGRAFIA */
.iconography-page {
    padding:95px 0 110px;
    background:var(--white)
}
.iconography-opening {
    margin-top:0
}
.iconography-image img {
    max-height:650px;
    object-fit:contain;
    background:#f5f3ef
}
.iconography-milestone {
    margin:0 0 90px;
    padding:55px 40px;
    text-align:center;
    color:var(--white);
    background:linear-gradient(135deg,var(--blue),var(--blue-dark))
}
.iconography-milestone span,.iconography-quote span,.timeline-item span {
    display:block;
    margin-bottom:9px;
    color:var(--gold-light);
    font-family:Georgia,"Times New Roman",serif;
    font-size:24px;
    font-style:italic
}
.iconography-milestone h2,.iconography-quote h2 {
    margin:0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:40px;
    font-weight:normal
}
.iconography-milestone p {
    max-width:760px;
    margin:20px auto 0;
    color:rgba(255,255,255,.85);
    font-size:17px;
    line-height:1.8
}
.iconography-quote {
    max-width:900px;
    margin:0 auto 40px;
    padding:45px 50px;
    border-top:1px solid var(--gold);
    border-bottom:1px solid var(--gold);
    text-align:center
}
.iconography-quote span {
    color:var(--gold)
}
.iconography-quote h2 {
    color:var(--blue-dark);
    font-size:34px
}
.iconography-quote p {
    margin:18px 0 0;
    color:var(--muted);
    font-size:16px;
    line-height:1.8
}
.iconography-text {
    max-width:900px;
    margin:0 auto 85px
}
.iconography-text p {
    margin:0 0 19px;
    color:#555;
    font-size:16px;
    line-height:1.88
}
.iconography-timeline {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin:0 0 95px;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border)
}
.timeline-item {
    padding:42px 34px;
    text-align:center
}
.timeline-item:not(:last-child) {
    border-right:1px solid var(--border)
}
.timeline-item span {
    color:var(--gold)
}
.timeline-item h3 {
    margin:0 0 15px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:25px;
    font-weight:normal
}
.timeline-item p {
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.75
}
.iconography-current {
    margin-bottom:0
}
@media(max-width:900px) {
    .iconography-page {
        padding:70px 0 85px
    }
    .iconography-timeline {
        grid-template-columns:1fr
    }
    .timeline-item:not(:last-child) {
        border-right:0;
        border-bottom:1px solid var(--border)
    }
}
@media(max-width:600px) {
    .iconography-page {
        padding:55px 0 70px
    }
    .iconography-milestone {
        margin-bottom:65px;
        padding:42px 22px
    }
    .iconography-milestone h2 {
        font-size:34px
    }
    .iconography-quote {
        padding:35px 22px
    }
    .iconography-quote h2 {
        font-size:29px
    }
    .iconography-text {
        margin-bottom:65px
    }
    .iconography-timeline {
        margin-bottom:70px
    }
}
/* CORONACION PONTIFICIA */
.coronation-page {
    padding:75px 0 105px;
    background:var(--off-white)
}
.coronation-container {
    max-width:1180px
}
.coronation-nav {
    display:flex;
    justify-content:center;
    gap:0;
    margin:0 auto 70px;
    border:1px solid var(--border);
    background:#fff
}
.coronation-nav a {
    flex:1;
    padding:17px 20px;
    text-align:center;
    color:var(--blue-dark);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.1em
}
.coronation-nav a:not(:last-child) {
    border-right:1px solid var(--border)
}
.coronation-nav a:hover,.coronation-nav a.active {
    color:#fff;
    background:var(--blue)
}
.coronation-feature,.bula-layout {
    display:grid;
    grid-template-columns:minmax(320px,.8fr) minmax(0,1fr);
    gap:75px;
    align-items:center
}
.coronation-poster,.bula-document {
    margin:0;
    padding:18px;
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,.08)
}
.coronation-poster img,.bula-document img {
    width:100%;
    height:auto
}
.coronation-copy h2,.bula-copy h2,.coronation-lead h2,.coronation-article h2 {
    margin:8px 0 24px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:38px;
    font-weight:normal;
    line-height:1.18
}
.coronation-copy p,.bula-copy p,.coronation-article p {
    color:#555;
    font-size:16px;
    line-height:1.88
}
.bula-excerpt {
    margin:30px 0;
    padding:28px 30px;
    border-left:3px solid var(--gold);
    background:#fff
}
.bula-excerpt p {
    margin:0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:17px;
    font-style:italic
}
.coronation-lead {
    max-width:900px;
    margin:0 auto 55px;
    text-align:center
}
.coronation-lead>span,.coronation-highlight>span {
    color:var(--gold);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.18em
}
.coronation-lead p {
    color:var(--muted);
    font-size:17px;
    line-height:1.8
}
.coronation-gallery {
    display:grid;
    gap:16px;
    margin:0 0 75px
}
.coronation-gallery.three {
    grid-template-columns:repeat(3,1fr)
}
.coronation-gallery.four {
    grid-template-columns:repeat(4,1fr)
}
.coronation-gallery img {
    width:100%;
    height:280px;
    object-fit:cover;
    background:#ddd
}
.coronation-article {
    max-width:900px;
    margin:0 auto 70px
}
.coronation-highlight {
    margin:0 0 75px;
    padding:58px 50px;
    text-align:center;
    color:#fff;
    background:linear-gradient(135deg,var(--blue),var(--blue-dark))
}
.coronation-highlight h2 {
    margin:8px 0 5px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:44px;
    font-weight:normal
}
.coronation-highlight strong {
    display:block;
    margin:10px 0 20px;
    color:var(--gold-light);
    font-family:Georgia,"Times New Roman",serif;
    font-size:34px;
    font-weight:normal
}
.coronation-highlight p {
    max-width:800px;
    margin:12px auto;
    color:rgba(255,255,255,.88);
    font-size:17px;
    line-height:1.8
}
.bishop-speech blockquote {
    margin:30px 0 0;
    padding:35px 40px;
    border-left:3px solid var(--gold);
    background:#fff
}
.bishop-speech blockquote p {
    font-family:Georgia,"Times New Roman",serif;
    font-size:17px;
    font-style:italic
}
.coronation-columns {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border)
}
.coronation-columns article {
    padding:38px 30px
}
.coronation-columns article:not(:last-child) {
    border-right:1px solid var(--border)
}
.coronation-columns h3 {
    margin:0 0 15px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:25px;
    font-weight:normal
}
.coronation-columns p {
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.75
}
@media(max-width:900px) {
    .coronation-feature,.bula-layout {
        grid-template-columns:1fr;
        gap:45px
    }
    .coronation-poster,.bula-document {
        max-width:600px;
        margin:auto
    }
    .coronation-gallery.four {
        grid-template-columns:repeat(2,1fr)
    }
    .coronation-columns {
        grid-template-columns:1fr
    }
    .coronation-columns article:not(:last-child) {
        border-right:0;
        border-bottom:1px solid var(--border)
    }
}
@media(max-width:600px) {
    .coronation-page {
        padding:55px 0 75px
    }
    .coronation-nav {
        flex-direction:column;
        margin-bottom:50px
    }
    .coronation-nav a:not(:last-child) {
        border-right:0;
        border-bottom:1px solid var(--border)
    }
    .coronation-copy h2,.bula-copy h2,.coronation-lead h2,.coronation-article h2 {
        font-size:31px
    }
    .coronation-gallery.three,.coronation-gallery.four {
        grid-template-columns:1fr
    }
    .coronation-gallery img {
        height:auto
    }
    .coronation-highlight {
        padding:45px 22px
    }
    .coronation-highlight h2 {
        font-size:36px
    }
    .bishop-speech blockquote {
        padding:28px 22px
    }
}
/* PATRIMONIO */
.heritage-page {
    padding:75px 0 105px;
    background:var(--off-white)
}
.heritage-container {
    max-width:1180px
}
.heritage-nav {
    display:flex;
    margin:0 0 70px;
    border:1px solid var(--border);
    background:#fff
}
.heritage-nav a {
    flex:1;
    padding:17px 12px;
    text-align:center;
    color:var(--blue-dark);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em
}
.heritage-nav a:not(:last-child) {
    border-right:1px solid var(--border)
}
.heritage-nav a:hover,.heritage-nav a.active {
    color:#fff;
    background:var(--blue)
}
.heritage-lead {
    max-width:900px;
    margin:0 auto 50px;
    text-align:center
}
.heritage-lead span {
    color:var(--gold);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.18em
}
.heritage-lead h2,.heritage-copy h2,.heritage-text h2,.historical-context h2 {
    margin:8px 0 20px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:38px;
    font-weight:normal;
    line-height:1.2
}
.heritage-lead p,.heritage-copy p,.heritage-text p {
    color:#555;
    font-size:16px;
    line-height:1.88
}
.heritage-gallery {
    display:grid;
    gap:16px;
    margin-bottom:75px
}
.heritage-gallery.three {
    grid-template-columns:repeat(3,1fr)
}
.heritage-gallery img {
    width:100%;
    height:300px;
    object-fit:cover
}
.heritage-timeline {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-bottom:75px;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border)
}
.heritage-timeline.three-items {
    grid-template-columns:repeat(3,1fr)
}
.heritage-timeline article {
    padding:35px 25px;
    text-align:center
}
.heritage-timeline article:not(:last-child) {
    border-right:1px solid var(--border)
}
.heritage-timeline span,.heritage-cards span {
    color:var(--gold);
    font-family:Georgia,"Times New Roman",serif;
    font-size:18px;
    font-style:italic
}
.heritage-timeline h3,.heritage-cards h3 {
    margin:10px 0;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:23px;
    font-weight:normal
}
.heritage-timeline p,.heritage-cards p {
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.7
}
.heritage-text {
    max-width:900px;
    margin:0 auto 65px
}
.heritage-highlight,.historical-context {
    margin:0 0 60px;
    padding:50px;
    color:#fff;
    background:linear-gradient(135deg,var(--blue),var(--blue-dark))
}
.heritage-highlight span,.historical-context>span {
    color:var(--gold-light);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.15em
}
.heritage-highlight h2,.historical-context h2 {
    color:#fff
}
.heritage-highlight p,.historical-context p {
    color:rgba(255,255,255,.87);
    font-size:16px;
    line-height:1.8
}
.heritage-author {
    text-align:right;
    color:var(--muted);
    font-size:13px
}
.heritage-feature {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(330px,.8fr);
    gap:70px;
    align-items:center;
    margin-bottom:75px
}
.heritage-feature figure {
    margin:0;
    padding:15px;
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,.08)
}
.heritage-feature img {
    width:100%;
    height:auto;
    max-height:650px;
    object-fit:contain
}
.heritage-cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin-bottom:70px;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border)
}
.heritage-cards article {
    padding:35px 28px;
    text-align:center
}
.heritage-cards article:not(:last-child) {
    border-right:1px solid var(--border)
}
.heritage-quote {
    max-width:900px;
    margin:0 auto 65px;
    padding:35px 40px;
    border-left:3px solid var(--gold);
    background:#fff
}
.heritage-quote span {
    color:var(--gold);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.15em
}
.heritage-quote p {
    color:#555;
    font-family:Georgia,"Times New Roman",serif;
    font-size:17px;
    font-style:italic;
    line-height:1.85
}
.historical-context blockquote {
    margin:28px 0 0;
    padding:25px 30px;
    border-left:2px solid var(--gold-light);
    background:rgba(255,255,255,.08)
}
.historical-context blockquote {
    font-family:Georgia,"Times New Roman",serif;
    font-size:17px;
    font-style:italic;
    line-height:1.8
}
.heritage-closing {
    max-width:900px;
    margin:0 auto;
    padding:35px 45px;
    border-top:1px solid var(--gold);
    border-bottom:1px solid var(--gold);
    background:#fff
}
.heritage-closing p {
    margin:0;
    color:#555;
    font-family:Georgia,"Times New Roman",serif;
    font-size:17px;
    line-height:1.85
}
@media(max-width:900px) {
    .heritage-nav {
        display:grid;
        grid-template-columns:repeat(2,1fr)
    }
    .heritage-nav a {
        border-bottom:1px solid var(--border)
    }
    .heritage-feature {
        grid-template-columns:1fr;
        gap:40px
    }
    .heritage-timeline,.heritage-timeline.three-items,.heritage-cards {
        grid-template-columns:1fr
    }
    .heritage-timeline article:not(:last-child),.heritage-cards article:not(:last-child) {
        border-right:0;
        border-bottom:1px solid var(--border)
    }
}
@media(max-width:600px) {
    .heritage-page {
        padding:55px 0 75px
    }
    .heritage-nav {
        grid-template-columns:1fr;
        margin-bottom:50px
    }
    .heritage-gallery.three {
        grid-template-columns:1fr
    }
    .heritage-gallery img {
        height:auto
    }
    .heritage-lead h2,.heritage-copy h2,.heritage-text h2,.historical-context h2 {
        font-size:31px
    }
    .heritage-highlight,.historical-context {
        padding:40px 22px
    }
    .heritage-closing {
        padding:30px 22px
    }
}
/* ==========================================================
   BOLETINES
========================================================== */
.bulletins-page {
    padding: 80px 0 105px;
    background: var(--off-white);
}
.bulletins-container {
    max-width: 1180px;
}
.bulletin-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
    gap: 80px;
    align-items: center;
    margin-bottom: 95px;
}
.bulletin-featured-copy > span, .bulletin-card-kicker {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.bulletin-featured-copy h2 {
    margin: 10px 0 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: normal;
    line-height: 1.12;
}
.bulletin-featured-copy p {
    max-width: 620px;
    color: #555;
    font-size: 16px;
    line-height: 1.85;
}
.bulletin-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.bulletin-cover {
    display: flex;
    justify-content: center;
}
.bulletin-cover-inner {
    width: 100%;
    max-width: 360px;
    min-height: 470px;
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    background: linear-gradient( 145deg, rgba(7,87,184,.96), rgba(6,69,143,.96) );
    border: 1px solid rgba(188,150,85,.45);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}
.bulletin-cover-inner span {
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em;
}
.bulletin-cover-inner strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    font-weight: normal;
    line-height: 1.05;
}
.bulletin-cover-inner small {
    color: rgba(255,255,255,.75);
    font-size: 12px;
    letter-spacing: .08em;
}
.bulletin-archive {
    padding-top: 10px;
}
.bulletin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.bulletin-card {
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.bulletin-card-cover {
    min-height: 250px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    background: linear-gradient( 145deg, var(--blue), var(--blue-dark) );
}
.bulletin-card-cover span {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.bulletin-card-cover strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 39px;
    font-weight: normal;
}
.bulletin-card-cover small {
    color: rgba(255,255,255,.72);
    font-size: 11px;
}
.bulletin-card-body {
    padding: 28px;
}
.bulletin-card-body h3 {
    margin: 10px 0 22px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: normal;
    line-height: 1.25;
}
.bulletin-card-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.bulletin-card-actions a {
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.bulletin-card-actions a:hover {
    color: var(--gold);
}
@media (max-width: 900px) {
    .bulletin-featured {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .bulletin-cover {
        justify-content: flex-start;
    }
    .bulletin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .bulletins-page {
        padding: 55px 0 75px;
    }
    .bulletin-featured {
        margin-bottom: 70px;
    }
    .bulletin-featured-copy h2 {
        font-size: 36px;
    }
    .bulletin-actions {
        flex-direction: column;
    }
    .bulletin-actions .blue-button, .bulletin-actions .outline-blue-button {
        width: 100%;
        text-align: center;
    }
    .bulletin-cover-inner {
        min-height: 390px;
    }
    .bulletin-grid {
        grid-template-columns: 1fr;
    }
}
/* NORMATIVA + HIMNO */
.documents-page,.hymn-page {
    padding:80px 0 105px;
    background:var(--off-white)
}
.documents-container,.hymn-container {
    max-width:1180px
}
.documents-intro {
    max-width:800px;
    margin:0 auto 55px;
    text-align:center
}
.documents-intro>span,.hymn-player span,.hymn-people span {
    color:var(--gold);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.18em
}
.documents-intro h2,.hymn-player h2,.hymn-history h2 {
    margin:9px 0 18px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:39px;
    font-weight:normal
}
.documents-intro p,.hymn-player p,.hymn-history p {
    color:#555;
    font-size:16px;
    line-height:1.85
}
.documents-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px
}
.document-card {
    display:grid;
    grid-template-columns:90px 1fr;
    gap:28px;
    padding:38px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.05)
}
.document-icon {
    width:75px;
    height:75px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--gold);
    color:var(--gold);
    font-family:Georgia,serif;
    font-size:38px
}
.document-body>span {
    color:var(--gold);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.14em
}
.document-body h2 {
    margin:8px 0 15px;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:29px;
    font-weight:normal
}
.document-body p {
    color:var(--muted);
    font-size:14px;
    line-height:1.75
}
.document-actions {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:22px
}
.document-actions a {
    font-size:9px
}
.hymn-player {
    display:grid;
    grid-template-columns:1fr minmax(300px,.7fr);
    gap:60px;
    align-items:center;
    margin-bottom:75px;
    padding:42px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.05)
}
.hymn-player audio {
    width:100%
}
.hymn-milestone {
    margin-bottom:70px;
    padding:50px;
    text-align:center;
    color:#fff;
    background:linear-gradient(135deg,var(--blue),var(--blue-dark))
}
.hymn-milestone span {
    color:var(--gold-light);
    font-family:Georgia,"Times New Roman",serif;
    font-size:22px;
    font-style:italic
}
.hymn-milestone h2 {
    margin:8px 0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:40px;
    font-weight:normal
}
.hymn-milestone p {
    max-width:750px;
    margin:15px auto 0;
    color:rgba(255,255,255,.85);
    line-height:1.8
}
.hymn-history {
    max-width:900px;
    margin:0 auto 65px
}
.hymn-gallery {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-bottom:70px
}
.hymn-gallery img {
    width:100%;
    height:330px;
    object-fit:cover
}
.hymn-people {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin-bottom:70px;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border)
}
.hymn-people article {
    padding:35px 28px;
    text-align:center
}
.hymn-people article:not(:last-child) {
    border-right:1px solid var(--border)
}
.hymn-people h3 {
    margin:10px 0;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:23px;
    font-weight:normal
}
.hymn-people p {
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.7
}
.hymn-lyrics {
    padding-top:15px
}
.hymn-chorus {
    max-width:600px;
    margin:0 auto 45px;
    padding:35px;
    text-align:center;
    color:#fff;
    background:var(--blue)
}
.hymn-chorus h3 {
    margin:0 0 15px;
    color:var(--gold-light);
    font-family:Georgia,serif;
    font-size:25px;
    font-weight:normal
}
.hymn-chorus p {
    margin:0;
    font-family:Georgia,serif;
    font-size:18px;
    line-height:1.8
}
.hymn-verses {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px
}
.hymn-verses article {
    padding:35px;
    background:#fff;
    border-top:2px solid var(--gold)
}
.hymn-verses span {
    color:var(--gold);
    font-family:Georgia,serif;
    font-size:22px;
    font-style:italic
}
.hymn-verses p {
    margin:12px 0 0;
    color:#555;
    font-family:Georgia,serif;
    font-size:16px;
    line-height:1.8
}
@media(max-width:900px) {
    .documents-grid,.hymn-player {
        grid-template-columns:1fr
    }
    .hymn-gallery {
        grid-template-columns:1fr
    }
    .hymn-gallery img {
        height:auto;
        max-height:600px;
        object-fit:contain
    }
    .hymn-people {
        grid-template-columns:1fr
    }
    .hymn-people article:not(:last-child) {
        border-right:0;
        border-bottom:1px solid var(--border)
    }
}
@media(max-width:600px) {
    .documents-page,.hymn-page {
        padding:55px 0 75px
    }
    .document-card {
        grid-template-columns:1fr;
        padding:28px 22px
    }
    .document-actions {
        flex-direction:column
    }
    .document-actions a {
        width:100%;
        text-align:center
    }
    .hymn-player {
        padding:28px 22px
    }
    .hymn-milestone {
        padding:40px 22px
    }
    .hymn-milestone h2 {
        font-size:33px
    }
    .hymn-verses {
        grid-template-columns:1fr
    }
}
/* ==========================================================
   CONTACTO
========================================================== */
.contact-page {
    padding: 85px 0 105px;
    background: var(--off-white);
}
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
    gap: 80px;
    align-items: start;
    max-width: 1180px;
}
.contact-details h2 {
    margin: 8px 0 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: normal;
    line-height: 1.15;
}
.contact-details > p {
    max-width: 520px;
    color: #555;
    font-size: 16px;
    line-height: 1.85;
}
.contact-data {
    margin-top: 38px;
    border-top: 1px solid var(--border);
}
.contact-data > div {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.contact-data small {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.contact-data strong, .contact-data span, .contact-data a {
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}
.contact-data strong {
    display: block;
    font-weight: 600;
}
.contact-data a:hover {
    color: var(--gold);
}
.contact-form-panel {
    padding: 42px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}
.contact-form {
    display: grid;
    gap: 23px;
}
.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.form-field label span {
    color: var(--gold);
}
.form-field input, .form-field textarea {
    width: 100%;
    padding: 14px 15px;
    color: #333;
    font: inherit;
    border: 1px solid #d8d8d8;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea {
    min-height: 170px;
    resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(188,150,85,.12);
}
.privacy-field {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}
.privacy-field input {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    accent-color: var(--blue);
}
.privacy-field label {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}
.privacy-field a {
    color: var(--blue);
    text-decoration: underline;
}
.form-error {
    display: block;
    margin-top: 6px;
    color: #a51f1f;
    font-size: 12px;
}
.privacy-error {
    margin-top: -15px;
}
.contact-alert {
    margin-bottom: 25px;
    padding: 15px 18px;
    font-size: 14px;
    line-height: 1.5;
}
.contact-alert-success {
    color: #245b37;
    border: 1px solid #b9d7c3;
    background: #eef8f1;
}
.contact-alert-error {
    color: #842029;
    border: 1px solid #f0b8bd;
    background: #fff1f2;
}
.contact-submit {
    justify-self: start;
    border: 0;
    cursor: pointer;
}
/* Honeypot invisible */
.contact-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
@media (max-width: 600px) {
    .contact-page {
        padding: 55px 0 75px;
    }
    .contact-details h2 {
        font-size: 34px;
    }
    .contact-form-panel {
        padding: 28px 22px;
    }
    .contact-submit {
        width: 100%;
    }
}
/* ==========================================================
   HAZTE HERMANO
========================================================== */
.membership-page {
    padding: 80px 0 105px;
    background: var(--off-white);
}
.membership-container {
    max-width: 1180px;
}
.membership-intro {
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
}
.membership-intro > span, .membership-card > span, .membership-help span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.membership-intro h2 {
    margin: 9px 0 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: normal;
    line-height: 1.18;
}
.membership-intro p {
    margin: 24px auto 0;
    color: #555;
    font-size: 16px;
    line-height: 1.85;
}
.membership-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 90px;
}
.membership-card {
    position: relative;
    padding: 45px;
    overflow: hidden;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}
.membership-number {
    position: absolute;
    top: 15px;
    right: 25px;
    color: rgba(10,72,145,.07);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 95px;
    line-height: 1;
}
.membership-card h2 {
    position: relative;
    margin: 9px 0 18px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: normal;
}
.membership-card p {
    position: relative;
    min-height: 82px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}
.membership-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.membership-actions a {
    font-size: 9px;
}
.membership-steps {
    margin-bottom: 80px;
}
.membership-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.membership-steps-grid article {
    padding: 35px 30px;
    text-align: center;
}
.membership-steps-grid article:not(:last-child) {
    border-right: 1px solid var(--border);
}
.membership-steps-grid strong {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-style: italic;
    font-weight: normal;
}
.membership-steps-grid h3 {
    margin: 10px 0 13px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: normal;
}
.membership-steps-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.membership-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 45px 50px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.membership-help span {
    color: var(--gold-light);
}
.membership-help h2 {
    margin: 8px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: normal;
}
.membership-help p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .membership-choice {
        grid-template-columns: 1fr;
    }
    .membership-steps-grid {
        grid-template-columns: 1fr;
    }
    .membership-steps-grid article:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .membership-help {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    .membership-page {
        padding: 55px 0 75px;
    }
    .membership-intro h2 {
        font-size: 33px;
    }
    .membership-card {
        padding: 35px 24px;
    }
    .membership-card p {
        min-height: 0;
    }
    .membership-actions {
        flex-direction: column;
    }
    .membership-actions a {
        width: 100%;
        text-align: center;
    }
    .membership-help {
        padding: 38px 24px;
    }
    .membership-help .light-button {
        width: 100%;
        text-align: center;
    }
}
/* ==========================================================
   JUNTA DE GOBIERNO
========================================================== */
.government-page {
    padding: 80px 0 105px;
    background: var(--off-white);
}
.government-page-container {
    max-width: 1180px;
}
.government-main-photo {
    margin: 0 0 65px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}
.government-main-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: cover;
}
.government-intro {
    max-width: 850px;
    margin: 0 auto 85px;
    text-align: center;
}
.government-intro > span, .government-contact span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.government-intro h2 {
    margin: 9px 0 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: normal;
}
.government-intro p {
    color: #555;
    font-size: 16px;
    line-height: 1.85;
}
.government-members {
    margin-bottom: 80px;
}
.government-pending {
    max-width: 720px;
    margin: 0 auto;
    padding: 42px;
    text-align: center;
    border-top: 2px solid var(--gold);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.government-pending span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.government-pending h3 {
    margin: 10px 0 12px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: normal;
}
.government-pending p {
    max-width: 520px;
    margin: auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}
.government-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px 50px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.government-contact span {
    color: var(--gold-light);
}
.government-contact h2 {
    margin: 8px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 33px;
    font-weight: normal;
}
.government-contact p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .government-contact {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    .government-page {
        padding: 55px 0 75px;
    }
    .government-main-photo {
        margin-bottom: 50px;
    }
    .government-intro {
        margin-bottom: 65px;
    }
    .government-intro h2 {
        font-size: 34px;
    }
    .government-pending {
        padding: 34px 22px;
    }
    .government-contact {
        padding: 38px 24px;
    }
    .government-contact .light-button {
        width: 100%;
        text-align: center;
    }
}
/* BLOG PUBLICO */
.blog-page {
    padding:80px 0 105px;
    background:var(--off-white)
}
.blog-container {
    max-width:1180px
}
.blog-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:32px
}
.blog-card {
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.06)
}
.blog-card-image {
    display:block;
    height:260px;
    overflow:hidden;
    background:#e7e7e7
}
.blog-card-image img {
    width:100%;
    height:100%;
    object-fit:cover
}
.blog-card-placeholder {
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:linear-gradient(135deg,var(--blue),var(--blue-dark));
    font-family:Georgia,serif;
    font-size:25px
}
.blog-card-body {
    padding:28px
}
.blog-card-body time,.post-header time {
    color:var(--gold);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.14em
}
.blog-card-body h2 {
    margin:10px 0 14px;
    font-family:Georgia,serif;
    font-size:25px;
    font-weight:normal;
    line-height:1.25
}
.blog-card-body h2 a {
    color:var(--blue-dark)
}
.blog-card-body p {
    color:var(--muted);
    font-size:14px;
    line-height:1.7
}
.blog-read-more {
    color:var(--blue);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase
}
.blog-empty {
    padding:60px;
    text-align:center;
    background:#fff
}
.blog-pagination {
    margin-top:55px
}
.post-page {
    background:var(--off-white);
    padding-bottom:105px
}
.post-header {
    padding:85px 0 65px;
    text-align:center;
    color:#fff;
    background:linear-gradient(135deg,var(--blue),var(--blue-dark))
}
.post-header span {
    color:var(--gold-light);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase
}
.post-header h1 {
    max-width:950px;
    margin:12px auto 18px;
    font-family:Georgia,serif;
    font-size:clamp(38px,5vw,64px);
    font-weight:normal;
    line-height:1.08
}
.post-featured-image {
    max-width:1100px;
    margin:55px auto 0
}
.post-featured-image img {
    width:100%;
    max-height:680px;
    object-fit:cover
}
.post-content {
    max-width:850px;
    padding-top:55px
}
.post-lead {
    color:var(--blue-dark);
    font-family:Georgia,serif;
    font-size:22px;
    line-height:1.6
}
.post-body {
    color:#4e4e4e;
    font-size:16px;
    line-height:1.9
}
.post-body img {
    max-width:100%;
    height:auto
}
.post-back {
    margin-top:55px;
    padding-top:25px;
    border-top:1px solid var(--border)
}
@media(max-width:900px) {
    .blog-grid {
        grid-template-columns:repeat(2,1fr)
    }
}
@media(max-width:600px) {
    .blog-page {
        padding:55px 0 75px
    }
    .blog-grid {
        grid-template-columns:1fr
    }
    .post-header {
        padding:60px 0 50px
    }
}
.news-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: rgba(255,255,255,.85);
    background: linear-gradient( 135deg, var(--blue), var(--blue-dark) );
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}
.news-card .news-image {
    display: block;
    overflow: hidden;
}
.news-card h3 a {
    color: inherit;
}
/* ==========================================================
   LOGIN + ADMIN
========================================================== */
.login-page {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: var(--off-white);
}
.login-box {
    width: 100%;
    max-width: 470px;
    padding: 48px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 15px 45px rgba(0,0,0,.08);
}
.login-box > span, .admin-header span, .admin-module > span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .17em;
}
.login-box h1 {
    margin: 8px 0 12px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: normal;
}
.login-box > p {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.login-form {
    display: grid;
    gap: 22px;
}
.login-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}
/* ADMIN */
.admin-page {
    min-height: 650px;
    padding: 80px 0 105px;
    background: var(--off-white);
}
.admin-container {
    max-width: 1180px;
}
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}
.admin-header h1 {
    margin: 8px 0;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: normal;
}
.admin-header p {
    margin: 0;
    color: var(--muted);
}
.admin-logout {
    padding: 12px 18px;
    color: var(--blue);
    border: 1px solid var(--blue);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.admin-logout:hover {
    color: var(--white);
    background: var(--blue);
}
.admin-dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.admin-module {
    padding: 35px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.admin-module h2 {
    margin: 8px 0 14px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: normal;
}
.admin-module p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}
.admin-module-status {
    margin-top: 25px;
    padding-top: 18px;
    color: var(--gold);
    border-top: 1px solid var(--border);
    font-size: 11px;
}
@media (max-width: 700px) {
    .login-box {
        padding: 35px 25px;
    }
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .admin-dashboard {
        grid-template-columns: 1fr;
    }
}
/* ADMIN NOTICIAS */
.admin-header-actions {
    display:flex;
    gap:12px;
    align-items:center
}
.admin-secondary,.admin-cancel {
    display:inline-block;
    padding:12px 17px;
    color:var(--blue);
    border:1px solid var(--blue);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase
}
.admin-table-wrap {
    overflow-x:auto;
    background:#fff
}
.admin-table {
    width:100%;
    border-collapse:collapse
}
.admin-table th,.admin-table td {
    padding:18px 16px;
    border-bottom:1px solid var(--border);
    text-align:left
}
.admin-table th {
    color:var(--blue-dark);
    font-size:10px;
    text-transform:uppercase
}
.admin-table td {
    color:#555;
    font-size:14px
}
.admin-table td strong,.admin-table td small {
    display:block
}
.status-badge {
    padding:6px 9px;
    font-size:9px;
    font-weight:700;
    text-transform:uppercase
}
.status-badge.published {
    color:#245b37;
    background:#eef8f1
}
.status-badge.draft {
    color:#725b18;
    background:#fff8dc
}
.admin-actions {
    display:flex;
    gap:12px
}
.admin-actions a,.admin-actions button {
    padding:0;
    color:var(--blue);
    border:0;
    background:none;
    font:inherit;
    font-size:11px;
    cursor:pointer
}
.admin-actions button {
    color:#9b2828
}
.admin-alert-success {
    margin-bottom:25px;
    padding:15px;
    color:#245b37;
    background:#eef8f1
}
.admin-post-form {
    background:#fff;
    padding:35px
}
.admin-form-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:45px
}
.admin-form-main {
    display:grid;
    gap:24px
}
.admin-form-sidebar {
    padding-left:30px;
    border-left:1px solid var(--border)
}
.admin-panel-field {
    margin-bottom:25px
}
.admin-panel-field>label {
    display:block;
    margin-bottom:8px;
    color:var(--blue-dark);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase
}
.admin-panel-field input,.admin-panel-field select {
    width:100%;
    padding:12px;
    border:1px solid #d8d8d8
}
.admin-check {
    display:flex;
    gap:8px;
    margin:18px 0 25px;
    color:#555;
    font-size:13px
}
.form-help {
    display:block;
    margin-top:6px;
    color:#999;
    font-size:11px
}
.admin-current-image {
    display:block;
    width:100%;
    max-height:200px;
    object-fit:cover;
    margin-bottom:12px
}
.admin-save,.admin-cancel {
    width:100%;
    text-align:center
}
.admin-save {
    border:0;
    cursor:pointer
}
.admin-cancel {
    margin-top:10px
}
@media(max-width:850px) {
    .admin-form-grid {
        grid-template-columns:1fr
    }
    .admin-form-sidebar {
        padding-left:0;
        padding-top:30px;
        border-left:0;
        border-top:1px solid var(--border)
    }
}
/* ==========================================================
   AJUSTE FINAL - ADMINISTRACION DE NOTICIAS
========================================================== */
.admin-posts-container {
    max-width: 1280px;
}
.admin-posts-container .admin-header {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
/* TABLA */
.admin-table-wrap {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .045);
}
.admin-posts-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.admin-posts-table th, .admin-posts-table td {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}
/* ANCHOS */
.admin-posts-table th:nth-child(1), .admin-posts-table td:nth-child(1) {
    width: 46%;
}
.admin-posts-table th:nth-child(2), .admin-posts-table td:nth-child(2) {
    width: 18%;
}
.admin-posts-table th:nth-child(3), .admin-posts-table td:nth-child(3) {
    width: 18%;
}
.admin-posts-table th:nth-child(4), .admin-posts-table td:nth-child(4) {
    width: 18%;
}
/* TITULO */
.admin-post-title strong {
    display: block;
    color: var(--blue-dark);
    font-size: 15px;
    line-height: 1.4;
}
/* ESTADOS */
.status-badge {
    display: inline-block;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}
.status-badge.published {
    color: #245b37;
    background: #eef8f1;
}
.status-badge.draft {
    color: #725b18;
    background: #fff8dc;
}
.featured-badge {
    display: block;
    margin-top: 7px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
}
/* FECHA */
.admin-post-date {
    white-space: nowrap;
}
.admin-post-date small {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 11px;
}
/* ACCIONES */
.admin-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}
.admin-actions form {
    margin: 0;
}
.admin-edit, .admin-delete {
    display: inline-block;
    padding: 8px 11px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}
.admin-edit {
    color: var(--blue);
    border: 1px solid rgba(0, 85, 180, .28);
}
.admin-edit:hover {
    color: #fff;
    background: var(--blue);
}
.admin-delete {
    color: #9b2828;
    border: 1px solid rgba(155, 40, 40, .25);
    background: transparent;
}
.admin-delete:hover {
    color: #fff;
    background: #9b2828;
}
/* MOVIL */
@media (max-width: 800px) {
    .admin-posts-table {
        min-width: 760px;
    }
    .admin-header-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
/* ==========================================================
   AJUSTE FINAL BOTONES ADMIN NOTICIAS
========================================================== */
.admin-posts-table .admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    white-space: nowrap;
}
.admin-posts-table .admin-actions form {
    display: inline-block;
    margin: 0;
    padding: 0;
}
/* EDITAR */
.admin-posts-table .admin-actions .admin-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 36px;
    padding: 0 13px;
    color: var(--blue);
    border: 1px solid var(--blue);
    background: transparent;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    box-sizing: border-box;
}
.admin-posts-table .admin-actions .admin-edit:hover {
    color: #fff;
    background: var(--blue);
}
/* ELIMINAR */
.admin-posts-table .admin-actions .admin-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    height: 36px;
    margin: 0;
    padding: 0 13px;
    color: #9b2828;
    border: 1px solid #9b2828;
    background: transparent;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
    box-sizing: border-box;
}
.admin-posts-table .admin-actions .admin-delete:hover {
    color: #fff;
    background: #9b2828;
}
/* ==========================================================
   INPUT IMAGEN - ADMIN
========================================================== */
.admin-panel-field input[type="file"] {
    width: 100%;
    padding: 10px;
    color: #666;
    border: 1px solid #d8d8d8;
    background: #fff;
    font-size: 12px;
    box-sizing: border-box;
}
.admin-panel-field input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    color: var(--blue);
    border: 1px solid var(--blue);
    background: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}
.admin-panel-field input[type="file"]::file-selector-button:hover {
    color: #fff;
    background: var(--blue);
}
/* ==========================================================
   CHECKBOX ELIMINAR IMAGEN - ADMIN
========================================================== */
.admin-panel-field .admin-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 18px;
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}
.admin-panel-field .admin-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    padding: 0;
    accent-color: var(--blue);
    cursor: pointer;
}
.admin-form-sidebar > .admin-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 28px;
}
.admin-form-sidebar > .admin-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    padding: 0;
    accent-color: var(--blue);
}
/* ==========================================================
   CONTENIDO POR BLOQUES - BLOG
========================================================== */
.post-block {
    margin: 35px 0;
}
.post-block-text {
    color: #4e4e4e;
    font-size: 16px;
    line-height: 1.9;
}
.post-block-image {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.post-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.post-block-image figcaption, .post-gallery figcaption {
    margin-top: 9px;
    color: #888;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
/* GALERÍA */
.post-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.post-gallery figure {
    margin: 0;
}
.post-gallery img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
/* VIDEO */
.post-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
}
.post-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* MOVIL */
@media (max-width: 700px) {
    .post-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .post-gallery img {
        height: 190px;
    }
}
@media (max-width: 480px) {
    .post-gallery {
        grid-template-columns: 1fr;
    }
    .post-gallery img {
        height: auto;
    }
}
/* ==========================================================
   EDITOR DE BLOQUES - ADMIN
========================================================== */
.block-editor {
    margin-top:12px
}
.block-editor-heading {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:22px
}
.block-editor-heading span {
    color:var(--gold);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.16em
}
.block-editor-heading h2 {
    margin:5px 0 0;
    color:var(--blue-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:28px;
    font-weight:normal
}
.block-editor-heading p {
    max-width:370px;
    margin:0;
    color:#888;
    font-size:12px;
    line-height:1.6
}
.post-block-editor-list {
    display:grid;
    gap:18px
}
.editor-block {
    border:1px solid #dedede;
    background:#fafafa
}
.editor-block-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:11px 14px;
    border-bottom:1px solid #dedede;
    background:#f1f1f1
}
.editor-block-header strong {
    color:var(--blue-dark);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em
}
.editor-block-actions {
    display:flex;
    gap:5px
}
.editor-block-actions button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:31px;
    height:29px;
    padding:0;
    color:var(--blue);
    border:1px solid #ccd5df;
    background:#fff;
    cursor:pointer
}
.editor-block-actions button:last-child {
    color:#9b2828
}
.editor-block-body {
    display:grid;
    gap:9px;
    padding:18px
}
.editor-block-body label {
    margin-top:5px;
    color:var(--blue-dark);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.06em
}
.editor-block-body input[type=text],.editor-block-body input[type=url],.editor-block-body textarea {
    width:100%;
    padding:12px 13px;
    border:1px solid #d7d7d7;
    background:#fff;
    font:inherit;
    box-sizing:border-box
}
.editor-block-body textarea {
    min-height:150px;
    resize:vertical
}
.editor-block-body input[type=file] {
    width:100%;
    padding:9px;
    border:1px solid #d7d7d7;
    background:#fff;
    box-sizing:border-box
}
.editor-block-body small {
    color:#929292;
    font-size:11px;
    line-height:1.5
}
.block-existing-images {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:10px
}
.existing-image {
    width:105px;
    margin:0;
    padding:6px;
    border:1px solid #ddd;
    background:#fff
}
.existing-image img {
    display:block;
    width:100%;
    height:75px;
    object-fit:cover
}
.existing-image label {
    display:flex;
    align-items:center;
    gap:5px;
    margin:6px 0 0;
    font-size:9px;
    text-transform:none
}
.block-existing-images>small {
    flex-basis:100%
}
.block-add-buttons {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:18px
}
.block-add {
    padding:10px 13px;
    color:var(--blue);
    border:1px solid var(--blue);
    background:#fff;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.05em;
    cursor:pointer
}
.block-add:hover {
    color:#fff;
    background:var(--blue)
}
@media(max-width:800px) {
    .block-editor-heading {
        align-items:flex-start;
        flex-direction:column
    }
    .block-add-buttons {
        display:grid;
        grid-template-columns:repeat(2,1fr)
    }
}
/* ==========================================================
   SUBTITULOS EN NOTICIAS
========================================================== */
.post-block-heading {
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--blue-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: normal;
    line-height: 1.25;
}
/* ==========================================================
   PAGINACION BLOG
========================================================== */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 55px;
}
.blog-pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}
.blog-pagination-nav, .blog-pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-pagination-nav {
    padding: 0 18px;
}
.blog-pagination-number {
    width: 42px;
    padding: 0;
}
.blog-pagination-nav:hover, .blog-pagination-number:hover, .blog-pagination-number.active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}
.blog-pagination-nav.disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}
/* MOVIL */
@media (max-width: 650px) {
    .blog-pagination {
        gap: 16px 8px;
    }
    .blog-pagination-pages {
        order: 3;
        width: 100%;
    }
    .blog-pagination-nav {
        padding: 0 14px;
    }
    .blog-pagination-number {
        width: 38px;
        min-height: 38px;
    }
}

/* ==========================================================
   PAGINACION ADMIN NOTICIAS
========================================================== */

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    max-width: 1180px;

    margin: 45px auto 0;
}

.admin-pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 7px;
}

.admin-pagination-nav,
.admin-pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    color: var(--blue);

    border: 1px solid var(--border);

    background: #fff;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.admin-pagination-nav {
    padding: 0 18px;
}

.admin-pagination-number {
    width: 42px;
    padding: 0;
}

.admin-pagination-nav:hover,
.admin-pagination-number:hover,
.admin-pagination-number.active {
    color: #fff;

    border-color: var(--blue);

    background: var(--blue);
}

.admin-pagination-nav.disabled {
    opacity: .35;

    cursor: default;

    pointer-events: none;
}


/* MOVIL */

@media (max-width: 650px) {

    .admin-pagination {
        gap: 16px 8px;
    }

    .admin-pagination-pages {
        order: 3;

        width: 100%;
    }

    .admin-pagination-nav {
        padding: 0 14px;
    }

    .admin-pagination-number {
        width: 38px;
        min-height: 38px;
    }

}


/* ==========================================================
   PAGINAS DE ERROR
========================================================== */

.error-page {
    display: flex;
    align-items: center;

    min-height: 620px;
    padding: 100px 0;

    background: var(--off-white);
}

.error-page-inner {
    max-width: 850px;

    text-align: center;
}

.error-code {
    display: block;

    margin-bottom: 16px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;

    text-transform: uppercase;
}

.error-page h1 {
    margin: 0;

    color: var(--blue-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(42px, 6vw, 70px);
    font-weight: normal;
    line-height: 1.08;
}

.error-line {
    width: 75px;
    height: 2px;

    margin: 30px auto;

    background: var(--gold);
}

.error-page p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 38px;
}

.error-primary,
.error-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 28px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;

    text-transform: uppercase;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.error-primary {
    color: #fff;

    border: 1px solid var(--blue);
    background: var(--blue);
}

.error-primary:hover {
    border-color: var(--blue-dark);
    background: var(--blue-dark);
}

.error-secondary {
    color: var(--blue);

    border: 1px solid var(--blue);
    background: transparent;
}

.error-secondary:hover {
    color: #fff;

    background: var(--blue);
}


/* MOVIL */

@media (max-width: 600px) {

    .error-page {
        min-height: 500px;
        padding: 70px 0;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;

        max-width: 300px;

        margin-right: auto;
        margin-left: auto;
    }

}