/* ═══════════════════════════════════════════════════════
   BEAUTY & COSMETICS THEME - MOBILE FIRST
   Colors: Rose Gold, Soft Pink, Champagne, Pearl White
   ═══════════════════════════════════════════════════════ */

:root {
    --beauty-rose-gold: #D4AF7A;
    --beauty-soft-pink: #FFB6C1;
    --beauty-champagne: #F7E7CE;
    --beauty-pearl: #FFF5F7;
    --beauty-deep-rose: #C9748C;
    --beauty-text: #4A4A4A;
    --beauty-light-text: #8B8B8B;
}

/* ═══════════════════════════════════════════════════════
     BREADCRUMB
     ═══════════════════════════════════════════════════════ */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #FFF5F7 0%, #F7E7CE 100%);
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #C9748C;
}

.breadcrumb-item a {
    color: #D4AF7A;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #FFB6C1;
}

.breadcrumb-item.active {
    color: #C9748C;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #D4AF7A;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .breadcrumb {
        padding: 1.25rem 1.5rem;
        font-size: 0.9375rem;
        margin-top: 15px;
    }
}

/* ═══════════════════════════════════════════════════════
     POST HEADER
     ═══════════════════════════════════════════════════════ */

.post-header {
    direction: rtl;
    margin-bottom: 1.5rem;
}

.post-category-badge .badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--beauty-soft-pink) 0%, var(--beauty-deep-rose) 100%);
    color: #fff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--main-font-family);
    transition: all 0.4s ease;
    box-shadow: 0 3px 12px rgba(255, 182, 193, 0.3);
}

.post-category-badge .badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 182, 193, 0.5);
}

.post-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--beauty-text);
    margin-bottom: 0.75rem;
    font-family: var(--main-font-family);
}

.post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--beauty-light-text);
    margin-bottom: 1rem;
    font-family: var(--main-font-family);
}

.post-meta-bar {
    background: linear-gradient(135deg, var(--beauty-pearl) 0%, rgba(255, 245, 247, 0.5) 100%);
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
    border: 1px solid rgba(212, 175, 122, 0.15);
    box-shadow: 0 2px 12px rgba(212, 175, 122, 0.08);
    flex-direction: column;
    align-items: flex-start !important;
}

.post-authors {
    gap: 8px;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 122, 0.15);
}

.author-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid var(--beauty-rose-gold);
    transition: transform 0.3s ease;
}

.author-avatar svg{
    width: 100%;
    height: 100%;
}

.author-avatar:hover {
    transform: scale(1.15);
}

.author-name {
    color: var(--beauty-text);
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s ease;
}

.author-name:hover {
    color: var(--beauty-deep-rose);
}

.post-date,
.post-modified,
.reading-time,
.post-comments-count,
.post-comments-count a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--beauty-light-text);
    font-family: var(--main-font-family);
    width: 100%;
}

.post-date svg,
.post-modified svg,
.reading-time svg,
.post-comments-count svg {
    color: var(--beauty-rose-gold);
    opacity: 0.8;
    width: 14px;
    height: 14px;
}

.meta-divider {
    display: none !important;
}

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

    .post-meta-bar {
        flex-direction: row;
        align-items: center !important;
        padding: 14px 16px;
    }

    .post-authors {
        width: auto;
        padding-bottom: 0;
        border-bottom: none;
    }

    .author-avatar {
        width: 36px;
        height: 36px;
    }

    .author-name {
        font-size: 14px;
    }

    .post-date,
    .post-modified,
    .reading-time,
    .post-comments-count {
        width: auto;
        font-size: 13px;
    }

    .meta-divider {
        display: inline !important;
        color: rgba(212, 175, 122, 0.3);
    }
}

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

    .post-excerpt {
        font-size: 17px;
    }

    .post-meta-bar {
        padding: 16px 20px;
    }
}

/* ═══════════════════════════════════════════════════════
     FEATURED IMAGE
     ═══════════════════════════════════════════════════════ */

