/*
 * ==========================================================
 * LVEI HOME.CSS — VERSION PROPRE
 * ==========================================================
 * Base consolidée à partir du home.css actuel.
 * - Suppression des principaux doublons et surcharges inutiles
 * - Conservation du rendu général existant
 * - Menu principal affiné et modernisé
 * - Barre des saisons conservée
 * - Menu principal sticky conservé
 * ==========================================================
 */

:root {
    --lvei-bg: #05070a;
    --lvei-panel: #090d12;
    --lvei-panel2: #0d131a;
    --lvei-line: #1d2d3d;
    --lvei-text: #f3f6f9;
    --lvei-muted: #91a0ae;
    --lvei-blue: #287dce;
    --lvei-blue2: #69b8ff;
    --lvei-blue3: #123c63;
    --lvei-red: #d45151;
    --lvei-max: 1320px;
}

* {
    box-sizing: border-box;
}

html,
body,
button,
input,
select,
textarea,
.lvei-modern-home,
.lvei-modern-inner,
.lvei-header,
.lvei-footer,
.lvei-menu,
.lvei-season-menu {
    font-family: 'Poppins', Arial, sans-serif !important;
}

.lvei-modern-home {
    margin: 0;
    background-color: #02060b;
    color: #fff;
    line-height: 1.5;
}

.lvei-modern-home a {
    color: inherit;
    text-decoration: none;
}

.lvei-shell {
    width: min(calc(100% - 48px), var(--lvei-max));
    margin-inline: auto;
}

.lvei-site-box {
    width: min(1400px, calc(100% - 56px));
    margin: 28px auto;
    background: #05090e;
    border: 1px solid #14283b;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    overflow: visible;
}

.lvei-site-box .lvei-shell {
    width: min(calc(100% - 54px), var(--lvei-max));
}

.lvei-skip {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 9999;
    padding: 10px 14px;
    background: #fff;
    color: #000 !important;
}

