/* Blog Details Page Specific Styles */

.container-narrow {
    max-width: 800px;
}

.blog-detail-section {
    background: white;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Blog Hero */
.blog-hero {
    position: relative;
    color: #fff;
}

.blog-hero-img {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: top;
}

.blog-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(7, 19, 27, 0.85) 0%, rgba(7, 19, 27, 0) 100%);
    pointer-events: none;
}

.blog-hero-inner {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
    text-align: left;
}

.blog-cat {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 20px;
}

.blog-hero h1 {
    max-width:650px;
    font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
}

.blog-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.blog-detail-content {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.blog-detail-content p {
    margin-bottom: 30px;
}

.blog-detail-content .lead {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 500;
}

.blog-detail-content h2 {
    font-size: 2rem;
    margin: 40px 0 25px;
    color: var(--secondary);
}

.blog-detail-content h3 {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: var(--secondary);
}

.blog-detail-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 26px 0 12px;
    color: var(--secondary);
}

.blog-detail-content ul {
    margin: 0 0 30px;
    padding-left: 22px;
    list-style: disc;
}

.blog-detail-content ul li {
    margin-bottom: 10px;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 30px;
    font-size: 1rem;
}

.blog-table th,
.blog-table td {
    border: 1px solid #e3ddd0;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}

.blog-table th {
    background: #fdfaf4;
    color: var(--secondary);
    font-weight: 600;
}

blockquote {
    border-left: 5px solid var(--primary);
    padding: 20px 40px;
    margin: 40px 0;
    background: #fdfaf4;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Blog FAQ Accordion */
.blog-faq-heading {
    text-align: center;
    margin: 50px 0 28px;
}

.blog-faq-heading::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--primary);
}

.blog-faq {
    margin: 0 0 40px;
    border: 1px solid rgba(197, 160, 89, 0.28);
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(11, 31, 44, 0.06);
}

.blog-faq-item {
    border-bottom: 1px solid rgba(197, 160, 89, 0.16);
    transition: background 0.3s ease;
}

.blog-faq-item:last-child {
    border-bottom: none;
}

.blog-faq-item[open] {
    background: #fdfaf4;
}

.blog-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.blog-faq-question::-webkit-details-marker {
    display: none;
}

.blog-faq-question-text {
    flex: 1;
    font-family: 'Manrope', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.55;
    color: var(--secondary);
}

.blog-faq-item[open] .blog-faq-question-text {
    color: #0b1f2c;
}

.blog-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(197, 160, 89, 0.45);
    border-radius: 50%;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.blog-faq-icon::before,
.blog-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.blog-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.blog-faq-item[open] .blog-faq-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.blog-faq-item[open] .blog-faq-icon::before,
.blog-faq-item[open] .blog-faq-icon::after {
    background: #ffffff;
}

.blog-faq-item[open] .blog-faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.blog-faq-answer {
    padding: 0 24px 22px 24px;
}

.blog-faq-answer p {
    margin: 0;
    padding-top: 4px;
    font-size: 0.98rem;
    line-height: 1.85;
    color: #4b5b65;
}

@media (max-width: 768px) {
    .blog-faq-heading {
        margin: 40px 0 22px;
        font-size: 1.7rem;
    }

    .blog-faq-question {
        padding: 18px 16px;
        gap: 14px;
    }

    .blog-faq-question-text {
        font-size: 0.95rem;
    }

    .blog-faq-icon {
        width: 30px;
        height: 30px;
    }

    .blog-faq-answer {
        padding: 0 16px 18px;
    }
}

@media (max-width: 768px) {
    .blog-detail-header h1 {
        font-size: 2.2rem;
    }
}
