/* =============================
   GLOBAL
============================= */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #111;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    letter-spacing: -0.3px;
}

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

.site-header {
    border-bottom: 1px solid #eee;
    padding: 18px 0;
    background: #fff;
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    color: #111;
}

.logo small {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

.main-nav {
    margin-top: 10px;
}

.main-nav a {
    margin-right: 24px;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: 500;
}

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

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

.site-footer {
    border-top: 1px solid #eee;
    margin-top: 80px;
    padding: 40px 0;
    font-size: 14px;
    color: #777;
}

.site-footer a {
    color: #777;
    text-decoration: none;
}

.site-footer a:hover {
    color: #000;
}

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

.hero {
    padding: 50px 0 30px;
    text-align: center;
}

.hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-subtext {
    font-size: 20px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 35px;
}

.hero-cta a {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 8px;
}

.hero-trust{
font-size:15px;
color:#666;
margin-top:10px;
}

.btn-primary {
    background: #0f172a;
    color: #fff;
}

.btn-primary:hover {
    background: #1e293b;
}

.btn-secondary {
    background: #f3f4f6;
    color: #111;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* =============================
   ARTICLE LAYOUT
============================= */

.article-wrapper {
    padding: 70px 0;
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
}

/* ==================Breadcrumb =============*/

.article-content nav {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

.article-content nav a {
    color: #888;
    text-decoration: none;
}

.article-content nav a:hover {
    color: #111;
}

/* =============Category Badge=============== */

.category-badge {
    margin-bottom: 20px;
}

.category-badge a {
    display: inline-block;
    background: #f3f4f6;
    color: #333;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.category-badge a:hover {
    background: #e5e7eb;
}

/*==================== Title================= */

.article-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.4px;
    word-break: normal;
}

/* ===================Author Block ================ */

.author-block {
    font-size: 14px;
    color: #777;
    margin-bottom: 40px;
}

.author-block strong {
    color: #111;
}

.author-block .dot {
    margin: 0 8px;
}

/* Article Body */

.article-body {
    font-size: 18px;
    line-height: 1.85;
    color: #222;
}

.article-body p:first-of-type {
    font-size: 20px;
    line-height: 1.9;
    color: #333;
}

.article-body h2 {
    margin-top: 60px;
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 700;
}

.article-body h3 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.article-body ul {
    margin-top: 10px;
    margin-bottom: 25px;
    padding-left: 22px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* =============================
   CATEGORY PAGE
============================= */

.article-content article {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #eee;
}

.article-content article:last-child {
    border-bottom: none;
}

.article-content article h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.article-content article h3 a {
    text-decoration: none;
    color: #111;
}

.article-content article h3 a:hover {
    text-decoration: underline;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: #111;
}

.read-more:hover {
    text-decoration: underline;
}

/* =============================
   CTA BLOCK
============================= */

.cta-box {
    background: #f9fafb;
    padding: 35px;
    border-radius: 10px;
    margin-top: 70px;
    border: 1px solid #eee;
}

.cta-box h3 {
    margin-top: 0;
}

.cta-box form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.cta-box form button {
    background: #111;
    color: #fff;
    padding: 14px 22px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.cta-box form button:hover {
    background: #333;
}

/* =============================
   RESPONSIVE
============================= */

@media (max-width: 768px) {

    .article-content h1 {
        font-size: 32px;
    }

    .article-body {
        font-size: 16px;
    }

    .container {
        padding: 0 18px;
    }

}

/*=============================Page Disclaimer */

   .page-disclaimer {
    font-size: 13px;
    color: #888;
    margin-top: 50px;
}

/* =============================
   CATEGORY GRID (HOMEPAGE)
============================= */

.category-section {
    padding: 70px 0;
}

.category-section h2 {
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-card {
    display: block;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #111;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.category-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.category-card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.category-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

/* =============================
   LATEST GUIDES
============================= */

.latest-guides {
    padding: 70px 0;
}

.latest-guides h2 {
    margin-bottom: 40px;
}



.article-preview:last-child {
    border-bottom: none;
}

.article-preview h3 {
    margin-bottom: 10px;
}

.article-preview h3 a {
    text-decoration: none;
    color: #111;
}

.article-preview h3 a:hover {
    text-decoration: underline;
}

.article-preview p {
    color: #555;
    line-height: 1.7;
}

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

.newsletter {
    padding: 80px 0;
    background: #f9fafb;
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 10px;
}

.newsletter p {
    color: #555;
    margin-bottom: 25px;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.newsletter button {
    padding: 14px 22px;
    border: none;
    background: #111;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.newsletter button:hover {
    background: #333;
}

/* =============================
   SECTION RHYTHM
============================= */

.section-light {
    background: #ffffff;
    padding: 30px 0;
}

.section-soft {
    background: #f9fafb;
    padding: 30px 0;
    margin-bottom: 18px;
}

section h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.latest-guides h2 {
    font-size: 28px;
}

.article-preview h3 {
    font-size: 22px;
}

.article-preview p {
    max-width: 700px;
}

/* Trust section */

.trust-section {
    text-align: left;
}

.trust-section ul {
    margin-top: 20px;
    padding-left: 20px;
}

.trust-section li {
    margin-bottom: 14px;
    font-weight: 500;
}

.trust-section p {
    max-width: 700px;
    line-height: 1.7;
}

/* =============================
   INSIGHT BOX
============================= */

.insight-box {
    background: #f8fafc;
    border-left: 4px solid #0f172a;
    padding: 18px 20px;
    margin: 30px 0;
    font-size: 17px;
    line-height: 1.7;
}

/* =============================
   CALLOUT BOX
============================= */

.callout-box {
    background: #fff7ed;
    border-left: 4px solid #ea580c;
    padding: 18px 20px;
    margin: 30px 0;
    font-size: 16px;
}

/* =============================
   CHART / IMAGE
============================= */

.article-body img {
    width: 100%;
    border-radius: 6px;
    margin: 25px 0;
}

.chart-caption {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 25px;
}

/* =============================
   KEY TAKEAWAYS
============================= */

.key-takeaways {
    background: #f1f5f9;
    padding: 20px 24px;
    border-radius: 8px;
    margin: 35px 0;
}

.key-takeaways h3 {
    margin-top: 0;
}

.key-takeaways ul {
    margin: 10px 0 0;
}

/* =============================
   KEY INSIGHT BOX
============================= */

.insight-box strong {
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

/* TABLE OF CONTENTS */

.toc-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 22px;
    border-radius: 8px;
    margin-bottom: 35px;
}

.toc-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.toc-box ul {
    padding-left: 18px;
    margin: 0;
}

.toc-box li {
    margin-bottom: 6px;
}

.toc-box a {
    text-decoration: none;
    color: #0f172a;
}

.toc-box a:hover {
    text-decoration: underline;
}

/* ARTICLE LAYOUT WITH STICKY TOC */

.article-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    
}

.toc-sidebar {
    position: sticky;
    top: 160px;
    align-self: start;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.toc-sidebar h3 {
    margin-top: 0;
    font-size: 16px;
}

.toc-sidebar ul {
    padding-left: 16px;
    margin: 8px 0 0;
}

.toc-sidebar li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.toc-sidebar a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    transition: color 0.15s ease;
}

.toc-sidebar a:hover {
    color: #0f172a;
}

@media (max-width: 900px) {

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

.toc-sidebar {
    display: none;
}

}

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

.related-articles{
margin-top:60px;
}

.related-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}

.related-card{
display:block;
padding:20px;
border:1px solid #e5e7eb;
border-radius:8px;
text-decoration:none;
color:#111;
background:#fff;
transition:0.2s;
}

.related-card:hover{
border-color:#cbd5f5;
box-shadow:0 4px 10px rgba(0,0,0,0.05);
}

.related-card h4{
margin-top:0;
font-size:16px;
}

.related-card p{
font-size:14px;
color:#555;
}

.read-more{
font-size:14px;
color:#2563eb;
}

/* Mobile */

@media(max-width:900px){

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

}

@media (max-width: 768px) {

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

}

/* =================== ## Internal link========= ##*/

.internal-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.internal-link:hover {
    text-decoration: underline;
}

/* ===================Section Heading================= */

.section-heading{
margin-top:50px;
margin-bottom:20px;
font-size:26px;
}

/* ===================Latest Guides Grid================= */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.article-preview {
    background: #f7f8fb;
    padding: 26px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.article-preview h3 {
    margin-top: 0;
    font-size: 20px;
}

.article-preview p {
    color: #555;
    line-height: 1.7;
}

section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================
   START HERE SECTION
============================= */

.start-here {
    padding: 70px 0;
}

.start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.start-card {
    display: block;
    padding: 26px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111;
    background: #ffffff;
    transition: 0.2s ease;
}

.start-card:hover {
    border-color: #d1d5db;
    transform: translateY(-3px);
}

.start-card h3 {
    margin-top: 0;
}

.start-card p {
    color: #555;
    line-height: 1.6;
}

.category-learn{
background:#f9fafb;
padding:20px;
border-radius:8px;
margin-top:20px;
}

.category-navigation{
margin:25px 0;
}

.category-navigation ul{
display:flex;
gap:20px;
list-style:none;
padding:0;
flex-wrap:wrap;
}