/* ===== XPRESS NEWS — UNIFIED STYLES ===== */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+3:wght@400;600&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown: #3b2a1a;
  --brown-mid: #5a3d28;
  --amber: #c97b3d;
  --amber-dark: #a65f2d;
  --cream: #f5e6d3;
  --bg: #f4f1ec;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body {
  font-family: "Source Sans 3", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--brown);
  color: white;
  padding: 0 24px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
}
.logo span {
  color: var(--amber);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  text-decoration: none;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 6px;
  transition: background 0.18s;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.nav a.active {
  color: var(--amber);
}
.actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.actions button {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s;
}
.actions button:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hamburger {
  display: none;
}
#google_translate_element {
  display: none;
  position: absolute;
  top: 64px;
  right: 16px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 200;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--brown-mid);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 13px 24px;
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* SEARCH */
.search-bar {
  background: white;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: none;
}
.search-bar.open {
  display: block;
}
.search-bar input {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  padding: 10px 16px;
  font-size: 15px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
}
.search-bar input:focus {
  border-color: var(--amber);
}

/* PAGE HERO */
.page-hero {
  background: var(--brown);
  color: var(--cream);
  padding: 30px 24px 26px;
  border-bottom: 3px solid var(--amber);
}
.page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  margin-bottom: 6px;
}
.page-hero p {
  color: rgba(245, 230, 211, 0.7);
  font-size: 15px;
}

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 28px 24px;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* NEWS CARD */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}
.news-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: #fdebd6;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.news-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.read-more {
  align-self: flex-start;
  padding: 8px 16px;
  border: none;
  background: var(--amber);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
  transition: background 0.18s;
}
.read-more:hover {
  background: var(--amber-dark);
}

/* FEATURED CARD */
.featured-card {
  grid-column: 1 / -1;
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.featured-card .news-image {
  width: 52%;
  height: 320px;
  flex-shrink: 0;
}
.featured-card .news-card-body {
  padding: 28px;
  justify-content: center;
}
.featured-card h3 {
  font-size: 24px;
}
.featured-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--amber);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* ARTICLE */
.article-container {
  max-width: 820px;
  margin: 36px auto;
  padding: 0 24px;
  flex: 1;
}
.article-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.article-inner .article-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.article-body {
  padding: 32px;
}
.article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: #fdebd6;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.article-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.article-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.article-content p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
  color: #333;
}

/* RELATED */
.related-section {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.related-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
  display: inline-block;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* FOOTER */
.footer {
  background: var(--brown);
  color: var(--cream);
  margin-top: auto;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 48px 24px 32px;
  max-width: 1100px;
  margin: auto;
}
.footer-column h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  margin-bottom: 16px;
  color: #fff;
}
.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #e0c3a3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-column ul li a:hover {
  color: #fff;
}
.footer-column p {
  font-size: 14px;
  color: rgba(245, 230, 211, 0.7);
  margin-bottom: 12px;
}
.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter input {
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.newsletter button {
  padding: 10px;
  border: none;
  background: var(--amber);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.18s;
}
.newsletter button:hover {
  background: var(--amber-dark);
}
.footer-bottom {
  text-align: center;
  padding: 16px;
  border-top: 1px solid var(--brown-mid);
  font-size: 13px;
  color: rgba(245, 230, 211, 0.5);
}

main {
  flex: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .featured-card {
    flex-direction: column;
  }
  .featured-card .news-image {
    width: 100%;
    height: 220px;
  }
  .article-inner .article-image {
    height: 240px;
  }
  .article-title {
    font-size: 24px;
  }
  .news-grid {
    padding: 16px;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .header {
    padding: 0 14px;
  }
  .logo {
    font-size: 22px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}
