/* ── Blog Styles ── */

/* ── Page Header ── */
.blog-page-header {
    position: relative;
    background: var(--cream);
    border-bottom: 1px solid var(--brand-border);
    padding: 56px 0;
    overflow: hidden;
}

.page-title-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}

.page-title-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--terracotta-light);
    top: -15%;
    right: -5%;
}

.page-title-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--sage-light);
    bottom: -20%;
    left: -5%;
}

.blog-page-header .container {
    position: relative;
    z-index: 1;
}

.page-title-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--brand-muted);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.page-title-crumb a {
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.page-title-crumb a:hover {
    color: var(--terracotta);
}

.page-title-crumb a svg {
    width: 15px;
    height: 15px;
}

.page-title-crumb .sep {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.page-title-crumb .current {
    color: var(--brand-dark);
    font-weight: 600;
}

.page-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-title-text {
    max-width: 680px;
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.blog-page-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.8vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    font-weight: 400;
    margin: 0 0 0;
}

.blog-page-subtitle {
    font-size: 17px;
    color: var(--brand-muted);
    line-height: 1.7;
    margin-top: 18px;
    max-width: 560px;
}

.page-title-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.pt-stat {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    gap: 14px;
}

.pt-stat-ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pt-stat-ic svg {
    width: 26px;
    height: 26px;
}

.pt-stat-ic.s1 {
    background: var(--terracotta-light);
    color: var(--terracotta);
}

.pt-stat-ic.s2 {
    background: var(--sage-light);
    color: var(--sage-dark);
}

.pt-stat-text strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.1;
}

.pt-stat-text span {
    font-size: 13px;
    color: var(--brand-muted);
}

/* ── Featured Section ── */
.featured-section {
    padding: 72px 0 40px;
}

.featured-post {
    display: block;
    text-decoration: none;
    color: inherit;
}

.featured-post-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--brand-border);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.featured-post:hover .featured-post-grid {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.featured-image {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    background: var(--cream-dark);
}

.featured-image .featured-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    inset: 0;
}

.featured-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--cream-dark);
    position: absolute;
    inset: 0;
}

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

.featured-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    background: var(--terracotta);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

.featured-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.featured-cat svg {
    width: 14px;
    height: 14px;
}

.featured-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--brand-dark);
    margin: 0 0 16px;
    font-weight: 400;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.featured-title a:hover {
    color: var(--terracotta);
}

.featured-excerpt {
    font-size: 16px;
    color: var(--brand-muted);
    line-height: 1.75;
    margin: 0 0 24px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

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

.f-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.f-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-dark);
}

.f-role {
    font-size: 12px;
    color: var(--brand-muted);
    margin-top: 1px;
}

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

.f-meta-item {
    font-size: 13px;
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.f-meta-item svg {
    width: 15px;
    height: 15px;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-dark);
    padding-bottom: 4px;
    border-bottom: 2px solid var(--brand-dark);
    transition: all var(--transition-fast);
    width: fit-content;
    text-decoration: none;
}

.featured-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.featured-link:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
    gap: 12px;
}

/* ── Blog Content Section ── */
.blog-content-section {
    padding: 56px 0 100px;
}

/* ── Category Filter Bar ── */
.category-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--brand-border);
}

.cat-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-pill {
    padding: 0 20px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    background: #fff;
    font-weight: 600;
    font-size: 14px;
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.cat-pill svg {
    width: 16px;
    height: 16px;
}

.cat-pill:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

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

.cat-pill .count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 7px;
    border-radius: 999px;
}

.cat-pill.active .count {
    background: rgba(255, 255, 255, 0.18);
}

/* ── Blog Layout ── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.blog-content {
    min-width: 0;
}

/* ── Blog Grid ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* ── Blog Card ── */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.blog-card-image {
    aspect-ratio: 1.7;
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
}

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

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--cream-dark);
    position: absolute;
    inset: 0;
}

.blog-card:hover .blog-card-image-img {
    transform: scale(1.06);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-xs);
    z-index: 2;
}

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

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--brand-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta-item svg {
    width: 14px;
    height: 14px;
}

.blog-card-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--brand-border);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin: 0 0 10px;
    font-weight: 400;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title a {
    color: var(--terracotta);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--brand-muted);
    line-height: 1.7;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--brand-border);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 9px;
}

.blog-card-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-card-author-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--brand-dark);
}

