/*
Theme Name: Colegio de Arquitectos de Apurímac (CAA)
Theme URI: http://colegiodearquitectos.local/
Author: Antigravity
Author URI: http://colegiodearquitectos.local/
Description: Theme for Colegio de Arquitectos de Apurímac, responsive design with Grid and Flexbox.
Version: 1.0.0
Text Domain: caa
*/

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0b1c2e; 
    --secondary-color: #d1a84f; 
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #fcfcfc;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --site-max-width: 1360px;
    --site-gutter: 24px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}

.header-container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    height: 80px;
}

.site-header {
    background: linear-gradient(180deg, rgba(8, 22, 38, 0.98) 0%, rgba(5, 14, 25, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 9999;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45), 0 2px 12px rgba(209, 168, 79, 0.08);
    border-bottom: 2px solid rgba(209, 168, 79, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    padding-top: 80px; 
}

body.nav-open,
body.drawer-open {
    overflow: hidden;
    touch-action: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-branding .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    line-height: 1;
}

.caa-brand-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.caa-brand-mobile .caa-logo-icon-mobile {
    display: block;
    height: 38px;
    width: 38px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(209, 168, 79, 0.35));
}

.caa-brand-mobile-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.1;
}

.caa-brand-mobile-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.6px;
    font-family: var(--font-primary);
}

.caa-brand-mobile-sub {
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.caa-brand-svg-desktop {
    display: block;
    height: 44px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-branding .logo-link:hover .caa-brand-svg-desktop,
.site-branding .logo-link:hover .caa-brand-mobile {
    transform: scale(1.03);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 0.35rem;
    height: 80px;
}

.main-navigation > ul,
.main-navigation > .nav-menu,
#primary-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(4px, 0.75vw, 10px);
    height: 80px;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    white-space: nowrap;
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-navigation > ul > li > a,
.main-navigation > .nav-menu > li > a,
#primary-menu > li > a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.75rem, 0.81vw, 0.82rem);
    text-transform: uppercase;
    letter-spacing: 0.35px;
    padding: 9px clamp(7px, 0.65vw, 12px);
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid transparent;
    position: relative;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation a:hover {
    color: #ffffff;
    background: rgba(209, 168, 79, 0.12);
    border-color: rgba(209, 168, 79, 0.3);
    box-shadow: 0 4px 14px rgba(209, 168, 79, 0.15);
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
    color: var(--secondary-color);
    background: rgba(209, 168, 79, 0.14);
    border-color: rgba(209, 168, 79, 0.35);
}

.main-navigation > ul > li > a::after,
.main-navigation > .nav-menu > li > a::after,
#primary-menu > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #d1a84f 0%, #fceab3 50%, #d1a84f 100%);
    transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 8px rgba(209, 168, 79, 0.6);
}

.main-navigation > ul > li > a:hover::after,
.main-navigation > .nav-menu > li > a:hover::after,
#primary-menu > li > a:hover::after,
.main-navigation li.current-menu-item > a::after {
    width: calc(100% - 10px);
}

.main-navigation li.nav-item-mesa a,
.main-navigation li a[href*="mesa-de-partes"] {
    background: linear-gradient(135deg, rgba(209, 168, 79, 0.25) 0%, rgba(209, 168, 79, 0.08) 100%);
    border: 1.5px solid var(--secondary-color);
    color: #fceab3 !important;
    border-radius: 24px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 18px rgba(209, 168, 79, 0.22);
    margin-left: 4px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation li.nav-item-mesa a:hover,
.main-navigation li a[href*="mesa-de-partes"]:hover {
    background: var(--secondary-color);
    color: #071524 !important;
    box-shadow: 0 6px 24px rgba(209, 168, 79, 0.5);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

.main-navigation li.nav-item-mesa a::after,
.main-navigation li a[href*="mesa-de-partes"]::after {
    display: none !important;
}

.main-navigation li.menu-item-has-children {
    position: relative;
}

.main-navigation li.menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
    z-index: 9998;
}

.main-navigation > ul > li.menu-item-has-children > a,
.main-navigation > .nav-menu > li.menu-item-has-children > a,
#primary-menu > li.menu-item-has-children > a {
    padding-right: 20px;
}

.main-navigation > ul > li.menu-item-has-children > a::before,
.main-navigation > .nav-menu > li.menu-item-has-children > a::before,
#primary-menu > li.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    right: 7px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
    pointer-events: none;
}

.main-navigation > ul > li.menu-item-has-children:hover > a::before,
.main-navigation > .nav-menu > li.menu-item-has-children:hover > a::before,
#primary-menu > li.menu-item-has-children:hover > a::before,
.main-navigation li.menu-item-has-children.is-open > a::before {
    transform: translateY(-30%) rotate(-135deg);
    border-color: var(--secondary-color);
}

.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 320px;
    background: linear-gradient(165deg, rgba(8, 20, 34, 0.98) 0%, rgba(4, 12, 22, 0.99) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(209, 168, 79, 0.35);
    border-top: 2px solid var(--secondary-color);
    border-radius: 14px;
    padding: 10px 10px 12px 10px;
    box-shadow: 0 24px 54px -10px rgba(0, 0, 0, 0.82), 0 0 25px rgba(209, 168, 79, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
    pointer-events: none;
    box-sizing: border-box;
}

.main-navigation .sub-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
    background: transparent;
    z-index: 1;
}

.main-navigation .sub-menu::after {
    content: '';
    position: absolute;
    top: -7px;
    width: 12px;
    height: 12px;
    background: #071524;
    border-left: 1px solid rgba(209, 168, 79, 0.45);
    border-top: 1px solid rgba(209, 168, 79, 0.45);
    transform: rotate(45deg);
    z-index: 2;
}

.main-navigation li.nav-item-institucional > .sub-menu {
    min-width: 350px;
    left: 0;
    right: auto;
}
.main-navigation li.nav-item-institucional > .sub-menu::after {
    left: 45px;
}

.main-navigation li.nav-item-arquitectos > .sub-menu {
    min-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    left: 50%;
    margin-left: -300px;
    right: auto;
}
.main-navigation li.nav-item-arquitectos > .sub-menu::after {
    left: 50%;
    margin-left: -6px;
}

.main-navigation li.nav-item-normatividad > .sub-menu {
    min-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    left: 50%;
    margin-left: -300px;
    right: auto;
}
.main-navigation li.nav-item-normatividad > .sub-menu::after {
    left: 50%;
    margin-left: -6px;
}

.main-navigation li.nav-item-eventos > .sub-menu {
    min-width: 350px;
    left: 50%;
    margin-left: -175px;
    right: auto;
}
.main-navigation li.nav-item-eventos > .sub-menu::after {
    left: 50%;
    margin-left: -6px;
}

.main-navigation li.menu-item-has-children:hover > .sub-menu,
.main-navigation li.menu-item-has-children:focus-within > .sub-menu,
.main-navigation li.menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.main-navigation .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.caa-subitem-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.caa-subitem-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--secondary-color);
    border-radius: 0 2px 2px 0;
    transition: height 0.22s ease;
}

.caa-subitem-link:hover::before {
    height: 70%;
}