.post-featured-image {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(212, 175, 122, 0.2);
    background: linear-gradient(135deg, var(--beauty-pearl) 0%, var(--beauty-champagne) 100%);
    padding: 6px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-featured-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(212, 175, 122, 0.35);
}

.post-featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.post-featured-image:hover::before {
    opacity: 0.08;
}

.post-featured-image img {
    border-radius: 16px;
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

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

.figure-caption {
    font-size: 12px;
    color: var(--beauty-light-text);
    font-family: var(--main-font-family);
    font-style: italic;
    padding: 6px 10px;
    background: rgba(247, 231, 206, 0.3);
    border-radius: 8px;
    margin-top: 10px;
    direction: rtl;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .post-featured-image {
        margin-bottom: 2rem;
        border-radius: 24px;
        padding: 8px;
    }

    .post-featured-image img {
        border-radius: 18px;
    }

    .figure-caption {
        font-size: 13px;
        padding: 8px 14px;
    }
}

@media (min-width: 1024px) {
    .post-featured-image {
        margin-bottom: 2.5rem;
    }

    .figure-caption {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* ═══════════════════════════════════════════════════════
     SOCIAL SHARE
     ═══════════════════════════════════════════════════════ */

.social-share {
    margin: 0 0 1.5rem;
    position: sticky;
    top: 80px;
    z-index: 10;
}

.social-share__container {
    background: linear-gradient(135deg, #fff 0%, var(--beauty-pearl) 100%);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(212, 175, 122, 0.15);
    border: 1px solid rgba(212, 175, 122, 0.2);
}

.social-share__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--beauty-text);
    font-family: var(--main-font-family);
    white-space: nowrap;
}

.social-share__buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-btn:hover::before {
    opacity: 0.15;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
}

.social-btn:active {
    transform: scale(0.95);
}

.social-btn--telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(0, 136, 204, 0.3);
}

.social-btn--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
}

.social-btn--copy {
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-deep-rose) 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(212, 175, 122, 0.3);
}

@media (min-width: 768px) {
    .social-share__container {
        padding: 0.625rem 1.25rem;
    }

    .social-btn {
        width: 42px;
        height: 42px;
    }
}

/* ═══════════════════════════════════════════════════════
     TABLE OF CONTENTS
     ═══════════════════════════════════════════════════════ */

.toc {
    background: linear-gradient(135deg, var(--beauty-pearl) 0%, rgba(255, 245, 247, 0.6) 100%);
    border-radius: 20px;
    padding: 1.25rem;
    margin: 0 0 1.5rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 4px 20px rgba(212, 175, 122, 0.12);
}

.toc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
}

.toc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.toc__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--beauty-text);
    font-family: var(--main-font-family);
    margin: 0;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-deep-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.toc__toggle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: none;
    background: rgba(212, 175, 122, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.toc__toggle:hover {
    background: rgba(212, 175, 122, 0.2);
    transform: scale(1.05);
}

.toc__toggle[aria-expanded="false"] .toc__icon {
    transform: rotate(180deg);
}

.toc__icon {
    transition: transform 0.3s;
    color: var(--beauty-rose-gold);
}

.toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.toc__toggle[aria-expanded="false"]+.toc__list {
    display: none;
}

.toc__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    position: relative;
    border-radius: 12px;
    text-decoration: none;
    color: var(--beauty-text);
    font-family: var(--main-font-family);
    font-size: 0.9375rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.6);
}

.toc__link:hover {
    background: linear-gradient(135deg, rgba(212, 175, 122, 0.15) 0%, rgba(255, 182, 193, 0.15) 100%);
    transform: translateX(-6px);
    box-shadow: 0 3px 15px rgba(212, 175, 122, 0.15);
}

.toc__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(212, 175, 122, 0.3);
}

