:root{--header-height:86px}
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:'Inter','Noto Sans Sinhala',sans-serif;
  background:#f3f4f8;
  color:#151515;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.full-container{
  width:100%;
  max-width:1300px;
  margin:0 auto;
  padding:0 20px;
}

.main-header{
  background:#fff;
  border-bottom:4px solid #6d28d9;
  position:sticky;
  top:0;
  z-index:1000;
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 20px;
  gap:20px;
}
.logo a{
  font-size:32px;
  font-weight:800;
  color:#000;
  letter-spacing:-1.4px;
}
.logo span{color:#6d28d9}
.nav-links{list-style:none;display:flex;align-items:center;gap:34px}
.nav-links a{font-size:16px;font-weight:800;color:#2f2f2f}
.nav-links a.active,.nav-links a:hover{color:#000}
.search-area{font-size:22px;line-height:1}

.sub-nav{
  background:#fafafa;
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease,padding .35s ease,border .35s ease,box-shadow .35s ease;
  position:sticky;
  top:var(--header-height);
  z-index:999;
}
.show-sub{max-height:90px;padding:14px 0;border-bottom:1px solid #e6e6e6;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.sub-links{list-style:none;display:flex;justify-content:center;gap:26px;flex-wrap:wrap}
.sub-links a{font-size:13px;font-weight:700;color:#52525b;transition:color .2s ease;padding:10px 14px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}
.sub-links a:hover,.sub-links a.active{color:#6d28d9;background:#eef2ff}
.sub-links a.active{font-weight:800}
#cat-toggle .arrow{display:inline-block;transition:transform .25s ease}
#cat-toggle.open .arrow{transform:rotate(180deg)}

.main-wrapper{
  display:flex;
  align-items:flex-start;
  gap:30px;
  margin-top:28px;
  margin-bottom:30px;
}
.content-area{flex:1 1 auto;min-width:0}
.sidebar{width:320px;flex:0 0 320px}

.article-link-block,.card-link-block{display:block}
.news-item-horizontal{
  display:flex;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:24px;
  box-shadow:0 4px 16px rgba(0,0,0,.05);
}
.hero-article{transition:transform .25s ease, box-shadow .25s ease}
.hero-article:hover{transform:translateY(-3px);box-shadow:0 10px 20px rgba(0,0,0,.08)}
.news-thumb{flex:0 0 38%;position:relative;min-height:220px}
.news-thumb img{width:100%;height:100%;object-fit:cover}
.news-details{flex:1;padding:18px 20px}
.news-title{
  font-size:22px;
  line-height:1.35;
  margin-bottom:10px;
  font-family:'Noto Sans Sinhala',sans-serif;
  font-weight:700;
}
.news-excerpt{font-size:14px;line-height:1.7;color:#6b7280;margin-bottom:14px}
.news-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#555;font-size:12px}
.blue-tag{background:#156ef3;color:#fff;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700}
.cat-label{
  position:absolute;top:12px;left:12px;
  background:#7c3aed;color:#fff;font-size:11px;font-weight:700;
  padding:5px 10px;border-radius:7px;
}

.category-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:4px 0 20px;
  padding-bottom:12px;
  border-bottom:1px solid #ececec;
}
.category-title{font-size:20px;font-weight:800;position:relative}
.category-title::after{
  content:'';position:absolute;left:0;bottom:-13px;width:48px;height:3px;background:#6d28d9;border-radius:999px;
}
.view-all-link{font-size:13px;font-weight:700;color:#156ef3}
.recent-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.news-card-vertical{transition:transform .25s ease}
.news-card-vertical:hover{transform:translateY(-4px)}
.card-image-box{height:140px;border-radius:12px;overflow:hidden;margin-bottom:12px;background:#ddd}
.card-image-box img{width:100%;height:100%;object-fit:cover}
.card-text-box h3{
  font-size:15px;line-height:1.45;font-weight:700;font-family:'Noto Sans Sinhala',sans-serif;color:#1b1b1b;margin-bottom:7px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.card-meta{font-size:12px;color:#94a3b8}

.sidebar-box{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 16px rgba(0,0,0,.05);
  margin-bottom:20px;
}
.sidebar-box h3{
  font-size:18px;font-weight:800;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #7c3aed;
}
.social-btns{display:flex;gap:10px}
.fb-btn,.x-btn{
  flex:1;text-align:center;padding:12px 10px;border-radius:6px;color:#fff;font-weight:700;font-size:14px
}
.fb-btn{background:#3b5998}.x-btn{background:#000}

.featured-popular{
  display:block;position:relative;border-radius:14px;overflow:hidden;min-height:240px;margin-bottom:18px;
}
.featured-popular img{width:100%;height:240px;object-fit:cover;transition:transform .3s ease}
.featured-popular:hover img{transform:scale(1.05)}
.featured-popular-overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;
  padding:18px;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,.1) 55%, rgba(0,0,0,0));color:#fff;
}
.featured-tag{
  align-self:flex-start;
  font-size:12px;font-weight:700;letter-spacing:.4px;
  background:rgba(255,255,255,.18);padding:5px 9px;border-radius:999px;margin-bottom:10px;
}
.featured-popular-overlay h4{
  font-size:18px;line-height:1.35;font-weight:800;font-family:'Noto Sans Sinhala',sans-serif;margin-bottom:8px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.featured-popular-overlay p{font-size:12px;color:#e5e7eb}
.popular-list{display:flex;flex-direction:column}
.popular-item{
  display:flex;gap:14px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid #ececec;align-items:flex-start;
}
.popular-item.no-border{border-bottom:none;padding-bottom:0;margin-bottom:0}
.popular-thumb{width:84px;flex:0 0 84px;height:62px;border-radius:8px;overflow:hidden;background:#ddd}
.popular-thumb img{width:100%;height:100%;object-fit:cover}
.popular-item-text h5{
  font-size:14px;line-height:1.45;font-weight:700;font-family:'Noto Sans Sinhala',sans-serif;color:#111;margin-bottom:6px;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;
}
.popular-item-text span{font-size:12px;color:#94a3b8}
.popular-item:hover h5{color:#6d28d9}

.article-page .article-shell{
  background:#fff;border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.05);padding:24px;
}
.breadcrumb{font-size:12px;color:#3b82f6;margin-bottom:10px}
.article-title-main{
  font-size:42px;line-height:1.2;font-weight:800;font-family:'Noto Sans Sinhala',sans-serif;margin-bottom:14px;
}
.article-meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:#64748b;margin-bottom:24px}
.avatar-dot{width:16px;height:16px;border-radius:50%;border:2px solid #60a5fa;display:inline-block}
.article-main-image-wrap{display:flex;justify-content:center;margin-bottom:26px}
.article-main-image{max-width:430px;width:100%;border-radius:6px}
.article-body p{font-size:15px;line-height:2;color:#334155;margin-bottom:18px}



.arts-section{margin-bottom:12px}
.arts-feature-card{margin-bottom:22px}
.arts-feature-image{position:relative;height:410px;border-radius:16px;overflow:hidden;background:#d8d8d8}
.arts-feature-image img{width:100%;height:100%;object-fit:cover}
.arts-feature-overlay{position:absolute;inset:0;padding:22px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.18) 45%,rgba(0,0,0,.06));color:#fff}
.arts-kicker{font-size:15px;font-weight:800;letter-spacing:.6px;margin-bottom:10px}
.arts-feature-overlay h3{font-family:'Noto Sans Sinhala',sans-serif;font-size:28px;line-height:1.35;font-weight:800;max-width:92%;margin-bottom:10px;text-shadow:0 2px 8px rgba(0,0,0,.26)}
.arts-meta{font-size:14px;font-weight:600;color:#e5e7eb}
.arts-grid-small{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.arts-small-card{display:block}
.arts-small-thumb{height:165px;border-radius:12px;overflow:hidden;background:#ddd;margin-bottom:12px}
.arts-small-thumb img{width:100%;height:100%;object-fit:cover}
.arts-small-content h4{font-size:15px;line-height:1.5;font-weight:700;font-family:'Noto Sans Sinhala',sans-serif;color:#111827;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.arts-small-content span{font-size:12px;color:#94a3b8}

.top-stories-list-wrap{display:flex;flex-direction:column;gap:34px}
.top-story-row{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:20px}
.top-story-row-image{position:relative;border-radius:12px;overflow:hidden;background:#ddd;height:174px}
.top-story-row-image img{width:100%;height:100%;object-fit:cover}
.top-story-row-content h3{font-size:18px;line-height:1.38;font-weight:800;font-family:'Noto Sans Sinhala',sans-serif;margin-bottom:10px;color:#0f172a}
.top-story-row-content p{font-size:14px;line-height:1.7;color:#6b7280;margin-bottom:12px}
.top-story-row-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#94a3b8}
.load-more-wrap{display:flex;justify-content:center;margin:28px 0 22px}
.load-more-btn{background:linear-gradient(90deg,#3b82f6,#d946ef);color:#fff;padding:14px 26px;border-radius:12px;font-weight:700;box-shadow:0 8px 18px rgba(109,40,217,.18)}
.footer-links-cloud{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 28px;padding:14px 12px 0;font-size:13px;color:#2563eb}
.footer-links-cloud a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

.sidebar-box{background:#fff;padding:20px;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.05);margin-bottom:20px}
.sidebar-box h3{font-size:18px;font-weight:800;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #7c3aed}
.social-btns{display:flex;gap:10px}
.fb-btn,.x-btn{flex:1;text-align:center;padding:12px 10px;border-radius:6px;color:#fff;font-weight:700;font-size:14px}
.fb-btn{background:#3b5998}.x-btn{background:#000}
.featured-popular{display:block;position:relative;border-radius:14px;overflow:hidden;min-height:240px;margin-bottom:18px}
.featured-popular img{width:100%;height:240px;object-fit:cover;transition:transform .3s ease}
.featured-popular:hover img{transform:scale(1.05)}
.featured-popular-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,.1) 55%, rgba(0,0,0,0));color:#fff}
.featured-tag{align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.4px;background:rgba(255,255,255,.18);padding:5px 9px;border-radius:999px;margin-bottom:10px}
.featured-popular-overlay h4{font-size:18px;line-height:1.35;font-weight:800;font-family:'Noto Sans Sinhala',sans-serif;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.featured-popular-overlay p{font-size:12px;color:#e5e7eb}
.popular-list{display:flex;flex-direction:column}
.popular-item{display:flex;gap:14px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid #ececec;align-items:flex-start}
.popular-item.no-border{border-bottom:none;padding-bottom:0;margin-bottom:0}
.popular-thumb{width:84px;flex:0 0 84px;height:62px;border-radius:8px;overflow:hidden;background:#ddd}
.popular-thumb img{width:100%;height:100%;object-fit:cover}
.popular-item-text h5{font-size:14px;line-height:1.45;font-weight:700;font-family:'Noto Sans Sinhala',sans-serif;color:#111;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.popular-item-text span{font-size:12px;color:#94a3b8}
.popular-item:hover h5{color:#6d28d9}
.latest-posts-box h3{margin-bottom:18px}
.latest-posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.latest-post-item{display:block}
.latest-post-thumb{height:84px;border-radius:10px;overflow:hidden;background:#ddd;margin-bottom:10px}
.latest-post-thumb img{width:100%;height:100%;object-fit:cover}
.latest-post-content h4{font-size:14px;line-height:1.45;font-weight:700;font-family:'Noto Sans Sinhala',sans-serif;color:#111827;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.latest-post-content span{font-size:12px;color:#94a3b8}
.latest-post-item:hover h4{color:#6d28d9}
.sidebar-card-icon{font-size:34px;line-height:1;color:#d1d5db;text-align:right;margin-bottom:6px}
.subscribe-box p{font-size:15px;line-height:1.7;color:#64748b;margin-bottom:16px}
.subscribe-box p a{color:#2563eb;text-decoration:underline;text-underline-offset:4px}
.sidebar-form{display:flex;flex-direction:column;gap:12px}
.sidebar-form input,.sidebar-form textarea{width:100%;border:1px solid #e5e7eb;border-radius:10px;padding:14px 14px;font-size:15px;font-family:inherit;background:#fff;outline:none}
.sidebar-form textarea{min-height:120px;resize:vertical}
.sidebar-form button{border:none;border-radius:10px;padding:14px 18px;background:linear-gradient(90deg,#3b82f6,#d946ef);color:#fff;font-size:15px;font-weight:700;cursor:pointer}



.technology-section{margin-bottom:34px}
.technology-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
.technology-card{display:block;background:#fff;border:1px solid #e8edf7;border-radius:16px;padding:14px;box-shadow:0 6px 20px rgba(15,23,42,.04);transition:transform .25s ease,box-shadow .25s ease}
.technology-thumb{position:relative;height:196px;border-radius:14px;overflow:hidden;background:#ddd;margin-bottom:14px}
.technology-thumb img{width:100%;height:100%;object-fit:cover}
.image-badge{position:absolute;left:18px;top:16px;z-index:2;background:linear-gradient(90deg,#4f83ff,#d946ef);color:#fff;font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px;line-height:1}
.technology-content h3{font-size:17px;line-height:1.5;font-weight:800;font-family:'Noto Sans Sinhala',sans-serif;color:#0f172a;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.technology-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#94a3b8}
.technology-meta .author{color:#111827;font-weight:700}
.technology-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(15,23,42,.08)}
.technology-card:hover .technology-content h3{color:#6d28d9}
.technology-card:hover .technology-thumb img{transform:scale(1.04)}
.technology-thumb img{transition:transform .3s ease}
@media (max-width: 1100px){
  .sidebar{width:300px;flex-basis:300px}
  .news-thumb{min-height:200px}
}

.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .main-wrapper{flex-direction:column}
  .sidebar{width:100%;flex-basis:auto}
  .recent-news-grid{grid-template-columns:1fr 1fr}
  .news-item-horizontal{flex-direction:column}
  .news-thumb{min-height:220px}
  .article-title-main{font-size:30px}
}
@media (max-width: 768px){
  .header-row{flex-wrap:wrap;justify-content:center}
  .nav-links{gap:16px;flex-wrap:wrap;justify-content:center}
  .recent-news-grid{grid-template-columns:1fr}
  .article-page .article-shell{padding:18px}
  .article-title-main{font-size:24px}
  .featured-popular img,.featured-popular{min-height:220px;height:auto}
}


.article-links-row{display:flex;flex-wrap:wrap;gap:14px;margin:10px 0 18px;font-size:13px}
.article-links-row a{color:#2563eb}
.reaction-card{
  width:max-content;max-width:100%;margin:0 auto 18px;background:#fff;padding:12px 16px;border-radius:999px;
  display:flex;align-items:center;gap:14px;box-shadow:0 8px 22px rgba(0,0,0,.08);border:1px solid #eef0f4;
}
.reaction-item{background:none;border:none;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:#64748b;cursor:pointer}
.reaction-item .emoji{font-size:30px;line-height:1}
.reaction-item:hover .emoji{transform:scale(1.08)}
.share-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.share-btn,.share-icon{border-radius:10px;padding:10px 14px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.share-icon{background:#f3f4f8;color:#334155;width:40px;height:40px;padding:0}
.facebook-share{background:#3b5998;color:#fff}
.twitter-share{background:#000;color:#fff}
.whatsapp-share{background:#16a34a;color:#fff}
.email-share{background:#9ca3af;color:#fff}
.comments-card{background:#fff;border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.05);padding:24px;margin-top:22px}
.comments-card h2{font-size:18px;font-weight:800;margin-bottom:16px}
.comment-box{display:flex;gap:16px;padding:18px;border:1px solid #e9edf3;border-radius:10px;margin-bottom:14px}
.comment-box.no-gap{margin-bottom:18px}
.comment-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(180deg,#d1d5db,#eceff3);flex:0 0 34px;position:relative}
.comment-avatar::after{content:'';position:absolute;left:7px;top:6px;width:20px;height:20px;border-radius:50%;background:#f8fafc;box-shadow:0 16px 0 4px #f8fafc}
.comment-content h4{font-size:15px;font-weight:800;margin-bottom:4px}
.comment-content span{display:block;font-size:12px;color:#94a3b8;margin-bottom:12px}
.comment-content p{font-size:14px;line-height:1.8;color:#334155;margin-bottom:12px}
.comment-content a{font-size:13px;color:#2563eb}
.comment-post-btn{border:1px solid #e9edf3;border-radius:10px;padding:12px;text-align:center;font-weight:700;color:#2563eb}
@media (max-width: 768px){
  .reaction-card{gap:8px;padding:10px 12px}
  .reaction-item .emoji{font-size:26px}
  .comment-box{padding:14px;gap:12px}
  .article-links-row{gap:10px;font-size:12px}
}


.foreign-header{margin-top:34px}
.foreign-news-grid .card-image-box{height:126px}

.latest-posts-box h3{margin-bottom:18px}
.latest-posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.latest-post-item{display:block}
.latest-post-thumb{height:84px;border-radius:10px;overflow:hidden;background:#ddd;margin-bottom:10px}
.latest-post-thumb img{width:100%;height:100%;object-fit:cover}
.latest-post-content h4{
  font-size:14px;line-height:1.45;font-weight:700;font-family:'Noto Sans Sinhala',sans-serif;color:#111827;margin-bottom:8px;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;
}
.latest-post-content span{font-size:12px;color:#94a3b8}
.latest-post-item:hover h4{color:#6d28d9}


.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .foreign-news-grid{grid-template-columns:1fr 1fr}
  .latest-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 768px){
  .foreign-news-grid{grid-template-columns:1fr}
  .latest-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px}
  .latest-post-thumb{height:82px}
  .latest-post-content h4{font-size:13px}
}
@media (max-width: 420px){
  .latest-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
  .latest-post-thumb{height:74px}
}


.economy-header{margin-top:34px}
.economy-news-grid{margin-bottom:8px}
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  background:#fff;
  border:1px solid #e9edf3;
  border-radius:16px;
  padding:20px;
}
.economy-card{
  background:transparent;
  border-radius:14px;
  overflow:hidden;
  transition:transform .25s ease;
}
.economy-card:hover{transform:translateY(-4px)}
.economy-thumb-wrap{
  position:relative;
  height:205px;
  border-radius:14px;
  overflow:hidden;
  background:#dbe3ef;
  margin-bottom:12px;
}
.economy-thumb-wrap img{width:100%;height:100%;object-fit:cover}
.economy-card-body h3{
  font-size:16px;
  line-height:1.5;
  font-weight:800;
  font-family:'Noto Sans Sinhala',sans-serif;
  color:#0f172a;
  margin-bottom:8px;
}
.economy-meta{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:12px;color:#94a3b8}
.economy-meta .author{font-weight:700;color:#111827}
.economy-card-large .economy-thumb-wrap{height:180px}

.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .economy-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 768px){
  .economy-grid{grid-template-columns:1fr;padding:16px;gap:20px}
  .economy-thumb-wrap{height:190px}
}


.subscribe-box,
.contact-box{
  position:relative;
  border:1px solid #e8ebf2;
  box-shadow:none;
  border-radius:14px;
}
.subscribe-box{padding-top:18px}
.sidebar-card-icon{
  position:absolute;
  top:18px;
  right:18px;
  font-size:30px;
  color:#e5e7eb;
  line-height:1;
}
.subscribe-box h3,
.contact-box h3{
  border-bottom:none;
  padding-bottom:0;
  margin-bottom:14px;
  color:#111827;
}
.subscribe-box p{
  font-size:15px;
  line-height:1.75;
  color:#6b7280;
  margin-bottom:18px;
  max-width:260px;
}
.subscribe-box p a{
  color:#2563eb;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-style:dotted;
}
.sidebar-form{display:flex;flex-direction:column;gap:14px}
.sidebar-form input,
.sidebar-form textarea{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  color:#111827;
  font-family:'Inter',sans-serif;
  font-size:15px;
  padding:14px 16px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder{color:#9ca3af}
.sidebar-form input:focus,
.sidebar-form textarea:focus{
  border-color:#8b5cf6;
  box-shadow:0 0 0 3px rgba(139,92,246,.12);
}
.sidebar-form textarea{
  min-height:124px;
  resize:vertical;
}
.sidebar-form button{
  border:none;
  border-radius:10px;
  padding:14px 18px;
  font-size:15px;
  font-weight:700;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(90deg,#3b82f6 0%, #d946ef 100%);
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.sidebar-form button:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(99,102,241,.2);
}
.sidebar-form button:active{transform:translateY(0)}
.contact-form textarea{min-height:140px}


.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .subscribe-box p{max-width:none}
}


.top-stories-header{margin-top:28px}
.top-stories-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  margin-bottom:34px;
}
.top-story-card{
  background:#fff;
  border:1px solid #e8ebf2;
  border-radius:14px;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;
}
.top-story-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 26px rgba(15,23,42,.08);
}
.top-story-image{
  height:132px;
  background:#dbe3ef;
  overflow:hidden;
}
.top-story-image img{width:100%;height:100%;object-fit:cover}
.top-story-content{padding:12px 12px 14px}
.top-story-content h3{
  font-size:14px;
  line-height:1.45;
  font-weight:700;
  font-family:'Noto Sans Sinhala',sans-serif;
  color:#111827;
  margin-bottom:8px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.top-story-content p{font-size:12px;color:#94a3b8}
.top-story-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  background:linear-gradient(90deg,#2563eb,#c026d3);
  color:#fff;
  margin-bottom:10px;
}
.top-story-featured{
  grid-column:span 2;
  grid-row:span 2;
}
.top-story-featured .top-story-image{height:220px}
.top-story-featured .top-story-content{padding:16px}
.top-story-featured .top-story-content h3{font-size:20px;line-height:1.4;-webkit-line-clamp:3}
.top-story-featured .top-story-content p{font-size:13px}
@media (max-width: 1100px){
  .top-stories-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .top-story-featured{grid-column:span 2}
}

.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .top-stories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .top-story-featured{grid-column:span 2;grid-row:auto}
}
@media (max-width: 768px){
  .top-stories-grid{grid-template-columns:1fr}
  .top-story-featured{grid-column:span 1}
  .top-story-image{height:180px}
  .top-story-featured .top-story-image{height:220px}
}


.local-top-stories-header{margin-top:38px}
.top-stories-list-wrap{display:flex;flex-direction:column;gap:34px;margin-bottom:24px}
.top-story-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.95fr);gap:22px;align-items:center}
.top-story-row-image{position:relative;border-radius:14px;overflow:hidden;background:#ddd;min-height:184px}
.top-story-row-image img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/4.3}
.top-story-row-content h3{font-size:18px;line-height:1.45;font-weight:800;font-family:'Noto Sans Sinhala',sans-serif;color:#0f172a;margin-bottom:10px}
.top-story-row-content p{font-size:13px;line-height:1.8;color:#64748b;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.top-story-row-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#94a3b8}.top-story-row-meta .author{font-weight:800;color:#111827}
.load-more-wrap{display:flex;justify-content:center;margin:16px 0 28px}
.load-more-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 26px;border-radius:12px;background:linear-gradient(90deg,#3b82f6,#d946ef);color:#fff;font-weight:700;box-shadow:0 8px 18px rgba(99,102,241,.18)}
.footer-links-cloud{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;padding:0 20px 6px;font-size:12px}
.footer-links-cloud a{color:#2563eb;text-decoration:underline;text-underline-offset:2px}

.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){.top-story-row{grid-template-columns:1fr;gap:14px}.top-story-row-image{min-height:200px}.top-story-row-image img{aspect-ratio:16/8}}
@media (max-width: 768px){.top-story-row-content h3{font-size:17px}.footer-links-cloud{gap:8px 16px;padding:0 8px 6px}}

@media (max-width: 1100px){
  .arts-feature-image{height:360px}
}

.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .recent-news-grid,.arts-grid-small,.technology-grid{grid-template-columns:1fr 1fr}
  .top-story-row{display:flex;flex-direction:column}
  .top-story-row-image{width:100%;height:240px}
  .arts-feature-overlay h3{font-size:24px;max-width:100%}
}
@media (max-width: 768px){
  .recent-news-grid,.arts-grid-small,.technology-grid{grid-template-columns:1fr}
  .arts-feature-image{height:280px}
  .arts-feature-overlay{padding:18px}
  .arts-feature-overlay h3{font-size:20px}
}


.dual-category-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:18px 0 10px}
.auto-market-card{background:#fff;border:1px solid #e8edf7;border-radius:18px;padding:18px 20px 18px;box-shadow:0 6px 24px rgba(15,23,42,.05)}
.compact-category-header{margin:0 0 16px;padding:0;border:none}
.auto-market-feature{margin-bottom:18px}
.auto-market-feature-image{position:relative;height:210px;border-radius:14px;overflow:hidden;background:#dbe3f0}
.auto-market-feature-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.auto-market-feature:hover img{transform:scale(1.04)}
.auto-market-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.15) 55%,rgba(0,0,0,0));color:#fff}
.auto-market-kicker{font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;margin-bottom:8px}
.auto-market-overlay h3{font-family:'Noto Sans Sinhala',sans-serif;font-size:16px;line-height:1.45;font-weight:800;max-width:88%;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.light-meta{font-size:12px;color:#e2e8f0;font-weight:600}
.auto-market-list{display:flex;flex-direction:column;gap:22px}
.auto-market-list-item{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:start}
.auto-market-thumb{width:96px;height:66px;border-radius:10px;overflow:hidden;background:#e5e7eb;flex-shrink:0}
.auto-market-thumb img{width:100%;height:100%;object-fit:cover}
.auto-market-list-content h4{font-family:'Noto Sans Sinhala',sans-serif;font-size:15px;line-height:1.5;font-weight:700;color:#0f172a;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.auto-market-list-content span{font-size:12px;color:#94a3b8}
.market-list-plain .auto-market-list-item{grid-template-columns:100px 1fr}
.market-list-plain .auto-market-thumb{width:100px;height:66px;border-radius:10px}
@media (max-width: 1100px){.dual-category-sections{grid-template-columns:1fr}}
@media (max-width: 767px){.auto-market-card{padding:16px}.auto-market-feature-image{height:190px}.auto-market-list-item,.market-list-plain .auto-market-list-item{grid-template-columns:86px 1fr;gap:12px}.auto-market-thumb,.market-list-plain .auto-market-thumb{width:86px;height:62px}.auto-market-overlay h3{font-size:15px;max-width:100%}}
@media (max-width: 575px){.dual-category-sections{gap:20px}.auto-market-feature-image{height:175px}.auto-market-overlay{padding:14px}}


.sports-section-card{background:#fff;border:1px solid #e8edf7;border-radius:18px;padding:18px 20px 20px;box-shadow:0 6px 24px rgba(15,23,42,.05);margin:20px 0 8px}
.sports-header-block{margin-bottom:16px}
.sports-feature-banner{margin-bottom:22px}
.sports-feature-image{position:relative;height:320px;border-radius:14px;overflow:hidden;background:#dbe3f0}
.sports-feature-image img{width:100%;height:100%;object-fit:cover;display:block}
.sports-feature-overlay{position:absolute;inset:0;display:grid;grid-template-columns:320px 1fr;background:linear-gradient(90deg,rgba(255,255,255,.78) 0%, rgba(255,255,255,.18) 28%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.16) 100%)}
.sports-trending-panel{padding:18px 20px;background:linear-gradient(90deg,rgba(241,245,249,.86),rgba(241,245,249,.68));backdrop-filter:blur(2px);display:flex;flex-direction:column;justify-content:space-between}
.sports-small-headline{font-size:18px;line-height:1.45;font-weight:700;color:#334155;max-width:220px}
.sports-trending-box h4{font-size:16px;font-weight:800;color:#1e293b;margin:0 0 12px;border-bottom:2px solid #cbd5e1;display:inline-block;padding-bottom:4px}
.sports-trending-box ol{margin:0;padding-left:24px;display:flex;flex-direction:column;gap:10px}
.sports-trending-box li{font-size:14px;line-height:1.45;color:#334155;font-weight:600}
.sports-main-copy{align-self:end;padding:24px 26px 22px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.sports-kicker{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.4px;margin-bottom:8px;text-transform:uppercase}
.sports-main-copy h3{font-family:'Noto Sans Sinhala',sans-serif;font-size:20px;line-height:1.45;font-weight:800;max-width:620px;margin:0 0 10px}
.sports-feature-meta{font-size:13px;font-weight:600;color:#e5e7eb}
.sports-grid-small{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sports-small-card{display:flex;flex-direction:column}
.sports-small-thumb{height:158px;border-radius:12px;overflow:hidden;background:#dbe3f0;margin-bottom:12px}
.sports-small-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.sports-small-content h3{font-family:'Noto Sans Sinhala',sans-serif;font-size:16px;line-height:1.45;font-weight:700;color:#0f172a;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sports-small-content span{font-size:12px;color:#94a3b8}
@media (max-width: 1100px){.sports-feature-overlay{grid-template-columns:280px 1fr}.sports-feature-image{height:300px}}

.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){.sports-grid-small{grid-template-columns:1fr 1fr}.sports-feature-overlay{grid-template-columns:1fr}.sports-trending-panel{display:none}.sports-feature-image{height:280px}.sports-main-copy{padding:18px}}
@media (max-width: 768px){.sports-section-card{padding:16px}.sports-grid-small{grid-template-columns:1fr}.sports-feature-image{height:230px}.sports-main-copy h3{font-size:18px;max-width:100%}.sports-small-thumb{height:180px}}


/* Final layout polish */
@media (min-width: 1101px){
  .sidebar{
    position:sticky;
    top:106px;
    align-self:flex-start;
  }
}

.sports-section-card{
  background:#fff;
  border-radius:14px;
  box-shadow:0 4px 16px rgba(0,0,0,.05);
  padding:18px;
  margin-bottom:30px;
}
.sports-feature-banner{margin-bottom:24px}
.sports-feature-image{
  position:relative;
  min-height:320px;
  border-radius:14px;
  overflow:hidden;
  background:#d9d9d9;
}
.sports-feature-image img{
  width:100%;height:100%;object-fit:cover;
}
.sports-feature-overlay{
  position:absolute;inset:0;
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  background:linear-gradient(90deg, rgba(22,27,39,.60) 0%, rgba(22,27,39,.40) 22%, rgba(22,27,39,.12) 55%, rgba(22,27,39,.08) 100%);
}
.sports-trending-panel{
  padding:18px 20px;
  color:#e5e7eb;
  background:linear-gradient(90deg, rgba(35,42,57,.78) 0%, rgba(35,42,57,.72) 75%, rgba(35,42,57,.35) 100%);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.sports-small-headline{font-size:14px;line-height:1.45;font-weight:600;color:#dbe2ea;max-width:220px}
.sports-trending-box h4{font-size:16px;font-weight:800;color:#fff;margin-bottom:12px}
.sports-trending-box ol{padding-left:22px;display:flex;flex-direction:column;gap:10px;color:#f1f5f9}
.sports-trending-box li{font-size:14px;line-height:1.5;font-weight:600}
.sports-main-copy{
  align-self:end;
  padding:28px 30px;
  color:#fff;
  max-width:760px;
}
.sports-kicker{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.5px;margin-bottom:10px;color:#f8fafc}
.sports-main-copy h3{font-size:24px;line-height:1.3;font-weight:800;font-family:'Noto Sans Sinhala',sans-serif;max-width:720px;text-shadow:0 2px 10px rgba(0,0,0,.25)}
.sports-feature-meta{margin-top:10px;font-size:13px;color:#f1f5f9;font-weight:600}
.sports-grid-small{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.sports-small-thumb{height:160px;border-radius:12px;overflow:hidden;background:#ddd;margin-bottom:12px}
.sports-small-thumb img{width:100%;height:100%;object-fit:cover}
.sports-small-content h3{font-size:15px;line-height:1.45;font-weight:700;font-family:'Noto Sans Sinhala',sans-serif;color:#111827;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sports-small-content span{font-size:12px;color:#94a3b8}


.site-footer{
  margin-top:40px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-top:1px solid #e5edf7;
  box-shadow:0 -8px 28px rgba(15,23,42,.04);
}
.footer-top{
  background:transparent;
  color:#0f172a;
}
.footer-top-inner{
  display:grid;
  grid-template-columns:1.1fr .95fr .85fr;
  gap:28px;
  align-items:start;
  padding:34px 20px 24px;
}
.footer-brand-block,
.footer-about-block,
.footer-social-block{
  background:#ffffff;
  border:1px solid #e6eef8;
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.footer-about-block h3,
.footer-social-title,
.footer-links-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:12px;
  color:#0f172a;
}
.footer-about-block p,
.footer-brand-copy{
  font-size:14px;
  line-height:1.85;
  color:#475569;
}
.footer-brand-copy{margin-top:6px;max-width:380px}
.footer-social-block{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.footer-social-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.footer-social-btn{
  width:42px;
  height:42px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f8fbff;
  color:#1d4ed8;
  font-weight:800;
  font-size:18px;
  border:1px solid #dbe7f5;
  transition:.2s ease;
}
.footer-social-btn:hover{
  transform:translateY(-1px);
  background:#eff6ff;
  border-color:#bfd6f6;
  color:#f97316;
}
.footer-social-empty{display:none}
.footer-mini-links{display:grid;gap:10px}
.footer-mini-links a{font-size:14px;font-weight:700;color:#334155}
.footer-mini-links a:hover{color:#f97316}
.footer-bottom{
  background:transparent;
  border-top:1px solid #e5edf7;
}
.footer-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:18px 20px 28px;
}
.footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px 16px;
}
.footer-nav a{
  color:#334155;
  font-size:14px;
  font-weight:700;
  padding:10px 14px;
  background:#fff;
  border:1px solid #e6eef8;
  border-radius:999px;
}
.footer-nav a:hover{color:#f97316;border-color:#ffd4b0;background:#fff7ed}
.footer-copy{
  font-size:13px;
  color:#64748b;
  font-weight:600;
}
.back-to-top{
  width:40px;
  height:40px;
  border-radius:12px;
  flex:0 0 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  color:#1d4ed8;
  font-weight:800;
  font-size:20px;
  border:1px solid #dbe7f5;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.back-to-top:hover{color:#f97316;border-color:#ffd4b0;background:#fff7ed}

@media (max-width: 1100px){
  .sports-feature-overlay{grid-template-columns:1fr}
  .sports-trending-panel{min-height:170px;background:linear-gradient(180deg, rgba(35,42,57,.82), rgba(35,42,57,.42));}
  .sports-main-copy{padding:22px 20px}
  .sports-grid-small{grid-template-columns:repeat(2,1fr)}
  .footer-top-inner{grid-template-columns:1fr;justify-items:start}
  .footer-social-block{justify-content:flex-start}
  .footer-bottom-inner{justify-content:space-between}
}
@media (max-width: 767px){
  .sports-feature-image{min-height:420px}
  .sports-feature-overlay{display:flex;flex-direction:column;justify-content:space-between}
  .sports-trending-panel{padding:16px 16px 10px}
  .sports-small-headline{max-width:none}
  .sports-main-copy h3{font-size:20px}
  .sports-grid-small{grid-template-columns:1fr}
  .footer-bottom-inner{flex-direction:column;align-items:flex-start}
  .footer-nav{gap:14px 18px}
}


/* Trending page */
.trending-page-wrapper{align-items:flex-start}
.trending-page-content{padding-bottom:8px}
.trending-title-row{margin-top:6px;margin-bottom:18px}
.trending-articles-list{gap:28px}
.trending-articles-list .top-story-row{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:22px;padding-bottom:0;border-bottom:none}
.trending-articles-list .top-story-row-image{height:180px}
.trending-articles-list .top-story-row-content h3{font-size:18px;line-height:1.45}
.trending-articles-list .top-story-row-content p{font-size:14px;line-height:1.75}
.trending-links-cloud{padding-bottom:8px}


.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .trending-articles-list .top-story-row{grid-template-columns:1fr;gap:14px}
  .trending-articles-list .top-story-row-image{height:210px}
}



.category-post-thumb.is-image-missing img{display:none !important}
.category-post-thumb.is-image-missing::after,
.card-image-box.is-image-missing::after,
.technology-thumb.is-image-missing::after,
.arts-small-thumb.is-image-missing::after,
.sports-small-thumb.is-image-missing::after,
.top-story-row-image.is-image-missing::after,
.news-thumb.is-image-missing::after,
.popular-thumb.is-image-missing::after,
.featured-popular.is-image-missing::after{
  content:'Image unavailable';
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:12px;
  font-size:12px;
  font-weight:700;
  color:#64748b;
  background:linear-gradient(135deg,#eef2f7,#dfe7f1);
}
.category-post-thumb,
.card-image-box,
.technology-thumb,
.arts-small-thumb,
.sports-small-thumb,
.top-story-row-image,
.news-thumb,
.popular-thumb,
.featured-popular{position:relative}

.category-page-shell{width:100%;max-width:1360px;margin:28px auto 34px;padding:0 20px}
.category-page-title{font-size:22px;font-weight:800;color:#0f172a;margin:0 0 18px}
.category-posts{display:flex;flex-direction:column;gap:26px}
.category-post-card{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);
  gap:22px;
  align-items:center;
}
.category-post-thumb{
  position:relative;
  display:block;
  height:180px;
  border-radius:10px;
  overflow:hidden;
  background:#ddd;
}
.category-post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.category-post-card:hover .category-post-thumb img{transform:scale(1.04)}
.category-post-card{background:#fff;border:1px solid #e8edf7;border-radius:18px;padding:14px;box-shadow:0 6px 20px rgba(15,23,42,.04)}
.category-post-content{padding-right:14px}
.category-post-content h2{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:20px;
  line-height:1.5;
  font-weight:800;
  font-family:'Noto Sans Sinhala',sans-serif;
  color:#0f2547;
  margin-bottom:10px;
}
.category-post-content h2.blue-link{color:#2f80ff}
.category-post-excerpt{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.55;color:#6b7280;margin-bottom:10px;font-family:'Noto Sans Sinhala',sans-serif}
.category-post-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#94a3b8}
.category-post-meta .source{font-weight:800;color:#111827}
.category-tag{
  position:absolute;left:18px;top:22px;z-index:2;
  background:linear-gradient(90deg,#4f83ff,#d946ef);
  color:#fff;font-size:12px;font-weight:700;
  padding:5px 11px;border-radius:999px;line-height:1;
}
.category-divider{height:1px;background:#eceef4}
.category-load-more{display:flex;justify-content:center;margin:26px 0 18px}
.link-cloud-wrap{padding:4px 0 8px}
.simple-placeholder{background:#fff;border-radius:16px;padding:48px 26px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.05)}
.simple-placeholder h1{font-size:34px;font-weight:800;margin-bottom:14px;color:#111827}
.simple-placeholder p{font-size:16px;line-height:1.8;color:#64748b;max-width:640px;margin:0 auto 18px}
.placeholder-btn{display:inline-block;background:linear-gradient(90deg,#3b82f6,#d946ef);color:#fff;padding:13px 24px;border-radius:12px;font-weight:700}

@media (max-width: 991px){
  .category-post-card{grid-template-columns:1fr;gap:16px}
  .category-post-thumb{height:260px}
  .category-post-content{padding-right:0}
}

@media (max-width: 767px){
  .header-row{padding:18px 20px;gap:14px;flex-wrap:wrap}
  .logo a{font-size:24px}
  .nav-links{gap:18px;flex-wrap:wrap}
  .main-wrapper{flex-direction:column}
  .sidebar{width:100%;flex:1 1 auto}
  .recent-news-grid,.arts-grid-small,.technology-grid,.latest-posts-grid{grid-template-columns:1fr}
  .top-story-row{grid-template-columns:1fr;gap:14px}
  .top-story-row-image{height:220px}
  .article-title-main{font-size:28px}
  .category-page-shell{margin-top:22px;padding:0 14px}
  .category-page-title{font-size:18px;margin-bottom:16px}
  .category-post-thumb{height:220px}
  .category-post-content h2{font-size:17px;line-height:1.45}
  .category-post-excerpt{font-size:13px;line-height:1.6}
  .footer-links-cloud{gap:10px 18px;font-size:12px}
}


/* Load more system */
.js-load-list{width:100%}
.js-load-item.is-hidden{display:none !important}
.load-more-btn.is-hidden{display:none !important}
.load-more-btn{transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease}
.load-more-btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(99,102,241,.22)}
.load-more-btn:active{transform:translateY(0)}
.trending-page-wrapper .content-area,.main-wrapper .content-area{min-width:0}
@media (min-width: 1101px){
  .trending-page-wrapper,.main-wrapper{align-items:flex-start}
  .sidebar{position:sticky;top:106px;align-self:flex-start}
}


/* Mobile responsive upgrade */
.mobile-menu-toggle,
.mobile-drawer,
.mobile-drawer-overlay{display:none}

body.mobile-nav-open{overflow:hidden}

@media (max-width: 767px){
  .main-header{position:sticky;top:0;z-index:1200}
  .header-row{
    display:grid;
    grid-template-columns:48px 1fr 40px;
    align-items:center;
    gap:10px;
    padding:14px 14px;
    min-height:72px;
  }
  .main-nav,.search-area{display:none !important}
  .sub-nav{display:none !important}
  .mobile-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border:none;
    border-radius:12px;
    background:#f3f6fb;
    color:#0f172a;
    box-shadow:0 6px 18px rgba(15,23,42,.08);
    cursor:pointer;
    padding:0;
  }
  .mobile-menu-toggle span,
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after{
    content:'';
    display:block;
    width:19px;
    height:2px;
    border-radius:999px;
    background:currentColor;
    transition:transform .24s ease, opacity .24s ease;
  }
  .mobile-menu-toggle{position:relative}
  .mobile-menu-toggle span{position:absolute}
  .mobile-menu-toggle::before{position:absolute;transform:translateY(-6px)}
  .mobile-menu-toggle::after{position:absolute;transform:translateY(6px)}
  .mobile-menu-toggle.is-open span{opacity:0}
  .mobile-menu-toggle.is-open::before{transform:rotate(45deg)}
  .mobile-menu-toggle.is-open::after{transform:rotate(-45deg)}
  .logo{display:flex;justify-content:center}
  .logo a{font-size:23px;line-height:1.05;text-align:center}
  .mobile-header-spacer{width:40px;height:40px;justify-self:end}

  .mobile-drawer-overlay{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.42);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .25s ease, visibility .25s ease;
    z-index:1300;
  }
  .mobile-drawer{
    display:flex;
    flex-direction:column;
    position:fixed;
    top:0;
    left:0;
    width:min(84vw,320px);
    height:100vh;
    background:#ffffff;
    box-shadow:0 20px 60px rgba(15,23,42,.22);
    transform:translateX(-100%);
    transition:transform .28s ease;
    z-index:1350;
    overflow-y:auto;
  }
  body.mobile-nav-open .mobile-drawer{transform:translateX(0)}
  body.mobile-nav-open .mobile-drawer-overlay{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .mobile-drawer-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 18px 14px;
    border-bottom:1px solid #e8edf7;
    position:sticky;
    top:0;
    background:#fff;
    z-index:2;
  }
  .mobile-drawer-logo{
    color:#0f172a;
    font-size:22px;
    font-weight:800;
    text-decoration:none;
    letter-spacing:.3px;
  }
  .mobile-drawer-logo span{color:#2563eb}
  .mobile-drawer-close{
    width:40px;height:40px;border:none;border-radius:10px;background:#f3f6fb;color:#0f172a;font-size:24px;cursor:pointer;
  }
  .mobile-drawer-body{padding:16px 16px 26px}
  .mobile-nav-section-title{
    font-size:12px;
    font-weight:800;
    color:#94a3b8;
    letter-spacing:.12em;
    margin:10px 0 12px;
  }
  .mobile-drawer-links,
  .mobile-drawer-sub-links{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .mobile-drawer-links a,
  .mobile-drawer-sub-links a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    text-decoration:none;
    color:#0f172a;
    background:#f8fafc;
    border:1px solid #e8edf7;
    border-radius:14px;
    padding:14px 14px;
    font-weight:700;
  }
  .mobile-drawer-links a.active,
  .mobile-drawer-sub-links a.active{
    background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));
    border-color:#cdd9ee;
  }
  .mobile-drawer-links a::after,
  .mobile-drawer-sub-links a::after{content:'›';color:#64748b;font-size:18px}

  .recent-news-grid,
  .foreign-news-grid,
  .economy-grid,
  .local-news-grid,
  .arts-grid-small,
  .technology-grid,
  .sports-grid-small,
  .latest-posts-grid,
  .top-stories-grid,
  .top-stories-list-wrap,
  .trending-articles-list{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }
  .category-posts{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  .top-stories-list-wrap .top-story-row,
  .category-post-card{
    grid-template-columns:1fr !important;
    gap:12px !important;
    height:100%;
    align-content:start;
  }
  .category-post-card,
  .top-story-row,
  .news-card-vertical,
  .technology-card,
  .arts-small-card,
  .sports-small-card,
  .top-story-card{
    height:100%;
  }
  .news-card-vertical .card-image-box{height:128px}
  .arts-small-thumb,
  .technology-thumb,
  .sports-small-thumb,
  .top-story-row-image{height:102px !important}
  .category-post-thumb{height:228px !important}
  .category-post-card{padding:12px !important;border-radius:18px !important}
  .category-post-content{display:flex;flex-direction:column;gap:8px;padding-right:0 !important}
  .category-post-meta{gap:7px !important}
  .card-text-box h3,
  .arts-small-content h4,
  .technology-content h3,
  .sports-small-content h4,
  .top-story-row-content h3,
  .category-post-content h2{font-size:14px !important;line-height:1.48 !important}
  .top-story-row-content p,
  .category-post-excerpt{font-size:12px !important;line-height:1.6 !important;-webkit-line-clamp:3 !important}
  .category-post-meta{font-size:12px !important}
  .category-tag{left:10px !important;top:10px !important;padding:4px 9px !important;font-size:10px !important}
  .news-item-horizontal .news-thumb{min-height:210px}
}

@media (max-width: 420px){
  .header-row{grid-template-columns:44px 1fr 34px;padding:12px 12px;min-height:68px}
  .logo a{font-size:20px}
  .recent-news-grid,
  .foreign-news-grid,
  .economy-grid,
  .local-news-grid,
  .arts-grid-small,
  .technology-grid,
  .sports-grid-small,
  .latest-posts-grid,
  .top-stories-grid,
  .top-stories-list-wrap,
  .trending-articles-list,
  .category-posts{gap:12px !important}
}


/* Search */
.search-area{display:flex;align-items:center;justify-content:flex-end;min-width:260px;position:relative}
.site-search{position:relative;display:flex;align-items:center;gap:10px;width:min(100%,320px);background:#fff;border:1px solid #d7dee8;border-radius:999px;padding:6px 10px 6px 8px;box-shadow:none;transition:border-color .25s ease, transform .25s ease}
.site-search:focus-within{border-color:#2563eb;box-shadow:none;transform:none}
.search-btn{width:36px;height:36px;border:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#2563eb);color:#fff;cursor:pointer;flex:0 0 36px}
.search-btn svg{width:18px;height:18px}
.search-input{border:none;outline:none;background:transparent;width:100%;font-size:14px;font-weight:600;color:#0f172a;font-family:Inter,sans-serif}
.search-input::placeholder{color:#94a3b8;font-weight:500}
.search-results{position:absolute;left:0;right:0;top:calc(100% + 12px);background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:10px;box-shadow:0 20px 45px rgba(15,23,42,.12);display:grid;gap:6px;z-index:60;max-height:360px;overflow:auto}
.search-results[hidden]{display:none !important;padding:0;border:none;box-shadow:none;max-height:0;overflow:hidden}

.search-result-item{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border-radius:14px;color:#0f172a;text-decoration:none;transition:background .2s ease, transform .2s ease}
.search-result-item:hover{background:#f8fafc;transform:translateY(-1px)}
.search-result-icon{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#eff6ff,#eef2ff);color:#2563eb;display:flex;align-items:center;justify-content:center;flex:0 0 34px}
.search-result-icon svg{width:16px;height:16px}
.search-result-text{display:grid;gap:3px;min-width:0}
.search-result-title{font-size:13px;font-weight:800;line-height:1.45;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-result-meta{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8}
.search-empty{padding:14px 12px;text-align:center;font-size:13px;font-weight:700;color:#64748b}
.search-highlight{outline:2px solid rgba(37,99,235,.18);outline-offset:4px;border-radius:16px;box-shadow:0 0 0 8px rgba(37,99,235,.05);transition:box-shadow .3s ease, outline-color .3s ease}

.mobile-categories-toggle{width:100%;border:none;background:#f8fafc;border:1px solid #e8edf7;border-radius:14px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;font-weight:800;color:#0f172a;cursor:pointer;margin-top:10px}
.mobile-categories-toggle .mobile-arrow{transition:transform .25s ease}
.mobile-categories-toggle.is-open .mobile-arrow{transform:rotate(180deg)}
.mobile-drawer-sub-links{display:grid;gap:8px;max-height:0;overflow:hidden;transition:max-height .3s ease, margin-top .3s ease}
.mobile-drawer-sub-links.is-open{max-height:560px;margin-top:12px}


.mobile-drawer-links-secondary{margin-top:12px}
.mobile-categories-toggle.is-open{background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));border-color:#cdd9ee}
.media-fallback{position:relative !important;overflow:hidden;background:linear-gradient(135deg,#eef2f7,#dbe4ef) !important;display:flex;align-items:center;justify-content:center}
.media-fallback::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(37,99,235,.10),transparent 44%),radial-gradient(circle at bottom left,rgba(217,70,239,.10),transparent 36%)}
.media-fallback-label{position:relative;z-index:1;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569;text-align:center;padding:0 12px}

@media (max-width: 900px){
  .search-area{min-width:220px}
  .site-search{width:min(100%,280px)}
}
@media (max-width: 768px){
  .header-row{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center}
  .logo{justify-self:center;text-align:center}
  .main-nav,.search-area{display:none}
  .mobile-header-spacer{width:44px;height:44px}
}


/* Brand logo update */
.brand-logo-img{display:block;height:58px;width:auto;object-fit:contain;}
.logo a{display:flex;align-items:center;justify-content:flex-start;}
.footer-logo{display:flex;align-items:center;}
.footer-logo-img{display:block;height:72px;width:auto;object-fit:contain;max-width:100%;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media (max-width: 1024px){.brand-logo-img{height:52px;}}
@media (max-width: 768px){.brand-logo-img{height:46px;}.footer-logo-img{height:62px;}.mobile-drawer-logo .brand-logo-img{height:44px;}}
@media (max-width: 480px){.brand-logo-img{height:42px;}.footer-logo-img{height:56px;}}


/* Header refinements */
.header-row{justify-content:flex-start}
.logo{flex:0 0 auto}
.main-nav{flex:0 0 auto}
.search-area{display:flex;align-items:center;justify-content:flex-start;min-width:260px;position:relative;margin-left:auto}
.site-search{justify-content:flex-start}
.search-input{text-align:left}

/* About page */
.about-page-wrap{align-items:stretch}
.about-content-area{display:flex;flex-direction:column;gap:24px}
.about-hero-card,.about-info-card,.about-story-card,.about-side-card{background:#fff;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.about-hero-card{padding:34px}
.about-kicker{display:inline-flex;align-items:center;gap:8px;background:#eff6ff;color:#1d4ed8;padding:8px 14px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px}
.about-hero-card h1{font-size:38px;line-height:1.18;margin-bottom:16px;font-family:'Noto Sans Sinhala',sans-serif;font-weight:800;color:#0f172a}
.about-hero-card p{font-size:15px;line-height:1.9;color:#475569;max-width:820px}
.about-grid-section{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.about-info-card{padding:24px}
.about-card-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#eff6ff,#f8fafc);color:#2563eb;font-weight:800;font-size:22px;margin-bottom:16px;box-shadow:inset 0 0 0 1px #dbeafe}
.about-info-card h2,.about-story-card h2{font-size:22px;margin-bottom:12px;color:#0f172a}
.about-info-card p,.about-story-card p{font-size:14px;line-height:1.85;color:#475569}
.about-story-card{padding:30px;display:grid;grid-template-columns:1.35fr .85fr;gap:26px;align-items:center}
.about-points{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.about-points li{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;font-size:13px;font-weight:700;color:#334155}
.about-story-logo-wrap{display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(180deg,#ffffff,#f8fafc);border:1px solid #e2e8f0;border-radius:18px}
.about-story-logo{max-width:100%;width:360px;height:auto;object-fit:contain}
.about-side-list{display:grid;gap:14px}
.about-side-list div{display:flex;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}
.about-side-list div:last-child{border-bottom:none;padding-bottom:0}
.about-side-list strong{font-size:13px;color:#0f172a}
.about-side-list span{font-size:13px;color:#64748b;text-align:right}
.about-tag-list{display:flex;flex-wrap:wrap;gap:10px}
.about-tag-list a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;font-size:13px;font-weight:700;color:#334155;transition:.2s ease}
.about-tag-list a:hover{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}

@media (max-width: 1024px){
  .about-grid-section{grid-template-columns:1fr 1fr}
  .about-story-card{grid-template-columns:1fr}
}
@media (max-width: 767px){
  .about-hero-card{padding:24px}
  .about-hero-card h1{font-size:28px}
  .about-grid-section{grid-template-columns:1fr}
  .about-story-card{padding:22px}
  .about-points{grid-template-columns:1fr}
}


/* Centered menu refinement */
@media (min-width: 769px){
  .header-row{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:18px;
  }
  .logo{justify-self:start}
  .main-nav{justify-self:center}
  .nav-links{justify-content:center}
  .search-area{
    justify-self:end;
    margin-left:0;
    min-width:250px;
  }
}


/* Mobile categories button match main menu cards */
.mobile-categories-toggle{
  width:100%;
  border:1px solid #e8edf7;
  background:#f8fafc;
  border-radius:14px;
  padding:14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:700;
  font-size:16px;
  color:#0f172a;
  cursor:pointer;
  margin-top:6px;
  box-shadow:none;
}
.mobile-categories-toggle::after{
  content:'›';
  color:#64748b;
  font-size:18px;
  line-height:1;
  transform:rotate(90deg);
  transition:transform .25s ease;
}
.mobile-categories-toggle .mobile-arrow{display:none;}
.mobile-categories-toggle.is-open{
  background:linear-gradient(90deg,rgba(59,130,246,.10),rgba(217,70,239,.10));
  border-color:#cdd9ee;
}
.mobile-categories-toggle.is-open::after{
  transform:rotate(270deg);
}

/* Footer logo refinements */
.footer-logo-combo{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
.footer-logo-mark{
  height:74px;
  width:220px;
  object-fit:cover;
  object-position:top center;
  max-width:100%;
}
.footer-logo-wordmark{
  display:flex;
  align-items:baseline;
  gap:6px;
  line-height:1;
  font-family: Georgia, 'Times New Roman', serif;
}
.footer-logo-the{
  color:#ffffff;
  font-size:34px;
  font-weight:700;
}
.footer-logo-reporter{
  color:#ff8a1f;
  font-size:38px;
  font-weight:700;
}
@media (max-width:768px){
  .footer-logo-mark{height:64px;width:190px;}
  .footer-logo-the{font-size:28px;}
  .footer-logo-reporter{font-size:31px;}
}
@media (max-width:480px){
  .footer-logo-mark{height:58px;width:172px;}
  .footer-logo-the{font-size:24px;}
  .footer-logo-reporter{font-size:27px;}
}


/* Footer responsive refinements */
@media (max-width: 1100px){
  .footer-top-inner{grid-template-columns:1fr;}
  .footer-bottom-inner{flex-direction:column;align-items:flex-start;}
}
@media (max-width: 767px){
  .site-footer{margin-top:32px;}
  .footer-top-inner{padding:26px 16px 18px;gap:18px;}
  .footer-brand-block,.footer-about-block,.footer-social-block{padding:18px;}
  .footer-bottom-inner{padding:16px 16px 24px;}
  .footer-nav{gap:10px;}
  .footer-nav a{padding:9px 12px;font-size:13px;}
}


/* Footer cleanup and centered alignment */
.footer-top-inner{align-items:stretch;}
.footer-brand-block,
.footer-about-block,
.footer-social-block{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.footer-brand-copy,
.footer-about-block p{
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}
.footer-logo-combo{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0;
}
.footer-logo-wordmark{
  justify-content:center;
  align-items:baseline;
}
.footer-logo-mark{display:none !important;}
.footer-logo-the{
  color:#ffffff;
  background:linear-gradient(135deg,#0f172a,#334155);
  padding:8px 14px;
  border-radius:999px;
  font-size:28px;
}
.footer-logo-reporter{
  color:#f97316;
  font-size:34px;
}
.footer-social-row,
.footer-mini-links,
.footer-nav{
  justify-content:center;
}
.footer-mini-links{
  justify-items:center;
}
.footer-bottom-inner{
  justify-content:center;
  text-align:center;
}
@media (max-width:1100px){
  .footer-top-inner{justify-items:center;}
}
@media (max-width:767px){
  .footer-bottom-inner{align-items:center;}
}


/* Footer logo synced with navbar logo */
.footer-logo-link{display:inline-flex;align-items:center;justify-content:center;}
.footer-logo.footer-logo-combo{justify-content:center;width:100%;}
.footer-logo-navbar-match{
  height:58px;
  width:auto;
  max-width:100%;
  object-fit:contain;
  display:block;
}
.footer-logo-mark,.footer-logo-wordmark,.footer-logo-the,.footer-logo-reporter{display:none !important;}
@media (max-width: 1024px){.footer-logo-navbar-match{height:52px;}}
@media (max-width: 768px){.footer-logo-navbar-match{height:46px;}}
@media (max-width: 480px){.footer-logo-navbar-match{height:42px;}}


/* Desktop polish update */
@media (min-width: 769px){
  .header-row{
    padding:12px 20px;
    gap:16px;
  }
  .brand-logo-img{
    height:72px;
  }
  .nav-links{
    gap:30px;
  }
  .nav-links a{
    font-size:15px;
    letter-spacing:.02em;
  }
  .search-area{
    min-width:280px;
  }
  .site-search{
    width:min(100%,320px);
  }

  .news-details{
    padding:22px 24px;
  }
  .news-title{
    line-height:1.42;
    margin-bottom:12px;
  }
  .news-excerpt{
    line-height:1.8;
    margin-bottom:16px;
  }
  .card-text-box h3{
    line-height:1.55;
    margin-bottom:10px;
  }
  .section-title,
  .category-title{
    letter-spacing:-.01em;
  }

  .footer-logo-navbar-match{
    height:52px;
  }
  .footer-brand-copy{
    max-width:460px;
    line-height:1.85;
  }
}


@media (max-width: 560px){
  .mobile-drawer{width:min(88vw,310px)}
  .recent-news-grid,
  .foreign-news-grid,
  .economy-grid,
  .local-news-grid,
  .arts-grid-small,
  .technology-grid,
  .sports-grid-small,
  .latest-posts-grid,
  .top-stories-grid,
  .top-stories-list-wrap,
  .trending-articles-list{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
  .category-post-thumb{height:208px !important}
}


@media (max-width: 420px){
  .category-post-thumb{height:196px !important}
  .category-post-card{padding:12px !important}
}



/* Footer redesign to match provided reference */
.site-footer{
  margin-top: 44px;
  background: #1f2d45;
  border-top: none;
  box-shadow: none;
  color: #e8edf7;
}
.footer-top,
.footer-bottom{
  background: transparent;
  color: inherit;
}
.footer-top{
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-top-inner{
  display: grid;
  grid-template-columns: 170px minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px 20px 32px;
}
.footer-brand-block,
.footer-about-block,
.footer-social-block{
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  display: block;
}
.footer-brand-block{
  align-self: center;
}
.footer-logo.footer-logo-combo,
.footer-logo-link{
  width: auto;
  justify-content: flex-start;
}
.footer-logo-navbar-match{
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.10));
}
.footer-brand-copy,
.footer-links-title,
.footer-mini-links,
.footer-copy,
.footer-social-title{
  display: none !important;
}
.footer-about-block h3{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}
.footer-about-block p{
  margin: 0;
  max-width: 980px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(238,243,251,.92);
}
.footer-social-block{
  justify-self: end;
  align-self: start;
}
.footer-social-row{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.footer-social-btn{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.04);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.footer-social-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.10);
  color: #ffffff;
}
.footer-social-row .footer-social-btn:last-child{
  color: transparent;
}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  padding: 18px 20px 22px;
  text-align: right;
}
.footer-nav{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.footer-nav a{
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  opacity: .95;
}
.footer-nav a:hover{
  color: #ffffff;
  opacity: 1;
}
.back-to-top{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#a855f7,#7c3aed);
  color: #ffffff;
  box-shadow: 0 12px 20px rgba(124,58,237,.28);
}
.back-to-top:hover{
  transform: translateY(-2px);
}

@media (max-width: 1100px){
  .footer-top-inner{
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }
  .footer-social-block,
  .footer-social-row,
  .footer-nav,
  .footer-bottom-inner{
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
  }
  .footer-bottom-inner{
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 767px){
  .site-footer{margin-top: 34px;}
  .footer-top-inner{
    padding: 24px 16px 22px;
    gap: 16px;
  }
  .footer-about-block h3{font-size: 18px;}
  .footer-about-block p{font-size: 13px;line-height: 1.75;}
  .footer-logo-navbar-match{height: 34px;}
  .footer-bottom-inner{
    padding: 16px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .footer-nav{
    gap: 10px 20px;
  }
  .footer-nav a{
    font-size: 13px;
  }
  .back-to-top{
    width: 36px;
    height: 36px;
    margin-left: 0;
  }
}


/* Footer logo resize update */
.footer-logo-custom-resized{
  height:88px;
  width:auto;
  max-width:min(100%, 360px);
  object-fit:contain;
}
@media (max-width: 1024px){
  .footer-logo-custom-resized{height:74px;max-width:320px;}
}
@media (max-width: 768px){
  .footer-logo-custom-resized{height:64px;max-width:280px;}
}
@media (max-width: 480px){
  .footer-logo-custom-resized{height:56px;max-width:240px;}
}


/* Footer social links update */
.footer-social-title{display:block !important;margin:0 0 14px;font-size:15px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.footer-social-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px 16px;justify-content:flex-end}
.footer-social-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);min-width:0;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.footer-social-item:hover{transform:translateY(-1px);background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12)}
.footer-social-item .footer-social-btn{flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
.footer-social-item .footer-social-btn svg{width:18px;height:18px;display:block}
.footer-social-text{display:flex;flex-direction:column;min-width:0}
.footer-social-text strong{font-size:14px;line-height:1.2;color:#fff}
.footer-social-text small{font-size:12px;line-height:1.45;color:rgba(232,237,247,.78);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.footer-social-row .footer-social-btn:last-child{color:#ffffff}
@media (max-width: 1100px){
  .footer-social-grid{justify-content:flex-start}
}
@media (max-width: 767px){
  .footer-social-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;justify-content:flex-start}
  .footer-social-item{width:100%;padding:10px 0;justify-content:center;gap:0;min-height:58px;border-radius:14px}
  .footer-social-item .footer-social-btn{flex:0 0 40px;margin:0 auto}
  .footer-social-text{display:none}
}
@media (max-width: 420px){
  .footer-social-grid{gap:8px}
  .footer-social-item{min-height:54px;padding:8px 0;border-radius:12px}
  .footer-social-item .footer-social-btn{width:38px;height:38px}
  .footer-social-item .footer-social-btn svg{width:17px;height:17px}
}


.floating-admin-access{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #0f172a;
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(15,23,42,0.22);
    font-weight: 600;
    font-size: 14px;
}
.floating-admin-access i{
    color: #60a5fa;
}
@media (max-width: 768px){
    .floating-admin-access{
        right: 14px;
        bottom: 14px;
        padding: 10px 14px;
        font-size: 13px;
    }
}
