/* General Body and Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: #f7f9fa;
  color: #1a2332;
  padding-top: 80px; /* Provide space for the fixed header */
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 80px); /* Adjust for header height */
}

main {
  flex-grow: 1; /* This makes the main content take up available space */
  width: 100%;
}

.content-container {
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(26,35,50,0.06);
}

h1, h2 {
  font-family: 'Times New Roman', Times, serif;
  color: #1a2332;
}

/* Header and Navigation */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e9f2;
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(26,35,50,0.04);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  height: 70px;
}

.site-logo {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a2332;
  margin-right: 2.5rem;
  letter-spacing: 2px;
  border-right: 1px solid #e5e9f2;
  padding-right: 2.5rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: #1a2332;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: #f7f9fa;
  color: #B8860B;
}

/* Dropdown Navigation */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.arrow-down {
  border: solid #1a2332;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 4px;
  border: 1px solid #e5e9f2;
  padding-top: 0.5rem; /* Add padding to create space inside */
  top: 100%; /* Position it right below the parent */
  left: 0;
}

.site-nav > * {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content a {
  color: #1a2332;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: #f7f9fa;
  color: #B8860B;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .arrow-down {
  transform: rotate(225deg);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.btn-outline {
  background: #fff;
  color: #1a2332;
  border: 2px solid #1a2332;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: #1a2332;
  color: #fff;
}

.btn-filled {
    background: #1a2332;
    color: #fff;
    border: 2px solid #1a2332;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-filled:hover {
    background: #3c4a61;
    border-color: #3c4a61;
}

/* Hamburger Menu */
.hamburger-menu {
  display: block; /* Always visible */
  margin-left: 1rem;
  position: relative;
  z-index: 1100;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e5e9f2;
  box-shadow: 0 2px 8px rgba(26,35,50,0.04);
}

.hamburger-icon span {
  display: block;
  width: 24px;
  height: 3px;
  background: #1a2332;
  margin: 4px 0;
  border-radius: 2px;
  transition: background 0.2s;
}

#menu-toggle {
  display: none;
}

.hamburger-dropdown {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(26,35,50,0.08);
  z-index: 1200;
  border-radius: 4px;
  border: 1px solid #e5e9f2;
}

.hamburger-dropdown a {
  color: #1a2332;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 1px solid #e5e9f2;
  transition: background 0.2s, color 0.2s;
}

.hamburger-dropdown a:last-child {
  border-bottom: none;
}

.hamburger-dropdown a:hover {
  background: #f7f9fa;
  color: #B8860B;
}

#menu-toggle:checked ~ .hamburger-dropdown {
  display: block;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/262333/pexels-photo-262333.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.hero-content h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-buttons .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero-buttons .btn-outline:hover {
    background: #fff;
    color: #1a2332;
}

/* Reports Section */
.reports-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.reports-section h2 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.report-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.report-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(26,35,50,0.06);
}

.report-info h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.report-date {
  color: #5c6a7d;
  font-size: 0.9rem;
  margin: 0;
}

.report-item .btn-filled {
    padding: 0.5rem 2rem;
}

/* --- Articles Page --- */
.articles-page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e9f2;
}

.articles-page-header h1 {
  font-size: 3rem;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 0.5rem;
}

.articles-page-header p {
  font-size: 1.1rem;
  color: #5c6a7d;
  max-width: 600px;
  margin: 0 auto;
}

.featured-article {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 8px 24px rgba(26,35,50,0.08);
  border: 1px solid #e5e9f2;
}

.featured-article-content {
  padding: 2.5rem;
}

.article-category {
  display: inline-block;
  background-color: #f7f9fa;
  color: #B8860B;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-article h2 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.25rem;
  margin: 0 0 1rem 0;
}

.featured-article h2 a {
  color: #1a2332;
  text-decoration: none;
  transition: color 0.2s;
}

.featured-article h2 a:hover {
  color: #B8860B;
}

.article-excerpt {
  font-size: 1.05rem;
  color: #5c6a7d;
  margin-bottom: 1.5rem;
}

.article-meta {
  font-size: 0.9rem;
  color: #5c6a7d;
  margin-bottom: 2rem;
}

.article-grid-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e9f2;
    margin-bottom: 2rem;
}

.article-grid-header h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.75rem;
    margin: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.article-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(26,35,50,0.06);
  border: 1px solid #e5e9f2;
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(26,35,50,0.08);
}

.article-card-content {
  padding: 1.5rem;
}

.article-card h4 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  margin: 0 0 0.75rem 0;
}

.article-card h4 a {
  color: #1a2332;
  text-decoration: none;
}

.article-card .article-excerpt {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-card .article-meta {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.read-more-link {
    color: #B8860B;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.read-more-link:hover {
    color: #1a2332;
}

.subscribe-page {
  text-align: center;
  padding: 3rem 1rem;
}

.subscribe-page h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.subscribe-page p {
  font-size: 1.1rem;
  color: #5c6a7d;
  margin-bottom: 2rem;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.subscribe-form input[type="email"] {
  width: 100%;
  max-width: 350px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.subscribe-form .btn-filled {
  padding: 0.75rem 2rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .site-nav, .nav-actions {
    display: none;
  }
  .hamburger-menu {
    display: block; /* Show hamburger on mobile */
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    margin-left: 0;
  }
  .site-logo {
    border-right: none;
    padding-right: 0;
    margin-right: auto;
  }
}

/* Footer Styling */
footer {
  text-align: center;
  padding: 2rem 0 1rem 0;
  background: #f7f9fa;
  border-top: 1px solid #e5e9f2;
  color: #1a2332;
  font-size: 1.1rem;
  margin-top: 3rem;
}

/* Post Article Section Styling */
.post-article-section {
  text-align: center;
  padding: 2rem 0;
}

.post-article-section h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.post-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  align-items: stretch;
}

.post-form label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2332;
  text-align: left;
}

.post-form input[type="text"],
.post-form textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.post-form textarea {
  resize: vertical;
}

.post-form .btn-filled {
  padding: 0.75rem 2rem;
  align-self: center;
}
}
