/* =========================
   RESET
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================
   BASE
========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #222;
    line-height: 1.7;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px 16px;
}

/* =========================
   MAIN CARD (IMPORTANT)
========================= */
.blog-wrapper {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* =========================
   TYPOGRAPHY
========================= */
.main-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.section-title {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    margin: 35px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #007bff;
    font-weight: 600;
}

.sub-section-title {
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

/* =========================
   TEXT
========================= */
.post-content p {
    margin-bottom: 16px;
    color: #333;
}

/* =========================
   LINKS
========================= */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   IMAGE
========================= */
.post-figure {
    margin: 30px 0;
}

.post-figure img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.post-figure figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

/* =========================
   FEATURE LIST (UPGRADED)
========================= */
.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    background: #f8f9fa;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

.feature-list li::before {
    content: "✔";
    position: absolute;
    left: 12px;
    color: #28a745;
    font-weight: bold;
}

/* =========================
   QUOTE (PREMIUM LOOK)
========================= */
.quote {
    background: #eef6ff;
    border-left: 4px solid #007bff;
    padding: 18px;
    border-radius: 8px;
    margin: 25px 0;
    font-style: italic;
    color: #333;
}

/* =========================
   INFO BOX
========================= */
.info-box {
    background: #f1f7fb;
    padding: 18px;
    border-left: 4px solid #17a2b8;
    border-radius: 8px;
    margin: 25px 0;
}

/* =========================
   DIVIDER
========================= */
.section-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 40px 0;
}

/* =========================
   FAQ (MODERN)
========================= */
#faq {
    margin-top: 50px;
}

#faq details {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    transition: 0.2s ease;
}

#faq details:hover {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#faq summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 25px;
}

#faq summary::-webkit-details-marker {
    display: none;
}

#faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    color: #007bff;
}

#faq details[open] summary::after {
    content: "-";
}

#faq details p {
    margin-top: 10px;
    font-size: 0.95rem;
}

/* =========================
   EXPLORE TOPICS
========================= */
#explore-topics {
    margin-top: 50px;
}

#explore-topics .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

#explore-topics a {
    display: block;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: 0.2s;
    color: #333;
}

#explore-topics a:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .blog-wrapper {
        padding: 20px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .blog-wrapper {
        padding: 16px;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .post-content p {
        font-size: 0.95rem;
    }
}