.lvei-skip:focus {
    top: 12px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================
   HEADER
   ========================================================== */

.lvei-header {
    position: relative;
    z-index: 1000;
    background: #040609;
    border-bottom: 1px solid #176fd1;
}

.lvei-brand-row {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    position: relative;
}

.lvei-brand {
    display: block;
    max-width: 560px;
    text-align: center;
}

.lvei-brand .custom-logo-link {
    display: inline-block;
}

.lvei-brand .custom-logo {
    display: block;
    width: auto;
    max-width: 540px;
    max-height: 150px;
}

.lvei-brand-main {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 76px;
    font-weight: 600 !important;
    line-height: 0.8;
    letter-spacing: -0.025em;
}

.lvei-brand-sub {
    display: block;
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 2.4px;
}

.lvei-header-actions {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.lvei-search-toggle,
.lvei-menu-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid #1f3850;
    background: #0b1117;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lvei-search-toggle svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.lvei-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.lvei-menu-toggle > span:not(.screen-reader-text) {
    width: 20px;
    height: 2px;
    background: #fff;
}

/* ==========================================================
   BARRE DES SAISONS
   ========================================================== */

.lvei-seasonbar {
    background: #020508;
    border-bottom: 2px solid #176fd1;
}

.lvei-season-nav {
    width: 100%;
    overflow: visible !important;
    scrollbar-width: thin;
}

.lvei-season-menu {
    display: grid !important;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 0 !important;
    overflow: visible !important;
    list-style: none;
}

.lvei-season-menu > li {
    min-width: 0;
    border-right: 1px solid #224f7f;
}

.lvei-season-menu > li:first-child {
    border-left: 1px solid #224f7f;
}

.lvei-season-menu a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 9px 4px !important;
    color: #fff;
    font-size: clamp(8px, 0.72vw, 10px) !important;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.15px !important;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.lvei-season-menu a:hover {
    background: #0b3155;
    color: #fff;
}

/* ==========================================================
   MENU PRINCIPAL — VERSION FINE / MODERNE
   ========================================================== */

.lvei-navbar {
    position: sticky;
    top: 0;
    z-index: 5000;
    background: rgba(3, 6, 9, 0.98) !important;
    border-top: 1px solid #18232d !important;
    border-bottom: 1px solid #18232d !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

body.admin-bar .lvei-navbar {
    top: 32px;
}

.lvei-nav {
    position: relative;
}

.lvei-menu {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lvei-menu > li {
    position: relative;
    border-right: 1px solid #15212b !important;
}

.lvei-menu > li:first-child {
    border-left: 1px solid #15212b !important;
}

.lvei-menu a {
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

.lvei-menu > li > a {
    padding: 13px 17px !important;
    color: #d9e0e6 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.9px !important;
    text-transform: uppercase;
}

.lvei-menu > li:hover > a,
.lvei-menu > .current-menu-item > a,
.lvei-menu > .current-menu-parent > a,
.lvei-menu > .current-menu-ancestor > a {
    background: transparent !important;
    color: #69b8ff !important;
    box-shadow: inset 0 -2px 0 #287dce !important;
}

.lvei-menu .sub-menu {
    display: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: -1px;
    min-width: 275px;
    max-width: 330px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #070c11 !important;
    border: 1px solid #1d2d3d !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55) !important;
}

.lvei-menu li:hover > .sub-menu,
.lvei-menu li:focus-within > .sub-menu {
    display: block;
}

.lvei-menu .sub-menu li {
    position: relative;
}

.lvei-menu .sub-menu a {
    padding: 11px 16px !important;
    color: #d9e0e6 !important;
    font-size: 12px !important;
    line-height: 1.25;
    letter-spacing: 0.35px;
    text-transform: none;
}

.lvei-menu .sub-menu a:hover {
    background: #0c1822 !important;
    color: #69b8ff !important;
}

.lvei-menu .sub-menu .sub-menu {
    left: 100%;
    top: -9px;
}

/* ==========================================================
   RECHERCHE HEADER
   ========================================================== */

.lvei-search-panel {
    background: #081018;
    border-bottom: 1px solid #176fd1;
}

.lvei-search-panel-inner {
    padding: 20px 0;
}

.lvei-search-panel label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lvei-search-row,
.lvei-search-cta form {
    display: flex;
}

.lvei-search-row input,
.lvei-search-cta input {
    flex: 1;
    min-width: 0;
    padding: 15px 18px;
    background: #05090d;
    border: 2px solid #2f78c9 !important;
    color: #fff;
    font-size: 16px;
}

.lvei-search-row button,
.lvei-search-cta button {
    padding: 0 26px;
    background: var(--lvei-blue);
    border: 0;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
}

/* ==========================================================
   ÉPISODE ALÉATOIRE
   ========================================================== */

.lvei-random-hero {
    padding: 20px 0 14px;
    background: radial-gradient(circle at 50% 0, rgba(40, 125, 206, 0.15), transparent 45%);
}

.lvei-random-banner {
    min-height: 300px;
    display: grid;
    grid-template-columns: 38% 1fr;
    position: relative;
    overflow: hidden;
    background: #0a1016;
    border: 2px solid #176fd1 !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.lvei-random-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, transparent 25%, #0a1016 42%, #0a1016 100%);
    pointer-events: none;
}

.lvei-random-image {
    background: linear-gradient(135deg, #152738, #071019);
    background-size: cover;
    background-position: center;
    filter: saturate(0.7) contrast(1.08);
}

.lvei-random-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 42px 52px;
}

.lvei-kicker {
    margin: 0 0 9px;
    color: var(--lvei-blue2) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 1 !important;
}

.lvei-random-copy h1 {
    margin: 0 0 12px;
    color: #fff !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: clamp(34px, 4vw, 60px);
    font-weight: 600 !important;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    opacity: 1 !important;
}

.lvei-random-copy > p:not(.lvei-kicker) {
    max-width: 650px;
    margin: 0 0 20px;
    color: #fff;
}

.lvei-random-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lvei-score-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    padding: 4px 12px;
    background: #081624;
    border-left: 4px solid var(--lvei-blue2);
}

.lvei-score-badge strong {
    font-size: 31px;
    line-height: 1;
}

.lvei-score-badge small {
    color: #fff;
}

.lvei-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid #335675;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.lvei-btn-primary {
    background: var(--lvei-blue);
    border-color: var(--lvei-blue);
    color: #fff !important;
}

.lvei-btn-primary:hover {
    background: #4096e6;
}

.lvei-random-mark {
    position: absolute;
    z-index: 2;
    right: 28px;
    top: 24px;
    color: #25496a;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 3px;
    text-align: right;
    transform: rotate(-4deg);
}

/* ==========================================================
   RECHERCHE HOME
   ========================================================== */

.lvei-search-cta {
    padding: 22px 0 24px;
    text-align: center;
    background: #070c11;
    border-top: 2px solid #176fd1 !important;
    border-bottom: 2px solid #176fd1 !important;
}

.lvei-search-top h2 {
    margin: 0 0 18px;
    color: #fff !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 31px;
    font-weight: 600 !important;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    opacity: 1 !important;
}

.lvei-search-cta form {
    max-width: 760px;
    margin: auto;
}

.lvei-search-cta input {
    padding: 17px;
}

/* ==========================================================
   LAYOUT PRINCIPAL
   ========================================================== */

.lvei-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 20px;
}

.lvei-main-column {
    min-width: 0;
}

.lvei-section {
    padding: 26px 0;
}

.lvei-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 14px;
}

