/* Zovya Travels — Top Picks duo stylesheet (Phase 2).
   Depends on header-style.css tokens (always linked together).
   Covers home block 05 "Our Top Picks [Year]": light surface, two image
   tiles with bottom-left title + island arrow. Icons: Font Awesome. */

.toppicks-section {
  background-color: var(--color-bg-light);
  color: var(--color-navy);
  padding: 80px 0;
}
.toppicks-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.16;
  color: var(--color-navy);
  text-align: center;
  margin: 0 0 12px;
}
.toppicks-title em {
  color: var(--color-gold-muted);
  font-style: italic;
}
.toppicks-sub {
  font-size: 15px;
  color: var(--color-navy-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 40px;
}
.toppicks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.toppick-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  max-width: 100%;
  background-color: var(--color-bg-dark);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s cubic-bezier(0.32, 0.72, 0, 1), transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.toppick-tile:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.toppick-tile:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}
.toppick-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}
.toppick-tile:hover img { transform: scale(1.05); }
.toppick-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 10, 18, 0.88) 0%, rgba(7, 10, 18, 0.28) 55%, transparent 82%);
  pointer-events: none;
}
.toppick-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toppick-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.toppick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.toppick-caption strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
}
.toppick-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #0B0F1A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.45);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}
.toppick-tile:hover .toppick-arrow { transform: translate(4px, -4px); }

/* Top Picks responsive */
@media (max-width: 768px) {
  .toppicks-section { padding: 55px 0; }
  .toppicks-title { margin-bottom: 10px; }
  .toppicks-sub { margin-bottom: 28px; }
  .toppicks-grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; min-width: 0; }
  .toppick-tile { min-height: 240px; width: 100%; max-width: 560px; min-width: 0; margin-inline: auto; }
  .toppick-caption { left: 18px; right: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .toppick-tile, .toppick-tile img, .toppick-arrow { transition: none; }
  .toppick-tile:hover { transform: none; }
}
