/**
 * Main Stylesheet - Relatoria Minimal Theme
 */

:root {
    /* Color Defaults (Parametrizables desde WordPress Customizer) */
    --rel-top-header-bg: #0F3A85;
    --rel-top-header-text: #ffffff;
    --rel-top-header-icon-bg: #154DB0;
    --rel-top-header-icon-hover: #1D63DE;
    
    --rel-header-bg: #ffffff;
    --rel-header-text: #1a2530;
    --rel-menu-link-color: #334155;
    --rel-menu-link-hover-color: #0F3A85;
    --rel-menu-active-bg: #0F3A85;
    --rel-menu-active-text: #ffffff;
    
    --rel-header-btn-bg: #0F3A85;
    --rel-header-btn-text: #ffffff;
    --rel-header-btn-hover-bg: #0B2B64;
    --rel-header-btn-hover-text: #ffffff;
    --rel-header-btn-radius: 4px;

    --rel-footer-bg: #0F172A;
    --rel-footer-text: #94A3B8;
    --rel-footer-link-color: #E2E8F0;
    --rel-footer-link-hover: #38BDF8;

    --rel-primary-color: #0F3A85;
    --rel-accent-color: #2563EB;
    --rel-body-bg: #F8FAFC;
    
    --rel-logo-max-height: 65px;
    --rel-top-logo-max-height: 24px;
    --rel-container-max-width: 1280px;
}

/* Base Layout & Utilities */
.rel-container {
    width: 100%;
    max-width: var(--rel-container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   1. TOP HEADER (GOV.CO Bar & Social Links)
   ========================================== */
.rel-top-header {
    background-color: var(--rel-top-header-bg);
    color: var(--rel-top-header-text);
    font-size: 0.875rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1001;
}

.rel-top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rel-gov-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--rel-top-header-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.rel-gov-brand:hover {
    opacity: 0.9;
}

.rel-gov-flag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    background: linear-gradient(to bottom, #FCD116 0%, #FCD116 50%, #003893 50%, #003893 75%, #CE1126 75%, #CE1126 100%);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.rel-gov-logo-img {
    max-height: var(--rel-top-logo-max-height);
    width: auto;
    object-fit: contain;
}

/* Social Media Icons */
.rel-top-socials {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rel-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--rel-top-header-icon-bg);
    color: var(--rel-top-header-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.rel-social-link:hover {
    background-color: var(--rel-top-header-icon-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================
   2. MAIN HEADER (Logo, Menu, Right Button)
   ========================================== */
.rel-main-header {
    background-color: var(--rel-header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.rel-main-header.is-sticky {
    position: sticky;
    top: 0;
}

.admin-bar .rel-main-header.is-sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .rel-main-header.is-sticky {
        top: 46px;
    }
}

.rel-main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 1.5rem;
}

/* Site Logos Section */
.rel-header-branding {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.rel-site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.rel-site-logo img {
    max-height: var(--rel-logo-max-height);
    width: auto;
    object-fit: contain;
}

.rel-site-title-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rel-header-text);
    text-decoration: none;
    line-height: 1.2;
}

.rel-secondary-logo img {
    max-height: calc(var(--rel-logo-max-height) * 0.85);
    width: auto;
    border-left: 1px solid #e2e8f0;
    padding-left: 1rem;
}

/* Desktop Navigation Menu */
.rel-desktop-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    height: 100%;
}

.rel-primary-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    height: 100%;
}

.rel-primary-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.rel-primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.25rem;
    color: var(--rel-menu-link-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
}

.rel-primary-menu > li > a:hover {
    color: var(--rel-menu-link-hover-color);
    background-color: rgba(15, 58, 133, 0.04);
}

/* Active Menu Item Styling (High-contrast block option like image) */
.rel-primary-menu > li.current-menu-item > a,
.rel-primary-menu > li.current-menu-ancestor > a,
.rel-primary-menu > li.active > a {
    background-color: var(--rel-menu-active-bg);
    color: var(--rel-menu-active-text) !important;
    font-weight: 700;
}

/* Dropdown Menu */
.rel-primary-menu li.menu-item-has-children {
    position: relative;
}

.rel-primary-menu li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.rel-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 0 0 6px 6px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    border-top: 3px solid var(--rel-primary-color);
}

.rel-primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rel-primary-menu .sub-menu li a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.rel-primary-menu .sub-menu li a:hover {
    background-color: #f1f5f9;
    color: var(--rel-primary-color);
}

/* Header Right Button (Parametrizable) */
.rel-header-action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rel-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background-color: var(--rel-header-btn-bg);
    color: var(--rel-header-btn-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: var(--rel-header-btn-radius);
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.rel-header-btn:hover {
    background-color: var(--rel-header-btn-hover-bg);
    color: var(--rel-header-btn-hover-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.rel-user-dropdown-wrapper:hover .rel-user-dropdown-menu,
.rel-user-dropdown-wrapper:focus-within .rel-user-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}


/* Mobile Header & Drawer */
.rel-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--rel-header-text);
    cursor: pointer;
    padding: 0.5rem;
}

.rel-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rel-mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
}

