/* BISTRITA.XYZ — hand-painted / anti-template skin
   No Google Fonts. No CDN. No Bootstrap. No external CSS/JS dependencies. */
:root{
 --red:#ff173d;--paper:#eee8dc;--ink:#070707;--gray:#bdbdbd;--white:#fff;
 --max:1671px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#050505;color:#fff;font-family:Arial,Helvetica,sans-serif}
a{color:inherit}
button,input,textarea{font:inherit}
img{max-width:100%}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
.mural{position:relative;margin:0 auto;width:min(100%,var(--max));aspect-ratio:1671/941;background:#050505 url("mural.webp?v=20261012") center top/100% 100% no-repeat}
.hot{position:absolute;display:block;background:transparent;border:0;cursor:pointer;z-index:3;text-indent:-9999px}
.hot:focus-visible{outline:3px solid #fff;outline-offset:3px}
.nav-home{left:29.7%;top:4.2%;width:6.5%;height:6%}
.nav-chat{left:37.1%;top:4.2%;width:5.2%;height:6%}
.nav-radio{left:43.6%;top:4.2%;width:5.2%;height:6%}
.nav-about{left:49.4%;top:4.2%;width:8.8%;height:6%}
.nav-news{left:58.5%;top:4.2%;width:6.5%;height:6%}
.nav-contact{left:65.7%;top:4.2%;width:6.5%;height:6%}
.nav-mail{left:71.9%;top:4.2%;width:6.5%;height:6%}
.social-fb{right:11.2%;top:3.3%;width:2.3%;height:6.5%}
.social-ig{right:8.2%;top:3.3%;width:2.3%;height:6.5%}
.social-yt{right:5.2%;top:3.3%;width:2.3%;height:6.5%}
.social-sp{right:2.2%;top:3.3%;width:2.3%;height:6.5%}
.hero-radio{left:41.2%;top:56.2%;width:17%;height:7.5%}
.player-link{left:34%;top:65.5%;width:32%;height:13.5%}
.tile-chat{left:11.7%;top:81.0%;width:12.8%;height:10.8%}
.tile-radio{left:25.1%;top:81.0%;width:11.6%;height:10.8%}
.tile-news{left:36.8%;top:81.0%;width:12.3%;height:10.8%}
.tile-about{left:49.2%;top:81.0%;width:12.8%;height:10.8%}
.tile-contact{left:62.1%;top:80.4%;width:11.2%;height:11.5%}
.newsletter{left:72.9%;top:78.7%;width:22.5%;height:14.7%}

/* Secondary pages: the same jagged, inked border language as the mural buttons. */
.page-bg{min-height:100vh;background:#070707 url("mural.webp?v=20261012") center top/cover fixed no-repeat}
.page-overlay{min-height:100vh;background:linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.72))}
.site-nav{max-width:1120px;margin:20px auto 0;padding:13px 18px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;background:#050505;border:3px solid #fff;box-shadow:9px 9px var(--red);clip-path:polygon(1% 11%,8% 2%,18% 7%,31% 1%,44% 6%,58% 2%,71% 7%,84% 2%,96% 9%,100% 21%,97% 38%,100% 54%,96% 70%,99% 86%,91% 98%,77% 93%,63% 99%,49% 94%,35% 100%,21% 94%,8% 98%,0 87%,4% 70%,0 54%,4% 36%)}
.site-nav a{padding:10px 14px;text-decoration:none;font-weight:900;display:inline-block;clip-path:polygon(2% 14%,10% 5%,22% 10%,35% 2%,49% 8%,63% 3%,77% 9%,90% 4%,100% 15%,96% 33%,100% 50%,96% 67%,100% 84%,90% 97%,75% 92%,61% 99%,47% 94%,33% 100%,19% 94%,6% 98%,0 84%,4% 68%,0 51%,4% 34%)}
.site-nav a:hover,.site-nav a.active{background:var(--red);transform:rotate(-2deg)}
.content{max-width:1000px;margin:60px auto;padding:80px 56px 64px;background:rgba(5,5,5,.94);border:4px solid var(--paper);box-shadow:12px 12px var(--red);clip-path:polygon(2% 28px,8% 8px,20% 24px,32% 4px,45% 24px,59% 8px,73% 28px,88% 12px,calc(100% - 4px) 40px,calc(100% - 20px) 27%,100% 44%,calc(100% - 16px) 61%,calc(100% - 4px) 79%,91% calc(100% - 8px),76% calc(100% - 28px),62% calc(100% - 4px),48% calc(100% - 24px),33% 100%,18% calc(100% - 24px),3% calc(100% - 8px),24px 80%,4px 63%,20px 46%,4px 29%)}
.content h1{font-size:clamp(44px,8vw,88px);margin:0 0 18px;color:var(--paper);font-style:italic;text-shadow:5px 5px var(--red),9px 9px #000}
.content h2{color:var(--red);text-transform:uppercase}
.content p,.content li{font-size:18px;line-height:1.65}
.ink-btn,.form button{display:inline-block;margin-top:16px;padding:14px 25px;color:#fff;background:var(--red);text-decoration:none;border:3px solid #000;font-weight:900;box-shadow:7px 7px #000;cursor:pointer;clip-path:polygon(2% 14%,9% 5%,20% 9%,32% 2%,45% 7%,57% 1%,70% 7%,83% 3%,97% 10%,100% 23%,97% 38%,100% 53%,96% 69%,99% 85%,91% 97%,77% 92%,63% 99%,49% 94%,35% 100%,21% 94%,8% 98%,1% 87%,4% 72%,0 58%,4% 43%,1% 28%)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{padding:22px;background:var(--paper);color:#111;border:3px solid #000;box-shadow:7px 7px var(--red);clip-path:polygon(2% 8%,8% 2%,20% 6%,32% 1%,46% 6%,60% 2%,74% 7%,88% 3%,99% 9%,96% 28%,100% 45%,96% 62%,99% 82%,91% 98%,76% 93%,61% 99%,47% 94%,32% 100%,17% 94%,3% 98%,6% 80%,1% 63%,5% 46%,1% 29%)}
.form{display:grid;gap:14px;max-width:720px}
.form label{font-weight:900}.form input,.form textarea{width:100%;padding:14px;background:#fff;color:#000;border:3px solid #000}.form textarea{min-height:150px}
.footer{max-width:1120px;margin:30px auto;padding:22px;border-top:2px solid #fff;color:#ddd}
.audio{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);z-index:30;display:flex;align-items:center;gap:10px;background:#050505ee;border:2px solid #fff;padding:8px 12px;box-shadow:5px 5px var(--red)}
.audio button{border:0;background:var(--red);color:#fff;font-weight:900;padding:9px 13px;cursor:pointer}
.notice{padding:14px 18px;background:#111;border-left:6px solid var(--red);margin:20px 0}
@media(max-width:800px){
 .mural{width:100%}
 .site-nav{margin:10px 10px 0}.content{margin:35px 12px;padding:64px 32px 50px}.cards{grid-template-columns:1fr}
}





/* FULL RADIO PLAYER — fixed bottom-right */
.audio{
 position:fixed !important;
 right:20px !important;
 bottom:20px !important;
 left:auto !important;
 top:auto !important;
 transform:none !important;
 z-index:99999 !important;
 display:flex;
 align-items:center;
 gap:10px;
 width:auto;
 max-width:calc(100vw - 40px);
 background:#050505ee;
 border:2px solid #fff;
 padding:8px 12px;
 box-shadow:5px 5px var(--red);
}

.audio button{
 border:0;
 background:var(--red);
 color:#fff;
 font-weight:900;
 padding:9px 13px;
 cursor:pointer;
}

@media(max-width:800px){
 .audio{
  right:10px !important;
  bottom:10px !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  max-width:calc(100vw - 20px);
 }
}


/* COOKIE CONSENT */
.cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:100000;
  background:#080808;
  color:#fff;
  border-top:3px solid #fff;
  box-shadow:0 -8px 0 #ff173d;
  padding:18px 24px;
  display:none;
  font-family:Arial,Helvetica,sans-serif;
}

.cookie-banner.show{
  display:block;
}

.cookie-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.cookie-copy{
  flex:1;
}

.cookie-title{
  margin:0 0 7px;
  color:#ff173d;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
}

.cookie-text{
  margin:0;
  color:#eee;
  font-size:14px;
  line-height:1.5;
}

.cookie-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.cookie-btn{
  border:2px solid #fff;
  background:#111;
  color:#fff;
  padding:11px 18px;
  font-weight:900;
  cursor:pointer;
  text-transform:uppercase;
}

.cookie-btn:hover{
  background:#333;
}

.cookie-btn.accept{
  background:#ff173d;
  border-color:#ff173d;
}

.cookie-btn.accept:hover{
  background:#e00028;
}

.cookie-settings{
  position:fixed;
  inset:0;
  z-index:100001;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.78);
}

.cookie-settings.show{
  display:flex;
}

.cookie-panel{
  width:min(560px,100%);
  background:#090909;
  color:#fff;
  border:3px solid #fff;
  box-shadow:10px 10px #ff173d;
  padding:60px 40px 48px;
  clip-path:polygon(
    2% 28px,10% 8px,23% 24px,37% 4px,51% 24px,65% 8px,79% 28px,
    94% 12px,calc(100% - 4px) 40px,calc(100% - 20px) 30%,100% 48%,calc(100% - 16px) 65%,calc(100% - 4px) 84%,
    91% calc(100% - 8px),76% calc(100% - 28px),61% calc(100% - 4px),47% calc(100% - 24px),32% 100%,17% calc(100% - 24px),
    3% calc(100% - 8px),24px 80%,4px 62%,20px 45%,4px 27%
  );
}

.cookie-panel h2{
  margin:0 0 18px;
  color:#ff173d;
  text-transform:uppercase;
}

.cookie-option{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:15px 0;
  border-bottom:1px solid #444;
}

.cookie-option strong{
  display:block;
  margin-bottom:4px;
}

.cookie-option small{
  color:#bbb;
  line-height:1.4;
}

.cookie-option input{
  width:20px;
  height:20px;
  accent-color:#ff173d;
}

.cookie-panel-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:22px;
}

@media(max-width:800px){
  .cookie-banner{
    padding:15px;
  }

  .cookie-inner{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .cookie-actions{
    width:100%;
  }

  .cookie-btn{
    flex:1;
    padding:10px 8px;
    font-size:12px;
  }

  .cookie-panel{
    padding:24px 20px;
  }
}


/* Contact button in newsletter section */
.newsletter-contact{
  margin:18px 0 0;
}

.contact-link{
  display:inline-block;
  text-decoration:none;
  color:#fff;
  background:#ff173d;
  border:2px solid #fff;
  padding:10px 22px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  box-shadow:5px 5px #fff;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.contact-link:hover{
  background:#e00028;
  transform:translate(2px,2px);
  box-shadow:3px 3px #fff;
}

.contact-link:focus-visible{
  outline:3px solid #ff173d;
  outline-offset:3px;
}

/* NEWS */
.news-intro{max-width:760px}.news-list{display:flex;flex-direction:column;gap:0;margin-top:30px}.news-item{padding:28px 4px 32px;border-top:3px solid #fff;position:relative}.news-item:last-child{border-bottom:3px solid #fff}.news-item h2{font-size:clamp(28px,4vw,46px);margin:7px 0 14px;color:var(--paper);text-transform:uppercase}.news-meta{font-weight:900;color:var(--red);font-size:14px;letter-spacing:1px}.news-body{font-size:18px;line-height:1.75;color:#eee;max-width:820px}.news-body p{margin:0 0 14px}.news-body a{color:var(--red);font-weight:900}.admin-item{border-top:2px solid #555;padding:15px 0;display:grid;grid-template-columns:1fr auto;gap:6px}.admin-item h3{margin:0;color:var(--paper)}.admin-item small{grid-column:1}.admin-item form{grid-column:2;grid-row:1/3}.admin-item button{background:var(--red);color:#fff;border:2px solid #000;padding:8px 12px;font-weight:900;cursor:pointer}.form select{width:100%;padding:14px;background:#fff;color:#000;border:3px solid #000}.admin-news hr{margin:40px 0;border:0;border-top:3px solid #fff}

/* NEWS ADMIN - post management */
.admin-topbar,
.admin-section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.admin-topbar{
  margin:22px 0 28px;
  padding:12px 0;
  border-top:2px solid #fff;
  border-bottom:2px solid #fff;
}
.admin-section-title h2{margin:0}
.admin-section-title a{font-weight:900;color:var(--red)}
.admin-section-title span{color:#aaa;font-size:14px}
.admin-editor{margin-top:25px}
.admin-editor .form{margin-top:18px}
.admin-posts{margin-top:8px}
.admin-empty{padding:25px 0;color:#aaa;font-weight:700}
.admin-item{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:24px;
  padding:20px 0;
}
.admin-item-main{min-width:0}
.admin-item h3{font-size:22px;margin-bottom:7px}
.admin-item small{display:block;color:#999;line-height:1.5}
.admin-item p{margin:9px 0 0;color:#ccc;line-height:1.5;max-width:850px}
.admin-item-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.admin-item-actions form{margin:0}
.admin-edit,
.admin-delete{
  display:inline-block;
  text-decoration:none;
  border:2px solid #fff;
  padding:8px 12px;
  font-weight:900;
  cursor:pointer;
  font-size:13px;
}
.admin-edit{background:#fff;color:#000}
.admin-delete{background:var(--red);color:#fff;border-color:#000}
.admin-edit:hover{background:#ddd}
.admin-delete:hover{filter:brightness(.9)}
@media(max-width:700px){
  .admin-topbar,.admin-section-title{align-items:flex-start;flex-direction:column}
  .admin-item{grid-template-columns:1fr;gap:14px}
  .admin-item-actions{justify-content:flex-start}
}

/* NEWS SUBMISSIONS / APPROVAL */
.news-submit-link{display:inline-block;margin:12px 0 8px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.notice-error{border-color:var(--red)!important}.notice-ok{border-color:#fff!important}.news-item{border:3px solid #fff;padding:26px 28px;margin-bottom:18px;background:rgba(0,0,0,.72);box-shadow:7px 7px 0 var(--red)}.news-item h2{margin-top:0}.news-excerpt{font-size:18px;line-height:1.55;color:#eee;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;margin:0 0 20px;max-width:850px}.single-news{padding-bottom:50px}.back-news{display:inline-block;color:#fff;font-weight:900;margin-bottom:20px}.single-news-card{border:3px solid #fff;background:rgba(0,0,0,.78);padding:30px;box-shadow:9px 9px 0 var(--red);max-width:980px}.single-news-date{color:var(--red);font-weight:900;letter-spacing:1px;font-size:14px;margin-bottom:12px}.single-news-card h1{margin-top:0}.single-news-body{font-size:19px;line-height:1.75;color:#eee}.single-news-body img{max-width:100%;height:auto}.status-badge{display:inline-block;border:2px solid var(--red);padding:4px 8px;font-size:11px;font-weight:900;color:var(--red);margin-bottom:8px}.status-badge.approved{border-color:#fff;color:#fff}.status-badge.unverified{border-color:#999;color:#999}.admin-approve{background:var(--red);color:#fff;border:2px solid #000;padding:8px 12px;font-weight:900;cursor:pointer}.pending-item{border-top:2px solid var(--red)}
@media(max-width:600px){.news-item,.single-news-card{padding:18px;box-shadow:5px 5px 0 var(--red)}.news-excerpt{font-size:16px}.single-news-body{font-size:17px}.admin-item-actions{flex-wrap:wrap}.admin-item-actions form{margin:0}.admin-approve,.admin-delete,.admin-edit{min-height:44px}}


/* NEWS SNAPSHOTS / UPLOADED IMAGES */
.news-snapshot-link{display:block;margin:-1px -1px 22px;text-decoration:none;overflow:hidden;background:#090909;border-bottom:3px solid #fff}
.news-snapshot{display:block;width:100%;aspect-ratio:16/8;object-fit:cover;transition:transform .18s ease;}
.news-snapshot-link:hover .news-snapshot{transform:scale(1.025)}
.single-news-image{margin:0 0 26px;padding:0;border:0}
.single-news-image img{display:block;width:100%;max-width:100%;height:auto;max-height:720px;object-fit:cover;border:3px solid #fff}
.single-news-image figcaption{color:#aaa;font-size:12px;font-weight:800;margin-top:7px;text-transform:uppercase;letter-spacing:.7px}
.admin-news-thumb{display:block;width:150px;height:82px;object-fit:cover;border:2px solid #fff;margin:8px 0 10px}
.news-submit-form input[type=file],.admin-editor input[type=file]{background:#111;color:#fff;border:2px solid #fff;padding:10px;cursor:pointer}
.news-submit-form small,.admin-editor small{display:block;color:#aaa;font-size:12px;margin:4px 0}
@media(max-width:600px){
 .news-snapshot{aspect-ratio:16/9}
 .single-news-image img{max-height:none}
 .admin-news-thumb{width:100%;height:180px}
}

/* --- Buton "Respinge" (consimțământ cookie-uri) --- */
.cookie-btn.reject{
  background:transparent;
  border-color:var(--red);
  color:var(--red);
}
.cookie-btn.reject:hover{
  background:var(--red);
  color:#fff;
}

/* --- Pagina de confidențialitate / GDPR --- */
.legal-page{max-width:900px}
.legal-page h2{margin-top:38px;color:var(--paper);font-style:italic}
.legal-updated{color:#aaa;font-size:14px;font-weight:800;letter-spacing:.5px}
.legal-list{padding-left:22px;line-height:1.8}
.legal-list li{margin-bottom:8px}
.legal-table{width:100%;border-collapse:collapse;margin:18px 0 26px;font-size:15px}
.legal-table th,.legal-table td{border:2px solid #fff;padding:10px 12px;text-align:left;vertical-align:top}
.legal-table th{background:#111;color:var(--paper);text-transform:uppercase;font-size:13px;letter-spacing:.5px}
.legal-table td{background:rgba(0,0,0,.55)}
@media(max-width:640px){.legal-table,.legal-table thead,.legal-table tbody,.legal-table th,.legal-table td,.legal-table tr{display:block}.legal-table thead{display:none}.legal-table tr{border:2px solid #fff;margin-bottom:14px}.legal-table td{border:none;border-bottom:1px solid #333}.legal-table td:before{content:attr(data-label);display:block;color:var(--red);font-weight:900;font-size:12px;text-transform:uppercase;margin-bottom:4px}}

/* --- Meniu mobil (dropdown), fara JavaScript: comutator ascuns (checkbox) + eticheta ---
   Peste 700px functioneaza exact ca inainte (bara orizontala). Sub 700px, linkurile se
   ascund si apare un buton "MENIU"; apasat, arata linkurile intr-o lista verticala. */
.nav-toggle-input{display:none}
.nav-toggle{display:none}
@media(max-width:700px){
  .site-nav{flex-direction:column;align-items:stretch;clip-path:none;padding:12px;gap:0}
  .nav-toggle{
    display:block;width:100%;text-align:center;padding:13px;
    border:2px solid #fff;background:#111;color:#fff;
    font-weight:900;text-transform:uppercase;letter-spacing:1px;cursor:pointer;
  }
  .nav-toggle:hover{background:#222}
  .nav-toggle::after{content:" ▾";display:inline-block}
  .nav-toggle-input:checked~.nav-toggle{background:var(--red);border-color:var(--red)}
  .nav-toggle-input:checked~.nav-toggle::after{content:" ▴"}
  .site-nav>a{
    display:none;width:100%;text-align:center;clip-path:none;
    border:2px solid #fff;border-top:0;margin:0;padding:13px 14px;
  }
  .nav-toggle-input:checked~a{display:block}
  .site-nav a:hover,.site-nav a.active{transform:none}
}
