    /* ── Velour Theme - Blog Styles ── */
/* All class names match template-parts/blog/*.php output */

/* ── Blog Hero Section ── */
.blog-hero-section {
    padding: 48px 0 40px;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
    text-align: center;
}

@media (min-width: 1024px) {
    .blog-hero-section {
        padding: 64px 0 56px;
    }
}

.blog-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.blog-hero-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-hero-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    margin: 0 0 12px;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .blog-hero-title {
        font-size: 48px;
    }
}

.blog-hero-desc,
.blog-hero-subtitle {
    font-size: 16px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
}

/* ── Topic Tabs Section ── */
.blog-tabs-section {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
}

.topic-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}

.topic-tabs::-webkit-scrollbar {
    display: none;
}

.topic-tab {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    font-family: var(--font-sans);
}

.topic-tab:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.topic-tab.active {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}

/* ── Blog Content Section ── */
.blog-content-section {
    padding: 48px 0;
    background: var(--brand-bg);
}

@media (min-width: 1024px) {
    .blog-content-section {
        padding: 64px 0;
    }
}

/* ── Blog Layout (grid: content + sidebar) ── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 320px;
        gap: 48px;
    }
}

/* ── Blog Content (main column wrapper) ── */
.blog-content {
    min-width: 0;
}

/* ── Posts Grid ── */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ── Post Card (article element) ── */
.post-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

/* Wide post (3rd post) - spans full width */
.post-card.wide {
    grid-column: 1 / -1;
}

.post-card.wide .wide-inner {
    display: grid;
}

@media (min-width: 768px) {
    .post-card.wide .wide-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Post Card Image ── */
.post-card-img {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 16/10;
}

.post-card.wide .post-card-img {
    aspect-ratio: auto;
    min-height: 220px;
}

@media (min-width: 768px) {
    .post-card.wide .post-card-img {
        min-height: 100%;
        aspect-ratio: unset;
    }
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* No-image placeholder */
.post-card-img.no-image {
    background: #f3f4f6;
}

.featured-post-image.no-image {
    background: #f3f4f6;
}

.featured-img.no-image {
    background: #f3f4f6;
    display: block;
    min-height: 280px;
}

@media (min-width: 768px) {
    .featured-img.no-image {
        min-height: 400px;
    }
}

.popular-thumb.no-image {
    background: #f3f4f6;
}

/* Read time badge */
.read-time {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 500;
    color: var(--brand-dark);
    z-index: 5;
}

/* ── Post Card Meta (category + date row) ── */
.post-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 0;
}

.post-cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-sky);
}

.post-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-border);
    flex-shrink: 0;
}

.post-date {
    font-size: 12px;
    color: var(--brand-muted);
    font-weight: 400;
}

/* ── Post Title ── */
.post-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 10px 20px 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
    .post-title {
        font-size: 18px;
    }
}

.post-card.wide .post-title {
    font-size: 22px;
}

@media (min-width: 1024px) {
    .post-card.wide .post-title {
        font-size: 28px;
    }
}

.post-title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.post-title a:hover {
    color: var(--brand-sky);
}

/* ── Post Excerpt ── */
.post-excerpt {
    font-size: 14px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 8px 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card.wide .post-excerpt {
    -webkit-line-clamp: 4;
}

/* ── Post Footer (author + share) ── */
.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 20px;
    margin-top: auto;
}

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

.post-author-av {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

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

.post-author-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-dark);
}

.post-share {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--brand-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--brand-muted);
    flex-shrink: 0;
}

.post-share:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
    background: var(--brand-bg);
}

.post-share svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Featured Post ── */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    background: #fff;
}

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

.featured-post-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

@media (min-width: 768px) {
    .featured-post-image {
        min-height: 400px;
    }
}

.featured-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 5;
}

.featured-post-category a {
    color: var(--brand-dark);
}

.featured-post-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .featured-post-content {
        padding: 40px;
    }
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.featured-post-date,
.featured-post-reading-time {
    font-size: 12px;
    color: var(--brand-muted);
}

.featured-post-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .featured-post-title {
        font-size: 32px;
    }
}