.rel-mobile-drawer-content {
    position: absolute;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.rel-mobile-drawer.is-open .rel-mobile-drawer-content {
    right: 0;
}

.rel-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.rel-mobile-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #64748b;
    cursor: pointer;
}

.rel-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rel-mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.rel-mobile-menu a:hover,
.rel-mobile-menu li.current-menu-item a {
    background-color: #f1f5f9;
    color: var(--rel-primary-color);
}

/* ==========================================
   3. MAIN CONTENT CONTAINER
   ========================================== */
.rel-main-content {
    padding: 2.5rem 0;
}

.rel-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.rel-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.rel-page-title {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 700;
}

/* ==========================================
   4. FOOTER STYLING
   ========================================== */
.rel-footer {
    background-color: var(--rel-footer-bg);
    color: var(--rel-footer-text);
    padding: 3.5rem 0 1.5rem 0;
    margin-top: auto;
    font-size: 0.9rem;
}

.rel-footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.rel-footer-widget-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.rel-footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--rel-primary-color);
    border-radius: 2px;
}

.rel-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rel-footer-links li {
    margin-bottom: 0.6rem;
}

.rel-footer-links a {
    color: var(--rel-footer-link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rel-footer-links a:hover {
    color: var(--rel-footer-link-hover);
}

.rel-footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.rel-footer-logo img {
    max-height: 45px;
    width: auto;
}

.rel-copyright {
    color: var(--rel-footer-text);
    font-size: 0.85rem;
}

/* Responsive Media Queries */
@media screen and (max-width: 992px) {
    .rel-desktop-nav,
    .rel-header-action {
        display: none;
    }
    
    .rel-mobile-toggle {
        display: block;
    }
    
    .rel-mobile-drawer {
        display: block;
    }

    .rel-main-header-inner {
        min-height: 70px;
    }
}

@media screen and (max-width: 576px) {
    .rel-top-header-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

}

/* ==========================================
   SHORTCODES NATIVOS DE ALTO RENDIMIENTO
   ========================================== */

/* Componente de Pestañas [rel_tabs] - Diseño Minimalista Institucional */
.rel-tabs-container {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.rel-tabs-nav-bar {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    gap: 0.35rem;
    padding: 0.5rem 0.5rem 0 0.5rem;
    flex-wrap: wrap;
}

.rel-tab-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.rel-tab-nav-item:hover {
    color: #0F3A85;
    background: rgba(15, 58, 133, 0.05);
}

.rel-tab-nav-item.is-active {
    background: #0F3A85 !important;
    color: #ffffff !important;
    border-color: #0F3A85 !important;
    box-shadow: 0 4px 12px rgba(15, 58, 133, 0.25);
}

.rel-tab-nav-item.is-active i {
    color: #ffffff !important;
}

.rel-tabs-content-body {
    padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    background: #ffffff;
}

.rel-tab-pane {
    animation: relFadeIn 0.3s ease-in-out;
}


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

/* Tarjeta Sidebar de Últimos Registros [rel_recent_cpt] - Ultra Compacto */
.rel-recent-cpt-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.rel-recent-cpt-header {
    background: linear-gradient(135deg, #0F3A85 0%, #1E40AF 100%);
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rel-recent-cpt-list {
    display: flex;
    flex-direction: column;
}

.rel-recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.rel-recent-item:last-child {
    border-bottom: none;
}

.rel-recent-item:hover {
    background-color: #f8fafc;
    transform: translateX(2px);
}

.rel-recent-item-info {
    flex: 1;
    min-width: 0;
}

.rel-recent-item-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2px;
}

.rel-recent-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 12px;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.3px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

/* Colores elegantes según el tipo de publicación */
.rel-recent-tag-normativa,
.rel-recent-tag-normativas {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
}

.rel-recent-tag-concepto,
.rel-recent-tag-conceptos {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #a7f3d0 !important;
}

.rel-recent-tag-laudo,
.rel-recent-tag-laudos {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}

.rel-recent-tag-providencia,
.rel-recent-tag-providencias {
    background: #faf5ff !important;
    color: #6b21a8 !important;
    border-color: #e9d5ff !important;
}

.rel-recent-item:hover .rel-recent-tag {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}


.rel-recent-date {
    font-size: 0.7rem;
    color: #64748b;
}

.rel-recent-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rel-recent-item:hover .rel-recent-item-title {
    color: #0F3A85;
}

.rel-recent-keywords {
    font-size: 0.7rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rel-recent-arrow {
    color: #cbd5e1;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.rel-recent-item:hover .rel-recent-arrow {
    color: #0F3A85;
    transform: translateX(2px);
}

/* Tarjeta de Motivación/Llamado al Registro [rel_register_banner] */
.rel-register-callout-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #cbd5e1;
    border-left: 4px solid #0F3A85;
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.rel-callout-icon {
    width: 40px;
    height: 40px;
    background: #0F3A85;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 10px rgba(15, 58, 133, 0.2);
}

.rel-callout-title {
    font-size: 1.05rem;
    color: #0f172a;
    font-weight: 800;
    margin: 0 0 0.35rem 0;
}

.rel-callout-desc {
    font-size: 0.825rem;
    color: #475569;
    line-height: 1.45;
    margin: 0 0 1rem 0;
}

/* Layout 2 Columnas Optimizado (Dashboard & Sidebar) */
.rel-dashboard-wrapper {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    width: 100%;
}

.rel-main-column {
    flex: 1 1 73%;
    min-width: 0;
}

.rel-sidebar-column {
    flex: 0 0 310px;
    width: 310px;
    max-width: 100%;
}

@media screen and (max-width: 992px) {
    .rel-dashboard-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    .rel-main-column,
    .rel-sidebar-column {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* ==========================================
   ESTILOS DE NORMAS, ARTÍCULOS Y NAVEGACIÓN
   ========================================== */
.referencia-norma {
    font-weight: 700;
}

.titulo-norma {
    text-align: center !important;
    font-weight: 700;
    font-size: 18px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: #002855;
}

/* Texto Justificado e Indentación de Numerales */
.rel-legal-content p,
.rel-legal-content li,
.entry-content p,
.entry-content li {
    text-align: justify;
    text-justify: inter-word;
}

.titulo-norma,
.rel-page-title,
.rel-legal-content p.titulo-norma,
.entry-content p.titulo-norma,
.rel-legal-content .has-text-align-center,
.entry-content .has-text-align-center {
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin-top: 2.25rem !important;
    margin-bottom: 1.25rem !important;
    color: #002855;
    display: block !important;
}

.referencia-norma {
    font-weight: 700 !important;
    color: #002855;
}

/* Espaciado generoso antes de cada artículo */
.articulo-paragraph,
p.articulo-paragraph,
.rel-legal-content p.articulo-paragraph,
.entry-content p.articulo-paragraph,
.rel-legal-content p:has(.referencia-norma),
.entry-content p:has(.referencia-norma) {
    margin-top: 2.5rem !important;
    margin-bottom: 1.15rem !important;
    display: block !important;
}

/* Formateo de Numerales (1., 1o., 2o., 3°., 4.) */
.numeral-item,
p.numeral-item,
.rel-legal-content p.numeral-item,
.entry-content p.numeral-item {
    margin-left: 1.5rem !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    margin-top: 0.6rem !important;
    margin-bottom: 0.6rem !important;
}

.numeral-label {
    font-weight: 700 !important;
    color: #002855;
    margin-right: 0.4rem !important;
    display: inline !important;
    min-width: 0 !important;
}



.rel-legal-content ol,
.rel-legal-content ul,
.entry-content ol,
.entry-content ul {
    padding-left: 2rem !important;
    margin-left: 0 !important;
    margin-bottom: 1.25rem;
}

.rel-legal-content ol li,
.rel-legal-content ul li,
.entry-content ol li,
.entry-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.35rem;
}

/* Shortcode de Encabezado de Página [rel_page_header] / [rel_titulo] */

.rel-page-header-card {
    padding: 1.5rem 1.75rem !important;
    margin-bottom: 0.75rem !important;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.rel-page-header-card + * {
    margin-top: 0 !important;
}


.rel-page-header-card.rel-header-align-center {
    text-align: center !important;
}

.rel-page-header-card.rel-header-align-left {
    text-align: left !important;
}

.rel-page-header-card.rel-header-align-right {
    text-align: right !important;
}

.rel-header-badge-wrapper {
    margin-bottom: 0.85rem;
}

.rel-header-badge {
    background: rgba(15, 58, 133, 0.08);
    color: #0F3A85;
    font-size: 0.775rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-flex;
    align-items: center;
}

.rel-header-icon {
    font-size: 1.75rem;
    color: #0F3A85;
    margin-bottom: 0.75rem;
}

.rel-page-header-title {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: #002855 !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.4px;
    border: none !important;
}

.rel-page-header-subtitle {
    font-size: 1rem !important;
    color: #475569 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Estilo 1: card */
.rel-page-header-card.rel-header-style-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #0F3A85;
    box-shadow: 0 10px 30px rgba(15, 58, 133, 0.05);
}

/* Estilo 2: banner */
.rel-page-header-card.rel-header-style-banner {
    background: linear-gradient(135deg, #002855 0%, #0F3A85 60%, #1E40AF 100%);
    border-radius: 16px;
    padding: 2.75rem 2.25rem;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 58, 133, 0.22);
    overflow: hidden;
}

.rel-page-header-card.rel-header-style-banner .rel-page-header-title {
    color: #ffffff !important;
}

.rel-page-header-card.rel-header-style-banner .rel-page-header-subtitle {
    color: #cbd5e1 !important;
}

.rel-page-header-card.rel-header-style-banner .rel-header-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* Estilo 3: hero */
.rel-page-header-card.rel-header-style-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 3rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.rel-page-header-card.rel-header-style-hero .rel-page-header-title {
    font-size: 2.1rem !important;
}

.rel-page-header-card.rel-header-style-clean {
    background: transparent;
    padding: 1rem 0;
    border: none;
    box-shadow: none;
}








