*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.css-5cvt27h{max-width:1100px;margin:0 auto;padding:0 24px}
.css-cowbxgw{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.css-cowbxgw h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.css-cowbxgw p{font-size:16px;opacity:.8;font-style:italic}
.css-cowbxgw .css-ypod0g9{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.css-w9yykte{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.css-y525dhb{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.css-y525dhb:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.css-y525dhb h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.css-y525dhb h2 a{color:#2c3e50;text-decoration:none}
.css-y525dhb .css-wasg3uy{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.css-y525dhb p{font-size:15px;color:#555;margin-bottom:14px}
.css-mbc6kvc{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.css-3km1j35{max-width:780px;margin:0 auto;padding:0 24px 60px}
.css-3km1j35 h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.css-3km1j35 .css-wasg3uy{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.css-3km1j35 h2{font-size:24px;margin:36px 0 14px}
.css-3km1j35 h3{font-size:19px;margin:28px 0 10px}
.css-3km1j35 p{margin-bottom:18px;font-size:17px}
.css-3km1j35 ul,.css-3km1j35 ol{margin:0 0 18px 28px}
.css-3km1j35 a{color:#e74c3c}
.css-3km1j35 img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.css-i6mf69q{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.css-i6mf69q a{color:#888}
.css-6kytw0j{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:14px 0;margin-bottom:28px;font-size:14px;color:#888;font-style:italic;text-align:center}
.css-eoxxy16{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.css-39sbk8d{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.css-gg811p0{margin:0 0 28px}
.css-y8uhion{width:100%;height:auto;border-radius:4px}
.css-8bam2ya{margin:28px 0}
.css-zavbuvx{width:100%;height:auto;border-radius:4px}
.css-145q3gb{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.css-145q3gb h4{font-size:16px;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;color:#888}
.mag-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mag-related-item a{color:#2c3e50;text-decoration:none;font-size:15px}
.mag-related-item a:hover{color:#e74c3c}
/* === Theme === */
:root{--primary:#5C3A26;--accent:#A87A38;--bg:#F2EBD9;--fg:#1F140A;--border:#C4B095;--r:9px;--fb:'Outfit';--fh:'Cormorant Infant'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@400;500;600;700&display=swap');

:root body { font-family: var(--fb), system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.72; font-size: 16.5px; }
::selection { background: var(--accent); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }

:root > body > header { background: var(--primary); color: var(--bg); padding: 50px 0 30px; margin-bottom: 44px; border-bottom: 3px solid var(--accent); }
:root > body > header > div { max-width: 800px; margin: 0 auto; padding: 0 24px; }
:root > body > header h1 { font-family: var(--fh), Cambria, serif; font-size: 38px; font-weight: 500; color: var(--bg); line-height: 1.16; margin-bottom: 8px; letter-spacing: -0.005em; }
:root > body > header p { font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; color: rgba(242, 235, 217, .82); max-width: 720px; }
:root > body > header a { font-family: var(--fh), Cambria, serif; font-size: 26px; color: var(--bg); text-decoration: none; font-weight: 500; }

:root main { max-width: 800px; margin: 0 auto; padding: 0 24px 70px; }

:root main > h1 { font-family: var(--fh), Cambria, serif; font-size: 34px; font-weight: 500; color: var(--primary); line-height: 1.18; margin: 6px 0 6px; letter-spacing: -0.005em; }
:root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 30px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

:root main > article > p { margin-bottom: 18px; font-size: 16.5px; max-width: 720px; }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 26px; font-weight: 500; color: var(--primary); margin: 38px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--accent); max-width: 720px; letter-spacing: -0.005em; }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 20px; font-weight: 400; color: var(--accent); margin: 24px 0 10px; font-style: italic; max-width: 720px; }
:root main > article ul, :root main > article ol { margin: 0 0 18px 26px; max-width: 720px; }
:root main > article li { margin-bottom: 6px; font-size: 16px; }
:root main > article li strong { color: var(--primary); font-weight: 700; }
:root main > article blockquote { border-left: 3px solid var(--accent); padding: 12px 0 12px 22px; margin: 26px 0; font-style: italic; color: var(--primary); background: rgba(168, 122, 56, .08); border-radius: 0 var(--r) var(--r) 0; max-width: 720px; }
:root main > article > p strong { color: var(--primary); font-weight: 700; }

:root main > article > p a, :root main > article > p a:visited { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
:root main > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

:root main > article > p a[href^="/ref/"], :root main > article > p a[href^="/try/"], :root main > article > p a[href^="/check/"], :root main > article > p a[href^="/partner/"], :root main > article > p a[href^="/go/"], :root main > article > p a[href^="/out/"] { background: var(--accent); color: var(--bg); padding: 3px 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; font-family: var(--fh), Cambria, serif; font-size: 14.5px; letter-spacing: .02em; }
:root main > article > p a[href^="/ref/"]:hover, :root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/partner/"]:hover, :root main > article > p a[href^="/go/"]:hover, :root main > article > p a[href^="/out/"]:hover { background: var(--primary); color: var(--bg); }

:root main > article > figure, :root main > article > section:has(> img) { margin: 0 0 30px; }
:root main > article > figure > img, :root main > article > section > img { width: 100%; height: auto; display: block; border-radius: var(--r); box-shadow: 0 4px 18px rgba(31, 20, 10, .14); }

:root main > article > table, :root main > article table { width: 100%; max-width: 720px; border-collapse: collapse; margin: 26px 0; font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
:root main > article table th { background: var(--primary); color: var(--bg); padding: 10px 14px; text-align: left; font-family: var(--fh), Cambria, serif; font-weight: 500; font-size: 13.5px; letter-spacing: .02em; }
:root main > article table td { padding: 9px 14px; border-bottom: 1px solid var(--border); vertical-align: top; font-variant-numeric: tabular-nums; }

:root main > div > div:has(> h2) { background: #FFFCEF; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; margin-bottom: 18px; box-shadow: 0 1px 5px rgba(31, 20, 10, .05); transition: border-left-color .15s ease, transform .12s ease; }
:root main > div > div:has(> h2):hover { border-left-color: var(--primary); transform: translateX(2px); }
:root main > div > div:has(> h2) > p:first-child { font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; font-weight: 700; }
:root main > div > div:has(> h2) > h2 { font-family: var(--fh), Cambria, serif; font-size: 21px; font-weight: 500; margin-bottom: 6px; line-height: 1.22; padding-bottom: 0; border-bottom: 0; letter-spacing: -0.005em; }
:root main > div > div:has(> h2) > h2 a { color: var(--primary); text-decoration: none; }
:root main > div > div:has(> h2) > h2 a:hover { color: var(--accent); }
:root main > div > div:has(> h2) > p:not(:first-child) { font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; color: var(--fg); opacity: .82; margin-bottom: 12px; }
:root main > div > div:has(> h2) > a:last-child { font-family: var(--fb), system-ui, sans-serif; font-size: 12.5px; color: var(--primary); background: transparent; padding: 0; text-decoration: none; letter-spacing: .04em; font-weight: 700; border-bottom: 1px solid var(--primary); }
:root main > div > div:has(> h2) > a:last-child:hover { color: var(--accent); border-bottom-color: var(--accent); }

:root footer { background: transparent; border-top: 1px solid var(--border); padding: 24px 0 36px; margin-top: 50px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 12.5px; color: var(--fg); opacity: .60; letter-spacing: .03em; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }
