
  :root{
    --ink:#15181d; --muted:#6a7280; --line:#e7e9ee; --bg:#ffffff; --soft:#f6f7f9;
    --green:#0E9F5B; --green-deep:#0a7a46; --link:#12324a;
    --display:"Noto Kufi Arabic","Segoe UI",sans-serif;
    --text:"Noto Sans Arabic","Segoe UI",sans-serif;
    --wrap:1080px;
  }
  *{box-sizing:border-box}
  html{-webkit-text-size-adjust:100%}
  body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--text);
    font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden}
  html{overflow-x:hidden}
  a{color:inherit;text-decoration:none}
  a:hover{color:var(--green-deep)}
  h1,h2,h3,.logo{font-family:var(--display)}
  .wrap{max-width:var(--wrap);margin:0 auto;padding:0 18px}
  img{max-width:100%;display:block}

  /* header */
  header{border-bottom:2px solid var(--green);background:#fff;position:sticky;top:0;z-index:20}
  .bar{display:flex;align-items:center;gap:18px;height:104px}
  .logo img{height:86px;width:auto}@media(max-width:520px){.logo img{height:60px}}
  .bar nav{display:flex;gap:22px;margin-inline-start:8px;font-weight:600;font-size:14px;align-self:stretch;align-items:stretch}
  .bar nav a{color:var(--muted);display:flex;align-items:center;border-bottom:3px solid transparent;transition:color .2s,border-color .2s}
  .bar nav a:hover{color:var(--green-deep)}
  .bar nav a.active{color:var(--green-deep);border-bottom-color:var(--green)}
  .bar .spacer{flex:1}
  .live{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;
    color:var(--green-deep);background:#0E9F5B14;border:1px solid #0E9F5B33;
    border-radius:99px;padding:4px 10px}
  .live i{width:7px;height:7px;border-radius:50%;background:var(--green);
    box-shadow:0 0 0 0 #0E9F5B66;animation:pulse 1.8s infinite}
  @keyframes pulse{0%{box-shadow:0 0 0 0 #0E9F5B66}70%{box-shadow:0 0 0 7px #0E9F5B00}100%{box-shadow:0 0 0 0 #0E9F5B00}}
  .lang{display:flex;gap:10px;font-size:12.5px;font-weight:700;color:var(--muted)}

  /* responsive header */
  @media(max-width:720px){
    .bar{height:auto;min-height:60px;flex-wrap:wrap;gap:10px 14px;padding:10px 0}
    .bar .spacer{display:none}
    .logo{order:1}
    .logo img{height:66px}
    .live{order:2;margin-inline-start:auto}
    .lang{order:3}
    .bar nav{order:4;width:100%;margin:0;gap:18px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}
    .bar nav::-webkit-scrollbar{display:none}
    .bar nav a{border-bottom-width:2px;padding-bottom:2px}
  }
  @media(max-width:400px){
    .logo img{height:56px}
    .bar nav{font-size:13px;gap:14px}
  }

  /* section heading */
  section{padding:26px 0;border-bottom:1px solid var(--line)}
  .sec-head{display:flex;align-items:baseline;gap:12px;margin:0 0 16px}
  .sec-head h2{font-size:19px;font-weight:800;margin:0;position:relative;padding-inline-start:12px}
  .sec-head h2::before{content:"";position:absolute;inset-inline-start:0;top:3px;bottom:3px;
    width:4px;border-radius:3px;background:var(--green)}
  .sec-head .more{margin-inline-start:auto;font-size:12.5px;font-weight:700;color:var(--green-deep)}

  /* latest list */
  .latest{columns:2;column-gap:34px}
  @media(max-width:720px){.latest{columns:1}}
  .latest a.item{break-inside:avoid;display:block;padding:9px 0;border-bottom:1px dashed var(--line)}
  .latest a.item::before{content:"›";color:var(--green);font-weight:800;margin-inline-end:8px}
  .latest .t{font-weight:600}
  .latest a.item:hover .t{color:var(--green-deep)}
  .latest .m{font-size:11.5px;color:var(--muted);margin-inline-start:18px}

  /* photo cards */
  .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
  @media(max-width:820px){.cards{grid-template-columns:repeat(2,1fr)}}
  @media(max-width:520px){.cards{grid-template-columns:1fr}}
  .card{display:block}
  .card .ph{aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--soft)}
  .card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
  .card:hover .ph img{transform:scale(1.04)}
  .card h3{font-size:15.5px;font-weight:700;margin:10px 0 4px;line-height:1.5}
  .card .m{font-size:11.5px;color:var(--muted)}

  /* trends */
  .trends{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 30px}
  @media(max-width:720px){.trends{grid-template-columns:1fr}}
  .trend{display:flex;gap:12px;align-items:baseline;padding:9px 0;border-bottom:1px dashed var(--line)}
  .trend .n{font-family:var(--display);font-weight:800;color:var(--green);width:22px;font-size:15px}
  .trend .t{font-weight:600}
  .trend .c{margin-inline-start:auto;font-size:11px;color:var(--muted);white-space:nowrap}

  /* source grid */
  .sources{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
  @media(max-width:820px){.sources{grid-template-columns:repeat(2,1fr)}}
  @media(max-width:520px){.sources{grid-template-columns:1fr}}
  .src{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fff}
  .src-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;
    padding-bottom:10px;border-bottom:1px solid var(--line)}
  .src-head .ava{width:30px;height:30px;border-radius:7px;object-fit:cover;background:var(--soft);flex-shrink:0}
  .src-head .ava-f{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;
    background:var(--green);color:#fff;font-family:var(--display);font-weight:800;font-size:14px;flex-shrink:0}
  .src-head .nm{font-family:var(--display);font-weight:700;font-size:15px}
  .src ul{list-style:none;margin:0;padding:0}
  .src li{padding:7px 0;border-bottom:1px dashed var(--line);font-size:13.5px;line-height:1.55}
  .src li:last-child{border-bottom:0}
  .src li a{font-weight:500}
  .src li a:hover{color:var(--green-deep)}

  /* videos */
  .vids{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
  @media(max-width:820px){.vids{grid-template-columns:repeat(2,1fr)}}
  @media(max-width:520px){.vids{grid-template-columns:1fr}}
  .vid .ph{position:relative;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:var(--soft)}
  .vid .ph img{width:100%;height:100%;object-fit:cover}
  .vid .ph::after{content:"▸";position:absolute;inset:0;display:grid;place-items:center;
    color:#fff;font-size:26px;background:#0006}
  .vid h3{font-size:13px;font-weight:600;margin:8px 0 0;line-height:1.5}

  /* facebook cards (Facebook-style) */
  .fb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:stretch}
  @media(max-width:1000px){.fb-grid{grid-template-columns:1fr 1fr}}
  @media(max-width:640px){.fb-grid{grid-template-columns:1fr}}
  .fb-card{display:flex;flex-direction:column;background:#fff;border:1px solid #DADDE1;border-radius:8px;font-family:"Segoe UI","Noto Sans Arabic",Helvetica,Arial,sans-serif;box-shadow:0 1px 2px rgba(0,0,0,.08)}
  .fb-head{display:flex;align-items:center;gap:10px;padding:12px 14px 0}
  .fb-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-weight:800;font-size:15px;color:#fff;overflow:hidden}
  .fb-avatar img{width:100%;height:100%;object-fit:cover}
  .fb-name{font-size:14.5px;font-weight:700;color:#050505;display:flex;align-items:center;gap:4px}
  .fb-check{width:14px;height:14px;flex-shrink:0}
  .fb-meta{font-size:12.5px;color:#65676B;display:flex;align-items:center;gap:4px}
  .fb-more{margin-inline-start:auto;color:#65676B;font-weight:800;letter-spacing:2px;align-self:flex-start;padding-top:4px}
  .fb-body{flex:1;padding:10px 14px 12px;font-size:14.5px;color:#050505;line-height:1.6;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
  .fb-photo img{width:100%;max-height:220px;object-fit:cover;display:block}
  .fb-stats{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;font-size:13px;color:#65676B}
  .fb-reactions{display:flex;align-items:center;gap:6px}
  .fb-emojis{display:flex;gap:6px}
  .fb-emojis .rx{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 0 1px rgba(0,0,0,.25)}
  .fb-emojis .rx svg{width:12px;height:12px;display:block}
  .fb-actions{display:flex;border-top:1px solid #DADDE1;margin:0 14px;padding:2px 0}
  .fb-actions a,.fb-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;background:none;border:none;padding:9px 0;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;color:#65676B;transition:background .15s;font-family:inherit}
  .fb-actions a:hover,.fb-actions button:hover{background:#F2F2F2}
  .fb-rank{font-size:11.5px;font-weight:700;color:var(--green-deep);background:#0E9F5B14;border-radius:99px;padding:2px 10px}
  .muted{color:var(--muted)}

  /* facebook photos */
  .fbph-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
  @media(max-width:820px){.fbph-grid{grid-template-columns:repeat(3,1fr)}}
  @media(max-width:520px){.fbph-grid{grid-template-columns:1fr 1fr}}
  .fbph{display:block;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
  .fbph .ph{aspect-ratio:1/1;background:var(--soft);overflow:hidden}
  .fbph .ph img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
  .fbph:hover .ph img{transform:scale(1.05)}
  .fbph-cap{padding:8px 10px}
  .fbph-cap .pg{display:block;font-family:var(--display);font-weight:700;font-size:12px;color:#1877f2}
  .fbph-cap .tx{display:block;font-size:12px;color:var(--ink);line-height:1.5;margin-top:2px;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}

  /* footer */
  footer{background:var(--soft);border-top:1px solid var(--line);padding:26px 0;color:var(--muted);font-size:13px}
  .foot{display:flex;flex-wrap:wrap;gap:14px 26px;align-items:center}
  .foot .stat b{color:var(--ink);font-family:var(--display)}
  .foot .cr{margin-inline-start:auto}
  .foot .cr a{color:var(--green-deep);font-weight:700}

/* Trend page — parity with the original Laravel design */
:root{
  --surface:#ffffff;
  --surface-2:#f6f7f9;
  --ground:#ffffff;
  --ember:#0E9F5B;
  --ember-deep:#0a7a46;
  --ember-soft:#0E9F5B14;
  --gold:#A17715;
  --ember-pale:#b9e8d1;
  --up:#0E9F5B;
  --down:#B4271F;
  --r-lg:14px;
  --shadow-md:0 6px 22px rgba(10,122,70,.10);
}

/* syndicated news cards */
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
@media(max-width:1000px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.news-grid{grid-template-columns:1fr}}
.news-card{
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  transition:border-color .15s ease,transform .15s ease,box-shadow .2s ease;
}
.news-card:hover,.news-card:focus-within{border-color:var(--ember);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.news-thumb{
  position:relative;aspect-ratio:16/9;background:var(--surface-2);
  display:grid;place-items:center;overflow:hidden;
}
.news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.news-thumb-fallback{font-size:26px;font-weight:800;color:#fff;letter-spacing:1px}
.news-body{display:flex;flex-direction:column;gap:8px;padding:14px 15px 15px;flex:1}
.news-src{
  display:inline-flex;align-items:center;gap:6px;align-self:flex-start;
  font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:99px;
  background:var(--ember-soft);color:var(--ember-deep);
}
.news-title{font-size:16px;font-weight:700;line-height:1.55;letter-spacing:-.005em;color:var(--ink)}
.news-title a{color:inherit;text-decoration:none}
.news-title a:hover,.news-title a:focus-visible{color:var(--ember-deep);text-decoration:underline;text-underline-offset:3px}
.news-sum{font-size:13.5px;line-height:1.7;color:var(--muted);flex:1}
.news-meta{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:12px;color:var(--muted);padding-top:4px;border-top:1px solid var(--line);
}
.news-meta a{color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.news-meta a:hover,.news-meta a:focus-visible{color:var(--ink)}
.news-thumb-logo{
  width:auto;height:auto;max-width:56%;max-height:56%;object-fit:contain;
  background:#fff;padding:12px;border-radius:14px;box-shadow:0 4px 14px rgba(0,0,0,.18);
  position:absolute;inset:0;margin:auto;z-index:1;
}
.news-thumb .news-thumb-fallback{position:absolute;inset:0;display:grid;place-items:center;z-index:0}
.news-thumb .news-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2;transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.news-card:hover .news-thumb img{transform:scale(1.05)}
@media(prefers-reduced-motion:reduce){.news-card:hover .news-thumb img{transform:none}}

/* trend header */
.topic-head{
  background:var(--surface);border:1px solid var(--line);border-radius:18px;
  padding:26px 28px;margin:26px 0 30px;
}
.topic-crumb{display:flex;align-items:center;justify-content:flex-start;gap:8px;font-size:13px;color:var(--muted);margin:0 0 18px;padding:0 2px;line-height:1.8;direction:rtl}
.topic-crumb a{color:var(--muted);text-decoration:none;transition:.2s}
.topic-crumb a:hover{color:var(--ink)}
.topic-crumb .crumb-sep{color:#b5b5b5;font-size:15px}
.topic-crumb .crumb-current{color:#777;font-weight:600}
.topic-head{padding-top:4px}
.topic-title{margin-top:0}
@media(max-width:640px){.topic-crumb{margin-bottom:14px;font-size:12px}}
.topic-title{font-family:var(--display),sans-serif;font-size:30px;font-weight:800;line-height:1.35}
.topic-meta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:16px;font-size:13.5px;color:var(--muted)}
.topic-heat{height:6px;border-radius:99px;background:var(--surface-2);overflow:hidden;margin-top:18px}
.topic-heat span{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--ember))}
.outlets{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.outlet{font-size:12px;font-weight:600;padding:4px 11px;border-radius:99px;background:var(--ground);border:1px solid var(--line);color:var(--muted)}
.outlet b{color:var(--ink);font-weight:700}
.pager{display:flex;justify-content:center;gap:8px;margin:28px 0 10px}
.pager a,.pager span{padding:8px 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;font-size:13.5px}
.pager .on{background:var(--ember);color:#fff;border-color:var(--ember)}
.more-trends{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.more-trends a{font-size:13px;padding:7px 13px;border-radius:99px;text-decoration:none;background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.more-trends a:hover{border-color:var(--muted)}
.topic-head + section h2{margin-bottom:26px}
@media(max-width:640px){
  .topic-head{padding:20px 18px;margin:18px 0 24px}
  .topic-title{font-size:23px}
  .topic-meta{gap:9px 12px;font-size:12.5px}
}

/* Unified breadcrumbs V29 */
.topic-head{position:relative}
.topic-crumb,.detail-breadcrumb{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px;
  direction:rtl;text-align:right;
  font-size:13px;line-height:1.9;
  color:var(--muted,#777);
  margin:0 0 16px;
  padding:0;
}
.topic-crumb a,.detail-breadcrumb a{color:var(--muted,#777);text-decoration:none;font-weight:500}
.topic-crumb a:hover,.detail-breadcrumb a:hover{color:var(--ink,#111);text-decoration:underline}
.topic-crumb .crumb-sep,.detail-breadcrumb .crumb-sep{color:#aaa;font-size:18px;line-height:1}
.topic-crumb .crumb-current,.detail-breadcrumb .crumb-current{color:var(--ink,#222);font-weight:700}
.topic-title{margin-top:0}
.detail-breadcrumb{border-bottom:1px solid #eee;padding-bottom:12px;margin-bottom:22px}
.detail-breadcrumb .crumb-current{color:#555}
@media(max-width:640px){
 .topic-crumb,.detail-breadcrumb{font-size:12px;margin-bottom:12px}
 .topic-crumb .crumb-sep,.detail-breadcrumb .crumb-sep{font-size:16px}
}

.source-link{color:var(--green-deep);font-weight:600;text-decoration:none}.source-link:hover{text-decoration:underline}.card-main,.vid-main{display:block;color:inherit;text-decoration:none}.src-head .source-link{color:inherit}

/* V31 link fixes */
.item-main{display:block;color:inherit;text-decoration:none}.item-main:hover{text-decoration:none}.item .m{display:block;margin-top:4px}.card-main{color:inherit;text-decoration:none}.card-main:hover{text-decoration:none}.card .ph{background:#f3f4f6}
/* V31: homepage link/media fixes */
.latest .item{break-inside:avoid;display:block;padding:9px 0;border-bottom:1px dashed var(--line)}
.latest .item::before{content:"›";color:var(--green);font-weight:800;margin-inline-end:8px}
.latest .item:hover .t{color:var(--green-deep)}
.latest .item-main{display:inline;color:inherit;text-decoration:none}
.latest .item .m{display:block;font-size:11.5px;color:var(--muted);margin-inline-start:18px}

/* Shared public header — identical on every public page */
.portal-header{position:relative!important;border:0!important;background:transparent!important;box-shadow:none!important;z-index:50}
.portal-header .top-nav{height:46px;background:#006c68;color:#fff}
.portal-header .top-nav-inner{height:46px;display:flex;align-items:center;gap:8px;direction:rtl}
.portal-header .portal-nav{display:flex;align-items:center;gap:5px;flex:1;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.portal-header .portal-nav::-webkit-scrollbar{display:none}
.portal-header .portal-nav a,
.portal-header .nav-langs a{display:inline-flex;align-items:center;justify-content:center;color:#fff!important;border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:6px 13px;font:700 12.5px var(--display);line-height:1.2;transition:background .15s,border-color .15s}
.portal-header .portal-nav a:hover{background:rgba(255,255,255,.10);color:#fff!important}
.portal-header .portal-nav a.is-active{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.38)}
.portal-header .live-link{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;color:#fff;font:700 12.5px var(--display);background:#d9233f;border:1px solid #d9233f;border-radius:8px;padding:6px 12px}
.portal-header .live-link i{width:8px;height:8px;border-radius:50%;background:#fff;display:inline-block}
.portal-header .nav-langs{display:flex;gap:5px;flex-shrink:0;direction:ltr}
.portal-header .theme-toggle{width:34px;height:34px;border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer;flex-shrink:0}
.portal-header .brand-strip{height:112px;background:linear-gradient(90deg,#3b9b98,#2c8f8b);border-bottom:1px solid rgba(0,0,0,.08)}
.portal-header .brand-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;direction:rtl}
.portal-header .portal-logo{display:flex;align-items:center;justify-content:center;width:205px;height:88px;flex:0 0 205px;background:rgba(255,255,255,.94);border-radius:4px;padding:8px 12px}
.portal-header .portal-logo img{display:block;width:100%;height:auto;max-height:76px;object-fit:contain}
.portal-header .ad-banner{height:80px;flex:1;max-width:820px;background:linear-gradient(90deg,#087b78,#f5f7f5 52%,#0e817e);border-radius:2px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.portal-header .ad-banner strong{font:800 23px var(--display);color:#fff}
.portal-header .ad-banner span{font-size:16px;font-weight:700}
.portal-header .ad-banner small{font-size:11px;margin-top:2px;opacity:.9}
@media(max-width:900px){.portal-header .portal-nav a{padding:6px 9px}.portal-header .portal-logo{width:180px;flex-basis:180px}.portal-header .ad-banner{max-width:620px}}
@media(max-width:640px){.portal-header .top-nav{height:auto;min-height:44px}.portal-header .top-nav-inner{height:auto;min-height:44px;padding:5px 0}.portal-header .theme-toggle{display:none}.portal-header .nav-langs{display:none}.portal-header .brand-strip{height:82px}.portal-header .brand-inner{gap:10px}.portal-header .portal-logo{width:145px;flex-basis:145px;height:64px;padding:5px 8px}.portal-header .ad-banner{height:62px}.portal-header .ad-banner strong{font-size:16px}.portal-header .ad-banner span{font-size:11px}.portal-header .ad-banner small{display:none}}

/* V37 — Rimne visual identity: derived from the project's green/lime logo */
:root{
  --brand-deep:#036e3f;
  --brand-dark:#0a7a46;
  --brand:#0e9f5b;
  --brand-mid:#35b96a;
  --brand-lime:#70c02a;
  --brand-lime-soft:#eaf7d9;
  --brand-soft:#f1faf4;
  --page-bg:#edf7f2;
  --card:#ffffff;
  --brand-line:#cfe7d7;
  --brand-shadow:0 4px 16px rgba(3,110,63,.10);
}
body{background:var(--page-bg);color:#15231c}
.wrap{max-width:1240px}

/* Header — same shared header, with the logo palette as the visual source */
.portal-header{background:transparent!important}
.portal-header .top-nav{background:linear-gradient(90deg,var(--brand-deep),var(--brand-dark));border-bottom:1px solid rgba(112,192,42,.28)}
.portal-header .portal-nav a,
.portal-header .nav-langs a{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.035)}
.portal-header .portal-nav a:hover{background:rgba(112,192,42,.16);border-color:rgba(112,192,42,.42)}
.portal-header .portal-nav a.is-active{background:var(--brand-lime);border-color:var(--brand-lime);color:#fff!important;box-shadow:0 2px 8px rgba(112,192,42,.22)}
.portal-header .live-link{background:#d9233f;border-color:#d9233f}
.portal-header .brand-strip{background:linear-gradient(135deg,#dff1e7 0%,#bfe6d0 46%,#dff3c9 100%);border-bottom:1px solid var(--brand-line)}
.portal-header .brand-inner{gap:28px}
.portal-header .portal-logo{background:#fff;border:1px solid rgba(3,110,63,.16);box-shadow:var(--brand-shadow);border-radius:12px;padding:8px 14px}
.portal-header .portal-logo img{max-height:76px}
.portal-header .ad-banner{background:linear-gradient(135deg,var(--brand-deep),var(--brand) 58%,var(--brand-lime));border:1px solid rgba(255,255,255,.4);box-shadow:0 5px 18px rgba(3,110,63,.16)}
.portal-header .ad-banner strong{color:#fff}

/* Shared page surfaces */
main>.wrap>section,
main>.wrap>.topic-head,
main>.wrap>.page-head{background:var(--card);border:1px solid var(--brand-line);border-radius:14px;box-shadow:var(--brand-shadow);margin-top:18px;margin-bottom:18px;padding:20px}
section{border-bottom:0}
.sec-head{border-bottom:2px solid var(--brand-soft);padding-bottom:10px}
.sec-head h2{color:var(--brand-deep)}
.sec-head h2::before{background:linear-gradient(var(--brand),var(--brand-lime))}
.sec-head .more{color:var(--brand-dark)}

/* Lists and cards */
.latest a.item:hover,.src li a:hover{background:var(--brand-soft)}
.card .ph,.vid .ph,.news-thumb{background:var(--brand-soft);border:1px solid var(--brand-line)}
.card h3,.news-title,.src-head .nm{color:#123b28}
.card:hover h3,.news-title a:hover{color:var(--brand-deep)}
.src{border-color:var(--brand-line);box-shadow:0 2px 9px rgba(3,110,63,.05)}
.src:hover{border-color:rgba(14,159,91,.45);box-shadow:var(--brand-shadow)}
.src-head{border-bottom-color:var(--brand-line)}
.src-head .ava-f{background:linear-gradient(135deg,var(--brand-deep),var(--brand-lime))}
.trend .n{color:var(--brand-lime)}
.trend:hover .t{color:var(--brand-deep)}

/* Trend/news surfaces */
.topic-head{border-color:var(--brand-line);box-shadow:var(--brand-shadow)}
.topic-title{color:var(--brand-deep)}
.topic-heat span{background:linear-gradient(90deg,var(--brand-lime),var(--brand))}
.outlet{border-color:var(--brand-line);background:var(--brand-soft)}
.news-card{border-color:var(--brand-line);box-shadow:0 2px 10px rgba(3,110,63,.05)}
.news-card:hover,.news-card:focus-within{border-color:var(--brand);box-shadow:0 7px 22px rgba(3,110,63,.13)}
.news-src{background:var(--brand-soft);color:var(--brand-deep)}

/* Details / breadcrumb */
.topic-crumb a{color:var(--brand-deep)}
.topic-crumb a:hover{color:var(--brand-lime)}
.topic-crumb .crumb-current{color:#557364}

/* Footer uses the same identity */
footer{background:linear-gradient(135deg,var(--brand-deep),var(--brand-dark));border-top:3px solid var(--brand-lime);color:#dff3e7}
.foot .stat b{color:#fff}
.foot .cr a{color:#c9ee8c}

@media(max-width:640px){
  main>.wrap>section,main>.wrap>.topic-head,main>.wrap>.page-head{padding:15px;border-radius:11px}
  .portal-header .brand-strip{background:linear-gradient(135deg,#dff1e7,#cdebc1)}
}
.source-directory{grid-template-columns:repeat(2,1fr);margin-bottom:30px}.source-directory .src{min-height:105px}.source-directory .src-head{display:flex;align-items:center;gap:10px;text-decoration:none}.source-directory .src-head img{width:42px;height:42px;object-fit:contain;border-radius:8px;background:#fff}.source-directory .src-stat{padding:10px 12px;font-size:12px;color:var(--muted)}
@media(max-width:700px){.source-directory{grid-template-columns:1fr}}