.lvei-section-head h2,
.lvei-casefile h2 {
    margin: 0;
    color: #fff !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 27px;
    font-weight: 600 !important;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    opacity: 1 !important;
}

.lvei-section-head h2::before {
    content: "";
    display: inline-block;
    width: 5px !important;
    height: 23px !important;
    margin-right: 11px;
    vertical-align: -2px;
    background: #2f8cff !important;
}

.lvei-section-head > a {
    color: var(--lvei-blue2) !important;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 1 !important;
}

/* ==========================================================
   ACTUALITÉS
   ========================================================== */

.lvei-news-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 12px;
}

.lvei-news-card {
    background: #090e13;
    border: 2px solid #176fd1 !important;
}

.lvei-news-card.is-featured {
    grid-row: span 2;
}

.lvei-news-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #101a24;
    background-size: cover;
    background-position: center;
    filter: saturate(0.72);
}

.lvei-news-card.is-featured .lvei-news-media {
    aspect-ratio: 16 / 10;
}

.lvei-news-content {
    padding: 18px;
}

.lvei-meta {
    margin-bottom: 7px;
    color: #fff !important;
    font-size: 9px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    opacity: 0.78 !important;
}

.lvei-news-card h3 {
    margin: 0 0 10px;
    color: #fff !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 19px;
    font-weight: 600 !important;
    line-height: 1.18;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    opacity: 1 !important;
}

.lvei-news-card.is-featured h3 {
    font-size: 24px;
}

.lvei-news-card h3 a {
    color: #fff !important;
}

.lvei-news-card h3 a:hover {
    color: var(--lvei-blue2) !important;
}

.lvei-news-card p {
    color: #fff;
    font-size: 14px;
}

.lvei-text-link {
    color: var(--lvei-blue2) !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 1 !important;
}

/* ==========================================================
   DOSSIERS
   ========================================================== */

.lvei-dossiers {
    padding-top: 4px;
}

.lvei-dossier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lvei-dossier-card {
    min-height: 88px;
    display: grid;
    grid-template-columns: 45px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #0b1218, #080c10);
    border: 2px solid #176fd1 !important;
    transition: 0.2s;
}

.lvei-dossier-card:hover {
    background: #0d1720;
    border-color: #2e6ba0 !important;
    transform: translateY(-2px);
}

.lvei-card-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--lvei-blue2);
    stroke-width: 1.5;
}

.lvei-dossier-card strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.lvei-dossier-card small {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 12px;
    opacity: 0.78;
}

.lvei-arrow {
    color: var(--lvei-blue2);
}

/* ==========================================================
   CASE FILE
   ========================================================== */

