/* =========================
   BASE
========================= */

.bds-single {
    background: #f7f8fa;
    color: #1f2937;
    padding-bottom: 80px;
}

.bds-container {
    width: min(1280px, calc(100% - 40px));
    margin-inline: auto;
}

/* =========================
   HERO
========================= */

.bds-hero {
    background: #ffffff;
    padding: 32px 0 36px;
    border-bottom: 1px solid #e5e7eb;
}

.bds-kicker {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 10px;
}

.bds-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    margin: 0;
    color: #004197;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* =========================
   BREADCRUMBS
========================= */

.bds-breadcrumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 14px;
    color: #6b7280;
}

.bds-breadcrumbs a {
    color: #2563eb;
    text-decoration: none;
}

.bds-breadcrumbs a:hover {
    text-decoration: underline;
}

/* =========================
   DEFINICIÓN
========================= */

.bds-definition-box {
    margin-top: 30px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 24px;
}

.bds-definition-box span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .08em;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.bds-definition-box p {
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    color: #0f172a;
    font-weight: 500;
}

/* =========================
   LAYOUT
========================= */

.bds-content-section {
    padding: 50px 0;
}

.bds-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
}

.bds-article {
    min-width: 0;
}

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

.bds-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.bds-content h2 {
    font-size: 34px;
    line-height: 1.2;
    margin-top: 60px;
    margin-bottom: 20px;
    color: #0f172a;
    font-weight: 800;
}

.bds-content h3 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #111827;
}

.bds-content p,
.bds-content li {
    font-size: 19px;
    line-height: 1.9;
    color: #374151;
}

.bds-content ul,
.bds-content ol {
    padding-left: 24px;
}

.bds-content a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.bds-content a:hover {
    text-decoration: underline;
}

/* =========================
   FAQS
========================= */

.bds-faqs {
    margin-top: 50px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.bds-faqs h2 {
    margin-top: 0;
    margin-bottom: 30px;
}

.bds-faqs details {
    border-top: 1px solid #e5e7eb;
    padding: 18px 0;
}

.bds-faqs summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.bds-faqs p {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.8;
    color: #4b5563;
}

/* =========================
   SIDEBAR
========================= */

.bds-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.bds-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.bds-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
    color: #0f172a;
}

.bds-card p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bds-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.bds-card a:hover {
    background: #1d4ed8;
}

/* =========================
   VOLVER
========================= */

.bds-back {
    margin-top: 40px;
}

.bds-back a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

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

@media (max-width: 980px) {

    .bds-layout {
        grid-template-columns: 1fr;
    }

    .bds-sidebar {
        position: relative;
        top: auto;
    }

    .bds-content {
        padding: 30px;
    }

    .bds-content h2 {
        font-size: 28px;
    }

    .bds-content p,
    .bds-content li {
        font-size: 18px;
    }
}
.bds-content h2,
.bds-content h3,
.bds-faqs h2 {
    color: #004197;
}

@media (max-width: 980px) {
    .bds-hero h1 {
        color: #004197;
        font-size: 34px;
    }

    .bds-content h2,
    .bds-content h3,
    .bds-faqs h2 {
        color: #004197;
    }
}
/* =========================
   HOME
========================= */

.bds-home {
    background: #f7f8fa;
    padding-bottom: 80px;
}

.bds-home-hero {
    padding: 40px 0 60px;
}

.bds-home-intro {
    max-width: 760px;
    font-size: 22px;
    line-height: 1.8;
    color: #4b5563;
    margin-top: 24px;
}

.bds-letter-grid {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: 14px;
    margin-top: 42px;
}

.bds-letter-card {
    background: #ffffff;
    border-radius: 18px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;

    color: #1d4ed8;
    font-size: 20px;
    font-weight: 800;

    box-shadow:
        0 1px 2px rgba(15,23,42,.04),
        0 8px 24px rgba(15,23,42,.04);

    transition: all .22s ease;
}

.bds-letter-card:hover {
    background: #004197;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(0,65,151,.22);
}

.bds-letter-card:hover * {
    color: #ffffff !important;
}

@media (max-width: 980px) {

    .bds-letter-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .bds-letter-card {
        height: 64px;
        font-size: 18px;
        border-radius: 16px;
    }
}
.bds-letter-page {
    background: #f7f8fa;
    padding: 40px 0 80px;
}

.bds-letter-page h1 {
    color: #004197;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 0;
}

.bds-term-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.bds-term-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: all .22s ease;
}

.bds-term-card h2 {
    color: #004197;
    font-size: 24px;
    margin: 0 0 14px;
}

.bds-term-card p {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

.bds-term-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 65, 151, .14);
}

@media (max-width: 980px) {
    .bds-term-grid {
        grid-template-columns: 1fr;
    }
}