/* ═══════════════════════════════════════════════════════════════════════════
   SIGNDEAF BLOG — archive + single post
   Design tokens inherited from style.css :root
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Keyframes ────────────────────────────────────────────────────────────── */
@keyframes sd-blog-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes sd-hand-wave {
    0%, 100% { transform: rotate(-10deg) scale(1); }
    30%       { transform: rotate(14deg) scale(1.08); }
    60%       { transform: rotate(-6deg) scale(1.04); }
}
@keyframes sd-pulse-ring {
    0%   { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes sd-blink-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
@keyframes sd-fact-cycle {
    0%   { opacity: 0; transform: translateY(8px); }
    8%   { opacity: 1; transform: translateY(0); }
    92%  { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes sd-bar-shimmer {
    from { background-position: -200% 0; }
    to   { background-position: 200% 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG ARCHIVE — HERO
   ══════════════════════════════════════════════════════════════════════════ */
.sd-blog-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 72px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(28, 176, 246, 0.14), transparent),
        radial-gradient(ellipse 60% 50% at 90% 100%, rgba(25, 113, 194, 0.16), transparent),
        linear-gradient(160deg, #0d1b3a 0%, #102a5a 55%, #0f2048 100%);
    color: #fff;
    text-align: center;
}

.sd-blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.025) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.025) 40px);
    pointer-events: none;
}

.sd-blog-hero-inner {
    position: relative;
    z-index: 1;
    animation: sd-blog-fade-up 0.6s ease both;
}

.sd-blog-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(28, 176, 246, 0.18);
    border: 1px solid rgba(28, 176, 246, 0.35);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 24px;
}

.sd-blog-hero-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1cb0f6;
    animation: sd-blink-dot 2s ease infinite;
}

.sd-blog-hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: #fff;
}

.sd-blog-hero-title em {
    font-style: normal;
    color: #1cb0f6;
}

.sd-blog-hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.sd-blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.sd-blog-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sd-blog-hero-stat-num {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.sd-blog-hero-stat-label {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.sd-blog-hero-hands {
    position: absolute;
    pointer-events: none;
    font-size: 5rem;
    opacity: 0.07;
    user-select: none;
}

.sd-blog-hero-hands--left {
    left: -40px;
    top: 20px;
    transform: rotate(-30deg);
    animation: sd-hand-wave 4s ease infinite;
}

.sd-blog-hero-hands--right {
    right: -20px;
    bottom: 10px;
    transform: rotate(20deg) scaleX(-1);
    animation: sd-hand-wave 4s ease 1s infinite;
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG ARCHIVE — CATEGORY FILTER BAR
   ══════════════════════════════════════════════════════════════════════════ */
.sd-blog-filter-bar {
    background: var(--theme-surface-strong);
    border-bottom: 1px solid var(--theme-line);
    padding: 14px 0;
    position: sticky;
    top: 60px;
    z-index: 80;
    box-shadow: 0 2px 12px rgba(25, 113, 194, 0.06);
}

.sd-blog-filter-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sd-blog-filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--theme-muted);
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 4px;
}

.sd-blog-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sd-blog-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--theme-line);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--theme-muted);
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}

.sd-blog-filter-pill:hover {
    border-color: var(--theme-green);
    color: var(--theme-green);
    background: rgba(25, 113, 194, 0.05);
}

.sd-blog-filter-pill.is-active,
.sd-blog-filter-pill[aria-current="true"] {
    border-color: var(--theme-green);
    background: var(--theme-green);
    color: #fff;
}

.sd-blog-filter-pill-icon {
    font-size: 0.9em;
    line-height: 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG ARCHIVE — MAIN LAYOUT
   ══════════════════════════════════════════════════════════════════════════ */
.sd-blog-body {
    padding: 64px 0 80px;
}

.sd-blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.sd-blog-main {
    min-width: 0;
}

/* ── Featured Post ── */
.sd-blog-featured {
    background: var(--theme-surface-strong);
    border-radius: var(--theme-radius-lg);
    box-shadow: var(--theme-shadow);
    overflow: hidden;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sd-blog-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(25, 113, 194, 0.18);
}

.sd-blog-featured-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #1971c2 0%, #1cb0f6 100%);
}

