/*
Theme Name: 101 Русский News
Theme URI: https://101russian.example
Author: Ammar
Description: Editorial news & lifestyle theme for 101 Русский — dynamic category colors, health & lifestyle sections, homepage category grids. Companion theme to 101 Urdu News Pro.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: catnews101
*/

:root{
  --emerald-dark:#0f5132;
  --emerald:#146c43;
  --gold:#c9a227;
  --off-white:#f7f5f0;
  --paper:#fffdf9;
  --charcoal:#1e2a22;
  --grey:#6b7268;
  --line:#e3ddce;
  --red:#a13d2c;
  --default-cat:#3a5a40;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{background:var(--off-white);color:var(--charcoal);font-family:'PT Sans',sans-serif;line-height:1.6;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;object-fit:cover;}
.eyebrow{font-family:'Roboto Condensed',sans-serif;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:600;}

/* Utility bar */
.utility-bar{background:var(--emerald-dark);color:var(--off-white);font-family:'Roboto Condensed',sans-serif;font-size:.78rem;}
.utility-bar .inner{max-width:1200px;margin:0 auto;padding:6px 20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;}
.utility-bar .date{opacity:.85;}
.utility-bar .links{display:flex;gap:16px;}
.utility-bar .links a{opacity:.85;}
.utility-bar .links a:hover{opacity:1;color:var(--gold);}

/* Masthead */
.masthead{background:var(--paper);border-bottom:3px solid var(--charcoal);}
.masthead .inner{max-width:1200px;margin:0 auto;padding:22px 20px 16px;display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:10px;}
.logo{display:flex;align-items:center;gap:14px;}
.logo-mark{width:52px;height:52px;border-radius:50%;background:conic-gradient(from 220deg, var(--emerald-dark), var(--gold), var(--emerald));display:flex;align-items:center;justify-content:center;color:var(--off-white);font-family:'Playfair Display',serif;font-weight:900;font-size:1.1rem;flex-shrink:0;overflow:hidden;}
.logo-mark img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
.logo-text h1{font-family:'Playfair Display',serif;font-weight:900;font-size:2.1rem;letter-spacing:-.01em;color:var(--charcoal);}
.logo-text a{color:inherit;}
.logo-text span{display:block;font-family:'Roboto Condensed',sans-serif;font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;color:var(--emerald);margin-top:2px;}
.masthead-meta{font-family:'Roboto Condensed',sans-serif;font-size:.8rem;color:var(--grey);text-align:right;}

/* Nav */
nav.main-nav{background:var(--charcoal);position:sticky;top:0;z-index:50;}
nav.main-nav .inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;overflow-x:auto;}
nav.main-nav ul{list-style:none;display:flex;}
nav.main-nav a{display:block;padding:13px 18px;font-family:'Roboto Condensed',sans-serif;font-size:.85rem;font-weight:600;color:var(--off-white);white-space:nowrap;border-bottom:3px solid transparent;transition:.15s;}
nav.main-nav a:hover, nav.main-nav .current-menu-item a{border-bottom-color:var(--gold);background:rgba(255,255,255,.05);}