.lvei-casefile {
    position: relative;
    min-height: 300px;
    display: grid;
    grid-template-columns: 38% 1fr;
    overflow: hidden;
    background: #0a0f14;
    border: 2px solid #176fd1 !important;
}

.lvei-casefile::before {
    content: "FBI CASE FILE / LVEI ARCHIVES";
    position: absolute;
    z-index: 2;
    right: 16px;
    top: 13px;
    color: #35546e;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

.lvei-casefile-media {
    background: #111c26;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.65) saturate(0.8);
}

.lvei-casefile-body {
    align-self: center;
    padding: 40px 36px;
}

.lvei-casefile-body h2 {
    margin-bottom: 10px;
    font-size: 34px;
}

.lvei-casefile-body p:not(.lvei-kicker) {
    color: #aebbc6;
}

.lvei-stamp {
    position: absolute;
    right: 5%;
    bottom: 13%;
    padding: 7px 12px;
    border: 2px double #397ab1;
    color: #397ab1;
    font-family: monospace;
    text-align: center;
    transform: rotate(-5deg);
    opacity: 0.6;
}

.lvei-stamp small,
.lvei-stamp strong {
    display: block;
}

.lvei-stamp strong {
    font-size: 22px;
    letter-spacing: 2px;
}

.lvei-inline-rating {
    margin: 12px 0;
}

.lvei-rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lvei-rating-display > strong {
    font-size: 25px;
    line-height: 1;
}

.lvei-rating-display > small {
    color: #8297a9;
}

.lvei-rating-track {
    width: 135px;
    height: 5px;
    margin-left: 8px;
    overflow: hidden;
    background: #182631;
}

.lvei-rating-track i,
.lvei-rank-meter i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--lvei-blue), var(--lvei-blue2));
}

/* ==========================================================
   SIDEBAR TOP / FLOP
   ========================================================== */

.lvei-sidebar {
    position: sticky;
    top: 15px;
    padding-top: 26px;
}

.lvei-ranking {
    margin-bottom: 14px;
    overflow: hidden;
    background: #080d12;
    border: 2px solid #176fd1 !important;
}

.lvei-ranking-head {
    position: relative;
    padding: 19px 20px 16px;
    background: linear-gradient(135deg, #0e2030, #091018);
    border-bottom: 2px solid #176fd1 !important;
}

.lvei-ranking-head::after {
    content: "X";
    position: absolute;
    right: 14px;
    top: 3px;
    color: rgba(88, 171, 241, 0.08);
    font-size: 72px;
    font-weight: 900;
    line-height: 0.9;
}

.lvei-ranking-head > span {
    color: #fff !important;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 1 !important;
}

.lvei-ranking-head h2 {
    margin: 5px 0 3px;
    color: #fff !important;
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: 35px;
    font-weight: 600 !important;
    line-height: 0.95;
    letter-spacing: -0.025em;
    opacity: 1 !important;
}

.lvei-ranking-head p {
    margin: 0;
    color: #fff !important;
    font-size: 10px;
    opacity: 1 !important;
}

.lvei-ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: item;
}

.lvei-ranking-list li {
    border-bottom: 1px solid #142330;
}

.lvei-ranking-list li:last-child {
    border-bottom: 0;
}

.lvei-ranking-list a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 60px;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    transition: 0.15s;
}

.lvei-ranking-list a:hover {
    background: #0e1821;
}

.lvei-rank-number {
    color: #63819a;
    font-size: 17px;
    text-align: center;
}

.lvei-rank-thumb,
.lvei-rank-meter {
    display: none !important;
}

.lvei-rank-info {
    min-width: 0;
}

.lvei-rank-info strong {
    display: block;
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    opacity: 1 !important;
}

.lvei-rank-score {
    text-align: right;
    white-space: nowrap;
}

.lvei-rank-score b {
    color: #fff !important;
    font-size: 19px;
    opacity: 1 !important;
}

.lvei-rank-score small {
    color: #fff;
    font-size: 8px;
    opacity: 0.78;
}

.lvei-ranking-flop .lvei-rank-score b {
    color: #fff;
}

.lvei-ranking-flop .lvei-ranking-head > span {
    color: var(--lvei-blue2);
}