.sd-blog-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sd-blog-featured:hover .sd-blog-featured-img-wrap img {
    transform: scale(1.04);
}

.sd-blog-featured-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.4;
}

.sd-blog-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 217, 0, 0.95);
    color: #0f1b35;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.sd-blog-featured-content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sd-blog-featured-cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 14px;
    background: rgba(25, 113, 194, 0.1);
    color: var(--theme-green);
}

.sd-blog-featured-title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--theme-ink);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.sd-blog-featured-excerpt {
    font-size: 0.95rem;
    color: var(--theme-muted);
    line-height: 1.65;
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sd-blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sd-blog-meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--theme-ink);
}

.sd-blog-meta-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1971c2, #1cb0f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
    overflow: hidden;
}

.sd-blog-meta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-blog-meta-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--theme-line-strong);
    flex-shrink: 0;
}

.sd-blog-meta-date,
.sd-blog-meta-read {
    font-size: 0.78rem;
    color: var(--theme-muted);
}

.sd-blog-meta-bsl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(28, 176, 246, 0.1);
    border: 1px solid rgba(28, 176, 246, 0.25);
    font-size: 0.72rem;
    font-weight: 700;
    color: #1490ca;
}

/* ── Grid Section Header ── */
.sd-blog-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.sd-blog-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--theme-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.sd-blog-section-count {
    font-size: 0.78rem;
    color: var(--theme-muted);
    font-weight: 600;
}

/* ── Post Grid ── */
.sd-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sd-blog-card {
    background: var(--theme-surface-strong);
    border-radius: var(--theme-radius-md);
    box-shadow: 0 4px 20px rgba(25, 113, 194, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--theme-line);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sd-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(25, 113, 194, 0.15);
    border-color: var(--theme-green);
}

.sd-blog-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #1971c2 0%, #1cb0f6 100%);
    flex-shrink: 0;
}

.sd-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sd-blog-card:hover .sd-blog-card-img img {
    transform: scale(1.05);
}

.sd-blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.35;
}

.sd-blog-card-cat {
    position: absolute;
    bottom: 10px;
    left: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.92);
    color: var(--theme-green);
}

.sd-blog-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sd-blog-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--theme-ink);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sd-blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--theme-muted);
    line-height: 1.6;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.sd-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--theme-line);
    margin-top: auto;
}

.sd-blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--theme-green);
    transition: gap 0.18s ease;
}

.sd-blog-card:hover .sd-blog-card-read-more {
    gap: 10px;
}

/* ── No posts state ── */
.sd-blog-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--theme-muted);
}

.sd-blog-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.sd-blog-empty-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--theme-ink);
    margin: 0 0 10px;
}

/* ── Pagination ── */
.sd-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.sd-blog-pagination a,
.sd-blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid var(--theme-line);
    color: var(--theme-muted);
    background: var(--theme-surface-strong);
    transition: all 0.18s ease;
}

.sd-blog-pagination a:hover {
    border-color: var(--theme-green);
    color: var(--theme-green);
    background: rgba(25, 113, 194, 0.05);
}