.caa-subitem-link:hover {
    background: linear-gradient(135deg, rgba(209, 168, 79, 0.16) 0%, rgba(209, 168, 79, 0.04) 100%);
    border-color: rgba(209, 168, 79, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.caa-subitem-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(209, 168, 79, 0.1);
    border: 1px solid rgba(209, 168, 79, 0.28);
    color: var(--secondary-color, #d1a84f);
    flex-shrink: 0;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.caa-subitem-icon-box svg {
    display: block;
    width: 18px;
    height: 18px;
}

.caa-subitem-link:hover .caa-subitem-icon-box {
    background: var(--secondary-color);
    color: #071524;
    border-color: var(--secondary-color);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(209, 168, 79, 0.4);
}

.caa-subitem-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.caa-subitem-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.25;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.caa-subitem-link:hover .caa-subitem-title {
    color: #ffffff;
}

.caa-subitem-desc {
    font-size: 0.72rem;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.35;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.caa-subitem-link:hover .caa-subitem-desc {
    color: #e2e8f0;
}

.caa-subitem-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(209, 168, 79, 0.45);
    flex-shrink: 0;
    transform: translateX(-4px);
    opacity: 0.4;
    transition: all 0.22s ease;
}

.caa-subitem-arrow svg {
    display: block;
}

.caa-subitem-link:hover .caa-subitem-arrow {
    color: var(--secondary-color);
    opacity: 1;
    transform: translateX(0);
}

.main-navigation .sub-menu li a:not(.caa-subitem-link) {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.main-navigation .sub-menu li a:not(.caa-subitem-link):hover {
    background: rgba(209, 168, 79, 0.15);
    color: var(--secondary-color);
    transform: translateX(4px);
}

.main-navigation .sub-menu a::after,
.main-navigation .sub-menu a::before {
    display: none !important;
}

.nav-more-wrapper {
    position: relative;
    display: none; 
    align-items: center;
    flex-shrink: 0;
}

.nav-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-more-btn:hover,
.nav-more-wrapper.is-open .nav-more-btn {
    background: rgba(209, 168, 79, 0.16);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.more-chevron {
    transition: transform 0.25s ease;
}

.nav-more-wrapper.is-open .more-chevron {
    transform: rotate(180deg);
}

.nav-more-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(10, 24, 38, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(209, 168, 79, 0.35);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 180px;
    list-style: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-more-wrapper.is-open .nav-more-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-more-dropdown li {
    display: none; 
}

.nav-more-dropdown a {
    display: block;
    padding: 10px 18px;
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-more-dropdown a:hover {
    background: rgba(209, 168, 79, 0.15);
    color: var(--secondary-color);
}

.nav-more-dropdown a::after {
    display: none;
}

.caa-mobile-drawer,
.caa-drawer-backdrop {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0; 
    position: relative;
    z-index: 1000;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px; 
}

.search-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(209, 168, 79, 0.35);
    color: var(--secondary-color, #d1a84f);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    padding: 0;
    flex-shrink: 0;
}

.search-toggle-btn:hover {
    background: rgba(209, 168, 79, 0.22);
    border-color: var(--secondary-color, #d1a84f);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(209, 168, 79, 0.45);
    transform: scale(1.06);
}

.header-search.is-active .search-toggle-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
}

.search-expand-wrap {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s;
    z-index: 10010; 
    width: 390px;
    max-width: calc(100vw - 32px);
}

.header-search.is-active .search-expand-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.search-expand-wrap .search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 24, 38, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid var(--secondary-color, #d1a84f);
    border-radius: 30px;
    padding: 4px 6px 4px 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 24px rgba(209, 168, 79, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.search-expand-wrap .search-submit {
    background: transparent;
    border: none;
    color: var(--secondary-color, #d1a84f);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.search-expand-wrap .search-submit:hover {
    transform: scale(1.15);
    color: #ffffff;
}

.search-expand-wrap .search-field {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 6px 0;
    outline: none;
    flex: 1 1 auto;
    min-width: 60px;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
}

.search-expand-wrap .search-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.search-expand-wrap .search-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.search-expand-wrap .search-close-btn:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    padding: 8px;
    width: 42px;
    height: 42px;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--secondary-color);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--secondary-color);
}

.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0b1c2e;
}

.hero-slider {
    width: 100%;
    height: calc(100vh - 74px);
    min-height: 720px;
    max-height: 980px;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 24, 38, 0.90) 0%,
        rgba(11, 28, 46, 0.72) 45%,
        rgba(11, 28, 46, 0.55) 100%
    );
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 920px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .slider-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.slider-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(209, 168, 79, 0.15);
    color: var(--secondary-color);
    border: 1px solid rgba(209, 168, 79, 0.45);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    animation: fadeInDown 0.8s ease backwards;
}

.slider-title {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    max-width: 880px;
}

.slider-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 740px;
    margin: 0 auto 2.2rem auto;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.slider-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d1a84f 0%, #b88f38 100%);
    color: #0b1c2e;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(209, 168, 79, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(209, 168, 79, 0.65);
    color: #050e18;
}

.slider-btn svg {
    transition: transform 0.25s ease;
}

.slider-btn:hover svg {
    transform: translateX(4px);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 28, 46, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--secondary-color) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: 900;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #0b1c2e !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(209, 168, 79, 0.5);
}

.hero-slider .swiper-pagination {
    bottom: 80px !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border-radius: 50%;
    margin: 0 5px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .swiper-pagination-bullet-active {
    width: 32px !important;
    border-radius: 10px !important;
    background: var(--secondary-color) !important;
    box-shadow: 0 0 12px rgba(209, 168, 79, 0.7);
}

.site-main {
    padding: 3rem 0;
}

.home .site-main,
.blog .site-main,
.archive .site-main,
.news-archive-page,
.single-post-main,
.site-main:has(.page-hero-banner),
.site-main:has(.archive-hero-header) {
    padding-top: 0 !important;
}

.quick-access-section {
    position: relative;
    z-index: 25;
    margin-top: -70px;
    margin-bottom: 4rem;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.quick-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(209, 168, 79, 0.30);
    box-shadow: 0 24px 50px -12px rgba(11, 28, 46, 0.12), 0 4px 16px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.quick-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -80%;
    width: 60%;
    height: 220%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: none;
    pointer-events: none;
    opacity: 0;
    z-index: 6;
}

.quick-card:hover::after {
    left: 160%;
    opacity: 1;
    transition: left 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.quick-card-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #b88f38 0%, #fae69e 50%, #b88f38 100%);
    transition: height 0.25s ease, box-shadow 0.3s ease;
}

.quick-card:hover .quick-card-bar {
    height: 6px;
    background: linear-gradient(90deg, #d1a84f 0%, #fae69e 50%, #d1a84f 100%);
    box-shadow: 0 3px 14px rgba(209, 168, 79, 0.7);
}

.quick-card-inner {
    padding: 34px 30px 28px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.quick-card-watermark {
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: 'Cinzel', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", serif;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(209, 168, 79, 0.14);
    pointer-events: none;
    transition: all 0.4s ease;
    user-select: none;
    z-index: 1;
}

.quick-card:hover .quick-card-watermark {
    color: rgba(209, 168, 79, 0.32);
    transform: translateY(-4px) scale(1.06);
}

.quick-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.quick-card-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b1c2e 0%, #162f4d 100%);
    border: 1.5px solid rgba(209, 168, 79, 0.4);
    color: #e5c365;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(11, 28, 46, 0.18);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.quick-card:hover .quick-card-icon-box {
    background: linear-gradient(135deg, #d1a84f 0%, #b88f38 100%);
    color: #0b1c2e;
    border-color: #d1a84f;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 24px rgba(209, 168, 79, 0.45);
}

.quick-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #8c6a18;
    background: rgba(209, 168, 79, 0.12);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(209, 168, 79, 0.35);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(209, 168, 79, 0.08);
}

.tag-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d1a84f;
    display: inline-block;
    box-shadow: 0 0 8px #d1a84f;
}

.quick-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.quick-card-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 7px;
    display: block;
}

.quick-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b1c2e;
    margin-bottom: 12px;
    line-height: 1.24;
    letter-spacing: -0.4px;
    transition: color 0.25s ease;
}

.quick-card:hover .quick-card-title {
    color: #b88f38;
}

.quick-card-desc {
    font-size: 0.94rem;
    color: #526071;
    line-height: 1.64;
    margin-bottom: 22px;
    flex-grow: 1;
}

.quick-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(11, 28, 46, 0.08);
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.25s ease;
}

