    *, *::before, *::after {
      box-sizing: border-box;
    }

    :root {
      --bg-primary: #0d0d0d;
      --bg-secondary: #1a1a1a;
      --bg-tertiary: #2a2a2a;
      --text-primary: #e0e0e0;
      --text-secondary: #a0a0a0;
      --text-heading: #ffffff;
      --accent-red: #e53935;
      --accent-red-dim: #b71c1c;
      --accent-amber: #ffb300;
      --link-color: #64b5f6;
      --border-color: #333333;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-primary);
      background-color: var(--bg-primary);
      margin: 0;
      padding: 0;
    }

    a {
      color: var(--link-color);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    h1 { font-size: 2rem; color: var(--text-heading); font-weight: 700; margin: 0; }
    h2 { font-size: 1.5rem; color: var(--text-heading); font-weight: 600; margin: 0 0 1rem; }
    h3 { font-size: 1.2rem; color: var(--text-heading); font-weight: 600; margin: 0 0 0.5rem; }

    /* Header */
    header {
      background: var(--bg-secondary);
      border-bottom: 2px solid var(--accent-red);
      padding: 0.75rem 1.5rem;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .header-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .site-name {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text-heading);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .site-logo {
      height: 32px;
      width: auto;
      border-radius: 50%;
    }


    nav {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      flex-wrap: wrap;
    }

    nav a {
      color: var(--text-secondary);
      font-size: 0.9rem;
      font-weight: 500;
    }

    nav a:hover {
      color: var(--text-heading);
      text-decoration: none;
    }

    /* Hamburger menu */


    .cta-btn {
      background: var(--accent-red);
      color: #fff;
      padding: 0.5rem 1rem;
      border-radius: 4px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: background 0.2s;
    }

    .cta-btn:hover {
      background: var(--accent-red-dim);
      text-decoration: none;
      color: #fff;
    }
    .lang-switch { border: 1px solid var(--border-color); padding: 0.2rem 0.5rem; border-radius: 3px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

    /* Hero */
    .hero {
      position: relative;
      max-width: 1400px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .hero {
        flex-direction: row;
        align-items: center;
        padding: 2.5rem 1.5rem;
      }
    }

    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      margin-bottom: 0.75rem;
      line-height: 1.2;
    }

    .hero-text p {
      color: var(--text-secondary);
      font-size: 1.1rem;
      margin: 0 0 1rem;
    }

    .hero-image {
      flex: 0 0 auto;
      max-width: 400px;
      width: 100%;
    }

    .hero-image img {
      width: 100%;
      height: auto;
      border-radius: 6px;
      border: 1px solid var(--border-color);
      display: block;
    }

    /* Alert banner */
    .alert-banner {
      background: var(--accent-red-dim);
      color: #fff;
      text-align: center;
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
      font-weight: 500;
    }

    /* Main content: map + feed */
    .main-content {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      max-width: 1400px;
      margin: 0 auto;
    }

    @media (min-width: 768px) {
      .main-content {
        grid-template-columns: 2fr 1fr;
        gap: 1rem;
        padding: 1rem 1.5rem;
      }
    }

    /* Map */
    .map-section {
      padding: 1rem 1.5rem;
    }

    @media (min-width: 768px) {
      .map-section {
        padding: 0;
      }
    }

    .map-section h2 {
      margin-bottom: 0.75rem;
    }

    #map {
      width: 100%;
      height: 400px;
      border: 2px solid var(--border-color);
      border-radius: 4px;
    }

    @media (min-width: 768px) {
      #map { height: 550px; }
    }

    /* Leaflet dark overrides */
    .leaflet-control-zoom a {
      background-color: var(--bg-secondary) !important;
      color: var(--text-primary) !important;
      border-color: var(--border-color) !important;
    }

    .leaflet-control-attribution {
      background: rgba(26, 26, 26, 0.85) !important;
      color: var(--text-secondary) !important;
      font-size: 0.7rem !important;
    }

    .leaflet-control-attribution a {
      color: var(--link-color) !important;
    }

    .leaflet-popup-content-wrapper {
      background: var(--bg-secondary) !important;
      color: var(--text-primary) !important;
      border-radius: 6px !important;
    }

    .leaflet-popup-tip {
      background: var(--bg-secondary) !important;
    }

    .leaflet-popup-close-button {
      color: var(--text-secondary) !important;
    }

    /* News feed */
    .news-section {
      padding: 1rem 1.5rem;
    }

    @media (min-width: 768px) {
      .news-section {
        padding: 0;
      }
    }

    .news-feed {
      background: var(--bg-secondary);
      border-left: 3px solid var(--accent-red);
      max-height: 550px;
      overflow-y: auto;
      border-radius: 0 4px 4px 0;
    }

    .news-feed::-webkit-scrollbar {
      width: 6px;
    }

    .news-feed::-webkit-scrollbar-track {
      background: var(--bg-secondary);
    }

    .news-feed::-webkit-scrollbar-thumb {
      background: var(--bg-tertiary);
      border-radius: 3px;
    }

    .news-item {
      border-bottom: 1px solid var(--border-color);
      padding: 0.75rem 1rem;
    }

    .news-item:last-child {
      border-bottom: none;
    }

    .news-item .timestamp {
      color: var(--accent-red);
      font-size: 0.85rem;
      font-weight: 600;
    }

    .news-item .location {
      color: var(--text-heading);
      font-weight: 600;
    }

    .news-item .description {
      color: var(--text-primary);
      font-size: 0.95rem;
    }

    .news-item .source {
      display: inline-block;
      background: var(--bg-tertiary);
      color: var(--text-secondary);
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 3px;
      margin-top: 0.25rem;
    }

    .type-badge {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 2px 6px;
      border-radius: 3px;
      margin-left: 0.5rem;
    }

    .type-sighting { background: rgba(229, 57, 53, 0.2); color: var(--accent-red); }
    .type-checkpoint { background: rgba(255, 179, 0, 0.2); color: var(--accent-amber); }
    .type-operation { background: rgba(229, 57, 53, 0.3); color: #ff6659; }

    /* Section wrapper */
    .section {
      max-width: 1400px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
    }

    .section-divider {
      border: none;
      border-top: 1px solid var(--border-color);
      max-width: 1400px;
      margin: 0 auto;
    }

    /* Gallery */
    .gallery-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    @media (min-width: 600px) {
      .gallery-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (min-width: 1024px) {
      .gallery-grid { grid-template-columns: 1fr 1fr 1fr; }
    }

    .gallery-grid figure {
      margin: 0;
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 6px;
      overflow: hidden;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .gallery-grid figure:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(229, 57, 53, 0.15);
    }

    .gallery-grid a {
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .gallery-grid img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
    }

    .gallery-grid figcaption {
      padding: 0.75rem 1rem;
      color: var(--text-secondary);
      font-size: 0.85rem;
      line-height: 1.5;
    }

    /* Know your rights */
    .rights-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    @media (min-width: 600px) {
      .rights-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (min-width: 900px) {
      .rights-grid { grid-template-columns: 1fr 1fr 1fr; }
    }

    .rights-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: 6px;
      padding: 1.25rem;
    }

    .rights-card h3 {
      color: var(--accent-amber);
      margin-bottom: 0.5rem;
    }

    .rights-card p {
      margin: 0;
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    /* Tip form */
    .tip-form-section {
      max-width: 800px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
    }

    .tip-form-wrapper {
      background: var(--bg-secondary);
      border: 1px solid var(--accent-red-dim);
      border-radius: 8px;
      padding: 1.5rem;
    }

    .tip-form-wrapper p {
      color: var(--text-secondary);
      margin: 0 0 1rem;
    }

    .tip-form-wrapper .report-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .report-form .form-row {
      display: flex;
      gap: 1rem;
    }

    .report-form .form-row .form-field {
      flex: 1;
    }

    .report-form .form-field label {
      display: block;
      color: var(--text-heading);
      font-weight: 600;
      font-size: 0.85rem;
      margin-bottom: 0.35rem;
    }

    .report-form .form-field input,
    .report-form .form-field select,
    .report-form .form-field textarea {
      width: 100%;
      padding: 0.6rem 0.75rem;
      background: var(--bg-tertiary);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 0.95rem;
      line-height: 1.5;
      transition: border-color 0.2s;
    }

    .report-form .form-field input:focus,
    .report-form .form-field select:focus,
    .report-form .form-field textarea:focus {
      outline: none;
      border-color: var(--accent-red);
    }

    .report-form .form-field textarea {
      min-height: 100px;
      resize: vertical;
    }

    .report-form .form-field select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.75rem center;
      padding-right: 2rem;
    }

    .report-form .submit-btn {
      display: inline-block;
      background: var(--accent-red);
      color: #fff;
      border: none;
      padding: 0.65rem 1.75rem;
      border-radius: 4px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: background 0.2s;
      align-self: flex-start;
    }

    .report-form .submit-btn:hover {
      background: var(--accent-red-dim);
    }

    .report-form .submit-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .report-form .form-status {
      padding: 0.75rem 1rem;
      border-radius: 4px;
      font-size: 0.9rem;
      display: none;
    }

    .report-form .form-status.success {
      display: block;
      background: rgba(76, 175, 80, 0.15);
      border: 1px solid #4caf50;
      color: #81c784;
    }

    .report-form .form-status.error {
      display: block;
      background: rgba(229, 57, 53, 0.15);
      border: 1px solid var(--accent-red);
      color: #ef9a9a;
    }

    .report-form .anon-note {
      font-size: 0.8rem;
      color: var(--text-secondary);
      margin: 0;
    }

    @media (max-width: 600px) {
      .report-form .form-row {
        flex-direction: column;
      }
    }

    /* Footer */
    footer {
      background: var(--bg-secondary);
      border-top: 1px solid var(--border-color);
      padding: 2rem 1.5rem;
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.85rem;
    }

    footer p {
      margin: 0.25rem 0;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .footer-logo {
      margin-bottom: 1rem;
    }

    .footer-logo img {
      border-radius: 50%;
      margin: 0 auto;
    }

    /* Utility */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
.ice-spotted-ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.25rem auto 0.75rem;
  width: 728px;
  max-width: 100%;
  height: 90px;
  overflow: hidden;
}

@media (max-width: 959px) {
  .ice-spotted-ad-slot {
    width: 300px;
    height: 250px;
  }
}
