/**
* Theme Name: Charitybox Child
* Description: This is a child theme of Charitybox, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/themazine">TheMazine</a>
* Template: charitybox
* Version: 3.2.0
*/
/* =========================================================
   GOTHAM FONT FAMILY
========================================================= */

/* Gotham Thin - 100 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothamthin-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothamthin-webfont.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Gotham Extra Light - 200 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothamxlight-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothamxlight-webfont.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Gotham Light - 300 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothamlight-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothamlight-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Gotham Book / Regular - 400 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothambook-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothambook-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Gotham Medium - 500 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothammedium-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothammedium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Gotham Bold - 700 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothambold-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothambold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Gotham Black - 800 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothamblack-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothamblack-webfont.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Gotham Ultra - 900 */
@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/gotham/gothamultra-webfont.woff2') format('woff2'),
         url('assets/fonts/gotham/gothamultra-webfont.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   NEUCHA
========================================================= */

@font-face {
    font-family: 'Neucha';
    src: url('assets/fonts/neucha/neucha-regular.woff2') format('woff2'),
         url('assets/fonts/neucha/neucha-regular.woff') format('woff'),
         url('assets/fonts/neucha/neucha-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.nav a,
body,
button,
input,
textarea,
select {
    font-family: 'Gotham', Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
/* Elementos decorativos institucionales */
.sr7-layer,
.ak-neucha {
    font-family: 'Neucha', cursive !important;
    font-weight: 400;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 500;
}

p {
    font-weight: 400;
}

.elementor-widget-heading .elementor-heading-title {
    font-family: 'Gotham', Arial, sans-serif;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
    font-family: 'Gotham', Arial, sans-serif;
}

.elementor-button {
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 500;
}

.main-menu {
  background: #90292b !important;
}
.ak-footer {
  background: #90292b !important;
}
.main-menu .nav > li > a::before {
  background: #fff;
}

@media (min-width: 1200px) {
  .container {
    width: 1250px;
  }
}
.main-menu .logo {
  margin-top: 20px;
}

.ak-footer-grid {
  padding-top: 50px;
}
/* =========================================================
   DELEGACIONES PGN 
========================================================= */

.ak-delegaciones-page {
    padding: 70px 20px;
    background: #fff;
}

.ak-delegaciones-header {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.ak-delegaciones-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #90292B;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ak-delegaciones-header h1 {
    margin: 0 0 15px;
    color: #051D49;
    font-size: 38px;
    font-weight: 700;
}

.ak-delegaciones-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* BUSCADOR */

.ak-delegaciones-search {
    position: relative;
    max-width: 650px;
    margin: 0 auto 45px;
}

.ak-delegaciones-search i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #90292B;
    font-size: 20px;
}

.ak-delegaciones-search input {
    width: 100%;
    height: 54px;
    padding: 0 20px 0 52px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    color: #333;
    outline: none;
}

.ak-delegaciones-search input:focus {
    border-color: #90292B;
}


/* GRID */

.ak-delegaciones-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


/* CARD */

.ak-delegacion-card {
    padding: 25px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.ak-delegacion-card:hover {
    transform: translateY(-4px);
    border-color: rgba(144, 41, 43, .25);
    box-shadow: 0 10px 25px rgba(5, 29, 73, .08);
}


/* HEADER CARD */

.ak-delegacion-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 2px solid #90292B;
}

.ak-delegacion-card__header i {
    color: #90292B;
    font-size: 20px;
}

.ak-delegacion-card__header h2 {
    margin: 0;
    color: #051D49;
    font-size: 20px;
    font-weight: 700;
}


/* ITEMS */

.ak-delegacion-card__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.ak-delegacion-card__item:last-child {
    margin-bottom: 0;
}

.ak-delegacion-card__item > i {
    width: 18px;
    margin-top: 4px;
    color: #90292B;
    text-align: center;
}

.ak-delegacion-card__item strong {
    display: block;
    margin-bottom: 5px;
    color: #051D49;
    font-size: 11px;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.ak-delegacion-card__item a {
    display: block;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ak-delegacion-card__item a:hover {
    color: #90292B;
}

.ak-delegacion-card__item p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}


/* SIN RESULTADOS */

.ak-delegaciones-empty {
    display: none;
    max-width: 700px;
    margin: 35px auto 0;
    padding: 20px;
    background: rgba(144, 41, 43, .07);
    border-left: 4px solid #90292B;
    color: #555;
    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .ak-delegaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .ak-delegaciones-page {
        padding: 50px 15px;
    }

    .ak-delegaciones-header h1 {
        font-size: 29px;
    }

    .ak-delegaciones-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   FOOTER ALBA-KENETH
========================================================= */

.ak-footer {
    background: #051D49;
    color: #ffffff;
}

.ak-footer-main {
    padding: 65px 0 50px;
}


/* GRID PRINCIPAL */

.ak-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;
    align-items: start;
}


/* COLUMNAS */

.ak-footer-col {
    min-width: 0;
}


/* LOGO */

.ak-footer-logo {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 22px;
}

.ak-footer-brand p {
    max-width: 320px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.7;
}


/* TITULOS */

.ak-footer h4 {
    margin: 5px 0 22px;
    padding: 0;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.ak-footer h4::after {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    margin-top: 10px;
    background: #90292B;
}


/* ENLACES */

.ak-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ak-footer ul li {
    margin: 0 0 11px;
    padding: 0;
}

.ak-footer ul li::before {
    display: none !important;
}

.ak-footer ul a {
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ak-footer ul a:hover {
    color: #ffffff !important;
}


/* CONTACTO */

.ak-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.ak-footer-contact-item:last-child {
    margin-bottom: 0;
}

.ak-footer-contact-item > i {
    flex: 0 0 20px;
    width: 20px;
    margin-top: 3px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
    text-align: center;
}

.ak-footer-contact-item > div {
    min-width: 0;
}

.ak-footer-contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
}

.ak-footer-contact-item span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.55;
}


/* REDES SOCIALES */

.ak-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ak-footer-social a {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    text-decoration: none !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.ak-footer-social a:hover {
    background: #90292B;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.ak-footer-social i {
    margin: 0;
    color: inherit;
    font-size: 14px;
}


/* FOOTER INFERIOR */

.ak-footer-bottom {
    padding: 18px 0;
    background: #03142f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ak-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ak-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    line-height: 1.5;
}


/* Evitar estilos heredados del tema */

.ak-footer a::before,
.ak-footer a::after,
.ak-footer li::before,
.ak-footer li::after {
    content: none;
}

.ak-footer p,
.ak-footer span,
.ak-footer strong,
.ak-footer h4,
.ak-footer a {
    font-family: inherit;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .ak-footer-main {
        padding: 55px 0 45px;
    }

    .ak-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}


@media (max-width: 600px) {

    .ak-footer-main {
        padding: 45px 0 35px;
    }

    .ak-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ak-footer-logo {
        max-width: 180px;
    }

    .ak-footer-bottom {
        padding: 20px 0;
    }

    .ak-footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

}

/* =========================================================
   FRANJA DE INSTITUCIONES
========================================================= */

.ak-footer-institutions {
    width: 100%;
    padding: 28px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e5e9f0;
}

.ak-footer-institutions-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    gap: 35px;
}

.ak-footer-institution {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.ak-footer-institution img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 85px;
    object-fit: contain;
}

/* El escudo del Gobierno tiene una proporción diferente */
.ak-footer-institution:first-child img {
    max-height: 105px;
}

/* International Centre necesita un poco más de ancho */
.ak-footer-institution:nth-child(5) img {
    max-height: 75px;
}


/* TABLET */

@media (max-width: 991px) {

    .ak-footer-institutions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 40px;
    }

}


/* MÓVIL */

@media (max-width: 575px) {

    .ak-footer-institutions {
        padding: 30px 20px;
    }

    .ak-footer-institutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 25px;
    }

    .ak-footer-institution img {
        max-height: 65px;
    }

    .ak-footer-institution:first-child img {
        max-height: 80px;
    }

}


/* PANTALLAS MUY PEQUEÑAS */

@media (max-width: 380px) {

    .ak-footer-institutions-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   CABECERA MÓVIL
   Oculta la franja superior y evita el colapso del margen
   del primer bloque de Elementor.
========================================================= */

@media (max-width: 767px) {

    header.main-header {
        display: none !important;
    }

    .menu-banner {
        display: flow-root;
        margin-top: 0 !important;
    }

}

/* =========================================================
   NOTICIA INDIVIDUAL
========================================================= */

.ak-article-hero {
    /* El menú principal del tema padre se posiciona sobre el contenido. */
    padding: 172px 0 36px;
    background: linear-gradient(135deg, #333d4a 0%, #484848 100%);
    color: #fff;
}

.ak-article-hero__eyebrow {
    margin: 0 0 10px;
    color: #f0c7c8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ak-article-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #fff;
    font-family: 'Gotham', Arial, sans-serif !important;
    font-size: clamp(26px, 3.1vw, 42px);
    font-weight: 700;
    line-height: 1.22;
}

.ak-article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.ak-article-breadcrumb a { color: #fff; text-decoration: none; }
.ak-article-breadcrumb span[aria-current="page"] { max-width: 650px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ak-single-news { padding: 64px 0 78px; background: #f6f7f8; }

.ak-single-news__article,
.ak-single-news__comments {
    max-width: 1050px;
    margin: 0 auto;
    padding: 48px clamp(24px, 5vw, 72px);
    background: #fff;
    box-shadow: 0 12px 35px rgba(12, 29, 54, .08);
}

.ak-single-news__header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8eaed;
}

.ak-date-card {
    flex: 0 0 110px;
    padding: 15px 8px;
    border: 1px solid #e7e9ec;
    border-top: 4px solid #90292b;
    background: #fff;
    text-align: center;
}

.ak-date-card span { display: block; }
.ak-date-card__day { color: #1d2c43; font-size: 42px; font-weight: 700; line-height: 1; }
.ak-date-card__month { margin-top: 8px; color: #90292b; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.ak-date-card__year { margin-top: 3px; color: #677180; font-size: 10px; font-weight: 700; }

.ak-single-news__meta { display: flex; flex-wrap: wrap; gap: 11px 22px; color: #677180; font-size: 12px; font-weight: 500; }
.ak-single-news__meta span { white-space: nowrap; }
.ak-single-news__meta i { margin-right: 7px; color: #90292b; }
.ak-single-news__meta a { color: #90292b; text-decoration: none; }
.ak-single-news__meta a:hover { color: #5d1719; text-decoration: underline; }

.ak-single-news__featured-image { margin: 0 0 34px; }
.ak-single-news__featured-image img { display: block; width: 100%; height: auto; }
.ak-single-news__featured-image figcaption { margin-top: 8px; color: #76808d; font-size: 12px; font-style: italic; }

.ak-single-news__content { color: #45505d; font-size: 16px; line-height: 1.9; }
.ak-single-news__content > *:first-child { margin-top: 0; }
.ak-single-news__content p { margin: 0 0 24px; }
.ak-single-news__content h2,
.ak-single-news__content h3,
.ak-single-news__content h4 { margin: 40px 0 16px; color: #1d2c43; font-family: 'Gotham', Arial, sans-serif !important; font-weight: 700; line-height: 1.3; }
.ak-single-news__content h2 { font-size: 28px; }
.ak-single-news__content h3 { font-size: 23px; }
.ak-single-news__content ul,
.ak-single-news__content ol { margin: 0 0 25px 25px; padding: 0; }
.ak-single-news__content li { margin: 0 0 9px; }
.ak-single-news__content a { color: #90292b; font-weight: 600; text-decoration: underline; }
.ak-single-news__content blockquote { margin: 32px 0; padding: 20px 25px; border-left: 4px solid #90292b; background: #f8f3f3; color: #4e555e; font-size: 17px; font-style: italic; }
.ak-single-news__content img { max-width: 100%; height: auto; margin: 10px 0 24px; }
.ak-single-news__content .aligncenter { display: block; margin-right: auto; margin-left: auto; }

.ak-single-news__footer { margin-top: 46px; padding-top: 28px; border-top: 1px solid #e8eaed; background: transparent !important; }
.alba-article-share { display: flex; align-items: center; gap: 18px; }
.alba-article-share__label { color: #1d2c43; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.alba-article-share__links { display: flex; gap: 8px; }
.alba-article-share__links a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid #e2e5e8; border-radius: 50%; color: #90292b; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.alba-article-share__links a:hover { background: #90292b; border-color: #90292b; color: #fff; transform: translateY(-2px); }

.ak-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 35px; }
.ak-post-navigation > div:empty { display: none; }
.ak-post-navigation__next { text-align: right; }
.ak-post-navigation a { display: inline-flex; align-items: center; gap: 11px; color: #1d2c43; font-size: 13px; font-weight: 600; line-height: 1.45; text-decoration: none; }
.ak-post-navigation a:hover { color: #90292b; }
.ak-post-navigation small { display: block; margin-bottom: 4px; color: #90292b; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }

.ak-single-news__comments { margin-top: 28px; }
.ak-single-news__comments .comments-title,
.ak-single-news__comments .comment-reply-title { margin: 0 0 22px; color: #1d2c43; font-family: 'Gotham', Arial, sans-serif !important; font-size: 23px; font-weight: 700; }
.ak-single-news__comments textarea,
.ak-single-news__comments input[type="text"],
.ak-single-news__comments input[type="email"],
.ak-single-news__comments input[type="url"] { width: 100%; border: 1px solid #dfe3e7; border-radius: 0; padding: 12px 14px; }
.ak-single-news__comments .submit { border: 0; padding: 12px 22px; background: #90292b; color: #fff; font-weight: 700; text-transform: uppercase; }

@media (max-width: 767px) {
    .ak-article-hero { padding: 96px 0 28px; }
    .ak-article-breadcrumb span[aria-current="page"] { display: none; }
    .ak-single-news { padding: 34px 0 48px; }
    .ak-single-news__article,
    .ak-single-news__comments { padding: 30px 22px; }
    .ak-single-news__header { align-items: flex-start; gap: 18px; }
    .ak-date-card { flex-basis: 82px; }
    .ak-date-card__day { font-size: 34px; }
    .ak-single-news__content { font-size: 15px; line-height: 1.8; }
    .alba-article-share { align-items: flex-start; flex-direction: column; gap: 10px; }
    .ak-post-navigation { grid-template-columns: 1fr; }
    .ak-post-navigation__next { text-align: left; }
}
