body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 0;
  background: #fffdf9;
}

/* Header */
header {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
  border-bottom: 2px solid #000;
  #max-width: 960px;
  margin: auto;
}

header h1 {
  font-size: 4rem;
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  margin-bottom: 0.2rem;
  letter-spacing: -2px;
}

.date {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Navigation below title */
.nav-bar {
  #border-top: 1px solid #ccc;
  #border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
  #background: #fffdf9;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  font-family: 'Georgia', serif;
  flex-wrap: wrap;
}

.menu li a {
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.menu li a:hover {
  border-bottom: 2px solid #000;
}

/* Layout wrapper */
.page-layout {
  max-width: 960px;
  margin: auto;
  padding: 1rem;
min-height: calc(100vh - 309px);
}

/* Top Stories Section */
.top-stories {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.main-headline h2 {
  font-size: 1.8rem;
  margin: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  line-height: 0.97em;
}

.sub-story h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  letter-spacing: -1px;
}

.caption {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.article-grid article {
  border-top: 2px solid #000;
  padding-top: 0.5rem;
}

.article-grid h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
  letter-spacing: -1px;
}

.article-grid p {
  font-size: 0.9rem;
  color: #333;
}

/* Footer */
footer {
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: #000;
  color: #fff;
}

/* Article Page */
.article-page article {
  max-width: 700px;
  margin: auto;
}

.article-title {
  font-size: 2rem;
  font-family: 'Times New Roman', serif;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
letter-spacing: -1px;
}

.subtitle {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}

.byline {
  font-weight: bold;
  margin-bottom: 0.2rem;
letter-spacing: -0.5px;
}

.article-hero {
  margin: 1.5rem 0;
}

.article-hero img {
  width: 100%;
  height: auto;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-hero,
.featured-image {
  margin: 1.5rem 0;
  //text-align: center;
}

.article-hero img,
.featured-image img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: auto;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    object-fit: cover;
}

/* Featured Image */
.featured-image {
  margin-bottom: 1.5rem;
}

.featured-image img {
  width: 100%;
max-width: 100%;
  height: auto;
}

.headline-image {
  text-align: center;
  margin: 1rem auto;
  max-width: 760px;
}

.headline-image img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  //border: 2px solid #ccc;
  background: #f8f8f8;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.headline-image.big img {
  max-height: 320px;
}

.headline-image .caption {
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.caption {
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
  margin-top: 0.4rem;
  line-height: 1.4;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.article-link, header a {
  color: #000;
  text-decoration: none;
}

@media (max-width: 600px) {
  .top-stories {
    grid-template-columns: 1fr;
  }

  .top-stories > :first-child {
    grid-column: 1 / -1; /* Main headline spans full width */
  }

  .top-stories > :nth-child(2),
  .top-stories > :nth-child(3) {
    grid-column: span 1; /* Sub-stories stack 50/50 by default */
  }
}

/* FFORM */
        form {
            max-width: 800px;
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        label {
            display: block;
            margin-bottom: 15px;
        }
        label span {
            display: inline-block;
            width: 140px;
            font-weight: bold;
            vertical-align: top;
        }
        input[type="text"], input[type="file"], textarea {
            width: 100%;
            max-width: 100%;
            padding: 10px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 6px;
            box-sizing: border-box;
        }
        textarea {
            min-height: 100px;
            resize: vertical;
        }
        .form-row {
            margin-bottom: 20px;
        }
        .image-preview {
            margin: 10px 0;
        }
        .delete-link {
            display: inline-block;
            margin-top: 5px;
            color: red;
            text-decoration: none;
            font-size: 14px;
        }
        .delete-link:hover {
            text-decoration: underline;
        }
        input[type="submit"] {
            background: #2c7be5;
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            cursor: pointer;
        }
        input[type="submit"]:hover {
            background: #1a5edb;
        }