.blog-card-read {
    font-weight: 600;
    font-size: 13px;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.blog-card-read svg {
    width: 14px;
    height: 14px;
}

.blog-card-read:hover {
    gap: 9px;
}

/* ── Pagination ── */
nav.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 0;
}

nav.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

nav.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    font-size: 14px;
    font-weight: 450;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
}

a.page-numbers:hover {
    border-color: var(--brand-border);
    color: var(--brand-dark);
}

span.page-numbers.current {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
    font-weight: 500;
}

span.page-numbers.dots {
    background: transparent;
    border: none;
    min-width: 32px;
    cursor: default;
}

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

nav.pagination .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}


/* ── Article Hero ── */
.article-hero {
    width: 100%;
    max-width: calc(var(--container-max, 1280px) - 80px);
    margin: 24px auto 36px;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    background: var(--brand-bg);
}

.article-hero img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}


/* ── Article Container ── */
.article-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 60px;
}


/* ── Article Breadcrumb ── */
.article-breadcrumb {
    font-size: 12px;
    color: var(--brand-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-breadcrumb a {
    color: var(--brand-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-breadcrumb a:hover {
    color: var(--brand-dark);
}

.article-breadcrumb .sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* ── Article Category ── */
.article-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    font-weight: 600;
    margin-bottom: 16px;
    text-decoration: none;
}

/* ── Article Title ── */
.article-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

/* ── Article Meta ── */
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--brand-muted);
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark);
    font-weight: 500;
}

.article-author a {
    text-decoration: none;
}

.article-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.article-meta-dot {
    color: var(--brand-muted);
}

.article-meta-date,
.article-meta-read {
    font-size: 14px;
    color: var(--brand-muted);
}

/* ── Article Divider ── */
.article-divider {
    border: none;
    border-top: 1px solid var(--brand-border-light, var(--brand-border));
    margin: 28px 0;
}

/* ── Article Body ── */
.article-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--brand-muted);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    font-family: var(--font-display);
    color: var(--brand-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 500;
    margin: 36px 0 16px;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 32px 0 14px;
}

.article-body h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 28px 0 12px;
}

.article-body p {
    margin-bottom: 22px;
}

.article-body a {
    color: var(--brand-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.article-body a:hover {
    color: var(--brand-accent-hover, var(--brand-dark));
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-md, 10px);
    margin: 28px 0;
    display: block;
}

.article-body .caption,
.article-body figcaption,
.article-body .wp-caption-text {
    font-size: 13px;
    color: var(--brand-muted);
    text-align: center;
    margin-top: -18px;
    margin-bottom: 28px;
}

.article-body blockquote {
    border-left: 3px solid var(--brand-accent);
    padding: 12px 24px;
    margin: 28px 0;
    font-style: italic;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--brand-dark);
    background: var(--brand-bg);
    border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
    line-height: 1.6;
}

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

.article-body ul,
.article-body ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--brand-muted);
    margin-bottom: 4px;
}

.article-body pre {
    background: var(--brand-dark);
    color: #e5e7eb;
    padding: 24px;
    border-radius: var(--radius-md, 10px);
    overflow-x: auto;
    margin: 28px 0;
    font-size: 14px;
    line-height: 1.6;
}

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

.article-body pre code {
    background: transparent;
    padding: 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
}

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

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

.article-body td {
    color: var(--brand-muted);
}


/* ── Share Row ── */
.article-share-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--brand-border-light, var(--brand-border));
    flex-wrap: wrap;
}

.article-share-row span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-muted);
}

.share-pill {
    color: var(--brand-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-fast);
    padding: 6px 12px;
    border: 1.5px solid var(--brand-border);
    border-radius: 50px;
}

.share-pill:hover {
    color: var(--brand-dark);
    border-color: var(--brand-muted);
}

/* ── Comments Section ── */
.article-comments-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.article-comments-container .comments-inner {
    max-width: 100%;
}

.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: 500;
    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-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-sky);
    text-decoration: none;
}

.comment-reply-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* 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;
}


.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;
    margin: 0 !important;
}

.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 Section ── */
.related-section {
    max-width: 720px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.related-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

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


.related-card {
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    background: var(--brand-card, #fff);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-smooth, 0.4s cubic-bezier(0.4, 0, 0.2, 1));
    display: block;
}

.related-card:hover {
    box-shadow: 0 12px 40px rgba(28, 28, 28, 0.08);
    transform: translateY(-4px);
}

.related-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.related-card-body {
    padding: 14px;
}

.related-card-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-accent);
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
}

