:root {
  --primary-color: #2c3e50;
  --secondary-color: #f6ae01;
  --accent-color: #e67e22;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --border-color: #ddd;
  --navbar-bg: rgba(255, 255, 255, 0.9);
  --navbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --hamburger-color: #f6ae01;
  --menu-bg: rgba(0, 0, 0, 0.9);
  --menu-text-color: white;
  --footer-bg: #222;
  --footer-text-color: white;
  --footer-link-color: #ddd;
  --footer-link-hover: #f6ae01;
  --footer-border-color: #444;
}

/* Basic Reset and Body Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--navbar-bg);
  box-shadow: var(--navbar-shadow);
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
}

.site-title {
  margin-left: 15px;
}

.site-title h1 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.site-title p {
  font-size: 0.8rem;
  color: #777;
}

.hamburger-menu {
  position: relative;
}

.menu-icon {
  font-size: 44px;
  cursor: pointer;
  color: var(--hamburger-color);
}

.menu-links {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-color: var(--menu-bg);
  color: var(--menu-text-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  padding: 80px 30px;
  overflow-y: auto;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.menu-links.show {
  display: flex;
  transform: translateX(0);
}

.menu-links a {
  padding: 15px 0;
  color: var(--menu-text-color);
  font-weight: bold;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-links a:last-child {
  border-bottom: none;
}

.menu-links a:hover {
  color: var(--hamburger-color);
}

/* Page Header Styles */
.page-header {
  background-color: #222;
  color: var(--menu-text-color);
  padding: 100px 0 60px;
  text-align: center;
  margin-top: 80px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--hamburger-color);
}

.page-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Article Section Styles */
.article-section {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--menu-text-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-title {
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: #777;
}

.article-meta span {
  margin-right: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.article-meta i {
  margin-right: 5px;
  color: var(--hamburger-color);
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin: 25px 0 15px;
}

.article-content a {
  color: var(--hamburger-color);
  transition: color 0.3s;
}

.article-content a:hover {
  color: #d69600;
}

/* Citation styling */
.article-content span[cite] {
  position: relative;
}

.article-content span[cite]::after {
  content: attr(cite);
  vertical-align: super;
  font-size: 0.7em;
  color: var(--hamburger-color);
  margin-left: 2px;
}

/* Newsletter Section Styles */
.newsletter-section {
  padding: 60px 0;
  background-color: var(--menu-text-color);
}

.newsletter-container {
  background-color: var(--light-gray);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-content {
  flex: 1;
  min-width: 300px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  flex: 1;
  min-width: 300px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--hamburger-color);
  color: var(--menu-text-color);
  border: none;
  padding: 12px 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #d69600;
}

/* Footer Styles */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text-color);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 2;
  min-width: 200px;
}

.footer-logo img {
  max-height: 60px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: var(--footer-link-color);
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h4,
.footer-newsletter h4 {
  color: var(--hamburger-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-link-color);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--footer-link-hover);
}

.footer-newsletter {
  flex: 2;
  min-width: 200px;
}

.footer-newsletter p {
  color: var(--footer-link-color);
  margin-bottom: 15px;
}

.footer-newsletter .newsletter-form {
  display: flex;
}

