/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    position: relative;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;

    transition: 0.2s;
}

.main-nav a:hover {
    color: #111827;
}

.search-button {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    background: #f5f7fb;
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 760px;
}

.hero-label,
.section-label {
    display: inline-block;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: #6b7280;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
}

.hero p {
    max-width: 650px;

    font-size: 18px;
    color: #6b7280;

    margin-bottom: 32px;
}

.hero-button {
    display: inline-block;

    background: #111827;
    color: #ffffff;

    padding: 14px 24px;

    border-radius: 8px;

    font-weight: 700;

    transition: 0.2s;
}

.hero-button:hover {
    transform: translateY(-2px);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.view-all {
    font-size: 14px;
    font-weight: 700;
}

.centered {
    justify-content: center;
    text-align: center;
}


/* =========================
   ARTICLES
========================= */

.articles-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.article-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    overflow: hidden;

    background: #ffffff;

    transition: 0.25s;
}

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

.article-image {
    height: 190px;

    background: #eef1f5;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: 800;

    color: #6b7280;
}

.article-content {
    padding: 25px;
}

.category {
    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    color: #6b7280;
}

.article-content h3 {
    font-size: 21px;
    line-height: 1.3;

    margin: 10px 0;
}

.article-content p {
    color: #6b7280;
    font-size: 14px;

    margin-bottom: 20px;
}

.read-more {
    font-size: 14px;
    font-weight: 800;
}


/* =========================
   CATEGORIES
========================= */

.categories-section {
    background: #f8fafc;
}

.categories-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.category-card {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    transition: 0.25s;
}

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

.category-icon {
    display: block;

    font-size: 30px;

    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 20px;

    margin-bottom: 8px;
}

.category-card p {
    color: #6b7280;

    font-size: 14px;
}


/* =========================
   GUIDE LIST
========================= */

.guide-list {
    border-top: 1px solid #e5e7eb;
}

.guide-item {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid #e5e7eb;

    transition: 0.2s;
}

.guide-item:hover {
    padding-left: 8px;
}

.guide-category {
    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    color: #6b7280;
}

.guide-item h3 {
    font-size: 20px;
    margin-top: 5px;
}

.arrow {
    font-size: 22px;
}


/* =========================
   NEWSLETTER
========================= */

.newsletter {
    background: #111827;
    color: #ffffff;

    padding: 70px 0;
}

.newsletter-content {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.newsletter .section-label {
    color: #9ca3af;
}

.newsletter h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.newsletter p {
    color: #9ca3af;
}

.newsletter-form {
    display: flex;

    min-width: 400px;
}

.newsletter-form input {
    width: 100%;

    padding: 15px;

    border: none;

    outline: none;
}

.newsletter-form button {
    border: none;

    background: #ffffff;
    color: #111827;

    padding: 0 22px;

    font-weight: 800;

    cursor: pointer;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;

    padding: 70px 0;
}

.footer-logo {
    font-size: 23px;
    font-weight: 800;
}

.footer-about p {
    max-width: 350px;

    color: #6b7280;

    margin-top: 15px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {
    font-size: 15px;

    margin-bottom: 10px;
}

.footer-column a {
    font-size: 14px;

    color: #6b7280;
}

.footer-column a:hover {
    color: #111827;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;

    padding: 20px 0;
}

.footer-bottom p {
    color: #6b7280;

    font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
        min-width: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: flex-start;
        gap: 20px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        min-height: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}

/* =========================
   ARTICLE PAGE
========================= */

.article-page {
    padding: 55px 0 90px;
}

.article-container {
    max-width: 1100px;
}


/* Breadcrumb */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    font-size: 13px;

    color: #6b7280;

    margin-bottom: 35px;
}

.breadcrumb a:hover {
    color: #111827;
}


/* Article Header */

.article-header {
    max-width: 850px;

    margin-bottom: 40px;
}

.article-category {
    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: #6b7280;
}

.article-header h1 {
    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.08;

    letter-spacing: -2px;

    margin: 15px 0 25px;
}

.article-intro {
    font-size: 19px;

    line-height: 1.7;

    color: #6b7280;

    max-width: 780px;
}

.article-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 25px;

    font-size: 13px;

    color: #6b7280;
}


/* Featured Image */

.article-featured-image {
    height: 360px;

    background: #eef1f5;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    font-weight: 800;

    color: #6b7280;

    margin-bottom: 55px;
}


/* Article Layout */

.article-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 280px;

    gap: 60px;

    align-items: start;
}


/* Main Article */

.article-content-main {
    font-size: 17px;

    line-height: 1.85;
}

.article-content-main p {
    margin-bottom: 25px;
}

.article-content-main h2 {
    font-size: 30px;

    line-height: 1.25;

    margin: 50px 0 20px;
}

.article-content-main strong {
    font-weight: 700;
}


/* Info Box */

.info-box {
    background: #f5f7fb;

    border-left: 4px solid #111827;

    padding: 20px 25px;

    margin: 30px 0;
}

.info-box strong {
    display: block;

    margin-bottom: 5px;
}

.info-box p {
    margin-bottom: 0;
}


/* Sidebar */

.article-sidebar {
    position: sticky;

    top: 110px;
}

.sidebar-box {
    border: 1px solid #e5e7eb;

    border-radius: 10px;

    padding: 25px;

    margin-bottom: 25px;
}

.sidebar-box h3 {
    font-size: 16px;

    margin-bottom: 15px;
}

.sidebar-box a {
    display: block;

    font-size: 14px;

    color: #6b7280;

    padding: 8px 0;
}

.sidebar-box a:hover {
    color: #111827;
}


/* Ad Placeholder */

