/* =========================================================
   Blog Hero
   ========================================================= */
.blog-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-white);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.blog-breadcrumb {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb span {
    margin: 0 6px;
}

.blog-breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.96);
}

.blog-hero-text {
    max-width: 760px;
    padding: 18px 22px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.56), rgba(2, 6, 23, 0.34));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.blog-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #dbeafe;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.blog-hero h1 {
    max-width: 700px;
    margin: 0 0 16px;
    font-size: clamp(2.3rem, 4.6vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--color-white);
    text-wrap: balance;
    overflow-wrap: anywhere;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.55),
        0 8px 28px rgba(0, 0, 0, 0.32);
}

.blog-hero-excerpt {
    max-width: 680px;
    margin: 0 0 16px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   Blog Hero - Clean Variant
   ========================================================= */
.blog-hero--clean {
    min-height: auto;
    padding: 120px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 24%),
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.10), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #11243a 55%, #1d4ed8 100%);
}

.blog-hero--clean .blog-hero-content {
    max-width: 1100px;
}

.blog-hero--clean .blog-hero-text {
    max-width: 860px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.blog-hero--clean .blog-breadcrumb {
    margin-bottom: 18px;
}

.blog-hero--clean .blog-hero-excerpt {
    max-width: 760px;
}

/* =========================================================
   Blog Featured Media
   ========================================================= */
.blog-featured-media-section {
    margin-top: -24px;
    padding-bottom: 18px;
}

.blog-featured-media-card {
    overflow: hidden;
    border: 1px solid rgba(219, 227, 238, 0.9);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
}

.blog-featured-media-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
}

/* =========================================================
   Blog Detail
   ========================================================= */
.blog-detail-section {
    padding-top: 50px;
}

.blog-detail-layout {
    max-width: 1100px;
    margin: 0 auto;
}

.blog-article {
    padding: 40px;
    border-radius: 16px;
    background: #ffffff;
}

.blog-article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #1f2937;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.3;
    color: #11243a;
}

.blog-article-content h2 {
    font-size: 32px;
}

.blog-article-content h3 {
    font-size: 26px;
}

.blog-article-content p {
    margin-bottom: 18px;
    color: #334155;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 0 0 20px 22px;
}

.blog-article-content li {
    margin-bottom: 8px;
    color: #334155;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 12px;
}

.blog-article-content a {
    color: #2563eb;
    text-decoration: none;
}

.blog-article-content a:hover {
    text-decoration: underline;
}

.blog-article-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    background: #f8fbff;
}

.blog-article-content pre {
    overflow-x: auto;
    margin: 24px 0;
    padding: 18px;
    border-radius: 12px;
    background: #0f172a;
    color: #f8fafc;
}

.blog-article-content code {
    font-family: Consolas, Monaco, monospace;
    font-size: 14px;
}

.blog-article-content iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    margin: 24px 0;
    border: 0;
    border-radius: 12px;
}

.video-wrapper {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* =========================================================
   Blog CTA
   ========================================================= */
.blog-cta-section {
    padding-top: 10px;
}

.blog-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, #11243a, #1d4ed8);
    color: var(--color-white);
}

.blog-cta h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-white);
}

.blog-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-cta .btn {
    white-space: nowrap;
}

.blog-cta .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    color: var(--color-white);
    box-shadow: none;
}

.blog-cta .btn-outline:hover {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

/* =========================================================
   Blog Cards
   ========================================================= */
.blog-card {
    overflow: hidden;
    padding: 0;
}

.blog-card-image-link {
    display: block;
}

.blog-card-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: 22px;
}

.blog-card-date {
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
}

.blog-card h2,
.blog-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card h2 a,
.blog-card h3 a {
    color: #11243a;
    text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
    color: #2563eb;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}
