/* The Political Pass - clean news-site styles. Mobile friendly. */

:root {
  --ink: #1c2733;
  --muted: #5d6b7a;
  --line: #dfe5ec;
  --paper: #ffffff;
  --wash: #f4f6f8;
  --accent: #b07a1e;
  --accent-dark: #8a5f14;
  --navy: #22303f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.brand-mark { color: var(--accent); flex: none; }
.brand-stack { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: 0.2px;
}
.brand-sub {
  font-size: 0.72rem;
  color: #aeb9c5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  color: #d7dee6;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.main-nav a.active { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }

/* Hero */
.hero {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 30px;
  margin: 0 -18px 28px;
  padding-left: 18px;
  padding-right: 18px;
  text-align: center;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  margin: 0;
}
.hero-fullname {
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2px 0 8px;
}
.hero .tagline {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

/* Sections */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  margin: 34px 0 6px;
  padding-bottom: 6px;
}
.section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  margin: 0;
}
.section-head a { font-size: 0.9rem; }

/* Post list */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.post-list h3 { margin: 0 0 4px; font-size: 1.2rem; font-family: Georgia, "Times New Roman", serif; }
.post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h3 a:hover { color: var(--accent-dark); text-decoration: underline; }
.meta { color: var(--muted); font-size: 0.85rem; }
.excerpt { margin: 6px 0 0; color: #33414f; }
.post-thumb { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0 4px; display: block; }

/* News list */
.disclaimer {
  background: #fdf6e3;
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 22px 0;
  font-size: 0.95rem;
}
.disclaimer strong { display: block; margin-bottom: 4px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.news-list .headline { font-size: 1.05rem; margin: 0 0 2px; }
.news-list .headline a { color: var(--ink); text-decoration: none; }
.news-list .headline a:hover { color: var(--accent-dark); text-decoration: underline; }
.outlet {
  display: inline-block;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-right: 8px;
}

/* Article */
.article h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 22px 0 6px;
}
.article-body { margin-top: 14px; }
.article-body img { max-width: 100%; height: auto; }
.hashtags { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* Comments */
.comments { margin-top: 40px; border-top: 2px solid var(--ink); padding-top: 8px; }
.comment { border-bottom: 1px solid var(--line); padding: 12px 0; }
.comment .who { font-weight: 600; }
.comment .when { color: var(--muted); font-size: 0.82rem; margin-left: 8px; }
.comment p { margin: 6px 0 0; }
.comment-policy { font-size: 0.88rem; color: var(--muted); background: var(--wash); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; }
.comment-form { margin-top: 18px; }
.form-row { margin-bottom: 12px; }
label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 0.95rem; }
input[type="text"], textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #b9c4d0;
  border-radius: 6px;
  font-family: inherit;
}
textarea { min-height: 120px; resize: vertical; }
button, .btn {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover, .btn:hover { background: #31445a; }
.btn-danger { background: #a33b32; }
.btn-danger:hover { background: #862e27; }
.btn-small { padding: 6px 12px; font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; }
.notice { background: #e8f3e8; border: 1px solid #9cc39c; border-radius: 6px; padding: 10px 14px; margin: 14px 0; }
.notice.warn { background: #fdf6e3; border-color: var(--accent); }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.95rem; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--wash); }
.admin-actions { white-space: nowrap; }
.login-box { max-width: 380px; margin: 40px auto; }
.tabs { display: flex; gap: 6px; margin: 18px 0; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); background: var(--wash); }
.tabs a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Pagination */
.pager { display: flex; justify-content: space-between; margin: 24px 0; }
.pager a { text-decoration: none; }

/* Footer */
.site-footer {
  margin-top: 50px;
  background: var(--navy);
  color: #c9d3dd;
  padding: 26px 0;
  font-size: 0.88rem;
}
.footer-brand { font-family: Georgia, serif; font-weight: bold; color: #fff; margin: 0; font-size: 1.05rem; }
.footer-sub { color: #aeb9c5; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 6px; }
.footer-note, .footer-copy { margin: 4px 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.7rem; }
  .brand-text { font-size: 1.15rem; }
  .admin-actions a, .admin-actions button { display: inline-block; margin: 2px 0; }
}
