/*
Theme Name: Dijital Gölge News
Theme URI: https://dijitalgolge.com/
Author: Dijital Gölge
Description: Dijital Gölge — Gerçeğin Dijital İzinde için özgün, duyarlı ve haber odaklı WordPress teması.
Version: 1.0.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: ainsan-news
*/
:root{--navy:#10213c;--blue:#2563eb;--cyan:#12a6c8;--ink:#15243d;--muted:#66758b;--line:#e3e9f1;--bg:#f6f8fb;--red:#d83243}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%;height:auto;display:block}.wrap{width:min(1240px,calc(100% - 36px));margin:auto}.topbar{background:var(--navy);color:#cbd8e9;font-size:12px}.topbar .wrap{display:flex;justify-content:space-between;padding:7px 0}.masthead{background:white;border-bottom:1px solid var(--line)}.masthead-inner{display:flex;align-items:center;justify-content:space-between;min-height:112px;gap:20px}.brand{display:inline-flex;align-items:center}.brand img{width:min(330px,68vw);height:auto}.masthead-right{font-size:12px;color:var(--muted);text-align:right}.nav{background:var(--navy);color:white}.nav-inner{display:flex;justify-content:space-between;align-items:center}.nav ul{display:flex;gap:0;list-style:none;padding:0;margin:0;flex-wrap:wrap}.nav a{display:block;padding:13px 15px;font-size:13px;font-weight:700;letter-spacing:.02em}.nav a:hover,.nav .current-menu-item>a{background:#203b62;color:white}.menu-toggle{display:none;border:0;background:transparent;color:white;padding:13px;font-weight:bold}.search-form{display:flex;gap:6px}.search-form input{border:1px solid var(--line);border-radius:3px;padding:9px;min-width:0}.search-form button,.btn{border:0;background:var(--blue);color:white;padding:10px 13px;border-radius:3px;cursor:pointer}.ticker{display:flex;gap:14px;align-items:center;background:white;border:1px solid var(--line);margin:18px 0;padding:10px 14px;font-size:13px}.ticker-label{background:var(--red);color:white;font-size:11px;font-weight:800;white-space:nowrap;padding:6px 9px}.ticker-items{display:flex;gap:18px;overflow:hidden;white-space:nowrap}.ticker-items a:before{content:'•';color:var(--red);margin-right:8px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:2px solid var(--navy);margin:26px 0 16px;padding-bottom:8px}.section-head h2,.section-head h1{margin:0;font-size:21px;line-height:1.25}.section-head a{font-size:12px;font-weight:700;color:var(--blue)}.hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}.card{background:white;border:1px solid var(--line);overflow:hidden}.card-body{padding:15px}.card h2,.card h3{line-height:1.28;margin:7px 0;font-size:18px}.card p{color:var(--muted);font-size:13px;margin:8px 0 0}.card-image{width:100%;aspect-ratio:16/9;object-fit:cover;background:#e7edf5}.hero-main .card-image{aspect-ratio:16/9}.hero-main h2{font-size:29px}.eyebrow{color:var(--blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.meta{color:var(--muted);font-size:11px}.side-stack{display:grid;grid-template-rows:1fr 1fr;gap:16px}.side-stack .card{display:grid;grid-template-columns:44% 56%;align-items:stretch}.side-stack .card-image{height:100%;aspect-ratio:auto}.side-stack h3{font-size:17px}.news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.news-grid .card h3{font-size:16px}.news-grid .card-body{padding:12px}.columns{display:grid;grid-template-columns:minmax(0,3fr) minmax(250px,1fr);gap:26px}.latest-list{display:grid;gap:13px}.list-story{display:grid;grid-template-columns:160px 1fr;gap:15px;background:white;border:1px solid var(--line);padding:10px}.list-story img{width:160px;height:100px;object-fit:cover}.list-story h3{margin:4px 0;font-size:18px;line-height:1.3}.sidebar-box{background:white;border:1px solid var(--line);padding:17px;margin-bottom:18px}.sidebar-box h3{margin:0 0 12px;font-size:16px;border-bottom:2px solid var(--blue);padding-bottom:9px}.sidebar-box ol{margin:0;padding-left:20px}.sidebar-box li{padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.category-row{margin-bottom:25px}.category-row .news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ad-placeholder{min-height:90px;display:grid;place-items:center;border:1px dashed #c5d0de;color:#8795a9;background:#f0f3f8;font-size:12px;letter-spacing:.08em;margin:24px 0}.page-title{margin:30px 0 16px;font-size:30px}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.article{background:white;border:1px solid var(--line);padding:clamp(18px,4vw,45px);margin:25px 0}.article h1{font-size:clamp(28px,4vw,44px);line-height:1.16;margin:10px 0}.article .lead{font-size:18px;color:#4c5d75}.article .featured{width:100%;max-height:580px;object-fit:cover;margin:25px 0}.article-content{font-size:17px;line-height:1.8;overflow-wrap:anywhere}.article-content img{height:auto}.article-content a{text-decoration:underline;color:var(--blue)}.article-content blockquote{border-left:4px solid var(--blue);margin:20px 0;padding:10px 20px;background:var(--bg)}.article-content iframe{max-width:100%}.pagination{margin:30px 0}.pagination .page-numbers{display:inline-block;padding:8px 12px;background:white;border:1px solid var(--line);margin:2px}.pagination .current{background:var(--blue);color:white}.footer{background:var(--navy);color:#cbd8e9;margin-top:45px;padding:38px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer h3{color:white;margin:0 0 10px}.footer a{display:block;font-size:13px;padding:4px 0}.footer-bottom{border-top:1px solid #31425b;margin-top:28px;padding-top:15px;font-size:12px}.no-posts{background:white;padding:24px;border:1px solid var(--line);color:var(--muted)}.screen-reader-text{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;z-index:999;background:white;padding:8px}.alignwide{max-width:100%}@media(max-width:960px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{grid-template-columns:1fr}.side-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto}.columns{grid-template-columns:1fr}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.wrap{width:min(100% - 24px,1240px)}.masthead-inner{min-height:82px}.masthead-right{display:none}.menu-toggle{display:block}.nav-inner{display:block}.nav ul{display:none;flex-direction:column}.nav ul.is-open{display:flex}.nav a{padding:11px 12px}.nav .search-form{padding:8px 0 12px}.hero-main h2{font-size:23px}.side-stack{grid-template-columns:1fr}.news-grid,.category-row .news-grid,.archive-grid{grid-template-columns:1fr 1fr;gap:10px}.card-body{padding:10px}.news-grid .card h3,.category-row .card h3{font-size:14px}.list-story{grid-template-columns:105px 1fr}.list-story img{width:105px;height:90px}.list-story h3{font-size:15px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.ticker{gap:8px}.topbar .wrap span:last-child{display:none}}@media(max-width:390px){.news-grid,.category-row .news-grid,.archive-grid{grid-template-columns:1fr}}

/* AINSAN News v0.2 — compact editorial layout */
.home-v02{padding-bottom:16px}.home-v02 .hero-heading{margin-top:20px}.lead-layout{display:grid;grid-template-columns:minmax(0,3.25fr) minmax(255px,1fr);gap:16px;align-items:start}.lead-stories{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(210px,1fr);gap:13px;min-width:0}.lead-stories .hero-main .card-image{aspect-ratio:16/10}.lead-stories .hero-main h2{font-size:clamp(22px,2.2vw,32px);line-height:1.16}.lead-stories .hero-secondary{display:grid;grid-template-rows:1fr 1fr;gap:12px;min-width:0}.lead-stories .hero-secondary .card-image{aspect-ratio:16/8}.lead-stories .hero-secondary .card-body{padding:10px 12px}.lead-stories .hero-secondary h3{font-size:16px;line-height:1.23}.lead-stories .hero-secondary .meta{display:none}.headline-rail{background:#fff;border:1px solid var(--line);padding:12px 14px;min-width:0}.rail-title{font-size:12px;font-weight:800;letter-spacing:.07em;padding-bottom:10px;border-bottom:2px solid var(--navy);display:flex;align-items:center;gap:8px}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--blue);display:inline-block}.rail-story{display:grid;grid-template-columns:25px 1fr;gap:8px;border-bottom:1px solid var(--line);padding:10px 0}.rail-story:last-child{border-bottom:0}.rail-number{font-size:13px;color:var(--blue);font-weight:800}.rail-story h3{font-size:13px;line-height:1.32;margin:2px 0 4px}.rail-story .eyebrow{font-size:10px}.home-v02 .section-head{margin:23px 0 12px}.home-v02 .section-head h1,.home-v02 .section-head h2{font-size:19px}.home-v02 .news-grid{gap:13px}.home-v02 .card-body{padding:11px}.home-v02 .card h3{font-size:15px}.home-v02 .category-row .news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-v02 .category-row{margin-bottom:15px}.home-v02 .ad-placeholder{margin:20px 0}.masthead-inner{min-height:92px}.brand img{width:min(295px,65vw)}.nav a{padding:12px 13px}.card a:focus-visible,.nav a:focus-visible,.rail-story a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(max-width:1100px){.lead-layout{grid-template-columns:1fr}.headline-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.rail-title{grid-column:1/-1}.rail-story:nth-of-type(n+6){display:none}}
@media(max-width:760px){.lead-stories{grid-template-columns:1fr}.lead-stories .hero-secondary{grid-template-columns:1fr 1fr;grid-template-rows:auto}.headline-rail{grid-template-columns:1fr 1fr}.home-v02 .category-row .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-v02 .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.lead-stories .hero-secondary{grid-template-columns:1fr 1fr}.headline-rail{grid-template-columns:1fr}.rail-story:nth-of-type(n+6){display:grid}.home-v02 .hero-main h2{font-size:24px}.lead-stories .hero-secondary h3{font-size:14px}.home-v02 .section-head h1,.home-v02 .section-head h2{font-size:17px}.masthead-inner{min-height:74px}.brand img{width:min(260px,70vw)}}

/* AINSAN v0.3: photographic editorial front page */
body{background:#fff;color:#14243d}
.home-v03{padding-bottom:26px}
.home-v03 .hero-heading{margin-top:19px}
.home-v03 .lead-stories{gap:12px}
.home-v03 .lead-stories .card{position:relative;border:0;background:#edf3f9}
.home-v03 .lead-stories .card[data-featured-image="yes"]{isolation:isolate;min-height:230px}
.home-v03 .lead-stories .card[data-featured-image="yes"]>.card-body{position:absolute;inset:auto 0 0;z-index:1;padding:58px 18px 17px;background:linear-gradient(0deg,rgba(8,22,44,.94) 0%,rgba(8,22,44,.73) 48%,rgba(8,22,44,0) 100%)}
.home-v03 .lead-stories .card[data-featured-image="yes"] .card-body h2,.home-v03 .lead-stories .card[data-featured-image="yes"] .card-body h3,.home-v03 .lead-stories .card[data-featured-image="yes"] .card-body a{color:#fff}
.home-v03 .lead-stories .card[data-featured-image="yes"] .card-body .meta{color:#c9d8e8}
.home-v03 .lead-stories .card[data-featured-image="yes"] .eyebrow{color:#80d9fa}
.home-v03 .lead-stories .card[data-featured-image="yes"] .card-image{height:100%;min-height:230px;object-fit:cover}
.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"]{height:100%;min-height:440px}
.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"] .card-image{height:100%;min-height:440px;aspect-ratio:auto}
.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"] .card-image{aspect-ratio:auto}
.home-v03 .lead-stories .card[data-featured-image="no"] .card-image{background:#e7eef7}
.home-v03 .lead-stories .card[data-featured-image="no"] .card-body{padding:13px}
.home-v03 .lead-stories .hero-secondary{grid-template-rows:repeat(2,minmax(0,1fr))}
.home-v03 .lead-stories .hero-secondary .card{height:100%}
.home-v03 .ad-placeholder{min-height:54px;background:#fafbfe;border-color:#e5eaf2;color:#a4b0c2;font-size:10px;letter-spacing:.16em}
.home-v03 .section-head{border-bottom:1px solid #d9e2ee}
.home-v03 .section-head h1,.home-v03 .section-head h2{font-size:20px;font-weight:800}
.home-v03 .section-head:before{content:"";width:4px;height:20px;background:#2563eb;margin-right:7px}
.home-v03 .section-head h1,.home-v03 .section-head h2{margin-right:auto}
.home-v03 .headline-rail{border-color:#e3e9f1;background:#f8fafc}
.home-v03 .news-grid .card{border:0;border-bottom:1px solid #e3e9f1}
.home-v03 .news-grid .card-body{padding:10px 0 12px}
.home-v03 .news-grid .card-image{border-radius:3px}
.home-v03 .category-row{padding-top:4px}
@media(max-width:760px){.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"],.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"] .card-image{min-height:300px}.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"]{min-height:190px}.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"] .card-image{min-height:190px}.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"]>.card-body{padding:44px 11px 10px}}
@media(max-width:500px){.home-v03 .lead-stories .hero-secondary{grid-template-columns:1fr 1fr}.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"] .card-image{min-height:175px}.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"]{min-height:175px}.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"] .card-body h3{font-size:13px}.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"],.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"] .card-image{min-height:255px}.home-v03 .lead-stories .hero-main h2{font-size:22px}}

/* v0.3.1 hotfix: prevent featured images from determining grid row heights */
.home-v03 .lead-layout,.home-v03 .lead-stories,.home-v03 .hero-main,.home-v03 .hero-secondary{min-width:0;min-height:0}
.home-v03 .lead-stories{align-items:stretch}
.home-v03 .lead-stories .hero-main{min-height:0}
.home-v03 .lead-stories .hero-main>.card{height:100%;min-height:0}
.home-v03 .lead-stories .hero-secondary{grid-template-rows:repeat(2,minmax(0,1fr));min-height:0}
.home-v03 .lead-stories .hero-secondary>.card{position:relative;min-width:0;min-height:0;overflow:hidden}
.home-v03 .lead-stories .card[data-featured-image="yes"]{position:relative;overflow:hidden;min-height:0}
.home-v03 .lead-stories .card[data-featured-image="yes"]>a:first-child{position:absolute;inset:0;display:block;overflow:hidden}
.home-v03 .lead-stories .card[data-featured-image="yes"] .card-image,
.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"] .card-image,
.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"] .card-image{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover}
.home-v03 .lead-stories .hero-main .card[data-featured-image="yes"]{height:100%;min-height:430px}
.home-v03 .lead-stories .hero-secondary .card[data-featured-image="yes"]{height:100%;min-height:0}
.home-v03 .lead-stories .card[data-featured-image="yes"]>.card-body{pointer-events:none}
.home-v03 .lead-stories .card[data-featured-image="yes"]>.card-body a{pointer-events:auto}
@media(max-width:760px){
 .home-v03 .lead-stories .hero-main .card[data-featured-image="yes"]{min-height:310px}
 .home-v03 .lead-stories .hero-secondary{grid-template-rows:auto}
 .home-v03 .lead-stories .hero-secondary>.card[data-featured-image="yes"]{height:205px;min-height:205px}
}
@media(max-width:500px){
 .home-v03 .lead-stories .hero-main .card[data-featured-image="yes"]{min-height:265px}
 .home-v03 .lead-stories .hero-secondary>.card[data-featured-image="yes"]{height:180px;min-height:180px}
}


/* AINSAN News v0.4 — 1240px editorial layout and stable media cards */
:root{--bg:#fff;--line:#dfe6ef}
body{background:#fff}
.wrap{width:min(1240px,calc(100% - 40px))}
.masthead-inner{min-height:84px}
.brand img{width:min(275px,68vw)}
.home-v04 .section-head{margin:23px 0 12px}
.home-v04 .lead-layout{display:grid;grid-template-columns:minmax(0,3.6fr) minmax(265px,1fr);gap:16px;align-items:start}
.home-v04 .lead-stories{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:12px;min-height:0}
.home-v04 .hero-main,.home-v04 .hero-secondary{min-width:0;min-height:0}
.home-v04 .lead-stories .hero-main>.card{height:420px!important;min-height:0!important}
.home-v04 .lead-stories .hero-secondary{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;height:420px}
.home-v04 .lead-stories .hero-secondary>.card{height:204px!important;min-height:0!important}
.home-v04 .lead-stories .card{position:relative;overflow:hidden;min-width:0;isolation:isolate;border:0;border-radius:3px;background:#eaf0f7}
.home-v04 .lead-stories .card>a:first-child{position:absolute;inset:0;display:block;overflow:hidden}
.home-v04 .lead-stories .card .card-image{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important}
.home-v04 .lead-stories .card .card-body{position:absolute!important;inset:auto 0 0!important;z-index:1;padding:48px 15px 13px!important;background:linear-gradient(0deg,rgba(5,16,34,.94),rgba(5,16,34,.7) 58%,transparent)!important;pointer-events:none}
.home-v04 .lead-stories .card .card-body a{pointer-events:auto;color:#fff!important}
.home-v04 .lead-stories .card .card-body h2,.home-v04 .lead-stories .card .card-body h3{color:#fff!important;margin:5px 0;overflow-wrap:anywhere}
.home-v04 .lead-stories .hero-main .card h2{font-size:clamp(22px,2.1vw,30px);line-height:1.16}
.home-v04 .lead-stories .hero-secondary .card h3{font-size:15px;line-height:1.25}
.home-v04 .lead-stories .card .eyebrow{color:#8bdcf9!important}
.home-v04 .lead-stories .card .meta{color:#d3e0f0!important}
.home-v04 .headline-rail{background:#f8fafc;padding:13px 14px;min-height:420px}
.home-v04 .rail-story{padding:9px 0}
.home-v04 .rail-story h3{font-size:12px;line-height:1.32}
.home-v04 .news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.home-v04 .news-grid .card-image{aspect-ratio:16/9;object-fit:cover}
.home-v04 .news-grid .card h3{font-size:15px;line-height:1.35}
.home-v04 .news-grid .card .eyebrow{display:block;margin-top:2px}
.home-v04 .ad-placeholder{min-height:46px;margin:15px 0 18px}
.home-v04 .category-row{margin-bottom:19px}
@media(max-width:1100px){.home-v04 .lead-layout{grid-template-columns:1fr}.home-v04 .headline-rail{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.home-v04 .headline-rail .rail-title{grid-column:1/-1}.home-v04 .headline-rail .rail-story:nth-of-type(n+6){display:grid}}
@media(max-width:760px){.wrap{width:min(100% - 28px,1240px)}.home-v04 .lead-stories{grid-template-columns:1fr}.home-v04 .lead-stories .hero-main>.card{height:340px!important}.home-v04 .lead-stories .hero-secondary{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;height:190px}.home-v04 .lead-stories .hero-secondary>.card{height:190px!important}.home-v04 .news-grid,.home-v04 .category-row .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.home-v04 .lead-stories .hero-main>.card{height:275px!important}.home-v04 .lead-stories .hero-secondary{height:180px;gap:9px}.home-v04 .lead-stories .hero-secondary>.card{height:180px!important}.home-v04 .lead-stories .hero-secondary .card h3{font-size:12px;line-height:1.24}.home-v04 .lead-stories .hero-secondary .card .card-body{padding:36px 9px 9px!important}.home-v04 .headline-rail{grid-template-columns:1fr}.home-v04 .news-grid,.home-v04 .category-row .news-grid{gap:10px}.home-v04 .news-grid .card h3{font-size:13px}.home-v04 .lead-stories .hero-main .card h2{font-size:21px}}

/* AINSAN News v0.5 — scoped editorial corrections */
html{overflow-x:hidden}
body{min-width:320px}
body .wrap,body .site-container{width:calc(100% - 48px)!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important}
.home-v05{width:calc(100% - 48px)!important;max-width:1240px!important}
.home-v05 .lead-layout{grid-template-columns:minmax(0,3.55fr) minmax(270px,1fr);gap:16px}
.home-v05 .lead-stories{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:12px}
.home-v05 .lead-stories .hero-main>.card{height:392px!important}
.home-v05 .lead-stories .hero-secondary{height:392px;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.home-v05 .lead-stories .hero-secondary>.card{height:190px!important}
.home-v05 .lead-stories .card .card-body{width:100%;max-width:100%;padding:52px 18px 15px!important;background:linear-gradient(0deg,rgba(4,15,33,.98) 0%,rgba(4,15,33,.78) 54%,transparent 100%)!important}
.home-v05 .lead-stories .hero-main h2{font-size:clamp(21px,1.85vw,28px);line-height:1.2;max-width:95%;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.home-v05 .lead-stories .hero-secondary h3{font-size:14px;line-height:1.25;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.home-v05 .lead-stories .card .meta{font-size:10px}
.home-v05 .headline-rail{min-height:392px;background:#f8fafc}
.home-v05 .rail-story h3{font-size:12px}
.home-v05 .news-grid .card{border:0;border-bottom:1px solid var(--line);background:#fff}
.home-v05 .news-grid .card-image{aspect-ratio:16/9;width:100%;object-fit:cover}
.home-v05 .news-grid .card-body{padding:10px 0 12px}
.home-v05 .news-grid .card h3{font-size:15px;line-height:1.35}
.home-v05 .section-head{border-bottom:1px solid #dce4ed;padding-bottom:9px}
.home-v05 .section-head h1,.home-v05 .section-head h2{font-size:20px}
.home-v05 .ad-placeholder{min-height:42px;background:#fff;border-color:#e7edf4;color:#a5b0be}
.home-v05 .rail-story .meta{display:block}
.home-v05 .lead-stories .card .card-body a:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(min-width:1400px){body .wrap,body .site-container,.home-v05{max-width:1240px!important}}
@media(max-width:1100px){.home-v05 .lead-layout{grid-template-columns:1fr}.home-v05 .headline-rail{min-height:0}}
@media(max-width:760px){body .wrap,body .site-container,.home-v05{width:calc(100% - 28px)!important}.home-v05 .lead-stories{grid-template-columns:1fr}.home-v05 .lead-stories .hero-main>.card{height:310px!important}.home-v05 .lead-stories .hero-secondary{height:180px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr}.home-v05 .lead-stories .hero-secondary>.card{height:180px!important}}
@media(max-width:500px){.home-v05 .lead-stories .hero-main>.card{height:270px!important}.home-v05 .lead-stories .hero-secondary{height:170px}.home-v05 .lead-stories .hero-secondary>.card{height:170px!important}.home-v05 .lead-stories .hero-main h2{font-size:21px}.home-v05 .lead-stories .hero-secondary h3{font-size:12px}}

/* AINSAN News 0.6 - editorial homepage: isolated from previous legacy layouts */
.v06-home{padding-bottom:32px}
.v06-home .section-head{margin:24px 0 13px}
.v06-ticker{display:flex;align-items:center;gap:14px;background:#f5f8fc;border:1px solid #e0e8f3;margin:16px 0 0;min-height:43px;overflow:hidden}
.v06-ticker-label{align-self:stretch;display:flex;align-items:center;background:#d82736;color:#fff;font-weight:800;font-size:12px;letter-spacing:.04em;padding:0 14px;white-space:nowrap}
.v06-ticker-window{min-width:0;flex:1;overflow:hidden}
.v06-ticker-track{display:flex;gap:30px;align-items:center;overflow-x:auto;scrollbar-width:thin;padding:8px 0;font-size:13px;font-weight:650}
.v06-ticker-track a{flex:none;white-space:nowrap}.v06-ticker-track a:before{content:'●';color:#d82736;font-size:7px;margin-right:9px}
.v06-lead-layout{display:grid;grid-template-columns:minmax(0,3.45fr) minmax(240px,1fr);gap:14px;align-items:stretch}
.v06-lead-main{min-width:0;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:12px;height:414px}
.v06-slider{position:relative;min-width:0;min-height:0;background:#10213c;overflow:hidden;border-radius:3px}
.v06-slide{position:absolute;inset:0;display:none}.v06-slide.is-active{display:block}
.v06-slide .v06-image-link{position:absolute;inset:0}.v06-photo{display:block;width:100%;height:100%;object-fit:cover}
.v06-slide .v06-slide-info{position:absolute;bottom:0;left:0;right:0;padding:78px 20px 48px;background:linear-gradient(0deg,rgba(4,14,32,.97),rgba(4,14,32,.68) 57%,transparent);pointer-events:none}
.v06-slide-info a{pointer-events:auto;color:white}.v06-slide-info h2{font-size:clamp(20px,2vw,29px);line-height:1.17;margin:7px 0}.v06-slide-info .v06-kicker{color:#90e3fb}
.v06-slider-controls{position:absolute;bottom:11px;left:16px;right:16px;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:8px}
.v06-slider-buttons{display:flex;gap:7px}.v06-slider button{border:1px solid #8a9cb5;background:rgba(5,18,38,.82);color:white;border-radius:3px;padding:5px 10px;cursor:pointer;font-size:16px}.v06-slider button:hover{background:#2563eb}.v06-slider-dots{display:flex;gap:6px;flex-wrap:wrap}.v06-slider-dots button{border-radius:99px;width:8px;height:8px;padding:0;border:0;background:#a5b6ca}.v06-slider-dots button[aria-current="true"]{background:#39b5ed;width:23px}
.v06-secondary{min-width:0;display:grid;grid-template-rows:1fr 1fr;gap:12px;min-height:0}
.v06-secondary .v06-tile{position:relative;min-height:0;overflow:hidden;border-radius:3px;background:#e7eef7}
.v06-secondary .v06-image-link{position:absolute;inset:0}
.v06-secondary .v06-tile-text{position:absolute;bottom:0;left:0;right:0;padding:38px 12px 11px;background:linear-gradient(0deg,rgba(5,17,37,.96),rgba(5,17,37,.72) 60%,transparent);pointer-events:none}
.v06-secondary .v06-tile-text a{pointer-events:auto;color:white}.v06-secondary .v06-tile h3{font-size:15px;line-height:1.25;margin:4px 0}.v06-secondary .v06-kicker{color:#9bdff6}.v06-secondary time{display:none}
.v06-kicker{display:block;color:#2563eb;font-size:10px;letter-spacing:.06em;font-weight:800;text-transform:uppercase}
.v06-latest{border:1px solid #e0e6ef;background:#f8fafc;min-width:0;padding:12px 14px;height:414px;overflow:auto}
.v06-latest h2{margin:0 0 7px;font-size:13px;letter-spacing:.05em;border-bottom:2px solid #14243d;padding-bottom:10px}
.v06-latest-item{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid #dfe6f0}.v06-latest-item:last-child{border:0}
.v06-latest-num{font-size:13px;color:#2563eb;font-weight:800}.v06-latest-item h3{font-size:12px;line-height:1.34;margin:0 0 4px}.v06-latest-item time{font-size:10px;color:#63748c}
.v06-home .ad-placeholder{min-height:45px;margin:15px 0 22px;background:white}
.v06-home .news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.v06-home .v06-tile-standard{min-width:0;border-bottom:1px solid #e0e7f0;padding-bottom:12px}
.v06-home .v06-tile-standard .v06-image-link{display:block;aspect-ratio:16/9;overflow:hidden;background:#e6edf6}
.v06-home .v06-tile-standard .v06-tile-text{padding-top:10px}
.v06-home .v06-tile-standard h3{font-size:15px;line-height:1.34;margin:4px 0 7px}.v06-home .v06-tile-standard time{font-size:10px;color:#69798e}
.v06-category{margin-top:27px}.v06-category .section-head{margin-bottom:13px}
.v06-category:nth-of-type(even) .v06-tile-standard:first-child{grid-column:span 2;display:grid;grid-template-columns:1.1fr 1fr;gap:12px;align-items:center}.v06-category:nth-of-type(even) .v06-tile-standard:first-child .v06-image-link{height:100%;min-height:145px}
.v06-home a:focus-visible,.v06-home button:focus-visible{outline:3px solid #3a9fff;outline-offset:2px}
.v06-article-wrap{padding-top:22px}.v06-breadcrumbs{font-size:12px;color:#68778e;margin:10px 0}.v06-breadcrumbs a{color:#2563eb}
.v06-article .article{margin:0;padding:clamp(20px,3.6vw,40px)}.v06-article .article h1{font-size:clamp(29px,3.4vw,43px);line-height:1.14}
.v06-article .article .featured{margin:20px 0 8px;max-height:600px}.v06-article .v06-article-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#63748c;margin:15px 0}
.v06-article .v06-share{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0;border-top:1px solid #e3e9f1;padding-top:16px}.v06-article .v06-share a{border:1px solid #dbe4f0;border-radius:3px;padding:8px 12px;font-size:12px;font-weight:700;color:#17345c}
.v06-article .v06-related{margin-top:24px}.v06-article .v06-related .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1050px){.v06-lead-layout{grid-template-columns:1fr}.v06-latest{height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.v06-latest h2{grid-column:1/-1}}
@media(max-width:760px){.v06-lead-main{grid-template-columns:1fr;height:auto}.v06-slider{height:345px}.v06-secondary{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;height:190px}.v06-home .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v06-category:nth-of-type(even) .v06-tile-standard:first-child{grid-column:auto;display:block}.v06-category:nth-of-type(even) .v06-tile-standard:first-child .v06-image-link{height:auto;min-height:0}}
@media(max-width:520px){.v06-slider{height:295px}.v06-slide .v06-slide-info{padding:58px 13px 46px}.v06-slide-info h2{font-size:21px}.v06-secondary{height:165px;gap:9px}.v06-secondary .v06-tile h3{font-size:12px}.v06-secondary .v06-tile-text{padding:29px 9px 8px}.v06-latest{grid-template-columns:1fr}.v06-ticker-label{padding:0 8px;font-size:10px}.v06-ticker-track{font-size:12px}.v06-home .news-grid{gap:10px}.v06-home .v06-tile-standard h3{font-size:13px}.v06-article .v06-related .news-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.v06-slider *{scroll-behavior:auto!important}}

/* AINSAN News v0.7 — stable, compact editorial layout */
.v07-home{padding-bottom:56px}
.v07-home .v06-lead-layout{grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start}
.v07-home .v06-lead-main{height:410px;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:12px}
.v07-home .v06-slider{height:410px}
.v07-home .v06-secondary{height:410px;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.v07-home .v06-secondary .v06-tile{height:199px}
.v07-home .v06-latest{height:410px;overflow:auto}
.v07-home .v06-home .section-head{margin-top:18px}
.v07-home .news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.v07-home .news-grid>.v06-tile{width:auto;min-width:0;grid-column:auto;display:block;max-width:none}
.v07-home .news-grid>.v06-tile .v06-image-link{display:block;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
.v07-home .news-grid>.v06-tile .v06-photo{width:100%;height:100%;object-fit:cover}
.v07-home .news-grid>.v06-tile .v06-tile-text{position:static;background:transparent;padding:9px 0 10px;pointer-events:auto}
.v07-home .news-grid>.v06-tile .v06-tile-text a{color:var(--ink)}
.v07-home .news-grid>.v06-tile h3{font-size:15px;line-height:1.33;margin:4px 0 7px}
.v07-home .v06-category{margin-top:20px}
.v07-home .v06-category .section-head{margin:18px 0 12px}
.v07-home .v06-category:nth-of-type(even) .v06-tile-standard:first-child{grid-column:auto;display:block}
.v07-home .v06-category:nth-of-type(even) .v06-tile-standard:first-child .v06-image-link{height:auto;min-height:0}
.v07-home .v06-category .news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.v07-home .v06-category .news-grid:has(> :only-child){grid-template-columns:minmax(0,300px)}
.v07-home .v06-category .news-grid:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,300px))}
.v07-home .v06-category .news-grid:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,300px))}
.v07-home .v06-slide-info h2{text-shadow:0 2px 3px rgba(0,0,0,.45)}
.v07-home .v06-slide .v06-slide-info{padding-bottom:51px}
@media(max-width:1050px){
 .v07-home .v06-lead-layout{grid-template-columns:1fr}
 .v07-home .v06-latest{height:auto;max-height:300px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
 .v07-home .v06-latest h2{grid-column:1/-1}
}
@media(max-width:760px){
 .v07-home .v06-lead-main{height:auto;grid-template-columns:1fr}
 .v07-home .v06-slider{height:340px}
 .v07-home .v06-secondary{height:180px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr}
 .v07-home .v06-secondary .v06-tile{height:180px}
 .v07-home .news-grid,.v07-home .v06-category .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v07-home .v06-category .news-grid:has(> :only-child){grid-template-columns:minmax(0,1fr)}
 .v07-home .v06-category .news-grid:has(> :nth-child(2):last-child),.v07-home .v06-category .news-grid:has(> :nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .v07-home .v06-slider{height:300px}
 .v07-home .v06-secondary{height:152px;gap:8px}
 .v07-home .v06-secondary .v06-tile{height:152px}
 .v07-home .v06-latest{grid-template-columns:1fr;max-height:360px}
 .v07-home .news-grid,.v07-home .v06-category .news-grid{gap:12px}
 .v07-home .news-grid>.v06-tile h3{font-size:13px}
}

/* Dijital Gölge v0.8 — turquoise / ice-blue editorial visual system */
:root{--navy:#187e9e;--blue:#168eae;--cyan:#19c2cd;--ink:#303b45;--muted:#687681;--line:#d8e7eb;--bg:#f1f8fa;--red:#df5264}
body{background:var(--bg);color:var(--ink)}
.topbar{background:linear-gradient(110deg,#16bfc9 0%,#36b6e5 100%);color:#173e4d}
.masthead{background:linear-gradient(108deg,#dcf9f9 0%,#e7f6ff 100%);border-bottom:1px solid #bfeaf0}
.masthead-inner{min-height:130px}.brand img{width:min(360px,75vw)}
.masthead-right{color:#586b76}
.nav{background:linear-gradient(105deg,#1bb9c7,#2ba9dc);color:#183946}
.nav a{color:#173c49}.nav a:hover,.nav .current-menu-item>a{background:rgba(255,255,255,.35);color:#243d46}
.menu-toggle{color:#263f4a}.search-form input{background:#f6fcfd;border-color:#b7e3ea;color:#303b45}
.search-form button,.btn{background:#247d99;color:white}
.ticker,.card,.sidebar-box,.article,.list-story,.headline-rail{background:#fff;border-color:var(--line)}
.section-head{border-bottom-color:#86dbe5}.section-head h1,.section-head h2,.card h2,.card h3,.list-story h3,.article h1,.rail-story h3{color:#303b45}
.home-v03 .section-head:before{background:#19c2cd}
.eyebrow,.v06-kicker,.rail-number,.section-head a{color:#168eae}
.meta,.card p,.article .lead,.masthead-right{color:#687681}
.footer{background:linear-gradient(120deg,#177c97,#1c9db6);color:#e6f6fa}
.footer h3{color:#fff}.footer-bottom{border-top-color:#69b8c8}
.ad-placeholder{background:#eaf7f9;color:#80969d;border-color:#c7e5eb}
.card-image{background:#e5f3f6}
/* Keep white overlay text legible on photographic hero cards */
.home-v03 .lead-stories .card[data-featured-image="yes"] .card-body h2,
.home-v03 .lead-stories .card[data-featured-image="yes"] .card-body h3,
.home-v03 .lead-stories .card[data-featured-image="yes"] .card-body a{color:#fff}
@media(max-width:650px){.masthead-inner{min-height:100px}.brand img{width:min(310px,78vw)}}


/* Dijital Gölge v0.8.1 — Ocean turquoise / micro water-ripple finish */
:root{--navy:#087d9e;--blue:#087fae;--cyan:#16b7cd;--ink:#303b45;--muted:#687681;--line:#d8eaf0;--bg:#eff9fc;--red:#e34252}
body{color:var(--ink);background:linear-gradient(180deg,#a8e5f2 0,#e9f8fc 440px,#f5fbfd 850px,#f5fbfd 100%)}
.topbar{background:linear-gradient(100deg,#15b9cd,#40b9e4);color:#254a5a}
.masthead{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(112deg,#17b6cb 0%,#42b9e4 60%,#81d8ee 100%);border-bottom:1px solid rgba(255,255,255,.42)}
.masthead:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/img/water-ripples.svg') center center / 760px auto repeat;opacity:.45;pointer-events:none}
.masthead:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 60% 25%,rgba(255,255,255,.18),transparent 60%);pointer-events:none}
.masthead-inner{min-height:148px}.masthead-right{color:#315565;font-weight:600}
.nav{background:linear-gradient(100deg,rgba(223,250,253,.93),rgba(239,250,255,.94));color:#303b45;border-bottom:1px solid #c7edf5;box-shadow:0 5px 22px rgba(25,109,142,.10)}
.nav-inner{gap:10px}.nav a{color:#344752}.nav a:hover,.nav .current-menu-item>a{background:#c3edf4;color:#075e80}.menu-toggle{color:#344752}
.search-form input{border-radius:24px;background:#f8feff;border-color:#b8e4ed}.search-form button{border-radius:24px;background:#0798b8}
.ticker,.headline-rail,.sidebar-box,.article,.list-story,.card{background:rgba(255,255,255,.96);border-color:#dcebf0;border-radius:13px;box-shadow:0 5px 20px rgba(26,89,118,.08)}
.v07-home .v06-latest,.v07-home .v06-tile,.v07-home .v06-category .v06-tile{border-radius:13px;overflow:hidden}
.v07-home .v06-latest{background:rgba(255,255,255,.96);box-shadow:0 6px 22px rgba(26,89,118,.09)}
.v07-home .v06-slider{border-radius:15px;overflow:hidden;box-shadow:0 9px 26px rgba(18,87,118,.16)}
.section-head h1,.section-head h2,.card h2,.card h3,.list-story h3,.article h1,.rail-story h3,.v07-home .v06-category h2{color:#303b45}
.card p,.meta,.article .lead,.list-story p{color:#687681}
.section-head{border-bottom-color:#b1dfe9}.section-head:before,.home-v03 .section-head:before{background:#12a6c5}
.eyebrow,.v06-kicker,.rail-number,.section-head a{color:#087fae}
.footer{background:linear-gradient(110deg,#126b88,#198eae);color:#e3f5fa}
.footer-bottom{border-top-color:#68b6cb}
@media(max-width:650px){.masthead-inner{min-height:105px}.masthead:before{background-size:530px auto}.nav-inner{padding:4px 0}}

/* v0.8.2 — Currency rates in the masthead corner */
.masthead-right{max-width:none;text-align:left}
.dg-fx{display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;padding:11px 14px;border:1px solid rgba(255,255,255,.65);background:rgba(244,252,254,.83);border-radius:13px;box-shadow:0 5px 17px rgba(19,95,127,.10);backdrop-filter:blur(8px);color:#34424c;font-size:12px}
.dg-fx-heading{font-size:11px;font-weight:800;letter-spacing:.07em;color:#157f9e;white-space:nowrap}.dg-fx-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#21b4ca;vertical-align:middle}
.dg-fx-item{white-space:nowrap;display:flex;gap:6px;align-items:center;color:#697b86}.dg-fx-item strong{color:#303b45;font-size:13px;font-variant-numeric:tabular-nums}
.dg-fx-update{font-size:10px;color:#6d7f8b;white-space:nowrap}.dg-fx-unavailable{color:#647784}
@media(max-width:900px){.masthead-inner{flex-wrap:wrap;padding:10px 0}.masthead-right{display:block;width:100%}.dg-fx{justify-content:center}}
@media(max-width:500px){.dg-fx{gap:6px 11px;padding:9px}.dg-fx-item strong{font-size:12px}.dg-fx-update{width:100%;text-align:center}}

/* v0.8.3 market strip */
.dg-fx{max-width:760px;justify-content:flex-end;gap:7px 12px}.dg-fx-heading{margin-right:4px}.dg-fx-update{flex-basis:100%;text-align:right}@media(max-width:900px){.dg-fx{max-width:none;justify-content:center}.dg-fx-update{text-align:center}}

/* v0.8.4 — compact header market ticker */
.masthead-right{max-width:660px}
.dg-fx{max-width:660px;gap:5px 9px;padding:7px 10px;border-radius:10px;font-size:10px;box-shadow:0 3px 10px rgba(19,95,127,.08)}
.dg-fx-heading{font-size:10px;letter-spacing:.035em;margin-right:1px}
.dg-fx-item{gap:4px;font-size:10px}
.dg-fx-item strong{font-size:11px}
.dg-fx-update{font-size:9px;line-height:1.25;margin-top:1px}
@media(max-width:900px){.masthead-right,.dg-fx{max-width:100%}.dg-fx{justify-content:center}}
@media(max-width:500px){.dg-fx{gap:5px 8px;padding:7px}.dg-fx-item strong{font-size:11px}}


/* v0.9: reference-aligned visual rebuild; original WP queries and slider retained */
:root{--ink:#24394a;--muted:#758694;--line:#e0edf2;--bg:#f7fbfd;--cyan:#0aaac4}
body{font-family:Arial,Helvetica,sans-serif;background:linear-gradient(180deg,#64cbe5 0,#c5eff7 330px,#f6fbfd 820px,#f8fbfd 100%);color:var(--ink)}
.wrap{width:min(1370px,calc(100% - 52px))}
.topbar{background:#29b8d2;color:#13475b}.topbar .wrap{padding:5px 0;font-size:11px}
.masthead{background:linear-gradient(105deg,#2ac0d6 0%,#53c5e4 55%,#a1e4f3 100%);border:0;min-height:132px}
.masthead:before{background-image:url('assets/img/water-ripples.svg');background-size:440px auto;opacity:.28;filter:contrast(.72)}
.masthead:after{background:radial-gradient(ellipse at 45% 8%,rgba(255,255,255,.34),transparent 55%)}
.masthead-inner{min-height:132px}.brand img{width:min(415px,60vw)!important;max-height:115px;object-fit:contain}
.masthead-right{max-width:720px}
.nav{background:transparent;box-shadow:none;border:0;position:relative;z-index:2;margin-top:-2px}
.nav-inner{background:rgba(239,252,255,.92);border:3px solid rgba(255,255,255,.9);border-radius:34px;padding:0 10px;box-shadow:0 6px 22px rgba(11,106,143,.13);min-height:52px}
.nav ul{flex-wrap:nowrap;overflow:hidden}.nav a{padding:14px 12px;font-size:12px;white-space:nowrap;color:#21465c}
.nav a:hover,.nav .current-menu-item>a{border-radius:22px;background:#bdebf3}
.search-form input{background:#eaf7fa;border:0;min-width:150px}.search-form button{background:#0ca9c6;border-radius:50%;width:35px;height:35px;padding:0}
.v07-home{padding-top:0}.v07-home>.section-head:first-of-type{display:none}
.v07-home .v06-lead-layout{grid-template-columns:minmax(0,2.05fr) minmax(320px,1fr);gap:16px;margin-top:17px;align-items:stretch}
.v07-home .v06-lead-main{display:block;height:410px;min-width:0}
.v07-home .v06-slider{height:410px;border:4px solid rgba(255,255,255,.95);border-radius:20px;box-shadow:0 9px 28px rgba(21,96,129,.16)}
.v07-home .v06-secondary{display:none}
.v07-home .v06-slide-info{padding:18px 28px 34px}
.v07-home .v06-slide-info h2{font-size:clamp(23px,2.4vw,37px);line-height:1.14;max-width:720px}
.v07-home .v06-latest{height:410px;max-height:410px;display:block;overflow:hidden;border-radius:21px;padding:20px 24px;background:rgba(255,255,255,.93);box-shadow:0 7px 24px rgba(24,101,131,.10)}
.v07-home .v06-latest h2{font-size:20px;color:#24394a;border:0;margin:0 0 10px;padding:0}
.v07-home .v06-latest-item{padding:8px 0;border-bottom:1px solid #e4edf2;gap:8px}
.v07-home .v06-latest-item h3{font-size:12px;line-height:1.35}.v07-home .v06-latest-num{color:#0caac9;font-size:11px}
.v07-home .ad-placeholder{display:none}
.v07-home .section-head{border:0;margin:21px 0 12px;padding:0}
.v07-home .section-head h2{font-size:23px;font-weight:800;letter-spacing:-.03em}
.v07-home .section-head h2:before{content:'';display:inline-block;width:7px;height:25px;border-radius:5px;background:#0ba9c3;margin-right:14px;vertical-align:-5px}
.v07-home .news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v07-home .news-grid>.v06-tile{border:0;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(32,99,127,.08);overflow:hidden}
.v07-home .news-grid>.v06-tile .v06-image-link{height:135px;min-height:0}
.v07-home .news-grid>.v06-tile .v06-tile-text{padding:10px 15px 14px}
.v07-home .news-grid>.v06-tile h3{font-size:16px;color:#253849;line-height:1.3}
.v07-home .news-grid>.v06-tile .v06-kicker{background:#0daac3;color:#fff;border-radius:20px;padding:4px 10px;font-size:10px}
.v07-home .v06-category{margin-top:24px}
.dg-fx{max-width:720px;display:flex;flex-wrap:wrap;gap:5px 10px;justify-content:flex-end;align-items:center;background:rgba(255,255,255,.81);padding:10px 14px;border-radius:15px;box-shadow:0 4px 14px rgba(20,99,130,.08)}
.dg-fx-heading{color:#087f9e;font-weight:800;font-size:11px}.dg-fx-item{white-space:nowrap;font-size:10px;color:#657783}.dg-fx-item strong{color:#24394a;font-size:11px}.dg-fx-update{flex-basis:100%;font-size:9px;color:#71858e;text-align:right}
@media(max-width:1000px){.v07-home .v06-lead-layout{grid-template-columns:1fr}.v07-home .v06-latest{height:auto;max-height:none;display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px}.v07-home .v06-latest h2{grid-column:1/-1}.masthead-inner{gap:12px}.masthead-right{max-width:58%}.nav ul{flex-wrap:wrap}.v07-home .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.wrap{width:calc(100% - 24px)}.masthead-inner{min-height:110px}.masthead-right{display:none}.brand img{width:min(330px,80vw)!important}.nav-inner{border-radius:20px;display:block}.nav ul{display:none}.nav ul.is-open{display:flex;flex-direction:column}.v07-home .v06-lead-main,.v07-home .v06-slider{height:340px}.v07-home .v06-latest{grid-template-columns:1fr}.v07-home .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v07-home .news-grid>.v06-tile .v06-image-link{height:110px}.v07-home .news-grid>.v06-tile h3{font-size:13px}.v07-home .v06-slide-info h2{font-size:24px}}


/* Digital Golge v1.0 — clean visual rebuild. Overrides legacy v0.x rules. */
:root{--ink:#263c4d;--muted:#758795;--cyan:#0aabc4;--line:#e4edf1;--bg:#f6fbfd}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#77d8ec 0,#b9ebf5 310px,#f2f9fc 710px,#f8fbfd 1050px);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
.wrap{width:min(1390px,calc(100% - 64px));max-width:none}
.topbar{background:rgba(21,166,195,.76);border:0}.topbar .wrap{font-size:11px;padding:7px 0}
.masthead{min-height:142px;background:linear-gradient(105deg,#1bb9d2,#4ac9e8 53%,#9ce3f2);overflow:visible;isolation:isolate}
.masthead:before{background:url('assets/img/water-caustics.svg') center center/1300px 310px repeat;opacity:.45;filter:none;z-index:-1}
.masthead:after{background:radial-gradient(ellipse at 15% 2%,rgba(255,255,255,.4),transparent 42%),radial-gradient(ellipse at 88% 8%,rgba(255,255,255,.3),transparent 44%);z-index:-1}
.masthead-inner{min-height:142px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:8px 0}
.brand{display:block;flex:0 0 auto}.brand img,.masthead .brand img{display:block;width:455px!important;max-width:100%;height:auto;max-height:130px;object-fit:contain;object-position:left center}
.masthead-right{display:block;flex:0 1 710px;max-width:710px!important;min-width:0}
.dg-fx{display:flex;align-items:center;justify-content:flex-end;gap:7px 11px;flex-wrap:wrap;padding:10px 15px;border-radius:15px;background:rgba(245,253,255,.85);border:1px solid rgba(255,255,255,.75);box-shadow:0 5px 17px rgba(14,97,123,.09);backdrop-filter:blur(7px)}
.dg-fx-heading{font-size:11px;color:#0787a7;letter-spacing:.06em}.dg-fx-item{display:inline-flex;gap:4px;align-items:baseline;font-size:10px;color:#657986}.dg-fx-item strong{font-size:11px;color:#293e4b}.dg-fx-update{font-size:9px;flex-basis:100%;text-align:right;color:#708995}
.nav{margin:0;background:transparent;border:0;box-shadow:none;position:relative;z-index:5}.nav-inner{background:rgba(247,253,255,.92);border:3px solid #fff;border-radius:32px;min-height:54px;box-shadow:0 7px 20px rgba(12,105,133,.13);display:flex;align-items:center;gap:10px;padding:3px 8px}
.nav ul{display:flex;align-items:center;flex:1;min-width:0;gap:0;overflow:visible;flex-wrap:wrap}.nav li{list-style:none}.nav a{font-size:12px;font-weight:700;color:#244b60;padding:10px 12px;white-space:nowrap}.nav a:hover,.nav .current-menu-item>a{background:#d2f3f8;border-radius:22px}.search-form{margin-left:auto;flex:0 0 auto}.search-form input{border-radius:24px;background:#eff9fc;border:0;max-width:175px}.search-form button{background:#0ba8c3;border-radius:50%;width:34px;height:34px}
.v07-home{padding-top:16px;padding-bottom:80px}.v07-home>.section-head:first-of-type{display:none}
.v07-home .v06-lead-layout{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(330px,1fr);gap:17px;margin:0;align-items:stretch}
.v07-home .v06-lead-main{display:block;height:410px;min-width:0}
.v07-home .v06-slider{height:410px;position:relative;border:4px solid white;border-radius:20px;overflow:hidden;box-shadow:0 8px 25px rgba(19,95,122,.14)}
/* Hide every inactive slide fully, including its caption and images. */
.v07-home .v06-slider .v06-slide{display:none!important;position:absolute!important;inset:0;visibility:hidden;opacity:0;pointer-events:none}
.v07-home .v06-slider .v06-slide.is-active{display:block!important;visibility:visible;opacity:1;pointer-events:auto;z-index:1}
.v07-home .v06-slider .v06-slide .v06-image-link{display:block;position:absolute;inset:0}
.v07-home .v06-slider .v06-slide .v06-photo{width:100%;height:100%;object-fit:cover}
.v07-home .v06-slider .v06-slide .v06-slide-info{position:absolute;bottom:0;left:0;right:0;padding:100px 30px 43px;background:linear-gradient(0deg,rgba(2,14,23,.91),rgba(2,14,23,.42) 54%,transparent);z-index:2;pointer-events:none}
.v07-home .v06-slider .v06-slide-info a{pointer-events:auto;color:#fff;text-decoration:none}.v07-home .v06-slide-info h2{font-size:clamp(24px,2.6vw,38px);line-height:1.13;margin:8px 0 9px;max-width:700px;color:white;text-shadow:0 2px 9px rgba(0,0,0,.24)}
.v07-home .v06-slider .v06-kicker{display:inline-block;background:#0baac3;border-radius:20px;color:#fff;font-size:11px;font-weight:800;padding:5px 12px}
.v07-home .v06-slider .meta{color:#e1eaf0;font-size:11px}
.v07-home .v06-slider-controls{z-index:4;bottom:12px;left:25px;right:18px}.v07-home .v06-slider-buttons button{border:0;border-radius:50%;width:37px;height:37px;background:rgba(239,251,255,.89);color:#075b77;font-size:23px;padding:0}.v07-home .v06-slider-dots button{background:#8cabb9}.v07-home .v06-slider-dots button[aria-current=true]{background:#fff;width:30px}
.v07-home .v06-secondary{display:none!important}
.v07-home .v06-latest{height:410px;max-height:410px;overflow:hidden;display:block;padding:20px 25px;background:rgba(255,255,255,.94);border:1px solid #e8f0f4;border-radius:20px;box-shadow:0 8px 24px rgba(22,96,127,.09)}
.v07-home .v06-latest h2{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:800;line-height:1.3;color:#263c4d;margin:0 0 8px;padding:0 0 10px;border-bottom:1px solid #e8eff3}
.dg-bolt{color:#f04b50;font-size:27px;line-height:1}.dg-all-news{margin-left:auto;font-size:11px!important;font-weight:400;color:#0aa5c0!important;white-space:nowrap}
.v07-home .v06-latest-item{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid #e8eff3}
.v07-home .v06-latest-num{font-size:11px;color:#0ba5c2;padding-top:2px}.v07-home .v06-latest-item:first-of-type .v06-latest-num{color:#f04b50}
.v07-home .v06-latest-item h3{font-size:12px;line-height:1.35;font-weight:600;margin:0}.v07-home .v06-latest-item time{display:none}
.v07-home .ad-placeholder{display:none}
.v07-home .section-head{border:0;margin:23px 0 13px;padding:0}.v07-home .section-head h2{font-size:24px;font-weight:800;letter-spacing:-.02em;color:#24394a}
.v07-home .section-head h2:before{content:'';display:inline-block;width:7px;height:26px;border-radius:5px;background:#0ba9c3;margin-right:14px;vertical-align:-5px}
.v07-home .news-grid,.v07-home .v06-category .news-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.v07-home .news-grid>.v06-tile{position:relative;display:flex;flex-direction:column;min-width:0;max-width:none;border:1px solid #edf3f6;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 7px 20px rgba(27,94,121,.07)}
.v07-home .news-grid>.v06-tile .v06-image-link{display:block;width:100%;height:auto;aspect-ratio:2.35/1;overflow:hidden;background:#e3f0f5}.v07-home .news-grid>.v06-tile .v06-photo{width:100%;height:100%;object-fit:cover;transition:transform .3s}.v07-home .news-grid>.v06-tile:hover .v06-photo{transform:scale(1.04)}
.v07-home .news-grid>.v06-tile .v06-tile-text{position:relative;flex:1;background:transparent;padding:11px 16px 15px}
.v07-home .news-grid>.v06-tile .v06-kicker{display:inline-block;position:relative;background:#0daec4;color:white;border-radius:15px;font-size:10px;font-weight:800;padding:4px 11px;margin-top:-23px;vertical-align:top;z-index:1}
.v07-home .news-grid>.v06-tile h3{font-size:16px;line-height:1.3;font-weight:800;margin:6px 0 10px}.v07-home .news-grid>.v06-tile h3 a{color:#253b4c}.v07-home .news-grid>.v06-tile time{font-size:11px;color:#8497a4}
.v07-home .v06-category{margin-top:30px}
@media(max-width:1150px){.masthead .brand img{width:340px!important}.masthead-right{flex-basis:630px}.v07-home .v06-lead-layout{grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr)}.nav a{padding:9px 8px}}
@media(max-width:900px){.wrap{width:calc(100% - 34px)}.masthead-inner{flex-wrap:wrap;padding:12px 0}.masthead-right{flex:1 1 100%;max-width:100%!important}.dg-fx{justify-content:center}.dg-fx-update{text-align:center}.v07-home .v06-lead-layout{grid-template-columns:1fr}.v07-home .v06-latest{height:auto;max-height:none;display:block}.v07-home .news-grid,.v07-home .v06-category .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.wrap{width:calc(100% - 24px)}.topbar .wrap span:last-child{display:none}.masthead-inner{min-height:110px;gap:5px}.masthead .brand img{width:min(360px,90vw)!important}.masthead-right{display:block!important;max-width:100%!important}.dg-fx{gap:5px 9px;padding:8px}.dg-fx-update{display:none}.nav-inner{border-radius:20px;flex-wrap:wrap}.nav ul{display:none}.nav ul.is-open{display:flex;flex-direction:column;align-items:stretch;flex-basis:100%}.nav .menu-toggle{display:block}.search-form{margin-left:auto}.v07-home .v06-lead-main,.v07-home .v06-slider{height:340px}.v07-home .v06-slider .v06-slide .v06-slide-info{padding:75px 17px 45px}.v07-home .v06-slide-info h2{font-size:24px}.v07-home .news-grid,.v07-home .v06-category .news-grid{gap:11px}.v07-home .news-grid>.v06-tile h3{font-size:13px}.v07-home .news-grid>.v06-tile .v06-tile-text{padding:9px 10px 12px}.v07-home .section-head h2{font-size:20px}}
@media(max-width:400px){.v07-home .v06-lead-main,.v07-home .v06-slider{height:285px}.v07-home .v06-slide-info h2{font-size:21px}.dg-fx-item{font-size:9px}.dg-fx-item strong{font-size:10px}}

/* v1.0.2 — precise navigation, slide isolation, card repair */
.nav-inner .dg-home-link{display:inline-flex!important;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:40px;padding:0!important;margin:0 10px 0 4px;border-radius:25px;background:#0aaac5;color:#fff!important;transition:background .2s,transform .2s}
.nav-inner .dg-home-link svg{width:22px;height:22px}
.nav-inner .dg-home-link:hover,.nav-inner .dg-home-link:focus-visible{background:#087f9f;transform:translateY(-1px);outline:2px solid #fff;outline-offset:2px}
.brand{cursor:pointer}.brand:hover img{filter:drop-shadow(0 2px 5px rgba(255,255,255,.6));transform:translateY(-1px)}.brand img{transition:filter .2s,transform .2s}
.v07-home .v06-slider .v06-slide:not(.is-active),.v07-home .v06-slider .v06-slide:not(.is-active) *{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.v07-home .v06-slider .v06-slide:not(.is-active){display:none!important}
.v07-home .v06-slider .v06-slide.is-active{display:block!important;visibility:visible!important;opacity:1!important}
.v07-home .v06-slider .v06-slide.is-active .v06-slide-info{visibility:visible!important;opacity:1!important}
.v07-home .v06-slider .v06-slide-info{isolation:isolate}
.v07-home .news-grid>.v06-tile{height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.v07-home .news-grid>.v06-tile .v06-image-link{position:relative!important;inset:auto!important;display:block!important;flex:0 0 auto!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important}
.v07-home .news-grid>.v06-tile .v06-photo{width:100%!important;height:100%!important;object-fit:cover!important}
.v07-home .news-grid>.v06-tile .v06-tile-text{position:relative!important;inset:auto!important;display:block!important;flex:1 1 auto!important;padding:13px 15px 16px!important;background:#fff!important;min-height:105px!important;pointer-events:auto!important}
.v07-home .news-grid>.v06-tile .v06-kicker{margin:-27px 0 6px!important;position:relative!important;z-index:2}
.v07-home .news-grid>.v06-tile h3{display:block!important;margin:4px 0 8px!important;line-height:1.35!important;font-size:15px!important;overflow:visible!important}
.v07-home .news-grid>.v06-tile h3 a{color:#303b45!important;opacity:1!important;visibility:visible!important}
.v07-home .news-grid>.v06-tile time{display:block!important;color:#687681!important;font-size:11px!important}
@media(max-width:650px){.nav-inner .dg-home-link{margin:0 8px 0 0;flex-basis:40px;height:38px}.v07-home .news-grid>.v06-tile .v06-tile-text{padding:11px 10px 13px!important}.v07-home .news-grid>.v06-tile h3{font-size:13px!important}}

/* v1.0.2: micro caustics, no horizontal wave motif */
.masthead:before{background-image:url('assets/img/water-caustics.svg')!important;background-size:1200px 300px!important;opacity:.35!important;filter:none!important}