.related-card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

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

/* ── Fade-in Animation ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 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 ── */


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


.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-page-title {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.search-hero .blog-page-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-wrapper {
    background: none;
    border: none;
    padding: 0;
    gap: 0;
    border-radius: 0;
    position: relative;
    flex: 1;
}

.search-hero-form .search-field-wrapper:focus-within {
    box-shadow: none;
    border: none;
}

.search-hero-form .search-field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--brand-muted);
    pointer-events: none;
}

.search-hero-form .search-field {
    width: 100%;
    padding: 14px 52px 14px 46px;
    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 */

/* ── 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;
}


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

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


.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;
}


.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 Sidebar ── */
.blog-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}


.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: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-block-title svg {
    width: 20px;
    height: 20px;
    color: var(--terracotta);
}

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

.sidebar-block-search .search-field-wrapper {
    position: relative;
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    gap: 0;
    border-radius: 0;
}

.sidebar-block-search .search-field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--brand-muted);
    pointer-events: none;
}

.sidebar-block-search .search-field {
    width: 100%;
    height: 44px;
    padding: 0 18px 0 46px;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: var(--brand-dark);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.sidebar-block-search .search-field:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px var(--terracotta-light);
}

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

.sidebar-block-search .search-submit:hover {
    background: var(--terracotta);
}

/* Search Widget */
.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;
}

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

.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: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--brand-border);
    transition: transform var(--transition-fast);
}

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

.popular-post:first-child {
    padding-top: 0;
}

.popular-post:hover {
    transform: translateX(3px);
}

.popular-thumb {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    display: block;
}

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

.popular-thumb.no-image {
    background: var(--cream-dark);
}

.popular-num {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.pop-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin-bottom: 4px;
}

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

.popular-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.popular-post:hover .popular-info h4 a {
    color: var(--terracotta);
}

.pop-date {
    font-size: 12px;
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pop-date svg {
    width: 13px;
    height: 13px;
}

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

.tag-pill {
    padding: 7px 14px;
    border-radius: 999px;
    border: none;
    background: var(--cream);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    cursor: pointer;
    font-family: var(--font-sans);
    text-decoration: none;
}

.tag-pill:hover,
.tag-pill.active {
    background: var(--terracotta);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Newsletter CTA Widget ── */
.sidebar-block-cta {
    background: var(--brand-dark);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.sidebar-block-cta::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.12;
    top: -90px;
    right: -70px;
}

.sidebar-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}

.sidebar-cta-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.sidebar-block-cta h4 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 10px;
    line-height: 1.2;
    position: relative;
}

.sidebar-block-cta p {
    font-size: 14px;
    opacity: 0.75;
    margin: 0 0 18px;
    line-height: 1.6;
    position: relative;
}

.sidebar-cta-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.sidebar-cta-form input {
    padding: 13px 18px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: var(--brand-dark);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.sidebar-cta-form input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.sidebar-cta-btn {
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--terracotta);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.sidebar-cta-btn:hover {
    background: var(--terracotta-dark);
}

.sidebar-block-cta small {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    opacity: 0.65;
    position: relative;
}

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


/* ── Legacy Post Card (kept for backwards compat) ── */
.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);
}

.post-card.wide {
    grid-column: 1 / -1;
}

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


.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;
}


.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);
}

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

.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 {
    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 {
    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;
}


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


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

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

.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 {
    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;
}

/* ── Legacy Featured Post ── */
.featured-post-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}


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

.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;
}


.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;
}


.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;
}

/* ── No-image placeholders── */
.featured-img.no-image {
    background: #f3f4f6;
    display: block;
    min-height: 280px;
}


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


/**
====================================================================
  Responsive Styles
====================================================================
*/

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

    .search-hero {
        padding: 64px 0 56px;
    }

    .search-products-wrapper .products.shop-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .blog-hero-section {
        padding: 64px 0 56px;
    }

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

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

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