/* Layout shell */
.wrap{max-width:1200px;margin:0 auto;padding:28px 20px;}
.content-with-sidebar{display:grid;grid-template-columns:2fr 1fr;gap:30px;}
.section-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;}
.section-head h2{font-family:'Playfair Display',serif;font-weight:700;font-size:1.5rem;white-space:nowrap;}
.section-head .rule{height:2px;background:var(--line);width:100%;}
.section-head .tag{padding:3px 10px;border-radius:3px;color:#fff;font-family:'Roboto Condensed',sans-serif;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;}

/* Hero */
.hero{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;margin-bottom:36px;}
.hero-main{position:relative;background:var(--charcoal);border-radius:2px;overflow:hidden;min-height:300px;}
.hero-main img{height:440px;opacity:.85;width:100%;}
.hero-main .overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(15,20,15,0) 35%, rgba(10,15,10,.92) 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:28px;}
.hero-main .cat-tag{align-self:flex-start;color:#fff;padding:4px 12px;border-radius:2px;font-family:'Roboto Condensed',sans-serif;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px;}
.hero-main h3{font-family:'Playfair Display',serif;color:#fff;font-size:2rem;font-weight:700;line-height:1.15;margin-bottom:10px;}
.hero-main h3 a{color:#fff;}
.hero-main p{color:#d8d8d0;font-size:.92rem;max-width:90%;}
.hero-side{display:flex;flex-direction:column;gap:16px;}
.hero-side-item{display:flex;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line);}
.hero-side-item:last-child{border-bottom:none;}
.hero-side-item img{width:104px;height:80px;border-radius:2px;flex-shrink:0;}
.hero-side-item .cat-tag-sm{font-family:'Roboto Condensed',sans-serif;font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;}
.hero-side-item h4{font-family:'Playfair Display',serif;font-size:1rem;font-weight:700;line-height:1.25;margin-top:4px;}

/* Chips */
.chip-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:40px;}
.chip{display:flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;color:#fff;font-family:'Roboto Condensed',sans-serif;font-size:.82rem;font-weight:600;transition:.15s;}
.chip:hover{filter:brightness(1.1);transform:translateY(-1px);}
.chip .dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.8);}

/* Grid cards */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:40px;}
.card{background:var(--paper);border:1px solid var(--line);border-radius:2px;overflow:hidden;transition:.15s;}
.card:hover{box-shadow:0 6px 18px rgba(15,20,15,.08);transform:translateY(-2px);}
.card img{height:170px;width:100%;}
.card-body{padding:16px;}
.card .cat-tag-sm{display:inline-block;padding:2px 9px;border-radius:2px;color:#fff;font-family:'Roboto Condensed',sans-serif;font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:9px;}
.card h4{font-family:'Playfair Display',serif;font-size:1.08rem;font-weight:700;line-height:1.3;margin-bottom:8px;}
.card h4 a{color:inherit;}
.card p{color:var(--grey);font-size:.85rem;}
.card .meta{margin-top:10px;font-family:'Roboto Condensed',sans-serif;font-size:.72rem;color:var(--grey);display:flex;gap:10px;}

/* Editor's picks */
.picks{background:var(--emerald-dark);color:var(--off-white);margin-bottom:40px;border-radius:2px;padding:26px 28px;display:grid;grid-template-columns:220px 1fr;gap:26px;}
.picks .picks-label{font-family:'Playfair Display',serif;font-weight:700;font-size:1.3rem;border-right:1px solid rgba(255,255,255,.25);padding-right:20px;}
.picks .picks-label span{display:block;font-family:'Roboto Condensed',sans-serif;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-top:6px;font-weight:600;}
.picks-list{display:flex;flex-direction:column;gap:12px;}
.picks-list a{display:flex;gap:10px;font-family:'PT Sans',sans-serif;font-size:.92rem;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.15);}
.picks-list a:last-child{border-bottom:none;padding-bottom:0;}
.picks-list .num{font-family:'Playfair Display',serif;color:var(--gold);font-weight:700;flex-shrink:0;}

/* Two column list + sidebar */
.list-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);}
.list-item:first-child{padding-top:0;}
.list-item img{width:140px;height:100px;border-radius:2px;flex-shrink:0;}
.list-item h4{font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:700;margin:6px 0;}
.list-item h4 a{color:inherit;}
.list-item p{color:var(--grey);font-size:.85rem;}

.sidebar-box{background:var(--paper);border:1px solid var(--line);padding:18px;margin-bottom:18px;}
.sidebar-box h3{font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:700;border-bottom:2px solid var(--gold);padding-bottom:8px;margin-bottom:12px;}
.sidebar-item{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px dashed var(--line);}
.sidebar-item:last-child{border-bottom:none;}
.sidebar-item .rank{font-family:'Playfair Display',serif;font-weight:900;font-size:1.3rem;color:var(--gold);width:26px;flex-shrink:0;}
.sidebar-item h5{font-size:.88rem;font-weight:700;line-height:1.3;}
.sidebar-item h5 a{color:inherit;}