.feature-pill svg {
    color: #b88f38;
    flex-shrink: 0;
}

.quick-card:hover .feature-pill {
    background: #ffffff;
    border-color: rgba(209, 168, 79, 0.45);
    color: #0b1c2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(11, 28, 46, 0.06);
}

.quick-card-footer {
    margin-top: auto;
    padding-top: 4px;
    position: relative;
    z-index: 2;
}

.quick-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #f8fafc;
    border: 1px solid rgba(11, 28, 46, 0.09);
    padding: 12px 16px 12px 20px;
    border-radius: 14px;
    font-size: 0.90rem;
    font-weight: 700;
    color: #0b1c2e;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-card-btn-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1a84f 0%, #b88f38 100%);
    color: #0b1c2e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(209, 168, 79, 0.35);
}

.quick-card:hover .quick-card-btn {
    background: linear-gradient(135deg, #0b1c2e 0%, #162f4d 100%);
    color: #ffffff;
    border-color: #0b1c2e;
    box-shadow: 0 8px 24px rgba(11, 28, 46, 0.25);
}

.quick-card:hover .quick-card-btn-arrow {
    background: #ffffff;
    color: #0b1c2e;
    transform: translateX(4px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quick-card:hover {
    transform: translateY(-10px);
    border-color: rgba(209, 168, 79, 0.65);
    box-shadow: 0 30px 60px -12px rgba(11, 28, 46, 0.18),
                0 0 0 1px rgba(209, 168, 79, 0.4);
}

.news-section {
    padding: 5rem 0 6rem 0;
    background: #f8fafc;
    position: relative;
    border-top: 1px solid rgba(11, 28, 46, 0.06);
}

.section-header {
    margin-bottom: 3.5rem;
    position: relative;
}

.section-eyebrow-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.section-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 30px;
    background: rgba(209, 168, 79, 0.1);
    border: 1px solid rgba(209, 168, 79, 0.3);
    color: #9c7b1c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(209, 168, 79, 0.08);
}

.section-eyebrow-badge .eyebrow-icon {
    color: var(--secondary-color, #d1a84f);
    font-size: 0.85rem;
}

.section-title {
    font-size: clamp(2.1rem, 3.5vw, 2.85rem);
    font-weight: 800;
    color: var(--primary-color, #0b1c2e);
    line-height: 1.2;
    margin: 0 0 1rem 0;
    letter-spacing: -0.6px;
}

.section-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 1.4rem auto;
    max-width: 200px;
}

.divider-line {
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(209, 168, 79, 0.65), transparent);
}

.divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--secondary-color, #d1a84f);
    transform: rotate(45deg);
    border-radius: 1px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(209, 168, 79, 0.6);
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
}

.news-categories-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.cat-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    background: #ffffff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    cursor: pointer;
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(11, 28, 46, 0.15);
}

.cat-pill.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #0b1c2e;
    font-weight: 700;
}

.news-lead-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 40px -10px rgba(11, 28, 46, 0.08);
    border: 1px solid rgba(11, 28, 46, 0.08);
    margin-bottom: 3.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.news-lead-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px -15px rgba(11, 28, 46, 0.16), 0 0 0 1px rgba(209, 168, 79, 0.4);
    border-color: rgba(209, 168, 79, 0.4);
}

.news-lead-media {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.news-lead-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.news-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-lead-card:hover .news-lead-media img {
    transform: scale(1.05);
}

.news-lead-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: #0b1c2e;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.news-lead-body {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-lead-meta,
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-meta-dot {
    color: #cbd5e1;
}

.news-lead-title {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.1rem;
    color: var(--primary-color);
}

.news-lead-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-lead-title a:hover {
    color: var(--secondary-color);
}

.news-lead-excerpt {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 2rem;
}

.btn-read-lead {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-read-lead:hover {
    background: var(--secondary-color);
    color: #0b1c2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 168, 79, 0.4);
}

.btn-read-lead svg {
    transition: transform 0.2s ease;
}

.btn-read-lead:hover svg {
    transform: translateX(4px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 24px -6px rgba(11, 28, 46, 0.06);
    border: 1px solid rgba(11, 28, 46, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d1a84f 0%, #f7df94 50%, #b88a3b 100%);
    opacity: 0;
    transform: scaleX(0.2);
    transform-origin: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px -12px rgba(11, 28, 46, 0.15), 0 0 0 1px rgba(209, 168, 79, 0.35);
    border-color: rgba(209, 168, 79, 0.35);
}

.news-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.news-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.08);
}

.news-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 28, 46, 0.85);
    color: var(--secondary-color);
    border: 1px solid rgba(209, 168, 79, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 14px;
    z-index: 2;
}

.news-card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-card-title a:hover {
    color: var(--secondary-color);
}

.news-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.news-card-link:hover {
    color: var(--primary-color);
    gap: 9px;
}

.news-all-cta {
    margin-top: 3.5rem;
}

.btn-all-news {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #17375a 100%);
    color: #ffffff;
    padding: 15px 36px;
    border-radius: 35px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(11, 28, 46, 0.2);
    border: 1px solid rgba(209, 168, 79, 0.3);
    transition: all 0.3s ease;
}

.btn-all-news:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b88f38 100%);
    color: #0b1c2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(209, 168, 79, 0.45);
}

.archive-hero-header {
    background: linear-gradient(135deg, #0b1c2e 0%, #152d47 100%);
    padding: 4.5rem 0 3.5rem 0;
    color: #ffffff;
    border-bottom: 3px solid var(--secondary-color);
}

.archive-main-title {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.archive-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto;
}

.archive-pagination {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
}

.archive-pagination ul.page-numbers {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--secondary-color);
    color: #0b1c2e;
    border-color: var(--secondary-color);
    font-weight: 700;
}

.single-article-header {
    background: #f8fafc;
    padding: 3.5rem 0 2.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2.5rem;
}

.single-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.single-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-back-link:hover {
    color: var(--secondary-color);
}

.single-cat-badge {
    background: var(--secondary-color);
    color: #0b1c2e;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 15px;
    text-decoration: none;
    text-transform: uppercase;
}

.single-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    line-height: 1.22;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #64748b;
}

.single-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-featured-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.single-featured-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.single-entry-content {
    font-size: 1.12rem;
    line-height: 1.85;
    color: #334155;
}

.single-entry-content p {
    margin-bottom: 1.8rem;
}

.single-entry-content h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem 0;
    font-weight: 700;
}

