/* DEADKOP PRO 4.35.0 — editorial system, consistent cards and navigation. */

:root{
    --dk-card-radius:22px;
    --dk-card-border:rgba(120,170,255,.17);
    --dk-card-bg:linear-gradient(180deg,#0c1730 0%,#071020 100%);
    --dk-card-shadow:0 20px 55px rgba(0,0,0,.26);
    --dk-card-gap:24px;
}

.archive-page .container,
.latest-news .container{width:min(1320px,calc(100% - 32px));margin-inline:auto;}

.latest-news{padding:clamp(58px,7vw,100px) 0;background:radial-gradient(circle at 15% 0%,rgba(0,157,255,.13),transparent 34%),linear-gradient(180deg,#050910,#071329);}
.section-head{align-items:flex-end;margin-bottom:clamp(28px,4vw,46px);}
.section-head h1,.section-head h2{font-size:clamp(36px,4.4vw,58px);line-height:1.02;letter-spacing:-.045em;text-transform:none;}
.section-intro{max-width:760px;margin:14px 0 0;color:#9fb8d4;font-size:16px;line-height:1.65;}
.section-intro p{margin:0;}

.news-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--dk-card-gap)!important;align-items:stretch!important;}
.news-card{display:flex!important;min-width:0!important;width:100%!important;height:100%!important;overflow:hidden!important;border:1px solid var(--dk-card-border)!important;border-radius:var(--dk-card-radius)!important;background:var(--dk-card-bg)!important;box-shadow:var(--dk-card-shadow)!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;contain:layout paint;}
.news-card>a{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;color:inherit!important;text-decoration:none!important;}
.news-card:hover{transform:translateY(-5px)!important;border-color:rgba(0,184,255,.72)!important;box-shadow:0 24px 66px rgba(0,148,255,.20)!important;}
.news-image{position:relative!important;width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important;background:#09162b!important;flex:0 0 auto!important;}
.news-image:after{content:"";position:absolute;inset:auto 0 0;height:35%;background:linear-gradient(180deg,transparent,rgba(4,9,18,.22));pointer-events:none;}
.news-image img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center!important;transition:transform .35s ease!important;}
.news-card:hover .news-image img{transform:scale(1.035)!important;}
.news-no-image{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;background:radial-gradient(circle at 30% 20%,rgba(0,183,255,.25),transparent 34%),linear-gradient(135deg,#0c1a35,#071020)!important;color:#dff4ff!important;}
.news-no-image span{font-size:26px;font-weight:950;letter-spacing:.12em;}
.news-content{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-width:0!important;padding:22px!important;}
.news-cat{align-self:flex-start!important;margin:0 0 14px!important;padding:7px 12px!important;border:1px solid rgba(125,190,255,.18)!important;background:linear-gradient(135deg,#028fff,#00b8ff)!important;color:#fff!important;font-size:11px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.news-content h3{display:-webkit-box!important;min-height:calc(1.23em * 3)!important;margin:0 0 12px!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;color:#fff!important;font-size:clamp(21px,1.7vw,25px)!important;line-height:1.23!important;letter-spacing:-.025em!important;overflow-wrap:anywhere!important;}
.news-content p{display:-webkit-box!important;min-height:calc(1.58em * 2)!important;margin:0 0 20px!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;color:#aebfd3!important;font-size:15px!important;line-height:1.58!important;}
.news-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%!important;margin-top:auto!important;padding-top:17px!important;border-top:1px solid rgba(132,171,226,.10)!important;color:#8fbbe3!important;font-size:13px!important;font-weight:800!important;}
.news-meta time{white-space:nowrap;}
.news-read{color:#71caff!important;white-space:nowrap;}

.empty-section,.empty-state{grid-column:1/-1;padding:52px 24px;border:1px dashed rgba(120,170,255,.24);border-radius:24px;background:rgba(7,17,34,.65);text-align:center;color:#a9bdd4;}
.empty-section h2{margin:0 0 10px;color:#fff;}
.empty-section p{margin:0;}

.dk-pagination{display:flex;justify-content:center;margin-top:42px;}
.dk-pagination .page-numbers{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;}
.dk-pagination .page-numbers li{margin:0;}
.dk-pagination a,.dk-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border:1px solid rgba(126,174,239,.18);border-radius:14px;background:rgba(10,23,45,.85);color:#d8ebff;text-decoration:none;font-weight:850;}
.dk-pagination .current{border-color:#00b8ff;background:linear-gradient(135deg,#018cff,#00b8ff);color:#fff;box-shadow:0 12px 30px rgba(0,163,255,.25);}
.dk-pagination a:hover{border-color:rgba(0,184,255,.7);color:#fff;}

/* Homepage card geometry: all editorial cards line up. */
.dk-home-strip__grid,.dk-home-mini-grid{align-items:stretch!important;}
.dk-home-card{display:flex!important;height:100%!important;min-width:0!important;}
.dk-home-card>a{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;}
.dk-home-card__thumb{height:auto!important;aspect-ratio:16/9!important;min-height:0!important;flex:0 0 auto!important;}
.dk-home-card__body{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;}
.dk-home-card__body h3{display:-webkit-box!important;min-height:calc(1.3em * 3)!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;overflow-wrap:anywhere!important;}
.dk-home-card__body p{display:-webkit-box!important;min-height:calc(1.55em * 2)!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;}
.dk-home-card__meta{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid rgba(125,174,235,.11);color:#8fbbe3;font-size:12px;font-weight:850;}
.dk-home-card__meta span:last-child{color:#70c9ff;}
.dk-home-editorial-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;margin-top:34px;}
.dk-home-panel{min-width:0;padding:22px;border:1px solid rgba(95,150,255,.16);border-radius:28px;background:linear-gradient(180deg,rgba(9,20,40,.90),rgba(5,13,26,.92));box-shadow:0 20px 56px rgba(0,0,0,.20);}
.dk-home-panel .dk-home-section-head{margin-bottom:18px;}
.dk-home-release-list{display:grid;gap:12px;}
.dk-home-release{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px;border:1px solid rgba(112,165,235,.13);border-radius:18px;background:rgba(255,255,255,.025);color:inherit;text-decoration:none;}
.dk-home-release:hover{border-color:rgba(0,184,255,.48);background:rgba(0,153,255,.07);color:inherit;}
.dk-home-release__image{width:96px;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#0d1b34;}
.dk-home-release__image img{width:100%;height:100%;object-fit:cover;display:block;}
.dk-home-release__copy{min-width:0;}
.dk-home-release__copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#fff;font-size:15px;line-height:1.3;}
.dk-home-release__copy small{display:block;margin-top:6px;color:#8eafd0;font-size:12px;}
.dk-home-release__date{display:grid;place-items:center;min-width:58px;min-height:58px;padding:6px;border-radius:15px;background:linear-gradient(135deg,#078dff,#00b9ff);color:#fff;text-align:center;font-weight:950;}
.dk-home-release__date b{font-size:20px;line-height:1;}
.dk-home-release__date span{font-size:10px;text-transform:uppercase;}

/* Header: keep the primary bar focused and stop items colliding. */
.dk-command-menu{justify-content:flex-start!important;}
.dk-command-menu>li>a{padding-inline:clamp(10px,1.2vw,17px)!important;}
.dk-command-more{margin-left:auto!important;}

@media(max-width:1100px){
    .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
    .dk-home-editorial-grid{grid-template-columns:1fr;}
}

@media(max-width:720px){
    .archive-page .container,.latest-news .container{width:min(100% - 22px,1320px);}
    .latest-news{padding:46px 0 70px!important;}
    .section-head{align-items:flex-start!important;flex-direction:column!important;gap:15px!important;}
    .section-head h1,.section-head h2{font-size:34px!important;}
    .news-grid{grid-template-columns:1fr!important;gap:16px!important;}
    .news-card:hover{transform:none!important;}
    .news-content{padding:18px!important;}
    .news-content h3{min-height:0!important;font-size:21px!important;-webkit-line-clamp:3!important;}
    .news-content p{min-height:0!important;font-size:14px!important;-webkit-line-clamp:2!important;}
    .news-meta{padding-top:14px!important;}
    .dk-home-card__body h3,.dk-home-card__body p{min-height:0!important;}
    .dk-home-panel{padding:16px;border-radius:22px;}
    .dk-home-release{grid-template-columns:82px minmax(0,1fr);}
    .dk-home-release__image{width:82px;}
    .dk-home-release__date{grid-column:1/-1;display:flex;justify-content:center;gap:5px;min-height:36px;}
    .dk-home-release__date b{font-size:15px;}
}

@media(hover:none){
    .news-card:hover{transform:none!important;}
}
.dk-home-panel .dk-home-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
@media(max-width:620px){.dk-home-panel .dk-home-mini-grid{grid-template-columns:1fr!important;}}
