/*
Theme Name: Medium Lite Full
Theme URI: https://example.com/medium-lite-full
Author: Generated by ChatGPT
Description: Lightweight Medium-style WordPress theme — balanced between style and size.
Version: 0.2
Text Domain: medium-lite-full
*/

/* Basic reset & typography */
:root{--bg:#ffffff;--text:#111827;--muted:#6b7280;--accent:#1a73e8}
html,body{height:100%;margin:0;font-family:Lato,Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:var(--text);background:var(--bg);}
a{color:var(--accent);text-decoration:none}
.container{max-width:820px;margin:0 auto;padding:28px}
.site-header{border-bottom:1px solid #eee;background:linear-gradient(0deg,#fff,#fff);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand a{font-weight:700;font-size:20px;color:inherit}
.nav ul{display:flex;gap:12px;list-style:none;padding:0;margin:0;align-items:center}
.nav li a{padding:6px 8px;border-radius:6px}
.avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}

.card{border-top:1px solid #eee;padding:28px 0}
.card-title{font-size:26px;margin:0 0 6px}
.meta{color:var(--muted);font-size:13px;margin-bottom:14px}
.excerpt{color:#111827;opacity:0.9}
.thumb img{max-width:100%;height:auto;border-radius:6px;margin-bottom:12px}

.post-content{line-height:1.78;font-size:18px;color:var(--text)}
.post-content p{margin:0 0 16px}
.post-content h2{font-size:22px;margin:18px 0 8px}

.ml-ad-slot{border:1px dashed #ddd;padding:10px;text-align:center;margin:18px 0;background:#fafafa;color:#666}

.site-footer{border-top:1px solid #eee;margin-top:28px;padding:18px 0;color:var(--muted);text-align:center}

/* Login modal */
#ml-login-modal{display:none;position:fixed;inset:0;align-items:center;justify-content:center;background:rgba(0,0,0,0.4);z-index:9999}
#ml-login-modal .modal{background:#fff;padding:20px;border-radius:8px;max-width:420px;width:94%}
#ml-login-modal input{width:100%;padding:8px;margin:6px 0;border:1px solid #e6e6e6;border-radius:6px}
#ml-login-modal button{background:var(--accent);color:#fff;border:none;padding:10px 12px;border-radius:6px;cursor:pointer}

/* Responsive */
@media (max-width:720px){.container{padding:18px}.card-title{font-size:20px} .nav ul{gap:8px}}