.single-entry-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 1.2rem 1.8rem;
    background: #fdfaf3;
    font-style: italic;
    color: #1e293b;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.single-entry-content ul,
.single-entry-content ol {
    margin: 1.5rem 0 2rem 1.8rem;
    line-height: 1.8;
}

.institutional-footnote {
    margin-top: 3.5rem;
    padding: 1.8rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.institutional-footnote h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.institutional-footnote p {
    margin: 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

.single-related-section {
    background: #f8fafc;
    padding: 4rem 0;
    margin-top: 5rem;
    border-top: 1px solid #e2e8f0;
}

.related-section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 840px) {
    .news-lead-card {
        grid-template-columns: 1fr;
    }
    .news-lead-media {
        min-height: 260px;
    }
    .news-lead-body {
        padding: 1.8rem;
    }
    .single-meta {
        flex-wrap: wrap;
    }
}
.site-footer {
    background: radial-gradient(circle at 85% 12%, rgba(209, 168, 79, 0.07) 0%, transparent 45%),
                linear-gradient(180deg, #071322 0%, #03080f 100%);
    color: #e2e8f0;
    margin-top: auto;
    position: relative;
    border-top: 1px solid rgba(209, 168, 79, 0.35);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.4);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(209, 168, 79, 0.85) 50%, transparent);
    pointer-events: none;
}

.footer-main {
    padding: 5rem 0 3.8rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.05fr 1.35fr;
    gap: 3.5rem;
}

.footer-brand {
    margin-bottom: 1.2rem;
}

.footer-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(209, 168, 79, 0.1);
    border: 1px solid rgba(209, 168, 79, 0.28);
    color: #fceab3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-badge-pill .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1a84f;
    box-shadow: 0 0 8px #d1a84f;
    animation: caaFootPulse 2.5s infinite;
}

@keyframes caaFootPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
    background: linear-gradient(135deg, #d1a84f 0%, #b88a3b 100%);
    color: #071320;
    border-color: #fceab3;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(209, 168, 79, 0.4);
}

.footer-heading {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #d1a84f, #f7df94);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(209, 168, 79, 0.5);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-menu li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-menu li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1a84f;
    opacity: 0;
    transform: scale(0);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.footer-menu li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-menu li a:hover::before {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(209, 168, 79, 0.8);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(209, 168, 79, 0.08);
    border: 1px solid rgba(209, 168, 79, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d1a84f;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover .footer-contact-icon {
    background: rgba(209, 168, 79, 0.18);
    border-color: #d1a84f;
    color: #fceab3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 168, 79, 0.25);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #64748b;
}

.contact-val {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-val:hover {
    color: #f7df94;
}

.footer-bottom {
    background: #03080e;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-copy p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-copy strong {
    color: #cbd5e1;
    font-weight: 600;
}

.footer-credits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.credit-label {
    font-size: 0.85rem;
    color: #64748b;
}

.credit-brand-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.credit-brand-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 680px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-credits {
        justify-content: center;
    }
}

@media (min-width: 1025px) and (max-width: 1240px) {
    .container,
    .header-container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .desktop-navigation,
    .main-navigation {
        margin-left: 0.5rem;
    }
    .desktop-navigation > ul,
    .desktop-navigation > .nav-menu,
    .main-navigation > ul,
    .main-navigation > .nav-menu,
    #primary-menu {
        gap: clamp(3px, 0.6vw, 8px);
    }
    .desktop-navigation > ul > li > a,
    .desktop-navigation > .nav-menu > li > a,
    .main-navigation > ul > li > a,
    .main-navigation > .nav-menu > li > a,
    #primary-menu > li > a {
        font-size: 0.78rem;
        padding: 8px clamp(8px, 0.7vw, 11px);
        font-weight: 600;
    }
    .desktop-navigation > ul > li.menu-item-has-children > a,
    .desktop-navigation > .nav-menu > li.menu-item-has-children > a,
    .main-navigation > ul > li.menu-item-has-children > a,
    .main-navigation > .nav-menu > li.menu-item-has-children > a,
    #primary-menu > li.menu-item-has-children > a {
        padding-right: 18px;
    }
    .desktop-navigation li.nav-item-mesa a,
    .desktop-navigation li a[href*="mesa-de-partes"],
    .main-navigation li.nav-item-mesa a,
    .main-navigation li a[href*="mesa-de-partes"] {
        padding: 7px 14px;
        font-size: 0.78rem;
        font-weight: 700;
    }
}