@media (max-width: 1080px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blog-sidebar .sidebar-block {
        flex: 1 1 300px;
    }

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

    .featured-title {
        font-size: 30px;
    }
}

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

    .featured-image {
        min-height: 280px;
    }

    .featured-body {
        padding: 36px 32px;
    }

    .featured-title {
        font-size: 28px;
    }

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

    .page-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .article-hero {
        margin: 16px auto 24px;
        border-radius: var(--radius-md, 10px);
        max-width: calc(100% - 32px);
    }

    .article-container {
        padding: 0 8px 40px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .article-body h3 {
        font-size: 20px;
    }

    .article-body blockquote {
        font-size: 17px;
        padding: 12px 20px;
    }

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

    .blog-page-header {
        padding: 44px 0;
    }

    .blog-page-title {
        font-size: 32px;
    }

    .blog-page-subtitle {
        font-size: 15px;
    }

    .blog-card-title {
        font-size: 19px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-meta {
        gap: 10px;
        font-size: 13px;
    }

    .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;
    }
}

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

    .featured-body {
        padding: 28px 24px;
    }

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

    .category-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-sidebar {
        flex-direction: column;
    }

    nav.pagination .page-numbers {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

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

    .article-title {
        font-size: 24px;
    }

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

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

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

    .search-products-wrapper .products.shop-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .post-card.wide .wide-inner {
        grid-template-columns: 1fr 1fr;
    }

    .post-card.wide .post-card-img {
        min-height: 100%;
        aspect-ratio: unset;
    }

    .featured-image {
        min-height: 400px;
    }
}


/* =====================================================================
   SINGLE POST REDESIGN
   ===================================================================== */

.single-post-wrap {
    --post-radius: 20px;
    --post-radius-sm: 12px;
    --post-radius-xs: 8px;
    --post-shadow: 0 8px 32px rgba(30, 30, 30, 0.06);
    --post-shadow-lg: 0 24px 64px rgba(30, 30, 30, 0.10);
}

/* ── Reading Progress Bar ── */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 200;
}
.reading-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-dark));
    transition: width 0.1s linear;
}

/* ============ ARTICLE HERO ============ */
.article-hero {
    position: relative;
    background: var(--cream);
    border-bottom: 1px solid var(--brand-border);
    padding: 56px 0 64px;
    overflow: hidden;
    max-width: none;
    margin: 0;
    border-radius: 0;
}
.article-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}
.ahb-1 {
    width: 500px;
    height: 500px;
    background: var(--terracotta-light);
    top: -15%;
    right: -5%;
    animation: ahFloat1 20s ease-in-out infinite;
}
.ahb-2 {
    width: 400px;
    height: 400px;
    background: var(--sage-light);
    bottom: -20%;
    left: -5%;
    animation: ahFloat2 18s ease-in-out infinite;
}
@keyframes ahFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.05); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes ahFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-20px, 20px) scale(0.96); }
}
.article-hero .container {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

/* Hero breadcrumb */
.ah-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--brand-muted);
    margin-bottom: 26px;
    flex-wrap: wrap;
    text-transform: none;
    letter-spacing: 0;
}
.ah-crumb a {
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}
.ah-crumb a:hover { color: var(--terracotta); }
.ah-crumb a svg { width: 15px; height: 15px; }
.ah-crumb .sep { width: 14px; height: 14px; opacity: 0.5; margin: 0; }
.ah-crumb .current { color: var(--brand-dark); font-weight: 600; }

/* Hero category pill */
.ah-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terracotta);
    background: #fff;
    border: 1px solid var(--brand-border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 22px;
    box-shadow: var(--shadow-xs);
}
.ah-cat svg { width: 14px; height: 14px; }

/* Hero title */
.article-hero-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    font-weight: 400;
    margin-bottom: 22px;
}

/* Hero excerpt */
.ah-excerpt {
    font-size: 18px;
    color: var(--header-charcoal);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 680px;
}

/* Hero meta */
.ah-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.ah-author { display: flex; align-items: center; gap: 12px; }
.ah-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 19px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(196, 91, 62, 0.3);
    overflow: hidden;
    flex-shrink: 0;
}
.ah-avatar-img,
.ah-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.ah-author-info { display: flex; flex-direction: column; }
.ah-name { font-weight: 700; font-size: 15px; color: var(--brand-dark); line-height: 1.2; }
.ah-role { font-size: 12px; color: var(--brand-muted); margin-top: 1px; }
.ah-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-border); }
.ah-meta-item {
    font-size: 13px;
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ah-meta-item svg { width: 15px; height: 15px; }

/* ============ FEATURED IMAGE ============ */
.article-feature-img {
    max-width: var(--container-max, 1240px);
    margin: -32px auto 0;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
.afi-inner {
    border-radius: var(--post-radius);
    overflow: hidden;
    box-shadow: var(--post-shadow-lg);
    background: var(--cream-dark);
    aspect-ratio: 21 / 9;
}
.afi-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: none;
}

/* ============ ARTICLE LAYOUT ============ */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
    padding: 72px 0;
    max-width: none;
    margin: 0;
}