.sd-blog-pagination .current,
.sd-blog-pagination span.current {
    background: var(--theme-green);
    border-color: var(--theme-green);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG ARCHIVE — SIDEBAR
   ══════════════════════════════════════════════════════════════════════════ */
.sd-blog-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sd-blog-widget {
    background: var(--theme-surface-strong);
    border-radius: var(--theme-radius-md);
    border: 1px solid var(--theme-line);
    box-shadow: 0 4px 20px rgba(25, 113, 194, 0.07);
    overflow: hidden;
}

.sd-blog-widget-head {
    padding: 16px 22px 14px;
    border-bottom: 1px solid var(--theme-line);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sd-blog-widget-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1971c2, #1cb0f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.sd-blog-widget-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--theme-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.sd-blog-widget-body {
    padding: 18px 22px;
}

/* Sign of the Day widget */
.sd-widget-sign {
    text-align: center;
}

.sd-widget-sign-word {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--theme-green);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.sd-widget-sign-desc {
    font-size: 0.8rem;
    color: var(--theme-muted);
    line-height: 1.55;
    margin: 0 0 16px;
}

.sd-widget-sign-btn {
    display: block;
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--theme-green);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background 0.18s ease, transform 0.15s ease;
}

.sd-widget-sign-btn:hover {
    background: var(--theme-green-dark);
    transform: translateY(-1px);
    color: #fff;
}

/* Deaf facts widget */
.sd-widget-facts {
    position: relative;
    min-height: 90px;
}

.sd-widget-fact {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.sd-widget-fact.is-visible {
    opacity: 1;
    pointer-events: auto;
    position: static;
}

.sd-widget-fact-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--theme-green);
    line-height: 1;
}

.sd-widget-fact-text {
    font-size: 0.82rem;
    color: var(--theme-muted);
    line-height: 1.55;
    margin: 0;
}

.sd-widget-fact-source {
    font-size: 0.7rem;
    color: var(--theme-line-strong);
    font-style: italic;
    margin-top: 4px;
}

.sd-widget-facts-dots {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    justify-content: center;
}

.sd-widget-facts-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--theme-line);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sd-widget-facts-dot.is-active {
    background: var(--theme-green);
    transform: scale(1.3);
}

/* Popular categories widget */
.sd-widget-cats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sd-widget-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--theme-bg);
    border: 1px solid var(--theme-line);
    text-decoration: none;
    color: var(--theme-ink);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.18s ease;
}

.sd-widget-cat-item:hover {
    background: rgba(25, 113, 194, 0.07);
    border-color: var(--theme-green);
    color: var(--theme-green);
}

.sd-widget-cat-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sd-widget-cat-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--theme-line);
    color: var(--theme-muted);
}

/* Newsletter / Discord widget */
.sd-widget-cta {
    background: linear-gradient(135deg, #1971c2 0%, #1cb0f6 100%);
    border-radius: var(--theme-radius-md);
    padding: 24px 22px;
    text-align: center;
    color: #fff;
}

.sd-widget-cta-emoji {
    font-size: 2.4rem;
    margin-bottom: 10px;
    display: block;
}

.sd-widget-cta-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
}

.sd-widget-cta-desc {
    font-size: 0.8rem;
    opacity: 0.85;
    margin: 0 0 18px;
    line-height: 1.5;
}

.sd-widget-cta-btn {
    display: block;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.18s ease;
    backdrop-filter: blur(4px);
}

.sd-widget-cta-btn:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.8);
    color: #fff;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY TOOLBAR (fixed left, both archive + single)
   ══════════════════════════════════════════════════════════════════════════ */
.sd-a11y-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--theme-surface-strong);
    border: 1.5px solid var(--theme-line);
    border-radius: 18px;
    padding: 12px 8px;
    box-shadow: 0 8px 32px rgba(25, 113, 194, 0.15);
}

.sd-a11y-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-muted);
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.18s ease;
    position: relative;
}

.sd-a11y-btn:hover {
    background: rgba(25, 113, 194, 0.08);
    color: var(--theme-green);
}

.sd-a11y-btn.is-active {
    background: var(--theme-green);
    color: #fff;
}

