:root{--font:"Segoe UI",system-ui,Roboto,sans-serif;--primary:#4169e1;--grad-head:linear-gradient(90deg,#edf3ff,#f4f1ff)}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--font);background:linear-gradient(120deg,#e0f3ff,#efe3ff,#e0f3ff);color:#1f2552;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* ===== HEADER (UNCHANGED CORE LOOK) ===== */
.header{position:sticky;top:0;z-index:1200;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:linear-gradient(90deg,#262f99,#214fcc 42%,#147ed9 72%,#0aa2e2);color:#fff;box-shadow:0 8px 18px -12px rgba(20,30,80,.35)}
.logo{font-size:26px;font-weight:800;text-decoration:none;background:linear-gradient(90deg,#FF9A9E,#FAD0C4,#FECF7D,#B9FBC0,#C2E0FF,#AEEEEE);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.nav{display:flex;gap:28px}
.nav a{color:#fff;text-decoration:none;padding:8px 14px;border-radius:8px;font-weight:600;transition:.25s}
.nav a:hover{background:rgba(255,255,255,.18);transform:translateY(-1px)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer}
.hamburger div{width:24px;height:3px;background:#fff;border-radius:4px}

/* ===== MOBILE NAV ===== */
.mobile-nav{position:fixed;top:0;right:-80%;width:80%;height:100%;background:linear-gradient(135deg,#0d2450,#2e4fa8);padding:56px 18px 20px;display:flex;flex-direction:column;gap:14px;transition:right .35s ease;z-index:2000}
.mobile-nav.active{right:0}
.mobile-nav a{color:#fff;text-decoration:none;font-weight:700;padding:12px 14px;border-radius:12px;background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.16)}
.mobile-nav a:hover{transform:translateX(4px)}
.close-btn{position:absolute;top:14px;right:16px;font-size:28px;color:#ffd6e8;cursor:pointer;font-weight:900}
@media(max-width:768px){.nav{display:none}.hamburger{display:flex}}

/* ===== LAYOUT ===== */
.container{max-width:940px;margin:20px auto 40px;padding:18px 18px 38px;background:linear-gradient(150deg,#ffffff 0%,#f7f9ff 48%,#f4f0ff 100%);border-radius:18px;border:1px solid #e1e8fb;box-shadow:0 6px 18px rgba(30,58,138,.12)}
@media(max-width:640px){.container{margin:12px auto 34px;padding:14px 14px 34px}}

/* ===== SIDE ADS ===== */
.side-ad{display:none}
@media(min-width:1200px){.side-ad{display:block;position:fixed;top:140px;width:160px;z-index:1050}.side-ad.left{left:calc((100% - 940px)/2 - 180px)}.side-ad.right{right:calc((100% - 940px)/2 - 180px)}}
@media(min-width:1500px){.side-ad{width:300px}.side-ad.left{left:calc((100% - 940px)/2 - 320px)}.side-ad.right{right:calc((100% - 940px)/2 - 320px)}}
@media(max-width:768px){.side-ad{display:none!important}}

/* ===== TITLES & INTRO ===== */
.main-title{text-align:center;font-size:2.4em;font-weight:900;margin:10px 0 20px;background:linear-gradient(90deg,#6f2bd9,#3d7bff,#07b8ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 3px 8px rgba(50,40,120,.18))}
.intro{max-width:760px;margin:0 auto 16px;font-size:1.05em;line-height:1.6;color:#3a2b75}

/* ===== CARD (REDESIGNED – LIGHT & PREMIUM) ===== */
.card{max-width:720px;margin:24px auto 0;background:#fff;border-radius:16px;border:1px solid #e2e8ff;box-shadow:0 4px 14px rgba(30,58,138,.10);overflow:hidden}
.card-head{background:linear-gradient(90deg,#edf3ff,#f4f1ff);color:#1d2a6b;padding:14px 18px;font-weight:800;font-size:18px;border-bottom:1px solid #e3e9ff}
.card-body{padding:22px 22px 10px;background:linear-gradient(180deg,#fbfcff,#f6f8ff)}
@media(max-width:640px){.card{border-radius:14px}.card-body{padding:18px 16px 6px}}

/* ===== ARTICLE CONTENT ===== */
.rp-article{font-size:1.03em;line-height:1.75;color:#1f2a44}
.rp-article p{margin:0 0 16px}
.rp-article p:first-child{font-size:1.06em;color:#16236b;font-weight:600}

/* ===== KEY POINTS ===== */
.rp-key-points{margin-top:18px;padding:16px 18px;background:#f1f5ff;border-radius:14px;border:1px solid #e0e7ff}
.rp-key-points h2{font-size:1.05em;margin:0 0 10px;color:#3b2fa3}
.rp-key-points ul{padding-left:18px}
.rp-key-points li{margin-bottom:8px;line-height:1.6}

/* ===== RELATED LINKS ===== */
.rp-related-list{padding-left:18px}
.rp-related-list li{margin-bottom:6px}
.rp-related-list a{color:#2f5bd1;font-weight:600;text-decoration:none}
.rp-related-list a:hover{text-decoration:underline}

/* ===== BUTTON ===== */
.btn{display:inline-block;padding:7px 18px;border-radius:999px;background:linear-gradient(90deg,#0924b5,#5f00c9);color:#fff;font-weight:700;text-decoration:none;transition:.25s}
.btn:hover{transform:translateY(-2px);background:linear-gradient(90deg,#0b2cc6,#6f09d9)}

/* ===== FOOTER ===== */
.astro-footer{background:#eaf6ff;color:#08306b;padding:16px 14px;margin-top:28px;border-top:1px solid rgba(12,39,76,.06)}
.astro-footer-inner{max-width:940px;margin:0 auto;display:flex;flex-direction:column;gap:8px;align-items:center}
.astro-footer-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.astro-footer-links a{color:#0b5ed7;text-decoration:none;padding:4px 6px;border-radius:4px}
.astro-footer-links a:hover{text-decoration:underline;background:rgba(11,94,215,.05)}