/* ============ ARTICLE BODY ============ */
.article-body {
    font-size: 17px;
    line-height: 1.85;
    color: var(--header-charcoal);
    max-width: 740px;
    max-width: none;
    margin: 0;
    padding: 0;
}
.article-content > * + * { margin-top: 1.5em; }
.article-content > p:first-child { margin-top: 0; }

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    font-family: var(--font-display);
    color: var(--brand-dark);
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 400;
}
.article-body h2 {
    font-size: 32px;
    margin: 2.2em 0 0.6em;
    line-height: 1.2;
    scroll-margin-top: 100px;
}
.article-body h3 {
    font-size: 21px;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    margin: 1.8em 0 0.4em;
    line-height: 1.3;
}
.article-body h4 {
    font-size: 18px;
    margin: 1.4em 0 0.4em;
    font-weight: 700;
    font-family: var(--font-sans);
}
.article-body p { margin: 0; }
.article-body strong { color: var(--brand-dark); font-weight: 700; }
.article-body a {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--terracotta-light);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    transition: text-decoration-color var(--transition-fast);
}
.article-body a:hover { text-decoration-color: var(--terracotta); }
.article-body ul,
.article-body ol {
    padding-left: 1.4em;
    margin: 1.5em 0;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--header-charcoal);
    margin-bottom: 0.6em;
    padding-left: 0.3em;
}
.article-body ul li::marker { color: var(--terracotta); }
.article-body ol li::marker { color: var(--terracotta); font-weight: 700; }
.article-body img {
    width: 100%;
    height: auto;
    border-radius: var(--post-radius);
    margin: 2em 0;
    box-shadow: var(--post-shadow);
    display: block;
}
.article-body figure {
    margin: 2em 0;
}
.article-body figcaption,
.article-body .wp-caption-text {
    text-align: center;
    font-size: 13px;
    color: var(--brand-muted);
    margin-top: 12px;
    font-style: italic;
    margin-bottom: 0;
}
.article-body blockquote {
    margin: 2.2em 0;
    padding: 32px 36px;
    background: var(--cream);
    border-radius: var(--post-radius);
    border-left: 4px solid var(--terracotta);
    position: relative;
    font-style: normal;
}
.article-body blockquote::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 20px;
    font-family: var(--font-display);
    font-size: 90px;
    line-height: 1;
    color: var(--terracotta-light);
}
.article-body blockquote p {
    position: relative;
    font-family: var(--font-display);
    font-size: 23px;
    line-height: 1.45;
    color: var(--brand-dark);
    font-style: italic;
    font-weight: 400;
}
.article-body blockquote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    color: var(--terracotta);
    letter-spacing: 0.02em;
}
.article-body pre {
    background: var(--brand-dark);
    color: #e5e7eb;
    padding: 24px;
    border-radius: var(--post-radius-sm);
    overflow-x: auto;
    margin: 2em 0;
    font-size: 14px;
    line-height: 1.6;
}
.article-body code {
    font-size: 14px;
    background: var(--cream);
    padding: 2px 6px;
    border-radius: 4px;
}
.article-body pre code { background: transparent; padding: 0; }
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 15px;
    border-radius: var(--post-radius-sm);
    overflow: hidden;
}
.article-body th,
.article-body td {
    padding: 14px 18px;
    border: 1px solid var(--brand-border);
    text-align: left;
}
.article-body th {
    background: var(--brand-dark);
    color: #fff;
    font-weight: 600;
}
.article-body td { color: var(--header-charcoal); }
.article-body hr {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 2.4em 0;
    text-align: center;
}
.article-body .page-links { margin-top: 2em; clear: both; }
.article-body .page-links a { color: var(--terracotta); }

/* Drop cap on first paragraph */
.article-content > p:first-of-type:not(.no-dropcap):first-letter {
    font-family: var(--font-display);
    font-size: 4.2em;
    line-height: 0.8;
    float: left;
    padding: 8px 14px 0 0;
    color: var(--terracotta);
    font-weight: 400;
}