.featured-post-title a {
    color: var(--brand-dark);
    transition: color var(--transition-fast);
}

.featured-post-title a:hover {
    color: var(--brand-sky);
}

.featured-post-excerpt {
    font-size: 14px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.featured-post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.featured-post-author-info {
    display: flex;
    flex-direction: column;
}

.featured-post-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
}

.featured-post-author-title {
    font-size: 12px;
    color: var(--brand-muted);
}

.featured-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-sky);
    transition: gap var(--transition-fast);
}

.featured-post-link:hover {
    gap: 12px;
    color: var(--brand-sky);
}

.featured-post-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Sidebar ── */
.sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .sidebar {
        display: block;
    }
}

.sidebar-block {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--brand-border);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-block:last-child {
    margin-bottom: 0;
}

.sidebar-block-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--brand-border);
}

/* Search Widget - Legacy .search-box selector */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input[type="text"] {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    color: var(--brand-dark);
    background: var(--brand-bg);
    font-family: var(--font-sans);
}

.search-box input[type="text"]::placeholder {
    color: var(--brand-muted);
}

.search-box input[type="text"]:focus {
    border-color: rgba(0, 114, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 114, 255, 0.1);
}

.search-box button[type="submit"] {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    border: none;
    cursor: pointer;
}

.search-box button[type="submit"]:hover {
    background: rgba(17, 24, 39, 0.85);
}

.search-box button[type="submit"] svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Search Widget - Sidebar .search-form selector */
.sidebar-block .search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-block .search-field {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    color: var(--brand-dark);
    background: var(--brand-bg);
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sidebar-block .search-field::placeholder {
    color: var(--brand-muted);
}

.sidebar-block .search-field:focus {
    border-color: rgba(0, 114, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 114, 255, 0.1);
}

.sidebar-block .search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
}

.sidebar-block .search-submit:hover {
    background: rgba(17, 24, 39, 0.85);
}

.sidebar-block .search-submit svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-block .search-submit-text {
    display: none;
}

/* Category List */
.sidebar-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--brand-border);
}

.sidebar-cat-item:last-child {
    border-bottom: none;
}

.sidebar-cat-item a {
    font-size: 14px;
    color: var(--brand-muted);
    transition: color var(--transition-fast);
}

.sidebar-cat-item a:hover {
    color: var(--brand-dark);
}

.cat-count {
    font-size: 12px;
    color: var(--brand-muted);
    background: var(--brand-bg);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

/* Popular Posts */
.popular-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--brand-border);
}

.popular-post:last-child {
    border-bottom: none;
}

.popular-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.pop-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-sky);
    margin-bottom: 4px;
}

.popular-info h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-dark);
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-info h4 a {
    color: var(--brand-dark);
    transition: color var(--transition-fast);
}

.popular-info h4 a:hover {
    color: var(--brand-sky);
}

.pop-date {
    font-size: 11px;
    color: var(--brand-muted);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 12px;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-sans);
}

.tag-pill:hover,
.tag-pill.active {
    border-color: var(--brand-sky);
    color: var(--brand-sky);
    background: rgba(0, 114, 255, 0.05);
}

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

.pg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    padding: 0 4px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
}

a.pg-btn:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.pg-btn.active {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}

.pg-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pg-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pg-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 40px;
    font-size: 14px;
    color: var(--brand-muted);
    letter-spacing: 2px;
}

/* ── Reading Progress Bar ── */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-border);
    z-index: 200;
}

.reading-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--brand-sky), var(--brand-secondary));
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── Single Post Hero ── */
.single-post-hero {
    position: relative;
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
}

@media (min-width: 1024px) {
    .single-post-hero {
        padding: 72px 0;
    }
}

.single-post-header {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}

.single-post-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.single-post-category {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 114, 255, 0.08);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-sky);
    transition: background var(--transition-fast);
}

.single-post-category:hover {
    background: rgba(0, 114, 255, 0.15);
}

.single-post-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .single-post-title {
        font-size: 44px;
    }
}

.single-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--brand-muted);
    flex-wrap: wrap;
}

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

