:root {
    --bp-teal: #14897e;
    --bp-teal-dark: #0f7268;
    --bp-navy: #1b3a5b;
    --bp-text: #5b6b7b;
    --bp-muted: #8794a3;
    --bp-cream: #faf9f5;
    --bp-line: #e8e4d9;
    --bp-purple: #7b5cc8;
    --bp-coral: #d95f64;
    --bp-gold: #d9a441;
}

.bp-page,
.bp-page * {
    box-sizing: border-box;
}

.bp-page {
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bp-cream);
    background-image:
        radial-gradient(circle at 14% 18%, rgba(20, 137, 126, 0.05) 0 42px, transparent 43px),
        radial-gradient(circle at 86% 82%, rgba(217, 164, 65, 0.08) 0 46px, transparent 47px);
    border-radius: 18px;
    padding: 56px 24px 72px;
}

.bp-hero {
    max-width: 760px;
    margin: 0 auto;
}

.bp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bp-teal);
    font-size: 0.95rem;
    font-weight: 800;
}

.bp-title {
    color: var(--bp-navy);
    font-size: 3.15rem;
    font-weight: 850;
    letter-spacing: 0;
    margin: 10px 0 16px;
}

.bp-subtitle {
    max-width: 640px;
    color: var(--bp-text);
    font-size: 1.04rem;
    line-height: 1.68;
    margin: 0 auto;
}

.bp-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 26px 0 8px;
}

.bp-divider span {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bp-teal));
}

.bp-divider span:last-child {
    background: linear-gradient(90deg, var(--bp-teal), transparent);
}

.bp-divider i {
    width: 12px;
    height: 12px;
    display: block;
    border: 2px solid var(--bp-gold);
    border-radius: 50%;
    background: #ffffff;
}

.bp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 38px;
}

.bp-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
    border: 1px solid var(--bp-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(27, 58, 91, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bp-card:hover {
    border-color: rgba(20, 137, 126, 0.34);
    box-shadow: 0 18px 40px rgba(27, 58, 91, 0.1);
    transform: translateY(-2px);
}

.bp-card-media {
    min-height: 236px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(20, 137, 126, 0.12), rgba(217, 164, 65, 0.13)),
        #f4faf8;
    text-decoration: none;
    overflow: hidden;
}

.bp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-card-mark {
    width: 132px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(20, 137, 126, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(135deg, #ffffff, #f6fbfa),
        linear-gradient(90deg, rgba(123, 92, 200, 0.12), rgba(217, 95, 100, 0.12));
    color: var(--bp-navy);
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.58);
}

.bp-card-mark strong,
.bp-card-mark small {
    display: block;
    text-align: center;
}

.bp-card-mark strong {
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
}

.bp-card-mark small {
    color: var(--bp-teal-dark);
    font-size: 0.78rem;
    font-weight: 850;
}

.bp-card-body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 24px;
}

.bp-meta-row,
.bp-card-footer,
.bp-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bp-meta-row span,
.bp-article-meta span,
.bp-related-card span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e4f2ef;
    color: var(--bp-teal-dark);
    font-size: 0.78rem;
    font-weight: 850;
    padding: 5px 10px;
}

.bp-meta-row time,
.bp-card-footer span,
.bp-article-meta time {
    color: var(--bp-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.bp-card h2 {
    margin: 0;
    color: var(--bp-navy);
    font-size: 1.32rem;
    font-weight: 850;
    line-height: 1.24;
}

.bp-card h2 a,
.bp-card-footer a,
.bp-related-card h3 a,
.bp-back-link {
    color: inherit;
    text-decoration: none;
}

.bp-card h2 a:hover,
.bp-card-footer a:hover,
.bp-related-card h3 a:hover,
.bp-back-link:hover {
    color: var(--bp-teal-dark);
}

.bp-card p {
    color: var(--bp-text);
    font-size: 0.96rem;
    line-height: 1.64;
    margin: 0;
}

.bp-card-footer {
    justify-content: flex-end;
    border-top: 1px solid var(--bp-line);
    margin-top: 4px;
    padding-top: 14px;
}

.bp-card-footer a {
    color: var(--bp-navy);
    font-size: 0.9rem;
    font-weight: 850;
}

.bp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.bp-page-link,
.bp-page-gap {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 850;
}

.bp-page-link {
    border: 1px solid var(--bp-line);
    background: #ffffff;
    color: var(--bp-navy);
    text-decoration: none;
}

.bp-page-link:hover,
.bp-page-link.is-active {
    border-color: var(--bp-teal);
    background: var(--bp-teal);
    color: #ffffff;
}

.bp-page-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.bp-page-gap {
    color: var(--bp-muted);
}

.bp-empty {
    max-width: 620px;
    margin: 42px auto 0;
    border: 1px solid var(--bp-line);
    border-radius: 16px;
    background: #ffffff;
    padding: 36px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(27, 58, 91, 0.06);
}

.bp-empty-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #e4f2ef;
    color: var(--bp-teal);
    margin-bottom: 16px;
}

.bp-empty h2 {
    color: var(--bp-navy);
    font-size: 1.45rem;
    font-weight: 850;
    margin: 0 0 8px;
}

.bp-empty p {
    color: var(--bp-text);
    line-height: 1.65;
    margin: 0;
}

.bp-detail-page {
    padding-top: 44px;
}

.bp-article {
    max-width: 920px;
    margin: 0 auto;
}

.bp-article-head {
    text-align: center;
}

.bp-back-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid var(--bp-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--bp-navy);
    font-size: 0.88rem;
    font-weight: 850;
    padding: 7px 13px;
    margin-bottom: 18px;
}