@media (max-width: 1024px) {
    
    .caa-brand-svg-desktop {
        display: none !important;
    }

    .caa-brand-mobile {
        display: flex !important;
    }

    
    .desktop-navigation,
    .main-navigation {
        display: none !important;
    }

    
    .mobile-menu-toggle {
        display: flex !important;
    }

    .container,
    .header-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-container {
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .site-header {
        height: 72px;
        border-bottom: 2px solid rgba(209, 168, 79, 0.35);
    }

    body {
        padding-top: 72px;
    }

    
    .search-expand-wrap {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 10px 16px;
        background: rgba(10, 24, 38, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1.5px solid var(--secondary-color);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
        box-sizing: border-box;
        transform: translateY(-8px);
        z-index: 99999;
    }

    .header-search.is-active .search-expand-wrap {
        transform: translateY(0);
    }

    
    .caa-drawer-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(3, 10, 18, 0.72);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 100000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
        pointer-events: none;
    }

    .caa-drawer-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .caa-mobile-drawer {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 380px;
        max-width: 88vw;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, rgba(8, 20, 32, 0.98) 0%, rgba(5, 14, 24, 0.99) 100%);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid rgba(209, 168, 79, 0.3);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(209, 168, 79, 0.1);
        z-index: 100001;
        flex-direction: column;
        transform: translateX(105%);
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
        visibility: hidden;
        pointer-events: none;
        box-sizing: border-box;
    }

    .caa-mobile-drawer.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    
    .caa-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 20px;
        background: rgba(11, 28, 46, 0.7);
        border-bottom: 1px solid rgba(209, 168, 79, 0.2);
        flex-shrink: 0;
    }

    .caa-drawer-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }

    .caa-drawer-brand-logo {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        filter: drop-shadow(0 2px 8px rgba(209, 168, 79, 0.3));
    }

    .caa-drawer-brand-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .caa-drawer-badge {
        font-size: 0.62rem;
        font-weight: 700;
        color: var(--secondary-color);
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .caa-drawer-title {
        font-size: 0.92rem;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.2;
    }

    .caa-drawer-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: #cbd5e1;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .caa-drawer-close-btn:hover {
        background: rgba(220, 38, 38, 0.25);
        border-color: #ef4444;
        color: #ffffff;
        transform: rotate(90deg);
    }

    
    .caa-drawer-body {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 18px 20px 24px 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        scrollbar-width: thin;
        scrollbar-color: rgba(209, 168, 79, 0.35) transparent;
    }

    
    .caa-drawer-search {
        width: 100%;
        flex-shrink: 0;
    }

    .caa-drawer-search-form {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1.5px solid rgba(209, 168, 79, 0.45);
        border-radius: 28px;
        padding: 4px 6px 4px 14px;
        transition: all 0.25s ease;
        width: 100%;
        box-sizing: border-box;
    }

    .caa-drawer-search-form:focus-within {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--secondary-color);
        box-shadow: 0 0 16px rgba(209, 168, 79, 0.35);
    }

    .caa-drawer-search-icon {
        color: var(--secondary-color);
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .caa-drawer-search-input {
        flex: 1 1 auto;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 0.88rem;
        font-family: inherit;
        outline: none;
        padding: 7px 0;
        min-width: 40px;
    }

    .caa-drawer-search-input::placeholder {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.82rem;
    }

    .caa-drawer-search-submit {
        background: linear-gradient(135deg, #d1a84f 0%, #b88f38 100%);
        border: none;
        color: #0b1c2e;
        font-weight: 700;
        font-size: 0.75rem;
        padding: 6px 14px;
        border-radius: 20px;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .caa-drawer-search-submit:hover {
        transform: scale(1.05);
    }

    
    .caa-mobile-nav {
        width: 100%;
        flex-shrink: 0;
    }

    .caa-mobile-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 7px;
        width: 100%;
    }

    .caa-mobile-menu > li {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.25s ease;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .caa-mobile-menu > li:hover,
    .caa-mobile-menu > li.is-open {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(209, 168, 79, 0.4);
    }

    .caa-mobile-menu > li.current-menu-item {
        border-color: var(--secondary-color);
        background: rgba(209, 168, 79, 0.12);
    }

    .caa-mobile-menu > li > a {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        padding: 12px 16px;
        color: #e2e8f0;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        transition: color 0.2s ease;
    }

    .caa-mobile-menu > li > a:hover,
    .caa-mobile-menu > li.current-menu-item > a {
        color: var(--secondary-color);
    }

    
    .caa-mobile-submenu-toggle {
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        transition: color 0.2s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .caa-mobile-submenu-toggle:hover {
        color: var(--secondary-color);
    }

    .caa-mobile-submenu-toggle.is-active,
    .caa-mobile-menu > li.is-open > .caa-mobile-submenu-toggle {
        transform: rotate(180deg);
        color: var(--secondary-color);
    }

    
    .caa-mobile-menu .sub-menu {
        display: none;
        width: 100%;
        flex-basis: 100%;
        list-style: none;
        margin: 4px 6px 8px 6px;
        padding: 6px;
        background: rgba(4, 11, 18, 0.75);
        border: 1px solid rgba(209, 168, 79, 0.22);
        border-left: 3px solid var(--secondary-color);
        border-radius: 8px;
        box-sizing: border-box;
        flex-direction: column;
        gap: 5px;
    }

    .caa-mobile-menu > li.is-open > .sub-menu {
        display: flex;
        animation: caaSubmenuFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes caaSubmenuFade {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .caa-mobile-menu .sub-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    
    .caa-mobile-menu .sub-menu .caa-subitem-link {
        padding: 8px 10px;
        gap: 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .caa-mobile-menu .sub-menu .caa-subitem-icon-box {
        width: 32px;
        height: 32px;
        border-radius: 7px;
    }

    .caa-mobile-menu .sub-menu .caa-subitem-icon-box svg {
        width: 16px;
        height: 16px;
    }

    .caa-mobile-menu .sub-menu .caa-subitem-title {
        font-size: 0.83rem;
        white-space: normal;
    }

    .caa-mobile-menu .sub-menu .caa-subitem-desc {
        font-size: 0.69rem;
        white-space: normal;
        color: #94a3b8;
    }

    .caa-mobile-menu .sub-menu .caa-subitem-arrow {
        display: none; 
    }

    
    .caa-mobile-menu .sub-menu li a:not(.caa-subitem-link) {
        display: flex;
        align-items: center;
        padding: 9px 12px;
        color: #94a3b8;
        font-size: 0.84rem;
        font-weight: 500;
        text-decoration: none;
        border-radius: 6px;
        line-height: 1.35;
        transition: all 0.2s ease;
    }

    .caa-mobile-menu .sub-menu li a:not(.caa-subitem-link):hover {
        color: var(--secondary-color);
        background: rgba(209, 168, 79, 0.12);
        padding-left: 16px;
    }

    
    .caa-mobile-menu > li.nav-item-mesa {
        display: none !important;
    }

    
    .caa-drawer-cta-wrap {
        width: 100%;
        margin-top: 6px;
        flex-shrink: 0;
    }

    .caa-drawer-cta-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        padding: 13px 18px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(209, 168, 79, 0.25) 0%, rgba(209, 168, 79, 0.08) 100%);
        border: 1.5px solid var(--secondary-color);
        color: #f7df94 !important;
        font-size: 0.88rem;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 16px rgba(209, 168, 79, 0.2);
        box-sizing: border-box;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .caa-drawer-cta-btn:hover {
        background: var(--secondary-color);
        color: #0b1c2e !important;
        box-shadow: 0 6px 22px rgba(209, 168, 79, 0.45);
        transform: translateY(-2px);
    }

    .caa-drawer-cta-btn .cta-arrow {
        font-size: 1.15rem;
        transition: transform 0.2s ease;
    }

    .caa-drawer-cta-btn:hover .cta-arrow {
        transform: translateX(4px);
    }

    
    .caa-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 20px;
        background: rgba(6, 16, 26, 0.95);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
    }

    .caa-drawer-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.80rem;
        color: #94a3b8;
    }

    .caa-drawer-contact-item a {
        color: var(--secondary-color);
        text-decoration: none;
        font-weight: 600;
    }

    .caa-drawer-social-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 2px;
    }

    .drawer-social-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: #cbd5e1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .drawer-social-btn:hover {
        background: rgba(209, 168, 79, 0.2);
        border-color: var(--secondary-color);
        color: var(--secondary-color);
        transform: translateY(-2px);
    }

    .hero-slider {
        height: calc(100vh - 72px);
        min-height: 580px;
    }

    .slider-title {
        font-size: 2.1rem;
    }

    .slider-subtitle {
        font-size: 1rem;
        margin-bottom: 1.6rem;
    }

    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none; 
    }
}