.single-post-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.single-post-author-name {
    font-weight: 500;
    color: var(--brand-dark);
}

.single-post-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-border);
    flex-shrink: 0;
}

.single-post-date,
.single-post-read-time {
    font-size: 13px;
    color: var(--brand-muted);
}

/* ── Featured Image ── */
.single-post-featured-image {
    margin-top: 0;
    padding: 24px 0;
    border-radius: 0;
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .single-post-featured-image {
        padding: 32px 0;
    }
}

.single-post-featured-image img {
    width: 100%;
    max-height: 480px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.single-post-image-caption {
    font-size: 12px;
    color: var(--brand-muted);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

/* ── Single Post Content ── */
.single-post-content {
    padding: 0 0 48px;
    background: #fff;
}

@media (min-width: 1024px) {
    .single-post-content {
        padding: 0 0 64px;
    }
}

.single-post-content-inner {
    max-width: 768px;
    margin: 0 auto;
}

/* ── Share Rail (Left) ── */
.single-post-share-rail {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 1280px) {
    .single-post-content-inner {
        display: grid;
        grid-template-columns: 1fr minmax(0, 768px) 1fr;
        max-width: 100%;
        margin: 0;
        padding-top: 50px;
    }

    .single-post-share-rail {
        display: flex;
        grid-column: 1;
        justify-self: end;
        margin-right: 24px;
        position: sticky;
        top: 96px;
        align-self: start;
    }
}

.share-rail-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-muted);
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 4px;
}

.share-rail-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--brand-border);
    background: var(--brand-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.share-rail-btn:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
    background: var(--brand-bg);
}

.share-rail-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-rail-divider {
    width: 1px;
    height: 20px;
    background: var(--brand-border);
    margin: 4px 0;
}

.share-like-btn.liked svg {
    fill: var(--brand-secondary);
    stroke: var(--brand-secondary);
}

.share-like-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-muted);
}

/* ── Entry Content Typography ── */
.entry-content {
    max-width: 768px;
    margin: 0 auto;
    min-width: 0;
}

@media (min-width: 1280px) {
    .entry-content {
        grid-column: 2;
        max-width: 100%;
        margin: 0;
    }
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--font-display);
    color: var(--brand-dark);
    margin: 40px 0 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

.entry-content h2 {
    font-size: 28px;
}

@media (min-width: 1024px) {
    .entry-content h2 {
        font-size: 32px;
    }
}

.entry-content h3 {
    font-size: 22px;
}

@media (min-width: 1024px) {
    .entry-content h3 {
        font-size: 24px;
    }
}

.entry-content h4 {
    font-size: 18px;
}

.entry-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--brand-muted);
    margin: 0 0 24px;
    font-weight: 300;
}

.entry-content a {
    color: var(--brand-sky);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #0062d9;
}

.entry-content img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.entry-content blockquote {
    border-left: 3px solid var(--brand-sky);
    padding: 20px 28px;
    margin: 32px 0;
    font-size: 18px;
    font-style: italic;
    color: var(--brand-dark);
    font-weight: 300;
    background: rgba(0, 114, 255, 0.03);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    line-height: 1.7;
}

.entry-content blockquote p {
    margin: 0;
    color: var(--brand-dark);
    font-style: italic;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--brand-muted);
    margin-bottom: 4px;
}

.entry-content pre {
    background: var(--brand-dark);
    color: #e5e7eb;
    padding: 24px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

.entry-content code {
    font-size: 14px;
    background: var(--brand-bg);
    padding: 2px 6px;
    border-radius: 4px;
}

.entry-content pre code {
    background: transparent;
    padding: 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    border: 1px solid var(--brand-border);
    text-align: left;
}

.entry-content th {
    background: var(--brand-bg);
    font-weight: 600;
    color: var(--brand-dark);
}

.entry-content td {
    color: var(--brand-muted);
}

/* ── Table of Contents (Right Rail) ── */
.single-post-toc-rail {
    display: none;
}

@media (min-width: 1280px) {
    .single-post-toc-rail {
        display: block;
        grid-column: 3;
        justify-self: start;
        margin-left: 24px;
        position: sticky;
        top: 96px;
        align-self: start;
    }
}

.single-post-toc {
    padding: 20px;
    background: var(--brand-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-border);
}

.toc-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.single-post-toc a {
    display: block;
    font-size: 12px;
    color: var(--brand-muted);
    padding: 6px 0;
    line-height: 1.5;
    transition: color var(--transition-fast);
    border-left: 2px solid transparent;
    padding-left: 12px;
}

.single-post-toc a:hover,
.single-post-toc a.active {
    color: var(--brand-dark);
    border-left-color: var(--brand-sky);
}

/* ── Post Tags ── */
.single-post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 32px 0;
    border-bottom: 1px solid var(--brand-border);
}

