*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#fafafa;color:#1a1a1a;font-family:'Source Serif 4',Georgia,serif;line-height:1.6}

/* Header */
.site-header{position:fixed;top:0;left:0;right:0;background:#fff;border-bottom:1px solid #d4d4d0;z-index:100;padding:0 20px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.site-header__inner{max-width:996px;width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:60px}
.site-logo{font-family:'Source Serif 4',Georgia,serif;font-size:20px;font-weight:700;letter-spacing:-.5px;text-decoration:none;color:#000}
.site-nav{display:flex;align-items:center;gap:24px}
.site-nav a{font-family:'Source Serif 4',Georgia,serif;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.8px;color:#666;text-decoration:none;padding:4px 0;border-bottom:2px solid transparent;transition:color .15s}
.site-nav a:hover{color:#000}
.site-nav a.active{color:#000;border-bottom-color:#cc0000}

/* Mobile menu toggle */
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;color:#000}
.menu-toggle span{display:block;width:24px;height:2px;background:#000;margin:6px 0;transition:transform .3s,opacity .3s;border-radius:1px}
.menu-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* Mobile menu overlay + panel */
.menu-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:200;backdrop-filter:blur(2px)}
.menu-overlay.open{display:block}
.menu-panel{position:fixed;top:0;right:-320px;width:300px;height:100%;background:#fff;z-index:201;transition:right .3s ease;overflow-y:auto;padding:20px}
.menu-panel.open{right:0}
.menu-close{background:none;border:none;font-size:32px;cursor:pointer;color:#000;float:right;padding:0;line-height:1;width:40px;height:40px;display:flex;align-items:center;justify-content:center}
.menu-nav{display:none;flex-direction:column;gap:0;border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:8px}
.menu-nav a{padding:14px 0;font-family:'Source Serif 4',serif;font-size:14px;letter-spacing:.3px;color:#444;text-decoration:none;text-transform:uppercase;font-weight:600;border-bottom:1px solid #f5f5f5}
.menu-nav a:last-child{border-bottom:none}
.menu-nav a:hover{color:#000}
.menu-nav a.active{color:#cc0000;font-weight:700}
.menu-heading{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#999;margin-top:12px;padding-bottom:8px}

/* Page layout */
.page{padding-top:80px;min-height:100vh}
.container{max-width:996px;margin:0 auto;padding:0 24px}

/* Hero — full-width magazine style */
.hero-section{position:relative;overflow:hidden;margin-bottom:40px;height:400px;max-width:996px;margin-left:auto;margin-right:auto}
.hero{position:relative;height:100%}
.hero__img{position:absolute;inset:0;line-height:0}
.hero__img img{width:100%;height:100%;object-fit:cover;display:block}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.4) 50%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:36px 32px 32px}
.hero__inner{max-width:560px}
.hero__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2.5px;color:#cc0000;margin-bottom:14px;display:inline-block;background:rgba(255,255,255,.95);padding:5px 12px}
.hero__title{font-family:'DM Serif Display',serif!important;font-size:clamp(28px,4vw,40px);font-weight:700;color:#fff;line-height:1.15;margin:0 0 14px}
.hero__title a{color:#fff;text-decoration:none}
.hero__title a:hover{text-decoration:underline}
.hero__excerpt{font-size:16px;color:rgba(255,255,255,.88);line-height:1.55;margin:0 0 10px;max-width:480px}
.hero__meta{font-size:13px;color:rgba(255,255,255,.55);font-weight:500}

/* Sidebar beside hero */
.hero-sidebar{position:absolute;top:0;right:0;bottom:0;width:300px;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);padding:24px 20px;display:flex;flex-direction:column;gap:0;border-left:1px solid #e5e5e5}
.hero-sidebar__item{padding:18px 0;border-bottom:1px solid #eee}
.hero-sidebar__item:first-child{padding-top:0}
.hero-sidebar__item:last-child{border-bottom:none;padding-bottom:0}
.hero-sidebar__topic{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:#cc0000;margin-bottom:6px}
.hero-sidebar__title{font-family:'DM Serif Display',serif!important;font-size:16px;font-weight:700;color:#1a1a1a;line-height:1.3;margin:0 0 6px}
.hero-sidebar__title a{color:#1a1a1a;text-decoration:none;transition:color .15s}
.hero-sidebar__title a:hover{color:#cc0000}
.hero-sidebar__meta{font-size:11px;color:#999;font-weight:500}

/* Filters */
.filters{display:flex;flex-wrap:nowrap;gap:8px;margin-bottom:28px;padding:14px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-bottom:1px solid #eee}
.filters::-webkit-scrollbar{display:none}
.filter{background:none;border:none;font-family:'Source Serif 4',serif;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#666;cursor:pointer;padding:8px 16px;border-radius:20px;border:1px solid #e0e0e0;transition:all .15s;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0}
.filter:hover{color:#000;background:#f0f0f0}
.filter--active{color:#fff;background:#000;border-color:#000}
.filter--active:hover{background:#333}
.filter-rss{color:#f60!important;border:1px solid #f60!important}
.filter-rss:hover{background:#f60!important;color:#fff!important}
.blink{width:8px;height:8px;background:#cc0000;border-radius:50%;display:inline-block;animation:blink 1.2s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.2}}

/* Article grid — 2 columns */
.row{margin-bottom:0}
.row__inner{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:start;padding:28px 0;border-bottom:1px solid #eee;max-width:800px}
.row:last-child .row__inner{border-bottom:none}
.row__img{line-height:0;border-radius:0;overflow:hidden}
.row__img img{width:280px;height:190px;object-fit:cover;display:block;transition:transform .25s}
.row:hover .row__img img{transform:scale(1.02)}
.row__body{min-width:0;padding-top:4px}
.row__topic{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:#cc0000;margin-bottom:8px}
.row__title{font-family:'DM Serif Display',serif!important;font-size:22px;font-weight:700;color:#1a1a1a;line-height:1.25;margin:0 0 10px}
.row__title a{color:#1a1a1a;text-decoration:none;transition:color .15s}
.row__title a:hover{color:#cc0000}
.row__excerpt{font-size:15px;color:#555;line-height:1.55;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.row__meta{font-size:12px;color:#999;font-weight:500}

/* Pagination */
.pagination{display:flex;align-items:center;justify-content:center;gap:6px;padding:40px 0 56px}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;font-size:14px;text-decoration:none;color:#333;border:1px solid #ddd;border-radius:8px;transition:all .15s;font-weight:500}
.pagination a:hover{border-color:#000;color:#000;background:#f5f5f5}
.pagination .current{background:#000;color:#fff;border-color:#000;font-weight:700}
.pagination .dots{border:none;min-width:24px;color:#999}
.pagination .prev,.pagination .next{font-weight:600}

/* Footer */
.footer{border-top:1px solid #e8e8e8;padding:48px 24px 0;background:#1a1a2e;color:#cbd5e1}
.footer__inner{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px;max-width:996px;margin:0 auto}
.footer__col h4{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px}
.footer__col a{display:block;color:#94a3b8;font-size:13px;text-decoration:none;padding:3px 0}
.footer__col a:hover{color:#fff}
.footer__col p{font-size:13px;margin:4px 0}
.footer__desc{font-size:13px;color:#94a3b8;margin-bottom:12px}
.footer__social{display:flex;gap:12px;margin-top:12px}
.footer__social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:#cbd5e1;font-size:16px;transition:background .2s}
.footer__social a:hover{background:rgba(255,255,255,.2)}
.logo--footer{display:inline-block;margin-bottom:8px}
.logo--footer img{height:36px;width:auto}
.footer__bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:32px;padding:16px 0;text-align:center;font-size:12px;color:#64748b}

/* Mobile */
@media(max-width:640px){
  .site-header__inner{height:56px}
  .site-header{box-shadow:0 2px 10px rgba(0,0,0,.12)}
  .site-logo{font-size:18px}
  .site-nav{display:none}
  .menu-toggle{display:block}
  .menu-nav{display:flex}
  .container{padding:0 16px}
  .page{padding-top:56px}
  .hero-section{height:auto;max-width:100%}
  .hero{border-radius:0;margin-left:-16px;margin-right:-16px}
  .hero__img{position:relative;height:200px;overflow:hidden}
  .hero__img img{width:100%;height:100%;object-fit:cover}
  .hero__overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.3) 50%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:20px 16px 16px}
  .hero__label{font-size:9px;padding:3px 8px;margin-bottom:8px}
  .hero__title{font-size:20px;margin-bottom:6px;line-height:1.2}
  .hero__excerpt{font-size:13px;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hero__meta{font-size:11px}
  .hero-sidebar{display:none}
  .filters{gap:6px;padding:10px 0;margin-bottom:16px;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .filters::-webkit-scrollbar{display:none}
  .filter{font-size:11px;padding:7px 12px;white-space:nowrap;flex-shrink:0}
  .row__inner{grid-template-columns:1fr;gap:12px;padding:16px 0}
  .row__img{border-radius:0}
  .row__img img{width:100%;height:180px}
  .row__title{font-size:17px}
  .row__excerpt{font-size:13px;-webkit-line-clamp:2}
  .pagination{flex-wrap:wrap;gap:4px}
  .footer__inner{grid-template-columns:1fr;gap:24px}
  .footer__social{justify-content:center}
}
