/*
Theme Name: Sore Design
Description: Tema personalizata Sore Design, pentru afisarea articolelor de blog in acelasi stil ca site-ul principal soredesign.ro.
Author: Sore Design
Version: 1.0
*/

:root{
  --navy:#01213e;
  --navy-deep:#010e1c;
  --blue-mid:#6789ac;
  --blue-dark:#234568;
  --blue-light:#89abce;
  --lime:#cdef04;
  --lime-dim:#a7c603;
  --white:#ffffff;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{
  background:linear-gradient(160deg, #052a26 0%, #0c3a52 38%, #1d3f30 68%, #0d2417 100%);
  scroll-behavior:smooth;
}
body{
  font-family:'Inter',sans-serif;
  color:var(--white);
  overflow-x:hidden;
  position:relative;
}
a{color:inherit;}
img{max-width:100%;}

/* ===== HEADER / NAV ===== */
header.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(180deg, rgba(1,11,22,0.45) 0%, rgba(1,19,33,0.4) 100%);
  backdrop-filter:blur(14px);
  box-shadow:0 4px 30px rgba(0,0,0,0.25);
}
header.site-header::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--lime), var(--blue-mid), transparent);
  box-shadow:0 0 8px rgba(205,239,4,0.5);
}
.nav-wrap{
  max-width:1280px;
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  flex-shrink:0;
}
.brand img{
  width:38px;
  height:38px;
  object-fit:contain;
  filter:drop-shadow(0 0 8px rgba(205,239,4,0.4));
}
.brand span{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:16px;
  letter-spacing:0.06em;
  color:var(--white);
}
nav.main-nav{
  display:flex;
  align-items:center;
  gap:14px;
  list-style:none;
}
nav.main-nav a{
  position:relative;
  display:inline-block;
  font-family:'Space Grotesk',sans-serif;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--blue-light);
  text-decoration:none;
  padding:9px 14px;
  border-radius:8px;
  transition:color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  white-space:nowrap;
}
nav.main-nav a.active{
  color:var(--navy-deep);
  background:var(--lime);
  box-shadow:0 0 20px rgba(205,239,4,0.5);
}
.header-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-shrink:0;
}
.socials-top{display:flex; gap:8px;}
.socials-top a{
  width:34px; height:34px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(6px);
  border:1px solid rgba(137,171,206,0.28);
  color:var(--blue-light);
  transition:all 0.3s ease;
  text-decoration:none;
}
.socials-top a:hover{background:var(--lime); border-color:var(--lime); color:var(--navy-deep); transform:translateY(-3px) scale(1.08);}
.socials-top svg{width:15px; height:15px; fill:currentColor;}
.burger{
  display:none;
  width:38px; height:38px;
  border-radius:8px;
  border:1px solid rgba(137,171,206,0.3);
  background:rgba(255,255,255,0.05);
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.burger span{width:18px; height:2px; background:var(--white); border-radius:2px;}

@media (max-width:960px){
  nav.main-nav{
    display:none;
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    align-items:stretch;
    background:rgba(3,14,26,0.97);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(137,171,206,0.18);
    padding:10px 16px 18px;
    gap:4px;
  }
  nav.main-nav.open{display:flex;}
  nav.main-nav a{padding:12px 14px; text-align:center;}
  .burger{display:flex; width:32px; height:32px;}
  .brand span{display:none;}
  .brand img{width:30px; height:30px;}
  .nav-wrap{padding:10px 14px; gap:8px;}
  .socials-top{gap:6px;}
  .socials-top a{width:28px; height:28px;}
  .socials-top svg{width:12px; height:12px;}
}

/* ===== BUTTONS ===== */
.btn{
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  font-size:14px;
  padding:14px 30px;
  border-radius:999px;
  text-decoration:none;
  display:inline-block;
  border:none;
  cursor:pointer;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary{
  background:var(--lime);
  color:var(--navy-deep);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 26px rgba(205,239,4,0.35);}
.btn-secondary{
  background:rgba(255,255,255,0.06);
  color:var(--white);
  border:1px solid rgba(137,171,206,0.4);
}
.btn-secondary:hover{transform:translateY(-2px); background:rgba(255,255,255,0.1);}

/* ===== ARTICLE PAGE ===== */
.article-section{
  position:relative;
  padding:60px 24px 90px;
  overflow:hidden;
}
.article-section::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse 650px 420px at 15% 0%, rgba(205,239,4,0.07), transparent 60%),
    radial-gradient(ellipse 650px 420px at 85% 100%, rgba(103,137,172,0.09), transparent 60%);
}
.article-wrap{
  position:relative;
  z-index:1;
  max-width:1100px;
  margin:0 auto;
}
.article-back-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:'Space Grotesk',sans-serif;
  font-size:12.5px;
  font-weight:600;
  color:var(--blue-light);
  text-decoration:none;
  margin-bottom:26px;
  transition:color 0.25s ease;
}
.article-back-link:hover{color:var(--lime);}
.article-back-link svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2;}