.lvei-ranking-flop .lvei-ranking-head {
    background: linear-gradient(135deg, #0e2030, #091018);
    border-bottom-color: #176fd1;
}

.lvei-ranking-flop .lvei-ranking-head::after {
    color: rgba(88, 171, 241, 0.08);
}

.lvei-ranking-empty {
    padding: 18px;
    color: #fff;
    font-size: 11px;
}

/* ==========================================================
   LISTES DÉROULANTES
   ========================================================== */

select,
.lvei-modern-home select,
.lvei-modern-inner select,
body.dark_skin select,
body.dark_skin .widget select,
body.dark_skin .widget_archive select,
body.dark_skin .widget_categories select {
    color: #111 !important;
    background-color: #fff !important;
}

select option,
.lvei-modern-home select option,
.lvei-modern-inner select option,
body.dark_skin select option {
    color: #111 !important;
    background-color: #fff !important;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.lvei-footer {
    margin-top: 40px;
    background: #07111b;
    border-top: 3px solid #0b84d5;
    color: #8fa3b5;
    text-align: center;
}

.lvei-footer-brand {
    margin-bottom: 12px;
}

.lvei-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.lvei-footer-brand span {
    color: #0b84d5;
    font-size: 12px;
    letter-spacing: 1px;
}

.lvei-footer-copyright {
    font-size: 12px;
    line-height: 1.7;
}

.lvei-footer a {
    display: block;
    margin: 8px 0;
    color: #0b84d5;
    font-size: 11px;
    text-decoration: none;
}

.lvei-footer a:hover {
    color: #fff;
}

.lvei-footer-legal {
    max-width: 1000px;
    margin: 0 auto;
    padding: 18px 30px;
    border-top: 1px solid #17334d;
    border-bottom: 1px solid #17334d;
}

.lvei-footer-legal p {
    margin: 0;
    color: #71879a;
    font-size: 11px;
    line-height: 1.7;
}

.lvei-footer-tech {
    padding: 12px 20px;
    color: #53697c;
    font-size: 10px;
}

/* ==========================================================
   RESPONSIVE — 1180 PX
   ========================================================== */

@media (max-width: 1180px) {
    .lvei-menu > li > a {
        padding: 12px 11px !important;
        font-size: 10px !important;
        letter-spacing: 0.45px !important;
    }
}

/* ==========================================================
   RESPONSIVE — 1100 PX
   ========================================================== */

@media (max-width: 1100px) {
    .lvei-site-box {
        width: min(1400px, calc(100% - 30px));
        margin: 15px auto;
    }

    .lvei-content-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 20px;
    }

    .lvei-brand {
        max-width: 450px;
    }

    .lvei-brand .custom-logo {
        max-width: 450px;
        max-height: 135px;
    }
}

/* ==========================================================
   RESPONSIVE — 920 PX
   ========================================================== */

@media (max-width: 920px) {
    .lvei-shell {
        width: min(calc(100% - 30px), var(--lvei-max));
    }

    .lvei-site-box {
        width: 100%;
        margin: 0;
        border-left: 0;
        border-right: 0;
    }

    .lvei-site-box .lvei-shell {
        width: min(calc(100% - 30px), var(--lvei-max));
    }

    .lvei-brand-row {
        min-height: 125px;
        justify-content: flex-start;
    }

    .lvei-brand .custom-logo {
        max-width: 360px;
        max-height: 105px;
    }

    .lvei-menu-toggle {
        display: flex;
    }

    .lvei-navbar {
        position: relative;
        top: auto;
    }

    body.admin-bar .lvei-navbar {
        top: auto;
    }

    .lvei-nav {
        display: none;
    }

    .lvei-nav.is-open {
        display: block;
    }

    .lvei-menu {
        display: block;
        padding: 8px 0;
    }

    .lvei-menu > li {
        border: 0 !important;
        border-bottom: 1px solid #142434 !important;
    }

    .lvei-menu > li:first-child {
        border-left: 0 !important;
    }

    .lvei-menu > li > a {
        padding: 12px !important;
        font-size: 11px !important;
    }

    .lvei-menu .sub-menu {
        display: block;
        position: static;
        min-width: 0;
        max-width: none;
        padding: 0 0 7px 15px;
        background: #070d13 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .lvei-menu .sub-menu .sub-menu {
        position: static;
    }

    .lvei-content-layout {
        grid-template-columns: 1fr;
    }

    .lvei-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        padding-top: 0;
    }

    .lvei-ranking {
        margin-bottom: 35px;
    }

    .lvei-random-banner {
        grid-template-columns: 42% 1fr;
    }

    .lvei-news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lvei-news-card.is-featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .lvei-news-card.is-featured .lvei-news-media {
        aspect-ratio: 16 / 7.5;
    }
}

