:root{
  --hero-h: 420px;
}

body{
  background: radial-gradient(1200px 500px at 50% -200px, rgba(193,0,0,.18), transparent 60%),
              linear-gradient(180deg, #0b0b0b 0px, #0b0b0b 60px, var(--paper) 260px, var(--paper) 100%);
}

a{ text-decoration:none; }
.link-brand{ color: var(--brand); }
.link-brand:hover{ color: #ff2a2a; }

.brand-logo{
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  padding: 4px;
}
.brand-logo-only{
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display:block;
}
.brand-text, .brand-dot{ display:none !important; }

.nav-glass{
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.82) !important;
}

.read-progress{
  position: fixed;
  top:0; left:0;
  height: 3px;
  width: 0%;
  background: var(--brand);
  z-index: 2000;
  box-shadow: 0 0 20px rgba(193,0,0,.6);
}

.section-title{
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-size: .85rem;
  color: #111;
}
.section-title::before{
  content:"";
  display:inline-block;
  width:10px; height:10px;
  background: var(--brand);
  border-radius: 3px;
  margin-right: 8px;
  transform: translateY(1px);
}

.badge-brand{
  background: linear-gradient(135deg, #ff2a2a, var(--brand));
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}

.hero-card{
  position: relative;
  display:block;
  border-radius: 18px;
  overflow:hidden;
  min-height: var(--hero-h);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.hero-card img{
  width:100%;
  height: var(--hero-h);
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}
.hero-overlay{
  position:absolute;
  inset:0;
  padding: 22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.25) 55%, rgba(0,0,0,.05));
}
.hero-title{
  color:#fff;
  font-weight: 900;
  letter-spacing: -.3px;
  line-height: 1.05;
}
.hero-meta{
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.hero-meta .dot{ opacity:.6; }
.hero-excerpt{
  color: rgba(255,255,255,.86);
  margin-top: 8px;
  max-width: 60ch;
}

.mini-card{
  display:flex;
  gap:12px;
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mini-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0,0,0,.12);
  border-color: rgba(193,0,0,.18);
}
.mini-card img{
  width: 92px;
  height: 72px;
  flex: 0 0 92px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(0,0,0,.06);
}
.mini-kicker{
  font-size: .75rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
}
.mini-title{
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-meta{
  font-size: .8rem;
  color: #666;
  margin-top: 4px;
}

.news-card{
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 35px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
}
.news-card .thumb{ display:block; }
.news-card img{
  width:100%;
  height: 210px;
  object-fit: cover;
}
.kicker{
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--brand);
}
.title-link{
  color:#111;
  font-weight: 900;
  letter-spacing:-.2px;
}
.title-link:hover{ color: var(--brand); }
.meta-line{
  font-size: .85rem;
  color: #666;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.meta-line .dot{ opacity: .55; }
.excerpt{ color:#333; }

.sidebar-card{
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 35px rgba(0,0,0,.10);
}

/* doar "Cele mai citite" (coloana dreapta din sectiunea Ultimele articole) devine sticky la scroll pe desktop */
@media (min-width: 992px){
  .row.g-4.mt-2 > .col-lg-4 > .sidebar-card{
    position: sticky;
    top: 88px; /* ajusteaza daca ai navbar mai inalt (ex: 70-110px) */
  }
}

.sidebar-premium{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 35px rgba(0,0,0,.10);
}

.sidebar-premium::after{ content:none; }

.topstories-pill{
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.86);
  border: 1px solid rgba(193,0,0,.22);
}

.topstories-scroll{
  overflow-y: auto;
  padding-right: 8px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;

  -webkit-mask-image: linear-gradient(to bottom,
    #000 0%,
    #000 calc(100% - 48px),
    transparent 100%
  );
  mask-image: linear-gradient(to bottom,
    #000 0%,
    #000 calc(100% - 48px),
    transparent 100%
  );
}

.sidebar-premium{
  box-shadow:
    0 14px 35px rgba(0,0,0,.10),
    inset 0 -14px 18px rgba(0,0,0,.08);
}

.topstories-scroll::-webkit-scrollbar{ width: 6px; }
.topstories-scroll::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 10px;
}

.rank-item{ padding: 10px 0; border-bottom: 1px dashed rgba(193,0,0,.15); }
.rank-item:last-child{ border-bottom:none; }
.rank-link{ display:flex; justify-content:space-between; gap:12px; color:#111; }
.rank-link:hover{ color: var(--brand); }
.rank-title{ font-weight: 800; font-size: .92rem; line-height:1.15; }
.rank-views{ font-size: .8rem; color:#666; white-space:nowrap; }

.article-shell{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(0,0,0,.10);
}
.article-title{
  font-weight: 950;
  letter-spacing: -.4px;
  line-height: 1.05;
}
.article-meta{
  color:#666;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size: .9rem;
}
.article-meta .dot{ opacity:.55; }
.article-cover img{
  width:100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.article-content{
  font-size: 1.06rem;
  line-height: 1.75;
  color: #111;
}
.article-content img{ max-width:100%; height:auto; border-radius: 14px; }
.article-content h2, .article-content h3{ font-weight: 900; margin-top: 1.4rem; }
.article-content a{ color: var(--brand); font-weight: 700; }

.share-row{ display:flex; gap:10px; flex-wrap:wrap; }

.footer-premium{
  background: #0f1115;
  color: #c9ced6;
  font-size: 0.95rem;
}
.footer-premium a{
  color: #e4e7ec;
  text-decoration: none;
  transition: 0.2s ease;
}
.footer-premium a:hover{
  color: #ffffff;
  opacity: .85;
}
.footer-title{
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #9aa3af;
}
.footer-desc{
  max-width: 320px;
  line-height: 1.6;
}
.footer-social a{
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1a1d23;
  font-size: 1.1rem;
}
.footer-social a:hover{
  background: #dc3545;
  color: #fff;
}
.footer-links,
.footer-articles{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li{ margin-bottom: .5rem; }
.footer-articles li{
  margin-bottom: .85rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #1c1f26;
}
.footer-article-link{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-article-title{ font-weight: 500; }
.footer-article-date{
  font-size: .75rem;
  color: #8b93a1;
}
.footer-divider{ border-color: #1c1f26; }
.footer-bottom{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: .85rem;
  color: #8b93a1;
}
.footer-bottom-links{
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display:none;
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(0,0,0,.18);
}

.search-group .form-control::placeholder{ color: rgba(255,255,255,.6); }

.search-dropdown{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(520px, 92vw);
  z-index: 1500;
}
.search-dropdown-inner{
  background: rgba(10,10,10,.96);
  border: 1px solid rgba(193,0,0,.25);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  overflow: hidden;
}
.search-dropdown-title{
  font-weight: 900;
  letter-spacing: .2px;
  padding: 10px 14px;
  color: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.search-item{
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.search-item:last-child{ border-bottom: none; }
.search-item:hover{ background: rgba(193,0,0,.10); }
.search-item-thumb{
  width: 64px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 64px;
  border: 1px solid rgba(255,255,255,.08);
}
.search-item-title{
  font-weight: 900;
  line-height: 1.1;
  font-size: .92rem;
}
.search-item-meta{
  font-size: .8rem;
  color: rgba(255,255,255,.68);
  margin-top: 4px;
}
.search-dropdown-all{
  display:block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #ff2a2a, var(--brand));
}
.search-dropdown-all:hover{ color:#fff; filter: brightness(1.05); }

@media (min-width: 768px){
  .footer-bottom{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px){
  .sidebar-premium{
    height: var(--hero-h);
    display:flex;
    flex-direction: column;
  }
  .sidebar-premium .topstories-scroll{
    flex: 1 1 auto;
  }
}

@media (max-width: 991.98px){
  .topstories-scroll{
    max-height: 220px;
  }
}

@media (max-width: 576px){
  :root{ --hero-h: 360px; }
  .article-shell{ padding: 18px; }
}


