/* ==========================================================================
   Magazine Editorial C1 - moban-8-2-16
   Asymmetric Grid + Dual Nav + Red-Gold (#C62828/#FFC107/#FFF8F0)
   Fonts: Playfair Display + Source Sans Pro
   ========================================================================== */

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: #FFF8F0;
    color: #212121;
    line-height: 1.6;
}

a { color:#C62828; text-decoration:none; transition:color .3s ease; }
a:hover { color:#B71C1C; }
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 25px; border-radius:4px; font-weight:700; text-transform:uppercase; text-decoration:none; transition:all .3s ease; cursor:pointer; font-size:.9rem; border:none; line-height:1.5; }
.btn:hover { color:#fff; text-decoration:none; }
.btn-cta { background:#C62828; color:#fff; }
.btn-cta:hover { background:#B71C1C; 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:#FFC107; color:#212121; }
.btn-register:hover { background:#FFB300; }
.btn-download { background:#C62828; color:#fff; }
.btn-download:hover { background:#B71C1C; }
.btn-view-all { display:block; width:fit-content; margin:30px auto 0; background:#C62828; color:#fff; }
.btn-view-all:hover { background:#B71C1C; color:#fff; }

/* Header Top Bar - N02 Dual Layer */
.header-top-bar { background:#B71C1C; padding:6px 0; font-size:.8rem; color:rgba(255,255,255,.8); }
.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,.8); font-size:.8rem; }
.top-links a:hover { color:#FFC107; }

.header-main { background:#C62828; position:sticky; top:0; z-index:1000; box-shadow:0 2px 10px rgba(0,0,0,.2); }
.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:25px; }
.nav-menu a { color:#fff; font-weight:600; padding:5px 0; border-bottom:2px solid transparent; transition:border-color .3s, color .3s; display:inline-block; font-family:'Playfair Display',serif; }
.nav-menu a:hover { border-color:#FFC107; color:#FFC107; }

.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 Pick Banner */
.editor-pick-banner { background:linear-gradient(135deg,#C62828,#8E0000); padding:50px 0; color:#fff; }
.editor-pick-label { display:inline-block; background:#FFC107; color:#212121; padding:4px 14px; font-weight:700; font-size:.75rem; text-transform:uppercase; letter-spacing:1px; margin-bottom:20px; border-radius:2px; }
.editor-pick-content { display:grid; grid-template-columns:1.5fr 1fr; gap:30px; align-items:center; }
.editor-pick-image { border-radius:4px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,.3); }
.editor-pick-image img { width:100%; height:350px; object-fit:cover; }
.pick-category { display:inline-block; background:#FFC107; color:#212121; padding:2px 10px; font-size:.75rem; font-weight:600; margin-bottom:10px; border-radius:2px; }
.pick-title { font-family:'Playfair Display',serif; font-size:2rem; font-weight:700; margin-bottom:12px; line-height:1.3; }
.pick-title a { color:#fff; }
.pick-title a:hover { color:#FFC107; }
.pick-excerpt { color:rgba(255,255,255,.85); margin-bottom:15px; font-size:1.05rem; line-height:1.7; }
.pick-meta { display:flex; gap:15px; color:rgba(255,255,255,.6); font-size:.85rem; margin-bottom:20px; }

/* Magazine Grid - Asymmetric 2fr 1fr 1fr */
.magazine-section { padding:50px 0; }
.section-title { font-family:'Playfair Display',serif; font-size:1.8rem; color:#C62828; margin-bottom:30px; font-weight:700; position:relative; padding-bottom:10px; }
.section-title::after { content:''; position:absolute; bottom:0; left:0; width:60px; height:3px; background:#FFC107; border-radius:2px; }

.magazine-grid { display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:auto auto; gap:20px; }
.mag-card { background:#fff; border-radius:4px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06); transition:transform .3s, box-shadow .3s; }
.mag-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(0,0,0,.12); }
.mag-card-link { text-decoration:none; color:inherit; display:block; }
.mag-card-image img { width:100%; object-fit:cover; }
.mag-card-large { grid-column:1 / 2; grid-row:1 / 3; }
.mag-card-large .mag-card-image img { height:100%; min-height:400px; }
.mag-card-medium .mag-card-image img { height:160px; }
.mag-card-small .mag-card-image img { height:120px; }
.mag-card-body { padding:15px; }
.mag-card-cat { font-size:.7rem; text-transform:uppercase; color:#C62828; font-weight:700; letter-spacing:1px; }
.mag-card-title { font-family:'Playfair Display',serif; font-size:1rem; margin:6px 0; color:#212121; font-weight:600; line-height:1.4; }
.mag-card-large .mag-card-title { font-size:1.5rem; }
.mag-card-excerpt { font-size:.85rem; color:#666; line-height:1.5; margin-bottom:8px; }
.mag-card-date { font-size:.75rem; color:#999; }

/* Progress Bar - I10 */
.progress-bar-wrap { padding:0 15px 15px; }
.progress-bar { height:4px; background:#eee; border-radius:2px; overflow:hidden; }
.progress-fill { height:100%; background:linear-gradient(90deg,#C62828,#FFC107); border-radius:2px; transition:width 1s ease; }
.progress-label { font-size:.7rem; color:#999; margin-top:4px; display:block; }

/* Topic List - C03 */
.topic-section { padding:50px 0; background:#fff; }
.topic-list { display:flex; flex-direction:column; gap:20px; }
.topic-item { display:flex; gap:20px; background:#FFF8F0; border-radius:4px; padding:15px; transition:box-shadow .3s; }
.topic-item:hover { box-shadow:0 4px 15px rgba(0,0,0,.08); }
.topic-image { flex-shrink:0; width:120px; height:90px; border-radius:4px; overflow:hidden; }
.topic-image img { width:100%; height:100%; object-fit:cover; }
.topic-info h4 { font-family:'Playfair Display',serif; font-size:1.05rem; margin-bottom:6px; }
.topic-info h4 a { color:#212121; }
.topic-info h4 a:hover { color:#C62828; }
.topic-info p { font-size:.85rem; color:#666; line-height:1.5; }
.topic-date { font-size:.75rem; color:#999; margin-top:6px; display:inline-block; }

/* Reviews Grid - C01 */
.reviews-section { padding:50px 0; background:#FFF8F0; }
.reviews-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.review-card { background:#fff; border-radius:4px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06); transition:transform .3s; }
.review-card:hover { transform:translateY(-3px); }
.review-card a { text-decoration:none; color:inherit; }
.review-image { position:relative; overflow:hidden; }
.review-image img { width:100%; height:180px; object-fit:cover; }
.review-score { position:absolute; bottom:10px; right:10px; background:#C62828; color:#fff; width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; }
.review-body { padding:12px; }
.review-body h4 { font-family:'Playfair Display',serif; font-size:.95rem; margin-bottom:6px; color:#212121; }
.review-body p { font-size:.8rem; color:#666; line-height:1.5; }

/* Post Cards */
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:25px; }
.post-card { background:#fff; border-radius:4px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06); transition:transform .3s, box-shadow .3s; }
.post-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(0,0,0,.12); }
.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:15px 15px 5px; font-family:'Playfair Display',serif; font-size:1.1rem; color:#212121; font-weight:600; }
.post-meta { padding:0 15px 15px; font-size:.85rem; color:#666; display:flex; gap:10px; flex-wrap:wrap; }
.post-excerpt { padding:0 15px 15px; font-size:.9rem; color:#666; line-height:1.6; }

/* Single Post */
.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:#212121; 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 img { border-radius:4px; margin:20px 0; }
.post-content h2,.post-content h3 { margin:25px 0 15px; color:#C62828; font-family:'Playfair Display',serif; }
.post-content h2 { font-size:1.6rem; }
.post-content h3 { font-size:1.3rem; }
.post-content a { color:#C62828; text-decoration:underline; }
.post-content blockquote { border-left:4px solid #C62828; padding:10px 20px; margin:20px 0; background:#FFF8F0; font-style:italic; }
.post-content ul,.post-content ol { padding-left:25px; margin-bottom:20px; }
.single-post .post-thumb img { width:100%; border-radius:4px; 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:#FFF8F0; }

/* Archive */
.archive-header { background:linear-gradient(135deg,#C62828,#B71C1C); 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:#8E0000; 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:#FFC107; font-size:1.1rem; margin-bottom:15px; 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:#FFC107; }
.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 */
.pagination,.wp-pagination { text-align:center; margin:40px 0; }
.pagination .page-numbers,.page-numbers { display:inline-block; padding:10px 16px; margin:0 3px; border-radius:4px; background:#fff; color:#C62828; text-decoration:none; border:1px solid #ddd; font-weight:500; transition:background .3s, color .3s; }
.pagination .page-numbers.current,.page-numbers.current { background:#C62828; color:#fff; border-color:#C62828; }
.pagination a.page-numbers:hover,a.page-numbers:hover { background:#f5f5f5; color:#C62828; }

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