.home-blog-empty {
    text-align: center;
    color: #999;
    grid-column: 1 / -1;
    padding: 2rem 0;
}

.page-blog-archive {
    background-color: var(--bg-light, #FAF4E8);
}

.blog-hub-section {
    padding: 2rem 2rem 8rem 2rem;
    position: relative;
    z-index: 2;
}

.blog-grid-container {
    display: grid ;
    grid-template-columns: repeat(3, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important; 
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.blog-hero {
    min-height: auto;
    padding: 160px 2rem 60px 2rem;
    position: relative;
    text-align: center;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-bg {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 150vw;
    background: radial-gradient(circle, rgba(254, 216, 77, 0.15) 0%, rgba(250, 244, 232, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.blog-kicker {
    display: inline-block;
    background: rgba(254, 216, 77, 0.2);
    color: #d97706; 
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.blog-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color, #232E2A);
    font-family: 'Otomanopee One Regular', sans-serif;
    line-height: 1.1;
}

.blog-hero-desc {
    font-family: 'Gaegu', sans-serif;
    font-size: 1.5rem;
    color: #475569;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem; 
    display: flex;
    flex-direction: column;
    height: 100%; 
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-width: 0; 
    width: 100% !important; 
    box-sizing: border-box !important;
    margin: 0 !important; 
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* --- Image Wrapper --- */
.blog-card-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 8px; 
    background-color: #f1f5f9;
    overflow: hidden;
    margin-bottom: 1.25rem;
    flex-shrink: 0; 
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}
/* --- Content & Typography --- */
.blog-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    min-width: 0; 
}

.blog-meta {
    display: flex;
    align-items: center;
	justify-content: space-between;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.85rem;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;/
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal; 
	white-space: nowrap;
}

.blog-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;     
    transition: color 0.2s ease;
	border-radius: 50px;
	margin: 0 auto;
	padding: 0.5rem 1rem;
	background: #232e2a;
	color: var(--accent-yellow);
}

.read-more-link i {
    transition: transform 0.2s ease;
}
.blog-card:hover .read-more-link {
    color: var(--accent-yellow);
}

.blog-card:hover .read-more-link i {
    transform: translate(2px, -2px);
}

.featured-blog-card {
    grid-column: 1 / -1;
    flex-direction: row; 
    gap: 2rem;
    padding: 1.5rem; 
    align-items: center;
}

.featured-blog-card .blog-card-img-wrap {
    flex: 0 0 calc(50% - 1rem); 
    max-width: calc(50% - 1rem);
    aspect-ratio: 16/10; 
    margin-bottom: 0;
}

.featured-blog-card .blog-card-content {
    flex: 1; 
    justify-content: center;
    padding: 0 1rem;
}

.featured-blog-card .blog-title {
    font-size: 2rem;
    -webkit-line-clamp: 2;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4rem;
    grid-column: 1 / -1;
}

.pagination-btn {
    font-family: 'Inter', sans-serif;
    padding: 0.5rem 1.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: var(--accent-yellow, #FED84D);
    border-color: var(--accent-yellow, #FED84D);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-num {
    font-family: 'Inter', sans-serif;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination-num:hover {
    background: #e2e8f0;
}

.pagination-num.active {
    background: #0f172a;
    color: #ffffff;
}

.blog-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 0;
    font-family: 'Gaegu', sans-serif;
    color: #64748b;
}

.blog-pagination {
    grid-column: 1 / -1; /
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-bottom: 2rem;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-num {
    font-family: 'Inter', sans-serif;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #232e2a; 
    color: #232e2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.pagination-num.active {
    background-color: #232e2a;
    color: #ffffff;
    border-color: #232e2a;
}

.pagination-num:hover:not(.active) {
    background-color: #f1f5f9; 
}

.pagination-btn {
    font-family: 'Inter', sans-serif;
    padding: 0 1.5rem;
    height: 40px; 
    border: 1px solid #232e2a;
    border-radius: 50px;
    color: #232e2a;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background-color: #232e2a;
    color: var(--accent-yellow);
}
/* =========================================
   4. SINGLE POST HEADER & LAYOUT
========================================= */
.post-not-found {
    text-align: center;
    padding: 100px 20px;
    font-family: 'Inter', sans-serif;
}

.single-post-header {
    padding: 140px 2rem 4rem 2rem;
    text-align: center;
}

.single-post-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.single-tag-spacing {
    margin-bottom: 1.5rem;
	background: #232e2a;
    padding: 0.5rem 1rem;
    color: var(--accent-yellow);
    border-radius: 50px;
}

.single-post-title {
    font-family: 'Otomanopee One Regular', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-color, #232E2A);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.single-author-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.single-author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.single-author-name {
    font-family: 'Gaegu', cursive;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color, #232E2A);
}

.meta-divider {
    color: #cbd5e1;
}

.single-meta-text {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    font-size: 1rem;
}

.single-post-body {
    padding: 0 2rem 6rem;
}

.post-featured-wrapper {
    margin-bottom: 4rem;
    margin-top: -2rem; 
    position: relative;
    z-index: 5;
}

.post-featured-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: block;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.secondary-tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

/* =========================================
   5. ARTICLE RICH TEXT RENDERING (.post-content)
========================================= */
.post-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155; 
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4 {
    font-family: 'Otomanopee One Regular', sans-serif;
    color: var(--primary-color, #232E2A);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.post-content blockquote {
    background: rgba(254, 216, 77, 0.15);
    border-left: 4px solid var(--accent-yellow, #FED84D);
    padding: 2rem 2.5rem;
    border-radius: 0 16px 16px 0;
    margin: 2.5rem 0;
    font-family: 'Gaegu', cursive;
    font-size: 1.6rem;
    color: var(--primary-color, #232E2A);
    line-height: 1.5;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* =========================================
   6. COMMENTS & DISCUSSIONS UI
========================================= */
.comments-area {
    margin-top: 5rem;
}

.comments-title {
    font-family: 'Otomanopee One Regular', sans-serif;
    color: var(--primary-color, #232E2A);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.alert-success-custom {
    background: #dcfce7;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.no-comments-text {
    color: #64748b;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

.comment-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.comment-author-name {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
}

.comment-date {
    color: #64748b;
    font-family: 'Inter', sans-serif;
}

.comment-message {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

.reply-icon-btn {
    color: var(--primary-color, #232E2A);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease;
}

.reply-icon-btn:hover {
    color: var(--accent-yellow, #d97706);
}

.replies-list {
    margin-top: 1.5rem;
    padding-left: 2rem;
    border-left: 2px solid #e2e8f0;
}

.reply-item {
    margin-bottom: 1rem;
}

.reply-author-name {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.reply-date {
    font-weight: normal;
    color: #64748b;
    font-size: 0.8rem;
    margin-left: 10px;
}

.reply-message {
    color: #475569;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

/* =========================================
   7. COMMENT & OTP FORMS
========================================= */
.leave-reply-area {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    margin-top: 4rem;
}

.leave-reply-title {
    font-family: 'Otomanopee One Regular', sans-serif;
    color: var(--primary-color, #232E2A);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.leave-reply-sub {
    color: #64748b;
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.otp-input-group {
    display: flex;
    gap: 10px;
}

.form-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease;
}

.form-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.form-textarea-main {
    margin-bottom: 1.5rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color, #232E2A);
}

.reply-form-container {
    display: none;
    margin-top: 1.5rem;
}

.btn-solid-primary {
    background: var(--primary-color, #232E2A);
    color: #ffffff;
    cursor: pointer;
    border: 1px solid var(--primary-color, #232E2A);
}

.btn-solid-primary:hover {
    background: var(--accent-yellow, #FED84D);
    color: #111111;
    border-color: var(--accent-yellow, #FED84D);
}

.btn-otp {
    background: #f1f5f9;
    cursor: pointer;
    white-space: nowrap;
    border-color: #e2e8f0;
}

.btn-otp:hover:not(:disabled) {
    background: #e2e8f0;
}

.btn-otp:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-verified {
    background: #dcfce7 !important;
    color: #065f46 !important;
    border-color: #dcfce7 !important;
}

.btn-submit-comment {
    background: var(--primary-color, #232E2A);
    color: #fff;
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem;
    cursor: pointer;
    height: auto;
}

.btn-submit-comment:disabled {
    background: #94a3b8;
    border-color: #94a3b8;
    cursor: not-allowed;
}
@media (max-width: 1024px) {
    .blog-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2rem !important; 
    }

    .featured-blog-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .featured-blog-card .blog-card-img-wrap {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 16/9; 
    }
    
    .featured-blog-card .blog-card-content {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .blog-grid-container {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.5rem !important; 
    }

    .featured-blog-card .blog-title {
        font-size: 1.5rem;
        -webkit-line-clamp: 3; 
    }

    .blog-hero {
        padding: 120px 1.5rem 3rem 1.5rem;
    }
    
    .blog-hero-title {
        font-size: 2.25rem; 
    }
    
    .blog-hero-subtitle {
        font-size: 1.15rem;
    }

    .blog-pagination {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
	.blog-pagination {
        gap: 0.75rem;
        margin-top: 2rem;
    }
    .pagination-num {
        width: 36px;
        height: 36px;
    }
    .pagination-btn {
        height: 36px;
        padding: 0 1.25rem;
    }
	/* Single Post Fixes */
    .single-post-header {
        padding: 120px 1.5rem 3rem;
    }
    .single-post-body {
        padding: 0 1.5rem 6rem;
    }
    .post-content {
        font-size: 1.05rem;
    }
    .post-content h2 {
        font-size: 1.75rem;
        margin-top: 2.5rem;
    }
    .post-content blockquote {
        font-size: 1.3rem;
        padding: 1.5rem;
    }
    
    /* Comments Fixes */
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .leave-reply-area {
        padding: 2rem 1.5rem;
    }
    .comment-item {
        padding: 1.5rem;
    }
}