@charset "utf-8";

/* =========================
   BLOG | HERO NOTA
========================= */

.nota-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background-color: #000; /* fallback elegante */
}

.nota-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* clave: no deforma */
    object-position: center; /* foco centrado */
    display: block;
}

/* Overlay opcional para legibilidad futura */
.nota-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.45) 100%
    );
}

/* Responsive */
@media (max-width: 1024px) {
    .nota-hero {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .nota-hero {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .nota-hero {
        height: 220px;
    }
}

/* =========================
   BLOG | NOTA WRAPPER
========================= */

.nota-wrapper {
    max-width: 920px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
}

/* =========================
   BOTÓN VOLVER
========================= */

.btn-volver,
.btn-volver-mobile {
    background: none;
    border: none;
    color: #14438f;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.btn-volver-mobile {
    display: none;
    font-size: 18px;
}

/* =========================
   BREADCRUMB
========================= */

.nota-breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 16px;
}

.nota-breadcrumb a {
    color: #149bd7;
    text-decoration: none;
}

.nota-breadcrumb span {
    margin: 0 4px;
}

.nota-breadcrumb .current {
    color: #999;
}

/* =========================
   HEADER
========================= */

.nota-header {
    margin-bottom: 48px;
}

.nota-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #149bd7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.nota-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px;
    color: #14438f;
}

.nota-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #555;
    margin-bottom: 28px;
}

/* =========================
   META AUTOR
========================= */

.nota-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.nota-author-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.nota-author-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.nota-author-role {
    display: block;
    font-size: 13px;
    color: #666;
}

.nota-author-date {
    display: block;
    font-size: 12px;
    color: #999;
}

/* =========================
   SHARE
========================= */

.nota-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.nota-share span {
    font-size: 14px;
    color: #666;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14438f;
    text-decoration: none;
    transition: all 0.25s ease;
}

.share-btn:hover {
    background-color: #14438f;
    color: #fff;
    border-color: #14438f;
}

/* =========================
   CONTENIDO
========================= */

.nota-content {
    font-size: 17px;
    line-height: 1.75;
}

.nota-content p {
    margin-bottom: 22px;
    color: #333;
}

.nota-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 14px;
    color: #14438f;
}

/* =========================
   CITA
========================= */

.nota-cita {
    margin: 50px 0;
    padding: 30px 36px;
    background: #f4f7fb;
    border-left: 4px solid #149bd7;
    font-size: 18px;
    font-style: italic;
    color: #333;
}

/* =========================
   TAGS
========================= */

.nota-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nota-tags span {
    font-size: 13px;
    padding: 6px 12px;
    background: #eef4ff;
    color: #14438f;
    border-radius: 20px;
    font-weight: 500;
}

/* =========================
   RELACIONADOS
========================= */

.nota-relacionados {
    margin-top: 70px;
}

.nota-relacionados h3 {
    font-size: 26px;
    margin-bottom: 24px;
    color: #14438f;
}

.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.relacionado-item {
    display: block;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.relacionado-item:hover {
    border-color: #149bd7;
    transform: translateY(-3px);
}

.relac-cat {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #149bd7;
    margin-bottom: 8px;
}

.relacionado-item p {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

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

@media (max-width: 768px) {

    .nota-title {
        font-size: 32px;
    }

    .nota-subtitle {
        font-size: 18px;
    }

    .btn-volver {
        display: none;
    }

    .btn-volver-mobile {
        display: inline-flex;
    }

    .relacionados-grid {
        grid-template-columns: 1fr;
    }
}

.nota-microcta {
    margin: 24px 0 10px;
    padding: 14px 18px;
    background: #f0f6ff;
    border-left: 3px solid #149bd7;
    font-size: 14px;
    color: #14438f;
    border-radius: 6px;
}

.nota-cta-final {
    margin: 80px 0 20px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #14438f, #149bd7);
    color: #fff;
    border-radius: 16px;
    text-align: center;
}

.nota-cta-final h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.nota-cta-final p {
    font-size: 16px;
    margin-bottom: 26px;
}

.btn-cta {
    display: inline-block;
    padding: 14px 36px;
    background: #fff;
    color: #14438f;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* =========================
   BLOQUES NUMERADOS
========================= */

.nota-item {
    display: flex;
    gap: 24px;
    margin: 56px 0;
    align-items: flex-start;
}

.nota-item-num {
    min-width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #14438f, #149bd7);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(20, 67, 143, 0.25);
}

.nota-item-body h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #14438f;
}

.nota-item-body p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.75;
    color: #333;
}

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

@media (max-width: 768px) {

    .nota-item {
        gap: 16px;
        margin: 44px 0;
    }

    .nota-item-num {
        min-width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 10px;
    }

    .nota-item-body h3 {
        font-size: 22px;
    }
}

/* ==========================================================
   FIX VISIBILIDAD NOTAS – SIN AOS
   ========================================================== */

.nota-content,
.nota-content *,
.nota-item,
.nota-cta-final {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
}