/*
 * COLLEGE SPORTS DAILY
 * File: style.css
 * Revision: 1.02
 * Revised: 2026-10-10
 * Changes: Consolidated marker-free headline list and mobile headline sizing.
 *          Preserved existing public and form styling.
 * Existing admin and submission form styles preserved.
 */

* {
  box-sizing: border-box;
}

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.badge { display: inline-block; font: bold 12px Arial, sans-serif; border: 1px solid currentColor; padding: 2px 5px; margin-right: 5px; }
.trend-match { background: #eef3fa; border-left: 3px solid #36567c; padding: 10px; margin: 10px 0; overflow-wrap: anywhere; }
.trend-match p { margin: 5px 0; }
.check { display: flex; align-items: center; gap: 8px; }
details > summary { cursor: pointer; font-family: Arial, sans-serif; margin-bottom: 10px; }
.actions { margin-top: 10px; }
input, select, textarea { min-width: 0; max-width: 100%; }

body {
  margin: 0;
  background: #f7f5ef;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.34;
}

a {
  color: #063d8f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site {
  width: min(840px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 42px;
}

.masthead {
  text-align: center;
  border-bottom: 3px double #111;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.masthead h1 {
  margin: 0;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 7vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tagline,
.nav,
.meta {
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 8px;
}

.nav a {
  color: #222;
  font-weight: 700;
}

.ticker {
  border-bottom: 1px solid #c8c0ad;
  margin-bottom: 14px;
  padding: 8px 0;
  text-align: center;
}

.lead {
  margin: 0;
  color: #a40000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.story-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.story {
  margin: 0 0 9px;
}

.story a {
  font-size: 20px;
  font-weight: 700;
}

.story .source {
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.priority-breaking a {
  color: #c00000;
}

.priority-announcement a {
  color: #006747;
}

.priority-important a {
  color: #7a2d00;
}

.priority-spotlight a {
  color: #5a2380;
}

.panel {
  border-top: 3px double #111;
  margin-top: 22px;
  padding-top: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea,
button {
  border: 1px solid #777;
  border-radius: 2px;
  font: 16px Arial, Helvetica, sans-serif;
  padding: 9px;
}

textarea {
  min-height: 90px;
}

button,
.button {
  background: #111;
  border-color: #111;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  padding: 9px 12px;
}

.notice {
  background: #fff7cf;
  border: 1px solid #dec76a;
  margin: 12px 0;
  padding: 10px;
}

.admin-table {
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .story a {
    font-size: 18px;
  }
}

/* Public homepage refinements; deliberately scoped to avoid changing /publish/ */
.public-home {
  background: #f8f7f3;
  color: #18202a;
  line-height: 1.43;
}
.public-home .site {
  width: min(940px, calc(100% - 36px));
  padding-top: 22px;
}
.public-home .masthead {
  border-bottom: 3px double #24344a;
  padding-bottom: 15px;
  margin-bottom: 0;
}
.public-home .masthead h1 {
  color: #14263d;
  font-size: clamp(31px, 6vw, 59px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.public-home .tagline {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.4;
}
.public-home .nav {
  gap: 8px 18px;
  margin-top: 14px;
}
.public-home .nav a {
  padding: 4px 0;
  color: #1d3e67;
}
.public-home .nav a[aria-current="page"] {
  border-bottom: 2px solid #a40000;
}
.public-home .ticker {
  margin-bottom: 18px;
  padding: 11px 0;
}
.public-home .lead {
  font-size: 13px;
  letter-spacing: 0.045em;
}
.public-home .story-list {
  list-style: none;
  padding-left: 0;
}
.public-home .story {
  margin-bottom: 14px;
  padding-left: 3px;
  overflow-wrap: anywhere;
}
.public-home .story a {
  color: #063d8f;
  font-size: 20px;
  line-height: 1.35;
}
.public-home .story a:focus-visible,
.public-home .nav a:focus-visible {
  outline: 2px solid #a40000;
  outline-offset: 3px;
}
.public-home .story .source {
  display: block;
  margin-top: 2px;
  color: #626970;
  font-size: 12px;
  line-height: 1.4;
}
.public-home .priority-breaking a { color: #b00020; }
.public-home .priority-announcement a { color: #006747; }
.public-home .priority-important a { color: #7a2d00; }
.public-home .priority-spotlight a { color: #5a2380; }
.public-home footer {
  margin-top: 28px;
  padding-bottom: 8px;
  text-align: center;
}
@media (max-width: 640px) {
  .public-home .site { width: min(100% - 24px, 940px); padding-top: 16px; }
  .public-home .story a { font-size: 18px; }
  .public-home .story { margin-bottom: 13px; }
  .public-home .tagline { font-size: 12px; }
  .public-home .lead { font-size: 12px; }
}

/* Slightly smaller mobile headlines; desktop size unchanged. */
@media (max-width: 600px) {
  .story-list .story a { font-size: 0.9em; }
}

