/* Scoped to Mille editorial content and the explicitly enabled full-width template. */
.mle-main{display:block;width:100%;max-width:none;margin:0;padding:0}
body.mle-template #content{padding:0}
body.mle-template #content > .ast-container,body.mle-template .fl-page-content > .container{display:block;width:100%;max-width:none;margin:0;padding:0}
.mle-page,.mle-single,.mle-dialog{--mle-line:#999;--mle-bg:#f5f5f5;color:#222;font-family:inherit;font-size:14px;line-height:1.6}
.mle-page *,.mle-single *,.mle-dialog *{box-sizing:border-box}
.mle-page{width:100%;max-width:none;margin:0;background:var(--mle-bg)}
.mle-page a,.mle-single a{color:inherit;text-decoration:none}
.mle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-left:1px solid var(--mle-line);border-top:1px solid var(--mle-line)}
.mle-card{min-width:0;margin:0;border-right:1px solid var(--mle-line);border-bottom:1px solid var(--mle-line)}
.mle-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;overflow:hidden;background:#eee}
.mle-card-image img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;margin:0;border:0;border-radius:0;transition:transform .25s}
.mle-card-image:hover img{transform:scale(1.025)}
.mle-no-image{padding:24px;text-align:center;color:#777}
.mle-card-info{padding:10px 12px 12px;border-top:1px solid var(--mle-line)}
.mle-card-info h2{font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;margin:0 0 8px;min-height:3em;overflow-wrap:anywhere}
.mle-card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.mle-meta{font-size:11px;color:#666;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.mle-meta span,.mle-meta time{display:block}
.mle-page .mle-read{flex-shrink:0;border-radius:50px;background:#222;color:#fff;font-size:10px;line-height:1.3;padding:7px 12px;white-space:nowrap}
.mle-page .mle-read:hover{background:#555;color:#fff}
.mle-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:24px 12px}
.mle-pagination a,.mle-pagination span{padding:7px 12px;border:1px solid #bbb;min-width:40px;text-align:center;border-radius:3px}
.mle-pagination .current{color:#fff;background:#222}
.mle-category-heading{padding:18px 24px;border-bottom:1px solid #999}
.mle-category-heading h1{font-size:24px;line-height:1.4;margin:0 0 8px}
.mle-category-heading p{margin:0}
.mle-empty,.mle-nojs{text-align:center;padding:36px 20px;margin:0}
.mle-collection{display:flex;justify-content:center;gap:8px;padding:8px;border-bottom:1px solid #ccc}
.mle-collection button,.mle-saved-more,.mle-retry{appearance:none;font-family:inherit;border:1px solid #ccc;background:transparent;color:#222;border-radius:30px;padding:8px 16px;font-size:12px;line-height:1.5;cursor:pointer;min-height:40px}
.mle-collection button[aria-pressed="true"]{background:#222;color:#fff;border-color:#222}
.mle-saved-more{display:block;margin:20px auto}
.mle-page button:disabled,.mle-dialog button:disabled{cursor:wait;opacity:.5}
.mle-visually-hidden{position:absolute!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;white-space:nowrap!important}
.mle-dialog{position:fixed;inset:0;max-width:1100px;width:calc(100vw - 64px);max-height:calc(100dvh - 64px);padding:0;border:0;border-radius:4px;background:#fff;box-shadow:0 12px 60px #0005;overflow:visible;margin:auto}
.mle-dialog:not([open]){display:none}
.mle-dialog::backdrop{background:rgba(0,0,0,.78)}
.mle-modal-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);height:min(720px,calc(100dvh - 64px));overflow:hidden;border-radius:4px}
.mle-modal-media{background:#111;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}
.mle-modal-media img{display:block;width:100%;height:100%;max-width:none;max-height:100%;object-fit:contain;margin:0;border-radius:0}
.mle-modal-panel{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff}
.mle-modal-panel header{padding:16px 20px;border-bottom:1px solid #ddd}
.mle-modal-panel header strong{font-family:Georgia,serif;font-size:28px;line-height:1}
.mle-modal-panel h2{font-size:15px;font-family:inherit;line-height:1.5;margin:12px 0 0;overflow-wrap:anywhere}
.mle-modal-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 20px;font-size:14px;overflow-wrap:anywhere}
.mle-modal-content img{max-width:100%;height:auto}
.mle-modal-panel footer{border-top:1px solid #ddd;padding:12px 20px;margin:0;background:#fff}
.mle-actions{display:flex;align-items:center;gap:8px}
.mle-dialog .mle-actions button{appearance:none;display:flex;justify-content:center;align-items:center;min-height:44px;min-width:44px;border:0;background:none;color:#222;padding:8px;cursor:pointer;border-radius:4px;box-shadow:none}
.mle-actions button[data-react="save"]{margin-left:auto}
.mle-actions svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.mle-actions [aria-pressed="true"] svg{fill:currentColor}
.mle-actions button[data-react="like"][aria-pressed="true"]{color:#ed3454}
.mle-like-count{font-size:13px;font-weight:600;margin:4px 0}
.mle-promo-date{font-size:11px;color:#777}
.mle-status{font-size:12px;color:#555;margin:6px 0 0;min-height:1.5em}
.mle-dialog .mle-close{position:absolute;top:-26px;right:-26px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#222;color:#fff;font-size:30px;line-height:40px;cursor:pointer;z-index:2;font-family:Arial,sans-serif;box-shadow:none}
.mle-page :focus-visible,.mle-dialog :focus-visible,.mle-single :focus-visible{outline:2px solid #222;outline-offset:3px}
.mle-dialog.mle-loading .mle-modal-media{background:linear-gradient(110deg,#eee 30%,#fafafa 45%,#eee 60%);background-size:250% 100%;animation:mle-shimmer 1.2s linear infinite}
@keyframes mle-shimmer{to{background-position:-250% 0}}
.mle-single{background:var(--mle-bg);padding:0 0 60px}
.mle-single-hero{display:flex;justify-content:center;margin:0 auto 36px}
.mle-single-hero img{display:block;width:auto;max-width:100%;max-height:460px;object-fit:contain;margin:0}
.mle-single-body{max-width:1040px;padding:0 20px;margin:auto}
.mle-breadcrumb{font-size:11px;color:#666;margin:0 0 18px}
.mle-single h1{font-size:24px;font-family:inherit;line-height:1.5;margin:0;padding-bottom:14px;border-bottom:1px solid #999}
.mle-single-meta{color:#888;font-size:12px;margin:16px 0 60px}
.mle-article-content{font-size:15px;overflow-wrap:anywhere}
.mle-article-content h2,.mle-article-content h3{font-family:inherit;font-size:18px;line-height:1.5;margin-top:30px}
.mle-article-content img,.mle-article-content iframe{max-width:100%}
.mle-single-share{display:inline-block;margin-top:28px;font-size:13px}
.mle-page [hidden],.mle-dialog [hidden]{display:none!important}
@media(max-width:900px){.mle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mle-modal-layout{grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}}
@media(max-width:700px){.mle-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0}.mle-modal-layout{display:flex;flex-direction:column;overflow:auto;height:100%;border-radius:0;overscroll-behavior:contain}.mle-modal-media{height:auto;flex:none;min-height:200px;max-height:none}.mle-modal-media img{height:auto;max-height:58dvh;object-fit:contain}.mle-modal-panel{flex:1;min-height:auto;overflow:visible}.mle-modal-content{overflow:visible;flex:none;padding:14px 18px}.mle-modal-panel header{padding:14px 18px}.mle-modal-panel footer{padding:10px 18px calc(10px + env(safe-area-inset-bottom))}.mle-dialog .mle-close{position:fixed;top:10px;right:10px;background:#222c}.mle-single-meta{margin-bottom:36px}}
@media(max-width:600px){.mle-grid{grid-template-columns:minmax(0,1fr)}.mle-card-info{padding:10px 14px 14px}.mle-card-info h2{font-size:14px;min-height:0}.mle-meta{font-size:12px}.mle-page .mle-read{font-size:11px;padding:9px 15px;min-height:34px}.mle-single h1{font-size:20px}.mle-article-content{font-size:14px}.mle-single-hero{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.mle-card-image img{transition:none}.mle-dialog.mle-loading .mle-modal-media{animation:none}}
/* Promotion gallery: native horizontal scrolling, no slider library. */
.mle-card-image{position:relative}
.mle-card-count{position:absolute;top:12px;right:12px;padding:4px 8px;border-radius:20px;background:#222b;color:#fff;font-size:11px;line-height:1.4;pointer-events:none}
.mle-gallery{position:relative;width:100%;height:100%;min-width:0;min-height:0;background:#111}
.mle-gallery-track{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;outline-offset:-3px!important}
.mle-gallery-track::-webkit-scrollbar{display:none}
.mle-gallery-slide{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 100%;width:100%;height:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;background:#111}
.mle-modal-media .mle-gallery-slide img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.mle-dialog .mle-gallery-prev,.mle-dialog .mle-gallery-next{appearance:none;position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#fffe;color:#222;box-shadow:0 1px 6px #0003;font:32px/1 Arial,sans-serif;cursor:pointer}
.mle-gallery-prev{left:10px}.mle-gallery-next{right:10px}
.mle-gallery-count{position:absolute;top:12px;right:12px;padding:5px 10px;border-radius:20px;background:#222b;color:#fff;font-size:12px;line-height:1.4;pointer-events:none}
.mle-gallery-dots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;align-items:center;padding:0 4px;background:#2228;border-radius:24px;max-width:95%}
.mle-dialog .mle-gallery-dots button{appearance:none;display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer}
.mle-gallery-dots button::before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:#ffffff80}
.mle-gallery-dots button[aria-pressed='true']::before{background:#fff;width:8px;height:8px}
.mle-gallery-empty{padding:24px;color:#ccc;text-align:center}
@media(max-width:700px){.mle-modal-media .mle-gallery{height:auto;aspect-ratio:var(--mle-gallery-ratio,1 / 1);max-height:58dvh}.mle-gallery-track{position:absolute;inset:0}.mle-modal-media .mle-gallery-slide img{height:100%;max-height:100%}.mle-gallery-count{left:12px;right:auto}}
