/* =========================
   ARTICLE LAYOUT
========================= */

.article-layout{
display:grid;
grid-template-columns:minmax(0,1fr) 260px;
gap:32px;
align-items:start;
}


/* =========================
   MAIN ARTICLE
========================= */

.article-main{
max-width:1100px;
}

.article-breadcrumb{
font-size:13px;
color:#7f8dbb;
margin-bottom:18px;
}

.article-title{
font-size:42px;
line-height:1.16;
margin-bottom:16px;
font-weight:800;
letter-spacing:-0.5px;
max-width:760px;
}

.article-meta{
font-size:14px;
color:#8da2d8;
margin-bottom:34px;
}

.article-cover{
width:100%;
height:320px;
object-fit:cover;
border-radius:22px;
margin-bottom:34px;
border:1px solid rgba(255,255,255,0.08);
}


/* =========================
   ARTICLE CONTENT
========================= */

.article-content{
font-size:16px;
line-height:1.95;
color:#cfd6eb;
max-width:980px;
}

.article-content p{
font-size:18px;
line-height:1.9;
color:rgba(255,255,255,0.82);
margin-bottom:24px;
}

.article-content h2{
font-size:24px;
margin-top:52px;
margin-bottom:18px;
font-weight:800;
line-height:1.15;

background:linear-gradient(90deg,#9b5cff,#38b6ff);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.article-content ul{
padding-left:24px;
margin-bottom:30px;
}

.article-content li{
margin-bottom:12px;
}

.article-content blockquote{
margin:32px 0;
padding:22px 28px;
border-left:4px solid #8b5fff;

background:rgba(139,95,255,0.08);

border-radius:14px;

font-size:20px;
line-height:1.7;

color:white;
font-weight:600;
}


/* =========================
   SIDEBAR
========================= */

.article-sidebar{
position:sticky;
top:120px;
}

.sidebar-card{
background:#0d1224;

border:1px solid rgba(255,255,255,0.08);

border-radius:24px;

padding:28px;

margin-bottom:24px;
}

.sidebar-card h3{
font-size:24px;
margin-bottom:22px;
}

.sidebar-card a{
display:block;
color:#d7def7;
margin-bottom:16px;
line-height:1.6;
transition:0.2s;
}

.sidebar-card a:hover{
color:#8b5fff;
}

.sidebar-tags{
display:flex;
flex-wrap:wrap;
gap:12px;
}

.sidebar-tags span{
padding:10px 14px;

background:#121b34;

border:1px solid rgba(255,255,255,0.08);

border-radius:999px;

font-size:13px;
}


/* =========================
   MOBILE
========================= */

@media(max-width:1000px){

.article-layout{
grid-template-columns:1fr;
}

.article-main{
max-width:100%;
}

.article-sidebar{
position:static;
}

}

@media(max-width:768px){

.article-title{
font-size:30px;
line-height:1.15;
letter-spacing:-0.6px;
margin-bottom:18px;
}

.article-cover{
height:210px;
border-radius:18px;
margin-bottom:24px;
}

.article-content{
font-size:16px;
line-height:1.8;
}

.article-content h2{
font-size:21px;
line-height:1.25;
margin-top:34px;
}

.sidebar-card{
padding:22px;
border-radius:20px;
}

}

/* =========================
   ARTICLE POLISH
========================= */

.article-content strong{
color:white;
font-weight:700;
}

.article-content a{
color:#8b5fff;
text-decoration:none;
border-bottom:1px solid rgba(139,95,255,0.25);
transition:0.2s;
}

.article-content a:hover{
color:#b59cff;
border-color:#8b5fff;
}

.article-content code{
background:#121b34;
padding:3px 8px;
border-radius:8px;
font-size:14px;
color:#cfe3ff;
}

.article-content hr{
border:none;
height:1px;
background:rgba(255,255,255,0.08);
margin:50px 0;
}

.article-content img{
width:100%;
border-radius:20px;
margin:34px 0;
border:1px solid rgba(255,255,255,0.08);
}

.article-content table{
width:100%;
border-collapse:collapse;
margin:36px 0;
overflow:hidden;
border-radius:18px;
}

.article-content th{
background:#111936;
padding:18px;
text-align:left;
font-size:14px;
}

.article-content td{
padding:18px;
border-top:1px solid rgba(255,255,255,0.06);
font-size:15px;
color:#d4dcef;
}

.article-content tr{
background:#0d1224;
}

/* =========================
   ARTICLE META TAGS
========================= */

.article-meta-row{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
flex-wrap:wrap;
margin-bottom:34px;
}

.article-tags{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.article-tags span{
padding:9px 14px;

background:#10182f;

border:1px solid rgba(255,255,255,0.08);

border-radius:999px;

font-size:12px;

color:#b8c5ea;

font-weight:600;
}

/* =========================
   ARTICLE CARD SHELL
========================= */

.article-card-shell{

background:
linear-gradient(
180deg,
rgba(15,23,42,0.96),
rgba(10,16,32,0.98)
);

border:1px solid rgba(255,255,255,0.06);

border-radius:34px;

padding:44px;

box-shadow:
0 10px 40px rgba(0,0,0,0.28);

position:relative;

overflow:hidden;

}

.article-card-shell::before{

content:"";

position:absolute;

inset:0;

background-image:
linear-gradient(
rgba(255,255,255,0.03) 1px,
transparent 1px
),
linear-gradient(
90deg,
rgba(255,255,255,0.03) 1px,
transparent 1px
);

background-size:32px 32px;

pointer-events:none;

opacity:0.4;

}

.article-main > *{

position:relative;
z-index:2;

}

@media(max-width:768px){

.article-card-shell{

padding:22px;

border-radius:24px;

}

}