/* Adaptación de Elegencia para la portada de Best Car. */
.home-elegencia { background: var(--body-bg-color); color: var(--body-color); }
.home-elegencia h1, .home-elegencia h2, .home-elegencia h3 { font-family: var(--heading-font-family); font-weight: 400; color: var(--heading-color); }
.home-elegencia p { color: inherit; line-height: 1.8; }
.home-elegencia .themesflat-container { max-width: 1360px; padding-inline: 32px; }
.home-elegencia .main-header .header-lower { background: #040d10 !important; border-bottom: 1px solid var(--border-color); }
.home-elegencia .main-header .navigation > li > a { font-family: var(--body-font-family); font-size: 14px; font-weight: 400; }
.home-elegencia .main-header .navigation > li > a:hover { color: var(--yellow-color) !important; }
.home-elegencia .home-hero { min-height: 760px; height: calc(100svh - 90px); max-height: 1100px; position: relative; display: flex; align-items: center; padding: 100px 0; isolation: isolate; }
.home-hero-video, .home-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(4,13,16,.86), rgba(4,13,16,.35)), linear-gradient(0deg, #040d10, transparent 35%); }
.home-hero-content { width: 100%; }
.home-elegencia .home-eyebrow { color: var(--yellow-color); text-transform: uppercase; letter-spacing: .22em; font-size: 12px; margin: 0 0 24px; }
.home-elegencia .home-hero h1 { font-size: clamp(60px, 7.5vw, 112px); line-height: 1.05; margin: 0 0 28px; }
.home-hero h1 span { color: #fff; font-style: italic; }
.home-elegencia .home-hero-caption { color: #fff; font-size: 18px; max-width: 450px; }
.home-nitro { display: block; width: auto; height: 35px; margin: 24px 0 36px; object-fit: contain; }
.home-elegencia .home-button { display: inline-flex; align-items: center; gap: 28px; padding: 17px 28px; border: 1px solid var(--yellow-color); background: transparent; color: var(--yellow-color); border-radius: 0; font-family: var(--body-font-family); font-size: 14px; height: auto; transition: background .2s, color .2s; }
.home-elegencia .home-button:hover { background: var(--yellow-color); color: #040d10; }
.home-scroll { position: absolute; bottom: 30px; left: max(32px, calc((100% - 1296px)/2)); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; display: flex; gap: 20px; }
.home-hero-edition { position: absolute; right: 30px; top: 50%; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .3em; color: var(--yellow-color); font-size: 11px; }
.home-section { padding: 110px 0; scroll-margin-top: 110px; }
.home-section-tinted { background: var(--body-bg-color-two); }
.home-split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.home-image-frame { position: relative; padding: 0 22px 22px 0; }
.home-image-frame::after { content: ''; position: absolute; inset: 24px 0 0 24px; border: 1px solid var(--border-color); z-index: 0; }
.home-image-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.home-image-label { position: absolute; bottom: 45px; left: 24px; z-index: 2; color: #fff; font-family: var(--heading-font-family); font-size: 25px; text-shadow: 0 2px 8px #000; }
.home-elegencia h2 { font-size: clamp(36px, 4vw, 58px); line-height: 1.15; margin-bottom: 24px; }
.home-elegencia h3 { font-size: clamp(30px, 3vw, 42px); }
.home-editorial em { color: #fff; }
.home-editorial p { font-size: 16px; margin-bottom: 22px; }
.home-divider { width: 80px; height: 1px; background: var(--yellow-color); margin: 30px 0; }
.home-elegencia .home-text-link { display: inline-flex; gap: 24px; padding-bottom: 9px; border-bottom: 1px solid var(--border-color); color: var(--yellow-color); font-size: 14px; }
.home-section-heading { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.home-section-heading p { font-size: 16px; }
.home-special-heading { margin-top: 70px; }
.home-magazine { background: linear-gradient(90deg, rgba(4,13,16,.94), rgba(4,13,16,.88)), url('../../imagenes/variadas/awards-bg.jpg') center/cover; }
.home-magazine-cover { display: block; max-width: 420px; margin: auto; padding: 20px; border: 1px solid var(--border-color); transform: rotate(3deg); }
.home-magazine-cover img { width: 100%; height: auto; }
.home-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
.home-news .widget-blog { border: 1px solid var(--border-color); border-radius: 0; overflow: hidden; }
.home-news .widget-blog .main-post { background: var(--body-bg-color-two) !important; padding: 28px; }
.home-news .widget-blog .entry-title { font-size: 27px; line-height: 1.25; }
.home-news .widget-blog .entry-title a { color: var(--yellow-color); }
.home-news .widget-blog .feature-post img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.home-news .widget-blog .more-link, .home-news .widget-blog .text-muted { color: var(--body-color) !important; }
.home-elegencia .entregas-2026 .swiper-button-next, .home-elegencia .entregas-2026 .swiper-button-prev { color: var(--yellow-color); }
.home-elegencia #footer { background: #040d10; border-top: 1px solid var(--border-color); }
.home-elegencia #footer h3 { font-size: 30px; }
.home-elegencia #footer p, .home-elegencia #footer a { color: var(--body-color); }
.home-skip-link { position: fixed; top: -100px; left: 20px; z-index: 10000; background: #FFD28D; color: #040d10; padding: 12px 20px; }
.home-skip-link:focus { top: 12px; }
.home-elegencia a:focus-visible, .home-elegencia button:focus-visible { outline: 2px solid var(--yellow-color); outline-offset: 5px; }
@media (max-width: 991px) {
    .home-split { gap: 40px; }
    .home-section { padding: 75px 0; }
    .home-elegencia .home-hero { min-height: 650px; }
    .home-hero-edition { display: none; }
}
@media (max-width: 767px) {
    .home-elegencia .themesflat-container { padding-inline: 22px; }
    .home-split { grid-template-columns: 1fr; }
    .home-section { padding: 60px 0; }
    .home-elegencia .home-hero { min-height: 620px; height: auto; padding: 100px 0 110px; }
    .home-elegencia .home-hero h1 { font-size: clamp(46px, 11vw, 72px); }
    .home-elegencia .home-hero-caption { font-size: 16px; }
    .home-heading-row { align-items: start; flex-direction: column; }
    .home-section-heading { margin-bottom: 30px; }
    .home-special-heading { margin-top: 45px; }
    .home-magazine-cover { max-width: 320px; transform: none; }
    .home-image-frame img { aspect-ratio: 4/3; }
    .home-scroll { left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-elegencia *, .home-elegencia *::before, .home-elegencia *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.home-elegencia .especiales-2026 .swiper-button-next,
.home-elegencia .especiales-2026 .swiper-button-prev { color: var(--yellow-color); }
.home-partners > .themesflat-container > .swiper-wrapper { display: none; }
.home-elegencia .home-section .entregas-sliders .swiper { max-width: 100%; }
/* Primera entrada: cortina y zoom suave, con texto escalonado en el hero. */
@keyframes home-banner-enter {
    from { opacity: 0; scale: 1.08; clip-path: inset(0 0 12% 0); }
    to { opacity: 1; scale: 1; clip-path: inset(0); }
}
@keyframes home-content-enter {
    from { opacity: 0; translate: 0 28px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes home-image-enter {
    from { opacity: 0; clip-path: inset(12% 0 0 0); translate: 0 26px; scale: 1.035; }
    to { opacity: 1; clip-path: inset(0); translate: 0 0; scale: 1; }
}
@media (prefers-reduced-motion: no-preference) {
    .home-hero { overflow: hidden; }
    .home-hero-video { animation: home-banner-enter 1.6s cubic-bezier(.16, 1, .3, 1) both; }
    .home-hero-content > *, .home-scroll, .home-hero-edition {
        animation: home-content-enter 1s cubic-bezier(.16, 1, .3, 1) both;
        animation-delay: .2s;
    }
    .home-hero-content > h1 { animation-delay: .35s; }
    .home-hero-content > .home-hero-caption { animation-delay: .5s; }
    .home-hero-content > .home-nitro { animation-delay: .65s; }
    .home-hero-content > .home-button { animation-delay: .8s; }
    .home-scroll, .home-hero-edition { animation-delay: 1s; }
    .home-image-pending { opacity: 0; }
    .home-image-entered { animation: home-image-enter 1.1s cubic-bezier(.16, 1, .3, 1) both; }
}
