/*
Theme Name: Pakistan Now
Theme URI: https://pakistan-now.com
Author: Pakistan Now
Author URI: https://pakistan-now.com
Description: A premium, SEO-optimized WordPress media/news theme for Pakistan-Now.com — a next-generation digital publishing platform covering news, business, technology, entrepreneurship, lifestyle and education, in the editorial spirit of Startup Pakistan and Hamariweb, built around Pakistan Now's green/yellow brand identity.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
Text Domain: pakistan-now
Tags: news, blog, magazine, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode
*/

/* =================================================================
   0. DESIGN TOKENS — Pakistan Now brand system
   ================================================================= */
:root{
  /* Brand — pulled from the Pakistan Now roundel (green/yellow/black) */
  --pn-green:        #1FA24A;
  --pn-green-deep:   #157A38;
  --pn-yellow:        #FFD400;
  --pn-yellow-deep:   #E6B800;
  --pn-black:         #101314;
  --pn-white:         #FFFFFF;

  /* Editorial neutrals */
  --ink:              #17181B;   /* headline / body text */
  --ink-soft:         #4B4F55;   /* secondary text, meta */
  --line:             #E6E7E9;   /* hairlines, card borders */
  --surface:           #FFFFFF;
  --surface-alt:       #F6F7F5;  /* section backgrounds */
  --surface-tint:       #EFFBF3; /* faint green tint for highlighted blocks */

  /* Semantic */
  --breaking-red:     #D6293E;
  --link:             var(--pn-green-deep);
  --focus:             #157A38;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", Menlo, monospace;

  /* Rhythm */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(16,19,20,.04), 0 8px 24px rgba(16,19,20,.06);
  --wrap: 1240px;
}

[data-theme="dark"]{
  --ink:              #F2F3F1;
  --ink-soft:         #B7BCC2;
  --line:             #2A2D30;
  --surface:           #101314;
  --surface-alt:       #16191B;
  --surface-tint:       #12251A;
  --link:              #34D07C;
}

