/* ============================================================
   BANCO ROELA — CRÉDITOS
   Hoja de estilos del CPT "creditos": archive, taxonomía y single.
   Autocontenida (no depende de br-blog.css). Clases con prefijo
   brc- para no colisionar con el blog (br-) ni con Astra.
   ============================================================ */

/* ========================================
   TOKENS
   ======================================== */
:root {
    --brc-green:      #116d3a;
    --brc-green-dk:   #0f3a33;
    --brc-green-soft: #14a858;
    --brc-surface:    #e8f5ed;
    --brc-white:      #ffffff;
    --brc-light:      #f8fafc;
    --brc-light-alt:  #f1f5f9;
    --brc-text:       #0f172a;
    --brc-text-soft:  #64748b;
    --brc-text-muted: #94a3b8;
    --brc-border:     #e2e8f0;
    --brc-border-sft: rgba(226,232,240,.8);
    --brc-shadow-sm:  0 1px 2px rgba(0,0,0,.05);
    --brc-shadow:     0 4px 16px rgba(17,109,58,.06);
    --brc-shadow-lg:  0 20px 50px -12px rgba(17,109,58,.18);
    --brc-font:       'Noto Sans', sans-serif;
    --brc-transition: .35s cubic-bezier(.4,0,.2,1);
    --brc-radius:     18px;
}

/* ========================================
   ROMPER EL CONTENEDOR DE ASTRA
   ======================================== */
body.post-type-archive-creditos,
body.single-creditos,
body.tax-tipo_credito {
    background: linear-gradient(135deg, var(--brc-light) 0%, var(--brc-light-alt) 100%) !important;
}
body.post-type-archive-creditos #content,
body.single-creditos #content,
body.tax-tipo_credito #content {
    display: block !important;
    overflow: visible !important;
}
body.post-type-archive-creditos #content > .ast-container,
body.single-creditos #content > .ast-container,
body.tax-tipo_credito #content > .ast-container,
body.post-type-archive-creditos .site-content > .ast-container,
body.single-creditos .site-content > .ast-container,
body.tax-tipo_credito .site-content > .ast-container {
    display: block !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}
body.post-type-archive-creditos #primary,
body.single-creditos #primary,
body.tax-tipo_credito #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.post-type-archive-creditos #secondary,
body.single-creditos #secondary,
body.tax-tipo_credito #secondary {
    display: none !important;
}
body.post-type-archive-creditos .ast-title-bar-wrap,
body.post-type-archive-creditos .page-header,
body.post-type-archive-creditos .ast-archive-description,
body.single-creditos .ast-title-bar-wrap,
body.single-creditos .entry-header,
body.single-creditos .ast-single-post-banner,
body.single-creditos .post-thumb,
body.single-creditos .ast-featured-img,
body.tax-tipo_credito .ast-title-bar-wrap,
body.tax-tipo_credito .page-header,
body.tax-tipo_credito .ast-archive-description {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
body.single-creditos .site-content,
body.single-creditos #content {
    margin-top: -100px !important;
    padding-top: 0 !important;
}

.brc-hero,
.brc-wrap {
    font-family: var(--brc-font);
}

/* ========================================
   HERO
   ======================================== */
.brc-hero {
    background: linear-gradient(135deg, var(--brc-green) 0%, var(--brc-green-dk) 100%);
    padding: 210px 24px 68px;
    position: relative;
    overflow: hidden;
}
.brc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDE0YzAtOS45NC04LjA2LTE4LTE4LTE4UzAgNC4wNiAwIDE0YzAgNi42IDMuNTcgMTIuMzcgOC45IDE1LjQ5QzMuNTcgMzIuNjMgMCAzOC40IDAgNDVoMzZjMC02LjYtMy41Ny0xMi4zNy04LjktMTUuNTFDMzIuNDMgMjYuMzcgMzYgMjAuNiAzNiAxNHoiLz48L2c+PC9nPjwvc3ZnPg==");
    opacity: .2;
    pointer-events: none;
}
.brc-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.brc-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: var(--brc-white);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0 0 14px;
}
.brc-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.65);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   LAYOUT
   ======================================== */
.brc-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 24px 72px;
    position: relative;
    z-index: 1;
}

.brc-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--brc-text-muted);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.brc-breadcrumbs a { color: var(--brc-text-soft); transition: color var(--brc-transition); }
.brc-breadcrumbs a:hover { color: var(--brc-green); }
.brc-breadcrumbs .sep { color: var(--brc-border); }