.bp-article-head h1 {
    color: var(--bp-navy);
    font-size: 2.65rem;
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: 0;
    margin: 14px auto 16px;
}

.bp-article-head > p {
    max-width: 720px;
    color: var(--bp-text);
    font-size: 1.08rem;
    line-height: 1.68;
    margin: 0 auto 18px;
}

.bp-article-meta {
    justify-content: center;
}

.bp-article-image {
    margin: 32px 0 0;
    border: 1px solid var(--bp-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(27, 58, 91, 0.07);
}

.bp-article-image img {
    width: 100%;
    max-height: 480px;
    display: block;
    object-fit: cover;
}

.bp-content {
    min-width: 0;
    margin-top: 34px;
    border: 1px solid var(--bp-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--bp-text);
    font-size: 1.02rem;
    line-height: 1.78;
    padding: 34px 38px;
    box-shadow: 0 12px 30px rgba(27, 58, 91, 0.05);
    overflow-wrap: anywhere;
}

.bp-content h1,
.bp-content h2,
.bp-content h3,
.bp-content h4 {
    color: var(--bp-navy);
    font-weight: 850;
    line-height: 1.24;
    margin: 1.3em 0 0.55em;
}

.bp-content h1:first-child,
.bp-content h2:first-child,
.bp-content h3:first-child,
.bp-content p:first-child {
    margin-top: 0;
}

.bp-content p,
.bp-content ul,
.bp-content ol,
.bp-content blockquote,
.bp-content table {
    margin-bottom: 1.05rem;
}

.bp-content a {
    color: var(--bp-teal-dark);
    font-weight: 800;
}

.bp-content img,
.bp-content iframe,
.bp-content video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.bp-content blockquote {
    border-left: 4px solid var(--bp-gold);
    background: #fffbf1;
    border-radius: 12px;
    color: var(--bp-navy);
    padding: 16px 18px;
}

.bp-content table {
    width: 100%;
    border-collapse: collapse;
}

.bp-content th,
.bp-content td {
    border: 1px solid var(--bp-line);
    padding: 10px 12px;
}

.bp-related {
    max-width: 920px;
    margin: 34px auto 0;
}

.bp-related-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.bp-related-head h2 {
    color: var(--bp-navy);
    font-size: 1.55rem;
    font-weight: 850;
    margin: 0;
}

.bp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bp-related-card {
    min-width: 0;
    border: 1px solid var(--bp-line);
    border-radius: 16px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 10px 26px rgba(27, 58, 91, 0.05);
}

.bp-related-card h3 {
    color: var(--bp-navy);
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.3;
    margin: 12px 0 8px;
}

.bp-related-card p {
    color: var(--bp-text);
    font-size: 0.93rem;
    line-height: 1.62;
    margin: 0;
}

@media (max-width: 1180px) {
    .bp-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .bp-page {
        border-radius: 12px;
        padding: 42px 14px 56px;
    }

    .bp-title {
        font-size: 2.35rem;
    }

    .bp-card {
        grid-template-columns: 1fr;
    }

    .bp-card-media {
        min-height: 190px;
    }

    .bp-card-body,
    .bp-content,
    .bp-empty {
        padding: 22px;
    }

    .bp-article-head h1 {
        font-size: 2rem;
    }

    .bp-related-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bp-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .bp-title {
        font-size: 2rem;
    }

    .bp-card-footer,
    .bp-meta-row,
    .bp-article-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .bp-page-link {
        min-width: 34px;
    }
}