/* ==========================================================
   RESPONSIVE — 900 PX
   ========================================================== */

@media (max-width: 900px) {
    .lvei-season-menu {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .lvei-season-menu a {
        min-height: 38px;
        padding: 7px 3px !important;
        font-size: 9px !important;
    }
}

/* ==========================================================
   RESPONSIVE — ADMIN BAR MOBILE
   ========================================================== */

@media (max-width: 782px) {
    body.admin-bar .lvei-navbar {
        top: auto;
    }
}

/* ==========================================================
   RESPONSIVE — 700 PX
   ========================================================== */

@media (max-width: 700px) {
    .lvei-footer {
        margin-top: 25px;
    }

    .lvei-footer-main {
        padding: 22px 15px 16px;
    }

    .lvei-footer-brand strong {
        font-size: 16px;
    }

    .lvei-footer-legal {
        padding: 16px 20px;
    }
}

/* ==========================================================
   RESPONSIVE — 650 PX
   ========================================================== */

@media (max-width: 650px) {
    .lvei-shell {
        width: min(calc(100% - 20px), var(--lvei-max));
    }

    .lvei-site-box .lvei-shell {
        width: min(calc(100% - 20px), var(--lvei-max));
    }

    .lvei-brand-row {
        min-height: 105px;
    }

    .lvei-brand {
        max-width: 255px;
    }

    .lvei-brand .custom-logo {
        max-width: 250px;
        max-height: 88px;
    }

    .lvei-header-actions {
        gap: 6px;
    }

    .lvei-search-toggle,
    .lvei-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .lvei-random-hero {
        padding-top: 14px;
        padding-bottom: 10px;
    }

    .lvei-random-banner {
        display: block;
        min-height: 0;
    }

    .lvei-random-banner::before {
        background: linear-gradient(180deg, transparent 12%, #0a1016 45%);
    }

    .lvei-random-image {
        height: 190px;
    }

    .lvei-random-copy {
        padding: 25px 20px;
    }

    .lvei-random-copy h1 {
        font-size: 38px;
    }

    .lvei-random-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .lvei-random-mark {
        display: none;
    }

    .lvei-search-cta {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .lvei-search-cta form,
    .lvei-search-row {
        display: block;
    }

    .lvei-search-cta button,
    .lvei-search-row button {
        width: 100%;
        min-height: 46px;
        margin-top: 7px;
    }

    .lvei-section {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .lvei-news-grid,
    .lvei-dossier-grid,
    .lvei-sidebar {
        grid-template-columns: 1fr;
    }

    .lvei-news-card.is-featured {
        grid-column: auto;
    }

    .lvei-casefile {
        grid-template-columns: 1fr;
    }

    .lvei-casefile-media {
        min-height: 210px;
    }

    .lvei-casefile-body {
        padding: 28px 20px 72px;
    }

    .lvei-stamp {
        right: 14px;
        bottom: 15px;
        transform: rotate(-4deg) scale(0.78);
        transform-origin: bottom right;
    }

    .lvei-ranking {
        margin-bottom: 14px;
    }

    .lvei-footer-bottom {
        display: block;
    }
}

/* ==========================================================
   RESPONSIVE — 560 PX
   ========================================================== */

@media (max-width: 560px) {
    .lvei-season-menu {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lvei-season-menu a {
        min-height: 36px;
        font-size: 8.5px !important;
        white-space: normal;
    }
}