@media (min-width: 768px) {
    .toc {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .toc__title {
        font-size: 1.25rem;
    }

    .toc__link {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
}

@media (min-width: 1024px) {
    .toc {
        padding: 2rem;
        margin-bottom: 2.5rem;
    }
}

/* ═══════════════════════════════════════════════════════
     PROSE (CONTENT)
     ═══════════════════════════════════════════════════════ */

.prose {
    font-family: var(--main-font-family);
    font-size: var(--main-font-size);
    line-height: 1.9;
    color: var(--beauty-text);
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: var(--main-font-family);
    font-weight: 700;
    line-height: 1.4;
    margin: 2em 0 0.75em;
    color: var(--beauty-text);
    scroll-margin-top: 100px;
}

.prose h1 {
    font-size: 1.75rem;
}

.prose h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%) 1;
}

.prose h3 {
    font-size: 1.25rem;
    position: relative;
    padding-right: 1rem;
}

.prose h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.25em;
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    border-radius: 2px;
}

.prose h4 {
    font-size: 1.125rem;
}

.prose p {
    margin: 0 0 1.5em;
}

.prose a {
    color: var(--beauty-deep-rose);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.prose a:hover {
    color: var(--beauty-rose-gold);
    border-bottom-color: var(--beauty-rose-gold);
}

.prose ul,
.prose ol {
    margin: 1.5em 0;
    padding-right: 1.5rem;
}

.prose li {
    margin: 0.5em 0;
    padding-right: 0.5rem;
}

.prose ul li {
    list-style: none;
    position: relative;
}

.prose ul li::before {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    border-radius: 50%;
}

.prose ol {
    counter-reset: item;
    list-style: none;
}

.prose ol li {
    counter-increment: item;
    position: relative;
}

.prose ol li::before {
    content: counter(item);
    position: absolute;
    right: -2rem;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(212, 175, 122, 0.3);
}

.prose blockquote {
    margin: 2em 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(247, 231, 206, 0.3) 0%, rgba(255, 245, 247, 0.3) 100%);
    border-right: 4px solid;
    border-image: linear-gradient(180deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%) 1;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--beauty-light-text);
    box-shadow: 0 2px 12px rgba(212, 175, 122, 0.1);
}

.prose code {
    background: rgba(212, 175, 122, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    color: var(--beauty-deep-rose);
}

.prose pre {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: 16px;
    overflow-x: auto;
    margin: 2em 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2em 0;
    box-shadow: 0 6px 25px rgba(212, 175, 122, 0.15);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.9375rem;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(212, 175, 122, 0.12);
}

.prose thead {
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    color: #fff;
}

.prose th {
    padding: 1rem;
    text-align: right;
    font-weight: 700;
}

.prose td {
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 175, 122, 0.1);
}

.prose tbody tr:hover {
    background: rgba(247, 231, 206, 0.2);
}

.prose hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--beauty-rose-gold) 50%, transparent 100%);
    margin: 3em 0;
}

@media (min-width: 768px) {
    .prose {
        font-size: 1.0625rem;
    }

    .prose h1 {
        font-size: 2.25rem;
    }

    .prose h2 {
        font-size: 1.875rem;
    }

    .prose h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .prose {
        font-size: 1.125rem;
    }

    .prose h1 {
        font-size: 2.5rem;
    }

    .prose h2 {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════
     FAQ SECTION
     ═══════════════════════════════════════════════════════ */

.faq-section {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--beauty-pearl) 0%, rgba(255, 245, 247, 0.5) 100%);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(212, 175, 122, 0.1);
}