@media (max-width: 540px) {
    .container,
    .header-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-container {
        gap: 10px;
        height: 68px;
    }

    .site-header {
        height: 68px;
    }

    body {
        padding-top: 68px;
    }

    .caa-brand-mobile .caa-logo-icon-mobile {
        width: 38px;
        height: 38px;
    }

    .search-expand-wrap {
        top: 68px;
        padding: 8px 12px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .hero-slider {
        height: calc(100vh - 68px);
        min-height: 520px;
    }

    .slider-badge {
        font-size: 0.7rem;
        padding: 4px 14px;
        margin-bottom: 0.8rem;
    }

    .slider-title {
        font-size: 1.6rem;
        line-height: 1.22;
        margin-bottom: 0.8rem;
    }

    .slider-subtitle {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 1.3rem;
    }

    .slider-btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    .quick-access-section {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .quick-access-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .quick-card-inner {
        padding: 26px 20px 22px 20px;
    }

    .quick-card-watermark {
        font-size: 2.6rem;
        top: 14px;
        right: 18px;
    }

    .quick-card-title {
        font-size: 1.25rem;
    }

    .hero-slider .swiper-pagination {
        bottom: 20px !important;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .quick-access-grid {
        gap: 20px;
    }
    .quick-card-inner {
        padding: 26px 22px 24px 22px;
    }
    .quick-card-watermark {
        font-size: 2.8rem;
        top: 16px;
        right: 20px;
    }
    .quick-card-title {
        font-size: 1.28rem;
    }
}

@media (max-width: 860px) {
    .quick-access-section {
        margin-top: -30px;
        margin-bottom: 2rem;
    }
    .quick-access-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-slider .swiper-pagination {
        bottom: 25px !important;
    }
}

.inner-page-wrapper {
    background: #f8fafc;
    min-height: 80vh;
}

.inner-page-wrapper {
    width: 100%;
}

.page-hero-banner {
    background: linear-gradient(135deg, #0b1c2e 0%, #162f4d 100%);
    padding: 6.5rem 0 4rem 0 !important;
    position: relative;
    color: #fff;
    border-bottom: 2px solid rgba(209, 168, 79, 0.35);
}

.page-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(209, 168, 79, 0.12), transparent 50%);
    pointer-events: none;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.hero-banner-content.text-center {
    text-align: left; 
}

.hero-banner-content .section-title-divider {
    justify-content: flex-start;
    margin: 1.25rem 0;
}

.banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(209, 168, 79, 0.12);
    border: 1px solid rgba(209, 168, 79, 0.35);
    color: #f7df94;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.banner-title {
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    max-width: 1100px;
}

.banner-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0;
    max-width: 950px;
}

.main-page-container {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

.dean-section {
    margin-bottom: 4rem;
}

.dean-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(209, 168, 79, 0.2);
    box-shadow: 0 20px 50px -10px rgba(11, 28, 46, 0.1), 0 0 0 1px rgba(209, 168, 79, 0.08);
    display: grid;
    grid-template-columns: 360px 1fr;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dean-card:hover {
    box-shadow: 0 24px 60px -10px rgba(11, 28, 46, 0.14), 0 0 0 1px rgba(209, 168, 79, 0.3);
}

.dean-media {
    background: linear-gradient(145deg, #071524 0%, #0b1c2e 60%, #152e4a 100%);
    padding: 3.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-right: 1px solid rgba(209, 168, 79, 0.25);
}

.dean-avatar-frame {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    padding: 5px;
    margin-bottom: 1.6rem;
    position: relative;
    background: radial-gradient(circle, rgba(209, 168, 79, 0.25) 0%, transparent 70%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(209, 168, 79, 0.35);
    transition: transform 0.35s ease;
}

.dean-card:hover .dean-avatar-frame {
    transform: scale(1.03);
}

.dean-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.dean-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7df94;
}

.dean-seal-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: linear-gradient(135deg, #d1a84f 0%, #f4d382 50%, #b8912e 100%);
    color: #0b1c2e;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #fff;
}

.dean-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dean-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #f7df94;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    background: rgba(209, 168, 79, 0.15);
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(209, 168, 79, 0.35);
}

.dean-name {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.dean-role {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.dean-statement {
    padding: 3.5rem 3.5rem 3rem 3.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.statement-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.4rem;
    position: relative;
    letter-spacing: -0.4px;
}

.statement-heading::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    margin-top: 8px;
}

.statement-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 2rem;
}

.statement-body p {
    margin-bottom: 1.1rem;
}

.dean-signature {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sig-line {
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
    margin-bottom: 8px;
}

.mision-vision-section {
    margin-bottom: 4.5rem;
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 10px 30px rgba(11, 28, 46, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 28, 46, 0.1);
}

.mv-card-bar {
    height: 4px;
    background: linear-gradient(90deg, #b8912e, #e2be58, #b8912e);
}

.mv-card-body {
    padding: 2.2rem 2rem;
    flex-grow: 1;
}

.mv-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(11, 28, 46, 0.08);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.mv-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.mv-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.mv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.92rem;
    color: #475569;
}

.mv-list li {
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
    padding-left: 18px;
}

.mv-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.7rem;
    top: 2px;
}

.board-section {
    margin-bottom: 5rem;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.board-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 8px 25px rgba(11, 28, 46, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d1a84f, #f5da89, #d1a84f);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.board-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(11, 28, 46, 0.1), 0 0 0 1px rgba(209, 168, 79, 0.3);
}

.board-card:hover::before {
    opacity: 1;
}

.board-card.is-leader-card {
    border-color: rgba(209, 168, 79, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #faf8f2 100%);
}

.board-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.board-avatar-wrapper {
    position: relative;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--secondary-color);
    padding: 3px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(209, 168, 79, 0.25);
}

.board-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.board-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-avatar-badge {
    position: absolute;
    bottom: -6px;
    right: -4px;
    background: #0b1c2e;
    color: #f7df94;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    border: 1px solid rgba(209, 168, 79, 0.4);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.board-badge-leader {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, #d1a84f 0%, #b8912e 100%);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(209, 168, 79, 0.3);
}

.board-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.board-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.board-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1.3;
}

.board-cap {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #b8912e;
    margin-bottom: 12px;
    background: rgba(209, 168, 79, 0.1);
    padding: 3px 9px;
    border-radius: 6px;
    align-self: flex-start;
}

.board-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.board-desc p {
    margin: 0;
}

.board-email-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: #64748b;
    text-decoration: none;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    transition: color 0.2s ease;
    word-break: break-all;
}

.board-email-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
    .dean-card {
        grid-template-columns: 1fr;
    }
    .dean-media {
        border-right: none;
        border-bottom: 1px solid rgba(209, 168, 79, 0.25);
        padding: 2.5rem;
    }
    .dean-statement {
        padding: 2.5rem;
    }
    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 680px) {
    .board-grid {
        grid-template-columns: 1fr;
    }
    .dean-statement {
        padding: 1.8rem;
    }
    .statement-heading {
        font-size: 1.3rem;
    }
}

.normativa-banner {
    background: linear-gradient(135deg, #0b1c2e, #1a365d);
    border-radius: 18px;
    padding: 2.8rem 3rem;
    display: flex;
    align-items: center;
    gap: 24px;
    color: #fff;
    border: 1px solid rgba(209, 168, 79, 0.3);
}

.normativa-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(209, 168, 79, 0.15);
    border: 1px solid rgba(209, 168, 79, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7df94;
    flex-shrink: 0;
}

.normativa-content {
    flex-grow: 1;
}

.normativa-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.normativa-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

.btn-normativa-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-normativa-action:hover {
    background: #e2be58;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(209, 168, 79, 0.4);
}

.events-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2.8rem;
    padding: 8px;
    background: #ffffff;
    border-radius: 40px;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.filter-tab:hover {
    color: var(--primary-color);
    background: #f1f5f9;
}

.filter-tab.active {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 28, 46, 0.25);
}

.filter-tab .tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
}

.filter-tab.active .tab-count {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.event-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 10px 30px -5px rgba(11, 28, 46, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d1a84f, #f5da89, #d1a84f);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -8px rgba(11, 28, 46, 0.12), 0 0 0 1px rgba(209, 168, 79, 0.25);
}

.event-card:hover::before {
    opacity: 1;
}

.event-media {
    position: relative;
    height: 215px;
    overflow: hidden;
    background: #0b1c2e;
}

.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-media img {
    transform: scale(1.06);
}

.event-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 28, 46, 0.4) 0%, transparent 40%, rgba(11, 28, 46, 0.75) 100%);
    pointer-events: none;
}

.event-status-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    z-index: 2;
}

