/* Shared styles for GEO content blocks + guide pages */

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin: 1.25rem 0;
  padding: 0.75rem 0;
}

.site-nav a,
.footer-nav a {
  color: #8b0000;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.footer-nav a:hover {
  border-bottom-color: #c41e3a;
  color: #c41e3a;
}

.geo-facts,
.tile-preview,
.visible-faq {
  background: rgba(255, 250, 240, 0.92);
  border: 2px solid #ffd700;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  color: #1a2e1a;
}

.geo-facts h2,
.tile-preview h2,
.visible-faq h2 {
  margin-top: 0;
  color: #8b0000;
  font-size: 1.35rem;
}

.geo-facts p,
.geo-facts li,
.tile-preview p,
.tile-preview li,
.visible-faq p,
.visible-faq li {
  color: #1a2e1a;
}

.geo-facts strong,
.tile-preview strong,
.visible-faq strong {
  color: #8b0000;
}

.visible-faq h3 {
  color: #1a472a;
  font-size: 1.05rem;
  margin: 1rem 0 0.35rem;
}

.facts-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.tile-ladder {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem 1rem;
}

.tile-ladder li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
}

.tile-ladder img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.content-inline-link {
  color: #c41e3a;
  font-weight: 700;
}

.geo-definition {
  background: rgba(26, 71, 42, 0.08);
  border-left: 4px solid #c41e3a;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
}

/* Standalone content pages */
body.content-page {
  padding: 0;
  background: linear-gradient(180deg, #1a472a 0%, #0f2818 45%, #1a472a 100%);
  color: #1a2e1a;
  font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

.content-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.content-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.content-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd700;
  text-decoration: none;
}

.content-brand:hover {
  color: #fff;
}

.play-cta {
  display: inline-block;
  background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  border: 2px solid #ffd700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.play-cta:hover {
  transform: translateY(-1px);
}

.content-card {
  background: rgba(255, 250, 240, 0.95);
  border: 2px solid #ffd700;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.content-card h1 {
  margin-top: 0;
  color: #8b0000;
  font-size: 1.85rem;
  line-height: 1.25;
}

.content-card h2 {
  color: #1a472a;
  font-size: 1.3rem;
  margin-top: 1.75rem;
}

.content-card h3 {
  color: #8b0000;
  font-size: 1.05rem;
  margin-top: 1.25rem;
}

.content-card p,
.content-card li {
  color: #1a2e1a;
}

.content-card a {
  color: #c41e3a;
  font-weight: 600;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.content-table th,
.content-table td {
  border: 1px solid #c5b89a;
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: middle;
}

.content-table th {
  background: #1a472a;
  color: #fff;
}

.content-table tr:nth-child(even) td {
  background: rgba(26, 71, 42, 0.06);
}

.content-table img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  vertical-align: middle;
}

.tile-detail {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.tile-detail-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  padding: 0.75rem;
}

.tile-detail-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.content-footer {
  margin-top: 2rem;
  text-align: center;
  color: #d4e8d4;
  font-size: 0.9rem;
}

.content-footer a {
  color: #ffd700;
}

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.35rem 0 1rem;
  color: #ffd700;
  font-size: 0.95rem;
}

.lang-switch label {
  color: inherit;
  font-weight: 600;
}

.lang-select {
  min-width: 10.5rem;
  max-width: 100%;
  padding: 0.4rem 0.65rem;
  border: 1px solid #ffd700;
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.96);
  color: #1a2e1a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.footer-lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: center;
  margin: 0.85rem 0 0.35rem;
  padding: 0;
}

.footer-lang-links a {
  color: #ffd700;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.footer-lang-links a:hover,
.footer-lang-links a.is-active {
  color: #fff;
  text-decoration: underline;
}

.content-footer .footer-lang-links a {
  color: #ffd700;
}

.content-page .lang-switch {
  color: #ffd700;
}

@media screen and (max-width: 520px) {
  .content-card {
    padding: 1.25rem 1rem;
  }

  .content-card h1 {
    font-size: 1.45rem;
  }

  .tile-detail-item {
    grid-template-columns: 56px 1fr;
  }

  .tile-detail-item img {
    width: 56px;
    height: 56px;
  }
}
