:root {
  color-scheme: light dark;
  --bg: #f5f4f7;
  --fg: #161320;
  --muted: #5f5a6b;
  --accent: #bf2748;
  --card: #ffffff;
  --shadow: rgba(22, 19, 32, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #f0eff2;
    --fg: #151221;
    --muted: #5f596d;
    --card: #ffffff;
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

header {
  background: var(--card);
  box-shadow: 0 10px 30px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}

header .wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

header h1 {
  font-size: clamp(1.4rem, 3vw + 0.5rem, 2.2rem);
  margin: 0;
}

header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 36rem;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.8rem 1.4rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.hero {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.hero img {
  width: 100%;
  border-radius: 1.4rem;
  box-shadow: 0 20px 30px var(--shadow);
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(191, 39, 72, 0.08);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.card {
  background: var(--card);
  border-radius: 1.4rem;
  padding: 2.2rem;
  box-shadow: 0 16px 36px var(--shadow);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2vw + 0.6rem, 2rem);
}

.card p {
  margin: 0 0 1rem;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.evidence-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

figure .evidence-trigger {
  display: block;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 24px var(--shadow);
  border: none;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: none;
  cursor: pointer;
}

figure .evidence-trigger:hover,
figure .evidence-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px var(--shadow);
}

figure img {
  width: 100%;
  display: block;
}

figcaption {
  font-size: 0.95rem;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 19, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  backdrop-filter: blur(4px);
  z-index: 50;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  position: relative;
  max-width: min(90vw, 960px);
  max-height: 90vh;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #0f0e13;
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(191, 39, 72, 0.95), rgba(255, 119, 142, 0.85));
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(191, 39, 72, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 18px 32px rgba(191, 39, 72, 0.55);
  filter: brightness(1.05);
}

.comment-section h2 {
  margin-bottom: 0.75rem;
}

form {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
}

input,
textarea {
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(95, 90, 107, 0.25);
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.85);
  color: inherit;
}

textarea {
  resize: vertical;
  min-height: 120px;
  width: 100%;
}

button {
  justify-self: flex-start;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(191, 39, 72, 0.25);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-validation {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent);
}

.comments-empty {
  padding: 1.6rem;
  border-radius: 1rem;
  background: rgba(95, 90, 107, 0.1);
  color: var(--muted);
  text-align: center;
}

.comment {
  padding: 1.6rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(95, 90, 107, 0.18);
  margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 16px var(--shadow);
}

.comment header {
  position: static;
  background: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0.6rem;
}

.comment strong {
  font-size: 1.05rem;
}

.comment time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.comment p {
  margin: 0.8rem 0 0;
  white-space: pre-wrap;
}

.comment-evidence {
  margin-top: 1rem;
  max-width: min(240px, 100%);
}

.comment-evidence img {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  padding: 2rem 1.4rem 3rem;
  text-align: center;
  color: var(--muted);
}

a {
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  max-width: min(540px, 90vw);
  background: rgba(22, 19, 32, 0.94);
  color: #fff;
  border-radius: 1.2rem;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  z-index: 60;
}

.cookie-content {
  display: grid;
  gap: 0.8rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-content button {
  justify-self: start;
  background: linear-gradient(135deg, rgba(191, 39, 72, 0.95), rgba(255, 119, 142, 0.85));
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-content button:hover,
.cookie-content button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(191, 39, 72, 0.35);
}

.external-widget-status {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(95, 90, 107, 0.12);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  header {
    position: static;
  }

  main {
    padding: 2.4rem 1.2rem 3.4rem;
    gap: 2.4rem;
  }

  header .wrapper {
    padding: 1.4rem 1.2rem;
  }

  header p {
    max-width: 100%;
  }

  .card {
    padding: 1.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.6rem;
  }

  .hero img {
    max-width: min(420px, 85vw);
    justify-self: center;
  }

  .badge {
    justify-content: center;
  }

  form {
    gap: 0.85rem;
  }

  label {
    font-size: 0.95rem;
  }

  button {
    justify-self: stretch;
  }

  .comment {
    padding: 1.4rem;
  }

  .comment header {
    display: grid;
    gap: 0.2rem;
  }

  .comment-evidence {
    max-width: 100%;
  }

  footer {
    padding: 1.6rem 1.2rem 2.6rem;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  header .wrapper {
    padding: 1.1rem 1rem;
    gap: 0.9rem;
    text-align: center;
  }

  header h1 {
    width: 100%;
  }

  .card {
    padding: 1.4rem;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 1.2rem;
  }

  .lightbox-close {
    width: 2.3rem;
    height: 2.3rem;
    top: 0.55rem;
    right: 0.55rem;
  }

  input,
  textarea {
    font-size: 0.96rem;
    width: 100%;
  }

  textarea {
    min-height: 110px;
    max-height: 220px;
  }

  button {
    font-size: 0.96rem;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    transform: none;
    max-width: none;
    padding: 1.05rem 1.1rem;
  }

  .cookie-content button {
    justify-self: stretch;
    text-align: center;
  }
}

@media (max-width: 360px) {
  header h1 {
    font-size: 1.35rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  button {
    padding: 0.7rem 1.2rem;
  }

  .lightbox-content {
    border-radius: 1rem;
  }
}