.event-status-pill.status-open {
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.event-status-pill.status-warning {
    background: rgba(217, 119, 6, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.event-status-pill.status-upcoming {
    background: rgba(30, 58, 138, 0.88);
    color: #f7df94;
    border: 1px solid rgba(209, 168, 79, 0.45);
}

.event-status-pill .status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.event-type-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    background: rgba(11, 28, 46, 0.9);
    color: #f7df94;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(209, 168, 79, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
    white-space: nowrap;
}

.event-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.event-date-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-date-item svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.event-modality-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color);
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
}

.event-modality-pill svg {
    color: #0284c7;
    flex-shrink: 0;
}

.event-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.35;
    height: 3.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px 0;
}

.event-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-title a:hover {
    color: var(--secondary-color);
}

.event-excerpt {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    height: 2.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.event-specs-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
}

.spec-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}

.spec-label svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.spec-value {
    color: #1e293b;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 62%;
}

.spec-cost-row .spec-value.highlight-cost {
    color: #b8912e;
    font-weight: 800;
}

.event-footer {
    margin-top: auto;
    width: 100%;
}

.btn-event-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    width: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(11, 28, 46, 0.15);
}

.btn-event-register:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 168, 79, 0.35);
}

@media (max-width: 1100px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .events-filter-bar {
        border-radius: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 6px;
        width: 100%;
    }
    .filter-tab {
        white-space: nowrap;
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .events-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .event-body {
        padding: 20px;
    }
}

.concursos-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.concurso-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 10px 30px rgba(11, 28, 46, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.concurso-card:hover {
    transform: translateY(-4px);
}

.concurso-header-bar {
    background: #0b1c2e;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.concurso-code-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.concurso-badge-code {
    background: rgba(209, 168, 79, 0.2);
    color: #f7df94;
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(209, 168, 79, 0.4);
}

.concurso-badge-type {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
}

.concurso-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.concurso-main-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 28px;
}

.concurso-thumb-col img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.concurso-details-col {
    display: flex;
    flex-direction: column;
}

.concurso-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.concurso-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.concurso-title a:hover {
    color: var(--secondary-color);
}

.concurso-summary {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.concurso-data-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.concurso-data-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.85rem;
}

.data-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.data-val {
    font-weight: 700;
    color: #1e293b;
}

.highlight-deadline {
    color: #b8912e;
}

.concurso-prizes-box {
    background: rgba(209, 168, 79, 0.08);
    border: 1px solid rgba(209, 168, 79, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.prizes-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9c7b1c;
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.prizes-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.concurso-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    flex-wrap: wrap;
}

.btn-download-bases {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-download-bases:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-concurso-details {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-concurso-details:hover {
    color: var(--secondary-color);
}

.mesa-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.mesa-form-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 16px 40px -10px rgba(11, 28, 46, 0.08);
    padding: 3rem;
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2.2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-header-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(11, 28, 46, 0.04);
    border: 1px solid rgba(11, 28, 46, 0.08);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.form-card-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
}

.form-section-group {
    background: #f8fafc;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    margin-bottom: 22px;
}

.group-legend {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.form-label .req {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 0.92rem;
    color: #1e293b;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(209, 168, 79, 0.2);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 16px;
}

.file-upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.file-upload-dropzone:hover {
    border-color: var(--secondary-color);
    background: rgba(209, 168, 79, 0.03);
    color: var(--primary-color);
}

.file-name-preview {
    font-weight: 700;
    color: #16a34a;
    font-size: 0.85rem;
}

.form-disclaimer {
    margin: 20px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-container input {
    margin-top: 3px;
    flex-shrink: 0;
}

.btn-submit-digital {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-submit-digital:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 168, 79, 0.35);
}

.receipt-card {
    text-align: center;
    padding: 2.5rem 2rem;
    animation: fadeIn 0.4s ease;
}

.receipt-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.receipt-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.receipt-data-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 1.5rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
}

.receipt-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.exp-code {
    color: var(--primary-color);
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1rem;
}

.btn-new-tramite {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1.2rem;
}

.mesa-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-info-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
}

.sidebar-icon-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.sidebar-icon-header h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.info-highlight {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.info-note {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.account-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
}

.account-bank {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.account-num {
    color: #334155;
}

.account-cci {
    color: #64748b;
    font-family: monospace;
    font-size: 0.78rem;
}

.contact-list-simple {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 0.85rem;
    color: #475569;
}

.contact-list-simple li {
    margin-bottom: 8px;
}

.btn-whatsapp-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 11px;
    border-radius: 10px;
    transition: opacity 0.2s ease;
}

.btn-whatsapp-direct:hover {
    opacity: 0.92;
}

.single-event-hero {
    padding: 3.5rem 0 3rem 0;
}

.event-single-quickmeta {
    display: flex;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.92rem;
    flex-wrap: wrap;
    align-items: center;
}

.single-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
}

.single-featured-media {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    max-height: 440px;
}

.single-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-entry-content {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    border: 1px solid rgba(11, 28, 46, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.single-entry-content h2,
.single-entry-content h3 {
    color: var(--primary-color);
    font-weight: 800;
    margin: 1.5rem 0 1rem 0;
}

.single-entry-content p {
    margin-bottom: 1.2rem;
}

.single-action-box {
    background: linear-gradient(135deg, #0b1c2e, #1a365d);
    color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(209, 168, 79, 0.35);
}

.single-action-box h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.single-action-box p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

.spec-list-card {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    font-size: 0.88rem;
}

.spec-list-card li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.spec-list-card li:last-child {
    border-bottom: none;
}

@media (max-width: 1024px) {
    .dean-card {
        grid-template-columns: 1fr;
    }
    .dean-media {
        border-right: none;
        border-bottom: 1px solid rgba(209, 168, 79, 0.25);
    }
    .mision-vision-grid,
    .board-grid,
    .events-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mesa-layout-grid,
    .single-layout-grid {
        grid-template-columns: 1fr;
    }
    .concurso-main-content {
        grid-template-columns: 1fr;
    }
    .concurso-thumb-col img {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .mision-vision-grid,
    .board-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    .form-grid-2,
    .form-grid-3,
    .concurso-data-table {
        grid-template-columns: 1fr;
    }
    .dean-statement,
    .mesa-form-card {
        padding: 1.5rem;
    }
    .normativa-banner {
        flex-direction: column;
        padding: 2rem 1.5rem;
        text-align: center;
    }
}

.static-page-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px -10px rgba(11, 28, 46, 0.06), 0 0 0 1px rgba(209, 168, 79, 0.05);
    padding: 3.5rem 3.5rem;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.static-page-card:hover {
    box-shadow: 0 16px 50px -10px rgba(11, 28, 46, 0.09), 0 0 0 1px rgba(209, 168, 79, 0.15);
}

.static-page-featured-media {
    margin-bottom: 2.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.static-page-featured-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.static-page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.static-page-content h2 {
    color: #0b1c2e;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.static-page-content h3 {
    color: #0b1c2e;
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.static-page-content h4 {
    color: #0b1c2e;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.static-page-content p {
    margin-bottom: 1.25rem;
}

.static-page-content ul,
.static-page-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 0.5rem;
}

.static-page-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.page-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
    color: #d1a84f;
    text-decoration: underline;
}

.page-breadcrumb .breadcrumb-separator {
    color: rgba(209, 168, 79, 0.6);
    font-weight: bold;
}

.page-breadcrumb .breadcrumb-current {
    color: #d1a84f;
    font-weight: 700;
}

.static-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.static-page-content table th,
.static-page-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.static-page-content table th {
    background: #0b1c2e;
    color: #ffffff;
    font-weight: 700;
}

.static-page-content table tr:nth-child(even) {
    background: #f8fafc;
}

@media (max-width: 1024px) {
    .static-page-card {
        padding: 2.5rem 2rem;
        border-radius: 16px;
    }
    .static-page-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .static-page-card {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
    }
    .static-page-content {
        font-size: 0.98rem;
        line-height: 1.7;
    }
    .static-page-content h2 {
        font-size: 1.35rem;
    }
    .static-page-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .page-hero-banner {
        padding: 3rem 1rem 2.5rem;
    }
    .banner-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    .static-page-card {
        padding: 1.25rem 1rem;
    }
    .banner-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 4px 10px;
    }
}

.news-archive-container { padding-top: 3rem; padding-bottom: 5rem; }
.empty-notice { color: var(--text-light); font-size: 1.1rem; text-align: center; }
.index-main-container { padding-top: 4rem; padding-bottom: 4rem; }
.index-page-title { color: var(--primary-color); margin-bottom: 2rem; font-size: 2.2rem; font-weight: 700; }
.index-posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.index-post-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.index-post-media { width: 100%; height: 200px; overflow: hidden; }
.index-post-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.index-post-body { padding: 1.5rem; }
.index-post-title { margin-bottom: 1rem; font-size: 1.25rem; }
.index-post-title a { color: var(--primary-color); text-decoration: none; }
.index-post-title a:hover { color: var(--secondary-color); }
.index-post-excerpt { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }
.index-post-readmore { display: inline-block; margin-top: 1rem; color: var(--secondary-color); font-weight: 700; text-decoration: none; }
.index-posts-pagination { margin-top: 2rem; }
.concursos-pagination { margin-top: 3rem; }
.empty-notice-card { padding: 4rem 2rem; background: #fff; border-radius: 16px; border: 1px dashed #cbd5e1; }
.empty-notice-icon { color: var(--secondary-color); margin-bottom: 1rem; }
.empty-notice-desc { color: #64748b; max-width: 500px; margin: 0 auto 1.5rem auto; line-height: 1.6; }
.events-pagination { margin-top: 3.5rem; }
.event-meta-badges { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.banner-title-large { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.single-action-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-download-bases { font-size: 1rem; padding: 12px 28px; }
.btn-concurso-details { padding: 12px 22px; }
.sidebar-info-card + .sidebar-info-card { margin-top: 20px; }
.prizes-text { font-size: 0.95rem; font-weight: 700; color: var(--primary-color); line-height: 1.6; }
.sidebar-info-desc { font-size: 0.88rem; color: #64748b; margin-bottom: 10px; }
.section-header-spaced { margin-bottom: 2.5rem; }
.board-cap-icon { opacity: 0.8; margin-right: 4px; vertical-align: middle; }
.empty-board-notice { text-align: center; grid-column: span 3; color: #64748b; }
.sede-showcase-section { margin-top: 3.5rem; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.sede-showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0; }
.sede-showcase-media { position: relative; min-height: 380px; overflow: hidden; }
.sede-showcase-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sede-showcase-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(11,28,46,0.9) 0%, transparent 100%); padding: 1.5rem; color: #ffffff; }
.sede-showcase-badge { display: inline-block; background: #d1a84f; color: #0b1c2e; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.sede-showcase-title { margin: 0; font-size: 1.25rem; font-weight: 700; color: #ffffff; }
.sede-showcase-sub { margin: 0.25rem 0 0; font-size: 0.85rem; color: #cbd5e1; }
.sede-showcase-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.sede-showcase-kicker { color: #d1a84f; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.5rem; }
.sede-showcase-heading { font-size: 1.65rem; color: #0b1c2e; margin: 0 0 1rem; font-weight: 700; }
.sede-showcase-text { color: #475569; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.sede-showcase-text:last-of-type { margin-bottom: 1.5rem; }
.sede-showcase-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.sede-action-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #0b1c2e; color: #ffffff; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.sede-action-btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: #f8fafc; color: #0b1c2e; border: 1px solid #cbd5e1; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.page-editor-content-section { margin-top: 3.5rem; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2.5rem 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.page-editor-content-section .content-body { font-size: 1.05rem; line-height: 1.8; color: #334155; }
.mesa-alert-box { display: none; padding: 14px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; font-size: 14px; }
.doc-adjunto-hidden { display: none; }
.receipt-card-hidden { display: none; }
.receipt-status-pending { color: #d1a84f; }
.receipt-disclaimer { font-size: 0.86rem; color: #64748b; margin-top: 1.2rem; line-height: 1.5; }
.receipt-actions { display: flex; gap: 12px; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.btn-print-receipt { background: #0b1c2e; padding: 10px 20px; font-size: 13px; }
.btn-new-tramite { padding: 10px 20px; font-size: 13px; }
.account-notice { font-size: 0.88rem; color: #64748b; margin-bottom: 14px; }
.account-footnote { font-size: 0.75rem; color: #94a3b8; margin-top: 10px; }
.slide-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.btn-download-pdf { display: inline-flex; align-items: center; gap: 10px; background: #0b1c2e; color: #ffffff; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 14px; transition: background 0.2s ease, transform 0.2s ease; }
.btn-download-pdf:hover { background: #153250; color: #fceab3; transform: translateY(-1px); }
.post-lead-box { background: #f8fafc; border-left: 4px solid var(--secondary-color); padding: 1.25rem 1.5rem; border-radius: 8px; margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.7; color: #1e293b; font-weight: 500; }
.post-download-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; margin-top: 2rem; margin-bottom: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.caa-gemini-wrap { max-width: 1100px; margin-top: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.caa-gemini-header { background: linear-gradient(135deg, #0b1c2e 0%, #153250 100%); color: #fff; padding: 28px 32px; border-radius: 12px; margin-bottom: 24px; box-shadow: 0 8px 24px rgba(11,28,46,0.18); border-left: 5px solid #d1a84f; }
.caa-badge-ai { background: rgba(209,168,79,0.2); color: #fceab3; border: 1px solid rgba(209,168,79,0.4); padding: 4px 10px; font-size: 11px; font-weight: 700; border-radius: 20px; display: inline-block; margin-bottom: 10px; letter-spacing: 0.5px; }
.caa-gemini-header h1 { color: #ffffff; margin: 0 0 8px 0; font-size: 24px; font-weight: 700; }
.caa-gemini-header p { color: #cbd5e1; margin: 0; font-size: 14px; max-width: 780px; }
.caa-gemini-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid #ccd0d4; padding-bottom: 8px; }
.caa-gemini-tabs .tab-btn { background: #fff; border: 1px solid #ccd0d4; padding: 10px 18px; border-radius: 6px; font-weight: 600; cursor: pointer; color: #2c3338; transition: all 0.2s ease; }
.caa-gemini-tabs .tab-btn:hover { background: #f0f0f1; border-color: #0b1c2e; }
.caa-gemini-tabs .tab-btn.active { background: #0b1c2e; color: #fff; border-color: #0b1c2e; }
.caa-tab-content { display: none; }
.caa-tab-content.active { display: block; }
.caa-card { background: #fff; padding: 24px 28px; border-radius: 10px; border: 1px solid #ccd0d4; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.caa-card h3 { margin-top: 0; font-size: 18px; color: #0b1c2e; }
