/* Le Mag de La Rafale — pages publiques indépendantes de la salle des ventes. */
*{box-sizing:border-box}
:root{color-scheme:light;--ink:#251e1b;--muted:#6b5b51;--gold:#b58b38;--orange:#dd6240;--border:#e6daca}
html{scroll-behavior:smooth}
body{margin:0;background:#faf7f1;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a8732b;outline-offset:2px}
.mag-shell{max-width:1120px;margin:0 auto;padding:0 20px}
.mag-header{min-height:89px;padding:17px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}
.mag-brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:950;letter-spacing:.02em;white-space:nowrap}
.mag-brand img{display:block;width:54px;height:54px;object-fit:contain;background:#fff;border-radius:10px}
.mag-brand b{font-size:11px;color:#d24c2d}
.mag-live-link,.mag-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#221e20;color:#fff;border-radius:11px;padding:12px 18px;font-weight:850;font-size:14px;text-align:center}
.mag-live-link:hover,.mag-primary:hover{background:#45372e}
.mag-eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:900;color:#a3642e}
.mag-hero{padding:58px 34px;margin:24px 0 34px;border-radius:22px;background:linear-gradient(128deg,#211a1c,#3c2d29 70%,#513b2d);color:white}
.mag-hero .mag-eyebrow{color:#f9ce75}
.mag-hero h1{font-size:clamp(29px,5vw,48px);letter-spacing:-.045em;line-height:1.08;max-width:780px;margin:14px 0}
.mag-hero p{max-width:640px;color:#e4d9d1;font-size:16px;margin:0 0 27px}
.mag-hero .mag-primary{background:#efb643;color:#2c211b}
.mag-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:22px;padding-bottom:40px}
.mag-card{overflow:hidden;border-radius:17px;border:1px solid var(--border);background:white;box-shadow:0 5px 20px #4e35220a;display:flex;flex-direction:column}
.mag-card-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#e9e1d7}
.mag-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.mag-no-image{height:100%;display:grid;place-items:center;background:linear-gradient(120deg,#292323,#8d713c);color:#ffe5a1;font-weight:900;letter-spacing:.2em}
.mag-card-content{padding:20px;display:flex;flex-direction:column;gap:10px;flex:1}
.mag-card-content small{font-size:11px;font-weight:800;text-transform:uppercase;color:#a16a3c}
.mag-card-content h2{margin:0;font-size:21px;line-height:1.24;letter-spacing:-.025em}
.mag-card-content p{margin:0;color:var(--muted);font-size:14px;flex:1}
.mag-read{color:#9a4b28;font-weight:900;font-size:13px;margin-top:8px}
.mag-empty{background:#fff;border-radius:16px;border:1px solid var(--border);padding:24px;margin-bottom:30px}
.mag-empty h2{font-size:21px;margin:0 0 8px}
.mag-empty p{color:var(--muted);margin:0}
.mag-footer{padding:24px 0 42px;border-top:1px solid var(--border);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:#807168;font-size:12px}
.mag-footer a{color:#995431;font-weight:800}
.mag-article{max-width:820px;margin:0 auto;padding-bottom:40px}
.mag-breadcrumb{font-size:13px;font-weight:750;color:#a26434;padding:24px 0 10px}
.mag-article-intro{padding:15px 0 24px}
.mag-article-intro h1{font-size:clamp(31px,5vw,49px);line-height:1.12;letter-spacing:-.045em;margin:10px 0 16px}
.mag-lead{font-size:19px;color:#62534b;margin:0 0 14px}
.mag-article-intro time{font-size:12px;color:#897970}
.mag-cover{margin:0 0 26px}
.mag-cover img{width:100%;height:auto;max-height:570px;object-fit:contain;border-radius:18px;background:#eee6db}
.mag-prose{font-size:17px;line-height:1.78;color:#302821;overflow-wrap:anywhere}
.mag-prose p{margin:0 0 1.25em}
.mag-prose h2{font-size:27px;line-height:1.24;margin:1.5em 0 .45em}
.mag-prose h3{font-size:21px;margin:1.3em 0 .4em}
.mag-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0}
.mag-gallery figure{margin:0}
.mag-gallery img{width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:12px;background:#eee}
.mag-cta{background:#271f20;color:white;padding:25px;border-radius:16px;margin-top:35px}
.mag-cta h2{margin:0 0 8px}
.mag-cta p{color:#d5c6bd;margin:0 0 18px}
.mag-cta .mag-primary{background:#eeab46;color:#281c17}
.mag-back{display:inline-block;margin-top:24px;color:#9f542e;font-weight:800}
.mag-admin-shell{max-width:1200px}
.mag-admin{padding:26px 0 40px}
.mag-editor-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:24px}
.mag-editor-heading h1{font-size:32px;margin:4px 0}
.mag-editor-heading p{margin:4px 0;color:var(--muted);font-size:14px}
.mag-ghost{border:1px solid #c6ac93;color:#63452d;background:#fff;border-radius:9px;padding:9px 15px;font-weight:800;font-size:13px}
.mag-editor-grid{display:grid;grid-template-columns:minmax(235px,.36fr) minmax(0,1fr);gap:20px;align-items:start}
.mag-editor-list,.mag-editor-form{background:white;border:1px solid #e4d9c9;border-radius:16px;padding:20px;box-shadow:0 7px 28px #321a100a}
.mag-editor-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mag-editor-list h2,.mag-editor-form h2{font-size:21px;line-height:1.25;margin:0 0 17px}
.mag-editor-list-head button{background:#302724;color:white;border:0;border-radius:9px;padding:10px 12px;font-weight:800}
.mag-editor-item{display:block;text-align:left;width:100%;background:#faf8f5;border:1px solid #e4d9c9;border-radius:10px;margin:8px 0;padding:12px;line-height:1.35}
.mag-editor-item.active{border-color:#bd803c;background:#fff1d7}
.mag-editor-item strong{display:block;font-size:13px}
.mag-editor-item small{color:#826d60;font-size:11px}
.mag-editor-item .mag-published{color:#18643e}
.mag-hint{font-size:12px;color:#78695f;margin:5px 0 12px;line-height:1.4}
#blogForm{display:flex;flex-direction:column;gap:9px}
#blogForm label{font-size:13px;font-weight:850;color:#42352e;margin-top:4px}
#blogForm input,#blogForm select,#blogForm textarea{width:100%;border:1px solid #c8b9a9;background:#fffdfb;color:#29211b;border-radius:9px;padding:11px 12px;font-size:15px;resize:vertical}
#blogForm textarea{line-height:1.55}
#blogBody{min-height:270px}
.mag-photo-list{display:flex;flex-wrap:wrap;gap:10px}
.mag-photo-item{width:115px;position:relative}
.mag-photo-item img{width:115px;height:94px;object-fit:cover;border-radius:9px;border:1px solid #b8aaa1;background:#eee}
.mag-photo-item button{position:absolute;right:3px;top:3px;background:#211b1be8;color:#fff;border:0;border-radius:7px;font-size:12px;padding:4px 7px}
.mag-photo-item small{display:block;color:#766352;font-size:10px}
.mag-editor-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.mag-editor-actions button{min-height:44px;border-radius:10px;padding:10px 14px;font-weight:900;font-size:13px}
.mag-secondary{border:1px solid #b69b80;background:#f7f2eb;color:#493b30}
.mag-publish{border:1px solid #a55b28;background:#dd6240;color:white}
.mag-danger{border:1px solid #b75b5b;background:white;color:#a12626}
#blogStatus{font-size:13px;font-weight:800;margin:6px 0}
#blogStatus.success{color:#106d3f}
#blogStatus.error{color:#ab2525}
#blogPublicLink{color:#99501e;text-decoration:underline;font-size:13px;font-weight:800}
.mag-editor-note{padding:15px 0}
@media(max-width:720px){
 .mag-shell{padding:0 13px}
 .mag-header{min-height:72px;padding:11px 0}
 .mag-brand img{width:42px;height:42px}
 .mag-brand{gap:7px;font-size:15px}
 .mag-live-link{padding:10px 11px;font-size:12px}
 .mag-hero{margin:12px 0 25px;padding:30px 21px;border-radius:15px}
 .mag-hero h1{font-size:30px}
 .mag-hero p{font-size:14px}
 .mag-grid{gap:15px}
 .mag-article-intro{padding-top:8px}
 .mag-lead{font-size:16px}
 .mag-prose{font-size:16px}
 .mag-gallery{grid-template-columns:1fr}
 .mag-editor-grid{grid-template-columns:1fr;gap:13px}
 .mag-editor-list,.mag-editor-form{padding:16px;border-radius:12px}
 .mag-editor-list h2,.mag-editor-form h2{font-size:20px}
 .mag-editor-heading h1{font-size:27px}
 .mag-editor-actions button{flex:1 0 42%}
}

/* Le Mag reprend les mêmes couleurs claires que La Rafale Live. */
:root{--ink:#1b2936;--muted:#526575;--gold:#d8b153;--orange:#295d84;--border:#d5e1e9}
body{background:#fff;color:#1b2936}
.mag-header{border-color:#d8e4eb}
.mag-brand{color:#1b2936}
.mag-brand b{color:#285d83}
.mag-live-link,.mag-primary{background:#295d84;color:#fff}
.mag-live-link:hover,.mag-primary:hover{background:#204763}
.mag-eyebrow{color:#476f8c}
.mag-hero{
 background:linear-gradient(125deg,#fff,#f0f6fa);
 border:1px solid #d1e1ea;color:#1b2936;box-shadow:0 4px 18px #2a41510b
}
.mag-hero .mag-eyebrow{color:#3c6c8c}
.mag-hero h1{color:#1b2936}
.mag-hero p{color:#516879}
.mag-hero .mag-primary,.mag-cta .mag-primary{background:#295d84;color:#fff}
.mag-card{background:#fff;border-color:#d3e1e9}
.mag-card-content small{color:#496c83}
.mag-card-content h2{color:#1b2936}
.mag-card-content p{color:#526575}
.mag-read,.mag-back,.mag-footer a{color:#295d84}
.mag-no-image{background:linear-gradient(135deg,#e9f2f8,#cbdfea);color:#2e5f80}
.mag-empty{background:#f6f9fb;border-color:#d4e1e9}
.mag-article-intro h1,.mag-prose{color:#1b2936}
.mag-lead,.mag-article-intro time{color:#526575}
.mag-cta{background:#f0f6fa;color:#1b2936;border:1px solid #cfdee8}
.mag-cta h2{color:#1b2936}
.mag-cta p{color:#526575}
.mag-editor-list,.mag-editor-form{background:#fff;border-color:#d0dee8}
.mag-ghost{background:#edf4f9;border-color:#adc7d9;color:#2c5e7e}
.mag-editor-list-head button{background:#295d84}
.mag-editor-item{background:#f7fafc;border-color:#cfdee7;color:#1b2936}
.mag-editor-item.active{
 background:#deedf7;border:2px solid #2f6c95;color:#153e5a;
 box-shadow:inset 3px 0 0 #2f6c95
}
.mag-editor-item:hover{border-color:#699bbf}
#blogForm label{color:#2c4557}
#blogForm input,#blogForm select,#blogForm textarea{color:#203140;background:#fff;border-color:#adc1d1}
.mag-secondary{background:#edf4f9;color:#244c68;border-color:#abc5d7}
.mag-publish{background:#295d84;color:#fff;border-color:#245272}
.mag-ghost:hover,.mag-secondary:hover{background:#e0edf6}
.mag-publish:hover{background:#204763}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #477fa8;outline-offset:2px}
