/**
 * Blog & Single Post Styles
 *
 * @package AnilShop
 * @version 1.0
 */

/* ================================
   Single Post - Header
   ================================ */
.single-post__header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.single-post__header-bg {
    position: absolute;
    inset: 0;
}

.single-post__header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.single-post__header-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post__header-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 100px;
    max-width: 800px;
}

/* Breadcrumb */
.single-post__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}

.single-post__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.single-post__breadcrumb a:hover {
    color: #fff;
}

.single-post__breadcrumb i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Categories */
.single-post__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.single-post__category {
    display: inline-flex;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary, #8b5cf6), var(--color-secondary, #ec4899));
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post__category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Title */
.single-post__title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 24px;
}

/* Meta */
.single-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.single-post__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-post__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.single-post__author-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.single-post__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.single-post__meta-item i {
    font-size: 16px;
}

/* Wave */
.single-post__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    color: var(--color-background, #f8fafc);
}

.single-post__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ================================
   Single Post - Content
   ================================ */
.single-post__content {
    background: var(--color-background, #f8fafc);
    padding: 60px 0 80px;
}

.single-post__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* Main Content */
.single-post__main {
    min-width: 0;
}

.single-post__body {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 32px;
}

/* Typography */
.single-post__body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 32px 0 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.single-post__body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.single-post__body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 24px 0 12px;
}

.single-post__body h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark, #1e293b);
    margin: 20px 0 10px;
}

