/* Magazine C6 - moban-8-2-21
   Warm Orange P06 (#E65100/#FFB74D/#FFF3E0) + Rounded S01 + Loose D04 + Strong Hierarchy H03
   Fonts: Playfair Display + Source Sans Pro */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Source Sans Pro',sans-serif; background:#FFF3E0; color:#3E2723; line-height:1.65; }
a { color:#E65100; text-decoration:none; transition:color .3s; }
a:hover { color:#BF360C; }
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:30px; font-weight:700; text-decoration:none; transition:all .3s; cursor:pointer; font-size:.88rem; border:none; }
.btn-cta { background:#E65100; color:#fff; }
.btn-cta:hover { background:#BF360C; 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:#FFB74D; color:#3E2723; }
.btn-register:hover { background:#FFA726; }
.btn-download { background:#E65100; color:#fff; }
.btn-download:hover { background:#BF360C; }
.btn-view-all { display:inline-block; background:#E65100; color:#fff; }
.btn-view-all:hover { background:#BF360C; color:#fff; }

/* Header + MegaMenu N07 */
.site-header { background:#E65100; position:sticky; top:0; z-index:1000; box-shadow:0 3px 15px rgba(0,0,0,.12); }
.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:0; }
.nav-menu li { list-style:none; position:relative; }
.nav-menu > li > a { color:#fff; font-weight:600; padding:20px 18px; display:block; transition:background .3s; font-size:.9rem; font-family:'Playfair Display',serif; }
.nav-menu > li > a:hover { background:rgba(255,255,255,.1); }
.has-mega .mega-dropdown { display:none; position:absolute; top:100%; left:-120px; background:#fff; min-width:420px; box-shadow:0 10px 40px rgba(0,0,0,.15); border-radius:16px; padding:24px; z-index:100; }
.has-mega:hover .mega-dropdown { display:block; }
.mega-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.mega-col h4 { font-size:.78rem; text-transform:uppercase; color:#E65100; margin-bottom:10px; letter-spacing:1px; font-family:'Playfair Display',serif; }
.mega-col a { display:block; color:#3E2723; font-size:.85rem; padding:5px 0; }
.mega-col a:hover { color:#E65100; }
.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 Banner */
.visual-banner { background:linear-gradient(135deg,#E65100,#BF360C); padding:50px 0; color:#fff; }
.vb-label { display:inline-block; background:#FFB74D; color:#3E2723; padding:4px 16px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; margin-bottom:20px; border-radius:30px; }
.vb-grid { display:grid; grid-template-columns:1.5fr 1fr; gap:30px; align-items:center; }
.vb-img { border-radius:16px; overflow:hidden; box-shadow:0 10px 40px rgba(0,0,0,.3); }
.vb-img img { width:100%; height:340px; object-fit:cover; }
.vb-cat { display:inline-block; background:#FFB74D; color:#3E2723; padding:2px 12px; font-size:.72rem; font-weight:600; margin-bottom:12px; border-radius:20px; }
.vb-info h1 { font-family:'Playfair Display',serif; font-size:2rem; font-weight:700; line-height:1.3; margin-bottom:14px; }
.vb-info h1 a { color:#fff; }
.vb-info h1 a:hover { color:#FFB74D; }
.vb-info p { color:rgba(255,255,255,.85); margin-bottom:14px; }
.vb-meta { display:flex; gap:15px; color:rgba(255,255,255,.5); font-size:.82rem; margin-bottom:18px; }

/* Big+Small Cards C05 Asymmetric */
.bigsmall-section { padding:60px 0; }
.section-title { font-family:'Playfair Display',serif; font-size:1.8rem; color:#E65100; margin-bottom:30px; font-weight:700; position:relative; padding-bottom:12px; }
.section-title::after { content:''; position:absolute; bottom:0; left:0; width:50px; height:3px; background:#FFB74D; border-radius:10px; }
.bigsmall-grid { display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:auto auto; gap:24px; }
.bs-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,.07); transition:transform .3s, box-shadow .3s; }
.bs-card:hover { transform:translateY(-4px); box-shadow:0 10px 30px rgba(0,0,0,.12); }
.bs-link { text-decoration:none; color:inherit; display:block; }
.bs-img img { width:100%; object-fit:cover; }
.bs-hero { grid-column:1/2; grid-row:1/3; }
.bs-hero .bs-img img { height:100%; min-height:420px; }
.bs-md .bs-img img { height:170px; }
.bs-sm .bs-img img { height:130px; }
.bs-body { padding:16px; }
.bs-cat { font-size:.68rem; text-transform:uppercase; color:#FFB74D; font-weight:700; letter-spacing:1px; }
.bs-body h3 { font-family:'Playfair Display',serif; font-size:1rem; margin:6px 0; color:#3E2723; line-height:1.4; }
.bs-hero .bs-body h3 { font-size:1.5rem; }
.bs-body p { font-size:.85rem; color:#795548; line-height:1.5; margin-bottom:6px; }
.bs-date { font-size:.72rem; color:#FFCC80; }

/* Progress Bar I10 */
.progress-bar { height:4px; background:#FFE0B2; border-radius:10px; margin-top:10px; overflow:hidden; }
.progress-fill { height:100%; background:linear-gradient(90deg,#E65100,#FFB74D); border-radius:10px; transition:width 1s ease; }

/* Masonry C04 */
.masonry-section { padding:60px 0; background:#FFE0B2; }
.masonry-grid { columns:3; column-gap:20px; }
.masonry-item { break-inside:avoid; margin-bottom:20px; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.06); transition:transform .3s; }
.masonry-item:hover { transform:translateY(-3px); }
.masonry-item a { text-decoration:none; color:inherit; }
.masonry-img img { width:100%; height:var(--masonry-h,220px); object-fit:cover; }
.masonry-body { padding:14px; }
.masonry-cat { font-size:.65rem; text-transform:uppercase; color:#FFB74D; font-weight:700; letter-spacing:1px; }
.masonry-body h4 { font-family:'Playfair Display',serif; font-size:.95rem; margin:5px 0; color:#3E2723; }
.masonry-date { font-size:.7rem; color:#FFCC80; }

/* Horizontal Scroll C02 */
.hscroll-section { padding:60px 0; 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:#E65100; border-radius:10px; }
.hscroll-card { flex:0 0 280px; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 3px 12px rgba(0,0,0,.06); 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-body { padding:14px; }
.hscroll-body h4 { font-family:'Playfair Display',serif; font-size:.92rem; color:#3E2723; margin-bottom:4px; }
.hscroll-body span { font-size:.72rem; color:#FFCC80; }

/* Posts */
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.post-card { background:#fff; border-radius:16px; 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:#3E2723; font-weight:600; }
.post-meta { padding:0 14px 14px; font-size:.82rem; color:#795548; display:flex; gap:10px; }
.post-excerpt { padding:0 14px 14px; font-size:.88rem; color:#795548; 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:#3E2723; 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:#E65100; font-family:'Playfair Display',serif; }
.post-content a { color:#E65100; text-decoration:underline; }
.post-content blockquote { border-left:4px solid #E65100; padding:10px 20px; margin:20px 0; background:#FFF3E0; font-style:italic; }
.post-content ul,.post-content ol { padding-left:25px; margin-bottom:20px; }
.single-post .post-thumb img { width:100%; border-radius:16px; 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:#FFE0B2; }

/* Archive */
.archive-header { background:linear-gradient(135deg,#E65100,#BF360C); 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:#BF360C; 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:#FFB74D; 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:#FFB74D; }
.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:30px; background:#fff; color:#E65100; text-decoration:none; border:1px solid #ddd; font-weight:500; }
.page-numbers.current { background:#E65100; color:#fff; border-color:#E65100; }
a.page-numbers:hover { background:#FFF3E0; }

/* 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:#795548; }
.page-content { max-width:800px; margin:0 auto; }
.page-title { font-family:'Playfair Display',serif; font-size:2rem; color:#3E2723; margin-bottom:20px; }
.site-main { min-height:400px; }
