/* Styles of resources/views/collections/blog/index.antlers.html, moved out of the template so the browser
   caches them and the design token guards read them. Values come from the
   tokens in style.css :root. */

.bi-hero { position: relative; height: 520px; margin-top: var(--r2e-space-16); }
.bi-hero > .hero-photo { object-position: center 40%; }
.bi-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(var(--bs-secondary-rgb), 0.72) 0%, rgba(var(--bs-secondary-rgb), 0.55) 50%, rgba(var(--bs-secondary-rgb), 0.78) 100%); }
.bi-hero-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.bi-hero-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: var(--r2e-text-sm); }
.bi-hero-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.55); font-size: var(--r2e-text-sm); }
.bi-hero-breadcrumb .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.bi-hero-breadcrumb { justify-content: center; }
.bi-hero h1 { color: white; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; line-height: var(--r2e-leading-tight); margin-bottom: var(--r2e-space-3); }
.bi-hero .tagline { color: rgba(255,255,255,0.82); font-size: var(--r2e-text-base); max-width: 600px; margin-bottom: var(--r2e-space-6); }
.bi-stat-pill { display: inline-flex; align-items: center; gap: var(--r2e-space-2); background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); border-radius: var(--r2e-radius-pill); padding: var(--r2e-space-1) var(--r2e-space-3); font-size: var(--r2e-text-xs); font-weight: 500; margin-right: var(--r2e-space-2); margin-bottom: var(--r2e-space-2); }

.bi-featured { background: var(--bs-gray-100); padding: var(--r2e-space-12) 0 var(--r2e-space-12); }
.bi-section-label { font-size: var(--r2e-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); color: var(--bs-primary); margin-bottom: var(--r2e-space-6); }
.feat-card { position: relative; border-radius: var(--r2e-radius-lg); overflow: hidden; display: block; text-decoration: none; color: inherit; }
.feat-card:hover { color: inherit; text-decoration: none; }
.feat-card-img-wrap { overflow: hidden; }
.feat-card img { width: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.feat-card:hover img { transform: scale(1.04); }
.feat-card-main img { height: 420px; }
.feat-card-side img { height: 196px; }
.feat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--r2e-secondary-800) 93%, transparent) 0%, rgba(var(--bs-secondary-rgb), 0.1) 65%); pointer-events: none; }
.feat-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--r2e-space-6); }
.feat-card-main .feat-card-body { padding: var(--r2e-space-8); }