.sd-a11y-btn[title]::after {
    content: attr(title);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--theme-ink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.sd-a11y-btn:hover[title]::after {
    opacity: 1;
}

.sd-a11y-divider {
    height: 1px;
    background: var(--theme-line);
    margin: 2px 0;
}

/* High contrast mode */
body.sd-high-contrast {
    --theme-bg: #000;
    --theme-ink: #fff;
    --theme-muted: #ccc;
    --theme-surface: #111;
    --theme-surface-strong: #111;
    --theme-line: #444;
    --theme-green: #5bc4ff;
}

/* Font size adjustments */
body.sd-font-lg  { font-size: 110%; }
body.sd-font-xl  { font-size: 120%; }

/* Reading guide */
body.sd-reading-guide * { cursor: none; }
.sd-reading-guide-line {
    position: fixed;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(25, 113, 194, 0.5);
    pointer-events: none;
    z-index: 9999;
    transition: top 0.05s linear;
    display: none;
}

body.sd-reading-guide .sd-reading-guide-line {
    display: block;
}

body.sd-reading-guide * {
    cursor: auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — BREADCRUMBS
   ══════════════════════════════════════════════════════════════════════════ */
.sd-post-breadcrumbs {
    padding: 18px 0 0;
    font-size: 0.78rem;
    color: var(--theme-muted);
}

.sd-post-breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sd-post-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sd-post-breadcrumbs li::after {
    content: '›';
    color: var(--theme-line-strong);
    font-size: 0.9em;
}

.sd-post-breadcrumbs li:last-child::after {
    display: none;
}

.sd-post-breadcrumbs a {
    color: var(--theme-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.sd-post-breadcrumbs a:hover {
    color: var(--theme-green);
}

.sd-post-breadcrumbs [aria-current] {
    color: var(--theme-ink);
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — HEADER
   ══════════════════════════════════════════════════════════════════════════ */
.sd-post-header {
    padding: 36px 0 0;
    max-width: 860px;
}

.sd-post-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.sd-post-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(25, 113, 194, 0.1);
    color: var(--theme-green);
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1.5px solid rgba(25, 113, 194, 0.2);
}

.sd-post-cat-badge:hover {
    background: var(--theme-green);
    color: #fff;
    border-color: var(--theme-green);
}

.sd-post-title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--theme-ink);
    margin: 0 0 18px;
}

.sd-post-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--theme-muted);
    line-height: 1.7;
    margin: 0 0 28px;
    font-weight: 400;
}

.sd-post-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-top: 1px solid var(--theme-line);
    border-bottom: 1px solid var(--theme-line);
    margin-bottom: 28px;
}

.sd-post-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.sd-post-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1971c2, #1cb0f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--theme-line);
}

.sd-post-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-post-author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--theme-ink);
    line-height: 1.2;
}

.sd-post-author-role {
    font-size: 0.72rem;
    color: var(--theme-muted);
}

.sd-post-meta-divider {
    width: 1px;
    height: 28px;
    background: var(--theme-line);
    flex-shrink: 0;
}

.sd-post-meta-date,
.sd-post-meta-read {
    font-size: 0.82rem;
    color: var(--theme-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.sd-post-meta-bsl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(28, 176, 246, 0.1);
    border: 1px solid rgba(28, 176, 246, 0.3);
    font-size: 0.76rem;
    font-weight: 700;
    color: #1490ca;
}

.sd-post-meta-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    color: #16a34a;
}

/* Social share strip (header) */
.sd-post-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.sd-post-share-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--theme-muted);
}

.sd-post-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid var(--theme-line);
    color: var(--theme-ink);
    background: var(--theme-surface-strong);
    cursor: pointer;
    transition: all 0.18s ease;
}

.sd-post-share-btn:hover {
    border-color: var(--theme-green);
    color: var(--theme-green);
    background: rgba(25, 113, 194, 0.05);
    transform: translateY(-1px);
}

