/**
 * Blog Archive and Single Post Styling
 */

/* ========== BLOG HEADER ========== */
.blog-header {
    position: relative;
    padding: 170px 24px 70px;
    text-align: center;
    background: var(--bg-darker);
    overflow: hidden;
}

.blog-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.blog-header__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

.blog-header__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.blog-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.blog-header__eyebrow svg {
    opacity: 0.7;
}

.blog-header__title {
    font-family: var(--font-secondary);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.blog-header__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Category Filter Pills */
.blog-header__filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-filter-pill {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.blog-filter-pill:hover {
    color: var(--gold-light);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.08);
}

.blog-filter-pill--active {
    color: var(--navy);
    background: var(--gold-grad);
    border-color: transparent;
    font-weight: 700;
}

.blog-filter-pill--active:hover {
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: transparent;
}

/* ========== BLOG MAIN ========== */
.blog-main {
    padding: 60px 0 100px;
    background: var(--bg-dark);
}

.blog-main__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== FEATURED POST ========== */
.blog-featured {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 64px;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-featured:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 168, 76, 0.06);
    transform: translateY(-4px);
}

.blog-featured__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.blog-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-featured:hover .blog-featured__img {
    transform: scale(1.04);
}

.blog-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 9, 30, 0.15) 0%, rgba(6, 9, 30, 0.4) 100%);
    pointer-events: none;
}

.blog-featured__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 40px;
}

.blog-featured__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-featured__cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    padding: 4px 14px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 100px;
}

.blog-featured__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.blog-featured__date,
.blog-featured__read-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.blog-featured__title {
    font-family: var(--font-secondary);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.blog-featured__excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 28px;
}

.blog-featured__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.blog-featured__author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
}

.blog-featured__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 168, 76, 0.25);
    object-fit: cover;
}

.blog-featured__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: gap 0.3s ease;
}

.blog-featured:hover .blog-featured__cta {
    gap: 10px;
}

/* ========== GRID HEADER ========== */
.blog-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-grid-header__title {
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
}

.blog-grid-header__count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== POST CARDS ========== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 2-Column Grid for Case Studies Archive */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.post-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 20px rgba(201, 168, 76, 0.06);
}

.post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.post-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 22px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.post-cat-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.post-card-reading {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}

.post-card-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 12px;
    font-weight: 700;
}

.post-card-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: var(--gold-light);
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-excerpt p {
    margin: 0;
}

.post-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-card-author__img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.post-card-author__name {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.post-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== PAGINATION ========== */
.blog-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover {
    color: var(--white);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.08);
}

.blog-pagination .page-numbers.current {
    background: var(--gold-grad);
    border-color: transparent;
    color: var(--navy);
    font-weight: 800;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    border: none;
    background: none;
    color: var(--gold);
}

.blog-pagination .page-numbers.prev:hover,
.blog-pagination .page-numbers.next:hover {
    background: rgba(201, 168, 76, 0.08);
}

/* ========== EMPTY STATE ========== */
.blog-empty {
    text-align: center;
    padding: 100px 24px;
    color: var(--text-muted);
}

.blog-empty svg {
    color: rgba(201, 168, 76, 0.3);
    margin-bottom: 20px;
}

.blog-empty h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.blog-empty p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== SINGLE POST — READING PROGRESS ========== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-grad);
    z-index: 10000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s linear;
    pointer-events: none;
}

/* ========== SINGLE POST — HERO ========== */
.single-hero {
    position: relative;
    padding: 180px 24px 80px;
    text-align: center;
    background: var(--bg-darker);
    overflow: hidden;
}

.single-hero__bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.single-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.single-hero__meta-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.single-hero__categories a {
    display: inline-block;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 6px 18px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-hero__categories a:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: rgba(201, 168, 76, 0.4);
}

.single-hero__reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.single-hero__reading-time svg {
    opacity: 0.7;
}

.single-hero__title {
    font-family: var(--font-secondary);
    font-size: clamp(32px, 5.5vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.single-hero__meta-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.single-hero__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.35);
    object-fit: cover;
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.15);
}

.single-hero__author {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.single-hero__meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.5);
    flex-shrink: 0;
}

.single-hero__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.single-hero__date svg {
    opacity: 0.6;
    flex-shrink: 0;
}

.single-hero__word-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.single-hero__word-count svg {
    opacity: 0.6;
    flex-shrink: 0;
}

/* ========== SINGLE POST — AUTHOR BOX ========== */
.single-author-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 44px 36px;
    margin-top: 48px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.single-author-box:hover {
    border-color: rgba(201, 168, 76, 0.2);
}

.single-author-box__glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.single-author-box__avatar-wrap {
    flex-shrink: 0;
}

.single-author-box__avatar {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid rgba(201, 168, 76, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.single-author-box__content {
    flex: 1;
    min-width: 0;
}

.single-author-box__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 6px;
}

.single-author-box__name {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 10px;
    line-height: 1.2;
}

.single-author-box__bio {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 18px;
}

.single-author-box__links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.single-author-box__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-author-box__link:hover {
    color: var(--gold-light);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.08);
    transform: translateY(-2px);
}

/* ========== SINGLE POST — FEATURED IMAGE ========== */
.single-featured-wrap {
    max-width: 960px;
    margin: -40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

.single-featured {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.single-featured__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.single-featured:hover .single-featured__img {
    transform: scale(1.02);
}

.single-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 9, 30, 0.4) 100%);
    pointer-events: none;
}

/* ========== SINGLE POST — BODY LAYOUT ========== */
.single-body {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: flex;
    gap: 40px;
}

/* ========== SINGLE POST — SHARE SIDEBAR ========== */
.single-share-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.single-share-sidebar.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.single-share-sidebar__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.single-share-sidebar__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    margin-bottom: 4px;
}