.single-post-tags-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 600;
    margin-right: 4px;
}

.single-post-tag {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--brand-bg);
    border: 1px solid var(--brand-border);
    font-size: 12px;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
}

.single-post-tag:hover {
    border-color: var(--brand-sky);
    color: var(--brand-sky);
    background: rgba(0, 114, 255, 0.05);
}

/* ── Share Bottom ── */
.single-post-share-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--brand-border);
    flex-wrap: wrap;
    gap: 16px;
}

.share-bottom-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 600;
}

.share-bottom-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-bottom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--brand-border);
    background: var(--brand-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.share-bottom-btn:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
    background: var(--brand-bg);
}

.share-bottom-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    background: var(--brand-card);
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    cursor: pointer;
    font-family: var(--font-sans);
}

.share-copy-btn:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.share-copy-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Author Bio ── */
.single-post-author-bio {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--brand-border);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .single-post-author-bio {
        gap: 32px;
        padding: 40px 0;
    }
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-border);
}

@media (min-width: 768px) {
    .author-bio-avatar img {
        width: 80px;
        height: 80px;
    }
}

.author-bio-content {
    flex: 1;
    min-width: 0;
}

.author-bio-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.author-bio-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 8px;
}

@media (min-width: 1024px) {
    .author-bio-name {
        font-size: 20px;
    }
}

.author-bio-desc {
    font-size: 14px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 16px;
}

.author-bio-socials {
    display: flex;
    gap: 8px;
}

.author-bio-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
}

.author-bio-social:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.author-bio-social svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Post Navigation ── */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 32px 0;
    border-bottom: 1px solid var(--brand-border);
}

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

.post-nav-link {
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--brand-border);
    transition: all var(--transition-fast);
    display: block;
}

.post-nav-link:hover {
    border-color: var(--brand-dark);
    background: var(--brand-bg);
}

.post-nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.post-nav-label svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.post-nav-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

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

.post-nav-link.next .post-nav-label {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .post-nav-link.next {
        text-align: left;
    }

    .post-nav-link.next .post-nav-label {
        justify-content: flex-start;
    }
}

/* ── Comments Section ── */
.comments-section {
    padding: 48px 0;
}

@media (min-width: 1024px) {
    .comments-section {
        padding: 64px 0;
    }
}

.comments-inner {
    max-width: 768px;
    margin: 0 auto;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--brand-border);
}

.comments-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}

.comments-count {
    font-size: 13px;
    color: var(--brand-muted);
    font-weight: 400;
}

/* Comment Items */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 24px 0;
    border-bottom: 1px solid var(--brand-border);
}

.comment:first-child {
    padding-top: 0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
}

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

.comment-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
}

.comment-date {
    font-size: 12px;
    color: var(--brand-muted);
}

.comment-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--brand-muted);
    margin: 0;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-sky);
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 24px;
}

.comment-form {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .comment-form .comment-form-author,
    .comment-form .comment-form-email {
        grid-column: span 1;
    }
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    color: var(--brand-dark);
    background: var(--brand-bg);
    font-family: var(--font-sans);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--brand-muted);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(0, 114, 255, 0.5);
    outline: none;
}

.comment-form .form-submit {
    margin-top: 8px;
}

.comment-form .submit {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    background: var(--brand-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--transition-fast);
}

.comment-form .submit:hover {
    background: rgba(17, 24, 39, 0.85);
}