.footer-newsletter .newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.footer-newsletter .newsletter-form button {
  padding: 10px 15px;
  background-color: var(--hamburger-color);
  color: var(--menu-text-color);
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-newsletter .newsletter-form button:hover {
  background-color: #d69600;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--footer-border-color);
  font-size: 0.9rem;
  color: var(--footer-link-color);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .nav-left {
      display: flex;
      align-items: center;
  }

  .site-title {
      margin-left: 10px;
  }

  .site-title h1 {
      font-size: 1.2rem;
      margin-bottom: 3px;
  }

  .site-title p {
      font-size: 0.7rem;
  }

  .article-title {
      font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  /* Navbar adjustments */
  .navbar {
      padding: 10px 0;
  }

  .logo img {
      height: 50px;
  }

  .site-title {
      margin-left: 10px;
  }

  .site-title h1 {
      font-size: 1.2rem;
  }

  .site-title p {
      font-size: 0.7rem;
  }

  /* Menu adjustments */
  .menu-links {
      width: 80%;
      padding: 60px 20px;
  }

  /* Page header adjustments */
  .page-header {
      padding: 80px 0 40px;
      margin-top: 70px;
  }

  .page-header h1 {
      font-size: 2rem;
  }

  .page-header p {
      font-size: 1rem;
  }

  /* Article adjustments */
  .article-section {
      padding: 40px 0;
  }

  .article-content {
      padding: 20px;
  }

  .article-title {
      font-size: 1.6rem;
  }

  .article-meta {
      flex-direction: column;
  }

  .article-meta span {
      margin-bottom: 5px;
  }

  /* Newsletter adjustments */
  .newsletter-section {
      padding: 40px 0;
  }

  .newsletter-container {
      flex-direction: column;
      text-align: center;
  }

  .newsletter-content {
      margin-right: 0;
      margin-bottom: 20px;
  }

  .newsletter-form {
      width: 100%;
  }

  /* Footer adjustments */
  .footer {
      padding: 40px 0 20px;
  }

  .footer-content {
      flex-direction: column;
      gap: 30px;
  }

  .footer-logo img {
      height: 50px;
  }

  .newsletter-form {
      flex-direction: column;
      gap: 10px;
  }

  .footer-newsletter .newsletter-form input,
  .footer-newsletter .newsletter-form button {
      width: 100%;
      padding: 12px;
      border-radius: 5px;
  }

  .footer-newsletter .newsletter-form button {
      margin-top: 10px;
  }
}

/* Additional adjustments for very small screens */
@media screen and (max-width: 360px) {
  .logo img {
      height: 40px;
  }

  .site-title h1 {
      font-size: 1rem;
  }

  .site-title p {
      font-size: 0.6rem;
  }

  .article-title {
      font-size: 1.4rem;
  }
}

/* Simplified Contact Section Styles */
.contact-simplified {
  padding: 60px 0;
  background-color: var(--light-gray);
  text-align: center;
}

.contact-simplified h2 {
  margin-bottom: 40px;
  color: var(--text-color);
  font-size: 2.5rem;
}

.contact-info-simplified {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-simplified .info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.contact-info-simplified .info-item i {
  font-size: 2rem;
  color: var(--hamburger-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--hamburger-color);
  color: var(--menu-text-color);
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #d69600;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--navbar-bg);
  box-shadow: var(--navbar-shadow);
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
}

.site-title {
  margin-left: 15px;
}

.site-title h1 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.site-title p {
  font-size: 0.8rem;
  color: #777;
}

.hamburger-menu {
  position: relative;
}

.menu-icon {
  font-size: 44px;
  cursor: pointer;
  color: var(--hamburger-color);
}

.menu-links {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-color: var(--menu-bg);
  color: var(--menu-text-color);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  padding: 80px 30px;
  overflow-y: auto;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.menu-links.show {
  display: flex;
  transform: translateX(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--menu-text-color);
}

.menu-links a {
  padding: 15px 0;
  color: var(--menu-text-color);
  font-weight: bold;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-links a:last-child {
  border-bottom: none;
}

.menu-links a:hover {
  color: var(--hamburger-color);
}
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e67e22;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --border-color: #ddd;
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --navbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --hamburger-color: #f6ae01;
  --menu-bg: rgba(0, 0, 0, 0.9);
  --menu-text-color: white;
}

/* Basic Reset and Body Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
  padding-top: 110px; /* Adjusted to account for fixed navbar */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--navbar-bg);
  box-shadow: var(--navbar-shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  display: block;
}

.logo img {
  height: 80px;
  transition: height 0.3s ease;
}

.site-title {
  margin-left: 15px;
}

.site-title h1 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.site-title p {
  font-size: 0.8rem;
  color: #777;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  position: relative;
}

.menu-icon {
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--hamburger-color);
  transition: color 0.3s ease;
}

.menu-icon:hover {
  color: #d69600; /* Darker shade for hover effect */
}

.menu-links {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  background-color: var(--menu-bg);
  color: var(--menu-text-color);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  padding: 80px 30px 30px;
  overflow-y: auto;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.menu-links.show {
  display: flex;
  transform: translateX(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--menu-text-color);
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--hamburger-color);
}

.menu-links a {
  padding: 15px 0;
  color: var(--menu-text-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s, padding-left 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-links a:last-child {
  border-bottom: none;
}

.menu-links a:hover {
  color: var(--hamburger-color);
  padding-left: 5px;
}

/* Main Content */
.main-content {
  margin-top: 20px;
}

/* Article Container Styles */
.article-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  margin: 0 auto 40px;
  overflow: hidden;
  max-width: 900px;
}

.article-header {
  background: var(--primary-color);
  color: white;
  padding: 40px;
  position: relative;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9em;
  margin-top: 15px;
  color: rgba(255,255,255,0.8);
}

.article-meta span {
  display: flex;
  align-items: center;
}

.article-meta i {
  margin-right: 5px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .logo img {
    height: 60px;
  }
  
  .site-title h1 {
    font-size: 1.3rem;
  }
  
  body {
    padding-top: 90px; /* Adjusted for smaller navbar */
  }
}

@media screen and (max-width: 768px) {
  .logo img {
    height: 50px;
  }
  
  .site-title h1 {
    font-size: 1.1rem;
  }
  
  .site-title p {
    font-size: 0.7rem;
  }
  
  .menu-links {
    width: 250px;
  }
  
  .article-header {
    padding: 30px 20px;
  }
  
  .article-meta {
    gap: 15px;
  }
  
  body {
    padding-top: 80px; /* Adjusted for mobile navbar */
  }
}

@media screen and (max-width: 480px) {
  .logo img {
    height: 40px;
  }
  
  .site-title h1 {
    font-size: 1rem;
  }
  
  .site-title p {
    display: none; /* Hide the subtitle on very small screens */
  }
  
  .menu-links {
    width: 100%; /* Full-width menu on small screens */
  }
  
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  body {
    padding-top: 70px; /* Adjusted for smaller mobile navbar */
  }
}