.sd-post-share-btn--twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.sd-post-share-btn--facebook:hover { border-color: #1877f2; color: #1877f2; }
.sd-post-share-btn--copy.is-copied { border-color: #16a34a; color: #16a34a; background: rgba(34,197,94,0.08); }

/* ── Featured Image ── */
.sd-post-hero-img {
    position: relative;
    border-radius: var(--theme-radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, #1971c2 0%, #1cb0f6 100%);
}

.sd-post-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sd-post-hero-img figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    line-height: 1.4;
}

.sd-post-hero-cc {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — LAYOUT
   ══════════════════════════════════════════════════════════════════════════ */
.sd-post-body {
    padding-bottom: 80px;
}

.sd-post-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: start;
}

.sd-post-content-wrap {
    min-width: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — CONTENT TYPOGRAPHY
   ══════════════════════════════════════════════════════════════════════════ */
.sd-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--theme-ink);
}

.sd-post-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 2.5em 0 0.75em;
    letter-spacing: -0.015em;
    color: var(--theme-ink);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--theme-line);
}

.sd-post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2em 0 0.6em;
    color: var(--theme-ink);
}

.sd-post-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.5em 0 0.5em;
    color: var(--theme-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sd-post-content p { margin: 0 0 1.4em; }

.sd-post-content a {
    color: var(--theme-green);
    text-decoration: underline;
    text-decoration-color: rgba(25, 113, 194, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.18s;
}

.sd-post-content a:hover {
    text-decoration-color: var(--theme-green);
}

.sd-post-content ul, .sd-post-content ol {
    padding-left: 1.6em;
    margin: 0 0 1.4em;
}

.sd-post-content li { margin-bottom: 0.5em; }

.sd-post-content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    border-left: 4px solid var(--theme-green);
    background: rgba(25, 113, 194, 0.05);
    border-radius: 0 var(--theme-radius-sm) var(--theme-radius-sm) 0;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--theme-muted);
    line-height: 1.7;
}

.sd-post-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 700;
    color: var(--theme-green);
}

.sd-post-content img {
    border-radius: var(--theme-radius-md);
    margin: 1.5em 0;
}

.sd-post-content figure { margin: 2em 0; }

