/* ── Blog Styles ── */

/* Align blog containers with header/footer width */
.blog-page-header .container,
.blog-content-section .container,
.single-content-section .container,
.single-after-section .container {
    max-width: 1350px;
}

/* ── Page Header ── */
.blog-page-header {
    padding: 36px 0 32px;
    text-align: center;
    background: var(--shop-zen-cream, #F9F7F2);
    border-bottom: 1px solid var(--shop-zen-border, #E5E7EB);
    font-family: var(--font-display);
}


.blog-page-breadcrumb {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--brand-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

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

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

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

.blog-page-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    color: var(--shop-zen-primary, #3A5F3F);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-page-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--shop-zen-primary-light, #4A6B3F);
}

.blog-page-title {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    line-height: 1.1;
    color: #1A202C;
}

.blog-page-subtitle {
    font-size: 14px;
    color: var(--brand-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
}

/* ── Blog Content Section ── */
.blog-content-section {
    padding: 32px 0 60px;
    background: #fff;
    font-family: var(--font-display);
}


/* ── Featured Post ── */
.featured-post {
    position: relative;
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    text-decoration: none;
    color: inherit;
}

.featured-post:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.featured-post-media {
    overflow: hidden;
    min-height: 240px;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    aspect-ratio: 16 / 10;
}

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

.featured-image-placeholder {
    background: var(--shop-zen-sage-light, #E9EFE9);
    height: 100%;
    min-height: 240px;
}

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

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

.featured-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #fff;
    background: var(--shop-zen-primary, #3A5F3F);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.featured-title {
    font-size: clamp(22px, 2.5vw, 26px);
    font-weight: 800;
    color: #1A202C;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.featured-excerpt {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
    margin: 0 0 16px;
}

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

.featured-read {
    align-self: flex-start;
    font-weight: 700;
    color: #1F2937;
    font-size: 13px;
    border-bottom: 2px solid #D1D5DB;
    padding-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: border-color var(--transition-fast);
}

.featured-post:hover .featured-read {
    border-color: var(--shop-zen-dark, #1E3F2A);
}


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


/* ── Blog Card ── */
.blog-card {
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
    color: inherit;
    display: block;
    opacity: 0;
    transform: translateY(24px);
    animation: blogCardFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes blogCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--shop-zen-sage-light, #E9EFE9);
    transition: transform 0.7s ease;
    display: block;
}

.blog-card-image-placeholder {
    aspect-ratio: 16 / 10;
    background: var(--shop-zen-sage-light, #E9EFE9);
}

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

.blog-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1F2937;
    background: #fff;
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    font-weight: 700;
}

.blog-card-body {
    padding: 16px;
}

.blog-card-meta {
    font-size: 12px;
    color: var(--brand-muted);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 500;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
    transition: color var(--transition-fast);
    line-height: 1.3;
    color: #1A202C;
}

.blog-card:hover .blog-card-title {
    color: var(--shop-zen-primary-light, #4A6B3F);
}

.blog-card-excerpt {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read {
    font-size: 12px;
    font-weight: 700;
    color: var(--shop-zen-primary, #3A5F3F);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

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

nav.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    padding: 0;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-display);
}

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

span.page-numbers.current {
    background: var(--shop-zen-dark, #1E3F2A);
    color: #fff;
    border-color: var(--shop-zen-dark, #1E3F2A);
    font-weight: 700;
}

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: 100%;
    margin: 0 0 24px;
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    background: var(--brand-bg);
    border: 1px solid var(--shop-zen-border, #E5E7EB);
}

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


/* ── Article Container ── */
.article-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 60px;
    font-family: var(--font-display);
}


/* ── Article Breadcrumb ── */
.article-breadcrumb {
    font-family: var(--font-display);
    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(30px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 14px;
    color: #1A202C;
}

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

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1F2937;
    font-weight: 600;
}

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

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

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

.article-meta-date,
.article-meta-read {
    font-size: 13px;
    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: 16px;
    line-height: 1.75;
    color: #374151;
    font-weight: 500;
}

.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(--shop-zen-dark, #1E3F2A);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 28px 0 14px;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 26px 0 12px;
}

.article-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 10px;
}

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

.article-body a {
    color: var(--shop-zen-primary, #3A5F3F);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.article-body a:hover {
    color: var(--shop-zen-primary-light, #4A6B3F);
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-md, 10px);
    margin: 20px 0;
    display: block;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
}

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

.article-body blockquote {
    border-left: 3px solid var(--shop-zen-primary, #3A5F3F);
    padding: 16px 18px;
    margin: 20px 0;
    font-style: italic;
    font-family: var(--font-display);
    font-size: 15px;
    color: #1F2937;
    background: var(--shop-zen-sage-light, #E9EFE9);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
    font-weight: 500;
}

.article-body blockquote p {
    margin: 0;
    color: #1F2937;
    font-style: italic;
}

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

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

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

.article-body li {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
    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: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    border: none;
}

.article-share-row span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #1F2937;
    font-weight: 700;
}

.share-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    color: #4B5563;
    text-decoration: none;
    font-size: 13px;
    transition: background var(--transition-fast), color var(--transition-fast);
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-pill svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.share-pill:hover {
    background: var(--shop-zen-sage-light, #E9EFE9);
    color: var(--shop-zen-dark, #1E3F2A);
}

/* ── Single Post Layout ── */
/* Note: .single-breadcrumb-bar styles live in main.css (shared across inner pages) */

.single-content-section {
    padding: 32px 0 48px;
    background: #fff;
    font-family: var(--font-display);
}

.single-after-section {
    background: #fff;
    padding-bottom: 0;
    font-family: var(--font-display);
}

.single-after-section:last-of-type {
    padding-bottom: 60px;
}

.article-single {
    min-width: 0;
}

.article-head {
    margin-bottom: 16px;
}

.article-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.article-category-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--shop-zen-mint, #E6F3EC);
    color: var(--shop-zen-primary, #3A5F3F);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid #C8E6D5;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.article-category-pill:hover {
    background: var(--shop-zen-sage-light, #E9EFE9);
    color: #374151;
    border-color: #D1E7D6;
}

.article-body {
    margin-bottom: 0;
}

/* Footer Row (Share + Tags) */
.article-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--shop-zen-border, #E5E7EB);
    border-bottom: 1px solid var(--shop-zen-border, #E5E7EB);
    margin: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.article-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.article-tag {
    font-size: 12px;
    padding: 4px 10px;
    background: #F9FAFB;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    border-radius: var(--radius-full);
    color: var(--brand-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.article-tag:hover {
    background: var(--shop-zen-sage-light, #E9EFE9);
    color: var(--shop-zen-dark, #1E3F2A);
}

/* Author Box */
.article-author-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--shop-zen-cream, #F9F7F2);
    border-radius: var(--radius-lg, 14px);
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    margin-bottom: 0;
}

.article-author-box-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.article-author-box-body {
    min-width: 0;
}

.article-author-box-name {
    font-size: 16px;
    font-family: var(--font-display);
    font-weight: 800;
    margin: 0 0 4px;
    color: #1A202C;
}

.article-author-box-meta {
    font-size: 13px;
    color: var(--brand-muted);
    margin: 0 0 8px;
}

.article-author-box-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
    margin: 0;
}

/* ── Comments Section ── */
.article-comments-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 24px;
    background: #fff;
}

.article-comments-container .comments-inner {
    max-width: 100%;
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

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

.comments-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.comments-count {
    font-size: 12px;
    color: var(--brand-accent-warm);
    font-weight: 700;
    background: var(--brand-bg-secondary);
    border: 1px solid var(--brand-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

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

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

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

.comment-form-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--brand-bg-secondary);
    border: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent-warm);
    flex-shrink: 0;
}

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

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

.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: 700;
    color: var(--brand-dark);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.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-text);
    background: var(--brand-card);
    font-family: var(--font-sans);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.comment-form-input:focus,
.comment-form-textarea:focus {
    border-color: var(--brand-accent-warm);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 151, 126, 0.15);
}

.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: 11px 24px;
    border-radius: var(--radius-full);
    background: var(--brand-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--brand-dark);
    cursor: pointer;
    font-family: var(--font-display);
    transition: background var(--transition-fast), border-color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.comment-form-actions button[type="submit"]:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
}

.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: var(--brand-bg-secondary);
    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-display);
}

.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-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: none;
}

.comment-reply-link svg {
    flex-shrink: 0;
}

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

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

.comment-item.depth-2,
.comment-item.depth-3,
.comment-item.depth-4,
.comment-item.depth-5 {
    margin: 16px 0 0 32px;
    padding: 16px 0 0 24px;
    border-left: 2px solid var(--brand-border-light);
    border-bottom: none;
}

.comment-item.depth-2:last-child,
.comment-item.depth-3:last-child,
.comment-item.depth-4:last-child,
.comment-item.depth-5:last-child {
    padding-bottom: 0;
}

.comment-list-wrapper > .comment-item:last-child {
    border-bottom: none;
    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 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 48px;
}

.related-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin: 32px 0 32px;
    letter-spacing: -0.02em;
    text-align: center;
    color: #1A202C;
    position: relative;
    display: block;
    padding: 0 26px;
}

.related-title::before,
.related-title::after {
    content: '\2022\2022\2022';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--shop-zen-primary, #3A5F3F);
    opacity: 0.35;
    font-weight: 900;
}

.related-title::before {
    left: 0;
}

.related-title::after {
    right: 0;
}

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


.related-card {
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    display: block;
}

.related-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.related-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

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

.related-card-category {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--shop-zen-primary, #3A5F3F);
    background: var(--shop-zen-mint, #E6F3EC);
    border: 1px solid #C8E6D5;
    border-radius: var(--radius-full);
    font-weight: 700;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.related-card-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #1A202C;
    transition: color var(--transition-fast);
}

.related-card:hover .related-card-title {
    color: var(--shop-zen-primary-light, #4A6B3F);
}

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

/* ── 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;
    font-family: var(--font-display);
}

.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);
    font-family: var(--font-display);
}


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

.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;
    font-family: var(--font-display);
}


.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);
    font-family: var(--font-display);
}

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

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

/* ── Sidebar (legacy) ── */
.sidebar {
    display: block;
    position: sticky;
    top: 88px;
    align-self: start;
    font-family: var(--font-display);
}


.sidebar-block {
    background: #fff;
    border-radius: var(--radius-md, 12px);
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

.sidebar-block-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: #1A202C;
    margin: 0 0 12px;
    padding-bottom: 0;
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

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

.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-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-display);
    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: 8px 0;
    border-bottom: 1px solid #F3F4F6;
}

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

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

.sidebar-cat-item a:hover {
    color: var(--shop-zen-dark, #1E3F2A);
}

.cat-count {
    font-size: 13px;
    color: var(--brand-muted);
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Popular Posts */
.popular-post {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
}

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

.popular-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--shop-zen-sage-light, #E9EFE9);
}

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

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

.popular-info a,
.popular-post a {
    text-decoration: none;
}

.pop-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--shop-zen-primary, #3A5F3F);
    margin-bottom: 3px;
}

.popular-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1A202C;
    margin: 0 0 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-info h4 a {
    color: #1A202C;
    transition: color var(--transition-fast);
}

.popular-info h4 a:hover {
    color: var(--shop-zen-primary-light, #4A6B3F);
}

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

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

.tag-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--shop-zen-border, #E5E7EB);
    font-size: 12px;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    background: #fff;
    cursor: pointer;
    font-family: var(--font-display);
    text-decoration: none;
}

.tag-pill:hover,
.tag-pill.active {
    border-color: var(--shop-zen-primary, #3A5F3F);
    color: var(--shop-zen-primary, #3A5F3F);
    background: var(--shop-zen-sage-light, #E9EFE9);
}

/* ── Legacy Layout── */
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}


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

.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-page-header {
        padding: 48px 0 44px;
    }

    .blog-content-section {
        padding: 32px 0 80px;
    }

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

    .sidebar {
        display: block;
    }

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

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

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

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

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

    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .featured-content {
        padding: 20px;
    }

    .article-hero img {
        height: 280px;
    }

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

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

    .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: 28px 0 24px;
    }

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

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

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

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

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

    .comment-item.depth-2,
    .comment-item.depth-3,
    .comment-item.depth-4,
    .comment-item.depth-5 {
        margin-left: 16px;
        padding-left: 16px;
    }
}

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

    .featured-image,
    .featured-image-placeholder {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

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

@media (max-width: 480px) {
    .featured-image,
    .featured-image-placeholder {
        height: auto;
    }

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

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

    .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-post-image {
        min-height: 400px;
    }

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