.faq-title {
    font-family: var(--main-font-family);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--beauty-text);
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-deep-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.faq-subtitle {
    font-size: 0.9375rem;
    color: var(--beauty-light-text);
    text-align: center;
    margin: 0 0 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(212, 175, 122, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 6px 30px rgba(212, 175, 122, 0.2);
    transform: translateY(-3px);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    font-family: var(--main-font-family);
    font-size: var(--main-font-size);
    font-weight: 600;
    color: var(--beauty-text);
    transition: all 0.3s;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.faq-question:hover::before,
.faq-question[aria-expanded="true"]::before {
    opacity: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 122, 0.15) 0%, rgba(255, 182, 193, 0.15) 100%);
    border-radius: 10px;
    color: var(--beauty-rose-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    color: #fff;
    transform: rotate(180deg);
    box-shadow: 0 3px 12px rgba(212, 175, 122, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.is-open {
    max-height: 1000px;
}

.faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--beauty-light-text);
}

.faq-answer-inner a {
    color: var(--beauty-deep-rose);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.faq-answer-inner a:hover {
    color: var(--beauty-rose-gold);
    border-bottom-color: var(--beauty-rose-gold);
}

@media (min-width: 768px) {
    .faq-section {
        padding: 3rem 2rem;
    }

    .faq-title {
        font-size: 2.25rem;
    }

    .faq-list {
        gap: 1.25rem;
    }

    .faq-question {
        padding: 1.5rem;
        font-size: 1.0625rem;
    }

    .faq-icon {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 1024px) {
    .faq-section {
        padding: 4rem 3rem;
        max-width: 900px;
        margin: 3rem auto;
    }

    .faq-title {
        font-size: 2.5rem;
    }
}

/* ═══════════════════════════════════════════════════════
     POST FOOTER
     ═══════════════════════════════════════════════════════ */

.post-footer {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-tags {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--beauty-pearl) 0%, rgba(255, 245, 247, 0.6) 100%);
    border-radius: 16px;
    box-shadow: 0 3px 15px rgba(212, 175, 122, 0.1);
}

.tags-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--beauty-rose-gold);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #fff;
    color: var(--beauty-text);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(212, 175, 122, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-item:hover {
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 122, 0.3);
}

/* ═══════════════════════════════════════════════════════
     AUTHOR BIO
     ═══════════════════════════════════════════════════════ */

.author-bio {
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--beauty-pearl) 100%);
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(212, 175, 122, 0.15);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%) border-box;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 122, 0.2);
}

.author-avatar:hover {
    transform: scale(1.08);
}

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

.author-label {
    font-size: 0.75rem;
    color: var(--beauty-light-text);
    font-weight: 500;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--beauty-text);
    text-decoration: none;
    transition: color 0.3s;
}

.author-name:hover {
    color: var(--beauty-deep-rose);
}

.author-posts {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(212, 175, 122, 0.2) 0%, rgba(255, 182, 193, 0.2) 100%);
    color: var(--beauty-rose-gold);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
}

.author-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--beauty-light-text);
    margin: 0 0 1rem;
}

/* ═══════════════════════════════════════════════════════
     POST NAVIGATION
     ═══════════════════════════════════════════════════════ */

.post-navigation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, var(--beauty-pearl) 100%);
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(212, 175, 122, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    transform: scaleY(0);
    transition: transform 0.4s;
}

.nav-item:hover::before {
    transform: scaleY(1);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 122, 0.25);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--beauty-rose-gold);
}

.nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--beauty-text);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .post-footer {
        gap: 2.5rem;
    }

    .author-avatar {
        width: 96px;
        height: 96px;
    }

    .post-navigation {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .post-footer {
        gap: 3rem;
    }

    .author-bio {
        padding: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════
     RELATED POSTS
     ═══════════════════════════════════════════════════════ */

.related-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--beauty-text);
    margin: 0 0 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-deep-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.related-decoration {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--beauty-rose-gold), var(--beauty-soft-pink));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(212, 175, 122, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover {
    box-shadow: 0 8px 35px rgba(212, 175, 122, 0.25);
    transform: translateY(-6px);
}

.related-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--beauty-champagne), var(--beauty-pearl));
}

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

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

.related-content {
    padding: 1rem;
}

