.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.btn-green { background:#16a34a; color:#fff; }
.btn-blue  { background:#2563eb; color:#fff; }
.btn-ghost { background:rgba(255,255,255,.06); color:#e5e7eb; border:1px solid rgba(255,255,255,.10); }

.muted { opacity: .75; }

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.card{
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.navlink{
  color:#e5e7eb;
  text-decoration:none;
  opacity:.78;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  transition: opacity .15s ease, border-color .15s ease, background .15s ease;
}
.navlink:hover{
  opacity:1;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.navlink.active{
  opacity:1;
  border-color: rgba(147,197,253,.35);
  background: rgba(147,197,253,.10);
  box-shadow: inset 0 0 0 1px rgba(147,197,253,.12);
}

.hero-grid { display: grid; gap: 18px; grid-template-columns: 1.2fr .8fr; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}


.media {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Privacy / analytics consent */

.consent-banner {
  position: fixed;
  inset: auto 16px 82px 16px;
  z-index: 10000;
}

.consent-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,18,32,.97);
  box-shadow: 0 20px 70px rgba(0,0,0,.50);
  backdrop-filter: blur(14px);
}

.consent-main p {
  margin: 8px 0 0;
  line-height: 1.6;
  opacity: .82;
}

.consent-main a {
  color: #93c5fd;
}

.consent-preferences {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.consent-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.consent-actions button {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 700;
}

#consentAccept {
  background: #2563eb;
}

@media (max-width: 620px) {
  .consent-banner {
    left: 8px;
    right: 8px;
    bottom: 78px;
  }

  .consent-actions button {
    flex: 1 1 140px;
  }
}

/* Consent UI refinement */

.consent-preferences[hidden] {
  display: none !important;
}

.consent-actions button[hidden] {
  display: none !important;
}

.consent-preferences label {
  display: flex;
  align-items: center;
  gap: 6px;
}

#consentReject {
  background: rgba(255,255,255,.05);
}

#consentSettings {
  background: rgba(255,255,255,.08);
}

#consentSave {
  background: rgba(37,99,235,.85);
}

#consentAccept {
  background: #2563eb;
}
