:root {
    --primary: #2563EB;
    --dark: #1F2937;
    --bg-light: #F7F9FC;
    --white: #FFFFFF;
    --accent-err: #EF4444;
    --text-main: #1F2937;
    --text-secondary: #4B5563;
    --radius: 0.5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    body {
        font-size: 0.9375rem;
    }

    .mobile-break-word {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

html {
    scroll-behavior: smooth;
}

/* ===== header_section ===== */
header {
    background-color: var(--white);
}

.js-mobile-overlay {
    background-color: var(--white);
}

.js-mobile-link {
    hyphens: auto;
    line-height: 1.2;
}

/* ===== hero_section ===== */
#hero {
    overflow: hidden;
    position: relative;
}

#hero h1 {
    hyphens: auto;
}

#hero .bg-black\/60 {
    background-color: rgba(0, 0, 0, 0.6);
}

/* ===== main_post ===== */
.prose p {
    margin-bottom: 1.5rem;
}

.prose h2 {
    color: var(--text-main);
    line-height: 1.2;
}

.prose h3 {
    color: var(--text-main);
    line-height: 1.3;
}

.hyphens-auto {
    hyphens: auto;
}

/* ===== article_grid ===== */
#related-articles {
    position: relative;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    opacity: 0.9;
}

#modal-container.active {
    display: flex;
}

#modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

#modal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ===== quiz_block ===== */
.hidden {
    display: none
}

#assessment-quiz {
    hyphens: auto
}

input::placeholder {
    color: #9CA3AF
}

/* ===== approach_info ===== */
#approach {
    hyphens: auto;
}

.ph {
    display: inline-block;
    width: 24px;
    height: 24px;
}

/* ===== faq_section ===== */
.js-faq-item {
    transition: all 0.3s ease;
}

.js-faq-item.active {
    border-color: #2563EB;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.js-faq-trigger i {
    transition: transform 0.3s ease;
}

.js-faq-item.active .js-faq-trigger i {
    transform: rotate(180deg);
}

.js-faq-content {
    transition: all 0.3s ease;
}

/* ===== final_cta ===== */
#cta {
    background-color: var(--dark);
}

#cta h2 {
    color: var(--white);
}

#cta p {
    color: var(--bg-light);
}

.js-scroll-trigger {
    background-color: var(--primary);
    border-radius: var(--radius);
}

/* ===== author_block ===== */
#author {
    hyphens: auto
}

.js-contact-form input::placeholder,
.js-contact-form textarea::placeholder {
    color: #9CA3AF
}

.ph {
    display: inline-block;
    vertical-align: middle
}

/* ===== disclaimer_text ===== */
#legal-disclaimer {
    hyphens: auto;
    -webkit-hyphens: auto;
}

#legal-disclaimer .container {
    max-width: 1200px;
}

#legal-disclaimer i {
    display: inline-block;
    line-height: 1;
}

/* ===== footer ===== */
#footer {
    background-color: var(--dark);
    color: var(--white);
}

#footer a {
    text-decoration: none;
}

#footer .ph {
    font-size: 1.25rem;
    vertical-align: middle;
}

@media (max-width: 767px) {
    #footer {
        padding-bottom: 80px;
    }

    #footer h1 {
        font-size: 18px;
        line-height: 1.2;
        hyphens: auto;
    }

    #footer h2 {
        font-size: 16px;
        line-height: 1.2;
        hyphens: auto;
    }

    #footer h3 {
        font-size: 14px;
        line-height: 1.2;
        hyphens: auto;
    }
}