/* ══════════════════════════════════════
   BLOG DETAIL PAGE — blog-detail.css
══════════════════════════════════════ */

body { background: #060606; color: #fff; overflow-x: hidden; }

/* ══════════════════
   ARTICLE HERO
══════════════════ */
.bd-hero {
    background: #080808;
    padding: 130px 0 0;
    position: relative;
    overflow: hidden;
}
.bd-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.bd-hero::after {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #29ABE2 0%, rgba(41,171,226,0.15) 60%, transparent 100%);
}
.bd-hero__inner {
    position: relative; z-index: 1;
    padding-bottom: 48px;
}

/* Breadcrumb */
.bd-breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
    margin-bottom: 28px;
}
.bd-breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.bd-breadcrumb a:hover { color: #29ABE2; }
.bd-breadcrumb__sep { font-size: 9px; color: rgba(255,255,255,0.15); }
.bd-breadcrumb__cur { color: #29ABE2; }

/* Category + read-time row */
.bd-hero__top {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 22px;
}
.bd-hero__cat {
    font-size: 9px; font-weight: 800;
    letter-spacing: 0.22em; text-transform: uppercase;
    background: rgba(41,171,226,0.15);
    color: #29ABE2; border: 1px solid rgba(41,171,226,0.3);
    padding: 4px 14px; border-radius: 100px;
}
.bd-hero__readtime {
    font-size: 10px; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.28);
}

/* Title */
.bd-hero__title {
    font-size: clamp(28px, 4.5vw, 58px);
    font-weight: 900; letter-spacing: -0.03em;
    line-height: 1.1; color: #fff;
    margin: 0 0 32px;
    max-width: 820px;
}

/* Author / meta bar */
.bd-hero__meta {
    display: flex; align-items: center; gap: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.bd-hero__author {
    display: flex; align-items: center; gap: 14px;
    flex: 1;
}
.bd-hero__author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #29ABE2, #1a6fa8);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: #fff;
    flex-shrink: 0;
}
.bd-hero__author-name {
    font-size: 13px; font-weight: 700; color: #fff;
}
.bd-hero__author-role {
    font-size: 10px; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
    margin-top: 2px;
}
.bd-hero__meta-items {
    display: flex; align-items: center; gap: 24px;
}
.bd-hero__meta-item {
    font-size: 11px; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.28); display: flex;
    align-items: center; gap: 6px;
}
.bd-hero__meta-item i { font-size: 10px; color: #29ABE2; }

/* Share row */
.bd-hero__share {
    display: flex; align-items: center; gap: 10px;
}
.bd-hero__share-label {
    font-size: 10px; letter-spacing: 0.16em;
    text-transform: uppercase; color: rgba(255,255,255,0.22);
}
.bd-share-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.35); font-size: 11px;
    text-decoration: none; transition: all 0.25s;
}
.bd-share-btn:hover {
    background: #29ABE2; border-color: #29ABE2;
    color: #000; text-decoration: none;
}

/* ══════════════════
   FEATURED IMAGE
══════════════════ */
.bd-featured {
    width: 100%;
    height: 460px;
    overflow: hidden;
    position: relative;
    background: #111;
}
.bd-featured img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(0.8);
    display: block;
}
.bd-featured__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,6,6,0.6) 0%, transparent 60%);
}

/* ══════════════════
   MAIN LAYOUT
══════════════════ */
.bd-body {
    padding: 64px 0 100px;
    background: #060606;
}

/* ══════════════════
   ARTICLE CONTENT
══════════════════ */
.bd-article { padding-right: 40px; }

.bd-article p {
    font-size: 15px; line-height: 1.9;
    color: rgba(255,255,255,0.55);
    margin-bottom: 22px;
}
.bd-article p.bd-lead {
    font-size: 18px; line-height: 1.75;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    border-left: 3px solid #29ABE2;
    padding-left: 22px;
    margin-bottom: 32px;
}
.bd-article h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800; color: #fff;
    letter-spacing: -0.02em; line-height: 1.25;
    margin: 40px 0 18px;
}
.bd-article h3 {
    font-size: 18px; font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.01em; line-height: 1.3;
    margin: 30px 0 14px;
}

