/* ==========================================
   KERTARASA.ID - BLOG & FAQ STYLES
   ========================================== */

/* ==========================================
   1. BLOG HERO
   ========================================== */
.blog-hero-section,
.faq-hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    color: #fff;
    overflow: hidden;
    background: #2C1B12;
}

.blog-hero-bg,
.faq-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.blog-hero-overlay,
.faq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 27, 18, 0.95) 0%, rgba(92, 64, 51, 0.85) 100%);
    z-index: 1;
}

.blog-hero-section > .max-w-7xl,
.faq-hero-section > .max-w-7xl {
    position: relative;
    z-index: 2;
}

.blog-hero-kicker,
.faq-hero-kicker {
    display: block;
    color: #C49A45;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.blog-hero-title,
.faq-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

.blog-hero-subtitle,
.faq-hero-subtitle {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .blog-hero-section,
    .faq-hero-section {
        padding-top: 160px;
        padding-bottom: 80px;
    }
    .blog-hero-title,
    .faq-hero-title { font-size: 3.5rem; }
    .blog-hero-subtitle,
    .faq-hero-subtitle { font-size: 13px; }
}

/* ==========================================
   2. BLOG GRID
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================
   3. BLOG CARD
   ========================================== */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 6px 15px rgba(0, 0, 0, 0.06);
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #C49A45 0%, #A88235 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    font-size: 10px;
    color: #A8998A;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-card-meta i { color: #C49A45; }

.blog-card-dot {
    color: #D4C5B5;
}

.blog-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    color: #5C4033;
    line-height: 1.3;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 12px;
    color: #6B5B4E;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C49A45;
    transition: gap .3s;
}

.blog-card:hover .blog-card-read {
    gap: 10px;
}

/* ==========================================
   4. BLOG CTA
   ========================================== */
.blog-cta-box {
    background: linear-gradient(135deg, #5C4033 0%, #2C1B12 100%);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .blog-cta-box { padding: 48px; }
}

/* ==========================================
   5. POST DETAIL HERO
   ========================================== */
.post-hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    color: #fff;
    overflow: hidden;
    background: #2C1B12;
}

.post-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 27, 18, 0.95) 0%, rgba(92, 64, 51, 0.85) 100%);
    z-index: 1;
}

.post-hero-section > .max-w-4xl {
    position: relative;
    z-index: 2;
}

.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-breadcrumb a {
    color: #C49A45;
    text-decoration: none;
    transition: color .3s;
}

.post-breadcrumb a:hover {
    color: #fff;
}

.post-category-badge {
    display: inline-block;
    background: #C49A45;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.post-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

@media (min-width: 768px) {
    .post-hero-section {
        padding-top: 160px;
        padding-bottom: 80px;
    }
    .post-title { font-size: 2.75rem; }
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.post-meta i { color: #C49A45; }

.post-meta-dot { color: rgba(255, 255, 255, 0.3); }

/* ==========================================
   6. POST CONTENT
   ========================================== */
.post-content {
    font-size: 14px;
    line-height: 1.8;
    color: #4A3B2F;
}

.post-content p {
    margin: 0 0 18px;
}

.post-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #5C4033;
    margin: 32px 0 16px;
    line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(196, 154, 69, 0.2);
    position: relative;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #C49A45;
}

.post-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: #8B6F47;
    margin: 24px 0 12px;
    line-height: 1.3;
}

.post-content ul,
.post-content ol {
    margin: 0 0 18px 20px;
    padding: 0;
}

.post-content li {
    margin-bottom: 6px;
}

.post-content a {
    color: #C49A45;
    text-decoration: underline;
    transition: color .3s;
}

.post-content a:hover {
    color: #8B6F47;
}

.post-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.post-content blockquote {
    background: #F5EDE0;
    border-left: 4px solid #C49A45;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #5C4033;
}

@media (min-width: 768px) {
    .post-content { font-size: 15px; }
    .post-content h2 { font-size: 1.75rem; }
    .post-content h3 { font-size: 1.375rem; }
}

/* ==========================================
   7. POST TAGS & SHARE
   ========================================== */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(196, 154, 69, 0.15);
}

.post-tags-label {
    font-size: 11px;
    font-weight: 700;
    color: #5C4033;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-tag {
    display: inline-block;
    background: #F5EDE0;
    color: #8B6F47;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 9999px;
    text-transform: lowercase;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.post-share-label {
    font-size: 11px;
    font-weight: 700;
    color: #5C4033;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
    font-size: 15px;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-x { background: #000; }

/* ==========================================
   8. FAQ LIST
   ========================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(196, 154, 69, 0.15);
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: rgba(196, 154, 69, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.faq-item.open {
    border-color: #C49A45;
    box-shadow: 0 8px 25px rgba(196, 154, 69, 0.12);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: background .3s;
}

.faq-question:hover {
    background: rgba(196, 154, 69, 0.03);
}

.faq-question-text {
    font-size: 13px;
    font-weight: 600;
    color: #5C4033;
    line-height: 1.4;
    flex: 1;
}

@media (min-width: 768px) {
    .faq-question-text { font-size: 14px; }
}

.faq-question-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F5EDE0;
    color: #C49A45;
    transition: all .3s ease;
    flex-shrink: 0;
    font-size: 11px;
}

.faq-item.open .faq-question-icon {
    background: #C49A45;
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 20px 18px;
    font-size: 13px;
    color: #6B5B4E;
    line-height: 1.7;
    border-top: 1px solid rgba(196, 154, 69, 0.1);
    padding-top: 16px;
}

/* ==========================================
   9. FAQ CTA
   ========================================== */
.faq-cta-box {
    background: linear-gradient(135deg, #5C4033 0%, #2C1B12 100%);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .faq-cta-box { padding: 40px; }
}

/* ==========================================
   10. RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .blog-card-body { padding: 16px; }
    .blog-card-title { font-size: 1rem; }
    .blog-card-excerpt { font-size: 11px; -webkit-line-clamp: 2; }
    .post-content { font-size: 13.5px; }
    .post-content h2 { font-size: 1.25rem; }
    .post-content h3 { font-size: 1.125rem; }
    .faq-question { padding: 16px; }
    .faq-question-text { font-size: 12px; }
    .faq-answer-content { padding: 0 16px 16px; font-size: 12px; }
}