/* Callout boxes (for block editor use) */
.article-body .ab-callout,
.article-body .wp-block-pawwell-callout {
    margin: 2em 0;
    padding: 28px 30px;
    background: var(--sage-light);
    border-radius: var(--post-radius);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.article-body .ab-callout.warn,
.article-body .wp-block-pawwell-callout.is-style-warn { background: var(--terracotta-light); }

/* ============ ARTICLE FOOT (tags + share) ============ */
.article-foot {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag-label,
.share-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-muted);
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tag-row .tag,
.tag-cloud .tag {
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--cream);
    font-size: 13px;
    font-weight: 600;
    color: var(--header-charcoal);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-decoration: none;
}
.tag-row .tag:hover,
.tag-cloud .tag:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }

.share-row { display: flex; align-items: center; gap: 10px; }
.share-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--post-radius-sm);
    background: var(--cream);
    color: var(--header-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { background: var(--terracotta); color: #fff; transform: translateY(-3px); }

/* ============ AUTHOR BOX ============ */
.author-box {
    margin-top: 40px;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--post-radius);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-dark));
}
.author-box-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 34px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(196, 91, 62, 0.3);
    overflow: hidden;
}
.author-box-avatar-img,
.author-box-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.author-box-content { flex: 1; }
.author-box-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terracotta);
    margin-bottom: 4px;
    display: block;
}
.author-box h4 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: 8px;
}
.author-box p {
    font-size: 15px;
    color: var(--header-charcoal);
    line-height: 1.7;
    margin-bottom: 16px;
}
.author-box-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    color: var(--terracotta);
    transition: gap var(--transition-fast);
}
.author-box-link svg { width: 15px; height: 15px; }
.author-box-link:hover { gap: 10px; }

/* ============ PREV / NEXT NAV ============ */
.post-nav {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.post-nav-card {
    border: 1px solid var(--brand-border);
    border-radius: var(--post-radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}
.post-nav-card.placeholder { border: none; }
.post-nav-card:not(.placeholder):hover {
    transform: translateY(-3px);
    box-shadow: var(--post-shadow);
    border-color: transparent;
}
.post-nav-card.next {
    justify-content: flex-end;
    text-align: right;
}
.post-nav-card.next .pn-text { align-items: flex-end; }
.pn-ic {
    width: 46px;
    height: 46px;
    border-radius: var(--post-radius-sm);
    background: var(--cream);
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pn-ic svg { width: 22px; height: 22px; }
.pn-text { display: flex; flex-direction: column; min-width: 0; }
.pn-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-muted);
    margin-bottom: 4px;
}
.pn-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--brand-dark);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post-nav-card:hover .pn-title { color: var(--terracotta); }

/* ============ COMMENTS SECTION ============ */
.comments-section { margin-top: 56px; }
.comments-head {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}
.comments-head h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--brand-dark);
    margin: 0;
}
.count-badge {
    background: var(--terracotta-light);
    color: var(--terracotta);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-left: 10px;
}

/* ============ SIDEBAR ============ */
.article-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.widget {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--post-radius);
    padding: 28px;
}
.widget-title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin-bottom: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-title svg { width: 20px; height: 20px; color: var(--terracotta); }

/* Table of contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.toc-list li { margin: 0; padding: 0; }
.toc-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--post-radius-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--header-charcoal);
    line-height: 1.45;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
    text-decoration: none;
}
.toc-list .toc-num {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 12px;
    color: var(--terracotta);
    flex-shrink: 0;
    margin-top: 2px;
}
.toc-list a:hover,
.toc-list a.active {
    background: var(--cream);
    color: var(--brand-dark);
    border-left-color: var(--terracotta);
}
.toc-empty {
    font-size: 13px;
    color: var(--brand-muted);
    padding: 4px 12px;
}

/* Newsletter widget */
.widget-cta {
    background: var(--brand-dark);
    color: #fff;
    border-radius: var(--post-radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: none;
}
.widget-cta::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.12;
    top: -90px;
    right: -70px;
}
.widget-cta-ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}
.widget-cta-ic svg { width: 26px; height: 26px; color: #fff; }
.widget-cta h4 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.2;
    color: #fff;
}
.widget-cta p {
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 18px;
    line-height: 1.6;
    position: relative;
}
.widget-cta-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.widget-cta input {
    padding: 13px 18px;
    border-radius: var(--radius-full);
    border: none;
    background: #fff;
    color: var(--brand-dark);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.widget-cta input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.widget-cta .btn { width: 100%; justify-content: center; }
.widget-cta small {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    opacity: 0.65;
    position: relative;
}

/* Single post share / newsletter button */
.btn-terracotta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    background: var(--terracotta);
    color: #fff;
    box-shadow: 0 4px 16px rgba(196, 91, 62, 0.3);
    font-family: inherit;
}
.btn-terracotta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 91, 62, 0.35);
}