/* Blockquote */
.bd-blockquote {
    margin: 36px 0;
    padding: 32px 36px;
    background: rgba(41,171,226,0.05);
    border-left: 3px solid #29ABE2;
    position: relative;
}
.bd-blockquote::before {
    content: "\201C";
    position: absolute; top: 16px; right: 28px;
    font-size: 80px; line-height: 1;
    color: rgba(41,171,226,0.15);
    font-family: Georgia, serif;
}
.bd-blockquote p {
    font-size: 18px; line-height: 1.7;
    color: rgba(255,255,255,0.75) !important;
    font-style: italic; font-weight: 500;
    margin: 0 0 12px !important;
}
.bd-blockquote cite {
    font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; color: #29ABE2;
    font-style: normal; font-weight: 700;
}

/* Callout / info box */
.bd-callout {
    margin: 32px 0;
    padding: 24px 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    display: flex; gap: 18px; align-items: flex-start;
}
.bd-callout__icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: rgba(41,171,226,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #29ABE2; font-size: 14px;
    margin-top: 2px;
}
.bd-callout__text {
    font-size: 14px; line-height: 1.75;
    color: rgba(255,255,255,0.5);
}
.bd-callout__text strong { color: rgba(255,255,255,0.85); }

/* Bullet list */
.bd-article ul.bd-list {
    list-style: none; margin: 0 0 28px; padding: 0;
}
.bd-article ul.bd-list li {
    font-size: 15px; line-height: 1.75;
    color: rgba(255,255,255,0.55);
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bd-article ul.bd-list li:last-child { border-bottom: none; }
.bd-article ul.bd-list li::before {
    content: "";
    position: absolute; left: 0; top: 18px;
    width: 8px; height: 1px;
    background: #29ABE2;
}

/* Stats strip inside article */
.bd-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    margin: 36px 0;
}
.bd-stat {
    background: #0d0d0d;
    padding: 28px 24px;
    text-align: center;
}
.bd-stat__num {
    display: block;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900; color: #fff;
    letter-spacing: -0.04em; line-height: 1;
    margin-bottom: 6px;
}
.bd-stat__num span { color: #29ABE2; }
.bd-stat__label {
    font-size: 9px; letter-spacing: 0.24em;
    text-transform: uppercase; color: rgba(255,255,255,0.28);
}

/* Inline image */
.bd-img {
    width: 100%; margin: 32px 0;
    overflow: hidden; border-radius: 2px;
}
.bd-img img {
    width: 100%; display: block;
    filter: brightness(0.8) saturate(0.85);
    transition: filter 0.4s;
}
.bd-img:hover img { filter: brightness(0.9) saturate(1); }
.bd-img__caption {
    font-size: 11px; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.22);
    margin-top: 10px; text-align: center;
    font-style: italic;
}

