/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE STYLES ===== */
body {
  background-color: #f7f3ee; /* warm paper-like background */
  color: #222;
  margin: 0;
}

/* ===== HEADER ===== */
.site-header {
  text-align: center;
  padding: 1rem 1rem 3rem 1rem;
  border-bottom: 1px solid #ccc;
}


.dateTime p {
  margin: 0;  /* Remove default paragraph margins */
}
.site-title {
  font-size: 3rem;
  letter-spacing: 1px;
}

.site-tagline {
font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem;
  color: black;
  margin: 1rem;
}

/* ===== NAVIGATION ===== */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.site-nav a {
  text-decoration: none;
  color: #222;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.site-nav a:hover {
  text-decoration: underline;
}


/* ===== BLOG CARD ===== */
.blog-card {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ccc;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
}

.blog-description {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ===== READ MORE LINK ===== */
.read-more {
  text-decoration: none;
  font-size: 0.9rem;
  color: #000;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.dateTime{
  display: flex;
  width: 100%;
  justify-content: space-around;
  flex-direction: row;
  margin-bottom: 10px;
  font-weight: 600;
}

.line {
  width: 80%;
  display: flex;
  justify-content: center;
  margin: auto;
  height: 1px;
  background-color: #000;
  margin-bottom: 2px;
}
.small-tagline{
  font-family: "Quintessential", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  margin: 1rem;
}
.bio{
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 8px;
  margin: 1rem;
}

.fi{
  font-size: 20px;
  margin: 10px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:focus {
  outline: none;
}
.site-footer a:focus-visible {
  outline: 2px dashed black;
}


/* main content area */

/* ===== MAIN CONTENT WRAPPER ===== */
.content-wrapper {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* ===== SECTION HEADINGS ===== */
/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;  /* Space between text and line */
}

.section-heading::after {
  content: '';
  flex-grow: 1;  /* This makes the line extend to fill remaining space */
  height: 2px;
  background-color: #000;
}

/* ===== LATEST DISPATCH (FEATURED ARTICLE) ===== */
.latest-dispatch {
  margin-bottom: 4rem;
}

.featured-article {
  padding: 2rem;
  border: 2px solid #222;
  background-color: #fff;
}

.featured-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.featured-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ===== FROM THE ARCHIVES SECTION ===== */
.archives-section {
  margin-top: 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
/* Making responsive for tablets and mobile */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-title {
    font-size: 1.5rem;
  }
  
  .featured-description {
    font-size: 1rem;
  }
}

/* ===== BLOG CARD ===== */
.blog-card {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ccc;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
}

.blog-description {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ===== READ MORE LINK ===== */
.read-more {
  text-decoration: none;
  font-size: 0.9rem;
  color: #000;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* ===== BLOG CARD ===== */
.blog-card {
  padding: 2rem;
  border: 2px solid #222;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border: 1px solid #222;
  background-color: #fff;
  margin-bottom: 1rem;
  width: fit-content;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-family: "Arvo", serif;
  font-weight: 700;
}

.blog-date {
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
}

.blog-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
  flex-grow: 1;
}

.dotted-line {
  border-top: 1px dashed #999;
  margin: 1rem 0;
}

/* ===== READ MORE LINK ===== */
.read-more {
  text-decoration: none;
  font-size: 0.9rem;
  color: #000;
  font-style: italic;
}

.read-more:hover {
  text-decoration: underline;
}

/* ===== ARTICLE HEADER (Tag + Date on same line) ===== */
.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid #222;
}

.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border: 1px solid #222;
  background-color: #fff;
  margin-bottom: 0;
  width: fit-content;
}

.blog-date {
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  margin-bottom: 0;
}


/* ===== ARTICLE HEADER (Tag + Date on same line) ===== */
.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;  /* Add padding before the line */
  border-bottom: 1px solid #222;  /* Add thin line */
}

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid #222;  /* Extra thin line */
}

.end-edition {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #666;
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 0;
  border-top: 1px solid #222;
}
/* Footer divider with decorative icon */
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.divider-line {
  width: 100px;
  height: 1px;
  background-color: #222;
}

.divider-icon {
  font-size: 1.2rem;
  color: #222;
}

.footer-quote {
  font-style: italic;
  font-size: 15px;
  color: #444;
  margin: 0.3rem auto;
  max-width: 600px;
  line-height: 1.6;
}

.footer-credits {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #666;
  margin-bottom: 2rem;
}

.icons {
  margin: 2rem 0 1rem 0;
}

.fi {
  font-size: 20px;
  margin: 0 10px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #000;
}

.site-footer a:focus {
  outline: none;
}

.site-footer a:focus-visible {
  outline: 2px dashed black;
}

.copyright {
  font-size: 0.8rem;
  color: #777;
  margin-top: 1rem;
}

/* ===== CLICKABLE CARD LINK ===== */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover .featured-article,
.card-link:hover .blog-card {
  background-color: #faf8f5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Update read-more to not be a link anymore */
.read-more {
  text-decoration: none;
  font-size: 0.9rem;
  color: #000;
  font-style: italic;
  display: inline-block;
}