.feat-cat-badge { position: absolute; top: 1rem; left: 1rem; font-size: var(--r2e-text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); padding: var(--r2e-space-1) var(--r2e-space-3); border-radius: var(--r2e-radius-pill); background: rgba(255,255,255,0.2); color: white; backdrop-filter: blur(4px); }
.feat-cat-badge.destination { background: rgba(var(--bs-primary-rgb), 0.7); }
.feat-cat-badge.gear { background: rgba(var(--bs-primary-rgb), 0.7); }
.feat-cat-badge.travel-tips, .feat-cat-badge.conseils { background: rgba(var(--bs-info-rgb), 0.9); }
.feat-updated-badge { display: inline-flex; align-items: center; gap: var(--r2e-space-1); background: rgba(var(--bs-info-rgb), 0.9); color: white; font-size: var(--r2e-text-xs); font-weight: 600; padding: var(--r2e-space-1) var(--r2e-space-2); border-radius: var(--r2e-radius-pill); margin-bottom: var(--r2e-space-2); }
.feat-card-title { color: white; font-weight: 700; line-height: var(--r2e-leading-snug); margin-bottom: var(--r2e-space-2); margin-top: 0; }
.feat-card-main .feat-card-title { font-size: var(--r2e-text-xl); }
.feat-card-side .feat-card-title { font-size: var(--r2e-text-base); }
.feat-card-excerpt { color: rgba(255,255,255,0.8); font-size: var(--r2e-text-sm); margin-bottom: var(--r2e-space-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-card-meta { display: flex; align-items: center; gap: var(--r2e-space-2); flex-wrap: wrap; }
.feat-card-meta span { font-size: var(--r2e-text-xs); color: rgba(255,255,255,0.65); }
.feat-card-meta .sep { opacity: 0.4; }

.bi-filter-bar { background: white; border-bottom: 1px solid var(--bs-gray-200); padding: var(--r2e-space-3) 0; position: sticky; top: 75px; z-index: 200; box-shadow: var(--r2e-shadow-sm); }
.bi-sub-filter-row { border-top: 1px solid var(--bs-gray-100); padding-top: var(--r2e-space-2); margin-top: var(--r2e-space-2); display: none; }
.fp { display: inline-flex; align-items: center; gap: var(--r2e-space-1); padding: var(--r2e-space-2) var(--r2e-space-3); border-radius: var(--r2e-radius-pill); font-size: var(--r2e-text-sm); font-weight: 500; border: 1.5px solid var(--bs-gray-200); background: white; color: var(--r2e-ink-muted); cursor: pointer; transition: all 0.18s; text-decoration: none; margin-right: var(--r2e-space-1); margin-bottom: var(--r2e-space-1); user-select: none; }
.fp:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.fp.active { background: var(--bs-primary); border-color: var(--bs-primary); color: white; }
.fp-count { background: rgba(0,0,0,0.1); border-radius: var(--r2e-radius-pill); padding: 0 var(--r2e-space-2); font-size: var(--r2e-text-xs); font-weight: 700; min-width: 1.3em; text-align: center; }
.fp.active .fp-count { background: rgba(255,255,255,0.25); }
.sfp { display: inline-flex; align-items: center; gap: var(--r2e-space-1); padding: var(--r2e-space-1) var(--r2e-space-3); border-radius: var(--r2e-radius-pill); font-size: var(--r2e-text-xs); font-weight: 500; border: 1.5px solid transparent; background: transparent; color: var(--r2e-ink-muted); cursor: pointer; transition: all 0.18s; text-decoration: none; margin-right: var(--r2e-space-1); user-select: none; }
.sfp:hover { color: var(--bs-secondary); }
.sfp.active { background: var(--bs-secondary); border-color: var(--bs-secondary); color: white; border-radius: var(--r2e-radius-pill); }
.sfp-count { background: rgba(0,0,0,0.09); border-radius: var(--r2e-radius-pill); padding: 0 var(--r2e-space-2); font-size: var(--r2e-text-xs); font-weight: 700; }
.sfp.active .sfp-count { background: rgba(255,255,255,0.2); }

.bi-feed { padding: var(--r2e-space-12) 0 var(--r2e-space-16); }
.bi-feed-header { display: flex; align-items: baseline; gap: var(--r2e-space-3); margin-bottom: var(--r2e-space-8); }
.bi-feed-header h2 { font-size: var(--r2e-text-base); font-weight: 700; color: var(--bs-secondary); margin: 0; }
#feedCount { font-size: var(--r2e-text-sm); color: var(--r2e-ink-muted); font-weight: 400; }

.article-card { position: relative; border: none; border-radius: var(--r2e-radius); overflow: hidden; box-shadow: var(--r2e-shadow); transition: transform 0.2s, box-shadow 0.2s; height: 100%; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--r2e-shadow-hover); }
.article-card-img { height: 200px; object-fit: cover; width: 100%; display: block; }
.article-card .card-body { padding: var(--r2e-space-6); }
.article-card h3 { font-size: var(--r2e-text-base); font-weight: 600; margin-bottom: var(--r2e-space-2); }
.article-card h3 a { color: var(--bs-secondary); text-decoration: none; }
.article-card h3 a:hover { color: var(--bs-primary); }
.article-card .card-text { font-size: var(--r2e-text-sm); color: var(--r2e-ink-muted); margin-bottom: var(--r2e-space-3); }
.article-updated { font-size: var(--r2e-text-xs); color: var(--r2e-ink-muted); margin-bottom: 0; }
.article-updated strong { color: var(--bs-secondary); font-weight: 600; }

.badge-destination { background: rgba(var(--bs-primary-rgb), 0.12); color: var(--bs-primary); font-weight: 500; }
.badge-gear { background: rgba(var(--bs-primary-rgb), 0.12); color: var(--bs-primary); font-weight: 500; }
.badge-travel-tips, .badge-conseils { background: rgba(var(--bs-info-rgb), 0.9); color: white; font-weight: 500; }

.article-card-wrapper { transition: opacity 0.15s; }
#biEmpty { display: none; text-align: center; padding: var(--r2e-space-16) var(--r2e-space-8); grid-column: 1 / -1; }
#biEmpty i { font-size: var(--r2e-text-3xl); color: var(--bs-gray-200); display: block; margin-bottom: var(--r2e-space-4); }
#biEmpty h3 { font-size: var(--r2e-text-base); color: var(--bs-secondary); margin-bottom: var(--r2e-space-2); }
#biEmpty p { font-size: var(--r2e-text-sm); color: var(--r2e-ink-muted); margin-bottom: var(--r2e-space-6); }

.bi-section-tag { display: inline-flex; align-items: center; gap: var(--r2e-space-2); background: rgba(var(--bs-primary-rgb), 0.08); border: 1px solid rgba(var(--bs-primary-rgb), 0.2); border-radius: var(--r2e-radius-2xl); padding: var(--r2e-space-1) var(--r2e-space-4); font-size: var(--r2e-text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--r2e-tracking-caps); color: var(--bs-primary); margin-bottom: var(--r2e-space-3); }

@media (max-width: 767px) { .bi-hero { height: auto; min-height: 460px; } }
