/* ================================
   GLOBAL SETTINGS
================================= */
*,
*::before,
*::after { 
  box-sizing: border-box; 
}

body {
  margin: 0;
  font-family: 'Figtree', Arial, sans-serif;
  background-color: #1C4831;
  color: #DBC8A0;
  line-height: 1;
}

a {
  text-decoration: none;
/*  color: #007bff;*/
  colors: #F95E05;
}

/* ================================
   NAVBAR
================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1C4831;
  border-bottom: 1px solid #DBC8A0;
  padding: 1rem 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
}

.brand-group {
  display: flex;
  flex-direction: column;
}

.navbar .brand {
  font-family: 'Hedvig Letters Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #F95E05;
}

.navbar .tagline {
  font-size: 0.9rem;
  color: #DBC8A0;
  margin: 0.2rem 0 0;
}

.navbar .search-bar {
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid #ccc;
  width: 250px;
  font-family: 'Figtree', Arial, sans-serif;
  transition: 0.3s;
  color: #DBC8A0;
}

.navbar .search-bar:focus {
  border-color: #243147;
  box-shadow: 0 0 8px rgba(0,123,255,0.3);
  outline: none;
}

/* ================================
   TAG BUTTONS
================================= */
.tags-container {
  margin-top: 90px; /* to offset fixed navbar */
  text-align: center;
  padding: 1rem 0;
}

.tag-btn {
  font-family: 'Hedvig Letters Serif', Georgia, serif;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0.25rem;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  background-color: #112c1e;
  cursor: pointer;
  transition: 0.2s;
  color: white;
}

.tag-btn:hover {
  background-color: #0b1d14;
}

.tag-btn.active {
  background-color: #F95E05;
  color: white;
}

/* ================================
   ARTICLES FEED
================================= */
.articles-container {
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

.post {
  background-color: #DBC8A0;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden; /* ensures images clip to border radius */
}

.post:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.post-title {
  font-family: 'Hedvig Letters Serif', Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0rem;
}

.post-title a {
 /* color: #007bff; */
  color: #F95E05;
}

.post-date {
  font-size: 0.9rem;
  color: #112c1e;
  margin-bottom: 1rem;
}

.post-text {
  font-family: 'Figtree', Arial, sans-serif;
  margin-bottom: 1rem;
  color: #112c1e
}

.img-flex {
  display: block;
  max-width: 100%;   /* shrink down if too large */
  width: auto;       /* don’t force expansion */
  height: auto;      /* keep aspect ratio */
  margin: 0 auto 1rem; /* center inside container + spacing */
  border-radius: 8px;
}


.read-more {
  font-family: 'Figtree', Arial, sans-serif;
  padding: 0.4rem 0.8rem;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.2s;
}

.read-more:hover {
  background-color: #0056b3;
}

/* ================================
   FOOTER
================================= */
footer {
  font-family: 'Hedvig Letters Serif', Georgia, serif;
  text-align: center;
  padding: 2rem 0;
  background-color: #1C4831;
  border-top: 1px solid #DBC8A0;
  color: #DBC8A0;
}
