/* =========================================================
 1) Base / Typography
 ========================================================= */
html, body {
 background-color: #ffffff;
 color: #000000;
 font-size: 16px;
 margin: 0;
}

/* Headings */
h1 { color: #2ecc71; font-weight: 800; }
h2 { color: #2ecc71; font-weight: 700; }

/* Consistent, balanced page titles (About/Contact/etc.) */
main h1 {
 font-size: 2.5rem; /* mobile/default */
 font-weight: 700;
 margin-bottom: 2rem;
 text-align: center;
}
@media (min-width: 768px) {
 main h1 { font-size: 3rem; } /* desktop */
}

/* =========================================================
 2) Header layout & nav/tagline sizing
 ========================================================= */
/* Ensure logo stands alone left, nav/tagline centered */


/* Match nav + tagline font size to tool titles */
nav a,
header p.text-base {
 font-size: 1.25rem; /* ~text-xl */
 font-weight: 600;
}
@media (max-width: 640px) {
 nav a,
 header p.text-base {
 font-size: 1.125rem;
 }
}

/* =========================================================
 3) AdSense (manual units) — prevent huge empty space
 ========================================================= */
/* Hide units when AdSense marks them as unfilled */
ins.adsbygoogle[data-ad-status="unfilled"] {
 display: none !important;
}

/* Make sure ad wrappers don't reserve height */
.header-ads,
.footer-ads,
.header-ads ins.adsbygoogle,
.footer-ads ins.adsbygoogle {
 display: block;
 width: 100%;
 height: auto !important;
 min-height: 0 !important;
 max-height: none !important;
 padding: 0 !important;
 margin: 0 !important;
 overflow: hidden !important;
}

/* If you had any older rules setting a fixed/max-height for ads, delete them. */

/* =========================================================
 4) Live stats (Population + Clock)
 Goal:
 - "Pop:" and "Time:" = same look as Weather title (green, text-2xl, font-semibold)
 - Data (numbers) = black, same size as Weather title
 - Note = small gray, inline on the Time row
 - Rows centered
 ========================================================= */

.stats__line{
 display:flex;
 justify-content:center;
 align-items:baseline;
 gap:.6rem;
 width:100%;
}

/* Labels: Pop: / Time: (match Weather title) */
.stats__title{
 color:#16a34a; /* Tailwind text-green-600 */
 font-size:1.5rem; /* Tailwind text-2xl */
 line-height:2rem; /* keeps vertical alignment consistent */
 font-weight:600; /* Tailwind font-semibold */
}

/* Values: population + clock data */
.stats__value{
 color:#000;
 font-size:1.5rem; /* same as Weather title */
 line-height:2rem;
 font-weight:900;
 font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* Note: "Approx. real-time (UN)" */
.stats__note{
 margin:0;
 font-size:.875rem;
 line-height:1.25rem;
 color:#6b7280; /* Tailwind text-gray-500 */
}


/* =========================================================
 5) Results / UI text text-2xl 
 ========================================================= */
#result,
#weather-result,
#result *,
#weather-result * {
 font-size: 1.5rem;
 font-weight: 600;
 color: #000000;
 text-align: center;
}

/* Normalize Tailwind gray text to black on your design */
.text-sm.text-gray-500,
.text-gray-700,
.text-gray-600 {
 color: #000000;
 font-size: 1rem;
}

/* =========================================================
 6) Card / panel styling
 ========================================================= */
.space-y-2,
.space-y-3 {
 background: #ffffff;
 border: 1px solid #d1d5db;
 border-radius: 12px;
 padding: 1.5rem;
 margin-bottom: 1.5rem;
 box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Hover effect for tool cards on desktop */
@media (min-width: 768px) {
 main > div {
 transition: transform 0.2s ease, box-shadow 0.2s ease;
 }
 main > div:hover {
 transform: translateY(-4px);
 box-shadow: 0 10px 20px rgba(0,0,0,0.12);
 }
}

/* =========================================================
 7) Form controls
 ========================================================= */
input,
select {
 font-size: 1.3rem;
}

/* =========================================================
 8) Footer
 ========================================================= */
footer {
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  margin-top: 40px;
}
/* =========================================================
   9) Shared content pages
   ========================================================= */
.page-hero {
  text-align: center;
  margin: 25px auto 24px;
  max-width: 800px;
}

.page-hero h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #22c55e;
}

.page-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

.page-content {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: left;
}

.page-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 15px;
}

/* =========================================================
   10) Cities landing page
   ========================================================= */
.cities-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.cities-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 14px;
  text-align: center;
}

.cities-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 12px;
}

.cities-card h3 {
  font-size: 24px;
  color: #16a34a;
  margin: 8px 0 10px;
}

.cities-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111827;
}

.cities-population {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 14px;
}

.cities-btn {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.cities-btn:hover {
  background: #15803d;
}

/* =========================================================
   11) City detail pages
   ========================================================= */
.city-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.city-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}

.city-row-bottom {
  margin-top: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.city-box {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 18px;
  text-align: left;
}

.city-box h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: #111827;
}

.city-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.city-list {
  padding-left: 20px;
  margin: 0;
}

.city-list li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #334155;
}

.city-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  margin: 8px 0;
}

.city-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 14px 0;
}

.mini-heading {
  font-size: 20px;
  margin-bottom: 8px;
  color: #111827;
}

.cuisine-inline {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.city-food-photo {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}

.cuisine-copy p {
  margin: 0 0 10px 0;
  line-height: 1.5;
}

/* =========================================================
   12) Header / navigation
   ========================================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 50;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f0fdf4;
  color: #166534;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* =========================================================
   13) Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .city-row,
  .city-row-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cities-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .cities-card h3 {
    font-size: 22px;
  }

  .city-box h3 {
    font-size: 24px;
  }

  .cuisine-inline {
    flex-direction: column;
  }

  .city-food-photo {
    width: 100%;
    height: 180px;
  }

  .site-header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}
.global-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 950px;
  margin: 24px auto 14px;
}

.global-stat-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 18px;
  text-align: center;
}

.global-stat-card .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.global-stat-card .stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
}

.top-cities-link {
  text-align: center;
  margin: 8px auto 24px;
}

.top-cities-link a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
}

.top-cities-link a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .global-stats {
    grid-template-columns: 1fr;
  }
}
.lookup-cta {
  margin-top: 12px;
  text-align: center;
}

.lookup-cta a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #bbf7d0;
  transition: all 0.2s ease;
}

.lookup-cta a:hover {
  background: #16a34a;
  color: #ffffff;
}
.lookup-inline {
  font-size: 14px;
  color: #6b7280;
}

.lookup-inline a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

.lookup-inline a:hover {
  text-decoration: underline;
}
.global-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 950px;
  margin: 24px auto 14px;
}

.global-stat-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 18px;
  text-align: center;
}

.global-stat-card .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.global-stat-card .stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
}

.top-cities-link {
  text-align: center;
  margin: 8px auto 24px;
}

.top-cities-link a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
}

.top-cities-link a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .global-stats {
    grid-template-columns: 1fr;
  }
}
.lookup-link {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
}

.lookup-link:hover {
  text-decoration: underline;
}
.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-page h1 {
  text-align: center;
}

.content-page p,
.content-page h2 {
  text-align: left;
}

.site-footer {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-copy {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 6px;
}