/* ─── Single Chronicle Page ─── */
.chronicle-article {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem 20px;
  background: linear-gradient(145deg, #1e2a38, #2b3f57, #3e5e7e);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
  box-sizing: border-box;
}

/* ─── Hero Image ─── */
.chronicle-article__hero {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.chronicle-article__hero img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ─── Category Pill ─── */
.chronicle-article__category {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ─── Title & Meta ─── */
.chronicle-article__title {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  color: #ffffff;
}
.chronicle-article__meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}
.chronicle-article__meta time {
  margin-right: 1rem;
}

/* ─── Body Container ─── */
.chronicle-article__body {
  background: linear-gradient(145deg, #1e2a38, #2b3f57, #3e5e7e);
  color: #e2ebf3;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* ─── Typography ─── */
.chronicle-article__body p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
}
.chronicle-article__body h2,
.chronicle-article__body h3,
.chronicle-article__body h4 {
  margin: 2rem 0 1rem;
  color: #ffd700;
}
.chronicle-article__body ul,
.chronicle-article__body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.chronicle-article__body blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

/* ─── Share + Subscribe Row Layout ─── */
.chronicle-share-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: 1rem;
  background: rgba(0, 44, 79, 0.6);
  padding: 1rem 1.25rem;
  border-radius: 8px;
}

/* ─── Social Buttons Left ─── */
.chronicle-share-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chronicle-share__label {
  font-weight: bold;
  color: #ffffff;
  margin-right: 8px;
}

.chronicle-share-left a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.chronicle-share-left a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.chronicle-share-left a:hover img {
  transform: scale(1.15);
  filter: brightness(1.15);
}

/* ─── Chronicle Subscribe Form ─── */
.chronicle-subscribe-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.chronicle-subscribe-form input[type="email"] {
  flex: 1 1 350px;
  min-width: 250px;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #00b4d8;
  font-size: 1rem;
  font-family: inherit;
  background-color: #001d3d;
  color: #dff6ff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.chronicle-subscribe-form input[type="email"]:focus {
  border-color: #00d4ff;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
  background-color: #002a5a;
}

.chronicle-subscribe-form button {
  padding: 12px 28px;
  background: linear-gradient(to right, #3ecf8e, #26b07c);
  color: #001d16;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(62, 207, 142, 0.5);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.chronicle-subscribe-form button:hover {
  background: linear-gradient(to right, #26b07c, #3ecf8e);
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(62, 207, 142, 0.8);
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .chronicle-share-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .chronicle-subscribe-form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .chronicle-subscribe-form input,
  .chronicle-subscribe-form button {
    width: 100%;
  }
}



/* ─── Navigation ─── */
.chronicle-article__nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.chronicle-article__nav a {
  background: #ffd700;
  color: #1e2a38;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.chronicle-article__nav a:hover {
  background: #e6c200;
}

/* ─── Comments ─── */
.chronicle-article__comments {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 8px;
  color: #fff;
}
.chronicle-article__comments #reply-title {
  font-size: 1.5rem;
  color: #ffd700;
  margin-bottom: 1rem;
}
.chronicle-article__comments label,
.chronicle-article__comments .comment-notes {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  display: block;
}
.chronicle-article__comments input[type="text"],
.chronicle-article__comments input[type="email"],
.chronicle-article__comments input[type="url"],
.chronicle-article__comments textarea {
  width: 100%;
  background: #fff;
  color: #1e2a38;
  border: none;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  resize: vertical;
}
.chronicle-article__comments input[type="submit"] {
  background: #ffd700;
  color: #1e2a38;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.chronicle-article__comments input[type="submit"]:hover {
  background: #e6c200;
}

/* ─── Existing Comments ─── */
.chronicle-article__comments .comment-list {
  margin-top: 2rem;
}
.chronicle-article__comments .comment-list li {
  background: #223043;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.chronicle-article__comments .comment-meta,
.chronicle-article__comments .comment-author {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.chronicle-article__comments .comment-content {
  margin-top: 0.5rem;
  color: #e0e0e0;
}

/* ─── Comment Section Fix for Chronicle ─── */
.chronicle-article__comments a,
.logged-in-as a,
.comment-form a,
#respond a {
  color: #ffd700;
  text-decoration: underline;
}

.chronicle-article__comments a:hover,
.logged-in-as a:hover,
.comment-form a:hover,
#respond a:hover {
  color: #ffffff;
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .chronicle-article {
    margin: 2rem 10px;
    padding: 1rem;
  }
  .chronicle-article__title {
    font-size: 2rem;
  }
  .chronicle-article__body {
    padding: 1rem;
  }
  .chronicle-share {
    flex-direction: column;
    align-items: flex-start;
  }
  .chronicle-share__label {
    margin-bottom: 0.5rem;
  }
}
