/* EUROPE ARCHIVE · custom styles */
.break-keep { word-break: keep-all; }

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  color: #334155;
  transition: background-color .2s, color .2s;
}
.nav-link:hover { background: #FEF3C7; color: #0f172a; }
.nav-link.active { color: #0284C7; background: #E0F2FE; }

.highlight {
  background: linear-gradient(transparent 62%, rgba(245, 158, 11, 0.35) 62%);
  padding: 0 0.15em;
}

@keyframes sunPulse { 0%,100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.06); opacity: 1 } }
.sun-pulse { animation: sunPulse 9s ease-in-out infinite; }

/* Cards */
.post-card { transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(2, 132, 199, .28); }
.post-card:hover .cover-emoji { transform: scale(1.12) rotate(-4deg); }
.cover-emoji { transition: transform .4s ease; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.cover-pattern {
  background-image: radial-gradient(rgba(255,255,255,.55) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}

/* Filter buttons */
.filter-btn {
  padding: .6rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid #FDE68A;
  background: #fff;
  font-weight: 600;
  font-size: .95rem;
  color: #475569;
  transition: all .2s;
}
.filter-btn:hover { border-color: #F59E0B; color: #0f172a; transform: translateY(-1px); }
.filter-btn.active { background: #0284C7; border-color: #0284C7; color: #fff; box-shadow: 0 8px 20px -8px rgba(2,132,199,.6); }

/* Affiliate slots */
.affiliate-slot { display: flex; justify-content: center; width: 100%; overflow: hidden; }
.affiliate-slot > * { max-width: 100%; }
.affiliate-leaderboard { max-width: 728px; min-height: 90px; margin-left: auto; margin-right: auto; }
.affiliate-slot img, .affiliate-slot iframe { max-width: 100%; height: auto; }
.affiliate-placeholder {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  border: 2px dashed #BAE6FD;
  background: repeating-linear-gradient(135deg, #F0F9FF 0 14px, #FFFBEB 14px 28px);
}

.booking-card {
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid #FEF3C7;
  padding: 1.6rem;
  transition: transform .25s, box-shadow .25s;
}
.booking-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -14px rgba(245,158,11,.35); }

/* Article body (modal) */
.article-body { font-size: 1.075rem; line-height: 1.95; color: #334155; word-break: keep-all; }
.article-body p { margin: 0 0 1.25rem; }
.article-body h3 {
  margin: 2.4rem 0 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
}
.article-body strong { color: #0f172a; background: linear-gradient(transparent 65%, #FDE68A 65%); }
.article-body em { color: #0369a1; font-style: normal; font-weight: 600; }
.article-body ul { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.article-body li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.article-body li::before { content: "●"; position: absolute; left: .2rem; top: 0; color: #F59E0B; font-size: .7rem; line-height: 2.8; }
.article-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #0284C7;
  background: #fff;
  border-radius: 0 1rem 1rem 0;
  color: #475569;
  font-weight: 500;
  box-shadow: 0 6px 20px -12px rgba(2,132,199,.35);
}

/* Modal animation */
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.98) } to { opacity: 1; transform: none } }
.modal-fade { animation: fadeIn .25s ease both; }
.modal-pop { animation: popIn .35s cubic-bezier(.2,.8,.2,1) both; }
body.modal-open { overflow: hidden; }

/* Reading progress bar */
#readProgress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 70; background: linear-gradient(90deg, #0284C7, #F59E0B); transition: width .1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