/* ── Comment Form Wrapper ── */
.comment-form-wrapper {
    margin-bottom: 40px;
    padding: 28px;
    background: var(--brand-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--brand-border);
}

.comment-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.comment-form-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 114, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-sky);
    flex-shrink: 0;
}

.comment-form-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}

.comment-form-subtitle {
    font-size: 13px;
    color: var(--brand-muted);
    margin: 4px 0 0;
    font-weight: 300;
}

.comment-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comment-form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-dark);
    letter-spacing: 0.02em;
}

.comment-form-label .required {
    color: var(--brand-secondary);
}

.comment-form-input,
.comment-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brand-border);
    font-size: 14px;
    color: var(--brand-dark);
    background: var(--brand-card);
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast);
}

.comment-form-input::placeholder,
.comment-form-textarea::placeholder {
    color: var(--brand-muted);
}

.comment-form-input:focus,
.comment-form-textarea:focus {
    border-color: rgba(0, 114, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 114, 255, 0.1);
}

.comment-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.comment-form-actions button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: var(--brand-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--transition-fast);
}

.comment-form-actions button[type="submit"]:hover {
    background: rgba(17, 24, 39, 0.85);
}

.comment-form-actions button[type="submit"] svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cancel-reply-link {
    font-size: 13px;
    color: var(--brand-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cancel-reply-link:hover {
    color: var(--brand-dark);
}

/* ── Comment List Wrapper ── */
.comment-list-wrapper {
    margin-top: 40px;
}

/* ── Comment Item ── */
.comment-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--brand-border);
}

.comment-item:first-child {
    padding-top: 0;
}

.comment-item-header {
    margin-bottom: 12px;
}

.comment-item-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.comment-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-item-info {
    display: flex;
    flex-direction: column;
}

.comment-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
    line-height: 1.3;
}

.comment-item-name a {
    color: var(--brand-dark);
}

.comment-item-date {
    font-size: 12px;
    color: var(--brand-muted);
    margin-top: 2px;
}

.comment-item-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--brand-muted);
    margin: 0 0 12px;
}

.comment-item-text p {
    margin: 0;
}

.comment-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    background: transparent;
    font-size: 12px;
    color: var(--brand-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.comment-action-btn:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.comment-action-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.comment-action-btn.liked {
    border-color: var(--brand-secondary);
    color: var(--brand-secondary);
}

.comment-like-count {
    font-size: 11px;
    font-weight: 600;
}

.comment-item-replies {
    margin-top: 16px;
    padding-left: 32px;
    border-left: 2px solid var(--brand-border);
}

.comment-item-replies .comment-item {
    padding: 16px 0;
    border-bottom: none;
}

.comment-item-replies .comment-item:last-child {
    padding-bottom: 0;
}

/* ── Comments Pagination ── */
.comments-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--brand-border);
}

.comments-pagination a,
.comments-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.comments-pagination a:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.comments-pagination span.current {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}

.comments-pagination svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Related Posts ── */
.single-post-related {
    padding: 56px 0;
    background: var(--brand-bg);
    border-top: 1px solid var(--brand-border);
}

@media (min-width: 1024px) {
    .single-post-related {
        padding: 80px 0;
    }
}

.related-section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .related-section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-post-card {
    background: var(--brand-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    transition: all var(--transition-base);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.related-post-image {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.related-post-read-time {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 500;
    color: var(--brand-dark);
    z-index: 5;
}

.related-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 0;
}

.related-post-cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-sky);
}

.related-post-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-border);
}

.related-post-date {
    font-size: 12px;
    color: var(--brand-muted);
}

.related-post-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 10px 20px 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color var(--transition-fast);
}

.related-post-card:hover .related-post-title {
    color: var(--brand-sky);
}

.related-post-excerpt {
    font-size: 13px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.6;
    margin: 8px 20px 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── No Posts Found ── */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-found h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 12px;
}

.no-posts-found p {
    font-size: 16px;
    color: var(--brand-muted);
    margin: 0 0 24px;
}

/* ── Blog Responsive ── */
@media (max-width: 1024px) {
    .blog-hero-title {
        font-size: 36px;
    }

    .featured-post-title {
        font-size: 24px;
    }

    .sidebar {
        display: block;
    }
}