/* Popular posts widget */
.popular-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--brand-border);
    transition: transform var(--transition-fast);
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}
.popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.popular-item:first-child { padding-top: 0; }
.popular-item:hover { transform: translateX(3px); }
.popular-thumb {
    width: 76px;
    height: 76px;
    border-radius: var(--post-radius-sm);
    overflow: hidden;
    background: var(--cream-dark);
    flex-shrink: 0;
    position: relative;
    display: block;
}
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-thumb.no-image::after {
    content: '';
    display: block;
    width: 76px;
    height: 76px;
}
.popular-num {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popular-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.popular-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin-bottom: 4px;
}
.popular-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    color: var(--brand-dark);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}
.popular-item:hover .popular-title { color: var(--terracotta); }
.popular-date {
    font-size: 12px;
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.popular-date svg { width: 13px; height: 13px; }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .tag {
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--cream);
    font-size: 13px;
    font-weight: 600;
    color: var(--header-charcoal);
    transition: all var(--transition-fast);
    text-decoration: none;
}
.tag-cloud .tag:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }

/* ============ RELATED ARTICLES (override) ============ */
.related-section {
    background: var(--cream);
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
    padding: 80px 0;
    max-width: none;
    margin: 0;
}
.related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    max-width: none;
    padding: 0;
}
.related-eyebrow {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    display: block;
    margin-bottom: 8px;
}
.related-title {
    font-family: var(--font-display);
    font-size: 38px;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
}
.related-view-all {
    font-weight: 600;
    font-size: 14px;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}
.related-view-all svg { width: 16px; height: 16px; }
.related-view-all:hover { gap: 10px; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.rel-card {
    background: #fff;
    border-radius: var(--post-radius);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.rel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--post-shadow-lg);
    border-color: transparent;
}
.rel-img {
    aspect-ratio: 1.7;
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
    display: block;
}
.rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.rel-card:hover .rel-img img { transform: scale(1.06); }
.rel-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-xs);
    z-index: 2;
}
.rel-body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--brand-muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.rel-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.rel-meta-item svg { width: 14px; height: 14px; }
.rel-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--brand-border); }
.rel-title {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--brand-dark);
    margin-bottom: 10px;
    font-weight: 400;
}
.rel-title a { color: inherit; text-decoration: none; }
.rel-card:hover .rel-title a { color: var(--terracotta); }
.rel-excerpt {
    font-size: 14px;
    color: var(--header-charcoal);
    line-height: 1.65;
    margin-bottom: 14px;
}
.rel-read {
    font-weight: 600;
    font-size: 13px;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: gap var(--transition-fast);
    text-decoration: none;
}
.rel-read svg { width: 14px; height: 14px; }
.rel-read:hover { gap: 9px; }

/* ============ SINGLE POST RESPONSIVE ============ */
@media (max-width: 1080px) {
    .article-layout { grid-template-columns: 1fr; gap: 48px; }
    .article-sidebar { position: static; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
    .related-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .article-body h2 { font-size: 28px; }
    .article-hero { padding: 40px 0 48px; }
}
@media (max-width: 640px) {
    .article-hero { padding: 36px 0 44px; }
    .article-hero-title { font-size: 30px; }
    .ah-excerpt { font-size: 16px; }
    .ah-meta { gap: 12px; }
    .article-feature-img { padding: 0 20px; margin-top: -24px; }
    .article-layout { padding: 48px 0; }
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 24px; }
    .article-body blockquote { padding: 24px; }
    .article-body blockquote p { font-size: 19px; }
    .author-box { flex-direction: column; padding: 24px; align-items: flex-start; }
    .comment-form { padding: 0; }
    .related-head { flex-direction: column; align-items: flex-start; }
    .related-title { font-size: 30px; }
    .article-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .article-hero-title { font-size: 26px; }
    .rel-title { font-size: 18px; }
}
