/* ============================================================
   Liravo — Explore sub-pages (Countries, Cities, Places)
   Geometry from Figma frames 1421:967, 1421:1030, 1421:995
   ============================================================ */

/* ---------- Sub-page nav (black text, no glass) ---------- */
.explore-nav {
  position: relative;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 30px;
  z-index: 10;
}

.explore-nav .logo {
  font-family: var(--font-logo);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: .2px;
}

.explore-nav .nav-center {
  display: flex;
  align-items: center;
  gap: 15px;
}

.explore-nav .explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 20px;
  background: transparent;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease;
}

.explore-nav .explore-btn:hover {
  background: var(--bg-soft);
}

.explore-nav .explore-btn .chevron {
  transition: transform .25s ease;
}

.explore-nav .explore-btn.active .chevron {
  transform: rotate(180deg);
}

.explore-nav .nav-links {
  display: flex;
  gap: 34px;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink);
}

.explore-nav .nav-links a {
  transition: opacity .15s ease;
}

.explore-nav .nav-links a:hover {
  opacity: .75;
}

/* Reuse dropdown styles from style.css (same .explore-dropdown etc.) */

/* ---------- Page title ---------- */
.explore-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 96px;
  color: var(--ink);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  margin-top: 82px;
  margin-bottom: 23px;
}

/* ---------- Card grids ---------- */
.explore-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 120px;
}

/* Countries card — large (500×461) */
.card-large {
  width: 500px;
  background: var(--bg-soft);
  border: 1px solid #ededed;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease;
}

.card-large:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.card-large .card-img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  display: block;
}

.card-large .card-body {
  padding: 30px;
}

.card-large .card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  color: var(--ink);
}

/* Cities/Places card — small (320×315) */
.card-small {
  width: 320px;
  background: var(--white);
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease;
}

.card-small:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.card-small .card-img {
  width: 100%;
  height: 198px;
  object-fit: cover;
  display: block;
}

.card-small .card-body {
  padding: 30px;
}

.card-small .card-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  color: var(--ink);
}

.card-small .card-sub {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #a0a0a0;
  margin-top: 10px;
}

/* ---------- Sub-page footer (CTA + copyright on #f5f5f9) ---------- */
.explore-footer {
  background: var(--bg-soft);
  padding: 70px 0 56px;
  text-align: center;
}

.explore-footer .cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.explore-footer .pill {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e2e2e2;
  border-radius: var(--radius-pill);
  padding: 6px 20px;
  margin-bottom: 24px;
}

.explore-footer .cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  margin-top: 0;
}

.explore-footer .cta-sub {
  margin: 20px auto 0;
  max-width: 520px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
}

.explore-footer .btn { margin-top: 30px; }

.explore-footer .cta-fine {
  margin-top: 15px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 28px;
  color: #a0a0a0;
}

.explore-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
  border-top: 1px solid #ededed;
  padding-top: 40px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.explore-footer .copyright {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--muted);
}

.explore-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-ui);
  font-size: 16px;
  color: #a0a0a0;
}

.explore-footer .footer-links a {
  transition: color .15s ease;
}

.explore-footer .footer-links a:hover {
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .explore-nav .nav-links { display: none; }
  .explore-nav .btn-nav { display: none; }
  .explore-nav { justify-content: space-between; padding: 0 16px 0 20px; }
  .explore-nav .nav-center { margin-left: auto; }
  .explore-title { font-size: 36px; line-height: 54px; padding: 0 20px; margin-top: 40px; margin-bottom: 30px; }
  .explore-grid { padding: 0 20px; gap: 24px; margin-bottom: 80px; }
  .card-large { width: 100%; }
  .card-large .card-img { height: 240px; }
  .card-small { width: calc(50% - 12px); }
  .card-small .card-img { height: 140px; }
}

@media (max-width: 480px) {
  .card-small { width: 100%; }
  .card-small .card-img { height: 180px; }
}
