/* Magazine C4 - moban-8-2-19
   Deep Sea P02 (#1A237E/#00BCD4/#ECEFF1) + Organic S06 + Loose D04 + Light Shadow H02
   Fonts: Playfair Display + Source Sans Pro */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Source Sans Pro',sans-serif; background:#ECEFF1; color:#263238; line-height:1.65; }
a { color:#1A237E; text-decoration:none; transition:color .3s; }
a:hover { color:#0D47A1; }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* Buttons */
.btn { display:inline-block; padding:11px 26px; border-radius:20px; font-weight:600; text-decoration:none; transition:all .3s; cursor:pointer; font-size:.88rem; border:none; }
.btn-cta { background:#00BCD4; color:#fff; }
.btn-cta:hover { background:#0097A7; color:#fff; }
.btn-login { background:transparent; border:2px solid #fff; color:#fff; border-radius:20px; }
.btn-login:hover { background:rgba(255,255,255,.1); color:#fff; }
.btn-register { background:#00BCD4; color:#fff; border-radius:20px; }
.btn-register:hover { background:#0097A7; }
.btn-download { background:#1A237E; color:#fff; }
.btn-download:hover { background:#0D47A1; }
.btn-view-all { display:block; width:fit-content; margin:30px auto 0; background:#1A237E; color:#fff; }
.btn-view-all:hover { background:#0D47A1; color:#fff; }
.btn-sm { padding:6px 16px; font-size:.78rem; background:#00BCD4; color:#fff; border-radius:15px; }
.btn-sm:hover { background:#0097A7; color:#fff; }

/* Header Top Bar N02 */
.header-top-bar { background:#0D47A1; padding:6px 0; font-size:.78rem; color:rgba(255,255,255,.7); }
.top-bar-inner { display:flex; justify-content:space-between; align-items:center; }
.top-links { display:flex; gap:15px; }
.top-links a { color:rgba(255,255,255,.7); font-size:.78rem; }
.top-links a:hover { color:#00BCD4; }

.header-main { background:#1A237E; position:sticky; top:0; z-index:1000; box-shadow:0 3px 15px rgba(0,0,0,.15); }
.header-inner { display:flex; justify-content:space-between; align-items:center; height:65px; }
.site-logo .logo-img { height:40px; width:auto; }
.main-nav { display:flex; }
.nav-menu { display:flex; gap:24px; }
.nav-menu a { color:#fff; font-weight:500; padding:5px 0; border-bottom:2px solid transparent; transition:border-color .3s, color .3s; display:inline-block; }
.nav-menu a:hover { border-color:#00BCD4; color:#00BCD4; }
.header-actions { display:flex; gap:10px; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:5px; }
.nav-toggle-icon { display:block; width:25px; height:3px; background:#fff; position:relative; transition:all .3s; }
.nav-toggle-icon::before,.nav-toggle-icon::after { content:''; position:absolute; left:0; top:-8px; width:25px; height:3px; background:#fff; transition:all .3s; }
.nav-toggle-icon::after { top:8px; }
.nav-toggle.active .nav-toggle-icon { background:transparent; }
.nav-toggle.active .nav-toggle-icon::before { transform:rotate(45deg); top:0; }
.nav-toggle.active .nav-toggle-icon::after { transform:rotate(-45deg); top:0; }

/* Visual Hero */
.visual-hero { position:relative; height:500px; overflow:hidden; }
.visual-hero-bg { position:absolute; inset:0; }
.visual-hero-bg img { width:100%; height:100%; object-fit:cover; filter:brightness(.5); }
.visual-hero-overlay { position:absolute; inset:0; display:flex; align-items:flex-end; padding-bottom:60px; background:linear-gradient(to top, rgba(26,35,126,.9) 0%, transparent 60%); }
.visual-hero-overlay .container { width:100%; }
.vh-badge { display:inline-block; background:#00BCD4; color:#fff; padding:4px 16px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; margin-bottom:16px; border-radius:20px; }
.visual-hero-overlay h1 { font-family:'Playfair Display',serif; font-size:2.5rem; font-weight:700; color:#fff; line-height:1.25; margin-bottom:12px; }
.visual-hero-overlay h1 a { color:#fff; }
.visual-hero-overlay h1 a:hover { color:#00BCD4; }
.visual-hero-overlay p { color:rgba(255,255,255,.8); font-size:1.05rem; margin-bottom:14px; max-width:600px; }
.vh-meta { display:flex; gap:15px; color:rgba(255,255,255,.5); font-size:.82rem; margin-bottom:20px; }

/* Asymmetric Grid - Organic shapes S06 */
.asym-section { padding:60px 0; }
.section-title { font-family:'Playfair Display',serif; font-size:1.8rem; color:#1A237E; margin-bottom:35px; font-weight:700; position:relative; padding-bottom:12px; }
.section-title::after { content:''; position:absolute; bottom:0; left:0; width:50px; height:3px; background:#00BCD4; border-radius:10px; }

.asym-grid { display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:auto auto; gap:24px; }
.asym-card { background:#fff; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,.08); transition:transform .3s, box-shadow .3s; }
.asym-card:hover { transform:translateY(-4px); box-shadow:0 8px 25px rgba(0,0,0,.12); }
.asym-large { grid-column:1/2; grid-row:1/3; border-radius:20px 4px 20px 4px; }
.asym-medium { border-radius:4px 20px 4px 20px; }
.asym-small { border-radius:12px; }
.asym-link { text-decoration:none; color:inherit; display:block; }
.asym-img img { width:100%; object-fit:cover; }
.asym-large .asym-img img { height:100%; min-height:400px; }
.asym-medium .asym-img img { height:170px; }
.asym-small .asym-img img { height:130px; }
.asym-body { padding:16px; }
.asym-cat { font-size:.68rem; text-transform:uppercase; color:#00BCD4; font-weight:700; letter-spacing:1px; }
.asym-body h3 { font-family:'Playfair Display',serif; font-size:1rem; margin:6px 0; color:#263238; line-height:1.4; }
.asym-large .asym-body h3 { font-size:1.4rem; }
.asym-body p { font-size:.85rem; color:#546E7A; line-height:1.5; margin-bottom:6px; }
.asym-date { font-size:.72rem; color:#90A4AE; }

/* Horizontal Scroll C02 */
.hscroll-section { padding:60px 0; background:#CFD8DC; overflow:hidden; }
.hscroll-track { display:flex; gap:20px; overflow-x:auto; padding:0 20px 20px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.hscroll-track::-webkit-scrollbar { height:6px; }
.hscroll-track::-webkit-scrollbar-thumb { background:#1A237E; border-radius:3px; }
.hscroll-card { flex:0 0 280px; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 3px 12px rgba(0,0,0,.08); scroll-snap-align:start; transition:transform .3s; }
.hscroll-card:hover { transform:translateY(-3px); }
.hscroll-card a { text-decoration:none; color:inherit; }
.hscroll-img img { width:100%; height:180px; object-fit:cover; }
.hscroll-info { padding:14px; }
.hscroll-info h4 { font-family:'Playfair Display',serif; font-size:.92rem; color:#263238; margin-bottom:4px; }
.hscroll-info span { font-size:.72rem; color:#90A4AE; }

/* Hover Overlay C11 */
.hover-section { padding:60px 0; }
.hover-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.hover-card { position:relative; overflow:hidden; border-radius:16px; box-shadow:0 3px 12px rgba(0,0,0,.08); cursor:pointer; }
.hover-card img { width:100%; height:220px; object-fit:cover; transition:transform .5s; }
.hover-card:hover img { transform:scale(1.08); }
.hover-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(26,35,126,.92) 0%, rgba(26,35,126,.3) 50%, transparent 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:20px; opacity:0; transition:opacity .4s; }
.hover-card:hover .hover-overlay { opacity:1; }
.hover-cat { font-size:.68rem; text-transform:uppercase; color:#00BCD4; font-weight:700; letter-spacing:1px; margin-bottom:6px; }
.hover-overlay h4 { font-family:'Playfair Display',serif; color:#fff; font-size:1rem; margin-bottom:4px; }
.hover-overlay h4 a { color:#fff; }
.hover-date { font-size:.72rem; color:rgba(255,255,255,.6); margin-bottom:10px; display:block; }

/* Modal I04 */
.modal-preview { display:none; position:fixed; inset:0; z-index:9999; }
.modal-preview.active { display:flex; align-items:center; justify-content:center; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.7); }
.modal-body { position:relative; background:#fff; border-radius:16px; max-width:700px; width:90%; max-height:80vh; overflow-y:auto; padding:30px; z-index:1; }
.modal-close { position:absolute; top:10px; right:15px; font-size:1.8rem; background:none; border:none; cursor:pointer; color:#263238; }

/* Posts */
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.post-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); transition:transform .3s; }
.post-card:hover { transform:translateY(-3px); }
.post-link { text-decoration:none; color:inherit; display:block; }
.post-thumb { overflow:hidden; }
.post-thumb img { width:100%; height:200px; object-fit:cover; }
.post-title { padding:14px 14px 4px; font-family:'Playfair Display',serif; font-size:1.05rem; color:#263238; font-weight:600; }
.post-meta { padding:0 14px 14px; font-size:.82rem; color:#78909C; display:flex; gap:10px; }
.post-excerpt { padding:0 14px 14px; font-size:.88rem; color:#546E7A; line-height:1.6; }

/* Single */
.single-post { padding:50px 0; }
.single-post .container { max-width:800px; }
.single-post .post-title { font-family:'Playfair Display',serif; font-size:2.2rem; color:#263238; font-weight:700; margin-bottom:15px; padding:0; }
.single-post .post-meta { padding:0; margin-bottom:15px; }
.post-content { line-height:1.8; font-size:1.05rem; }
.post-content p { margin-bottom:20px; }
.post-content h2,.post-content h3 { margin:25px 0 15px; color:#1A237E; font-family:'Playfair Display',serif; }
.post-content a { color:#1A237E; text-decoration:underline; }
.post-content blockquote { border-left:4px solid #00BCD4; padding:10px 20px; margin:20px 0; background:#ECEFF1; font-style:italic; }
.post-content ul,.post-content ol { padding-left:25px; margin-bottom:20px; }
.single-post .post-thumb img { width:100%; border-radius:12px; margin:15px 0 25px; height:auto; }
.single-post .post-thumb { overflow:hidden; margin:15px 0 25px; }
.single-post .btn-download { margin-top:25px; }
.related-posts { padding:40px 0; background:#CFD8DC; }

/* Archive */
.archive-header { background:linear-gradient(135deg,#1A237E,#0D47A1); padding:50px 0; text-align:center; }
.archive-title { color:#fff; font-size:2rem; font-family:'Playfair Display',serif; font-weight:700; }
.posts-section { padding:40px 0; }

/* Footer */
.site-footer { background:#0D47A1; color:#fff; padding:40px 0 20px; }
.footer-widgets { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-bottom:30px; }
.footer-widget h3,.widget-title { color:#00BCD4; font-size:1.05rem; margin-bottom:14px; font-weight:700; }
.footer-widget ul { list-style:none; padding:0; }
.footer-widget ul li { margin-bottom:8px; }
.footer-widget ul li a,.footer-widget a { color:rgba(255,255,255,.8); text-decoration:none; transition:color .3s; }
.footer-widget ul li a:hover,.footer-widget a:hover { color:#00BCD4; }
.footer-widget p { color:rgba(255,255,255,.8); line-height:1.6; }
.footer-bottom { text-align:center; border-top:1px solid rgba(255,255,255,.15); padding-top:25px; }
.footer-bottom a { display:inline-block; margin-bottom:10px; }
.disclaimer-text { color:rgba(255,255,255,.7); font-size:.85rem; max-width:800px; margin:15px auto 0; line-height:1.6; }

/* Pagination */
.page-numbers { display:inline-block; padding:10px 16px; margin:0 3px; border-radius:20px; background:#fff; color:#1A237E; text-decoration:none; border:1px solid #ddd; font-weight:500; transition:background .3s; }
.page-numbers.current { background:#1A237E; color:#fff; border-color:#1A237E; }
a.page-numbers:hover { background:#ECEFF1; }

/* Scroll Reveal */
.scroll-reveal { opacity:0; transform:translateY(25px); transition:opacity .6s ease, transform .6s ease; }
.scroll-reveal.revealed { opacity:1; transform:translateY(0); }

/* Misc */
.no-posts { text-align:center; padding:40px 0; color:#546E7A; }
.page-content { max-width:800px; margin:0 auto; }
.page-title { font-family:'Playfair Display',serif; font-size:2rem; color:#263238; margin-bottom:20px; }
.site-main { min-height:400px; }
