/* Magazine C5 - moban-8-2-20
   Royal Purple P04 (#6A1B9A/#CE93D8/#F3E5F5) + Micro-rounded S03 + Standard D03 + Flat H01
   Fonts: Oswald + Lato */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Lato',sans-serif; background:#F3E5F5; color:#311B92; line-height:1.6; }
a { color:#6A1B9A; text-decoration:none; transition:color .3s; }
a:hover { color:#4A148C; }
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:10px 24px; border-radius:6px; font-weight:700; text-transform:uppercase; text-decoration:none; transition:all .3s; cursor:pointer; font-size:.88rem; border:none; font-family:'Oswald',sans-serif; letter-spacing:.5px; }
.btn-cta { background:#6A1B9A; color:#fff; }
.btn-cta:hover { background:#4A148C; color:#fff; }
.btn-login { background:transparent; border:2px solid #fff; color:#fff; }
.btn-login:hover { background:rgba(255,255,255,.1); color:#fff; }
.btn-register { background:#CE93D8; color:#311B92; }
.btn-register:hover { background:#BA68C8; color:#fff; }
.btn-download { background:#6A1B9A; color:#fff; }
.btn-download:hover { background:#4A148C; }
.btn-view-all { display:block; width:fit-content; margin:30px auto 0; background:#6A1B9A; color:#fff; }
.btn-view-all:hover { background:#4A148C; color:#fff; }

/* Header N04 Icon Nav */
.site-header { background:#6A1B9A; position:sticky; top:0; z-index:1000; box-shadow:0 2px 12px rgba(0,0,0,.15); }
.header-inner { display:flex; justify-content:space-between; align-items:center; height:75px; }
.site-logo .logo-img { height:40px; width:auto; }
.main-nav { display:flex; }
.nav-menu { display:flex; gap:8px; }
.nav-item-icon { display:flex; flex-direction:column; align-items:center; gap:2px; }
.nav-icon { font-size:1.1rem; line-height:1; }
.nav-menu a { color:rgba(255,255,255,.85); font-weight:500; font-size:.72rem; text-align:center; padding:4px 10px; transition:color .3s; display:block; font-family:'Oswald',sans-serif; }
.nav-menu a:hover { color:#CE93D8; }
.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; }

/* Editor Banner */
.editor-banner { background:linear-gradient(135deg,#6A1B9A,#4A148C); padding:50px 0; color:#fff; }
.editor-badge { display:inline-block; background:#CE93D8; color:#311B92; padding:4px 16px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:20px; border-radius:6px; }
.editor-content { display:grid; grid-template-columns:1.5fr 1fr; gap:30px; align-items:center; }
.editor-img { border-radius:6px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,.3); }
.editor-img img { width:100%; height:320px; object-fit:cover; }
.ed-cat { display:inline-block; background:#CE93D8; color:#311B92; padding:2px 10px; font-size:.72rem; font-weight:600; margin-bottom:10px; border-radius:4px; }
.editor-info h1 { font-family:'Oswald',sans-serif; font-size:2rem; font-weight:700; line-height:1.3; margin-bottom:12px; }
.editor-info h1 a { color:#fff; }
.editor-info h1 a:hover { color:#CE93D8; }
.editor-info p { color:rgba(255,255,255,.85); margin-bottom:14px; font-size:1rem; line-height:1.7; }
.ed-meta { display:flex; gap:15px; color:rgba(255,255,255,.5); font-size:.82rem; margin-bottom:18px; }

/* Equal Columns */
.equal-cols { display:grid; grid-template-columns:1fr 1fr; gap:30px; padding:40px 0; }

/* Section Title */
.section-title { font-family:'Oswald',sans-serif; font-size:1.5rem; color:#6A1B9A; margin-bottom:25px; font-weight:600; position:relative; padding-bottom:10px; }
.section-title::after { content:''; position:absolute; bottom:0; left:0; width:40px; height:3px; background:#CE93D8; border-radius:6px; }

/* Card Grid C01 */
.card-grid-dual { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.dual-card { background:#fff; border-radius:6px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.05); transition:transform .3s; }
.dual-card:hover { transform:translateY(-3px); }
.dual-card a { text-decoration:none; color:inherit; display:block; }
.dual-card-img img { width:100%; height:150px; object-fit:cover; }
.dual-card-body { padding:12px; }
.dual-cat { font-size:.65rem; text-transform:uppercase; color:#CE93D8; font-weight:700; letter-spacing:1px; }
.dual-card-body h3 { font-family:'Oswald',sans-serif; font-size:.92rem; margin:5px 0; color:#311B92; font-weight:500; line-height:1.3; }
.dual-date { font-size:.7rem; color:#CE93D8; }

/* Image Text List C03 */
.imgtext-list { display:flex; flex-direction:column; gap:14px; }
.imgtext-item { display:flex; gap:14px; background:#fff; border-radius:6px; padding:12px; box-shadow:0 1px 5px rgba(0,0,0,.04); transition:box-shadow .3s; }
.imgtext-item:hover { box-shadow:0 4px 12px rgba(0,0,0,.08); }
.imgtext-thumb { flex-shrink:0; width:90px; height:70px; border-radius:6px; overflow:hidden; }
.imgtext-thumb img { width:100%; height:100%; object-fit:cover; }
.imgtext-body h4 { font-family:'Oswald',sans-serif; font-size:.9rem; margin-bottom:4px; }
.imgtext-body h4 a { color:#311B92; }
.imgtext-body h4 a:hover { color:#6A1B9A; }
.imgtext-body p { font-size:.8rem; color:#7B1FA2; line-height:1.4; }
.imgtext-date { font-size:.68rem; color:#CE93D8; margin-top:4px; display:inline-block; }

/* Carousel C08 */
.carousel-section { padding:50px 0; background:#E1BEE7; }
.carousel-wrapper { position:relative; overflow:hidden; }
.carousel-track { display:flex; gap:18px; overflow-x:auto; padding:0 0 15px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.carousel-track::-webkit-scrollbar { height:6px; }
.carousel-track::-webkit-scrollbar-thumb { background:#6A1B9A; border-radius:3px; }
.carousel-card { flex:0 0 260px; background:#fff; border-radius:6px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06); scroll-snap-align:start; transition:transform .3s; }
.carousel-card:hover { transform:translateY(-3px); }
.carousel-card a { text-decoration:none; color:inherit; }
.carousel-img img { width:100%; height:170px; object-fit:cover; }
.carousel-body { padding:12px; }
.carousel-body h4 { font-family:'Oswald',sans-serif; font-size:.9rem; color:#311B92; margin-bottom:4px; }
.carousel-body span { font-size:.7rem; color:#CE93D8; }
.carousel-prev,.carousel-next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(106,27,154,.85); color:#fff; border:none; border-radius:50%; width:38px; height:38px; font-size:1.3rem; cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; }
.carousel-prev { left:5px; }
.carousel-next { right:5px; }
.carousel-prev:hover,.carousel-next:hover { background:#6A1B9A; }

/* Posts */
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.post-card { background:#fff; border-radius:6px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.05); 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:'Oswald',sans-serif; font-size:1.05rem; color:#311B92; font-weight:500; }
.post-meta { padding:0 14px 14px; font-size:.82rem; color:#7B1FA2; display:flex; gap:10px; }
.post-excerpt { padding:0 14px 14px; font-size:.88rem; color:#7B1FA2; line-height:1.6; }

/* Single */
.single-post { padding:50px 0; }
.single-post .container { max-width:800px; }
.single-post .post-title { font-family:'Oswald',sans-serif; font-size:2.2rem; color:#311B92; 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.02rem; }
.post-content p { margin-bottom:18px; }
.post-content h2,.post-content h3 { margin:22px 0 12px; color:#6A1B9A; font-family:'Oswald',sans-serif; }
.post-content a { color:#6A1B9A; text-decoration:underline; }
.post-content blockquote { border-left:4px solid #6A1B9A; padding:10px 20px; margin:20px 0; background:#F3E5F5; font-style:italic; }
.post-content ul,.post-content ol { padding-left:25px; margin-bottom:18px; }
.single-post .post-thumb img { width:100%; border-radius:6px; 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:#E1BEE7; }

/* Archive */
.archive-header { background:linear-gradient(135deg,#6A1B9A,#4A148C); padding:50px 0; text-align:center; }
.archive-title { color:#fff; font-size:2rem; font-family:'Oswald',sans-serif; font-weight:700; }
.posts-section { padding:40px 0; }

/* Footer */
.site-footer { background:#4A148C; 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:#CE93D8; 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:#CE93D8; }
.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:9px 15px; margin:0 3px; border-radius:6px; background:#fff; color:#6A1B9A; text-decoration:none; border:1px solid #ddd; font-weight:500; }
.page-numbers.current { background:#6A1B9A; color:#fff; border-color:#6A1B9A; }
a.page-numbers:hover { background:#F3E5F5; }

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

/* Misc */
.no-posts { text-align:center; padding:40px 0; color:#7B1FA2; }
.page-content { max-width:800px; margin:0 auto; }
.page-title { font-family:'Oswald',sans-serif; font-size:2rem; color:#311B92; margin-bottom:20px; }
.site-main { min-height:400px; }
