/*
Theme Name: TrendPress AI Newsroom
Theme URI: https://example.com/
Author: OpenAI
Description: Professional AI-assisted news WordPress theme with Google Trends ingestion, OpenRouter article generation, queueing, deduplication and admin logs.
Version: 0.10.16
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: trendpress
*/

:root{
  --tp-bg:#f7f8fb;
  --tp-surface:#ffffff;
  --tp-surface-2:#f1f4f8;
  --tp-text:#111827;
  --tp-muted:#667085;
  --tp-line:#e6e9ef;
  --tp-primary:#0b57d0;
  --tp-primary-dark:#083b8c;
  --tp-breaking:var(--tp-primary);
  --tp-dark:#0f172a;
  --tp-radius:18px;
  --tp-shadow:0 12px 34px rgba(16,24,40,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--tp-bg);color:var(--tp-text);-webkit-font-smoothing:antialiased}
body.rtl{font-family:Tajawal,"Segoe UI",Tahoma,Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input{font:inherit}
.tp-wrap{width:min(1220px,calc(100% - 32px));margin-inline:auto}
.tp-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:0 0 auto}
.tp-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}


.tp-mobile-panel ul{list-style:none;padding:12px 16px 18px;margin:0}
.tp-mobile-panel li+li{border-top:1px solid var(--tp-line)}
.tp-mobile-panel a{display:block;padding:14px 6px;font-weight:750}

