/* ============================================================================
   Blog / resources  —  /blog
   Scoped under .bl-page, mirroring the .op-page scoping in operoapp.css so
   nothing here can leak into the rest of the site.
   ========================================================================== */

.bl-page {
    --bl-navy: #0a1633;
    --bl-blue: #1f7aec;
    --bl-green: #04d06d;
    --bl-ink: #17203a;
    --bl-body: #4d5768;
    --bl-line: #e6ebf3;
    --bl-surface: #fff;
    --bl-soft: #f5f8fd;
    color: var(--bl-body);
    font-size: 16px;
    line-height: 1.9;
}

.bl-page h1,
.bl-page h2,
.bl-page h3 {
    color: var(--bl-ink);
    font-weight: 800;
    line-height: 1.4;
}

.bl-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- page header ---------- */

.bl-head {
    background: radial-gradient(900px 480px at 70% -20%, #1d3a86 0%, transparent 60%), linear-gradient(160deg, var(--bl-navy) 0%, #12224d 100%);
    padding: 140px 0 70px;
    color: #b6c4de;
    text-align: center;
}

.bl-head h1 {
    color: #fff;
    font-size: clamp(28px, 4.4vw, 44px);
    margin: 0 0 14px;
}

.bl-head p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
}

.bl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #8fe9ff;
    margin-bottom: 18px;
}

/* ---------- index cards ---------- */

.bl-list {
    padding: 76px 0 96px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.bl-card {
    display: block;
    background: var(--bl-surface);
    border: 1px solid var(--bl-line);
    border-radius: 20px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.bl-card:hover,
.bl-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(15, 32, 70, .16);
    border-color: transparent;
    text-decoration: none;
    color: inherit;
}

.bl-card-ico {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(135deg, #2f8bff, #1f6be0);
    margin-bottom: 20px;
}

.bl-card h2 {
    font-size: 21px;
    margin: 0 0 12px;
}

.bl-card p {
    margin: 0 0 18px;
    font-size: 15.5px;
}

.bl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13.5px;
    color: #8b93a6;
}

.bl-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- article ---------- */

.bl-article {
    padding: 60px 0 96px;
}

.bl-article-inner {
    max-width: 760px;
    margin: 0 auto;
}

.bl-crumbs {
    font-size: 14px;
    margin-bottom: 26px;
    color: #8b93a6;
}

.bl-crumbs a {
    color: var(--bl-blue);
}

.bl-article h2 {
    font-size: clamp(22px, 2.8vw, 28px);
    margin: 44px 0 14px;
}

.bl-article h3 {
    font-size: 19px;
    margin: 30px 0 10px;
}

.bl-article p {
    margin: 0 0 18px;
    font-size: 17px;
}

.bl-article ul,
.bl-article ol {
    margin: 0 0 22px;
    padding-inline-start: 24px;
}

.bl-article li {
    margin-bottom: 10px;
    font-size: 16.5px;
}

.bl-article strong {
    color: var(--bl-ink);
}

.bl-article a {
    color: var(--bl-blue);
    text-decoration: underline;
}

/* pull-out note */
.bl-note {
    background: var(--bl-soft);
    border-inline-start: 4px solid var(--bl-blue);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 28px 0;
}

.bl-note p:last-child {
    margin-bottom: 0;
}

/* in-article call to action back to the product */
.bl-cta {
    background: linear-gradient(135deg, #f2f7ff, #eefaf4);
    border: 1px solid var(--bl-line);
    border-radius: 20px;
    padding: 32px;
    margin: 44px 0 0;
    text-align: center;
}

.bl-cta h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.bl-cta p {
    margin: 0 0 22px;
}

.bl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--bl-green), #06b45f);
    color: #fff;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(4, 208, 109, .35);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bl-btn:hover,
.bl-btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(4, 208, 109, .45);
}

/* read next */
.bl-next {
    margin-top: 56px;
    padding-top: 34px;
    border-top: 1px solid var(--bl-line);
}

.bl-next h3 {
    margin: 0 0 18px;
    font-size: 18px;
}

.bl-next a {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--bl-line);
    border-radius: 14px;
    margin-bottom: 12px;
    color: var(--bl-ink);
    font-weight: 600;
    text-decoration: none;
    transition: border-color .25s ease, transform .25s ease;
}

.bl-next a:hover {
    border-color: rgba(31, 122, 236, .45);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---------- empty / not found ---------- */

.bl-empty {
    text-align: center;
    padding: 90px 0 110px;
}

.bl-empty h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

@media (max-width: 575px) {
    .bl-head {
        padding: 120px 0 56px;
    }

    .bl-list {
        padding: 54px 0 70px;
        grid-template-columns: 1fr;
    }

    .bl-cta {
        padding: 26px 20px;
    }
}