.single-share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.single-share-btn:hover {
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

.single-share-btn.copied {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.08);
}

/* ========== SINGLE POST — CONTENT ========== */
.single-content-wrap {
    flex: 1;
    min-width: 0;
}

.post-content {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    font-size: 1.1rem;
}


.post-content p {
    margin-bottom: 28px;
}


.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: var(--font-secondary);
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.02em;
}


.post-content h2 {
    font-size: 1.85rem;
    margin: 56px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.post-content h3 {
    font-size: 1.45rem;
    margin: 40px 0 16px;
    color: var(--gold-light);
}


.post-content h4 {
    font-size: 1.2rem;
    margin: 32px 0 12px;
}


.post-content a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    transition: all 0.2s;
}


.post-content a:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}


.post-content strong {
    color: var(--white);
    font-weight: 700;
}


.post-content blockquote {
    margin: 48px 0;
    padding: 28px 32px;
    background: rgba(201, 168, 76, 0.04);
    border-left: 3px solid var(--gold);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--white);
    border-radius: 0 16px 16px 0;
    position: relative;
}


.post-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(201, 168, 76, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}


.post-content ul,
.post-content ol {
    margin: 0 0 28px 20px;
    padding: 0;
}


.post-content li {
    margin-bottom: 12px;
    padding-left: 6px;
}


.post-content li::marker {
    color: var(--gold);
}


.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}


.post-content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    margin: 32px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}


.post-content code {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold-light);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88em;
}


.post-content pre code {
    background: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
}


.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}


.post-content th,
.post-content td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.post-content th {
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.post-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
    margin: 48px 0;
}


/* ========== SINGLE POST — TAGS ========== */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.single-tags a {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}


.single-tags a:hover {
    color: var(--gold-light);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.08);
}


/* ========== SINGLE POST — MOBILE SHARE ========== */
.single-share-mobile {
    display: none;
    padding: 32px 0;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.single-share-mobile__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}


.single-share-mobile__buttons {
    display: flex;
    gap: 10px;
}


/* ========== SINGLE POST — NAVIGATION ========== */
.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 40px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.single-nav__link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.35s ease;
}


.single-nav__link--empty {
    background: none;
    border: none;
}


.single-nav__link:hover {
    background: rgba(201, 168, 76, 0.05);
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateY(-3px);
}


.single-nav__link--next {
    text-align: right;
}


.single-nav__direction {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--gold);
}


.single-nav__link--next .single-nav__direction {
    justify-content: flex-end;
}


.single-nav__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ========== SINGLE POST — RELATED ========== */
.single-related {
    padding: 80px 24px 100px;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
}


.single-related__inner {
    max-width: 1100px;
    margin: 0 auto;
}


.single-related__header {
    text-align: center;
    margin-bottom: 48px;
}


.single-related__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}


.single-related__title {
    font-family: var(--font-secondary);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--white);
}


.single-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}


.related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}


.related-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}


.related-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.related-card:hover .related-card__img {
    transform: scale(1.05);
}


.related-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.related-card__cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
}


.related-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.related-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}


/* ========== RESPONSIVE — BLOG & SINGLE POST ========== */
@media (max-width: 1024px) {
    .single-share-sidebar {
        display: none;
    }


    .single-share-mobile {
        display: block;
    }


    .single-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .blog-featured {
        grid-template-columns: 1fr;
    }


    .blog-featured__image {
        aspect-ratio: 16/9;
    }


    .blog-featured__content {
        padding: 32px 28px;
    }

}


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


    .blog-header,
    .single-hero {
        padding-top: 120px;
    }


    .single-hero {
        padding-bottom: 60px;
    }


    .single-hero__title {
        font-size: clamp(26px, 7vw, 38px);
    }


    .single-hero__meta-bottom {
        border-radius: 16px;
        padding: 14px 20px;
        gap: 10px;
    }


    .single-hero__meta-dot {
        display: none;
    }


    .single-hero__avatar {
        width: 32px;
        height: 32px;
    }


    .single-body {
        padding: 40px 20px 30px;
    }


    .post-content {
        font-size: 1.02rem;
    }


    .post-content h2 {
        font-size: 1.5rem;
        margin-top: 40px;
    }


    .post-content h3 {
        font-size: 1.25rem;
    }


    .post-content blockquote {
        padding: 20px 24px;
        font-size: 1.05rem;
        margin: 32px 0;
    }


    .single-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }


    .single-author-box__links {
        justify-content: center;
    }


    .single-author-box__avatar {
        width: 72px;
        height: 72px;
    }


    .single-nav {
        grid-template-columns: 1fr;
    }


    .single-nav__link--next {
        text-align: left;
    }


    .single-nav__link--next .single-nav__direction {
        justify-content: flex-start;
    }


    .single-related__grid {
        grid-template-columns: 1fr;
    }


    .single-featured-wrap {
        padding: 0 16px;
    }

}


/* ========== RTL SUPPORT — SINGLE POST ========== */
[dir="rtl"] .single-nav__link--next {
    text-align: left;
}


[dir="rtl"] .single-nav__link--prev {
    text-align: right;
}


[dir="rtl"] .post-content blockquote {
    border-left: none;
    border-right: 3px solid var(--gold);
    border-radius: 16px 0 0 16px;
}


[dir="rtl"] .single-share-sidebar__label {
    transform: rotate(0deg);
}


[dir="rtl"] .single-author-box__glow {
    left: auto;
    right: -40px;
}


/* Responsive adjustments for Case Studies Grid */
@media (max-width: 900px) {
    .case-study-grid {
        grid-template-columns: 1fr;
    }
}
