/* Daily Side-Eye — LIGHT MODE ONLY */

:root {
  --bg: #ffffff;
  --panel: #ffffff;

  --text: #111111;
  --muted: #555555;
  --accent: #1f6feb;
  --danger: #b00020;

  --border: #e1e4e8;
  --card-bg: #f9fafb;
  --card-border: #e1e4e8;
  --card-hover-bg: #eef4ff;
  --card-hover-border: #b6d0ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
}

/* Page width alignment */
.page-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid var(--border);
  padding-top: 28px;
  padding-bottom: 22px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}

.brand-icon {
  width: 52px;
  height: 52px;
  opacity: 0.95;
}

/* --- Animated logo (eye + eyebrow together) --- */
.brand-icon-anim {
  display: block;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transform-origin: 18% 55%;
  animation: dseEyebrowRaise 2.2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .brand-icon-anim {
    animation: none;
  }
}

@keyframes dseEyebrowRaise {
  0%   { transform: translateY(0) rotate(0deg); }
  10%  { transform: translateY(0) rotate(0deg); }
  55%  { transform: translateY(-2px) rotate(-4deg); }
  73%  { transform: translateY(-2px) rotate(-4deg); }
  100% { transform: translateY(-1px) rotate(-2deg); }
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 30px;
}

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

/* Columns */
.col {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}

/* Sections */
.section-header {
  padding: 18px 16px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
}

.section-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.section-note {
  font-size: 13px;
  color: var(--muted);
}

.section-divider {
  height: 1px;
  background: var(--border);
}

.section-body {
  padding: 12px 14px 16px;
  min-height: 54px;
}

/* Breaking emphasis */
#breaking {
  border-left: 5px solid var(--accent);
  padding-left: 12px;
}

/* Headlines */
.headline {
  display: block;
  text-decoration: none;
  padding: 14px 14px;
  margin: 8px 6px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.headline:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
}

/* ALL headlines bold */
.title {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--text);
}

/* Military headlines in Breaking */
#breaking .headline.military .title {
  color: var(--danger);
  font-weight: 900;
}

/* Meta / Snark */
.meta-row {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.source {
  font-size: 14.5px;
  color: var(--muted);
}

.source.snark {
  margin-top: 4px;
}

/* Empty / Loading */
.empty {
  padding: 10px 6px;
  font-size: 14.5px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding-top: 14px;
  padding-bottom: 30px;
  font-size: 14px;
  color: var(--muted);
}

.meta {
  margin-bottom: 6px;
}