/* Article footer — tags + share */
.bd-article-footer {
    display: flex; align-items: center;
    justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.bd-article-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    align-items: center;
}
.bd-article-tags__label {
    font-size: 10px; letter-spacing: 0.18em;
    text-transform: uppercase; color: rgba(255,255,255,0.25);
    margin-right: 4px;
}
.bd-tag {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 5px 12px; border-radius: 2px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.bd-tag:hover {
    color: #29ABE2; border-color: rgba(41,171,226,0.3);
    background: rgba(41,171,226,0.05); text-decoration: none;
}

/* ══════════════════
   PREV / NEXT NAV
══════════════════ */
.bd-nav {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2px; margin-top: 36px;
}
.bd-nav__item {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px 28px;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
    display: flex; flex-direction: column; gap: 6px;
    position: relative; overflow: hidden;
}
.bd-nav__item::before {
    content: "";
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: #29ABE2;
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}
.bd-nav__item:hover { background: #111; border-color: rgba(41,171,226,0.12); text-decoration: none; }
.bd-nav__item:hover::before { transform: scaleX(1); }
.bd-nav__item--next { text-align: right; }
.bd-nav__item--next::before { transform-origin: right; }
.bd-nav__dir {
    font-size: 9px; letter-spacing: 0.22em;
    text-transform: uppercase; color: #29ABE2;
    display: flex; align-items: center; gap: 6px;
}
.bd-nav__item--next .bd-nav__dir { justify-content: flex-end; }
.bd-nav__title {
    font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    transition: color 0.25s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bd-nav__item:hover .bd-nav__title { color: #fff; }

/* ══════════════════
   RELATED ARTICLES
══════════════════ */
.bd-related {
    padding: 72px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 72px;
}
.bd-related__header {
    display: flex; align-items: flex-end;
    justify-content: space-between; gap: 20px;
    margin-bottom: 40px;
}
.bd-related__label {
    font-size: 11px; letter-spacing: 0.28em;
    text-transform: uppercase; color: #29ABE2;
    font-weight: 700; margin-bottom: 8px;
}
.bd-related__title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800; color: #fff;
    letter-spacing: -0.02em; margin: 0;
}
.bd-related__link {
    font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
    text-decoration: none; white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
    transition: color 0.2s;
}
.bd-related__link:hover { color: #29ABE2; text-decoration: none; }
.bd-related__link i { font-size: 10px; }

/* Related cards */
.bd-rel-card {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden; text-decoration: none;
    display: block;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
}
.bd-rel-card::after {
    content: "";
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: #29ABE2;
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}
.bd-rel-card:hover { background: #111; border-color: rgba(41,171,226,0.12); text-decoration: none; }
.bd-rel-card:hover::after { transform: scaleX(1); }
.bd-rel-card__img {
    width: 100%; height: 200px; overflow: hidden;
}
.bd-rel-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.7) saturate(0.75);
    transition: transform 0.6s, filter 0.4s;
    display: block;
}
.bd-rel-card:hover .bd-rel-card__img img {
    transform: scale(1.06);
    filter: brightness(0.85) saturate(0.9);
}
.bd-rel-card__body { padding: 24px 26px 28px; }
.bd-rel-card__cat {
    font-size: 8px; letter-spacing: 0.2em;
    text-transform: uppercase; color: #29ABE2;
    font-weight: 800; margin-bottom: 10px;
}
.bd-rel-card__title {
    font-size: 16px; font-weight: 700;
    color: #fff; letter-spacing: -0.01em;
    line-height: 1.4; margin: 0 0 14px;
    transition: color 0.25s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bd-rel-card:hover .bd-rel-card__title { color: #29ABE2; }
.bd-rel-card__meta {
    font-size: 10px; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.22);
}

/* ══════════════════
   SIDEBAR
══════════════════ */
.bd-sidebar { padding-left: 8px; }

.bd-widget {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 28px 26px;
    margin-bottom: 2px;
}
.bd-widget__title {
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: #fff; margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; gap: 10px;
}
.bd-widget__title::before {
    content: ""; display: block;
    width: 16px; height: 2px;
    background: #29ABE2; flex-shrink: 0;
}

/* Author card */
.bd-author-card { text-align: center; }
.bd-author-card__avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #29ABE2, #1a6fa8);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 900; color: #fff;
    margin: 0 auto 16px;
}
.bd-author-card__name {
    font-size: 16px; font-weight: 800; color: #fff;
    margin-bottom: 4px;
}
.bd-author-card__role {
    font-size: 10px; letter-spacing: 0.16em;
    text-transform: uppercase; color: #29ABE2;
    margin-bottom: 14px;
}
.bd-author-card__bio {
    font-size: 13px; line-height: 1.7;
    color: rgba(255,255,255,0.35); margin: 0;
}

/* Category list */
.bd-cats { list-style: none; margin: 0; padding: 0; }
.bd-cats li { border-bottom: 1px solid rgba(255,255,255,0.04); }
.bd-cats li:last-child { border-bottom: none; }
.bd-cats a {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    font-size: 13px; color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.bd-cats a:hover { color: #29ABE2; padding-left: 8px; }
.bd-cats__count {
    font-size: 10px; font-family: 'Courier New', monospace;
    letter-spacing: 0.1em; color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
    padding: 2px 8px; border-radius: 100px;
}
.bd-cats a:hover .bd-cats__count { color: #29ABE2; background: rgba(41,171,226,0.08); }

/* Recent posts */
.bd-recent { list-style: none; margin: 0; padding: 0; }
.bd-recent li {
    display: flex; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: flex-start;
}
.bd-recent li:last-child { border-bottom: none; padding-bottom: 0; }
.bd-recent__thumb {
    width: 60px; height: 50px; flex-shrink: 0;
    overflow: hidden; border-radius: 2px;
    background: #1a1a1a;
}
.bd-recent__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s;
}
.bd-recent li:hover .bd-recent__thumb img { filter: brightness(0.9); }
.bd-recent a {
    font-size: 12px; color: rgba(255,255,255,0.5);
    text-decoration: none; line-height: 1.5;
    display: block; transition: color 0.2s;
    flex: 1;
}
.bd-recent a:hover { color: #29ABE2; }
.bd-recent__date {
    display: block;
    font-size: 9px; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2); margin-top: 5px;
}

/* Tags */
.bd-tags-wrap {
    display: flex; flex-wrap: wrap; gap: 6px;
}

/* Subscribe */
.bd-sub__text {
    font-size: 13px; line-height: 1.7;
    color: rgba(255,255,255,0.3); margin: 0 0 18px;
}
.bd-sub__input {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff; font-size: 13px;
    padding: 11px 14px; outline: none;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.bd-sub__input::placeholder { color: rgba(255,255,255,0.2); }
.bd-sub__input:focus { border-color: rgba(41,171,226,0.4); }
.bd-sub__btn {
    width: 100%; background: #29ABE2;
    border: none; color: #000;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 12px 20px; cursor: pointer;
    transition: background 0.25s;
}
.bd-sub__btn:hover { background: #1a8fc7; }

/* ══════════════════
   RESPONSIVE
══════════════════ */
@media (max-width: 1199px) {
    .bd-hero { padding: 120px 0 0; }
    .bd-article { padding-right: 20px; }
    .bd-featured { height: 380px; }
    .bd-sidebar { padding-left: 4px; }
}
@media (max-width: 991px) {
    .bd-hero { padding: 100px 0 0; }
    .bd-article { padding-right: 0; }
    .bd-sidebar { padding-left: 0; margin-top: 48px; }
    .bd-featured { height: 320px; }
    .bd-stats { grid-template-columns: repeat(3, 1fr); }
    .bd-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .bd-hero { padding: 90px 0 0; }
    .bd-hero__title { font-size: 28px; }
    .bd-hero__meta { flex-direction: column; align-items: flex-start; gap: 16px; }
    .bd-featured { height: 240px; }
    .bd-article p { font-size: 14px; }
    .bd-article p.bd-lead { font-size: 16px; }
    .bd-blockquote { padding: 22px 22px; }
    .bd-blockquote p { font-size: 16px !important; }
    .bd-stats { grid-template-columns: 1fr 1fr; }
    .bd-stats .bd-stat:last-child { grid-column: span 2; }
    .bd-nav { grid-template-columns: 1fr; }
    .bd-nav__item--next { text-align: left; }
    .bd-nav__item--next .bd-nav__dir { justify-content: flex-start; }
    .bd-related { margin-top: 48px; padding-top: 48px; }
    .bd-related__header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 575px) {
    .bd-hero__meta-items { flex-wrap: wrap; gap: 12px; }
    .bd-article-footer { flex-direction: column; align-items: flex-start; }
    .bd-featured { height: 200px; }
    .bd-hero__share { display: none; }
}