/* ========================================
   BARRA DE FILTROS (chips)
   ======================================== */
.brc-filterbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 2px solid rgba(17,109,58,.1);
    flex-wrap: wrap;
}
.brc-filterbar-head { display: flex; flex-direction: column; gap: 3px; }
.brc-filterbar-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--brc-green);
}
.brc-filterbar-label .material-icons-round { font-size: 15px; }
.brc-filterbar-count { font-size: .82rem; color: var(--brc-text-soft); }
.brc-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.brc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 2px solid var(--brc-border);
    background: var(--brc-white);
    font-family: var(--brc-font);
    font-size: .82rem;
    font-weight: 700;
    color: var(--brc-text-soft);
    cursor: pointer;
    transition: var(--brc-transition);
    white-space: nowrap;
    text-decoration: none;
}
.brc-chip:hover {
    border-color: var(--brc-green);
    color: var(--brc-green);
    transform: translateY(-2px);
}
.brc-chip-count {
    font-size: .7rem;
    font-weight: 800;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--brc-light);
    color: var(--brc-text-muted);
    transition: var(--brc-transition);
}
.brc-chip.is-active {
    background: linear-gradient(135deg, var(--brc-green), var(--brc-green-dk));
    border-color: var(--brc-green);
    color: var(--brc-white);
    box-shadow: 0 8px 20px rgba(17,109,58,.22);
}
.brc-chip.is-active .brc-chip-count {
    background: rgba(255,255,255,.2);
    color: var(--brc-white);
}

/* ========================================
   GRILLA + TARJETAS
   ======================================== */
.brc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.brc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--brc-white);
    border: 2px solid var(--brc-border-sft);
    border-radius: var(--brc-radius);
    overflow: hidden;
    transition: var(--brc-transition);
    animation: brcFadeUp .5s ease both;
}
.brc-card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brc-green), var(--brc-green-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--brc-transition);
}
.brc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(17,109,58,.25);
    box-shadow: var(--brc-shadow-lg);
}
.brc-card:hover::after { transform: scaleX(1); }
.brc-card-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
}
.brc-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brc-surface), var(--brc-light-alt));
}
.brc-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}
.brc-card:hover .brc-card-media img { transform: scale(1.07); }
.brc-card-media-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(17,109,58,.25);
}
.brc-card-media-empty .material-icons-round { font-size: 56px; }
.brc-card-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 3;
    background: var(--brc-white);
    color: var(--brc-green-dk);
    font-size: .64rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
    box-shadow: var(--brc-shadow-sm);
    border: 1px solid rgba(17,109,58,.08);
}
.brc-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}
.brc-card-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brc-text);
    line-height: 1.35;
    letter-spacing: -.01em;
    margin: 0 0 10px;
    transition: color var(--brc-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.brc-card-title a { color: inherit; text-decoration: none; }
.brc-card:hover .brc-card-title { color: var(--brc-green); }
.brc-card-excerpt {
    font-size: .86rem;
    color: var(--brc-text-soft);
    line-height: 1.6;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.brc-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--brc-green);
    margin-top: auto;
}
.brc-card-cta .material-icons-round {
    font-size: 17px;
    transition: transform var(--brc-transition);
}
.brc-card:hover .brc-card-cta .material-icons-round { transform: translateX(4px); }

/* ========================================
   PAGINACIÓN
   ======================================== */
.brc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 52px;
}
.brc-pagination a,
.brc-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px; height: 46px;
    padding: 0 6px;
    font-size: .88rem;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--brc-transition);
}
.brc-pagination a {
    border: 2px solid var(--brc-border);
    background: var(--brc-white);
    color: var(--brc-text-soft);
    text-decoration: none;
}
.brc-pagination a:hover {
    background: var(--brc-green);
    border-color: var(--brc-green);
    color: var(--brc-white);
    box-shadow: 0 6px 16px rgba(17,109,58,.22);
}
.brc-pagination .current {
    background: linear-gradient(135deg, var(--brc-green), var(--brc-green-dk));
    border: 2px solid var(--brc-green);
    color: var(--brc-white);
    box-shadow: 0 8px 22px rgba(17,109,58,.22);
}
.brc-pagination .dots { background: transparent; color: var(--brc-text-muted); }

/* ========================================
   ESTADO VACÍO
   ======================================== */