.sd-post-content figcaption {
    font-size: 0.8rem;
    color: var(--theme-muted);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.sd-post-content code {
    font-family: monospace;
    font-size: 0.88em;
    background: rgba(25, 113, 194, 0.08);
    padding: 2px 6px;
    border-radius: 5px;
    color: var(--theme-green);
}

.sd-post-content hr {
    border: none;
    border-top: 2px solid var(--theme-line);
    margin: 2.5em 0;
}

/* ── Deaf-Oriented Callout Boxes ── */
.sd-callout {
    margin: 2em 0;
    padding: 22px 24px;
    border-radius: var(--theme-radius-md);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sd-callout-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sd-callout-body {
    flex: 1;
    min-width: 0;
}

.sd-callout-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin: 0 0 6px;
}

.sd-callout-text {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Blue: BSL Tip */
.sd-callout--bsl-tip {
    background: rgba(28, 176, 246, 0.08);
    border: 1.5px solid rgba(28, 176, 246, 0.25);
}

.sd-callout--bsl-tip .sd-callout-icon {
    background: rgba(28, 176, 246, 0.15);
}

.sd-callout--bsl-tip .sd-callout-title { color: #1490ca; }

/* Yellow: Deaf Fact */
.sd-callout--deaf-fact {
    background: rgba(255, 217, 0, 0.08);
    border: 1.5px solid rgba(255, 217, 0, 0.4);
}

.sd-callout--deaf-fact .sd-callout-icon {
    background: rgba(255, 217, 0, 0.2);
}

.sd-callout--deaf-fact .sd-callout-title { color: #a16207; }

/* Green: Accessibility Note */
.sd-callout--a11y {
    background: rgba(34, 197, 94, 0.07);
    border: 1.5px solid rgba(34, 197, 94, 0.25);
}

.sd-callout--a11y .sd-callout-icon {
    background: rgba(34, 197, 94, 0.15);
}

.sd-callout--a11y .sd-callout-title { color: #16a34a; }

/* Purple: Community Voice */
.sd-callout--community {
    background: rgba(168, 85, 247, 0.07);
    border: 1.5px solid rgba(168, 85, 247, 0.25);
}

.sd-callout--community .sd-callout-icon {
    background: rgba(168, 85, 247, 0.15);
}

.sd-callout--community .sd-callout-title { color: #7c3aed; }

/* Red: Caution / Common Mistake */
.sd-callout--caution {
    background: rgba(239, 68, 68, 0.06);
    border: 1.5px solid rgba(239, 68, 68, 0.22);
}

.sd-callout--caution .sd-callout-icon {
    background: rgba(239, 68, 68, 0.12);
}

.sd-callout--caution .sd-callout-title { color: #dc2626; }

/* ── Sign Link Pill ── */
.sd-sign-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(25, 113, 194, 0.1);
    border: 1.5px solid rgba(25, 113, 194, 0.25);
    color: var(--theme-green);
    font-size: 0.88em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    vertical-align: middle;
}

.sd-sign-pill:hover {
    background: var(--theme-green);
    color: #fff;
    border-color: var(--theme-green);
}

/* ── Fingerspelling Inline Visual ── */
.sd-fingerspell {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    vertical-align: middle;
    padding: 2px 4px;
    background: rgba(255,217,0,0.12);
    border-radius: 6px;
    border: 1px dashed rgba(255,217,0,0.5);
    font-size: 0.92em;
    letter-spacing: 0.05em;
    color: #92400e;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — STICKY SIDEBAR
   ══════════════════════════════════════════════════════════════════════════ */
.sd-post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Table of Contents */
.sd-toc {
    background: var(--theme-surface-strong);
    border-radius: var(--theme-radius-md);
    border: 1px solid var(--theme-line);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(25, 113, 194, 0.07);
}

.sd-toc-head {
    padding: 14px 20px;
    border-bottom: 1px solid var(--theme-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sd-toc-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--theme-ink);
    margin: 0;
}

.sd-toc-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--theme-muted);
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color 0.18s;
}

.sd-toc-toggle:hover { color: var(--theme-green); }

.sd-toc-body {
    padding: 14px 20px;
}

.sd-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sd-toc-item a {
    display: block;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--theme-muted);
    text-decoration: none;
    transition: all 0.18s ease;
    line-height: 1.4;
    border-left: 2px solid transparent;
}

.sd-toc-item a:hover {
    background: rgba(25, 113, 194, 0.06);
    color: var(--theme-green);
    border-left-color: var(--theme-green);
    padding-left: 14px;
}

.sd-toc-item.is-active a {
    color: var(--theme-green);
    font-weight: 700;
    border-left-color: var(--theme-green);
    background: rgba(25, 113, 194, 0.06);
    padding-left: 14px;
}

.sd-toc-item--h3 a {
    padding-left: 22px;
    font-size: 0.78rem;
}

.sd-toc-item--h3 a:hover,
.sd-toc-item--h3.is-active a {
    padding-left: 26px;
}

/* Sidebar share */
.sd-post-sidebar-share {
    background: var(--theme-surface-strong);
    border-radius: var(--theme-radius-md);
    border: 1px solid var(--theme-line);
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(25, 113, 194, 0.07);
}

.sd-sidebar-share-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--theme-muted);
    margin: 0 0 12px;
}

.sd-sidebar-share-btns {
    display: flex;
    gap: 8px;
}

.sd-sidebar-share-btn {
    flex: 1;
    padding: 9px 8px;
    border-radius: 10px;
    border: 1.5px solid var(--theme-line);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--theme-muted);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sd-sidebar-share-btn:hover {
    border-color: var(--theme-green);
    color: var(--theme-green);
    background: rgba(25, 113, 194, 0.05);
}

/* Sidebar learn sign CTA */
.sd-post-sidebar-learn {
    background: linear-gradient(135deg, #102a5a 0%, #1971c2 100%);
    border-radius: var(--theme-radius-md);
    padding: 22px 20px;
    color: #fff;
    text-align: center;
}

.sd-sidebar-learn-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.sd-sidebar-learn-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
}

.sd-sidebar-learn-sub {
    font-size: 0.78rem;
    opacity: 0.78;
    margin: 0 0 16px;
    line-height: 1.5;
}

.sd-sidebar-learn-btn {
    display: block;
    padding: 9px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}

.sd-sidebar-learn-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — FOOTER (tags, author, related)
   ══════════════════════════════════════════════════════════════════════════ */
.sd-post-footer {
    border-top: 2px solid var(--theme-line);
    padding-top: 40px;
    margin-top: 48px;
}

.sd-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
}

.sd-post-tags-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--theme-muted);
}