.single-post__body p {
    font-size: 15px;
    color: var(--color-text, #475569);
    line-height: 1.9;
    margin-bottom: 20px;
}

.single-post__body a {
    color: var(--color-primary, #8b5cf6);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.single-post__body a:hover {
    border-color: var(--color-primary, #8b5cf6);
}

.single-post__body ul,
.single-post__body ol {
    margin: 0 0 20px;
    padding-right: 24px;
}

.single-post__body li {
    font-size: 15px;
    color: var(--color-text, #475569);
    line-height: 1.8;
    margin-bottom: 10px;
}

.single-post__body blockquote {
    margin: 24px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(236, 72, 153, 0.03));
    border-radius: 16px;
    border-right: 4px solid var(--color-primary, #8b5cf6);
    font-size: 16px;
    font-style: italic;
    color: var(--color-text-dark, #1e293b);
}

.single-post__body blockquote p {
    margin: 0;
}

.single-post__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.single-post__body figure {
    margin: 24px 0;
}

.single-post__body figcaption {
    font-size: 13px;
    color: var(--color-text-light, #94a3b8);
    text-align: center;
    margin-top: 10px;
}

.single-post__body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 14px;
    margin: 20px 0;
}

.single-post__body code {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-primary, #8b5cf6);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.single-post__body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.single-post__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.single-post__body th,
.single-post__body td {
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: right;
}

.single-post__body th {
    background: rgba(139, 92, 246, 0.06);
    font-weight: 600;
}

/* Tags */
.single-post__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.single-post__tags-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark, #1e293b);
}

.single-post__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-post__tag {
    display: inline-flex;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--color-text, #64748b);
    background: #f1f5f9;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-post__tag:hover {
    background: var(--color-primary, #8b5cf6);
    color: #fff;
}

/* Share */
.single-post__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.single-post__share-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark, #1e293b);
}

.single-post__share-buttons {
    display: flex;
    gap: 8px;
}

.single-post__share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post__share-btn--twitter { background: #1DA1F2; }
.single-post__share-btn--facebook { background: #1877F2; }
.single-post__share-btn--linkedin { background: #0A66C2; }
.single-post__share-btn--telegram { background: #0088cc; }
.single-post__share-btn--whatsapp { background: #25D366; }

.single-post__share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Author Box */
.single-post__author-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.single-post__author-box-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid rgba(139, 92, 246, 0.1);
}

.single-post__author-box-content {
    flex: 1;
}

.single-post__author-box-label {
    font-size: 12px;
    color: var(--color-primary, #8b5cf6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-post__author-box-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 4px 0 8px;
}

.single-post__author-box-bio {
    font-size: 14px;
    color: var(--color-text, #64748b);
    line-height: 1.7;
    margin: 0;
}

/* Post Navigation */
.single-post__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.single-post__nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post__nav-item:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.single-post__nav-item--next {
    text-align: left;
}

.single-post__nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-primary, #8b5cf6);
    font-weight: 600;
}

.single-post__nav-item--next .single-post__nav-label {
    justify-content: flex-end;
}

.single-post__nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark, #1e293b);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================
   Comments Section - Modern Minimal
   ================================ */
.single-post__comments {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* Comments Title */
.single-post__comments .comments-title,
.single-post__comments #comments > h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.single-post__comments .comments-title::before,
.single-post__comments #comments > h2::before {
    content: '\e8cf';
    font-family: 'Phosphor';
    font-size: 22px;
    color: var(--color-primary, #8b5cf6);
}

/* Comments List */
.single-post__comments .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Single Comment */
.single-post__comments .comment {
    margin-bottom: 20px;
    padding: 0;
}

.single-post__comments .comment-body {
    position: relative;
    padding: 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.single-post__comments .comment-body:hover {
    border-color: rgba(139, 92, 246, 0.12);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.05);
}

/* Comment Author */
.single-post__comments .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.single-post__comments .comment-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.1);
}

.single-post__comments .comment-author .fn {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    text-decoration: none;
}

.single-post__comments .comment-author .fn a {
    color: inherit;
    text-decoration: none;
}

.single-post__comments .comment-author .says {
    display: none;
}

/* Comment Metadata */
.single-post__comments .comment-metadata {
    position: absolute;
    top: 20px;
    left: 20px;
}

.single-post__comments .comment-metadata a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--color-text-light, #94a3b8);
    text-decoration: none;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.single-post__comments .comment-metadata a::before {
    content: '\e4ac';
    font-family: 'Phosphor';
    font-size: 12px;
}

.single-post__comments .comment-metadata a:hover {
    background: rgba(139, 92, 246, 0.08);
    color: var(--color-primary, #8b5cf6);
}

.single-post__comments .comment-metadata .edit-link {
    margin-right: 8px;
}

/* Comment Content */
.single-post__comments .comment-content {
    margin-bottom: 12px;
}

.single-post__comments .comment-content p {
    margin: 0;
    font-size: 13px;
    color: var(--color-text, #64748b);
    line-height: 1.8;
}

.single-post__comments .comment-content p:not(:last-child) {
    margin-bottom: 10px;
}

/* Reply Link */
.single-post__comments .reply {
    margin-top: 12px;
}

.single-post__comments .reply .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary, #8b5cf6);
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.single-post__comments .reply .comment-reply-link::before {
    content: '\e5a0';
    font-family: 'Phosphor';
    font-size: 14px;
}

.single-post__comments .reply .comment-reply-link:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--color-secondary, #ec4899);
}

/* Nested Comments (Replies) */
.single-post__comments .children {
    list-style: none;
    margin: 16px 0 0 0;
    padding-right: 24px;
    border-right: 2px solid rgba(139, 92, 246, 0.1);
}

.single-post__comments .children .comment-body {
    background: #fff;
}

/* Awaiting Moderation */
.single-post__comments .comment-awaiting-moderation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.single-post__comments .comment-awaiting-moderation::before {
    content: '\e4d0';
    font-family: 'Phosphor';
    font-size: 14px;
}

/* No Comments Message */
.single-post__comments .no-comments {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-light, #94a3b8);
    font-size: 14px;
}

/* ================================
   Comment Form - Modern Design
   ================================ */
.single-post__comments #respond {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.single-post__comments .children #respond {
    margin-top: 20px;
    padding-top: 0;
    border-top: none;
}

.single-post__comments #reply-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 0 0 20px;
}

.single-post__comments #reply-title::before {
    content: '\e8a3';
    font-family: 'Phosphor';
    font-size: 20px;
    color: var(--color-primary, #8b5cf6);
}

.single-post__comments #reply-title small {
    display: none;
}

.single-post__comments #cancel-comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    text-decoration: none;
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.single-post__comments #cancel-comment-reply-link:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* Logged in as */
.single-post__comments .logged-in-as {
    font-size: 13px;
    color: var(--color-text, #64748b);
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.04);
    border-radius: 10px;
}

.single-post__comments .logged-in-as a {
    color: var(--color-primary, #8b5cf6);
    font-weight: 600;
    text-decoration: none;
}

/* Comment Form Fields */
.single-post__comments .comment-form {
    display: grid;
    gap: 16px;
}

.single-post__comments .comment-form p {
    margin: 0;
}

.single-post__comments .comment-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text, #64748b);
    margin-bottom: 6px;
}

.single-post__comments .comment-form .required {
    color: #ef4444;
}

.single-post__comments .comment-form input[type="text"],
.single-post__comments .comment-form input[type="email"],
.single-post__comments .comment-form input[type="url"],
.single-post__comments .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--color-text-dark, #1e293b);
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    transition: all 0.25s ease;
    font-family: inherit;
}

.single-post__comments .comment-form input[type="text"]:hover,
.single-post__comments .comment-form input[type="email"]:hover,
.single-post__comments .comment-form input[type="url"]:hover,
.single-post__comments .comment-form textarea:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
}

.single-post__comments .comment-form input:focus,
.single-post__comments .comment-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-primary, #8b5cf6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

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

/* Comment Notes */
.single-post__comments .comment-notes {
    font-size: 12px;
    color: var(--color-text-light, #94a3b8);
    margin-bottom: 8px;
}

/* Form Submit */
.single-post__comments .form-submit {
    margin-top: 8px;
}

.single-post__comments .form-submit .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary, #8b5cf6), var(--color-secondary, #ec4899));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
    font-family: inherit;
}

.single-post__comments .form-submit .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.single-post__comments .form-submit .submit:active {
    transform: translateY(0);
}

/* Cookies Consent */
.single-post__comments .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post__comments .comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary, #8b5cf6);
}

.single-post__comments .comment-form-cookies-consent label {
    font-size: 12px;
    color: var(--color-text-light, #94a3b8);
    margin: 0;
}

/* Comment Author Fields Grid */
.single-post__comments .comment-form-author,
.single-post__comments .comment-form-email,
.single-post__comments .comment-form-url {
    display: grid;
    gap: 4px;
}

@media (min-width: 768px) {
    .single-post__comments .comment-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .single-post__comments .comment-form-comment,
    .single-post__comments .comment-notes,
    .single-post__comments .comment-form-cookies-consent,
    .single-post__comments .form-submit,
    .single-post__comments .logged-in-as {
        grid-column: span 2;
    }
}

/* ================================
   Sidebar
   ================================ */
.single-post__sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.single-post__sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.single-post__sidebar-title i {
    color: var(--color-primary, #8b5cf6);
}

/* Related Posts */
.single-post__related {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.single-post__related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single-post__related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.single-post__related-item:hover {
    background: rgba(139, 92, 246, 0.04);
}

.single-post__related-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.single-post__related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post__related-placeholder {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #cbd5e1;
}

.single-post__related-content {
    flex: 1;
    min-width: 0;
}

.single-post__related-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-dark, #1e293b);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-post__related-date {
    font-size: 11px;
    color: var(--color-text-light, #94a3b8);
}

/* Widget */
.single-post__widget {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.single-post__categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-post__categories-list li {
    margin-bottom: 8px;
}

.single-post__categories-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-post__categories-list a:hover {
    background: rgba(139, 92, 246, 0.08);
}

.single-post__cat-name {
    font-size: 13px;
    color: var(--color-text-dark, #1e293b);
    font-weight: 500;
}

.single-post__cat-count {
    font-size: 11px;
    color: var(--color-text-light, #94a3b8);
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ================================
   Blog Archive
   ================================ */
.blog-archive__header {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.blog-archive__header-bg {
    position: absolute;
    inset: 0;
}

.blog-archive__header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.95) 0%,
        rgba(168, 85, 247, 0.9) 50%,
        rgba(217, 70, 239, 0.85) 100%
    );
}

.blog-archive__header-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.blog-archive__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.blog-archive__shape--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.blog-archive__shape--2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: 10%;
}

.blog-archive__header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 0 80px;
}

/* Breadcrumb */
.blog-archive__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
}

.blog-archive__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.blog-archive__breadcrumb a:hover {
    color: #fff;
}

.blog-archive__breadcrumb i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.blog-archive__breadcrumb span {
    color: #fff;
}

.blog-archive__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 32px;
    color: #fff;
}

.blog-archive__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.blog-archive__description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 16px;
    line-height: 1.7;
}

.blog-archive__count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
}

.blog-archive__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    color: var(--color-background, #f8fafc);
}

.blog-archive__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Archive Content */
.blog-archive__content {
    background: var(--color-background, #f8fafc);
    padding: 60px 0 80px;
}

.blog-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Archive Card */
.archive-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.12);
}

.archive-card__link {
    display: block;
    text-decoration: none;
}

.archive-card__image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

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

.archive-card:hover .archive-card__img {
    transform: scale(1.08);
}

.archive-card__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #cbd5e1;
}

.archive-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archive-card:hover .archive-card__overlay {
    opacity: 1;
}

.archive-card__content {
    padding: 20px;
}

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

.archive-card__category {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary, #8b5cf6);
    background: rgba(139, 92, 246, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

.archive-card__date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-light, #94a3b8);
}

.archive-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-card__excerpt {
    font-size: 13px;
    color: var(--color-text, #64748b);
    line-height: 1.7;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary, #8b5cf6);
    transition: gap 0.2s ease;
}

.archive-card:hover .archive-card__read-more {
    gap: 10px;
}

/* Pagination */
.blog-archive__pagination {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text, #64748b);
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pagination a:hover {
    background: var(--color-primary, #8b5cf6);
    color: #fff;
}

.pagination .current {
    background: linear-gradient(135deg, var(--color-primary, #8b5cf6), var(--color-secondary, #ec4899));
    color: #fff;
}

.pagination .prev,
.pagination .next {
    padding: 0;
    min-width: 40px;
}

/* Empty State */
.blog-archive__empty {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.blog-archive__empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    border-radius: 50%;
    font-size: 36px;
    color: var(--color-primary, #8b5cf6);
}

.blog-archive__empty-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark, #1e293b);
    margin: 0 0 10px;
}

.blog-archive__empty-text {
    font-size: 14px;
    color: var(--color-text, #64748b);
    margin: 0 0 24px;
}

.blog-archive__empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary, #8b5cf6), var(--color-secondary, #ec4899));
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-archive__empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

/* ================================
   Responsive - Tablet
   ================================ */
@media (max-width: 1023px) {
    .single-post__layout {
        grid-template-columns: 1fr;
    }
    
    .single-post__sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .single-post__title {
        font-size: 28px;
    }
    
    .blog-archive__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Comments - Tablet */
    .single-post__comments {
        padding: 24px;
        border-radius: 14px;
    }
    
    .single-post__comments .comments-title,
    .single-post__comments #comments > h2 {
        font-size: 16px;
        margin-bottom: 20px;
        padding-bottom: 14px;
    }
    
    .single-post__comments .comment-body {
        padding: 16px;
    }
    
    .single-post__comments .children {
        padding-right: 16px;
    }
}

/* ================================
   Responsive - Mobile
   ================================ */
@media (max-width: 767px) {
    .single-post__header {
        min-height: 350px;
    }
    
    .single-post__header-content {
        padding: 40px 0 80px;
    }
    
    .single-post__breadcrumb {
        font-size: 11px;
    }
    
    .single-post__title {
        font-size: 22px;
    }
    
    .single-post__meta {
        gap: 12px;
    }
    
    .single-post__meta-item {
        font-size: 11px;
    }
    
    .single-post__content {
        padding: 40px 0 60px;
    }
    
    .single-post__body {
        padding: 24px;
        border-radius: 16px;
    }
    
    .single-post__body h2 { font-size: 20px; }
    .single-post__body h3 { font-size: 18px; }
    .single-post__body h4 { font-size: 16px; }
    .single-post__body p { font-size: 14px; }
    .single-post__body li { font-size: 14px; }
    
    .single-post__sidebar {
        grid-template-columns: 1fr;
    }
    
    .single-post__nav {
        grid-template-columns: 1fr;
    }
    
    .single-post__nav-item--next {
        text-align: right;
    }
    
    .single-post__nav-item--next .single-post__nav-label {
        justify-content: flex-start;
    }
    
    .single-post__author-box {
        flex-direction: column;
        text-align: center;
    }
    
    /* Comments - Mobile */
    .single-post__comments {
        padding: 20px;
        border-radius: 12px;
    }
    
    .single-post__comments .comments-title,
    .single-post__comments #comments > h2 {
        font-size: 15px;
        margin-bottom: 16px;
        padding-bottom: 12px;
        gap: 8px;
    }
    
    .single-post__comments .comments-title::before,
    .single-post__comments #comments > h2::before {
        font-size: 18px;
    }
    
    .single-post__comments .comment-body {
        padding: 14px;
        border-radius: 12px;
    }
    
    .single-post__comments .comment-author .avatar {
        width: 38px;
        height: 38px;
    }
    
    .single-post__comments .comment-author .fn {
        font-size: 13px;
    }
    
    .single-post__comments .comment-metadata {
        position: static;
        margin-top: -4px;
        margin-bottom: 10px;
    }
    
    .single-post__comments .comment-metadata a {
        font-size: 10px;
    }
    
    .single-post__comments .comment-content p {
        font-size: 12px;
    }
    
    .single-post__comments .reply .comment-reply-link {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .single-post__comments .children {
        padding-right: 12px;
        margin-top: 12px;
    }
    
    .single-post__comments #respond {
        margin-top: 24px;
        padding-top: 20px;
    }
    
    .single-post__comments #reply-title {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .single-post__comments #reply-title::before {
        font-size: 16px;
    }
    
    .single-post__comments .comment-form input[type="text"],
    .single-post__comments .comment-form input[type="email"],
    .single-post__comments .comment-form input[type="url"],
    .single-post__comments .comment-form textarea {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .single-post__comments .comment-form textarea {
        min-height: 100px;
    }
    
    .single-post__comments .comment-form label {
        font-size: 11px;
    }
    
    .single-post__comments .form-submit .submit {
        width: 100%;
        padding: 11px 20px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .blog-archive__header-content {
        padding: 40px 0 60px;
    }
    
    .blog-archive__icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .blog-archive__title {
        font-size: 24px;
    }
    
    .blog-archive__description {
        font-size: 13px;
    }
    
    .blog-archive__content {
        padding: 40px 0 60px;
    }
    
    .blog-archive__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .archive-card__content {
        padding: 16px;
    }
    
    .archive-card__title {
        font-size: 15px;
    }
}

/* ================================
   Responsive - Small Mobile
   ================================ */
@media (max-width: 479px) {
    .single-post__header {
        min-height: 300px;
    }
    
    .single-post__title {
        font-size: 20px;
    }
    
    .single-post__body {
        padding: 20px;
        border-radius: 14px;
    }
    
    .single-post__share-buttons {
        flex-wrap: wrap;
    }
    
    .single-post__share-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .blog-archive__title {
        font-size: 20px;
    }
    
    .archive-card__image {
        padding-top: 55%;
    }
    
    /* Comments - Small Mobile */
    .single-post__comments {
        padding: 16px;
        border-radius: 10px;
    }
    
    .single-post__comments .comments-title,
    .single-post__comments #comments > h2 {
        font-size: 14px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    
    .single-post__comments .comment {
        margin-bottom: 14px;
    }
    
    .single-post__comments .comment-body {
        padding: 12px;
        border-radius: 10px;
    }
    
    .single-post__comments .comment-author {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .single-post__comments .comment-author .avatar {
        width: 34px;
        height: 34px;
    }
    
    .single-post__comments .comment-author .fn {
        font-size: 12px;
    }
    
    .single-post__comments .comment-content p {
        font-size: 11px;
        line-height: 1.7;
    }
    
    .single-post__comments .reply .comment-reply-link {
        font-size: 10px;
        padding: 4px 10px;
        border-radius: 6px;
    }
    
    .single-post__comments .children {
        padding-right: 10px;
        margin-top: 10px;
    }
    
    .single-post__comments #respond {
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .single-post__comments #reply-title {
        font-size: 13px;
        margin-bottom: 14px;
        gap: 6px;
    }
    
    .single-post__comments #reply-title::before {
        font-size: 14px;
    }
    
    .single-post__comments .comment-form {
        gap: 12px;
    }
    
    .single-post__comments .comment-form input[type="text"],
    .single-post__comments .comment-form input[type="email"],
    .single-post__comments .comment-form input[type="url"],
    .single-post__comments .comment-form textarea {
        padding: 9px 12px;
        font-size: 11px;
    }
    
    .single-post__comments .comment-form textarea {
        min-height: 80px;
    }
    
    .single-post__comments .comment-form label {
        font-size: 10px;
    }
    
    .single-post__comments .form-submit .submit {
        padding: 10px 18px;
        font-size: 12px;
    }
    
    .single-post__comments .comment-form-cookies-consent label {
        font-size: 10px;
    }
}
