/* ================================
   PTS Guide News - Complete styles.css
   Mobile-first, full-width scaling
   ================================ */

/* Base layout and typography */
html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #222;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Links */
a {
  color: #009344;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.header-container {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #009344;
  color: #fff;
}

.branding h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo img {
  max-height: 40px;
  height: auto;
  width: auto;
  border-radius: 6px;
}

/* Navigation */
.main-nav .menu {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.menu li {
  position: relative;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.dropdown-toggle {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #fff;
  color: #333;
  padding: 0.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  z-index: 1000;
}

.submenu li {
  margin: 0.25rem 0;
}

.submenu a {
  color: #009344;
  text-decoration: none;
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
}
.submenu a:hover {
  background-color: #f0f7f2;
}

/* Main content */
.content {
  width: 100%;
  padding: 1rem;
  margin: 0 auto;
}

/* News page hero and cards */
.news-page {
  width: 100%;
}

.news-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.news-text {
  flex: 1 1 60%;
}

.news-image {
  flex: 1 1 35%;
  text-align: right;
}

.news-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: inline-block;
}

/* Highlight boxes (cards) */
.highlight-box {
  background-color: #fff;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.highlight-box h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #009344;
  font-size: 1.2rem;
  font-weight: 700;
}

.highlight {
  background: none; /* keep span but no background */
}

/* Footer */
footer {
  width: 100%;
  padding: 1rem;
  text-align: center;
  background-color: #009344;
  color: #fff;
}

/* ================================
   Responsive adjustments
   ================================ */

/* Large tablets */
@media (max-width: 1024px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .logo img {
    max-height: 36px;
  }
}

/* Phones and small screens (incl. Fold small display) */
@media (max-width: 768px) {
  html, body {
    font-size: 17px; /* slightly larger for readability */
  }

  .main-nav .menu {
    justify-content: center;
  }

  .news-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .news-image {
    text-align: center;
    margin-top: 20px;
  }

  .news-image img {
    max-width: 90%;
  }

  .content {
    padding: 1rem;
  }

  .highlight-box {
    padding: 1rem;
  }
}

/* Very small screens */
@media (max-width: 420px) {
  html, body {
    font-size: 18px; /* ensure minimum comfortable size */
  }

  .highlight-box {
    padding: 0.9rem;
  }

  .menu a, .dropdown-toggle {
    font-size: 0.95rem;
  }
}