@media (max-width: 768px) {
    .blog-hero-section {
        padding: 32px 0 24px;
    }

    .blog-hero-title {
        font-size: 28px;
    }

    .blog-hero-desc {
        font-size: 14px;
    }

    .post-title {
        font-size: 15px;
    }

    .post-card.wide .post-title {
        font-size: 18px;
    }

    .post-card-meta {
        padding: 12px 16px 0;
    }

    .post-title {
        margin: 8px 16px 0;
    }

    .post-excerpt {
        margin: 6px 16px 0;
        font-size: 13px;
    }

    .post-footer {
        padding: 12px 16px 16px;
    }

    .featured-post-content {
        padding: 24px;
    }

    .featured-post-title {
        font-size: 20px;
    }

    /* Single post responsive */
    .single-post-title {
        font-size: 26px;
    }

    .single-post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-bio-socials {
        justify-content: center;
    }

    .single-post-share-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-bottom-icons {
        flex-wrap: wrap;
    }

    .entry-content h2 {
        font-size: 22px;
    }

    .entry-content h3 {
        font-size: 20px;
    }

    .entry-content blockquote {
        font-size: 16px;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 24px;
    }

    .topic-tab {
        padding: 6px 14px;
        font-size: 12px;
    }

    .posts-grid {
        gap: 16px;
    }

    .sidebar-block {
        padding: 20px;
    }

    .pg-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    /* Single post responsive */
    .single-post-hero {
        padding: 32px 0;
    }

    .single-post-title {
        font-size: 22px;
    }

    .single-post-meta {
        gap: 8px;
        font-size: 12px;
    }

    .single-post-tags {
        flex-wrap: wrap;
    }

    .related-post-title {
        font-size: 15px;
    }
}

/* ── Search Results Page ── */
.search-hero {
    text-align: center;
    padding: 48px 0 40px;
    background: #fff;
    border-bottom: 1px solid var(--brand-border);
}

@media (min-width: 1024px) {
    .search-hero {
        padding: 64px 0 56px;
    }
}

.search-hero-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-sky);
    font-weight: 600;
    margin-bottom: 12px;
}

.search-hero .blog-hero-title {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.search-hero .blog-hero-subtitle {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Inline Search Form in Hero */
.search-hero-form {
    margin-top: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.search-hero-form .search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-hero-form .search-field {
    width: 100%;
    padding: 14px 52px 14px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--brand-border);
    font-size: 15px;
    color: var(--brand-dark);
    background: var(--brand-bg);
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-hero-form .search-field::placeholder {
    color: var(--brand-muted);
}

.search-hero-form .search-field:focus {
    border-color: rgba(0, 114, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
}

.search-hero-form .search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
}

.search-hero-form .search-submit:hover {
    background: rgba(17, 24, 39, 0.85);
}

.search-hero-form .search-submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-hero-form .search-submit-text {
    display: none;
}

/* Search No Results */
.search-no-results {
    grid-column: 1 / -1;
}

.search-no-results-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-bg);
    border: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--brand-muted);
}

.search-no-results-icon svg {
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-no-results-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 12px;
}

.search-no-results-text {
    font-size: 15px;
    color: var(--brand-muted);
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.search-no-results-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    background: var(--brand-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.search-no-results-btn:hover {
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
    gap: 12px;
}

.search-no-results-btn svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Search Results Responsive */
@media (max-width: 768px) {
    .search-hero {
        padding: 32px 0 24px;
    }

    .search-hero-form {
        margin-top: 20px;
    }

    .search-hero-form .search-field {
        padding: 12px 48px 12px 16px;
        font-size: 14px;
    }

    .search-no-results {
        padding: 0;
    }

    .search-no-results-title {
        font-size: 18px;
    }

    .search-no-results-text {
        font-size: 14px;
    }
}

/* ── Product Search Results ── */
.search-products-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.search-products-wrapper .products.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .search-products-wrapper .products.shop-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .search-products-wrapper .products.shop-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.search-products-wrapper .pagination {
    margin-top: 48px;
}