/* trend ticker */
.tp-ticker{background:#fff;border-bottom:1px solid var(--tp-line)}
.tp-ticker-in{min-height:44px;display:flex;align-items:center;gap:14px;overflow:hidden}
.tp-ticker-label{display:flex;align-items:center;gap:7px;background:#fff0f1;color:var(--tp-breaking);padding:7px 10px;border-radius:999px;font-size:.76rem;font-weight:900;white-space:nowrap}
.tp-ticker-label .tp-icon{width:16px;height:16px}
.tp-ticker-track{display:flex;align-items:center;gap:18px;overflow:auto;scrollbar-width:none;white-space:nowrap;font-size:.87rem;color:#475467}
.tp-ticker-track::-webkit-scrollbar{display:none}
.tp-ticker-track a{font-weight:700}
.tp-ticker-track a:hover{color:var(--tp-primary)}
.tp-ticker-sep{width:4px;height:4px;background:#c9ced8;border-radius:50%}

/* home */
.tp-hero-kicker .tp-icon{width:18px;height:18px}
.tp-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:26px;margin-bottom:14px}
.tp-section-title{display:flex;align-items:center;gap:10px;font-size:1.05rem;font-weight:900}
.tp-section-title .tp-icon{color:var(--tp-primary)}
.tp-section-line{height:1px;flex:1;background:var(--tp-line)}
.tp-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px;padding:0 0 52px}
.tp-card{grid-column:span 4;background:var(--tp-surface);border:1px solid var(--tp-line);border-radius:var(--tp-radius);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tp-card:hover{transform:translateY(-3px);box-shadow:var(--tp-shadow);border-color:#d7deea}
.tp-card-media{position:relative;display:block;background:#e9edf3;aspect-ratio:16/9;overflow:hidden}
.tp-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.tp-card:hover .tp-card-media img{transform:scale(1.025)}
.tp-card-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#e8eef8,#f5f7fa);color:#98a2b3}
.tp-card-placeholder .tp-icon{width:38px;height:38px}
.tp-category{position:absolute;inset-inline-start:12px;bottom:12px;background:rgba(15,23,42,.86);color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:850;backdrop-filter:blur(8px)}
.tp-card-body{padding:17px 18px 19px}
.tp-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:.77rem;color:var(--tp-muted)}
.tp-meta-item{display:flex;align-items:center;gap:6px}
.tp-meta .tp-icon{width:14px;height:14px;color:#98a2b3}
.tp-card h2{font-size:1.08rem;line-height:1.5;margin:9px 0 9px;letter-spacing:-.012em}
.tp-card h2 a:hover{color:var(--tp-primary)}
.tp-card p{margin:0;color:#667085;line-height:1.65;font-size:.91rem}
.tp-readmore{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--tp-primary);font-size:.83rem;font-weight:850}
.tp-readmore .tp-icon{width:15px;height:15px}

/* pagination */
.navigation.pagination{margin:0 0 52px}
.nav-links{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}
.page-numbers{min-width:40px;height:40px;padding:0 11px;border-radius:10px;border:1px solid var(--tp-line);display:grid;place-items:center;background:#fff;font-weight:750;font-size:.88rem}
.page-numbers.current,.page-numbers:hover{background:var(--tp-primary);border-color:var(--tp-primary);color:#fff}

/* article */
.tp-single-wrap{display:grid;grid-template-columns:minmax(0,850px) 280px;gap:30px;align-items:start;padding:34px 0 64px}
.tp-single{background:#fff;border:1px solid var(--tp-line);border-radius:22px;padding:clamp(22px,4vw,48px);box-shadow:0 6px 25px rgba(16,24,40,.035)}
.tp-single .tp-breadcrumb{display:flex;align-items:center;gap:7px;color:var(--tp-muted);font-size:.78rem;margin-bottom:18px}
.tp-single .tp-breadcrumb .tp-icon{width:14px;height:14px}
.tp-single h1{font-size:clamp(2rem,5vw,3.45rem);line-height:1.15;letter-spacing:-.035em;margin:10px 0 16px}
.tp-single-lead{font-size:1.08rem;line-height:1.8;color:#475467;margin:0 0 20px}
.tp-single-featured{margin:24px 0;border-radius:18px;overflow:hidden;background:#eef1f5}
.tp-single-featured img{width:100%;display:block}
.tp-content{font-size:1.05rem;line-height:1.95;color:#253247}
.tp-content h2{font-size:1.5rem;line-height:1.35;margin:32px 0 10px;color:#101828}
.tp-content h3{font-size:1.2rem;margin:26px 0 8px}
.tp-content p{margin:0 0 18px}
.tp-content ul,.tp-content ol{padding-inline-start:22px;margin:0 0 20px}
.tp-content a{color:var(--tp-primary);text-decoration:underline;text-underline-offset:3px}

/* footer */
.tp-footer{background:var(--tp-dark);color:#cbd5e1;margin-top:10px}
.tp-footer-main{padding:42px 0 30px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:34px}
.tp-footer-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:900;font-size:1.15rem;margin-bottom:12px}
.tp-footer-brand .tp-footer p{margin:0;color:#94a3b8;line-height:1.7;font-size:.88rem;max-width:480px}
.tp-footer h3{color:#fff;font-size:.88rem;margin:0 0 12px}
.tp-footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:.86rem}
.tp-footer-menu a:hover{color:#fff}
.tp-footer-bottom{border-top:1px solid rgba(255,255,255,.09);padding:17px 0;font-size:.78rem;color:#94a3b8}

@media(max-width:1050px){
  .tp-nav{display:none}
  .tp-menu-btn{display:grid}
  .tp-grid .tp-card{grid-column:span 6}
  .tp-single-wrap{grid-template-columns:1fr}
  }
@media(max-width:782px){.admin-bar }
@media(max-width:700px){
  .tp-wrap{width:min(100% - 22px,1220px)}
  .tp-header-in{min-height:66px;gap:12px;grid-template-columns:1fr auto}
      .tp-brand-text small{display:none}
      .tp-ticker-in{min-height:41px;gap:10px}
  .tp-ticker-label{padding:6px 8px}
        .tp-grid{gap:13px;padding-bottom:38px}
  .tp-grid .tp-card{grid-column:1/-1;border-radius:16px}
  .tp-card-body{padding:15px}
  .tp-card h2{font-size:1.03rem}
  .tp-single-wrap{padding-top:18px;gap:16px}
  .tp-single{padding:20px 17px;border-radius:17px}
  .tp-single h1{font-size:2rem}
  .tp-content{font-size:1rem;line-height:1.9}
  .tp-footer-main{grid-template-columns:1fr;gap:24px;padding-top:32px}
}


/* v0.7.1 interactive newsroom refinement */
.tp-category{display:inline-flex;align-items:center;gap:5px}
.tp-category .tp-icon{width:12px;height:12px}
.tp-card-placeholder{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:22px;background:linear-gradient(145deg,#edf3ff,#f8fafc);color:#344054}
.tp-card-placeholder:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;inset-inline-end:-40px;top:-45px;background:rgba(11,87,208,.08);z-index:-1}
.tp-card-placeholder:after{content:"";position:absolute;width:95px;height:95px;border-radius:28px;inset-inline-start:24px;top:24px;transform:rotate(18deg);background:rgba(255,255,255,.55);box-shadow:0 15px 40px rgba(15,23,42,.06);z-index:-1}
.tp-placeholder-icon{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;background:#fff;color:var(--tp-primary);box-shadow:0 10px 25px rgba(16,24,40,.08);margin-bottom:auto}
.tp-placeholder-icon .tp-icon{width:29px;height:29px}
.tp-placeholder-word{font-size:1rem;font-weight:900;letter-spacing:-.02em;color:#344054}
.tp-card-placeholder-sports{background:linear-gradient(145deg,#eaf7f0,#f8fafc)}
.tp-card-placeholder-entertainment{background:linear-gradient(145deg,#f4edff,#faf8ff)}
.tp-card-placeholder-finance{background:linear-gradient(145deg,#eef5ff,#f8fafc)}
.tp-card-placeholder-world{background:linear-gradient(145deg,#edf6ff,#f7fbff)}
.tp-card-placeholder-tech{background:linear-gradient(145deg,#eef2ff,#f9fafb)}
.tp-card-placeholder-weather{background:linear-gradient(145deg,#eaf7ff,#f9fcff)}

.tp-search-overlay[hidden]{display:none}
.tp-search-overlay{position:fixed;inset:0;z-index:9990;display:grid;place-items:start center;padding-top:min(18vh,150px)}
.tp-search-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.54);backdrop-filter:blur(7px)}
.tp-search-dialog{position:relative;width:min(680px,calc(100% - 28px));background:#fff;border:1px solid rgba(255,255,255,.65);border-radius:24px;padding:24px;box-shadow:0 30px 90px rgba(15,23,42,.24);animation:tpDialogIn .2s ease both}
@keyframes tpDialogIn{from{opacity:0;transform:translateY(-10px) scale(.985)}to{opacity:1;transform:none}}
.tp-search-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.tp-search-eyebrow{display:flex;align-items:center;gap:7px;color:var(--tp-primary);font-weight:850;font-size:.78rem}
.tp-search-eyebrow .tp-icon{width:16px;height:16px}
.tp-search-head h2{font-size:1.65rem;line-height:1.2;margin:6px 0 0;letter-spacing:-.03em}
.tp-search-form{height:58px;border:1px solid #d7deea;border-radius:16px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:5px 6px 5px 16px;gap:9px;background:#f9fafb}
.tp-search-input-icon{color:#667085;display:grid}
.tp-search-input-icon .tp-icon{width:19px;height:19px}
.tp-search-form input{min-width:0;border:0;outline:0;background:transparent;font-size:1rem;color:var(--tp-text)}
.tp-search-submit{height:46px;border:0;border-radius:12px;background:var(--tp-primary);color:#fff;font-weight:850;padding:0 16px;display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.tp-search-submit .tp-icon{width:16px;height:16px}
.tp-search-hint{color:#98a2b3;font-size:.76rem;margin-top:10px}

.tp-article-actions{display:flex;align-items:center;gap:9px;margin:18px 0 6px;padding-bottom:18px;border-bottom:1px solid var(--tp-line)}
.tp-action-btn{height:39px;border:1px solid var(--tp-line);border-radius:11px;background:#fff;color:#344054;padding:0 12px;display:inline-flex;align-items:center;gap:7px;font-size:.82rem;font-weight:800;cursor:pointer;transition:.18s ease}
.tp-action-btn:hover{border-color:#bfd1ef;color:var(--tp-primary);background:#f6f9ff}
.tp-action-btn .tp-icon{width:16px;height:16px}
.tp-breadcrumb>span .tp-icon{width:12px;height:12px}

.tp-backtop{position:fixed;inset-inline-end:20px;bottom:22px;width:44px;height:44px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:var(--tp-dark);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 30px rgba(15,23,42,.2);opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s ease;z-index:70}
.tp-backtop.is-visible{opacity:1;pointer-events:auto;transform:none}
.tp-backtop .tp-icon{width:19px;height:19px}
.tp-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,12px);background:#101828;color:#fff;border-radius:999px;padding:9px 14px;font-size:.8rem;font-weight:750;opacity:0;pointer-events:none;transition:.2s;z-index:9999}
.tp-toast.is-visible{opacity:1;transform:translate(-50%,0)}

@media(max-width:700px){
 .tp-search-overlay{padding-top:74px}
 .tp-search-dialog{border-radius:20px;padding:18px}
 .tp-search-form{grid-template-columns:auto 1fr;height:54px;padding-right:12px}
 .tp-search-submit{grid-column:1/-1;width:100%;justify-content:center;margin-top:10px}
 .tp-search-form{height:auto;padding-block:10px}
 .tp-search-hint{margin-top:16px}
 .tp-placeholder-icon{width:50px;height:50px}
 .tp-article-actions{overflow-x:auto;scrollbar-width:none}
 .tp-action-btn{white-space:nowrap}
 .tp-backtop{inset-inline-end:13px;bottom:16px}
}


/* v0.7.2 professional article page */
.tp-single-wrap-modern{display:block;max-width:980px;padding-top:30px;padding-bottom:70px}
.tp-single-modern{max-width:860px;margin:0 auto;border-radius:26px;padding:clamp(24px,5vw,54px);border:1px solid #e3e8ef;box-shadow:0 18px 55px rgba(15,23,42,.055)}
.tp-article-header{margin-bottom:22px}
.tp-breadcrumb{margin-bottom:20px!important;font-weight:700}
.tp-breadcrumb-home{display:inline-flex;align-items:center;gap:6px}
.tp-breadcrumb-sep{display:inline-flex;align-items:center;color:#98a2b3}
.tp-article-category{display:inline-flex;align-items:center;gap:7px;color:var(--tp-primary);background:#edf4ff;border:1px solid #dbe8fb;border-radius:999px;padding:7px 11px;font-weight:850;font-size:.78rem;margin-bottom:14px}
.tp-article-category .tp-icon{width:15px;height:15px}
.tp-single-modern h1{max-width:820px;font-size:clamp(2.1rem,5vw,3.7rem);line-height:1.08;letter-spacing:-.045em;margin:0 0 16px;text-wrap:balance}
.tp-single-modern .tp-single-lead{font-size:1.16rem;line-height:1.75;color:#526071;max-width:790px;margin-bottom:22px}
.tp-article-actions{padding:16px 0 0;border-top:1px solid var(--tp-line);border-bottom:0;margin-top:18px}
.tp-action-btn-primary{background:var(--tp-primary);color:#fff;border-color:var(--tp-primary)}
.tp-action-btn-primary:hover{background:var(--tp-primary-dark);color:#fff;border-color:var(--tp-primary-dark)}
.tp-single-featured{margin:26px -8px 30px;border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.08)}
.tp-content-modern{font-size:1.08rem;line-height:2;color:#253247;max-width:760px;margin:0 auto}
.tp-content-modern>p:first-child{font-size:1.1rem}
.tp-content-modern h2{font-size:1.65rem;line-height:1.3;letter-spacing:-.025em;margin:38px 0 12px;padding-top:2px}
.tp-content-modern h3{font-size:1.3rem;line-height:1.35;letter-spacing:-.015em;margin:30px 0 10px}
.tp-content-modern blockquote{margin:26px 0;padding:18px 20px;border-inline-start:4px solid var(--tp-primary);background:#f6f9ff;border-radius:0 14px 14px 0;color:#42526b}
.tp-content-modern ul,.tp-content-modern ol{padding-inline-start:24px}
.tp-content-modern li{margin-bottom:8px}
.tp-content-modern a{font-weight:700}
.tp-article-footer{max-width:760px;margin:34px auto 0;padding-top:22px;border-top:1px solid var(--tp-line)}
.tp-article-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.tp-article-tags a{background:#f3f5f8;border:1px solid #e2e7ee;border-radius:999px;padding:7px 10px;color:#475467;font-size:.78rem;font-weight:800}
.tp-article-tags a:hover{color:var(--tp-primary);border-color:#cbdcf5;background:#f5f9ff}
.tp-article-footer-actions{display:flex;gap:8px}
.tp-related{max-width:860px;margin:28px auto 0}
.tp-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tp-related-card{display:grid;grid-template-columns:130px 1fr;background:#fff;border:1px solid var(--tp-line);border-radius:16px;overflow:hidden;min-height:112px;transition:.18s ease}
.tp-related-card:hover{border-color:#cdd9eb;box-shadow:0 10px 30px rgba(15,23,42,.055);transform:translateY(-2px)}
.tp-related-media{background:#edf1f6;display:block;min-height:112px}
.tp-related-media img{width:100%;height:100%;object-fit:cover;display:block}
.tp-related-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#edf3ff,#f8fafc);color:var(--tp-primary)}
.tp-related-placeholder .tp-icon{width:32px;height:32px}
.tp-related-body{padding:13px 14px}
.tp-related-body h3{font-size:.96rem;line-height:1.45;margin:7px 0 0}
.tp-related-body h3 a:hover{color:var(--tp-primary)}
@media(max-width:700px){
 .tp-single-wrap-modern{width:min(100% - 18px,980px);padding-top:12px}
 .tp-single-modern{padding:22px 18px;border-radius:20px}
 .tp-single-modern h1{font-size:2.25rem;line-height:1.12}
 .tp-single-modern .tp-single-lead{font-size:1.02rem;line-height:1.72}
.tp-single-featured{margin:22px -4px 26px;border-radius:17px}
 .tp-content-modern{font-size:1.02rem;line-height:1.9}
 .tp-content-modern h2{font-size:1.42rem}
 .tp-related-grid{grid-template-columns:1fr}
 .tp-related-card{grid-template-columns:112px 1fr}
}


/* v0.7.3 social sharing + tag-related stories */
.tp-related{padding-top:4px}
.tp-related .tp-section-title{font-size:1.08rem}
.tp-related-card{background:linear-gradient(180deg,#fff,#fcfdff)}
.tp-related-body h3{font-weight:850}
@media(max-width:700px){
}


/* v0.7.4 clean article metadata + bottom social sharing */
.tp-article-meta-clean{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0 4px;color:#667085}
.tp-article-meta-clean .tp-meta-item{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700}
.tp-article-meta-clean .tp-icon{width:14px;height:14px;color:#8290a3}

.tp-share-bottom{margin-top:26px;padding:20px;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f7f9fc)}
.tp-share-bottom-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.tp-share-bottom-icon{width:40px;height:40px;border-radius:13px;background:#eaf2ff;color:var(--tp-primary);display:grid;place-items:center;flex:none}
.tp-share-bottom-icon .tp-icon{width:19px;height:19px}
.tp-share-bottom-head strong{display:block;font-size:.96rem;color:#172033;margin-bottom:2px}
.tp-share-bottom-head span{display:block;font-size:.76rem;color:#7b8798}
.tp-share-bottom-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.tp-share-network{min-height:48px;border:1px solid #e0e6ef;border-radius:13px;background:#fff;display:flex;align-items:center;justify-content:flex-start;gap:9px;padding:8px 11px;color:#344054;font-size:.8rem;font-weight:850;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.tp-share-network:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(15,23,42,.075);border-color:#cdd8e8}
.tp-share-network:active{transform:scale(.97)}
.tp-share-network-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#f4f6f9;flex:none}
.tp-share-network-icon .tp-icon{width:16px;height:16px}
.tp-share-facebook .tp-share-network-icon{background:#edf5ff;color:#1877f2}
.tp-share-x .tp-share-network-icon{background:#f1f3f5;color:#111827}
.tp-share-whatsapp .tp-share-network-icon{background:#ecfaf2;color:#128c4a}
.tp-share-telegram .tp-share-network-icon{background:#edf9fe;color:#229ed9}
.tp-share-linkedin .tp-share-network-icon{background:#eef6ff;color:#0a66c2}
.tp-share-native .tp-share-network-icon{background:#edf4ff;color:var(--tp-primary)}
.tp-share-copy .tp-share-network-icon{background:#f3f4f6;color:#475467}

@media(max-width:700px){
 .tp-article-meta-clean{gap:10px;margin-top:14px}
 .tp-share-bottom{padding:16px 14px;border-radius:16px}
 .tp-share-bottom-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 .tp-share-network{min-height:48px;padding:0;justify-content:center}
 .tp-share-network>span:last-child{display:none}
 .tp-share-network-icon{width:34px;height:34px;background:transparent!important}
 .tp-share-network-icon .tp-icon{width:19px;height:19px}
}


/* v0.7.5 rebuilt professional header */
.tp-site-header{position:relative;z-index:900;background:#fff;border-bottom:1px solid #e5eaf0}
.tp-header-main{background:var(--tp-primary);color:#fff}
.tp-header-icon:hover{background:rgba(255,255,255,.13)}
.tp-header-icon:active{transform:scale(.95)}
.tp-header-icon .tp-icon{width:27px;height:27px;stroke-width:2}
.tp-desktop-menu,.tp-desktop-nav>ul{display:flex;align-items:center;gap:5px;list-style:none;margin:0;padding:0}
.tp-desktop-menu li,.tp-desktop-nav>ul li{margin:0}
.tp-desktop-menu a,.tp-desktop-nav>ul a{display:flex;align-items:center;height:42px;padding:0 11px;border-radius:10px;color:rgba(255,255,255,.88);font-size:.84rem;font-weight:800;white-space:nowrap}
.tp-desktop-menu a:hover,.tp-desktop-nav>ul a:hover{background:rgba(255,255,255,.12);color:#fff}
.tp-mobile-menu-head{font-size:.75rem;color:#7c8798;text-transform:uppercase;letter-spacing:.1em;margin-bottom:10px}
.tp-mobile-menu-list,.tp-mobile-panel ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0}
.tp-mobile-menu-list a,.tp-mobile-panel ul a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid #e3e8ef;border-radius:11px;color:#263247;font-size:.84rem;font-weight:800;background:#fff}
.tp-mobile-menu-list a:hover,.tp-mobile-panel ul a:hover{background:#f4f8ff;color:var(--tp-primary);border-color:#cad9f1}
.tp-breaking-label .tp-icon{width:14px;height:14px}
.tp-breaking-links a:hover{color:var(--tp-primary)}
.tp-search-close{color:#475467;background:#f4f6f9}
html.tp-dark .tp-header-main{background:var(--tp-primary-dark)}

@media(max-width:960px){
      .tp-mobile-menu-list,.tp-mobile-panel ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
   .tp-header-icon .tp-icon{width:25px;height:25px}
       .tp-mobile-menu-list,.tp-mobile-panel ul{grid-template-columns:1fr}
   }


/* v0.7.6 complete dark article experience */
html.tp-dark{
  color-scheme:dark;
  --tp-dark-bg:#0b1220;
  --tp-dark-surface:#111a2b;
  --tp-dark-surface-2:#162136;
  --tp-dark-line:#27344a;
  --tp-dark-text:#eef3fb;
  --tp-dark-muted:#9da9ba;
  --tp-dark-link:#7fb0ff;
}
html.tp-dark body{
  background:var(--tp-dark-bg)!important;
  color:var(--tp-dark-text)!important;
}
html.tp-dark .tp-site-header,
html.tp-dark .tp-mobile-panel,
html.tp-dark .tp-header-main{
  background:var(--tp-primary-dark)!important;
}
html.tp-dark .tp-mobile-menu-list a,
html.tp-dark .tp-mobile-panel ul a{
  background:#152239!important;
  border-color:#2b3a52!important;
  color:#e8eef8!important;
}
html.tp-dark .tp-mobile-menu-list a:hover,
html.tp-dark .tp-mobile-panel ul a:hover{
  background:#1b2c48!important;
  color:#fff!important;
  border-color:#3a5274!important;
}
/* Article container */
html.tp-dark .tp-single-modern{
  background:var(--tp-dark-surface)!important;
  border-color:var(--tp-dark-line)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.28)!important;
}
html.tp-dark .tp-single-modern h1,
html.tp-dark .tp-content-modern h2,
html.tp-dark .tp-content-modern h3,
html.tp-dark .tp-related-body h3,
html.tp-dark .tp-section-title,
html.tp-dark .tp-share-bottom-head strong{
  color:var(--tp-dark-text)!important;
}
html.tp-dark .tp-single-modern .tp-single-lead,
html.tp-dark .tp-content-modern,
html.tp-dark .tp-content-modern p,
html.tp-dark .tp-content-modern li{
  color:#d2dae7!important;
}
html.tp-dark .tp-content-modern strong,
html.tp-dark .tp-content-modern b{
  color:#f5f8fc!important;
}
html.tp-dark .tp-content-modern a{
  color:var(--tp-dark-link)!important;
}
html.tp-dark .tp-content-modern blockquote{
  background:#17243a!important;
  color:#c8d3e3!important;
  border-inline-start-color:#6ea8ff!important;
}
html.tp-dark .tp-breadcrumb,
html.tp-dark .tp-breadcrumb a,
html.tp-dark .tp-article-meta-clean,
html.tp-dark .tp-meta,
html.tp-dark .tp-meta-item{
  color:var(--tp-dark-muted)!important;
}
html.tp-dark .tp-breadcrumb a:hover{
  color:#fff!important;
}
html.tp-dark .tp-article-category{
  background:#172d52!important;
  border-color:#27466f!important;
  color:#8db8ff!important;
}

/* Article footer/tags/share */
html.tp-dark .tp-article-footer{
  border-color:var(--tp-dark-line)!important;
}
html.tp-dark .tp-article-tags a{
  background:#172338!important;
  border-color:#2c3a51!important;
  color:#cbd5e1!important;
}
html.tp-dark .tp-article-tags a:hover{
  background:#1d3150!important;
  border-color:#3c5c87!important;
  color:#fff!important;
}
html.tp-dark .tp-share-bottom{
  background:linear-gradient(180deg,#121e31,#101a2b)!important;
  border-color:var(--tp-dark-line)!important;
}
html.tp-dark .tp-share-bottom-icon{
  background:#1d3354!important;
  color:#8ab7ff!important;
}
html.tp-dark .tp-share-bottom-head span{
  color:var(--tp-dark-muted)!important;
}
html.tp-dark .tp-share-network{
  background:#162237!important;
  border-color:#2b3a51!important;
  color:#dbe4f0!important;
}
html.tp-dark .tp-share-network:hover{
  background:#1b2c47!important;
  border-color:#3b5274!important;
  color:#fff!important;
  box-shadow:0 9px 24px rgba(0,0,0,.2)!important;
}
html.tp-dark .tp-share-network-icon{
  background:#0f1a2b!important;
}

/* Related stories */
html.tp-dark .tp-related-card{
  background:linear-gradient(180deg,#111a2b,#0f1828)!important;
  border-color:var(--tp-dark-line)!important;
}
html.tp-dark .tp-related-card:hover{
  border-color:#3a506f!important;
  box-shadow:0 12px 30px rgba(0,0,0,.24)!important;
}
html.tp-dark .tp-related-body{
  color:#d7dfeb!important;
}
html.tp-dark .tp-related-body h3 a{
  color:#edf3fb!important;
}
html.tp-dark .tp-related-body h3 a:hover{
  color:#8cb8ff!important;
}
html.tp-dark .tp-related-placeholder{
  background:linear-gradient(145deg,#15243b,#111a2b)!important;
  color:#8bb8ff!important;
}

/* Search dialog */
html.tp-dark .tp-search-dialog{
  background:#111a2b!important;
  border-color:#2a3850!important;
  color:var(--tp-dark-text)!important;
}
html.tp-dark .tp-search-head h2{
  color:var(--tp-dark-text)!important;
}
html.tp-dark .tp-search-close{
  background:#172338!important;
  color:#dbe4f0!important;
}
html.tp-dark .tp-search-form{
  background:#0f1828!important;
  border-color:#2b3950!important;
}
html.tp-dark .tp-search-form input{
  color:#edf3fb!important;
}
html.tp-dark .tp-search-form input::placeholder{
  color:#8290a3!important;
}

/* Generic content surfaces used on archive/home */
html.tp-dark .tp-card,
html.tp-dark .tp-panel,
html.tp-dark .tp-related,
html.tp-dark .tp-section{
  border-color:var(--tp-dark-line)!important;
}
html.tp-dark .tp-card{
  background:#111a2b!important;
}
html.tp-dark .tp-card h2,
html.tp-dark .tp-card h3,
html.tp-dark .tp-card h2 a,
html.tp-dark .tp-card h3 a{
  color:#edf3fb!important;
}
html.tp-dark .tp-card p{
  color:#aeb9c8!important;
}

/* Keep article feeling integrated with page instead of a white sheet */
html.tp-dark .tp-single-wrap-modern{
  background:transparent!important;
}
html.tp-dark .tp-single-featured{
  box-shadow:0 14px 34px rgba(0,0,0,.26)!important;
}


/* v0.7.7 text-only brand */
/* v0.7.8 live latest-news ticker */
.tp-breaking{
  position:relative;
  background:#fff;
  border-bottom:1px solid #e4e9f0;
  overflow:hidden;
}
.tp-breaking-inner{
  height:52px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}
.tp-breaking-label{
  height:34px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border-radius:10px;
  color:var(--tp-primary);
  background:var(--tp-primary-soft-2);
  border:1px solid var(--tp-primary-line);
  font-size:.76rem;
  white-space:nowrap;
  font-weight:900;
}
.tp-breaking-label .tp-icon{width:15px;height:15px}
.tp-breaking-pulse{
  width:7px;height:7px;border-radius:50%;
  background:var(--tp-primary);
  box-shadow:0 0 0 0 rgba(239,68,68,.35);
  animation:tpTickerPulse 1.8s infinite;
}
@keyframes tpTickerPulse{
  0%{box-shadow:0 0 0 0 rgba(239,68,68,.35)}
  70%{box-shadow:0 0 0 7px rgba(239,68,68,0)}
  100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}
}
.tp-ticker-viewport{
  min-width:0;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);
}
.tp-ticker-track{
  display:flex;
  align-items:center;
  width:max-content;
  gap:0;
  will-change:transform;
  animation:tpTickerMove 34s linear infinite;
}
.tp-ticker-track.is-paused{animation-play-state:paused}
.tp-ticker-viewport:hover .tp-ticker-track{animation-play-state:paused}
.tp-ticker-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:460px;
  padding:0 24px;
  border-inline-end:1px solid #e6eaf0;
  color:#344054;
  font-size:.8rem;
  font-weight:800;
  white-space:nowrap;
}
.tp-ticker-item:hover{color:var(--tp-primary)}
.tp-ticker-time{
  font-size:.68rem;
  color:#98a2b3;
  font-variant-numeric:tabular-nums;
}
.tp-ticker-title{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tp-ticker-toggle{
  width:34px;height:34px;border-radius:10px;
  border:1px solid #e1e6ed;background:#fff;color:#667085;
  display:grid;place-items:center;cursor:pointer;
  font-size:.72rem;font-weight:900;
  transition:.16s ease;
}
.tp-ticker-toggle:hover{color:var(--tp-primary);border-color:#cbd9ee;background:#f7faff}
@keyframes tpTickerMove{
  from{transform:translateX(0)}
  to{transform:translateX(-38%)}
}

/* Home starts directly with content; no duplicate site-name hero */
.home .tp-section-head{margin-top:34px}

/* Dark ticker */
html.tp-dark .tp-breaking{
  background:#0f1a2d!important;
  border-color:#27344a!important;
}
html.tp-dark .tp-breaking-label{
  color:#fff!important;
  background:rgba(var(--tp-primary-rgb),.20)!important;
  border-color:rgba(var(--tp-primary-rgb),.45)!important;
}
html.tp-dark .tp-ticker-item{
  color:#d3dbe7!important;
  border-color:#2a3850!important;
}
html.tp-dark .tp-ticker-item:hover{color:var(--tp-primary)!important}
html.tp-dark .tp-ticker-time{color:#7f8da1!important}
html.tp-dark .tp-ticker-toggle{
  background:#152239!important;
  border-color:#2c3b53!important;
  color:#cbd5e1!important;
}

@media(max-width:700px){
  .tp-breaking-inner{
    width:100%;
    height:48px;
    padding-inline:10px;
    gap:8px;
    grid-template-columns:auto minmax(0,1fr);
  }
  .tp-breaking-label{
    height:32px;
    padding:0 8px;
    font-size:.7rem;
  }
  .tp-ticker-toggle{display:none}
  .tp-ticker-item{
    max-width:310px;
    padding:0 18px;
    font-size:.75rem;
  }
  .tp-ticker-track{animation-duration:28s}
  .home .tp-section-head{margin-top:24px}
}


/* v0.7.9 header restoration: stable menu + brand + moon + search */
.tp-header-main{
  background:var(--tp-primary);
  color:#fff;
}
.tp-header-inner{
  width:min(1180px,calc(100% - 28px));
  height:82px;
  margin:0 auto;
  display:grid;
  grid-template-columns:48px minmax(120px,auto) minmax(0,1fr) auto;
  align-items:center;
  column-gap:14px;
}
.tp-menu-trigger{
  grid-column:1;
  grid-row:1;
  justify-self:start;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
}
.tp-header-brand{
  grid-column:2;
  grid-row:1;
  min-width:0;
  display:flex!important;
  align-items:center;
  align-self:center;
  color:#fff!important;
  white-space:nowrap;
}
.tp-header-site-name{
  display:block;
  color:#fff!important;
  font-size:1.75rem;
  line-height:1;
  font-weight:950;
  letter-spacing:-.045em;
  white-space:nowrap;
}
.tp-desktop-nav{
  grid-column:3;
  grid-row:1;
  min-width:0;
  overflow:hidden;
}
.tp-desktop-menu,.tp-desktop-nav>ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.tp-desktop-menu a,.tp-desktop-nav>ul a{
  display:flex;
  height:40px;
  align-items:center;
  padding:0 9px;
  border-radius:9px;
  color:rgba(255,255,255,.9);
  font-size:.8rem;
  font-weight:800;
  white-space:nowrap;
}
.tp-header-actions{
  grid-column:4;
  grid-row:1;
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  white-space:nowrap;
}
.tp-header-icon{
  width:44px;
  height:44px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#fff;
  display:grid!important;
  place-items:center;
  padding:0;
  cursor:pointer;
}
.tp-header-icon .tp-icon{
  width:27px;
  height:27px;
}
.tp-header-icon:hover{background:rgba(255,255,255,.12)}
.tp-mobile-panel{
  position:absolute;
  top:82px;
  left:0;
  right:0;
  background:#fff;
  color:#172033;
  border-bottom:1px solid #e3e8ef;
  box-shadow:0 16px 34px rgba(15,23,42,.12);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-8px);
  transition:.18s ease;
  z-index:899;
}
.tp-mobile-panel.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
}
.tp-mobile-panel-inner{
  width:min(1180px,calc(100% - 28px));
  margin:0 auto;
  padding:18px 0 22px;
}
.tp-mobile-menu-list,.tp-mobile-panel ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.tp-mobile-menu-list a,.tp-mobile-panel ul a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:10px 12px;
  border:1px solid #e3e8ef;
  border-radius:11px;
  background:#fff;
  color:#263247;
  font-size:.84rem;
  font-weight:800;
}

/* Tablet and phone: exactly like the supplied reference */
@media(max-width:900px){
  .tp-header-inner{
    width:calc(100% - 28px);
    height:96px;
    grid-template-columns:54px minmax(0,1fr) auto;
    column-gap:12px;
  }
  .tp-menu-trigger{
    grid-column:1;
    width:50px;
    height:50px;
  }
  .tp-menu-trigger .tp-icon{
    width:31px;
    height:31px;
  }
  .tp-header-brand{
    grid-column:2;
    justify-self:start;
  }
  .tp-header-site-name{
    font-size:2rem;
    letter-spacing:-.05em;
  }
  .tp-desktop-nav{
    display:none!important;
  }
  .tp-header-actions{
    grid-column:3;
    gap:7px;
  }
  .tp-header-actions .tp-header-icon{
    width:50px;
    height:50px;
  }
  .tp-header-actions .tp-icon{
    width:31px;
    height:31px;
  }
  .tp-mobile-panel{top:96px}
  .tp-mobile-menu-list,.tp-mobile-panel ul{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:520px){
  .tp-header-inner{
    width:calc(100% - 20px);
    height:84px;
    grid-template-columns:46px minmax(0,1fr) auto;
    column-gap:8px;
  }
  .tp-menu-trigger{
    width:44px;
    height:44px;
  }
  .tp-menu-trigger .tp-icon{
    width:28px;
    height:28px;
  }
  .tp-header-site-name{
    font-size:1.62rem;
    max-width:180px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .tp-header-actions{
    gap:2px;
  }
  .tp-header-actions .tp-header-icon{
    width:42px;
    height:42px;
  }
  .tp-header-actions .tp-icon{
    width:27px;
    height:27px;
  }
  .tp-mobile-panel{top:84px}
  .tp-mobile-menu-list,.tp-mobile-panel ul{
    grid-template-columns:1fr;
  }
}

/* v0.9.5 editorial quality */
.tp-source-links{margin:1.5rem 0 1rem;padding:1rem 1.1rem;border:1px solid rgba(15,23,42,.08);border-radius:14px;background:rgba(248,250,252,.82)}
.tp-source-links h2{font-size:1rem;margin:0 0 .65rem}
.tp-source-links ul{margin:0;padding-inline-start:1.15rem}
.tp-source-links li{margin:.3rem 0}
.tp-source-links a{text-decoration:none;font-weight:600}
@media(max-width:700px){
  .tp-share-box,.share-box,.post-share{padding:.8rem!important}
  .tp-share-box .share-buttons,.share-box .share-buttons,.post-share .share-buttons{gap:.45rem!important}
  .tp-share-box a,.share-box a,.post-share a{min-height:38px!important;padding:.5rem .7rem!important}
}

/* v0.9.6 legal navigation */
.tp-header-legal{margin-left:auto}
.tp-header-legal-list{display:flex;align-items:center;gap:14px;list-style:none;margin:0;padding:0;font-size:.72rem;font-weight:700;white-space:nowrap}
.tp-header-legal-list a{opacity:.9}
.tp-header-legal-list a:hover{opacity:1}
.tp-mobile-legal{border-top:1px solid var(--tp-line);margin-top:10px;padding-top:10px}
.tp-mobile-legal-list a{font-weight:700}
@media(max-width:1180px){.tp-header-legal{display:none}}

/* v0.9.7 dedicated static/legal page presentation */
.tp-page-wrap{padding-top:34px;padding-bottom:54px}
.tp-static-page{max-width:920px;margin:0 auto;background:var(--tp-card,#fff);border:1px solid var(--tp-line,rgba(15,23,42,.08));border-radius:24px;padding:42px 48px;box-shadow:0 14px 40px rgba(15,23,42,.06)}
.tp-static-page-head{padding-bottom:22px;border-bottom:1px solid var(--tp-line,rgba(15,23,42,.08));margin-bottom:28px}
.tp-static-page-head h1{font-size:clamp(2rem,5vw,3.3rem);line-height:1.08;margin:14px 0 0;letter-spacing:-.035em}
.tp-breadcrumbs{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--tp-muted,#64748b)}
.tp-breadcrumbs a{text-decoration:none;color:inherit}
.tp-static-content{font-size:1rem;line-height:1.8}
.tp-static-content h2{font-size:1.35rem;line-height:1.3;margin:2rem 0 .65rem}
.tp-static-content p{margin:.85rem 0}
.tp-static-content a{font-weight:700}
.tp-legal-page-footer{margin-top:32px;padding-top:20px;border-top:1px solid var(--tp-line,rgba(15,23,42,.08))}
.tp-legal-page-footer a{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border:1px solid var(--tp-line,rgba(15,23,42,.12));border-radius:11px;text-decoration:none;font-weight:800}
@media(max-width:700px){
  .tp-page-wrap{padding:18px 14px 36px}
  .tp-static-page{padding:24px 20px;border-radius:18px}
  .tp-static-page-head{margin-bottom:22px;padding-bottom:18px}
  .tp-static-page-head h1{font-size:2rem}
  .tp-static-content{font-size:.98rem;line-height:1.72}
  .tp-static-content h2{font-size:1.2rem}
}


/* v0.10.7 multilingual direction support */
html[dir="rtl"] body{direction:rtl;text-align:right}
html[dir="rtl"] .tp-desktop-menu,html[dir="rtl"] .tp-header-inner,html[dir="rtl"] .tp-breaking-inner,html[dir="rtl"] .tp-meta,html[dir="rtl"] .tp-card-body,html[dir="rtl"] .tp-article-meta-clean{direction:rtl}
html[dir="rtl"] .tp-readmore .tp-icon,html[dir="rtl"] .tp-breadcrumb-sep .tp-icon{transform:scaleX(-1)}
html[dir="rtl"] .tp-content-modern blockquote{border-inline-start:4px solid var(--tp-primary);border-radius:14px 0 0 14px}
/* v0.10.9 — resilient professional homepage */
.tp-home-modern{padding-bottom:54px}
.tp-home-heading{margin-top:34px;margin-bottom:20px}
.tp-home-heading>div:first-child{min-width:max-content}
.tp-section-kicker{margin:5px 0 0;color:#667085;font-size:.85rem}
.tp-lead-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:20px;margin-bottom:34px}
.tp-lead-story,.tp-side-story{background:var(--tp-surface);border:1px solid var(--tp-line);border-radius:22px;overflow:hidden;box-shadow:0 10px 32px rgba(15,23,42,.05)}
.tp-lead-media{display:block;position:relative;aspect-ratio:16/8.7;overflow:hidden;background:#e9edf3}
.tp-lead-media img,.tp-side-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.tp-lead-story:hover img,.tp-side-story:hover img{transform:scale(1.02)}
.tp-lead-badge{position:absolute;inset-inline-start:20px;bottom:18px;display:inline-flex;align-items:center;gap:7px;background:var(--tp-primary);color:#fff;border-radius:999px;padding:8px 11px;font-size:.76rem;font-weight:900;box-shadow:0 8px 24px rgba(var(--tp-primary-rgb),.28)}
.tp-lead-badge .tp-icon{width:15px;height:15px}
.tp-lead-body{padding:24px 26px 26px}
.tp-home-cat{display:inline-flex;color:var(--tp-primary);font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.tp-lead-body h1{font-size:clamp(1.65rem,3vw,2.45rem);line-height:1.17;letter-spacing:-.035em;margin:9px 0 12px}
.tp-lead-body h1 a:hover,.tp-side-body h2 a:hover{color:var(--tp-primary)}
.tp-lead-body p{font-size:.98rem;line-height:1.7;color:#667085;margin:0 0 15px}
.tp-lead-side{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:20px}
.tp-side-story{display:grid;grid-template-columns:42% 58%;min-height:0}
.tp-side-media{display:block;min-height:100%;overflow:hidden;background:#e9edf3}
.tp-side-media .tp-card-placeholder{min-height:100%;border-radius:0;padding:12px}
.tp-side-body{padding:18px;display:flex;flex-direction:column;justify-content:center}
.tp-side-body h2{font-size:1.06rem;line-height:1.4;margin:7px 0 11px}
.tp-more-head{margin-top:6px}
.tp-home-feed{padding-bottom:0}
.tp-empty-news{background:var(--tp-surface);border:1px solid var(--tp-line);border-radius:22px;padding:52px 28px;text-align:center;box-shadow:0 10px 34px rgba(15,23,42,.05);margin-bottom:28px}
.tp-empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;margin:0 auto 15px;color:var(--tp-primary);background:var(--tp-primary-soft-2)}
.tp-empty-icon .tp-icon{width:28px;height:28px}
.tp-empty-news h2{margin:0;font-size:1.25rem}
html.tp-dark .tp-section-kicker,html.tp-dark .tp-lead-body p{color:#94a3b8}
html.tp-dark .tp-lead-story,html.tp-dark .tp-side-story,html.tp-dark .tp-empty-news{background:var(--tp-surface);border-color:rgba(255,255,255,.08)}
@media(max-width:900px){
  .tp-lead-grid{grid-template-columns:1fr}
  .tp-lead-side{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  .tp-side-story{display:block}
  .tp-side-media{aspect-ratio:16/9}
}
@media(max-width:640px){
  .tp-home-modern{padding-bottom:34px}
  .tp-home-heading{margin-top:24px}
  .tp-section-kicker{font-size:.8rem}
  .tp-lead-grid{gap:14px;margin-bottom:26px}
  .tp-lead-story,.tp-side-story{border-radius:18px}
  .tp-lead-media{aspect-ratio:16/9.3}
  .tp-lead-body{padding:19px 18px 21px}
  .tp-lead-body h1{font-size:1.55rem}
  .tp-lead-body p{font-size:.91rem}
  .tp-lead-side{grid-template-columns:1fr;gap:14px}
  .tp-side-story{display:grid;grid-template-columns:38% 62%}
  .tp-side-media{aspect-ratio:auto;min-height:145px}
  .tp-side-body{padding:15px}
  .tp-side-body h2{font-size:.98rem}
}

/* v0.10.11 — authoritative article dark mode, compact mobile canvas, and palette cleanup */
/* This block intentionally owns article surfaces so older theme rules cannot leave a white sheet in dark mode. */
.tp-header-main{background:var(--tp-primary)!important}
.tp-site-header .tp-icon,.tp-header-main .tp-icon{color:currentColor}
.tp-section-title .tp-icon,.tp-placeholder-icon,.tp-related-placeholder,.tp-search-eyebrow,.tp-readmore,.tp-card h2 a:hover,.tp-ticker-item:hover,.tp-mobile-menu-list a:hover,.tp-mobile-panel ul a:hover,.tp-content a,.tp-article-category,.tp-share-bottom-icon,.tp-share-native .tp-share-network-icon,.tp-footer a:hover,.tp-footer-brand .tp-brand-mark{color:var(--tp-primary)!important}
.tp-search-submit,.tp-action-btn-primary,.page-numbers.current,.page-numbers:hover{background:var(--tp-primary)!important;border-color:var(--tp-primary)!important}
.tp-search-submit:hover,.tp-action-btn-primary:hover{background:var(--tp-primary-dark)!important;border-color:var(--tp-primary-dark)!important}
.tp-breaking-label{color:var(--tp-primary)!important;background:var(--tp-primary-soft-2)!important;border-color:var(--tp-primary-line)!important}
.tp-breaking-pulse{background:var(--tp-primary)!important;box-shadow:0 0 0 0 rgba(var(--tp-primary-rgb),.45)}
.tp-article-category{background:var(--tp-primary-soft-2)!important;border-color:var(--tp-primary-line)!important}
.tp-content-modern blockquote{border-inline-start-color:var(--tp-primary)!important;background:var(--tp-primary-soft-2)!important}
.tp-placeholder-icon,.tp-share-bottom-icon,.tp-share-native .tp-share-network-icon{background:var(--tp-primary-soft-2)!important}
.tp-mobile-menu-list a:hover,.tp-mobile-panel ul a:hover{background:var(--tp-primary-soft-2)!important;border-color:var(--tp-primary-line)!important}
.tp-action-btn:hover,.tp-ticker-toggle:hover{color:var(--tp-primary)!important;border-color:var(--tp-primary-line)!important;background:var(--tp-primary-soft-2)!important}
.tp-footer{border-top:4px solid var(--tp-primary)}
.tp-footer h3:after{content:"";display:block;width:32px;height:2px;margin-top:7px;background:var(--tp-primary);border-radius:99px}

/* Complete dark article surface. */
html.tp-dark .tp-single-wrap-modern{background:transparent!important}
html.tp-dark .tp-single-modern{background:var(--tp-dark-surface)!important;border-color:var(--tp-dark-line)!important;color:var(--tp-dark-text)!important;box-shadow:0 18px 55px rgba(0,0,0,.28)!important}
html.tp-dark .tp-single-modern h1,
html.tp-dark .tp-single-modern h2,
html.tp-dark .tp-single-modern h3,
html.tp-dark .tp-single-modern h4,
html.tp-dark .tp-single-modern h5,
html.tp-dark .tp-single-modern h6{color:var(--tp-dark-text)!important}
html.tp-dark .tp-single-modern .tp-single-lead,
html.tp-dark .tp-content-modern,
html.tp-dark .tp-content-modern p,
html.tp-dark .tp-content-modern li,
html.tp-dark .tp-content-modern figcaption{color:#d2dae7!important}
html.tp-dark .tp-content-modern strong,html.tp-dark .tp-content-modern b{color:#f5f8fc!important}
html.tp-dark .tp-content-modern a{color:var(--tp-primary)!important}
html.tp-dark .tp-content-modern hr{border-color:var(--tp-dark-line)!important}
html.tp-dark .tp-content-modern blockquote{background:rgba(var(--tp-primary-rgb),.12)!important;color:#d4deeb!important;border-inline-start-color:var(--tp-primary)!important}
html.tp-dark .tp-article-category{background:rgba(var(--tp-primary-rgb),.14)!important;border-color:rgba(var(--tp-primary-rgb),.34)!important;color:var(--tp-primary)!important}
html.tp-dark .tp-single-featured{background:#0e1727!important;box-shadow:0 14px 34px rgba(0,0,0,.3)!important}
html.tp-dark .tp-article-footer{border-color:var(--tp-dark-line)!important}
html.tp-dark .tp-source-links{background:var(--tp-dark-surface)!important;border-color:var(--tp-dark-line)!important;color:#d2dae7!important}
html.tp-dark .tp-source-links h2{color:var(--tp-dark-text)!important}
html.tp-dark .tp-source-links a{color:var(--tp-primary)!important}
html.tp-dark .tp-related .tp-section-line{background:var(--tp-dark-line)!important}
html.tp-dark .tp-section-line{background:var(--tp-dark-line)!important}
html.tp-dark .tp-breadcrumb,html.tp-dark .tp-breadcrumb a,html.tp-dark .tp-article-meta-clean,html.tp-dark .tp-meta,html.tp-dark .tp-meta-item{color:var(--tp-dark-muted)!important}
html.tp-dark .tp-breaking{background:#0e1727!important;border-color:var(--tp-dark-line)!important}
html.tp-dark .tp-breaking-label{color:var(--tp-primary)!important;background:rgba(var(--tp-primary-rgb),.14)!important;border-color:rgba(var(--tp-primary-rgb),.38)!important}
html.tp-dark .tp-placeholder-icon,html.tp-dark .tp-share-bottom-icon,html.tp-dark .tp-share-native .tp-share-network-icon{background:rgba(var(--tp-primary-rgb),.15)!important;color:var(--tp-primary)!important}
html.tp-dark .tp-header-main{background:var(--tp-primary-dark)!important}

/* Keep source/related blocks aligned to the article card instead of wider than it. */
.tp-source-links{max-width:860px;margin:28px auto 0}

/* Phone article: remove the double outer gutter while preserving readable inner padding. */
@media(max-width:700px){
  .tp-single-wrap-modern.tp-wrap{width:100%;max-width:none;padding:10px 6px 38px}
  .tp-single-modern{width:100%;max-width:none;margin:0;border-radius:18px;padding:22px 15px;box-shadow:none}
  .tp-single-modern h1{font-size:clamp(1.78rem,8.5vw,2.25rem);line-height:1.12;letter-spacing:-.032em}
  .tp-single-modern .tp-single-lead{font-size:1rem;line-height:1.72}
  .tp-single-featured{margin:22px 0 26px;border-radius:16px}
  .tp-content-modern{max-width:none;font-size:1rem;line-height:1.85}
  .tp-content-modern h2{font-size:1.38rem;margin-top:30px}
  .tp-content-modern h3{font-size:1.18rem}
  .tp-article-footer{max-width:none}
  .tp-source-links,.tp-related{width:calc(100% - 12px);max-width:none;margin-inline:6px}
  .tp-source-links{margin-top:18px}
  .tp-related{margin-top:24px}
}

html[dir="rtl"] body{font-family:Tahoma,Arial,"Segoe UI",sans-serif}



/* v0.10.12 — Google News transparency metadata */
.tp-article-meta-clean .tp-byline{font-weight:700;color:var(--tp-ink,#172033)}
.tp-article-meta-clean time{font-variant-numeric:tabular-nums}
html.tp-dark .tp-article-meta-clean .tp-byline{color:#eef4ff}