.brc-empty {
    text-align: center;
    padding: 72px 24px;
    background: var(--brc-white);
    border: 2px dashed var(--brc-border);
    border-radius: var(--brc-radius);
}
.brc-empty .material-icons-round {
    font-size: 60px;
    color: var(--brc-border);
    margin-bottom: 14px;
}
.brc-empty h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brc-text);
    margin: 0 0 8px;
}
.brc-empty p { font-size: .92rem; color: var(--brc-text-soft); margin: 0; }

/* ============================================================
   SINGLE — layout a dos columnas
   ============================================================ */
.brc-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: start;
}
.brc-single-main { min-width: 0; }

/* Imagen destacada */
.brc-single-thumb {
    border-radius: var(--brc-radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 26px;
    box-shadow: var(--brc-shadow-lg);
}
.brc-single-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Meta */
.brc-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .8rem;
    font-weight: 600;
    color: var(--brc-text-muted);
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--brc-border);
}
.brc-single-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.brc-single-meta .material-icons-round { font-size: 15px; }
.brc-single-meta .brc-term {
    background: var(--brc-surface);
    color: var(--brc-green);
    padding: 5px 13px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--brc-transition);
}
.brc-single-meta .brc-term:hover { background: var(--brc-green); color: var(--brc-white); }

/* Contenido enriquecido del editor */
.brc-single-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--brc-text);
}
.brc-single-content > *:first-child { margin-top: 0; }
.brc-single-content p { margin: 0 0 1.4em; }
.brc-single-content h2 {
    font-size: 1.55rem; font-weight: 800; letter-spacing: -.01em;
    margin: 1.9em 0 .7em; color: var(--brc-green-dk);
    padding-left: 14px;
    border-left: 4px solid var(--brc-green);
}
.brc-single-content h3 { font-size: 1.25rem; font-weight: 800; margin: 1.6em 0 .6em; color: var(--brc-text); }
.brc-single-content h4 { font-size: 1.08rem; font-weight: 700; margin: 1.4em 0 .5em; color: var(--brc-text); }
.brc-single-content img {
    max-width: 100%; height: auto;
    border-radius: 12px;
    margin: 1.6em 0;
}
.brc-single-content a {
    color: var(--brc-green);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}
.brc-single-content a:hover { color: var(--brc-green-dk); }
.brc-single-content ul,
.brc-single-content ol { margin: 0 0 1.4em 1.3em; padding: 0; }
.brc-single-content li { margin-bottom: .55em; }
.brc-single-content ul li::marker { color: var(--brc-green); }
.brc-single-content blockquote {
    margin: 1.6em 0;
    padding: 20px 26px;
    border-left: 4px solid var(--brc-green);
    background: var(--brc-surface);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--brc-green-dk);
}
.brc-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: .95rem;
}
.brc-single-content th,
.brc-single-content td {
    border: 1px solid var(--brc-border);
    padding: 11px 14px;
    text-align: left;
}
.brc-single-content th {
    background: var(--brc-surface);
    color: var(--brc-green-dk);
    font-weight: 800;
}

/* ========================================
   SIDEBAR STICKY
   ======================================== */
.brc-single-aside {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tarjeta CTA */
.brc-aside-cta {
    background: linear-gradient(135deg, var(--brc-green) 0%, var(--brc-green-dk) 100%);
    border-radius: var(--brc-radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.brc-aside-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDE0YzAtOS45NC04LjA2LTE4LTE4LTE4UzAgNC4wNiAwIDE0YzAgNi42IDMuNTcgMTIuMzcgOC45IDE1LjQ5QzMuNTcgMzIuNjMgMCAzOC40IDAgNDVoMzZjMC02LjYtMy41Ny0xMi4zNy04LjktMTUuNTFDMzIuNDMgMjYuMzcgMzYgMjAuNiAzNiAxNHoiLz48L2c+PC9nPjwvc3ZnPg==");
    opacity: .2;
}
.brc-aside-cta > * { position: relative; z-index: 1; }
.brc-aside-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    margin-bottom: 14px;
}
.brc-aside-cta-icon .material-icons-round { color: var(--brc-white); font-size: 26px; }
.brc-aside-cta h3 {
    font-size: 1.12rem;
    font-weight: 900;
    color: var(--brc-white);
    margin: 0 0 6px;
}
.brc-aside-cta p {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    line-height: 1.55;
    margin: 0 0 18px;
}
.brc-aside-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 13px 20px;
    background: var(--brc-white);
    color: var(--brc-green);
    font-size: .88rem;
    font-weight: 800;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--brc-transition);
}
.brc-aside-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.brc-aside-cta-btn .material-icons-round { font-size: 18px; }

