/* ============================================================
   REEKIA — Blog Stylesheet
   ============================================================ */

/* ============ BLOG HERO ============ */
.blog-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--off-white);
}

.blog-hero .section-title {
    font-size: clamp(32px, 4vw, 48px);
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
    padding: 16px 0;
    font-size: 13px;
    color: var(--gray-text);
}

.breadcrumbs a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.5;
}

/* ============ CATEGORY FILTER ============ */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 32px 0 48px;
}

.blog-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--gray-text);
    background: var(--white);
    border: 1.5px solid var(--gray-border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-filter-btn:hover {
    border-color: var(--black);
    color: var(--black);
}

.blog-filter-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ============ BLOG GRID ============ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 80px;
}

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

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

/* ============ BLOG CARD ============ */
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--gray-light);
    display: block;
}

.blog-card-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--gray-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

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

.blog-card-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gold-light);
    color: var(--gold-hover);
    margin-bottom: 12px;
    align-self: flex-start;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--black);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-text);
    padding-top: 16px;
    border-top: 1px solid var(--gray-border);
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-readmore {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--gold);
    transition: gap 0.2s;
}

.blog-card:hover .blog-card-readmore {
    gap: 8px;
}

/* ============ ARTICLE PAGE ============ */
.article-hero {
    padding: 120px 0 40px;
    background: var(--off-white);
}

.article-hero .container {
    max-width: 800px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gold-light);
    color: var(--gold-hover);
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--gray-text);
    margin-top: 24px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============ ARTICLE CONTENT ============ */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin: 48px 0 16px;
    line-height: 1.2;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin: 36px 0 12px;
    line-height: 1.3;
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 24px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid var(--gold);
    margin: 32px 0;
    padding: 20px 24px;
    background: var(--off-white);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray-text);
    font-size: 17px;
    line-height: 1.7;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.article-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.article-content a:hover {
    color: var(--gold-hover);
}

.article-content strong {
    font-weight: 700;
    color: var(--black);
}

/* ============ TABLE OF CONTENTS ============ */
.article-toc {
    background: var(--off-white);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 40px;
    border: 1px solid var(--gray-border);
}

.article-toc-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.article-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-toc li {
    margin-bottom: 6px;
}

.article-toc a {
    font-size: 14px;
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-toc a:hover {
    color: var(--gold);
}

.article-toc a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
    flex-shrink: 0;
}

/* ============ RELATED ARTICLES ============ */
.related-articles {
    background: var(--off-white);
    padding: 80px 0;
}

.related-articles .section-title {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

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

@media (max-width: 960px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============ ARTICLE CTA ============ */
.article-cta {
    background: var(--black);
    padding: 80px 0;
    text-align: center;
}

.article-cta .section-title {
    color: var(--white);
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 12px;
}

.article-cta .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.article-cta .btn-primary {
    font-size: 16px;
    padding: 16px 32px;
}

/* ============ EMPTY STATE ============ */
.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-text);
}

.blog-empty i {
    margin-bottom: 16px;
    color: var(--gray-border);
}

/* ============ PAGINATION ============ */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 0 80px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-text);
    border: 1px solid var(--gray-border);
    transition: all 0.2s;
}

.blog-pagination a:hover {
    border-color: var(--black);
    color: var(--black);
}

.blog-pagination .active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