.sd-post-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--theme-bg);
    border: 1.5px solid var(--theme-line);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--theme-muted);
    text-decoration: none;
    transition: all 0.18s ease;
}

.sd-post-tag:hover {
    background: rgba(25, 113, 194, 0.07);
    border-color: var(--theme-green);
    color: var(--theme-green);
}

/* Full share strip */
.sd-post-share-full {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 24px 28px;
    background: var(--theme-surface-strong);
    border-radius: var(--theme-radius-md);
    border: 1px solid var(--theme-line);
    margin-bottom: 40px;
}

.sd-post-share-full-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--theme-ink);
    flex: 1;
}

/* Author bio */
.sd-post-author-bio {
    background: var(--theme-surface-strong);
    border-radius: var(--theme-radius-lg);
    border: 1px solid var(--theme-line);
    padding: 32px 36px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin-bottom: 48px;
    box-shadow: 0 4px 20px rgba(25, 113, 194, 0.07);
}

.sd-author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1971c2, #1cb0f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    border: 3px solid var(--theme-line);
}

.sd-author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-author-bio-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--theme-ink);
    margin: 0 0 4px;
}

.sd-author-bio-role {
    font-size: 0.78rem;
    color: var(--theme-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.sd-author-bio-text {
    font-size: 0.88rem;
    color: var(--theme-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Related Posts ── */
.sd-related-posts {
    margin-bottom: 56px;
}

.sd-related-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--theme-ink);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sd-related-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--theme-line);
    border-radius: 999px;
}

.sd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Post Navigation (prev/next) ── */
.sd-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 56px;
}

.sd-post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    border-radius: var(--theme-radius-md);
    background: var(--theme-surface-strong);
    border: 1.5px solid var(--theme-line);
    text-decoration: none;
    color: inherit;
    transition: all 0.22s ease;
}

.sd-post-nav-item:hover {
    border-color: var(--theme-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(25, 113, 194, 0.12);
}

.sd-post-nav-item--next { text-align: right; }

.sd-post-nav-dir {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--theme-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sd-post-nav-item--next .sd-post-nav-dir {
    justify-content: flex-end;
}

.sd-post-nav-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--theme-ink);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════════════
   COMMUNITY CTA STRIP
   ══════════════════════════════════════════════════════════════════════════ */
.sd-blog-community-cta {
    background:
        radial-gradient(ellipse 70% 80% at 15% 50%, rgba(28,176,246,0.12), transparent),
        linear-gradient(135deg, #0d1b3a 0%, #112248 100%);
    border-radius: var(--theme-radius-xl);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin: 64px 0 80px;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.sd-blog-community-cta::before {
    content: '🤟';
    position: absolute;
    right: 30px;
    top: -20px;
    font-size: 12rem;
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
}

.sd-cta-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1cb0f6;
    margin-bottom: 10px;
}

.sd-cta-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.sd-cta-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

.sd-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.sd-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 14px;
    background: #1971c2;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sd-cta-btn-primary:hover {
    background: #3773da;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(25,113,194,0.5);
    color: #fff;
}

.sd-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sd-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════════════
   READING PROGRESS BAR (single post)
   ══════════════════════════════════════════════════════════════════════════ */
.sd-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9990;
    background: transparent;
}

.sd-reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1971c2, #1cb0f6);
    width: 0%;
    transition: width 0.1s linear;
    background-size: 200% 100%;
    animation: sd-bar-shimmer 3s linear infinite;
}

