:root {
    --guide-ink: #10231d;
    --guide-green: #073f31;
    --guide-green-2: #0c664d;
    --guide-mint: #eaf6f0;
    --guide-gold: #d6a942;
    --guide-paper: #fffdf8;
    --guide-line: rgba(7, 63, 49, .13);
    --guide-shadow: 0 22px 70px rgba(9, 42, 33, .12);
}

html { scroll-behavior: smooth; }
.article-page { background: #f7faf8; color: var(--guide-ink); }
.article-page :where(h1,h2,h3,p,li,a,summary) { text-wrap: pretty; }
.article-page :where(h2[id],section[id]) { scroll-margin-top: 110px; }
.article-page *, .article-page *::before, .article-page *::after { box-sizing: border-box; }
.article-page .container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.article-page img { max-width: 100%; height: auto; }

.article-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.2rem, 7vw, 6rem);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(5,39,30,.97) 0%, rgba(7,63,49,.88) 52%, rgba(7,63,49,.5) 100%),
        url("../images/proje-hero.jpg") center/cover no-repeat;
}
.article-hero::after {
    content: "";
    position: absolute;
    inset: auto -8rem -13rem auto;
    z-index: -1;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255,255,255,.035), 0 0 0 10rem rgba(255,255,255,.025);
}
.article-hero .container { max-width: 1180px; }
.article-hero h1 { max-width: 900px; font-size: clamp(2.35rem, 6vw, 5rem); line-height: .98; letter-spacing: -.045em; }
.article-hero h1 span { display: block; color: #f3ce73; }
.article-deck { max-width: 790px; font-size: clamp(1.05rem, 2vw, 1.32rem); line-height: 1.7; color: rgba(255,255,255,.86); }
.article-breadcrumbs a, .article-breadcrumbs { color: rgba(255,255,255,.82); }
.article-kicker, .section-eyebrow { display: inline-block; color: var(--guide-gold); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.article-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; color: rgba(255,255,255,.74); font-size: .88rem; }
.article-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    max-width: 940px;
    margin-top: 2.3rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    box-shadow: inset 0 1px rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
}
.hero-trust-strip div { padding: 1rem 1.2rem; border-right: 1px solid rgba(255,255,255,.14); }
.hero-trust-strip div:last-child { border-right: 0; }
.hero-trust-strip strong, .hero-trust-strip span { display: block; }
.hero-trust-strip strong { color: #fff; font-size: 1.18rem; }
.hero-trust-strip span { margin-top: .2rem; color: rgba(255,255,255,.68); font-size: .76rem; }

.article-main { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(250px, 310px);
    justify-content: space-between;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
}
.article-content { min-width: 0; max-width: 820px; }
.article-content > h2 { margin-top: 3.6rem; color: var(--guide-green); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.16; letter-spacing: -.025em; }
.article-content > h3 { margin-top: 2rem; color: var(--guide-green-2); }
.article-content p, .article-content li { font-size: 1.04rem; line-height: 1.82; }
.article-content a { text-underline-offset: 3px; }
.article-content ul:not(.article-checklist) { padding-left: 1.4rem; }

.article-lead-box, .decision-path, .article-project-card, .youtube-showcase {
    border: 1px solid var(--guide-line);
    border-radius: 24px;
    background: var(--guide-paper);
    box-shadow: var(--guide-shadow);
}
.article-lead-box { border-left: 6px solid var(--guide-gold); }
.article-lead-box { padding: clamp(1.25rem, 3vw, 2rem); }
.article-lead-box p { margin: 0; }
.decision-path { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; margin: 2rem 0 3rem; padding: clamp(1.5rem,4vw,2.5rem); }
.decision-path h2 { margin: .35rem 0 .8rem; color: var(--guide-green); }
.decision-path ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.decision-path li { position: relative; padding-left: 1.75rem; font-weight: 650; }
.decision-path li::before { content: "✓"; position: absolute; left: 0; color: var(--guide-green-2); font-weight: 900; }

.article-definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; }
.article-definition-card, .article-sidebar-card { border: 1px solid var(--guide-line); border-radius: 18px; box-shadow: 0 12px 40px rgba(9,42,33,.07); }
.article-definition-card { background: linear-gradient(145deg,#fff,#f2faf6); }
.article-definition-card { padding: 1.4rem; }
.article-definition-card h3 { margin: 0 0 .5rem; color: var(--guide-green); }
.article-definition-card p { margin: 0; }
.article-formula { margin: 1.4rem 0; padding: 1.25rem 1.4rem; border-radius: 16px; background: var(--guide-green); color: #fff; line-height: 1.7; box-shadow: 0 15px 40px rgba(7,63,49,.18); }
.article-table-wrap { max-width: 100%; overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--guide-line); border-radius: 18px; box-shadow: 0 12px 38px rgba(9,42,33,.07); }
.article-table { width: 100%; border-collapse: collapse; background: #fff; }
.article-table th, .article-table td { padding: 1rem; border-bottom: 1px solid var(--guide-line); text-align: left; vertical-align: top; line-height: 1.55; }
.article-table thead { color: #fff; background: var(--guide-green); }
.article-table tbody tr:nth-child(even) { background: #f2f8f5; }
.article-warning, .article-note, .article-success, .article-disclaimer {
    margin: 1.5rem 0;
    padding: 1.2rem 1.35rem;
    border: 1px solid var(--guide-line);
    border-left: 5px solid var(--guide-gold);
    border-radius: 14px;
    background: #fffaf0;
}
.article-note { border-left-color: #2f6ab3; background: #f2f7fd; }
.article-success { border-left-color: var(--guide-green-2); background: var(--guide-mint); }
.article-disclaimer { color: #4e5d57; background: #f1f4f2; }
.article-warning p, .article-note p, .article-success p, .article-disclaimer p { margin: 0; }
.article-checklist { display: grid; gap: .65rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.article-checklist li { position: relative; margin: 0; border: 1px solid var(--guide-line); border-radius: 12px; background: #fff; padding: .8rem 1rem .8rem 2.8rem; }
.article-checklist li::before { content: "✓"; position: absolute; left: 1rem; color: var(--guide-green-2); font-weight: 900; }

.article-project-card {
    margin: 3rem 0;
    padding: clamp(1.5rem,4vw,2.6rem);
    color: rgba(255,255,255,.88);
    background: linear-gradient(145deg, var(--guide-green), #0a5944);
}
.article-project-card h2 { margin-top: 0; color: #fff; font-size: clamp(1.7rem,3vw,2.25rem); }
.article-project-card p { color: rgba(255,255,255,.84); }
.article-project-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin: 1.5rem 0; }
.article-project-stat { padding: 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.1); }
.article-project-stat strong, .article-project-stat span { display: block; }
.article-project-stat strong { color: #f6d47f; font-size: 1.35rem; }
.article-project-stat span { margin-top: .25rem; color: rgba(255,255,255,.75); font-size: .82rem; }

.location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin: 1.5rem 0 1rem; }
.location-grid article { padding: 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.1); }
.location-grid strong, .location-grid span { display: block; }
.location-grid strong { color: #f6d47f; font-size: 1.1rem; }
.location-grid span { margin-top: .25rem; color: rgba(255,255,255,.82); }
.location-note { color: rgba(255,255,255,.72); font-size: .88rem !important; }

.article-faq { display: grid; gap: .8rem; }
.article-faq details { overflow: hidden; border: 1px solid var(--guide-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(9,42,33,.05); }
.article-faq summary { position: relative; padding: 1.15rem 3.5rem 1.15rem 1.25rem; color: var(--guide-green); font-weight: 800; cursor: pointer; list-style: none; }
.article-faq summary::after { content: "+"; position: absolute; top: 50%; right: 1.2rem; translate: 0 -50%; font-size: 1.5rem; color: var(--guide-gold); }
.article-faq details[open] summary::after { content: "−"; }
.article-faq details p { margin: 0; padding: 0 1.25rem 1.25rem; }

.article-cta {
    margin: 3rem 0 1.5rem;
    padding: clamp(1.5rem,4vw,2.5rem);
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg,var(--guide-green),#0e7558);
    box-shadow: var(--guide-shadow);
}
.article-cta h2 { margin: 0 0 .7rem; color: #fff; }
.article-cta p { color: rgba(255,255,255,.82); }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.article-sidebar .article-cta-actions { display: grid; }

.youtube-showcase { display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; margin: 3rem 0; }
.youtube-showcase__copy { padding: clamp(1.5rem,4vw,2.7rem); }
.youtube-showcase__copy h2 { margin: .4rem 0 1rem; color: var(--guide-green); }
.youtube-showcase__visual { display: grid; align-content: center; justify-items: center; min-height: 260px; padding: 2rem; color: #fff; text-align: center; background: linear-gradient(145deg,#8f1111,#d72525); }
.youtube-showcase__visual strong, .youtube-showcase__visual small { display: block; }
.youtube-showcase__visual strong { margin-top: 1rem; font-size: 1.45rem; }
.youtube-showcase__visual small { margin-top: .35rem; color: rgba(255,255,255,.78); }
.youtube-play { display: grid; place-items: center; width: 74px; height: 54px; padding-left: 4px; border-radius: 16px; color: #d82323; background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.btn-youtube { color: #fff !important; background: #c51f1f !important; border-color: #c51f1f !important; }
.btn-youtube:hover { background: #a81717 !important; }

.article-sidebar { display: grid; position: sticky; top: 100px; align-self: start; gap: 1rem; }
.article-sidebar-card { padding: 1.25rem; background: rgba(255,255,255,.94); }
.article-sidebar-card h2, .article-sidebar-card h3 { margin: 0 0 .85rem; color: var(--guide-green); font-size: 1.08rem; }
.article-toc { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.article-toc a { display: block; padding: .48rem .65rem; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; color: #41564e; text-decoration: none; transition: .2s ease; }
.article-toc a.is-active { border-left-color: var(--guide-gold); color: var(--guide-green); font-weight: 800; }
.article-share { display: flex; flex-wrap: wrap; gap: .5rem; }
.article-share a { padding: .45rem .65rem; border-radius: 8px; color: var(--guide-green); background: var(--guide-mint); text-decoration: none; font-weight: 700; }
.article-source-list { display: grid; gap: .55rem; margin: 0; padding-left: 1.1rem; }
.article-source-list a { color: var(--guide-green); }

@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .hero-trust-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hero-trust-strip div:nth-child(2) { border-right: 0; }
    .hero-trust-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
    .decision-path, .youtube-showcase { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
}
@media (max-width: 580px) {
    .article-hero { padding-top: 3.2rem; }
    .article-hero h1 { font-size: 2.45rem; }
    .article-hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust-strip, .location-grid, .article-definition-grid, .article-project-stats { grid-template-columns: 1fr; }
    .hero-trust-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .hero-trust-strip div:last-child { border-bottom: 0; }
    .article-table { min-width: 680px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