.newsletter-box{background:var(--charcoal);color:var(--off-white);padding:20px;}
.newsletter-box h3{font-family:'Playfair Display',serif;margin-bottom:8px;}
.newsletter-box p{font-size:.85rem;color:#c9c9c1;margin-bottom:14px;}
.newsletter-box form{display:flex;gap:8px;}
.newsletter-box input{flex:1;padding:9px 10px;border:none;border-radius:2px;font-family:'PT Sans',sans-serif;}
.newsletter-box button{background:var(--gold);border:none;color:var(--charcoal);padding:9px 16px;font-weight:700;border-radius:2px;cursor:pointer;font-family:'Roboto Condensed',sans-serif;}

/* Single post */
.single-article{background:var(--paper);border:1px solid var(--line);padding:30px;margin-bottom:30px;}
.single-article .cat-tag-sm{display:inline-block;padding:3px 10px;border-radius:2px;color:#fff;font-family:'Roboto Condensed',sans-serif;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:14px;}
.single-article h1{font-family:'Playfair Display',serif;font-size:2.1rem;font-weight:800;line-height:1.2;margin-bottom:14px;}
.single-article .article-meta{font-family:'Roboto Condensed',sans-serif;font-size:.82rem;color:var(--grey);margin-bottom:20px;display:flex;gap:14px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;}
.single-article .featured-img{margin:0 -30px 20px;}
.single-article .featured-img img{width:100%;max-height:480px;}
.single-article .entry-content{font-size:1.02rem;line-height:1.8;}
.single-article .entry-content p{margin-bottom:1.2em;}
.single-article .entry-content h2,.single-article .entry-content h3{font-family:'Playfair Display',serif;margin:1.4em 0 .6em;}
.single-article .entry-content img{margin:1em 0;border-radius:2px;}
.single-article .entry-content a{color:var(--emerald-dark);text-decoration:underline;}
.single-article .entry-content blockquote{border-left:3px solid var(--gold);padding-left:16px;color:var(--grey);font-style:italic;margin:1.2em 0;}

/* Pagination */
.pagination{display:flex;gap:8px;justify-content:center;margin:20px 0 40px;font-family:'Roboto Condensed',sans-serif;}
.pagination a, .pagination span{padding:8px 14px;border:1px solid var(--line);border-radius:2px;background:var(--paper);font-size:.85rem;}
.pagination .current{background:var(--emerald-dark);color:#fff;border-color:var(--emerald-dark);}

/* Comments */
.comments-area{background:var(--paper);border:1px solid var(--line);padding:24px;margin-bottom:30px;}
.comments-area h2,.comments-area h3{font-family:'Playfair Display',serif;margin-bottom:16px;}
.comment-list{list-style:none;}
.comment-list li{border-bottom:1px solid var(--line);padding:14px 0;}
.comment-form input, .comment-form textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:2px;margin-bottom:10px;font-family:'PT Sans',sans-serif;}
.comment-form input[type=submit]{background:var(--emerald-dark);color:#fff;border:none;font-weight:700;cursor:pointer;width:auto;padding:10px 20px;}

/* Archive/search intro */
.archive-title{font-family:'Playfair Display',serif;font-size:1.8rem;margin-bottom:6px;}
.archive-description{color:var(--grey);margin-bottom:24px;}

/* Footer */
footer.site-footer{background:var(--emerald-dark);color:#dcded9;margin-top:20px;}
.footer-inner{max-width:1200px;margin:0 auto;padding:44px 20px 20px;display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:32px;}
.footer-col h4{font-family:'Roboto Condensed',sans-serif;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);margin-bottom:14px;}
.footer-col p{font-size:.85rem;line-height:1.6;color:#c3c8bf;}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:9px;font-size:.87rem;}
.footer-col a:hover{color:var(--gold);}
.logo-mark--custom{background:none;border-radius:0;width:auto;height:auto;}
.logo-image-link{display:block;}
.logo-image{height:56px;width:auto;max-width:100%;}
.site-logo-heading{margin:0;line-height:0;}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:12px;background:var(--paper);padding:10px 14px;border-radius:4px;display:inline-flex;}
.footer-logo-image{height:34px;width:auto;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);text-align:center;padding:16px 20px;font-size:.78rem;color:#a9ae9f;font-family:'Roboto Condensed',sans-serif;}
.footer-bottom a{color:#a9ae9f;text-decoration:underline;}

/* Mobile nav toggle (small screens) */
.nav-toggle{display:none;}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:1fr 1fr;}
  .content-with-sidebar{grid-template-columns:1fr;}
  .picks{grid-template-columns:1fr;}
  .picks .picks-label{border-right:none;border-bottom:1px solid rgba(255,255,255,.25);padding-right:0;padding-bottom:14px;}
  .footer-inner{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .grid-3{grid-template-columns:1fr;}
  .footer-inner{grid-template-columns:1fr;}
  .logo-text h1{font-size:1.6rem;}
  .hero-main h3{font-size:1.4rem;}
  .single-article{padding:18px;}
  .single-article .featured-img{margin:0 -18px 18px;}
}