/* ══════════════════════════════════════════════════════════════════════════
   CATEGORY COLOR MAPPING
   ══════════════════════════════════════════════════════════════════════════ */
.sd-cat--deaf-culture     { background: rgba(168,85,247,0.1); color: #7c3aed; }
.sd-cat--bsl-tips         { background: rgba(28,176,246,0.1); color: #1490ca; }
.sd-cat--community        { background: rgba(34,197,94,0.1);  color: #16a34a; }
.sd-cat--research         { background: rgba(249,115,22,0.1); color: #c2410c; }
.sd-cat--stories          { background: rgba(255,107,107,0.1);color: #dc2626; }
.sd-cat--accessibility    { background: rgba(234,179,8,0.1);  color: #a16207; }
.sd-cat--inclusion        { background: rgba(99,102,241,0.1); color: #4338ca; }
.sd-cat--events           { background: rgba(236,72,153,0.1); color: #be185d; }

/* ══════════════════════════════════════════════════════════════════════════
   LOADING STATES
   ══════════════════════════════════════════════════════════════════════════ */
.sd-blog-card.is-loading .sd-blog-card-img,
.sd-blog-card.is-loading .sd-blog-card-title,
.sd-blog-card.is-loading .sd-blog-card-excerpt {
    background: linear-gradient(90deg, #e8f0fe 25%, #d1e3ff 50%, #e8f0fe 75%);
    background-size: 200% 100%;
    animation: sd-bar-shimmer 1.5s infinite;
    border-radius: 8px;
    color: transparent;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .sd-blog-layout {
        grid-template-columns: 1fr;
    }

    .sd-blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sd-widget-cta {
        grid-column: span 2;
    }

    .sd-post-layout {
        grid-template-columns: 1fr;
    }

    .sd-post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sd-toc,
    .sd-post-sidebar-learn {
        grid-column: span 1;
    }

    .sd-a11y-toolbar {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .sd-blog-hero { padding: 56px 0 48px; }

    .sd-blog-filter-bar {
        top: 0;
        padding: 10px 0;
    }

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

    .sd-blog-featured-img-wrap {
        aspect-ratio: 16/9;
    }

    .sd-blog-featured-content {
        padding: 28px 24px;
    }

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

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

    .sd-widget-cta {
        grid-column: auto;
    }

    .sd-post-layout {
        grid-template-columns: 1fr;
    }

    .sd-post-sidebar {
        grid-template-columns: 1fr;
        display: none;
    }

    .sd-post-header {
        padding: 24px 0 0;
    }

    .sd-post-title { letter-spacing: -0.015em; }

    .sd-post-meta-row {
        gap: 10px;
    }

    .sd-post-author-bio {
        grid-template-columns: 60px 1fr;
        padding: 24px;
        gap: 16px;
    }

    .sd-author-bio-avatar {
        width: 60px;
        height: 60px;
    }

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

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

    .sd-blog-community-cta {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }

    .sd-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sd-a11y-toolbar {
        top: auto;
        bottom: 80px;
        right: 14px;
        transform: none;
        flex-direction: row;
        border-radius: 14px;
        padding: 8px 10px;
    }

    .sd-a11y-btn[title]::after {
        top: auto;
        bottom: calc(100% + 8px);
        right: 0;
        transform: none;
    }

    .sd-blog-hero-hands { display: none; }
}

@media (max-width: 480px) {
    .sd-blog-hero-stats {
        gap: 20px;
    }

    .sd-post-share-row {
        flex-wrap: wrap;
    }

    .sd-post-hero-img {
        aspect-ratio: 4/3;
        border-radius: var(--theme-radius-md);
    }

    .sd-blog-community-cta {
        padding: 32px 20px;
    }

    .sd-blog-filter-inner {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .sd-blog-filter-inner::-webkit-scrollbar { display: none; }
}

/* Motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