.ad-placeholder {
    min-height: 250px;

    background: #f8fafc;

    border: 1px dashed #d1d5db;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #9ca3af;

    font-size: 12px;
}


/* Related Articles */

.related-section {
    margin-top: 70px;

    padding-top: 40px;

    border-top: 1px solid #e5e7eb;
}

.related-section h2 {
    margin-top: 0;
}

.related-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.related-card {
    border: 1px solid #e5e7eb;

    border-radius: 10px;

    padding: 22px;

    transition: 0.2s;
}

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

.related-card span {
    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    color: #6b7280;
}

.related-card h3 {
    font-size: 17px;

    line-height: 1.4;

    margin-top: 8px;
}


/* Article Mobile */

@media (max-width: 800px) {

    .article-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .article-sidebar {
        position: static;
    }

    .article-featured-image {
        height: 250px;
    }

}


@media (max-width: 600px) {

    .article-page {
        padding-top: 35px;
    }

    .article-header h1 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }

    .article-intro {
        font-size: 17px;
    }

    .article-meta {
        flex-direction: column;

        gap: 5px;
    }

    .article-content-main {
        font-size: 16px;
    }

    .article-content-main h2 {
        font-size: 26px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

}


.page-hero {
    padding: 100px 0 70px;
    border-bottom: 1px solid #eeeeee;
}

.page-hero h1 {
    max-width: 800px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 52px;
    line-height: 1.1;
}

.page-hero p {
    max-width: 700px;
    font-size: 19px;
    line-height: 1.7;
    color: #666666;
}

.about-content {
    max-width: 850px;
}

.about-section {
    margin-bottom: 70px;
}

.about-section h2 {
    margin-top: 12px;
    margin-bottom: 20px;
    font-size: 32px;
}

.about-section p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.8;
    color: #555555;
}

.about-list {
    margin-top: 25px;
    padding-left: 25px;
}

.about-list li {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 600px) {

    .page-hero {
        padding: 70px 0 50px;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-hero p {
        font-size: 17px;
    }

    .about-section {
        margin-bottom: 50px;
    }

    .about-section h2 {
        font-size: 27px;
    }

}

.contact-layout {
    display: block;
    text-align: center;
    max-width: 500px;
}

.contact-info h2 {
    margin-top: 12px;
    margin-bottom: 20px;
    font-size: 34px;
}

.contact-info > p {
    font-size: 17px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.contact-item p {
    color: #666666;
    line-height: 1.6;
}

.contact-item a {
    font-size: 20px;
}

.contact-form-wrapper {
    padding: 35px;
    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #999999;
}

@media (max-width: 800px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}

@media (max-width: 600px) {

    .contact-form-wrapper {
        padding: 25px;
    }

}


.legal-content {
    max-width: 850px;
}

.last-updated {
    margin-bottom: 45px;
    color: #777777;
    font-size: 14px;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    margin-bottom: 18px;
    font-size: 28px;
}

.legal-section p {
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.8;
    color: #555555;
}

.legal-section a {
    color: inherit;
    font-weight: 600;
}

@media (max-width: 600px) {

    .legal-section h2 {
        font-size: 24px;
    }

    .legal-section p {
        font-size: 16px;
    }

}

/* ================= ARTICLE PAGE ================= */

.article-page {
    padding: 80px 0;
}


.article-container {
    max-width: 850px;
}


.back-link {
    display: inline-block;
    margin-bottom: 35px;
    text-decoration: none;
    font-size: 15px;
}


.article-page h1 {
    font-size: 48px;
    line-height: 1.2;
    max-width: 800px;
    margin: 20px 0;
}


.article-date {
    margin-bottom: 25px;
    font-size: 14px;
}


.article-description {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 50px;
}


.article-content {
    font-size: 18px;
    line-height: 1.8;
}


.article-content h2 {
    font-size: 30px;
    margin-top: 45px;
    margin-bottom: 15px;
}


.article-content p {
    margin-bottom: 25px;
}


/* ================= ARTICLE PAGE MOBILE ================= */

@media (max-width: 700px) {

    .article-page {
        padding: 50px 0;
    }


    .article-page h1 {
        font-size: 34px;
    }


    .article-description {
        font-size: 18px;
    }


    .article-content {
        font-size: 17px;
    }


    .article-content h2 {
        font-size: 26px;
    }

}

/* ================= 404 PAGE ================= */

.error-page {
    padding: 120px 0;
    text-align: center;
}

.error-content {
    max-width: 700px;
    margin: 0 auto;
}

.error-number {
    display: block;
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.error-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.primary-button {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}


/* =========================
   RELATED ARTICLES
   ========================= */

.related-articles {
    padding: 70px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.related-articles .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-articles h2 {
    margin-bottom: 30px;
    font-size: 30px;
}

.related-articles .articles-grid {
    width: 100%;
}

.related-articles .article-card {
    padding: 25px;
    box-sizing: border-box;
}

.article-card-category {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.article-card h3 {
    margin-bottom: 12px;
}

.article-card p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-card a {
    text-decoration: none;
    font-weight: 600;
}

/* =========================
   ARTICLE META
   ========================= */

.article-meta {
    margin-top: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    opacity: 0.7;
}

/* =========================
   SEARCH
   ========================= */

.search-box {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 350px;
    background: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 1000;
}

.search-box.active {
    display: block;
}

.search-box input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 7px;
    box-sizing: border-box;
    font-size: 15px;
    outline: none;
}

.search-results {
    margin-top: 10px;
}

.search-result {
    display: block;
    padding: 12px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result strong {
    display: block;
    margin-bottom: 5px;
}

.search-result span {
    font-size: 13px;
    opacity: 0.65;
}


@media (max-width: 600px) {

    .search-box {
        left: 15px;
        right: 15px;
        width: auto;
    }

}