.article-tag{
  display:inline-block;
  font-family:'Space Grotesk',sans-serif;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--navy-deep);
  background:var(--lime);
  padding:5px 14px;
  border-radius:999px;
  margin-bottom:18px;
}
.article-title{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:clamp(26px,4.5vw,42px);
  line-height:1.2;
  margin-bottom:16px;
  background:linear-gradient(100deg, var(--white) 15%, var(--blue-light) 55%, var(--lime) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.article-meta{
  font-size:13px;
  color:rgba(255,255,255,0.45);
  margin-bottom:32px;
}
.article-featured-img{
  width:100%;
  aspect-ratio:16/8;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:36px;
  border:1px solid rgba(137,171,206,0.2);
}
.article-featured-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.article-featured-img img{width:100%; display:block;}

.article-panel{
  background:rgba(4,14,24,0.55);
  border:1px solid rgba(205,239,4,0.18);
  border-radius:24px;
  padding:clamp(28px,5vw,48px);
  box-shadow:0 30px 80px rgba(0,0,0,0.35);
}
.article-content{
  font-size:15.5px;
  line-height:1.85;
  color:rgba(255,255,255,0.85);
}
.article-content p{margin-bottom:20px;}
.article-content h2{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:24px;
  color:var(--white);
  margin:36px 0 16px;
}
.article-content h3{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:19px;
  color:var(--white);
  margin:28px 0 12px;
}
.article-content ul, .article-content ol{margin:0 0 20px 22px;}
.article-content li{margin-bottom:8px;}
.article-content a{color:var(--lime); text-decoration:underline;}
.article-content img{border-radius:14px; margin:20px 0;}
.article-content blockquote{
  border-left:3px solid var(--lime);
  padding:6px 0 6px 20px;
  margin:24px 0;
  font-style:italic;
  color:rgba(255,255,255,0.65);
}
.article-content strong{color:var(--white);}

.article-cta{
  margin-top:48px;
  text-align:center;
  padding-top:40px;
  border-top:1px solid rgba(137,171,206,0.15);
}
.article-cta p{
  font-size:14px;
  color:rgba(255,255,255,0.6);
  margin-bottom:18px;
}

/* Blog archive / listing fallback */
.blog-list-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(360px,1fr));
  gap:22px;
  max-width:1100px;
  margin:0 auto;
  position:relative;
  z-index:1;
}
.blog-list-card{
  display:block;
  background:rgba(10,22,38,0.68);
  border:1px solid rgba(137,171,206,0.2);
  border-top:3px solid var(--lime);
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  transition:transform 0.3s ease, border-color 0.3s ease;
}
.blog-list-card:hover{transform:translateY(-6px); border-color:var(--lime);}
.blog-list-thumb{
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:rgba(255,255,255,0.04);
}
.blog-list-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 0.4s ease;
}
.blog-list-card:hover .blog-list-thumb img{transform:scale(1.06);}
.blog-list-body{padding:22px 24px;}
.blog-list-card h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:17px;
  color:var(--white);
  margin-bottom:8px;
}
.blog-list-card p{font-size:13px; color:rgba(255,255,255,0.6); line-height:1.6;}
.blog-list-card .article-meta{margin-bottom:10px;}

.hero-bottom-line{
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  z-index:5;
  pointer-events:none;
  background:linear-gradient(90deg, transparent, var(--lime), var(--blue-mid), transparent);
  box-shadow:0 0 8px rgba(205,239,4,0.5);
}

/* ===== FOOTER ===== */
.site-footer{
  position:relative;
  background:#010e1c;
  padding:26px 24px;
  text-align:center;
}
.site-footer p{
  font-size:12.5px;
  line-height:1.7;
  color:rgba(255,255,255,0.4);
  max-width:700px;
  margin:0 auto;
}
.site-footer p:first-child{margin-bottom:4px; color:rgba(255,255,255,0.5);}
.legal-badges{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;margin:0 auto 16px;}
.legal-badge-img{display:inline-block;width:100%;max-width:150px;line-height:0;border-radius:8px;overflow:hidden;filter:drop-shadow(0 2px 8px rgba(0,0,0,0.35));transition:transform 0.3s ease,filter 0.3s ease;}
.legal-badge-img:hover{transform:translateY(-2px);filter:drop-shadow(0 2px 8px rgba(0,0,0,0.35)) drop-shadow(0 0 8px rgba(205,239,4,0.3));}
.legal-badge-img img{display:block;width:100%;height:auto;}

@media (max-width:560px){
  .article-section{padding:40px 16px 60px;}
  .article-panel{padding:24px 18px;}
  .site-footer{padding:20px 18px;}
  .site-footer p{font-size:11px;}
  .legal-badges{gap:8px;margin-bottom:12px;}
  .legal-badge-img{max-width:120px;}
}
