body.mv::before, body.mv::after { display: none; }

.mv .village.sm .hero h1 { font-size: 56px; }
.mv .signs a.sign { text-decoration: none; transition: transform .15s ease; }
.mv .signs a.sign:hover { transform: translateY(-2px); }

.mv .news-zone { padding-top: 36px; padding-bottom: 70px; }
.mv .news-page { max-width: 1150px; margin: 0 auto; }

.mv .news-header { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 30px; text-align: center; }
.mv .news-page-subtitle { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.mv .news-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mv .news-filter { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 700 13px "Poppins", sans-serif; box-shadow: inset 0 0 0 3px var(--parch-d); cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.mv .news-filter:not(.active):hover { box-shadow: inset 0 0 0 3px var(--marron); transform: translateY(-1px); }
.mv .news-filter.active { background: linear-gradient(90deg, var(--marron), var(--rose-l)); color: #fff; box-shadow: 0 4px 0 var(--rose); }
.mv .news-filter:focus-visible, .mv .news-page-btn:focus-visible, .mv .news-back-btn:focus-visible, .mv .news-card:focus-visible { outline: 3px solid var(--rose-l); outline-offset: 3px; }

.mv .news-admin-btn { align-items: center; gap: 8px; padding: 10px 22px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f6cf62, var(--or)); color: var(--ink); font: 800 13px "Poppins", sans-serif; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 4px 0 var(--or-d); cursor: pointer; }

.mv .news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mv .news-loading, .mv .news-empty { grid-column: 1 / -1; padding: 40px 20px; border-radius: 22px; background: #fffaf3; box-shadow: inset 0 0 0 3px var(--parch-d); text-align: center; font-weight: 600; color: var(--ink-2); }

.mv .news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fffaf3; box-shadow: inset 0 0 0 3px var(--parch-d), 0 6px 0 rgba(74,44,27,.12); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.mv .news-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 3px var(--marron), 0 10px 0 rgba(74,44,27,.14); }
.mv .news-card-img { position: relative; aspect-ratio: 16 / 9; margin: 8px 8px 0; overflow: hidden; border-radius: 16px; background: var(--parch); }
.mv .news-banniere img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mv .news-card:hover .news-banniere img { transform: scale(1.04); }
.mv .news-scene {--teinte: 74, 44, 27; --cadrage: 50% 40%; --medaille: linear-gradient(180deg, #f6cf62, var(--or)); --medaille-ombre: var(--or-d); background: url(../images/village/para4.webp) var(--cadrage) / 240% auto no-repeat, #cfc79a; transition: background-size .5s ease; }
.mv .news-card:hover .news-scene { background-size: 255% auto; }
.mv .news-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(var(--teinte), .62) 0%, rgba(var(--teinte), .18) 55%, rgba(var(--teinte), .05) 100%); pointer-events: none; }
.mv .news-scene.scene-patchnote { --teinte: 120, 82, 18; --cadrage: 30% 8%; }
.mv .news-scene.scene-event { --teinte: 132, 46, 74; --cadrage: 85% 30%; --medaille: linear-gradient(180deg, #e88aa0, var(--rose)); --medaille-ombre: #7a3243; }
.mv .news-scene.scene-maintenance { --teinte: 112, 34, 26; --cadrage: 55% 75%; --medaille: linear-gradient(180deg, #e2735f, var(--err)); --medaille-ombre: #8a281e; }
.mv .news-scene.scene-general { --teinte: 34, 84, 26; --cadrage: 10% 45%; --medaille: linear-gradient(180deg, #7fbf5c, #2f6b22); --medaille-ombre: #1f4a16; }

.mv .scene-embleme { position: absolute; z-index: 2; left: 9%; top: 50%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--medaille); box-shadow: 0 6px 0 var(--medaille-ombre), inset 0 0 0 4px rgba(255,255,255,.35); color: #fff; font-size: 30px; transform: translateY(-50%) rotate(-8deg); text-shadow: 0 2px 0 rgba(0,0,0,.25); transition: transform .3s ease; }
.mv .news-card:hover .scene-embleme { transform: translateY(-50%) rotate(4deg) scale(1.06); }
.mv .scene-perso { position: absolute; z-index: 2; right: 10%; bottom: 6%; width: 30%; max-width: 150px; text-align: center; }
.mv .scene-perso .scene-corps { position: relative; z-index: 2; display: block; width: 62%; height: auto; aspect-ratio: 96 / 150; margin: 0 auto -17%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 6px rgba(0,0,0,.35)); }
.mv .scene-perso .scene-socle { display: block; width: 100%; }
.mv .news-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 20px 20px; }
.mv .news-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.mv .news-card-cat { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--parch-d); white-space: nowrap; }
.mv .news-card-cat.cat-patchnote { color: var(--marron-d); box-shadow: inset 0 0 0 2px var(--or); }
.mv .news-card-cat.cat-event { color: var(--rose); box-shadow: inset 0 0 0 2px rgba(169,76,96,.45); }
.mv .news-card-cat.cat-maintenance { color: var(--err); box-shadow: inset 0 0 0 2px rgba(192,57,43,.4); }
.mv .news-card-cat.cat-general { color: #2f6b22; box-shadow: inset 0 0 0 2px rgba(79,154,58,.45); }
.mv .news-card-date { font-size: 12px; color: var(--ink-2); }
.mv .news-card-title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.mv .news-card-summary { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mv .news-card-admin { margin-top: auto; display: flex; justify-content: flex-end; }
.mv .news-edit-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--marron-d); box-shadow: inset 0 0 0 2px var(--parch-d); cursor: pointer; }
.mv .news-edit-btn:hover { box-shadow: inset 0 0 0 2px var(--marron); }

.mv .news-list .news-card:first-child:not(:only-child) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.mv .news-list .news-card:first-child:not(:only-child) .news-card-img { aspect-ratio: auto; min-height: 300px; margin: 8px 0 8px 8px; }
.mv .news-list .news-card:first-child:not(:only-child) .news-card-body { justify-content: center; gap: 12px; padding: 28px 34px; }
.mv .news-list .news-card:first-child:not(:only-child) .news-card-title { font-size: 28px; }
.mv .news-list .news-card:first-child:not(:only-child) .news-card-summary { font-size: 15px; -webkit-line-clamp: 5; }

.mv .news-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.mv .news-pagination:empty { display: none; }
.mv .news-page-btn { min-width: 42px; height: 42px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 700 14px "Poppins", sans-serif; box-shadow: inset 0 0 0 3px var(--parch-d); cursor: pointer; }
.mv .news-page-btn:not(.active):hover { box-shadow: inset 0 0 0 3px var(--marron); }
.mv .news-page-btn.active { background: linear-gradient(90deg, var(--marron), var(--rose-l)); color: #fff; box-shadow: 0 4px 0 var(--rose); }

.mv .news-back-btn { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 9px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 700 13px "Poppins", sans-serif; box-shadow: inset 0 0 0 3px var(--parch-d), 0 4px 0 rgba(74,44,27,.15); cursor: pointer; }
.mv .news-back-btn:hover { box-shadow: inset 0 0 0 3px var(--marron), 0 4px 0 rgba(74,44,27,.15); }

.mv .news-detail, .mv .news-editor { max-width: 900px; margin: 0 auto; }
.mv .news-detail-content, .mv .editor-form { padding: 30px 40px 38px; border-radius: 22px; background: #fffaf3; box-shadow: inset 0 0 0 3px var(--parch-d), 0 6px 0 rgba(74,44,27,.12); }
.mv .detail-banner { margin: -18px -28px 24px; overflow: hidden; border-radius: 16px; }
.mv .detail-banner img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.mv .detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--ink-2); }
.mv .detail-title { margin: 12px 0 18px; padding-bottom: 16px; font-size: 34px; font-weight: 800; line-height: 1.2; color: var(--ink); border-bottom: 2px dashed var(--parch-d); }
.mv .detail-body { font-size: 15px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.mv .detail-body h1, .mv .detail-body h2, .mv .detail-body h3 { color: var(--ink); font-weight: 800; }
.mv .detail-body h2 { margin: 28px 0 12px; font-size: 21px; text-transform: uppercase; letter-spacing: .02em; }
.mv .detail-body h3 { margin: 22px 0 10px; padding-bottom: 6px; font-size: 17px; color: var(--marron); border-bottom: 2px dashed var(--parch-d); }
.mv .detail-body p { margin: 0 0 14px; }
.mv .detail-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 8px 0; }
.mv .detail-body a { color: var(--marron); font-weight: 700; }
.mv .detail-body ul, .mv .detail-body ol { margin: 0 0 16px; padding-left: 22px; }
.mv .detail-body li { margin-bottom: 6px; }
.mv .detail-body li::marker { color: var(--rose); }
.mv .detail-body blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 4px solid var(--or); border-radius: 0 12px 12px 0; background: rgba(232,184,74,.12); color: var(--ink); }
.mv .detail-body code { padding: 2px 6px; border-radius: 6px; background: var(--parch); color: var(--marron-d); font-size: 13px; }
.mv .detail-body pre { padding: 14px 16px; border-radius: 12px; background: var(--night); color: var(--beige-l); overflow-x: auto; }
.mv .detail-body pre code { padding: 0; background: none; color: inherit; }

.mv .news-editor-title { margin: 0 0 18px; font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.mv .editor-form { display: flex; flex-direction: column; gap: 18px; }
.mv .editor-row { display: flex; flex-direction: column; gap: 8px; }
.mv .editor-row label { font-size: 13px; font-weight: 800; color: var(--ink); }
.mv .editor-row input[type="text"], .mv .editor-row textarea, .mv .editor-row select { width: 100%; padding: 11px 14px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: 500 14px "Poppins", sans-serif; box-shadow: inset 0 0 0 2px var(--parch-d); }
.mv .editor-row input[type="text"]:focus, .mv .editor-row textarea:focus, .mv .editor-row select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--marron); }
.mv .editor-row textarea#editor-html { font-family: Consolas, "Courier New", monospace; font-size: 13px; }
.mv .editor-banner-upload { display: flex; flex-direction: column; gap: 10px; }
.mv .editor-banner-upload input[type="file"] { font-size: 13px; color: var(--ink-2); }
.mv #editor-banner-preview { max-width: 100%; max-height: 220px; border-radius: 12px; object-fit: cover; }
.mv .editor-tabs { display: flex; gap: 8px; }
.mv .editor-tab { padding: 7px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 700 12px "Poppins", sans-serif; box-shadow: inset 0 0 0 2px var(--parch-d); cursor: pointer; }
.mv .editor-tab.active { background: linear-gradient(90deg, var(--marron), var(--rose-l)); color: #fff; box-shadow: none; }
.mv .editor-preview-area { min-height: 200px; padding: 16px 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--parch-d); color: var(--ink-2); }
.mv .editor-preview-area img { max-width: 100%; height: auto; }
.mv .editor-actions { display: flex; justify-content: flex-end; }
.mv .editor-save-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f6cf62, var(--or)); color: var(--ink); font: 800 14px "Poppins", sans-serif; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 5px 0 var(--or-d); cursor: pointer; }

.mv footer.night.full { margin-top: 30px; }
.mv footer.night.full .about { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 28px; }
.mv footer.night.full .about img { height: 52px; margin: 0; }
.mv footer.night.full .about p { margin: 0; max-width: 520px; font-size: 13px; color: var(--beige); line-height: 1.6; }
.mv footer.night.full .socials { display: flex; gap: 10px; }
.mv footer.night.full .socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--beige-l); font-size: 17px; text-decoration: none; box-shadow: inset 0 0 0 2px rgba(230,192,160,.25); transition: box-shadow .2s ease, color .2s ease; }
.mv footer.night.full .socials a:hover, .mv footer.night.full .socials a:focus-visible { box-shadow: inset 0 0 0 2px var(--marron); color: #fff; }
.mv footer.night.full .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1150px; margin: 0 auto; }
.mv footer.night.full .cols > div { padding: 18px 20px; border-radius: 14px; background: rgba(230,192,160,.06); box-shadow: inset 0 0 0 2px rgba(230,192,160,.16); }
.mv footer.night.full .cols h3 { margin: 0 0 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--or); }
.mv footer.night.full .cols ul { margin: 0; padding: 0; list-style: none; }
.mv footer.night.full .cols a { display: block; padding: 4px 0; font-size: 13px; color: var(--beige-l); text-decoration: none; }
.mv footer.night.full .cols a:hover, .mv footer.night.full .cols a:focus-visible { color: #fff; }
.mv footer.night.full .legal { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: 11px; line-height: 1.6; color: var(--beige); opacity: .75; }

body.mv .language-float-btn { background: var(--night); color: var(--beige-l); box-shadow: inset 0 0 0 2px var(--marron), 0 8px 20px rgba(0,0,0,.35); }

@media (min-width: 901px) {
  .mv .village .hero { left: 112px; }
}

@media (max-width: 1000px) {
  .mv .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .mv .village.sm .hero h1 { font-size: 36px; }
  .mv .news-zone { padding: 26px 16px 50px; }
  .mv .news-filters { flex-wrap: nowrap; justify-content: flex-start; max-width: 100%; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
  .mv .news-filter { flex: 0 0 auto; }
  .mv .news-list .news-card:first-child:not(:only-child) { grid-template-columns: 1fr; }
  .mv .news-list .news-card:first-child:not(:only-child) .news-card-img { aspect-ratio: 16 / 9; min-height: 0; margin: 8px 8px 0; }
  .mv .news-list .news-card:first-child:not(:only-child) .news-card-body { padding: 16px 20px 20px; }
  .mv .news-list .news-card:first-child:not(:only-child) .news-card-title { font-size: 21px; }
  .mv .news-detail-content, .mv .editor-form { padding: 22px 18px 26px; }
  .mv .detail-banner { margin: -10px -8px 18px; }
  .mv .detail-title { font-size: 25px; }
}

@media (max-width: 640px) {
  .mv .news-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .mv footer.night.full .cols { grid-template-columns: 1fr; }
}