.related-card-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.related-card-title a {
    color: var(--beauty-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.related-card-title a:hover {
    color: var(--beauty-deep-rose);
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--beauty-light-text);
}

.meta-sep {
    color: rgba(212, 175, 122, 0.4);
}

@media (min-width: 768px) {
    .related-section {
        padding: 0 1.5rem;
        margin: 4rem 0;
    }

    .related-title {
        font-size: 1.75rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .related-section {
        margin: 5rem 0;
    }

    .related-title {
        font-size: 2rem;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

/* ═══════════════════════════════════════════════════════
     COMMENTS
     ═══════════════════════════════════════════════════════ */

.comments-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.custom-comments {
    background: linear-gradient(135deg, #fff 0%, var(--beauty-pearl) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 6px 30px rgba(212, 175, 122, 0.15);
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
    color: var(--beauty-text);
}

.comment-reply-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--beauty-rose-gold), var(--beauty-soft-pink));
    border-radius: 2px;
}

.third-color {
    background: linear-gradient(135deg, var(--beauty-rose-gold), var(--beauty-soft-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logged-in-as {
    background: linear-gradient(135deg, rgba(247, 231, 206, 0.3), rgba(255, 245, 247, 0.3));
    padding: 1rem;
    border-radius: 12px;
    border-right: 4px solid var(--beauty-rose-gold);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.logged-in-as a {
    color: var(--beauty-deep-rose);
    text-decoration: none;
    font-weight: 600;
}

.comments-rating {
    margin: 1.5rem 0;
}

.rating-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(247, 231, 206, 0.2), rgba(255, 245, 247, 0.2));
    border-radius: 12px;
}

.rating-container input[type="radio"] {
    display: none;
}

.rating-container label {
    cursor: pointer;
    font-size: 2rem;
    color: #ddd;
    transition: all 0.3s ease;
    margin: 0;
}

.rating-container label::before {
    content: '★';
}

.rating-container input[type="radio"]:checked~label,
.rating-container label:hover,
.rating-container label:hover~label {
    color: var(--beauty-rose-gold);
    transform: scale(1.15);
}

#comment {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 122, 0.2);
    border-radius: 12px;
    font-family: var(--main-font-family);
    resize: vertical;
    transition: all 0.3s ease;
    background: #fafafa;
}

#comment:focus {
    outline: none;
    border-color: var(--beauty-rose-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 122, 0.15);
}

.btn-purple {
    background: linear-gradient(135deg, var(--beauty-rose-gold), var(--beauty-soft-pink));
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 122, 0.35);
    width: 100%;
}

.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 122, 0.5);
}

@media (min-width: 768px) {
    .comments-section {
        padding: 0 1.5rem;
        margin: 4rem 0;
    }

    .custom-comments {
        padding: 2.5rem;
    }

    .comment-reply-title {
        font-size: 1.75rem;
    }

    .rating-container label {
        font-size: 2.5rem;
    }

    .btn-purple {
        width: auto;
        min-width: 250px;
    }
}

@media (min-width: 1024px) {
    .comments-section {
        margin: 5rem 0;
    }

    .custom-comments {
        padding: 3rem;
    }

    .comment-reply-title {
        font-size: 2rem;
    }

    .rating-container label {
        font-size: 3rem;
    }
}

/* ═══════════════════════════════════════════════════════
     POST PAGINATION
     ═══════════════════════════════════════════════════════ */

.post-pagination {
    margin: 3rem 0 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--beauty-pearl) 0%, rgba(255, 245, 247, 0.6) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 3px 15px rgba(212, 175, 122, 0.1);
}

.post-pagination__label {
    font-weight: 700;
    color: var(--beauty-text);
}

.post-pagination__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: #fff;
    color: var(--beauty-text);
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(212, 175, 122, 0.1);
}

.post-pagination__item:hover {
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 122, 0.3);
}

.post-pagination__links>span:not(.post-pagination__item) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: linear-gradient(135deg, var(--beauty-rose-gold) 0%, var(--beauty-soft-pink) 100%);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(212, 175, 122, 0.35);
}

@media (min-width: 768px) {
    .post-pagination {
        flex-direction: row;
        align-items: center;
    }

    .post-pagination__item {
        min-width: 44px;
        height: 44px;
    }
}