/* Tarjeta genérica de sidebar */
.brc-aside-card {
    background: var(--brc-white);
    border: 2px solid var(--brc-border-sft);
    border-radius: var(--brc-radius);
    padding: 22px 24px;
}
.brc-aside-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brc-green-dk);
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(17,109,58,.1);
}
.brc-aside-title .material-icons-round { font-size: 17px; color: var(--brc-green); }

/* Filas de contacto */
.brc-aside-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--brc-border);
    font-size: .88rem;
    font-weight: 600;
    color: var(--brc-text);
    text-decoration: none;
    transition: var(--brc-transition);
}
.brc-aside-row:last-child { border-bottom: none; }
.brc-aside-row:hover { color: var(--brc-green); padding-left: 4px; }
.brc-aside-row .material-icons-round {
    font-size: 19px;
    color: var(--brc-green);
    flex-shrink: 0;
}
.brc-aside-row small {
    display: block;
    font-size: .7rem;
    font-weight: 500;
    color: var(--brc-text-muted);
}

/* Créditos relacionados (lista compacta) */
.brc-rel-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--brc-border);
    text-decoration: none;
    transition: var(--brc-transition);
}
.brc-rel-item:last-child { border-bottom: none; }
.brc-rel-item:hover { padding-left: 4px; }
.brc-rel-thumb {
    width: 58px; height: 58px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--brc-surface), var(--brc-light-alt));
    display: flex;
    align-items: center;
    justify-content: center;
}
.brc-rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.brc-rel-thumb .material-icons-round { font-size: 24px; color: rgba(17,109,58,.3); }
.brc-rel-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.brc-rel-name {
    font-size: .85rem;
    font-weight: 700;
    color: var(--brc-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--brc-transition);
}
.brc-rel-item:hover .brc-rel-name { color: var(--brc-green); }
.brc-rel-type {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--brc-text-muted);
    margin-top: 3px;
}

/* ========================================
   NAVEGACIÓN ANTERIOR / SIGUIENTE
   ======================================== */
.brc-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}
.brc-post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    background: var(--brc-white);
    border: 2px solid var(--brc-border-sft);
    border-radius: var(--brc-radius);
    text-decoration: none;
    transition: var(--brc-transition);
}
.brc-post-nav-item:hover {
    border-color: rgba(17,109,58,.25);
    box-shadow: var(--brc-shadow);
    transform: translateY(-3px);
}
.brc-post-nav-item.is-next { text-align: right; }
.brc-post-nav-dir {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brc-green);
}
.brc-post-nav-item.is-next .brc-post-nav-dir { justify-content: flex-end; }
.brc-post-nav-dir .material-icons-round { font-size: 16px; }
.brc-post-nav-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--brc-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   BOTÓN FLOTANTE DE CONTACTO (mobile)
   ======================================== */
.brc-fab {
    display: none;
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 990;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: linear-gradient(135deg, var(--brc-green), var(--brc-green-dk));
    color: var(--brc-white);
    font-family: var(--brc-font);
    font-size: .88rem;
    font-weight: 800;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(15,58,51,.4);
}
.brc-fab .material-icons-round { font-size: 19px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 980px) {
    .brc-grid { grid-template-columns: repeat(2, 1fr); }
    .brc-single-layout { grid-template-columns: 1fr; gap: 32px; }
    .brc-single-aside { position: static; }
    .brc-fab { display: inline-flex; }
}
@media (max-width: 680px) {
    .brc-hero { padding: 165px 16px 52px; }
    .brc-wrap { padding: 32px 16px 56px; }
    .brc-grid { grid-template-columns: 1fr; }
    .brc-filterbar { gap: 14px; }
    .brc-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .brc-chips::-webkit-scrollbar { display: none; }
    .brc-post-nav { grid-template-columns: 1fr; }
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes brcFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.brc-card:nth-child(1) { animation-delay: .04s; }
.brc-card:nth-child(2) { animation-delay: .08s; }
.brc-card:nth-child(3) { animation-delay: .12s; }
.brc-card:nth-child(4) { animation-delay: .16s; }
.brc-card:nth-child(5) { animation-delay: .20s; }
.brc-card:nth-child(6) { animation-delay: .24s; }
.brc-card:nth-child(7) { animation-delay: .28s; }
.brc-card:nth-child(8) { animation-delay: .32s; }
.brc-card:nth-child(9) { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
    .brc-card { animation: none; }
    .brc-card:hover,
    .brc-post-nav-item:hover { transform: none; }
}