/* =================================================================
   1. RESET & BASE
   ================================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--surface); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; transition:background .25s ease,color .25s ease;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{ font-family:var(--font-display); font-weight:700; line-height:1.18; margin:0 0 .5em; color:var(--ink); }
p{ margin:0 0 1em; }
button, input, textarea, select{ font-family:inherit; }
:focus-visible{ outline:2px solid var(--focus); outline-offset:2px; }
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); overflow:hidden; height:1px; width:1px; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 20px; }

/* Buttons & pills */
.btn{ display:inline-flex; align-items:center; gap:8px; padding:11px 22px; border-radius:999px; font-weight:700; font-size:14px; cursor:pointer; border:1px solid transparent; transition:.2s ease; }
.btn-primary{ background:var(--pn-green); color:#fff; }
.btn-primary:hover{ background:var(--pn-green-deep); }
.btn-accent{ background:var(--pn-yellow); color:var(--pn-black); }
.btn-accent:hover{ background:var(--pn-yellow-deep); }
.btn-outline{ background:transparent; border-color:var(--line); color:var(--ink); }
.btn-outline:hover{ border-color:var(--pn-green); color:var(--pn-green-deep); }
.tag{ display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:5px; background:var(--surface-tint); color:var(--pn-green-deep); }
.tag.is-yellow{ background:#FFF8D6; color:#8A6D00; }
.tag.is-red{ background:#FCE7E9; color:var(--breaking-red); }

/* =================================================================
   2. TOPBAR / BREAKING NEWS
   ================================================================= */
.topbar{ background:var(--pn-black); color:#E9EAE8; font-size:13px; }
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; height:36px; gap:16px; }
.topbar-date{ opacity:.75; white-space:nowrap; }
.topbar-links{ display:flex; gap:16px; align-items:center; }
.topbar-links a{ opacity:.85; }
.topbar-links a:hover{ opacity:1; color:var(--pn-yellow); }
.topbar-social{ display:flex; gap:10px; }
.topbar-social a{ width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.topbar-social a:hover{ background:var(--pn-green); }
.topbar-social svg{ width:13px; height:13px; fill:currentColor; }

.breaking-bar{ background:var(--breaking-red); color:#fff; overflow:hidden; }
.breaking-bar .wrap{ display:flex; align-items:center; height:42px; gap:14px; }
.breaking-label{ flex:none; display:flex; align-items:center; gap:6px; font-weight:800; font-size:12.5px; letter-spacing:.04em; text-transform:uppercase; background:rgba(0,0,0,.18); padding:6px 12px; border-radius:999px; }
.breaking-dot{ width:7px; height:7px; border-radius:50%; background:#fff; animation:pnPulse 1.4s infinite; }
@keyframes pnPulse{ 0%,100%{opacity:1;} 50%{opacity:.35;} }
.breaking-track{ flex:1; overflow:hidden; white-space:nowrap; position:relative; }
.breaking-track ul{ display:inline-flex; gap:56px; animation:pnMarquee 28s linear infinite; padding-right:56px; }
.breaking-track:hover ul{ animation-play-state:paused; }
.breaking-track li a{ font-size:14px; font-weight:600; }
@keyframes pnMarquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* =================================================================
   3. MAIN HEADER
   ================================================================= */
.site-header{ background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:80; }
.header-main{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0; }
.site-branding{ display:flex; align-items:center; gap:12px; }
.site-branding img{ height:52px; width:auto; border-radius:50%; }
.site-branding .brand-text{ display:flex; flex-direction:column; }
.site-branding .brand-name{ font-family:var(--font-display); font-weight:800; font-size:22px; line-height:1; color:var(--ink); }
.site-branding .brand-tag{ font-size:11px; color:var(--ink-soft); letter-spacing:.04em; text-transform:uppercase; margin-top:3px; }

.header-search{ flex:1; max-width:420px; position:relative; display:none; }
.header-search input{ width:100%; padding:10px 42px 10px 16px; border-radius:999px; border:1px solid var(--line); background:var(--surface-alt); color:var(--ink); font-size:14px; }
.header-search button{ position:absolute; right:4px; top:4px; bottom:4px; width:34px; border:0; background:var(--pn-green); border-radius:50%; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.header-search svg{ width:16px; height:16px; fill:currentColor; }

.header-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{ position:relative; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--surface-alt); border:1px solid var(--line); cursor:pointer; color:var(--ink); }
.icon-btn:hover{ border-color:var(--pn-green); color:var(--pn-green-deep); }
.icon-btn svg{ width:18px; height:18px; fill:currentColor; }
.icon-btn .badge{ position:absolute; top:-4px; right:-4px; background:var(--breaking-red); color:#fff; font-size:10px; font-weight:800; min-width:16px; height:16px; border-radius:8px; display:flex; align-items:center; justify-content:center; padding:0 3px; }
.btn-subscribe{ display:none; }

/* Primary nav */
.primary-nav{ background:var(--pn-black); }
.primary-nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.primary-nav ul.menu{ display:flex; align-items:center; }
.primary-nav ul.menu > li{ position:relative; }
.primary-nav ul.menu > li > a{ display:block; padding:14px 16px; color:#EDEFEC; font-size:14.5px; font-weight:600; }
.primary-nav ul.menu > li > a:hover,
.primary-nav ul.menu > li.current-menu-item > a{ color:var(--pn-yellow); }
.primary-nav .menu-item-has-children > ul.sub-menu{
  display:none; position:absolute; left:0; top:100%; min-width:220px; background:var(--surface); border:1px solid var(--line); border-radius:0 0 10px 10px; box-shadow:var(--shadow-card); padding:8px; z-index:60;
}
.primary-nav .menu-item-has-children:hover > ul.sub-menu{ display:block; }
.primary-nav .sub-menu li a{ display:block; padding:9px 12px; border-radius:6px; color:var(--ink); font-size:13.5px; font-weight:500; }
.primary-nav .sub-menu li a:hover{ background:var(--surface-tint); color:var(--pn-green-deep); }
.dark-toggle{ flex:none; }
.dark-toggle button{ background:transparent; border:0; color:#EDEFEC; width:40px; height:40px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.dark-toggle svg{ width:18px; height:18px; fill:currentColor; }
.mobile-nav-toggle{ display:none; }

/* =================================================================
   4. HOMEPAGE — hero / featured slider
   ================================================================= */
.section{ padding:56px 0; }
.section.is-alt{ background:var(--surface-alt); }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.section-head h2{ font-size:26px; margin:0; display:flex; align-items:center; gap:10px; }
.section-head h2::before{ content:""; width:6px; height:24px; border-radius:3px; background:var(--pn-green); display:inline-block; }
.section-head .view-all{ font-size:13.5px; font-weight:700; color:var(--pn-green-deep); white-space:nowrap; }
.section-head .view-all:hover{ text-decoration:underline; }

.hero-grid{ display:grid; grid-template-columns:1.6fr 1fr; gap:22px; }
.hero-main{ position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:440px; display:flex; align-items:flex-end; background:#0d0f10; }
.hero-main img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.82; }
.hero-main .overlay{ position:relative; z-index:2; padding:32px; background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.15) 75%,transparent 100%); width:100%; }
.hero-main h1,.hero-main h3{ color:#fff; font-size:28px; margin:10px 0 8px; }
.hero-main p.excerpt{ color:#E7E9E5; font-size:14px; max-width:60ch; }
.hero-side{ display:flex; flex-direction:column; gap:16px; }
.hero-side-item{ position:relative; border-radius:var(--radius-md); overflow:hidden; min-height:130px; display:flex; align-items:flex-end; flex:1; background:#0d0f10; }
.hero-side-item img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.8; }
.hero-side-item .overlay{ position:relative; z-index:2; padding:16px; background:linear-gradient(0deg,rgba(0,0,0,.85),transparent 100%); width:100%; }
.hero-side-item h4{ color:#fff; font-size:14.5px; margin:6px 0 0; line-height:1.3; }
.meta-row{ display:flex; align-items:center; gap:10px; font-size:12px; color:var(--ink-soft); }
.meta-row.on-dark{ color:#D8DAD6; }

/* =================================================================
   5. CARDS — trending / latest / picks / category
   ================================================================= */
.card-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.card-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.article-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; transition:.2s ease; display:flex; flex-direction:column; }
.article-card:hover{ box-shadow:var(--shadow-card); transform:translateY(-2px); border-color:transparent; }
.article-card .thumb{ position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--surface-alt); }
.article-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.article-card .thumb .tag{ position:absolute; top:10px; left:10px; }
.article-card .body{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.article-card h3,.article-card h4{ font-size:16px; margin:0; }
.article-card h3 a,.article-card h4 a{ background-image:linear-gradient(var(--pn-green),var(--pn-green)); background-size:0 1px; background-repeat:no-repeat; background-position:0 100%; transition:background-size .2s; }
.article-card h3 a:hover,.article-card h4 a:hover{ background-size:100% 1px; }
.article-card .excerpt{ font-size:13.5px; color:var(--ink-soft); margin:0; }

/* Trending numbered list */
.trend-list{ display:flex; flex-direction:column; }
.trend-item{ display:flex; gap:14px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--line); }
.trend-item:first-child{ padding-top:0; }
.trend-item .num{ font-family:var(--font-display); font-size:30px; font-weight:800; color:var(--line); line-height:1; flex:none; width:38px; }
.trend-item:nth-child(-n+3) .num{ color:var(--pn-green); }
.trend-item .thumb{ width:76px; height:58px; border-radius:8px; overflow:hidden; flex:none; background:var(--surface-alt); }
.trend-item .thumb img{ width:100%; height:100%; object-fit:cover; }
.trend-item h4{ font-size:14.5px; margin:0 0 4px; }

/* Two-column: latest feed + sidebar */
.content-sidebar-grid{ display:grid; grid-template-columns:2.15fr 1fr; gap:32px; align-items:start; }
.feed-list .article-row{ display:flex; gap:18px; padding:20px 0; border-bottom:1px solid var(--line); }
.feed-list .article-row:first-child{ padding-top:0; }
.feed-list .thumb{ width:180px; aspect-ratio:16/11; border-radius:10px; overflow:hidden; flex:none; background:var(--surface-alt); }
.feed-list .thumb img{ width:100%; height:100%; object-fit:cover; }
.feed-list h3{ font-size:18px; margin:4px 0 8px; }
.load-more-wrap{ text-align:center; margin-top:28px; }

/* Sidebar widgets */
.sidebar .widget{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:20px; margin-bottom:22px; }
.sidebar .widget-title{ font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; margin:0 0 16px; padding-bottom:12px; border-bottom:2px solid var(--pn-green); color:var(--ink); }
.ad-slot{ background:var(--surface-alt); border:1px dashed var(--line); border-radius:var(--radius-md); display:flex; align-items:center; justify-content:center; color:var(--ink-soft); font-size:12px; text-transform:uppercase; letter-spacing:.06em; padding:18px; margin-bottom:22px; }
.ad-slot.leaderboard{ min-height:100px; }
.ad-slot.skyscraper{ min-height:280px; }
.ad-slot.in-content{ min-height:100px; margin:28px 0; }
.popular-list li{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.popular-list li:last-child{ border-bottom:0; }
.popular-list .thumb{ width:56px; height:56px; border-radius:8px; overflow:hidden; flex:none; }
.popular-list .thumb img{ width:100%; height:100%; object-fit:cover; }
.popular-list h5{ font-size:13.5px; margin:0; font-family:var(--font-body); font-weight:700; line-height:1.35; }
.tag-cloud a{ display:inline-block; margin:0 6px 8px 0; padding:6px 12px; border-radius:999px; background:var(--surface-alt); border:1px solid var(--line); font-size:12.5px; }
.tag-cloud a:hover{ background:var(--pn-green); color:#fff; border-color:var(--pn-green); }
.author-mini{ display:flex; align-items:center; gap:12px; }
.author-mini img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.author-mini .name{ font-weight:700; font-size:14px; }
.author-mini .role{ font-size:12px; color:var(--ink-soft); }

/* =================================================================
   6. CATEGORY STRIP (Business, Tech, Pakistan & Global, Lifestyle, Education)
   ================================================================= */
.cat-strip-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.cat-block{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:18px; }
.cat-block .cat-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.cat-block .cat-head a{ font-size:12px; font-weight:700; color:var(--pn-green-deep); }
.cat-block h3{ font-size:15px; margin:0; }
.cat-block .cat-icon{ width:30px; height:30px; border-radius:8px; background:var(--surface-tint); color:var(--pn-green-deep); display:flex; align-items:center; justify-content:center; }
.cat-block .cat-icon svg{ width:16px; height:16px; fill:currentColor; }
.cat-block .cat-list li{ padding:9px 0; border-bottom:1px solid var(--line); font-size:13.5px; }
.cat-block .cat-list li:last-child{ border-bottom:0; }
.cat-block .cat-list a:hover{ color:var(--pn-green-deep); }

/* =================================================================
   7. VIDEO / PODCAST
   ================================================================= */
.media-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.media-block{ background:var(--pn-black); border-radius:var(--radius-lg); padding:26px; color:#fff; }
.media-block .section-head h2{ color:#fff; }
.media-block .section-head .view-all{ color:var(--pn-yellow); }
.video-list, .podcast-list{ display:flex; flex-direction:column; gap:14px; }
.video-item, .podcast-item{ display:flex; gap:14px; align-items:center; background:rgba(255,255,255,.04); border-radius:10px; padding:10px; }
.video-item .thumb{ width:120px; aspect-ratio:16/9; border-radius:8px; overflow:hidden; position:relative; flex:none; }
.video-item .thumb img{ width:100%; height:100%; object-fit:cover; }
.play-badge{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.play-badge svg{ width:30px; height:30px; fill:#fff; opacity:.92; }
.video-item h4, .podcast-item h4{ font-size:14px; color:#fff; margin:0 0 4px; }
.podcast-item .ep-badge{ width:44px; height:44px; border-radius:50%; background:var(--pn-green); flex:none; display:flex; align-items:center; justify-content:center; }
.podcast-item .ep-badge svg{ width:18px; height:18px; fill:#fff; }

/* =================================================================
   8. NEWSLETTER
   ================================================================= */
.newsletter{ background:linear-gradient(120deg,var(--pn-green) 0%, var(--pn-green-deep) 100%); border-radius:var(--radius-lg); padding:44px; display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap; color:#fff; }
.newsletter h2{ color:#fff; font-size:26px; margin:0 0 6px; }
.newsletter p{ color:#E9F7EC; margin:0; max-width:46ch; }
.newsletter-form{ display:flex; gap:10px; flex:none; }
.newsletter-form input{ padding:13px 16px; border-radius:999px; border:0; min-width:260px; font-size:14px; }
.newsletter-form button{ background:var(--pn-yellow); color:var(--pn-black); border:0; padding:13px 24px; border-radius:999px; font-weight:800; cursor:pointer; }

/* =================================================================
   9. SINGLE ARTICLE
   ================================================================= */
.article-header{ padding:40px 0 24px; }
.article-header .cat-tag{ margin-bottom:14px; }
.article-header h1{ font-size:38px; max-width:26ch; }
.article-header .dek{ font-size:17px; color:var(--ink-soft); max-width:62ch; margin:14px 0; }
.article-byline{ display:flex; align-items:center; gap:14px; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-top:18px; }
.article-byline img{ width:46px; height:46px; border-radius:50%; object-fit:cover; }
.article-byline .name{ font-weight:700; font-size:14.5px; }
.article-byline .meta{ font-size:12.5px; color:var(--ink-soft); }
.share-col{ display:flex; gap:8px; margin-left:auto; }
.share-col a{ width:34px; height:34px; border-radius:50%; background:var(--surface-alt); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.share-col svg{ width:14px; height:14px; fill:currentColor; }
.article-feature-img{ border-radius:var(--radius-lg); overflow:hidden; margin:24px 0; }
.article-body{ font-size:17.5px; line-height:1.85; }
.article-body p{ margin:0 0 1.4em; }
.article-body h2{ font-size:25px; margin-top:1.6em; }
.article-body h3{ font-size:21px; margin-top:1.4em; }
.article-body blockquote{ border-left:4px solid var(--pn-green); margin:1.8em 0; padding:4px 0 4px 22px; font-family:var(--font-display); font-size:20px; font-style:italic; color:var(--ink); }
.article-body img{ border-radius:var(--radius-md); }
.article-body a{ color:var(--link); text-decoration:underline; text-underline-offset:3px; }
.article-tags{ display:flex; flex-wrap:wrap; gap:8px; margin:32px 0; }
.author-box{ display:flex; gap:18px; background:var(--surface-alt); border-radius:var(--radius-md); padding:22px; margin:32px 0; }
.author-box img{ width:64px; height:64px; border-radius:50%; object-fit:cover; flex:none; }
.related-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:16px; }

/* Comments */
.comments-area{ margin-top:40px; }
.comment-list{ list-style:none; margin:0; padding:0; }
.comment-list .comment{ display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.comment-list .avatar{ border-radius:50%; flex:none; }
.comment-list .comment-author{ font-weight:700; font-size:14px; }
.comment-list .comment-meta{ font-size:12px; color:var(--ink-soft); }
.comment-form input, .comment-form textarea{ width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); margin-bottom:12px; }

/* =================================================================
   10. ARCHIVE / CATEGORY
   ================================================================= */
.archive-header{ padding:38px 0 10px; border-bottom:1px solid var(--line); margin-bottom:32px; }
.archive-header h1{ font-size:30px; }
.archive-header p{ color:var(--ink-soft); max-width:70ch; }
.pagination{ display:flex; gap:8px; justify-content:center; margin-top:34px; }
.pagination a, .pagination span{ min-width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:8px; border:1px solid var(--line); font-size:13.5px; font-weight:600; }
.pagination .current{ background:var(--pn-green); border-color:var(--pn-green); color:#fff; }

/* =================================================================
   11. FOOTER
   ================================================================= */
.site-footer{ background:var(--pn-black); color:#C7C9C5; margin-top:60px; }
.footer-top{ padding:56px 0 32px; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1.2fr; gap:32px; }
.footer-brand img{ height:46px; border-radius:50%; margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color:#9BA09B; max-width:34ch; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--pn-green); }
.footer-social svg{ width:16px; height:16px; fill:#fff; }
.footer-col h4{ color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin:0 0 16px; }
.footer-col ul li{ margin-bottom:10px; font-size:13.5px; }
.footer-col a:hover{ color:var(--pn-yellow); }
.footer-newsletter input{ width:100%; padding:11px 14px; border-radius:8px; border:1px solid #33383a; background:#181b1c; color:#fff; margin-bottom:10px; font-size:13px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding:18px 0; display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:#8B9089; flex-wrap:wrap; gap:10px; }
.footer-bottom .legal-links{ display:flex; gap:16px; }

/* Mobile bottom nav (app-style) */
.mobile-bottom-nav{ display:none; }

/* =================================================================
   12. UTILITIES / ANIMATIONS
   ================================================================= */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* =================================================================
   13. RESPONSIVE
   ================================================================= */
@media (min-width:900px){
  .header-search{ display:block; }
  .btn-subscribe{ display:inline-flex; }
}
@media (max-width:1080px){
  .card-grid{ grid-template-columns:repeat(2,1fr); }
  .cat-strip-grid{ grid-template-columns:repeat(3,1fr); }
  .content-sidebar-grid{ grid-template-columns:1fr; }
  .media-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .topbar .topbar-links{ display:none; }
  .primary-nav ul.menu{ display:none; }
  .mobile-nav-toggle{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-main{ min-height:320px; }
  .card-grid, .card-grid.cols-3{ grid-template-columns:1fr 1fr; }
  .cat-strip-grid{ grid-template-columns:1fr 1fr; }
  .related-grid{ grid-template-columns:1fr; }
  .feed-list .thumb{ width:120px; }
  .footer-top{ grid-template-columns:1fr; padding-bottom:90px; }
  body{ padding-bottom:60px; }
  .mobile-bottom-nav{
    display:flex; position:fixed; bottom:0; left:0; right:0; height:60px; background:var(--surface);
    border-top:1px solid var(--line); z-index:90; box-shadow:0 -4px 16px rgba(0,0,0,.06);
  }
  .mobile-bottom-nav a{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font-size:10.5px; font-weight:700; color:var(--ink-soft); }
  .mobile-bottom-nav a.is-active{ color:var(--pn-green-deep); }
  .mobile-bottom-nav svg{ width:19px; height:19px; fill:currentColor; }
}
@media (max-width:480px){
  .card-grid, .card-grid.cols-3, .cat-strip-grid{ grid-template-columns:1fr; }
  .article-header h1{ font-size:28px; }
  .newsletter{ flex-direction:column; align-items:flex-start; }
  .newsletter-form{ width:100%; flex-direction:column; }
  .newsletter-form input{ min-width:0; width:100%; }
}
