/*
Theme Name: SayangSabah News V71
Theme URI: https://sayangsabah.com.my/
Author: SayangSabah / ChatGPT conversion
Description: Editorial SayangSabah theme with a wider single-post layout, weekly popular content, columnist feature, newsroom footer and an interactive Sabah district map.
Version: 2.2.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sayangsabah
*/

:root {
  --ss-red:#e60000;
  --ss-blue:#032966;
  --ss-dark:#111;
  --ss-text:#333;
  --ss-muted:#777;
  --ss-border:#e5e5e5;
  --ss-bg:#f8fafc;
  --ss-white:#fff;
  --ss-container:1060px;
  --ss-header-height:72px;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  background:var(--ss-bg);
  color:var(--ss-text);
  font-family:Inter, Arial, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a { color:inherit; text-decoration:none; }
a:hover { color:var(--ss-red); }
img { max-width:100%; height:auto; display:block; }

.ss-container {
  width:min(var(--ss-container), calc(100% - 32px));
  margin-inline:auto;
}

.ss-top-ticker {
  position:relative;
  z-index:3000;
  display:flex;
  align-items:center;
  height:34px;
  overflow:hidden;
  background:#242424;
  color:#fff;
  font-family:Georgia, 'Times New Roman', serif;
}
.ss-top-ticker.is-fixed {
  position:fixed;
  top:0;
  left:0;
  right:0;
}
.ss-top-label {
  flex:0 0 auto;
  height:100%;
  display:flex;
  align-items:center;
  padding:0 16px;
  color:#ff2a2a;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.ss-top-marquee {
  flex:1;
  height:100%;
  overflow:hidden;
  display:flex;
  align-items:center;
  transform:translateZ(0);
}
.ss-top-track {
  display:inline-flex;
  align-items:center;
  gap:64px;
  width:max-content;
  min-width:max-content;
  white-space:nowrap;
  will-change:transform;
  transform:translate3d(0,0,0);
}
.ss-top-track a {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  height:100%;
  color:#fff;
  font-size:14px;
  white-space:nowrap;
}
.ss-top-track .ss-cat {
  color:#ff2a2a;
  margin-right:6px;
}
.ss-top-track .ss-sep {
  color:#fff;
  opacity:.9;
  margin-right:8px;
}

.site-header {
  position:sticky;
  top:0;
  z-index:2900;
  min-height:var(--ss-header-height);
  background:#fff;
  box-shadow:0 1px 5px rgba(0,0,0,.08);
}
body.ss-ticker-active .site-header {
  top:34px;
}
.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:var(--ss-header-height);
  gap:24px;
}
.site-logo {
  display:flex;
  align-items:center;
  min-width:0;
}
.site-logo img {
  max-height:42px;
  width:auto;
}
.site-title {
  font-weight:800;
  font-size:24px;
  color:#111;
}
.main-navigation {
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto;
}
.main-navigation ul {
  display:flex;
  align-items:center;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
}
.main-navigation a {
  font-size:15px;
  font-weight:700;
  color:#1e293b;
}
.menu-toggle {
  display:none;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  border:0;
  background:#f1f1f1;
  color:#111;
  font-size:22px;
  cursor:pointer;
}

.site-main {
  padding:32px 0;
}
.content-layout {
  display:grid;
  grid-template-columns:minmax(0, 1fr) 300px;
  gap:32px;
  align-items:start;
}
.no-sidebar .content-layout {
  grid-template-columns:1fr;
}

.section-title {
  display:inline-flex;
  align-items:center;
  background:linear-gradient(to right, #c90000, #e60000);
  color:#fff;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
  line-height:1.75;
  padding:0 10px;
  margin:0 0 24px;
}

.post-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}
.post-card {
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 5px rgba(0,0,0,.06);
  transition:transform .18s ease;
}
.post-card:hover {
  transform:translateY(-3px);
}
.post-card-thumb {
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e5e7eb;
}
.post-card-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.post-card-body {
  padding:16px;
}
.entry-category {
  display:inline-block;
  color:var(--ss-red);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:8px;
}
.post-card-title {
  margin:0 0 8px;
  font-size:20px;
  line-height:1.15;
  font-weight:800;
  color:#111;
}
.entry-meta {
  color:var(--ss-muted);
  font-size:13px;
}
.entry-summary {
  margin:10px 0 0;
  color:#555;
  font-size:15px;
}

.single-article {
  background:#fff;
  border-radius:8px;
  box-shadow:0 1px 5px rgba(0,0,0,.06);
  padding:24px;
}
.single-article .entry-title {
  margin:0 0 12px;
  color:#111;
  font-size:36px;
  line-height:1.08;
  letter-spacing:-.03em;
  font-weight:900;
}
.single-article .entry-meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:18px;
}
.single-article .post-thumbnail {
  margin:0 0 20px;
  border-radius:8px;
  overflow:hidden;
}
.entry-content {
  font-family:Georgia, 'Times New Roman', serif;
  font-size:18px;
  line-height:1.75;
  color:#222;
}
.entry-content p {
  margin:0 0 1.4em;
}
.entry-content h2,
.entry-content h3 {
  line-height:1.25;
  margin:1.5em 0 .7em;
}
.entry-content blockquote {
  margin:1.5em 0;
  padding:18px 22px;
  border-left:4px solid var(--ss-red);
  background:#f7f7f7;
}

.inline-share {
  display:flex;
  gap:8px;
  margin:12px 0 20px;
  padding:0;
  list-style:none;
}
.inline-share a {
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  color:#fff;
  background:#111;
  font-size:13px;
  font-weight:800;
}
.inline-share .wa { background:#22bfa6; }
.inline-share .fb { background:#2f6da8; }
.inline-share .x { background:#000; }
.inline-share .mail { background:#222; }

.sidebar .widget {
  background:#fff;
  border-radius:8px;
  box-shadow:0 1px 5px rgba(0,0,0,.06);
  padding:18px;
  margin-bottom:20px;
}
.sidebar .widget-title {
  display:inline-flex;
  align-items:center;
  background:linear-gradient(to right, #032966, #0045b5);
  color:#fff;
  font-size:18px;
  font-weight:900;
  text-transform:uppercase;
  line-height:1.75;
  padding:0 10px;
  margin:0 0 16px;
}
.sidebar ul {
  margin:0;
  padding:0;
  list-style:none;
}
.sidebar li + li {
  border-top:1px solid var(--ss-border);
  padding-top:12px;
  margin-top:12px;
}

.ss-article-popular {
  display:none;
  background:#fff;
  border-top:1px solid #d9d9d9;
  border-bottom:1px solid #d9d9d9;
  overflow:hidden;
}
.ss-article-popular-inner {
  position:relative;
  min-height:82px;
  padding:8px 62px 8px 14px;
}
.ss-article-popular-title {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:25px;
  min-width:116px;
  padding:0 10px;
  border:1px solid #d9d9d9;
  border-top:0;
  font-size:11px;
  font-weight:800;
  color:#111;
  background:#fff;
}
.ss-article-popular-item {
  display:none;
  grid-template-columns:88px 1fr;
  gap:12px;
  align-items:center;
  min-height:66px;
}
.ss-article-popular-item.is-active {
  display:grid;
}
.ss-article-popular-item img {
  width:88px;
  height:66px;
  object-fit:cover;
  background:#e5e7eb;
}
.ss-article-popular-copy .cat {
  color:#e60000;
  font-family:Georgia, 'Times New Roman', serif;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.ss-article-popular-copy h3 {
  margin:2px 0 0;
  color:#111;
  font-family:Georgia, 'Times New Roman', serif;
  font-size:15px;
  line-height:1.08;
}
.ss-pop-nav {
  position:absolute;
  right:9px;
  width:32px;
  height:32px;
  border:0;
  border-radius:50%;
  background:#ef1824;
  color:#fff;
  cursor:pointer;
}
.ss-pop-next { top:8px; }
.ss-pop-prev { top:48px; }

#ss-social-follow-card {
  position:fixed;
  right:0;
  bottom:100px;
  z-index:99999;
  display:flex;
  flex-direction:row-reverse;
  align-items:stretch;
  gap:0;
  padding:0;
  background:transparent;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  overflow:visible;
  transition:opacity .22s ease, visibility .22s ease;
}
#ss-social-follow-card.show {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
#ss-social-follow-card .ss-social-icons {
  display:flex;
  flex-direction:column;
  width:40px;
  min-width:40px;
  height:160px;
  overflow:hidden;
  border-radius:14px 0 0 14px;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}
#ss-social-follow-card .ss-social-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  color:#fff;
  font-size:13px;
  font-weight:900;
}
#ss-social-follow-card .facebook { background:#4267B2; }
#ss-social-follow-card .tiktok { background:#000; }
#ss-social-follow-card .instagram { background:linear-gradient(135deg,#feda75 0%,#fa7e1e 25%,#d62976 55%,#962fbf 78%,#4f5bd5 100%); }
#ss-social-follow-card .whatsapp { background:#25D366; }
#ss-social-follow-card .ss-follow-label {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  width:27px;
  min-width:27px;
  height:160px;
  padding:25px 2px 5px;
  background:rgba(255,255,255,.94);
  box-shadow:0 5px 14px rgba(0,0,0,.08);
  overflow:hidden;
}
#ss-social-follow-card .ss-follow-logo-wrap {
  display:flex;
  align-items:center;
  justify-content:center;
  width:17px;
  height:78px;
  margin:0 0 2px;
  overflow:visible;
}
#ss-social-follow-card .ss-follow-logo-img {
  display:block;
  width:69px;
  max-width:none;
  height:auto;
  transform:rotate(-90deg);
  transform-origin:center center;
}
#ss-social-follow-card .ss-follow-word {
  display:block;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  transform:rotate(180deg);
  font-family:Arial,sans-serif;
  font-size:.54rem;
  font-weight:900;
  line-height:1;
  color:#111;
  white-space:nowrap;
}
#ss-social-follow-card .ss-social-close {
  position:absolute;
  top:3px;
  right:3px;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height:14px;
  background:#d9d9d9;
  color:#fff;
  font-size:.72rem;
  line-height:1;
  cursor:pointer;
}

.site-footer {
  background:#171717;
  color:#f8fafc;
  padding:32px 0;
  margin-top:32px;
}
.site-footer a { color:#fff; }

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns:1fr;
  }
  .post-grid {
    grid-template-columns:1fr;
  }
  .main-navigation {
    display:none;
    position:absolute;
    top:var(--ss-header-height);
    left:0;
    right:0;
    background:#fff;
    border-top:1px solid var(--ss-border);
    box-shadow:0 6px 12px rgba(0,0,0,.08);
    padding:12px 16px;
  }
  .main-navigation.is-open {
    display:block;
  }
  .main-navigation ul {
    display:block;
  }
  .main-navigation li + li {
    margin-top:10px;
  }
  .menu-toggle {
    display:flex;
  }
}

@media (max-width: 767px) {
  :root {
    --ss-header-height:64px;
  }
  body.ss-ticker-active .site-header {
    top:32px;
  }
  .ss-top-ticker {
    height:32px;
  }
  .ss-top-label,
  .ss-top-track a {
    font-size:12px;
  }
  .site-logo img {
    max-height:34px;
  }
  .site-main {
    padding:18px 0;
  }
  .single-article {
    padding:16px;
    border-radius:0;
  }
  .single-article .entry-title {
    font-size:29px;
  }
  .entry-content {
    font-size:17px;
    line-height:1.68;
  }
  .ss-article-popular {
    display:block;
    position:sticky;
    top:calc(32px + var(--ss-header-height));
    z-index:2500;
  }
}


/* Homepage featured posts like Blogger front grid */
.ss-featured-section{
  margin:8px 0 28px;
}
.ss-featured-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.ss-featured-card{
  position:relative;
  min-height:300px;
  border-radius:8px;
  overflow:hidden;
  background:#1f2937;
  box-shadow:0 1px 5px rgba(0,0,0,.08);
  transform:none !important;
}
.ss-featured-link{
  position:absolute;
  inset:0;
  display:block;
  color:#fff;
}
.ss-featured-image{
  position:absolute;
  inset:0;
  background:#d1d5db;
}
.ss-featured-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.ss-featured-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.72) 100%);
}
.ss-featured-content{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:2;
}
.ss-featured-cat{
  display:inline-flex;
  align-items:center;
  background:#0061ff;
  color:#fff;
  border-radius:8px;
  padding:5px 10px;
  font-size:14px;
  line-height:1;
  margin-bottom:14px;
}
.ss-featured-content h2{
  margin:0 0 8px;
  color:#fff;
  font-size:28px;
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.02em;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}
.ss-featured-content time{
  color:#e5e7eb;
  font-size:15px;
}
.post-card-thumb{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e5e7eb;
}
.post-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.ss-thumb-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:160px;
  background:#e5e7eb;
  color:#68bfd0;
  font-size:24px;
  font-weight:900;
}
@media (max-width: 900px){
  .ss-featured-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 767px){
  .ss-featured-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .ss-featured-card{
    min-height:260px;
  }
  .ss-featured-content{
    left:18px;
    right:18px;
    bottom:18px;
  }
  .ss-featured-content h2{
    font-size:26px;
  }
}


/* Homepage category sections */
.ss-category-section{
  margin:0 0 28px;
}
.ss-category-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
}
.ss-category-section-title{
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:0 14px;
  min-height:48px;
  background:#e60000;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}
.ss-category-section-more{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#111;
  font-size:18px;
  font-weight:500;
}
.ss-category-section-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr);
  gap:26px;
}
.ss-category-lead,
.ss-category-mini-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 1px 5px rgba(0,0,0,.06);
  overflow:hidden;
}
.ss-category-lead-link{
  display:grid;
  grid-template-columns:minmax(260px, 1fr) minmax(280px, 1fr);
  align-items:center;
  gap:24px;
  padding:28px;
}
.ss-category-lead-media{
  border-radius:14px;
  overflow:hidden;
  background:#e5e7eb;
}
.ss-category-lead-media img{
  width:100%;
  height:100%;
  min-height:270px;
  object-fit:cover;
}
.ss-category-lead-copy{
  color:#334155;
}
.ss-category-kicker{
  display:block;
  margin:0 0 16px;
  color:#111;
  font-size:19px;
  font-weight:900;
  text-transform:uppercase;
}
.ss-category-lead-copy h3{
  margin:0 0 14px;
  color:#334155;
  font-size:33px;
  line-height:1.02;
  letter-spacing:-.03em;
  font-weight:900;
}
.ss-category-lead-copy p{
  margin:0 0 16px;
  color:#64748b;
  font-size:18px;
  line-height:1.45;
}
.ss-category-lead-copy time{
  color:#94a3b8;
  font-size:18px;
}
.ss-category-mini-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:26px;
}
.ss-category-mini-link{
  display:grid;
  grid-template-columns:196px minmax(0, 1fr);
  gap:18px;
  align-items:center;
  min-height:170px;
  padding:28px;
}
.ss-category-mini-media{
  border-radius:14px;
  overflow:hidden;
  background:#e5e7eb;
}
.ss-category-mini-media img{
  width:100%;
  height:118px;
  object-fit:cover;
}
.ss-category-mini-copy h4{
  margin:0 0 10px;
  color:#334155;
  font-size:24px;
  line-height:1.02;
  letter-spacing:-.02em;
  font-weight:900;
}
.ss-category-mini-copy time{
  color:#94a3b8;
  font-size:16px;
}

/* Keep placeholders working inside new category blocks */
.ss-category-lead-media .ss-thumb-placeholder,
.ss-category-mini-media .ss-thumb-placeholder{
  min-height:118px;
  font-size:18px;
}

/* Responsive */
@media (max-width: 1200px){
  .ss-category-lead-link{
    grid-template-columns:1fr;
  }
}
@media (max-width: 1024px){
  .ss-category-section-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 767px){
  .ss-category-section{
    margin:0 0 22px;
  }
  .ss-category-section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .ss-category-section-title{
    min-height:40px;
    font-size:24px;
    padding:0 12px;
  }
  .ss-category-section-more{
    font-size:16px;
  }
  .ss-category-lead-link{
    padding:18px;
    gap:16px;
  }
  .ss-category-lead-media img{
    min-height:210px;
  }
  .ss-category-kicker{
    margin-bottom:10px;
    font-size:17px;
  }
  .ss-category-lead-copy h3{
    font-size:26px;
  }
  .ss-category-lead-copy p,
  .ss-category-lead-copy time{
    font-size:16px;
  }
  .ss-category-mini-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .ss-category-mini-link{
    grid-template-columns:120px minmax(0, 1fr);
    min-height:auto;
    padding:18px;
    gap:14px;
  }
  .ss-category-mini-media img{
    height:92px;
  }
  .ss-category-mini-copy h4{
    font-size:22px;
  }
  .ss-category-mini-copy time{
    font-size:15px;
  }
}


/* V4: Full homepage layout like SayangSabah Blogger */
.ss-homepage-main{
  padding-top:24px;
}
.ss-featured-full{
  margin:0 0 26px;
}
.ss-featured-full .ss-featured-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}
.ss-featured-full .ss-featured-card{
  min-height:315px;
  border-radius:8px;
}
.ss-featured-full .ss-featured-content h2{
  font-size:27px;
  line-height:1.03;
}
.ss-featured-full .ss-featured-cat{
  background:#0061ff;
  border-radius:8px;
  padding:6px 10px;
}

.ss-homepage-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 300px;
  gap:28px;
  align-items:start;
}
.ss-home-main-column{
  min-width:0;
}
.ss-home-category-block{
  margin:0 0 24px;
}
.ss-home-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 12px;
}
.ss-home-section-title{
  display:inline-flex;
  align-items:center;
  margin:0;
  min-height:28px;
  padding:0 8px;
  background:#e60000;
  color:#fff;
  font-size:16px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}
.ss-home-section-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#111;
  font-size:13px;
  font-weight:500;
}
.ss-home-category-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.12fr) minmax(0, 1fr);
  gap:18px;
}
.ss-home-lead-card,
.ss-home-mini-card{
  background:#fff;
  border-radius:8px;
  box-shadow:0 1px 5px rgba(0,0,0,.06);
  overflow:hidden;
}
.ss-home-lead-card > a{
  display:grid;
  grid-template-columns:230px minmax(0, 1fr);
  gap:18px;
  align-items:center;
  padding:14px;
}
.ss-home-lead-media{
  overflow:hidden;
  border-radius:6px;
  background:#e5e7eb;
}
.ss-home-lead-media img{
  width:100%;
  height:150px;
  object-fit:cover;
}
.ss-home-kicker{
  display:block;
  margin:0 0 8px;
  color:#111;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.ss-home-lead-copy h3{
  margin:0 0 8px;
  color:#334155;
  font-size:21px;
  line-height:1.04;
  letter-spacing:-.02em;
  font-weight:900;
}
.ss-home-lead-copy p{
  margin:0 0 8px;
  color:#64748b;
  font-size:14px;
  line-height:1.35;
}
.ss-home-lead-copy time{
  color:#94a3b8;
  font-size:13px;
}
.ss-home-mini-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}
.ss-home-mini-card > a{
  display:grid;
  grid-template-columns:96px minmax(0, 1fr);
  gap:12px;
  align-items:center;
  min-height:96px;
  padding:12px;
}
.ss-home-mini-media{
  overflow:hidden;
  border-radius:6px;
  background:#e5e7eb;
}
.ss-home-mini-media img{
  width:96px;
  height:72px;
  object-fit:cover;
}
.ss-home-mini-copy h4{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0 0 6px;
  color:#334155;
  font-size:16px;
  line-height:1.05;
  letter-spacing:-.01em;
  font-weight:900;
}
.ss-home-mini-copy time{
  color:#94a3b8;
  font-size:12px;
}

/* Sidebar closer to Blogger homepage */
.sidebar .widget.ss-sidebar-widget{
  padding:12px;
  border-radius:8px;
}
.sidebar .widget-title{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  margin:0 0 12px;
  background:linear-gradient(to right, #032966, #0045b5);
  color:#fff;
  font-size:14px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
}
.ss-sidebar-list{
  display:grid;
  gap:12px;
}
.ss-sidebar-post{
  display:grid;
  grid-template-columns:84px minmax(0, 1fr);
  gap:10px;
  align-items:center;
  padding:0 0 10px;
  border-bottom:1px solid #eef2f7;
}
.ss-sidebar-post:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.ss-sidebar-thumb{
  display:block;
  overflow:hidden;
  border-radius:5px;
  background:#e5e7eb;
}
.ss-sidebar-thumb img{
  width:84px;
  height:62px;
  object-fit:cover;
}
.ss-sidebar-copy strong{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#334155;
  font-size:13px;
  line-height:1.1;
  font-weight:900;
}
.ss-sidebar-copy time{
  display:block;
  margin-top:5px;
  color:#94a3b8;
  font-size:11px;
}

/* Reduce bottom empty feel */
.site-main{
  min-height:auto;
}
.site-footer{
  margin-top:18px;
}

@media (max-width: 1100px){
  .ss-homepage-layout{
    grid-template-columns:1fr;
  }
  .sidebar{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
  }
}
@media (max-width: 900px){
  .ss-featured-full .ss-featured-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .ss-home-category-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 767px){
  .ss-homepage-main{
    padding-top:16px;
  }
  .ss-featured-full .ss-featured-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .ss-featured-full .ss-featured-card{
    min-height:265px;
  }
  .ss-featured-full .ss-featured-content h2{
    font-size:25px;
  }
  .ss-home-section-head{
    margin-bottom:10px;
  }
  .ss-home-lead-card > a{
    grid-template-columns:1fr;
  }
  .ss-home-lead-media img{
    height:210px;
  }
  .ss-home-mini-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .ss-home-mini-card > a{
    grid-template-columns:118px minmax(0, 1fr);
  }
  .ss-home-mini-media img{
    width:118px;
    height:88px;
  }
  .sidebar{
    grid-template-columns:1fr;
  }
}


/* V5: Fix category section squeezed layout */
.ss-home-category-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:18px !important;
}

.ss-home-lead-card > a{
  display:grid !important;
  grid-template-columns:minmax(260px, 42%) minmax(0, 1fr) !important;
  gap:24px !important;
  align-items:center !important;
  padding:22px !important;
}

.ss-home-lead-media img{
  width:100% !important;
  height:250px !important;
  min-height:250px !important;
  object-fit:cover !important;
}

.ss-home-lead-copy{
  min-width:0 !important;
}

.ss-home-lead-copy h3{
  display:block !important;
  margin:0 0 10px !important;
  font-size:29px !important;
  line-height:1.05 !important;
  max-width:100% !important;
  overflow:visible !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
}

.ss-home-lead-copy p{
  font-size:17px !important;
  line-height:1.45 !important;
  max-width:100% !important;
}

.ss-home-mini-grid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:18px !important;
}

.ss-home-mini-card > a{
  display:grid !important;
  grid-template-columns:150px minmax(0, 1fr) !important;
  gap:16px !important;
  align-items:center !important;
  min-height:120px !important;
  padding:18px !important;
}

.ss-home-mini-media img{
  width:150px !important;
  height:98px !important;
  object-fit:cover !important;
}

.ss-home-mini-copy{
  min-width:0 !important;
}

.ss-home-mini-copy h4{
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  margin:0 0 8px !important;
  font-size:22px !important;
  line-height:1.05 !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
}

/* Make homepage content column wider before sidebar */
.ss-homepage-layout{
  grid-template-columns:minmax(0, 1fr) 280px !important;
  gap:24px !important;
}

@media (max-width: 1100px){
  .ss-homepage-layout{
    grid-template-columns:1fr !important;
  }
}

@media (max-width: 767px){
  .ss-home-lead-card > a{
    grid-template-columns:1fr !important;
    padding:16px !important;
    gap:14px !important;
  }

  .ss-home-lead-media img{
    height:210px !important;
    min-height:210px !important;
  }

  .ss-home-lead-copy h3{
    font-size:25px !important;
  }

  .ss-home-lead-copy p{
    font-size:16px !important;
  }

  .ss-home-mini-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .ss-home-mini-card > a{
    grid-template-columns:118px minmax(0, 1fr) !important;
    min-height:auto !important;
    padding:14px !important;
    gap:12px !important;
  }

  .ss-home-mini-media img{
    width:118px !important;
    height:86px !important;
  }

  .ss-home-mini-copy h4{
    font-size:20px !important;
  }
}


/* V6: Reduce homepage category title sizes */
.ss-home-lead-copy h3{
  font-size:24px !important;
  line-height:1.08 !important;
  letter-spacing:-.015em !important;
}

.ss-home-lead-copy p{
  font-size:15px !important;
  line-height:1.42 !important;
}

.ss-home-mini-copy h4{
  font-size:18px !important;
  line-height:1.08 !important;
  letter-spacing:-.01em !important;
  -webkit-line-clamp:2 !important;
}

.ss-home-kicker{
  font-size:11px !important;
  margin-bottom:7px !important;
}

.ss-home-lead-copy time,
.ss-home-mini-copy time{
  font-size:12px !important;
}

/* Top featured card title also slightly reduced */
.ss-featured-full .ss-featured-content h2{
  font-size:24px !important;
  line-height:1.04 !important;
}

/* Mobile */
@media (max-width:767px){
  .ss-home-lead-copy h3{
    font-size:22px !important;
  }

  .ss-home-mini-copy h4{
    font-size:17px !important;
  }

  .ss-featured-full .ss-featured-content h2{
    font-size:22px !important;
  }
}


/* V7: Allow category mini titles up to 3 lines */
.ss-home-mini-copy h4{
  -webkit-line-clamp:3 !important;
  line-clamp:3;
  min-height:3.24em;
}


/* V8: TERKINI ticker fixed above header and keeps moving during scroll */
body.ss-ticker-active{
  padding-top:34px !important;
}

.ss-top-ticker{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:5000 !important;
  height:34px !important;
  min-height:34px !important;
  max-height:34px !important;
  transform:translateZ(0);
  -webkit-transform:translateZ(0);
}

.site-header{
  position:sticky !important;
  top:34px !important;
  z-index:4900 !important;
}

.ss-top-track{
  animation:none !important;
  -webkit-animation:none !important;
  will-change:transform !important;
  transform:translate3d(0,0,0);
  -webkit-transform:translate3d(0,0,0);
}

body.admin-bar .ss-top-ticker{
  top:32px !important;
}

body.admin-bar .site-header{
  top:66px !important;
}

@media(max-width:782px){
  body.admin-bar .ss-top-ticker{
    top:46px !important;
  }

  body.admin-bar .site-header{
    top:78px !important;
  }
}

@media(max-width:767px){
  body.ss-ticker-active{
    padding-top:32px !important;
  }

  .ss-top-ticker{
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
  }

  .site-header{
    top:32px !important;
  }
}


/* V9: Fix TERKINI/header overlap on single post mobile */
html{
  scroll-padding-top:calc(34px + var(--ss-header-height, 72px));
}

body.ss-ticker-active{
  padding-top:34px !important;
}

body.ss-ticker-active .site-header{
  position:sticky !important;
  top:34px !important;
  z-index:4900 !important;
}

.ss-top-ticker{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  height:34px !important;
  min-height:34px !important;
  max-height:34px !important;
  z-index:5000 !important;
  transform:translate3d(0,0,0) !important;
  -webkit-transform:translate3d(0,0,0) !important;
  backface-visibility:hidden;
}

.ss-top-ticker.ss-ticker-body-fixed{
  position:fixed !important;
}

.ss-top-track{
  animation:none !important;
  -webkit-animation:none !important;
}

body.admin-bar .ss-top-ticker{
  top:32px !important;
}

body.admin-bar.ss-ticker-active .site-header{
  top:66px !important;
}

body.single .ss-article-popular{
  top:calc(34px + var(--ss-header-height, 72px)) !important;
  z-index:4500 !important;
}

@media(max-width:782px){
  body.admin-bar .ss-top-ticker{
    top:46px !important;
  }

  body.admin-bar.ss-ticker-active .site-header{
    top:78px !important;
  }
}

@media(max-width:767px){
  html{
    scroll-padding-top:calc(32px + var(--ss-header-height, 64px));
  }

  body.ss-ticker-active{
    padding-top:32px !important;
  }

  .ss-top-ticker{
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
  }

  body.ss-ticker-active .site-header{
    top:32px !important;
  }

  body.single .ss-article-popular{
    top:calc(32px + var(--ss-header-height, 64px)) !important;
  }

  .single-article{
    margin-top:0 !important;
  }
}


/* V10: Footer redesign like requested screenshot */
.site-footer.ss-footer-redesign{
  margin-top:24px !important;
  padding:0 !important;
  background:transparent !important;
  color:#fff !important;
}

.ss-footer-top{
  background:#fff;
  padding:56px 0 54px;
}

.ss-footer-top-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

.ss-footer-logo{
  display:inline-flex;
  align-items:center;
}

.ss-footer-logo img{
  display:block;
  width:auto;
  max-width:340px;
  max-height:72px;
}

.ss-footer-social{
  display:flex;
  align-items:center;
  gap:18px;
}

.ss-footer-social-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  border-radius:14px;
  background:#050505;
  color:#fff !important;
  font-size:34px;
  line-height:1;
  font-weight:900;
  text-decoration:none !important;
}

.ss-footer-social-btn:hover{
  opacity:.86;
  color:#fff !important;
}

.ss-footer-bottom{
  background:#171717;
  color:#fff;
  padding:28px 0;
}

.ss-footer-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

.ss-footer-contact{
  color:#f5f5f5;
  font-size:21px;
  line-height:1.4;
  font-weight:400;
}

.ss-footer-contact a{
  color:#f5f5f5 !important;
  text-decoration:none !important;
}

.ss-footer-menu ul{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:34px;
  margin:0;
  padding:0;
  list-style:none;
}

.ss-footer-menu a{
  color:#f5f5f5 !important;
  font-size:21px;
  line-height:1.4;
  font-weight:400;
  text-decoration:none !important;
}

.ss-footer-menu a:hover,
.ss-footer-contact a:hover{
  color:#ff4b4b !important;
}

@media(max-width:900px){
  .ss-footer-top{
    padding:42px 0 40px;
  }

  .ss-footer-top-inner,
  .ss-footer-bottom-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .ss-footer-social{
    align-self:flex-start;
  }

  .ss-footer-menu ul{
    justify-content:flex-start;
    gap:18px 26px;
  }
}

@media(max-width:767px){
  .ss-footer-top{
    padding:34px 0;
  }

  .ss-footer-logo img{
    max-width:260px;
    max-height:58px;
  }

  .ss-footer-social-btn{
    width:52px;
    height:52px;
    border-radius:12px;
    font-size:28px;
  }

  .ss-footer-bottom{
    padding:24px 0;
  }

  .ss-footer-contact,
  .ss-footer-menu a{
    font-size:17px;
  }

  .ss-footer-menu ul{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }
}


/* V11: Footer compact size like reference */
.ss-footer-top{
  padding:32px 0 30px !important;
}

.ss-footer-logo img{
  max-width:220px !important;
  max-height:48px !important;
}

.ss-footer-social{
  gap:12px !important;
}

.ss-footer-social-btn{
  width:44px !important;
  height:44px !important;
  border-radius:10px !important;
  font-size:24px !important;
}

.ss-footer-bottom{
  padding:18px 0 !important;
}

.ss-footer-bottom-inner{
  gap:24px !important;
}

.ss-footer-contact{
  font-size:15px !important;
  line-height:1.4 !important;
}

.ss-footer-menu ul{
  gap:24px !important;
}

.ss-footer-menu a{
  font-size:15px !important;
  line-height:1.4 !important;
}

@media(max-width:900px){
  .ss-footer-top{
    padding:28px 0 26px !important;
  }

  .ss-footer-top-inner,
  .ss-footer-bottom-inner{
    gap:18px !important;
  }
}

@media(max-width:767px){
  .ss-footer-top{
    padding:24px 0 !important;
  }

  .ss-footer-logo img{
    max-width:190px !important;
    max-height:42px !important;
  }

  .ss-footer-social-btn{
    width:40px !important;
    height:40px !important;
    border-radius:9px !important;
    font-size:22px !important;
  }

  .ss-footer-bottom{
    padding:18px 0 !important;
  }

  .ss-footer-contact,
  .ss-footer-menu a{
    font-size:15px !important;
  }

  .ss-footer-menu ul{
    gap:10px !important;
  }
}


/* V12: Footer size matched to header logo/menu scale */
.ss-footer-top{
  padding:22px 0 !important;
}

.ss-footer-top-inner{
  min-height:auto !important;
  gap:18px !important;
}

.ss-footer-logo img{
  max-width:none !important;
  max-height:42px !important; /* same as header logo */
  width:auto !important;
}

.ss-footer-social{
  gap:10px !important;
}

.ss-footer-social-btn{
  width:40px !important;
  height:40px !important;
  border-radius:10px !important;
  font-size:22px !important;
}

.ss-footer-bottom{
  padding:14px 0 !important;
}

.ss-footer-bottom-inner{
  gap:18px !important;
}

.ss-footer-contact{
  font-size:15px !important; /* same as header menu */
  line-height:1.4 !important;
}

.ss-footer-menu ul{
  gap:18px !important;
}

.ss-footer-menu a{
  font-size:15px !important; /* same as header menu */
  line-height:1.4 !important;
}

@media(max-width:767px){
  .ss-footer-top{
    padding:18px 0 !important;
  }

  .ss-footer-logo img{
    max-height:42px !important;
  }

  .ss-footer-social-btn{
    width:38px !important;
    height:38px !important;
    font-size:20px !important;
  }

  .ss-footer-bottom{
    padding:14px 0 !important;
  }

  .ss-footer-contact,
  .ss-footer-menu a{
    font-size:15px !important;
  }
}


/* V13: Single post layout matched to left reference */
.single-article{
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}

.single-article .entry-header{
  margin-bottom:14px;
}

.single-article .entry-title{
  margin:0 0 14px !important;
  color:#394963 !important;
  font-size:56px !important;
  line-height:1.06 !important;
  letter-spacing:-.03em !important;
  font-weight:900 !important;
}

.entry-category{
  display:none !important;
}

.entry-meta.entry-meta-with-logo{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin-bottom:18px !important;
  color:#8692a8 !important;
  font-size:18px !important;
  line-height:1.35 !important;
  font-weight:500 !important;
}

.entry-author-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.entry-author-logo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:999px;
  background:#f6f6f6;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
  font-weight:900;
  font-size:24px;
  line-height:1;
  overflow:hidden;
}

.entry-author-logo-badge .ss1{
  color:#83c7da;
}

.entry-author-logo-badge .ss2{
  color:#f16a63;
  margin-left:-1px;
}

.entry-author-name{
  color:#364155;
  font-weight:700;
}

.entry-meta-sep{
  color:#98a5ba;
  font-weight:500;
}

.inline-share{
  display:flex;
  gap:10px;
  margin:14px 0 22px !important;
}

.inline-share a{
  width:44px !important;
  height:44px !important;
  font-size:18px !important;
  font-weight:800 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

.inline-share .mail{
  background:#1d1d1d !important;
}

.inline-share .wa{
  background:#34c6b0 !important;
}

.inline-share .x{
  background:#000 !important;
}

.inline-share .fb{
  background:#3d79b5 !important;
}

.single-article .post-thumbnail{
  margin:0 0 24px !important;
  border-radius:0 !important;
  overflow:visible !important;
}

.single-article .post-thumbnail img{
  display:block;
  width:100%;
  height:auto;
  border-radius:0 !important;
}

.entry-content{
  font-family:inherit !important;
  font-size:19px !important;
  line-height:1.72 !important;
  color:#58667c !important;
}

.entry-content p{
  margin:0 0 1.5em !important;
}

.entry-content strong{
  color:#405068;
}

.entry-content blockquote{
  background:#f7f8fa !important;
  border-left:4px solid var(--ss-red);
}

@media (max-width: 1024px){
  .single-article .entry-title{
    font-size:48px !important;
  }
}

@media (max-width: 767px){
  .single-article .entry-title{
    font-size:34px !important;
    line-height:1.08 !important;
    margin-bottom:12px !important;
  }

  .entry-meta.entry-meta-with-logo{
    font-size:15px !important;
    gap:6px !important;
    margin-bottom:16px !important;
  }

  .entry-author-logo-badge{
    width:38px;
    height:38px;
    font-size:20px;
  }

  .inline-share{
    gap:8px;
    margin:12px 0 18px !important;
  }

  .inline-share a{
    width:40px !important;
    height:40px !important;
    font-size:16px !important;
  }

  .entry-content{
    font-size:17px !important;
    line-height:1.7 !important;
  }
}


/* V14: make mobile single post smaller and fuller like right reference */
@media (max-width: 767px){
  .site-main{
    padding:20px 0 16px !important;
  }

  .ss-container{
    width:min(var(--ss-container), calc(100% - 24px)) !important;
  }

  .single-article .entry-header{
    margin-bottom:10px !important;
  }

  .single-article .entry-title{
    font-size:28px !important;
    line-height:1.08 !important;
    letter-spacing:-.02em !important;
    margin:0 0 10px !important;
    color:#3b4c67 !important;
  }

  .entry-meta.entry-meta-with-logo{
    font-size:13px !important;
    line-height:1.35 !important;
    gap:6px !important;
    margin-bottom:12px !important;
  }

  .entry-author-badge{
    gap:8px !important;
  }

  .entry-author-logo-badge{
    width:32px !important;
    height:32px !important;
    font-size:18px !important;
  }

  .inline-share{
    gap:6px !important;
    margin:8px 0 14px !important;
  }

  .inline-share a{
    width:32px !important;
    height:32px !important;
    font-size:14px !important;
  }

  .single-article .post-thumbnail{
    margin:0 0 18px !important;
  }

  .single-article .post-thumbnail img{
    width:100% !important;
    height:auto !important;
  }

  .entry-content{
    font-size:16px !important;
    line-height:1.68 !important;
  }

  .entry-content p{
    margin:0 0 1.35em !important;
  }
}


/* V15: Single post white background + restore right social follow */
body.single,
body.single .site-outer,
body.single #page,
body.single .site-main,
body.single .single-article{
  background:#fff !important;
}

body.single .site-main{
  padding-top:20px !important;
}

body.single .single-article{
  box-shadow:none !important;
  border:0 !important;
}

/* Keep floating social visible on single post unless user taps close */
body.single #ss-social-follow-card{
  display:flex !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  right:0 !important;
  bottom:120px !important;
  z-index:99999 !important;
}

body.single #ss-social-follow-card:not(.ss-user-closed){
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

body.single #ss-social-follow-card.ss-user-closed{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

@media(max-width:767px){
  body.single,
  body.single .site-main,
  body.single .single-article{
    background:#fff !important;
  }

  body.single .site-main{
    padding-top:18px !important;
  }

  body.single #ss-social-follow-card{
    right:0 !important;
    bottom:118px !important;
    transform:scale(.94);
    transform-origin:right center;
  }
}


/* V16: Hide floating social after 30% scroll */
body.single #ss-social-follow-card.ss-scroll-hidden,
#ss-social-follow-card.ss-scroll-hidden,
body.single #ss-social-follow-card.ss-user-closed,
#ss-social-follow-card.ss-user-closed{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}


/* V17: Desktop single post typography matched closer to reference */
@media (min-width: 901px){
  body.single .content-layout{
    grid-template-columns:minmax(0, 640px) 320px !important;
    gap:34px !important;
    justify-content:center !important;
    align-items:start !important;
  }

  body.single .main-content{
    max-width:640px !important;
    width:100% !important;
  }

  body.single .single-article .entry-title{
    font-size:38px !important;
    line-height:1.08 !important;
    letter-spacing:-.025em !important;
    margin-bottom:14px !important;
    color:#34445f !important;
  }

  body.single .entry-meta.entry-meta-with-logo{
    font-size:14px !important;
    line-height:1.35 !important;
    margin-bottom:14px !important;
    gap:7px !important;
  }

  body.single .entry-author-logo-badge{
    width:30px !important;
    height:30px !important;
    font-size:17px !important;
  }

  body.single .entry-author-badge{
    gap:8px !important;
  }

  body.single .inline-share{
    gap:8px !important;
    margin:10px 0 18px !important;
  }

  body.single .inline-share a{
    width:34px !important;
    height:34px !important;
    font-size:14px !important;
  }

  body.single .single-article .post-thumbnail{
    margin-bottom:16px !important;
  }

  body.single .entry-content{
    font-size:16px !important;
    line-height:1.68 !important;
    color:#4f5f75 !important;
  }

  body.single .entry-content p{
    margin-bottom:1.3em !important;
  }
}

/* Medium desktop/tablet */
@media (min-width: 768px) and (max-width: 1100px){
  body.single .single-article .entry-title{
    font-size:34px !important;
  }

  body.single .entry-content{
    font-size:16px !important;
  }
}


/* V20: Align single post with header logo/container left edge */
@media (min-width: 901px){
  body.single .site-main > .ss-container.content-layout{
    width:min(var(--ss-container), calc(100% - 32px)) !important;
    max-width:var(--ss-container) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    display:grid !important;
    grid-template-columns:minmax(0, 640px) 300px !important;
    gap:34px !important;
    justify-content:start !important;
    align-items:start !important;
  }

  body.single .main-content{
    width:100% !important;
    max-width:640px !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
  }

  body.single .single-article{
    margin-left:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.single .single-article .entry-title,
  body.single .single-article .entry-header,
  body.single .single-article .post-thumbnail,
  body.single .single-article .entry-content{
    margin-left:0 !important;
  }
}

/* Keep tablet sensible */
@media (min-width: 901px) and (max-width: 1120px){
  body.single .site-main > .ss-container.content-layout{
    grid-template-columns:minmax(0, 1fr) 280px !important;
    gap:28px !important;
  }

  body.single .main-content{
    max-width:none !important;
  }
}


/* V21: Make desktop single-post sidebar wider so total post container visually matches header width */
@media (min-width: 1200px){
  body.single .site-main > .ss-container.content-layout{
    grid-template-columns:minmax(0, 640px) minmax(0, 386px) !important;
    gap:34px !important;
  }

  body.single .sidebar{
    width:100% !important;
    max-width:none !important;
  }
}


/* V23: Single post bottom categories + published date */
.entry-footer.entry-footer-bottom-meta{
  margin-top:26px !important;
  padding-top:8px !important;
}

.entry-bottom-row{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:20px !important;
  margin-top:8px !important;
}

.entry-categories-wrap{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:12px !important;
}

.entry-cat-label,
.entry-cat-pill{
  display:inline-flex !important;
  align-items:center !important;
  min-height:46px !important;
  padding:0 18px !important;
  border-radius:14px !important;
  font-size:18px !important;
  line-height:1 !important;
  text-decoration:none !important;
}

.entry-cat-label{
  background:#3d4a64 !important;
  color:#fff !important;
  font-weight:700 !important;
}

.entry-cat-pill{
  background:#f3f3f5 !important;
  color:#46536b !important;
  font-weight:500 !important;
}

.entry-cat-pill:hover{
  color:#fff !important;
  background:#2f66c9 !important;
}

.entry-published-on{
  margin-left:auto !important;
  color:#4b5a71 !important;
  font-size:18px !important;
  line-height:1.35 !important;
  font-style:italic !important;
  font-weight:700 !important;
  text-align:right !important;
  white-space:nowrap !important;
}

@media (max-width: 767px){
  .entry-footer.entry-footer-bottom-meta{
    margin-top:20px !important;
  }

  .entry-bottom-row{
    flex-direction:column-reverse !important;
    align-items:flex-start !important;
    gap:16px !important;
  }

  .entry-categories-wrap{
    gap:8px !important;
  }

  .entry-cat-label,
  .entry-cat-pill{
    min-height:38px !important;
    padding:0 14px !important;
    border-radius:12px !important;
    font-size:15px !important;
  }

  .entry-published-on{
    margin-left:0 !important;
    font-size:15px !important;
    text-align:left !important;
    white-space:normal !important;
  }
}


/* V24: smaller bottom meta + hide comments */
.entry-footer.entry-footer-bottom-meta{
  margin-top:22px !important;
  padding-top:4px !important;
}

.entry-bottom-row{
  gap:14px !important;
  margin-top:4px !important;
}

.entry-categories-wrap{
  gap:10px !important;
}

.entry-cat-label,
.entry-cat-pill{
  min-height:34px !important;
  padding:0 16px !important;
  border-radius:12px !important;
  font-size:14px !important;
}

.entry-published-on{
  font-size:15px !important;
  line-height:1.3 !important;
}

.comments-area,
.comment-respond,
#comments{
  display:none !important;
}

@media (max-width: 767px){
  .entry-footer.entry-footer-bottom-meta{
    margin-top:18px !important;
  }

  .entry-bottom-row{
    gap:12px !important;
  }

  .entry-cat-label,
  .entry-cat-pill{
    min-height:32px !important;
    padding:0 12px !important;
    border-radius:10px !important;
    font-size:13px !important;
  }

  .entry-published-on{
    font-size:14px !important;
  }
}


/* V25: Mobile bottom meta - published date on right and slightly smaller */
@media (max-width: 767px){
  .entry-bottom-row{
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    width:100% !important;
  }

  .entry-categories-wrap{
    flex:0 1 auto !important;
    gap:7px !important;
  }

  .entry-cat-label,
  .entry-cat-pill{
    min-height:30px !important;
    padding:0 10px !important;
    border-radius:10px !important;
    font-size:12px !important;
  }

  .entry-published-on{
    flex:1 1 auto !important;
    margin-left:auto !important;
    font-size:12px !important;
    line-height:1.25 !important;
    text-align:right !important;
    white-space:normal !important;
  }
}

@media (max-width: 420px){
  .entry-bottom-row{
    gap:8px !important;
  }

  .entry-cat-label,
  .entry-cat-pill{
    min-height:28px !important;
    padding:0 9px !important;
    font-size:11.5px !important;
  }

  .entry-published-on{
    font-size:11.5px !important;
  }
}


/* V27: Paling Popular mobile - square small thumbnail + small title like SS Reporters */
@media (max-width: 767px){
  body.single .ss-article-popular .ss-article-popular-inner{
    padding:8px 58px 8px 14px !important;
    min-height:96px !important;
  }

  body.single .ss-article-popular-item{
    grid-template-columns:86px minmax(0, 1fr) !important;
    gap:12px !important;
    align-items:center !important;
    min-height:86px !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:86px !important;
    height:86px !important;
    min-width:86px !important;
    min-height:86px !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    border-radius:0 !important;
  }

  body.single .ss-article-popular-copy{
    min-width:0 !important;
    max-width:100% !important;
  }

  body.single .ss-article-popular-copy .cat{
    display:block !important;
    font-size:13px !important;
    line-height:1.05 !important;
    margin:0 0 4px !important;
  }

  body.single .ss-article-popular-copy h3{
    font-size:13px !important;
    line-height:1.12 !important;
    letter-spacing:0 !important;
    font-weight:800 !important;
    margin:0 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  body.single .ss-pop-nav{
    width:40px !important;
    height:40px !important;
    right:10px !important;
  }

  body.single .ss-pop-next{
    top:8px !important;
  }

  body.single .ss-pop-prev{
    top:52px !important;
  }
}

@media (max-width: 430px){
  body.single .ss-article-popular .ss-article-popular-inner{
    padding-right:54px !important;
  }

  body.single .ss-article-popular-item{
    grid-template-columns:78px minmax(0, 1fr) !important;
    gap:10px !important;
    min-height:78px !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:78px !important;
    height:78px !important;
    min-width:78px !important;
    min-height:78px !important;
  }

  body.single .ss-article-popular-copy .cat{
    font-size:12px !important;
  }

  body.single .ss-article-popular-copy h3{
    font-size:12.5px !important;
    line-height:1.12 !important;
  }

  body.single .ss-pop-nav{
    width:38px !important;
    height:38px !important;
    right:8px !important;
  }

  body.single .ss-pop-prev{
    top:50px !important;
  }
}


/* V28: Paling Popular mobile layout like reference image */
@media (max-width: 767px){
  body.single .ss-article-popular{
    background:#fff !important;
    border-top:1px solid #d7d7d7 !important;
    border-bottom:1px solid #d7d7d7 !important;
    overflow:visible !important;
  }

  body.single .ss-article-popular-inner{
    position:relative !important;
    min-height:148px !important;
    padding:18px 70px 18px 112px !important;
    display:flex !important;
    align-items:center !important;
  }

  body.single .ss-article-popular-title{
    position:absolute !important;
    left:182px !important;
    top:-1px !important;
    z-index:4 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:150px !important;
    height:38px !important;
    padding:0 18px !important;
    border:1px solid #d7d7d7 !important;
    border-top:0 !important;
    background:#fff !important;
    color:#111 !important;
    font-family:Arial,sans-serif !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:1 !important;
  }

  body.single .ss-article-popular-item{
    display:none !important;
    grid-template-columns:175px minmax(0, 1fr) !important;
    gap:34px !important;
    align-items:center !important;
    width:100% !important;
    min-height:124px !important;
  }

  body.single .ss-article-popular-item.is-active{
    display:grid !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:175px !important;
    height:124px !important;
    min-width:175px !important;
    min-height:124px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
    border-radius:0 !important;
  }

  body.single .ss-article-popular-copy{
    min-width:0 !important;
    max-width:100% !important;
    padding-top:30px !important;
  }

  body.single .ss-article-popular-copy .cat{
    display:block !important;
    margin:0 0 8px !important;
    color:#e60000 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-size:24px !important;
    line-height:1 !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
  }

  body.single .ss-article-popular-copy h3{
    display:block !important;
    margin:0 !important;
    color:#111 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-size:26px !important;
    line-height:1.05 !important;
    letter-spacing:0 !important;
    font-weight:900 !important;
    overflow:visible !important;
    -webkit-line-clamp:unset !important;
    -webkit-box-orient:unset !important;
  }

  body.single .ss-pop-nav{
    width:62px !important;
    height:62px !important;
    right:14px !important;
    border-radius:50% !important;
    background:#f31320 !important;
    font-size:30px !important;
  }

  body.single .ss-pop-next{
    top:20px !important;
  }

  body.single .ss-pop-prev{
    top:88px !important;
  }
}

@media (max-width: 430px){
  body.single .ss-article-popular-inner{
    min-height:124px !important;
    padding:14px 58px 14px 28px !important;
  }

  body.single .ss-article-popular-title{
    left:190px !important;
    height:34px !important;
    min-width:130px !important;
    padding:0 12px !important;
    font-size:13px !important;
  }

  body.single .ss-article-popular-item{
    grid-template-columns:150px minmax(0, 1fr) !important;
    gap:18px !important;
    min-height:100px !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:150px !important;
    height:100px !important;
    min-width:150px !important;
    min-height:100px !important;
  }

  body.single .ss-article-popular-copy{
    padding-top:26px !important;
  }

  body.single .ss-article-popular-copy .cat{
    font-size:18px !important;
    margin-bottom:6px !important;
  }

  body.single .ss-article-popular-copy h3{
    font-size:19px !important;
    line-height:1.05 !important;
  }

  body.single .ss-pop-nav{
    width:44px !important;
    height:44px !important;
    right:8px !important;
    font-size:22px !important;
  }

  body.single .ss-pop-next{
    top:16px !important;
  }

  body.single .ss-pop-prev{
    top:66px !important;
  }
}


/* V29: Keep Paling Popular mobile layout but restore normal/smaller size */
@media (max-width: 767px){
  body.single .ss-article-popular{
    background:#fff !important;
    border-top:1px solid #d7d7d7 !important;
    border-bottom:1px solid #d7d7d7 !important;
    overflow:visible !important;
  }

  body.single .ss-article-popular-inner{
    min-height:94px !important;
    padding:8px 56px 8px 24px !important;
    display:flex !important;
    align-items:center !important;
  }

  body.single .ss-article-popular-title{
    position:absolute !important;
    left:204px !important;
    top:-1px !important;
    z-index:4 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:142px !important;
    height:34px !important;
    padding:0 14px !important;
    border:1px solid #d7d7d7 !important;
    border-top:0 !important;
    background:#fff !important;
    color:#111 !important;
    font-family:Arial,sans-serif !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;
  }

  body.single .ss-article-popular-item{
    display:none !important;
    grid-template-columns:148px minmax(0, 1fr) !important;
    gap:20px !important;
    align-items:center !important;
    width:100% !important;
    min-height:84px !important;
  }

  body.single .ss-article-popular-item.is-active{
    display:grid !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:148px !important;
    height:84px !important;
    min-width:148px !important;
    min-height:84px !important;
    object-fit:cover !important;
    border-radius:0 !important;
  }

  body.single .ss-article-popular-copy{
    min-width:0 !important;
    max-width:100% !important;
    padding-top:26px !important;
  }

  body.single .ss-article-popular-copy .cat{
    display:block !important;
    margin:0 0 4px !important;
    color:#e60000 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-size:16px !important;
    line-height:1 !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
  }

  body.single .ss-article-popular-copy h3{
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    margin:0 !important;
    color:#111 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-size:17px !important;
    line-height:1.05 !important;
    letter-spacing:0 !important;
    font-weight:900 !important;
    overflow:hidden !important;
  }

  body.single .ss-pop-nav{
    width:42px !important;
    height:42px !important;
    right:8px !important;
    border-radius:50% !important;
    background:#f31320 !important;
    font-size:22px !important;
  }

  body.single .ss-pop-next{
    top:12px !important;
  }

  body.single .ss-pop-prev{
    top:58px !important;
  }
}

@media (max-width: 430px){
  body.single .ss-article-popular-inner{
    min-height:92px !important;
    padding:8px 54px 8px 28px !important;
  }

  body.single .ss-article-popular-title{
    left:190px !important;
    height:32px !important;
    min-width:126px !important;
    padding:0 10px !important;
    font-size:13px !important;
  }

  body.single .ss-article-popular-item{
    grid-template-columns:150px minmax(0, 1fr) !important;
    gap:12px !important;
    min-height:82px !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:150px !important;
    height:82px !important;
    min-width:150px !important;
    min-height:82px !important;
  }

  body.single .ss-article-popular-copy{
    padding-top:24px !important;
  }

  body.single .ss-article-popular-copy .cat{
    font-size:14px !important;
    margin-bottom:4px !important;
  }

  body.single .ss-article-popular-copy h3{
    font-size:14.5px !important;
    line-height:1.05 !important;
  }

  body.single .ss-pop-nav{
    width:40px !important;
    height:40px !important;
    right:8px !important;
    font-size:20px !important;
  }

  body.single .ss-pop-next{
    top:12px !important;
  }

  body.single .ss-pop-prev{
    top:56px !important;
  }
}


/* V30: Refine mobile Paling Popular section */
@media (max-width: 767px){
  body.single .ss-article-popular{
    background:#fff !important;
    border-top:1px solid #d9d9d9 !important;
    border-bottom:1px solid #d9d9d9 !important;
  }

  body.single .ss-article-popular-inner{
    min-height:88px !important;
    padding:8px 50px 8px 18px !important;
    display:flex !important;
    align-items:center !important;
  }

  body.single .ss-article-popular-title{
    position:absolute !important;
    left:170px !important;
    top:-1px !important;
    z-index:5 !important;
    min-width:118px !important;
    height:28px !important;
    padding:0 10px !important;
    border:1px solid #d9d9d9 !important;
    border-top:0 !important;
    background:#fff !important;
    color:#111 !important;
    font-family:Arial,sans-serif !important;
    font-size:12px !important;
    line-height:1 !important;
    font-weight:800 !important;
  }

  body.single .ss-article-popular-item{
    display:none !important;
    grid-template-columns:132px minmax(0, 1fr) !important;
    gap:12px !important;
    align-items:center !important;
    width:100% !important;
    min-height:78px !important;
  }

  body.single .ss-article-popular-item.is-active{
    display:grid !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:132px !important;
    height:78px !important;
    min-width:132px !important;
    min-height:78px !important;
    object-fit:cover !important;
    border-radius:0 !important;
  }

  body.single .ss-article-popular-copy{
    min-width:0 !important;
    max-width:100% !important;
    padding-top:20px !important;
  }

  body.single .ss-article-popular-copy .cat{
    display:block !important;
    margin:0 0 3px !important;
    color:#e60000 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
  }

  body.single .ss-article-popular-copy h3{
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    margin:0 !important;
    color:#111 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-size:13.5px !important;
    line-height:1.05 !important;
    letter-spacing:0 !important;
    font-weight:900 !important;
    overflow:hidden !important;
  }

  body.single .ss-pop-nav{
    width:36px !important;
    height:36px !important;
    right:7px !important;
    border-radius:50% !important;
    background:#f31320 !important;
    color:#fff !important;
    font-size:18px !important;
  }

  body.single .ss-pop-next{
    top:11px !important;
  }

  body.single .ss-pop-prev{
    top:50px !important;
  }
}

@media (max-width: 430px){
  body.single .ss-article-popular-inner{
    min-height:86px !important;
    padding:8px 48px 8px 18px !important;
  }

  body.single .ss-article-popular-title{
    left:158px !important;
    min-width:112px !important;
    height:26px !important;
    padding:0 8px !important;
    font-size:11px !important;
  }

  body.single .ss-article-popular-item{
    grid-template-columns:124px minmax(0, 1fr) !important;
    gap:10px !important;
    min-height:76px !important;
  }

  body.single .ss-article-popular-item img,
  body.single .ss-article-popular-item .ss-thumb-placeholder{
    width:124px !important;
    height:76px !important;
    min-width:124px !important;
    min-height:76px !important;
  }

  body.single .ss-article-popular-copy{
    padding-top:18px !important;
  }

  body.single .ss-article-popular-copy .cat{
    font-size:12px !important;
    margin-bottom:3px !important;
  }

  body.single .ss-article-popular-copy h3{
    font-size:12.5px !important;
    line-height:1.05 !important;
  }

  body.single .ss-pop-nav{
    width:34px !important;
    height:34px !important;
    right:7px !important;
    font-size:17px !important;
  }

  body.single .ss-pop-next{
    top:11px !important;
  }

  body.single .ss-pop-prev{
    top:48px !important;
  }
}


/* V31: Align Paling Popular label with category/title text */
@media (max-width: 767px){
  body.single .ss-article-popular-title{
    left:162px !important; /* padding-left 18 + thumbnail 132 + gap 12 */
    justify-content:flex-start !important;
    text-align:left !important;
  }

  body.single .ss-article-popular-copy{
    padding-top:20px !important;
  }
}

@media (max-width: 430px){
  body.single .ss-article-popular-title{
    left:152px !important; /* padding-left 18 + thumbnail 124 + gap 10 */
  }
}


/* V32: Fine tune Paling Popular label alignment */
@media (max-width: 767px){
  body.single .ss-article-popular-title{
    left:152px !important;
  }
}

@media (max-width: 430px){
  body.single .ss-article-popular-title{
    left:142px !important;
  }
}

/* V35: Featured image caption on single articles */
.single-article .post-thumbnail .featured-image-caption {
  display:block;
  width:100%;
  margin:8px 0 0;
  padding:0 12px;
  color:#6b7280;
  font-family:Inter, Arial, sans-serif;
  font-size:12px;
  font-style:normal;
  font-weight:400;
  line-height:1.45;
  text-align:center;
}

.single-article .post-thumbnail .featured-image-caption a {
  color:inherit;
  text-decoration:underline;
}

@media (max-width: 767px) {
  .single-article .post-thumbnail .featured-image-caption {
    margin-top:7px;
    font-size:11px;
    line-height:1.4;
  }
}



/* V38: Hide post tags below the category metadata on single articles */
body.single .entry-tags {
  display:none !important;
}

/* V42: Editorial homepage preview */
:root{
  --ss-container:1200px;
  --ss-radius:10px;
}

/* Accessible controls and focus */
a:focus-visible,
button:focus-visible,
input:focus-visible{
  outline:3px solid #ffbf47;
  outline-offset:3px;
}

/* Top ticker with pause control */
.ss-top-marquee{
  min-width:0;
}
.ss-ticker-toggle{
  flex:0 0 36px;
  width:36px;
  height:34px;
  border:0;
  border-left:1px solid rgba(255,255,255,.16);
  background:#242424;
  color:#fff;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.ss-ticker-toggle:hover,
.ss-ticker-toggle[aria-pressed="true"]{
  background:#3a3a3a;
}

/* Navigation extras and search */
.header-inner{
  position:relative;
}
.ss-search-toggle{
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;
  border-radius:50%;
  background:#fff;
  color:#111827;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.ss-search-toggle:hover{
  background:#f3f4f6;
  color:var(--ss-red);
}
.ss-header-search{
  border-top:1px solid #eef2f7;
  background:#fff;
  box-shadow:0 8px 16px rgba(15,23,42,.06);
}
.ss-header-search[hidden]{
  display:none !important;
}
.ss-header-search .ss-container{
  padding:14px 0;
}
.ss-header-search .search-form{
  display:flex;
  gap:8px;
}
.ss-header-search label{
  flex:1;
}
.ss-header-search .search-field{
  width:100%;
  height:44px;
  padding:0 14px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  font-size:16px;
}
.ss-header-search .search-submit{
  min-width:96px;
  border:0;
  border-radius:8px;
  background:var(--ss-red);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.main-navigation .ss-nav-more{
  position:relative;
}
.main-navigation .ss-nav-more-toggle{
  border:0;
  padding:0;
  background:transparent;
  color:#1e293b;
  font:inherit;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
.main-navigation .ss-nav-more .sub-menu{
  position:absolute;
  top:calc(100% + 16px);
  right:0;
  z-index:50;
  display:none;
  min-width:170px;
  padding:8px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  box-shadow:0 14px 30px rgba(15,23,42,.14);
}
.main-navigation .ss-nav-more.is-open .sub-menu,
.main-navigation .ss-nav-more:hover .sub-menu,
.main-navigation .ss-nav-more:focus-within .sub-menu{
  display:block;
}
.main-navigation .ss-nav-more .sub-menu li{
  margin:0;
}
.main-navigation .ss-nav-more .sub-menu a{
  display:block;
  padding:9px 10px;
  border-radius:6px;
  white-space:nowrap;
}
.main-navigation .ss-nav-more .sub-menu a:hover{
  background:#f8fafc;
}

/* 1 lead + 4 secondary + 1 strip feature hierarchy */
.ss-featured-editorial{
  margin:0 0 28px;
}
.ss-featured-editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(420px,.95fr);
  grid-template-areas:
    "lead side"
    "strip strip";
  gap:16px;
}
.ss-featured-lead,
.ss-featured-secondary{
  position:relative;
  overflow:hidden;
  border-radius:var(--ss-radius);
  background:#111827;
  box-shadow:0 3px 14px rgba(15,23,42,.12);
}
.ss-featured-lead{
  grid-area:lead;
  min-height:500px;
}
.ss-featured-side-grid{
  grid-area:side;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:16px;
}
.ss-featured-secondary{
  min-height:242px;
}
.ss-featured-editorial .ss-featured-link{
  position:absolute;
  inset:0;
  display:block;
  color:#fff;
}
.ss-featured-editorial .ss-featured-image,
.ss-featured-editorial .ss-featured-overlay{
  position:absolute;
  inset:0;
}
.ss-featured-editorial .ss-featured-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.ss-featured-editorial article:hover .ss-featured-image img{
  transform:scale(1.025);
}
.ss-featured-editorial .ss-featured-overlay{
  background:linear-gradient(180deg,rgba(0,0,0,.03) 25%,rgba(0,0,0,.82) 100%);
}
.ss-featured-editorial .ss-featured-content{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:2;
}
.ss-featured-editorial .ss-featured-cat{
  display:inline-flex;
  margin:0 0 10px;
  padding:5px 9px;
  border-radius:5px;
  background:var(--ss-red);
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}
.ss-featured-lead h1{
  max-width:760px;
  margin:0 0 10px;
  color:#fff;
  font-size:44px;
  line-height:1.02;
  letter-spacing:-.035em;
  font-weight:900;
  text-shadow:0 2px 6px rgba(0,0,0,.3);
}
.ss-featured-secondary .ss-featured-content{
  left:16px;
  right:16px;
  bottom:16px;
}
.ss-featured-secondary h2{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0 0 7px;
  color:#fff;
  font-size:20px;
  line-height:1.04;
  letter-spacing:-.02em;
  font-weight:900;
  text-shadow:0 1px 3px rgba(0,0,0,.4);
}
.ss-featured-editorial time{
  color:#e5e7eb;
  font-size:12px;
}
.ss-featured-strip{
  grid-area:strip;
  overflow:hidden;
  border:1px solid #e5e7eb;
  border-left:5px solid var(--ss-red);
  border-radius:var(--ss-radius);
  background:#fff;
  box-shadow:0 2px 10px rgba(15,23,42,.06);
}
.ss-featured-strip > a{
  display:grid;
  grid-template-columns:120px minmax(0,1fr) 36px;
  gap:16px;
  align-items:center;
  min-height:92px;
  padding:10px 16px 10px 10px;
}
.ss-featured-strip-media{
  overflow:hidden;
  border-radius:7px;
}
.ss-featured-strip-media img,
.ss-featured-strip-media .ss-thumb-placeholder{
  width:120px;
  height:72px;
  min-height:72px;
  object-fit:cover;
}
.ss-featured-strip-copy{
  min-width:0;
}
.ss-featured-strip-cat{
  display:block;
  margin-bottom:3px;
  color:var(--ss-red);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}
.ss-featured-strip-copy strong{
  display:block;
  color:#111827;
  font-size:20px;
  line-height:1.08;
  font-weight:900;
}
.ss-featured-strip-copy time{
  display:block;
  margin-top:6px;
  color:#94a3b8;
}
.ss-featured-strip-arrow{
  color:var(--ss-red);
  font-size:28px;
  font-weight:700;
}

/* Homepage columns and less repetitive category cards */
.ss-homepage-layout{
  grid-template-columns:minmax(0,1fr) 320px !important;
  gap:30px !important;
}
.ss-home-category-block{
  margin-bottom:30px;
}
.ss-home-section-head{
  padding-bottom:8px;
  border-bottom:2px solid #111827;
}
.ss-home-section-title{
  min-height:auto;
  padding:0;
  background:transparent;
  color:#111827;
  font-size:22px;
  letter-spacing:-.02em;
}
.ss-home-section-title::before{
  content:"";
  width:5px;
  height:23px;
  margin-right:9px;
  border-radius:2px;
  background:var(--ss-red);
}
.ss-home-section-more{
  color:#475569;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.ss-home-category-grid{
  gap:14px !important;
}
.ss-home-lead-card,
.ss-home-mini-card{
  border:1px solid #edf0f4;
  box-shadow:0 2px 10px rgba(15,23,42,.045);
}
.ss-home-lead-card > a{
  grid-template-columns:minmax(260px,44%) minmax(0,1fr) !important;
  padding:16px !important;
  gap:20px !important;
}
.ss-home-lead-media img{
  height:220px !important;
  min-height:220px !important;
}
.ss-home-lead-copy h3{
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  font-size:27px !important;
}
.ss-home-lead-copy p{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:15px !important;
}
.ss-home-mini-grid{
  gap:14px !important;
}
.ss-home-mini-card > a{
  grid-template-columns:128px minmax(0,1fr) !important;
  min-height:108px !important;
  padding:12px !important;
  gap:13px !important;
}
.ss-home-mini-media img{
  width:128px !important;
  height:84px !important;
}
.ss-home-mini-copy h4{
  -webkit-line-clamp:3 !important;
  font-size:18px !important;
  line-height:1.08 !important;
}

/* Numbered weekly popular list */
.sidebar .widget.ss-sidebar-widget{
  padding:16px;
  border:1px solid #e8edf3;
  border-radius:var(--ss-radius);
  box-shadow:0 2px 12px rgba(15,23,42,.055);
}
.ss-sidebar-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:13px;
  padding-bottom:9px;
  border-bottom:2px solid #0f172a;
}
.sidebar .ss-sidebar-heading-row .widget-title{
  min-height:auto;
  margin:0;
  padding:0;
  background:transparent;
  color:#0f172a;
  font-size:17px;
  letter-spacing:-.01em;
}
.ss-sidebar-period,
.ss-sidebar-all{
  color:#64748b;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}
.ss-numbered-list{
  gap:0;
}
.ss-numbered-post{
  grid-template-columns:42px minmax(0,1fr);
  gap:11px;
  min-height:74px;
  padding:10px 0;
}
.ss-sidebar-rank{
  color:#cbd5e1;
  font-family:Georgia,'Times New Roman',serif;
  font-size:31px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.05em;
}
.ss-numbered-post:nth-child(-n+3) .ss-sidebar-rank{
  color:var(--ss-red);
}
.ss-numbered-post .ss-sidebar-copy strong{
  font-size:14px;
  line-height:1.15;
}
.ss-popular-extra{
  display:none;
}
.ss-numbered-list.is-expanded .ss-popular-extra{
  display:grid;
}
.ss-popular-more{
  width:100%;
  margin-top:12px;
  padding:10px 12px;
  border:1px solid #dce3ea;
  border-radius:7px;
  background:#f8fafc;
  color:#334155;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.ss-popular-more:hover{
  border-color:#cbd5e1;
  background:#f1f5f9;
}

/* More credible newsroom footer */
.ss-footer-bottom-inner{
  display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);
  gap:18px 36px;
  align-items:start;
}
.ss-footer-newsroom{
  display:flex;
  flex-direction:column;
  gap:3px;
  color:#cbd5e1;
  font-size:13px;
}
.ss-footer-newsroom strong{
  color:#fff;
  font-size:15px;
}
.ss-footer-newsroom a{
  color:#fff;
  font-weight:700;
}
.ss-footer-menu{
  justify-self:end;
}
.ss-footer-trust,
.ss-footer-copyright{
  grid-column:1/-1;
  margin:0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#94a3b8;
  font-size:12px;
}
.ss-footer-trust{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.ss-footer-copyright{
  padding-top:0;
  border-top:0;
}

@media (max-width:1100px){
  .ss-featured-editorial-grid{
    grid-template-columns:1.12fr .88fr;
  }
  .ss-featured-lead{
    min-height:450px;
  }
  .ss-featured-secondary{
    min-height:217px;
  }
  .ss-featured-lead h1{
    font-size:38px;
  }
  .ss-homepage-layout{
    grid-template-columns:1fr !important;
  }
  .sidebar{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:900px){
  .ss-featured-editorial-grid{
    grid-template-columns:1fr;
    grid-template-areas:"lead" "side" "strip";
  }
  .ss-featured-lead{
    min-height:430px;
  }
  .ss-featured-side-grid{
    min-height:440px;
  }
  .main-navigation .ss-nav-more .sub-menu{
    position:static;
    display:none;
    min-width:0;
    margin-top:8px;
    box-shadow:none;
  }
  .main-navigation .ss-nav-more.is-open .sub-menu{
    display:block;
  }
  .ss-search-toggle{
    margin-left:auto;
  }
  .menu-toggle{
    order:4;
  }
}

@media (max-width:767px){
  .ss-container{
    width:min(100% - 24px,var(--ss-container));
  }
  .ss-ticker-toggle{
    height:32px;
  }
  .header-inner{
    gap:9px;
  }
  .site-logo{
    margin-right:auto;
  }
  .ss-search-toggle,
  .menu-toggle{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  .main-navigation{
    top:var(--ss-header-height);
  }
  .main-navigation .ss-nav-more-toggle{
    width:100%;
    text-align:left;
  }
  .ss-header-search .search-form{
    gap:6px;
  }
  .ss-header-search .search-submit{
    min-width:78px;
  }
  .ss-featured-editorial{
    margin-bottom:22px;
  }
  .ss-featured-editorial-grid{
    gap:12px;
  }
  .ss-featured-lead{
    min-height:360px;
  }
  .ss-featured-lead h1{
    font-size:32px;
  }
  .ss-featured-editorial .ss-featured-content{
    left:18px;
    right:18px;
    bottom:18px;
  }
  .ss-featured-side-grid{
    grid-template-columns:1fr;
    grid-template-rows:none;
    min-height:0;
    gap:12px;
  }
  .ss-featured-secondary{
    min-height:190px;
  }
  .ss-featured-secondary .ss-featured-content{
    left:15px;
    right:15px;
    bottom:14px;
  }
  .ss-featured-secondary h2{
    font-size:20px;
  }
  .ss-featured-strip > a{
    grid-template-columns:94px minmax(0,1fr) 22px;
    gap:11px;
    min-height:82px;
    padding:8px 10px 8px 8px;
  }
  .ss-featured-strip-media img,
  .ss-featured-strip-media .ss-thumb-placeholder{
    width:94px;
    height:64px;
    min-height:64px;
  }
  .ss-featured-strip-copy strong{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:16px;
  }
  .ss-featured-strip-copy time{
    margin-top:4px;
  }
  .ss-featured-strip-arrow{
    font-size:22px;
  }
  .ss-home-section-head{
    flex-direction:row;
    align-items:center;
  }
  .ss-home-section-title{
    font-size:19px;
  }
  .ss-home-lead-card > a{
    grid-template-columns:1fr !important;
    padding:12px !important;
  }
  .ss-home-lead-media img{
    height:205px !important;
    min-height:205px !important;
  }
  .ss-home-lead-copy h3{
    font-size:24px !important;
  }
  .ss-home-lead-copy p{
    -webkit-line-clamp:2;
  }
  .ss-home-mini-card > a{
    grid-template-columns:110px minmax(0,1fr) !important;
    padding:10px !important;
  }
  .ss-home-mini-media img{
    width:110px !important;
    height:78px !important;
  }
  .ss-home-mini-copy h4{
    font-size:17px !important;
  }
  .sidebar{
    grid-template-columns:1fr;
  }
  .ss-footer-bottom-inner{
    grid-template-columns:1fr;
  }
  .ss-footer-menu{
    justify-self:start;
  }
  .ss-footer-trust,
  .ss-footer-copyright{
    grid-column:1;
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .ss-top-track{
    transform:none !important;
  }
}


/* V43: Widen the desktop single-post area to use the full header container */
@media (min-width: 1101px){
  body.single .site-main > .ss-container.content-layout{
    width:min(var(--ss-container), calc(100% - 32px)) !important;
    max-width:var(--ss-container) !important;
    grid-template-columns:minmax(0, 700px) minmax(0, 1fr) !important;
    gap:34px !important;
    justify-content:stretch !important;
  }

  body.single .main-content{
    width:100% !important;
    max-width:700px !important;
  }

  body.single .sidebar{
    width:100% !important;
    max-width:none !important;
  }
}


/* V49: Perspektif Sabah and columnist byline */
.ss-columnist-feature{
  margin:0 0 32px;
  padding:20px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.ss-columnist-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
  padding-bottom:10px;
  border-bottom:2px solid #0f2a5f;
}
.ss-columnist-head h2{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  color:#0f2a5f;
  font-size:24px;
  font-weight:900;
  text-transform:uppercase;
}
.ss-columnist-head h2 span{color:#e60000;}
.ss-columnist-head > a{
  color:#0f2a5f;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.ss-columnist-grid{
  display:grid;
  grid-template-columns:38% 1fr;
  gap:24px;
  align-items:center;
}
.ss-columnist-profile{
  display:flex;
  align-items:center;
  gap:16px;
  padding-right:20px;
  border-right:1px solid #e5e7eb;
}
.ss-columnist-profile img{
  width:112px;
  height:112px;
  flex:0 0 112px;
  object-fit:cover;
  border:2px solid #e60000;
  border-radius:50%;
  box-shadow:0 0 0 5px #fff,0 4px 16px rgba(15,23,42,.12);
}
.ss-columnist-profile .ss-columnist-label{
  display:block;
  margin:0 0 6px;
  color:#e60000 !important;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1;
  text-transform:uppercase;
}
.ss-columnist-profile strong{
  display:block;
  color:#0f2a5f;
  font-size:19px;
  font-weight:900;
  text-transform:uppercase;
}
.ss-columnist-profile span{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-size:13px;
  line-height:1.4;
}
.ss-columnist-article h3{margin:0 0 10px;font-size:25px;line-height:1.18;}
.ss-columnist-article h3 a{color:#0f2a5f;}
.ss-columnist-article p{margin:0 0 16px;color:#475569;line-height:1.55;}
.ss-columnist-button{
  display:inline-flex;
  padding:11px 18px;
  border-radius:7px;
  background:#0f2a5f;
  color:#fff !important;
  font-weight:800;
  text-transform:uppercase;
}
.ss-columnist-button:hover{background:#e60000;}
.entry-meta-columnist{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:18px;
}
.entry-columnist-photo{
  width:66px;
  height:66px;
  flex:0 0 66px;
  object-fit:cover;
  border:2px solid #e60000;
  border-radius:50%;
  box-shadow:0 0 0 4px #fff,0 3px 12px rgba(15,23,42,.15);
}
.entry-columnist-copy strong{
  display:block;
  color:#0f2a5f;
  font-size:18px;
  font-weight:900;
  text-transform:uppercase;
}
.entry-columnist-copy span{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:14px;
  line-height:1.35;
}
@media(max-width:767px){
  .ss-columnist-feature{padding:16px 14px;border-radius:14px;}
  .ss-columnist-head h2{font-size:20px;}
  .ss-columnist-grid{grid-template-columns:1fr;gap:18px;}
  .ss-columnist-profile{padding-right:0;padding-bottom:16px;border-right:0;border-bottom:1px solid #e5e7eb;}
  .ss-columnist-profile img{width:82px;height:82px;flex-basis:82px;}
  .ss-columnist-profile .ss-columnist-label{font-size:10px;margin-bottom:5px;color:#e60000 !important;}
  .ss-columnist-profile strong{font-size:16px;}
  .ss-columnist-profile span{font-size:12px;}
  .ss-columnist-article h3{font-size:23px;}
  .ss-columnist-button{width:100%;justify-content:center;}

  /* V51: compact columnist byline on single posts */
  body.single .entry-meta-columnist{
    align-items:center;
    gap:10px;
    margin-top:14px;
    margin-bottom:2px;
  }
  body.single .entry-columnist-photo{
    width:48px;
    height:48px;
    flex-basis:48px;
    border-width:2px;
    box-shadow:0 0 0 3px #fff,0 2px 8px rgba(15,23,42,.13);
  }
  body.single .entry-columnist-copy{
    min-width:0;
  }
  body.single .entry-columnist-copy strong{
    font-size:14px;
    line-height:1.15;
    letter-spacing:-.01em;
    white-space:nowrap;
  }
  body.single .entry-columnist-copy span{
    max-width:285px;
    margin-top:2px;
    font-size:11px;
    line-height:1.3;
  }
}

@media(max-width:380px){
  body.single .entry-columnist-copy strong{
    font-size:13px;
  }
  body.single .entry-columnist-copy span{
    max-width:245px;
    font-size:10.5px;
  }
}

/* V45.1 prototype: compact green Sabah map in sidebar only */
/* V46: realistic satellite Sabah map in the sidebar */
.sidebar .ss-sabah-map-widget{
  padding:16px;
}
.ss-sabah-map-widget .ss-sabah-map-photo{
  position:relative;
  width:100%;
  aspect-ratio:2.04/1;
  overflow:hidden;
  border:1px solid #d7e0e8;
  border-radius:9px;
  background:#0d5677;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}
.ss-sabah-map-widget .ss-sabah-map-photo > img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.ss-sabah-map-widget .ss-map-help{
  position:absolute;
  top:8px;
  right:8px;
  max-width:104px;
  padding:6px 8px;
  border-radius:5px;
  background:rgba(8,15,26,.82);
  color:#fff;
  font-size:9px;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  pointer-events:none;
}
.ss-sabah-map-widget .ss-map-photo-point{
  position:absolute;
  left:var(--map-x);
  top:var(--map-y);
  z-index:3;
  width:18px;
  height:18px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  outline:none;
}
.ss-sabah-map-widget .ss-map-photo-point span{
  position:absolute;
  inset:4px;
  border:2px solid #fff;
  border-radius:50%;
  background:#ed1c24;
  box-shadow:0 1px 5px rgba(0,0,0,.55);
  transition:transform .18s ease, background .18s ease;
}
.ss-sabah-map-widget .ss-map-photo-point::after{
  content:attr(data-label);
  position:absolute;
  left:50%;
  bottom:calc(100% + 5px);
  z-index:5;
  padding:5px 7px;
  border-radius:4px;
  background:#111827;
  color:#fff;
  font-size:10px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,4px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  pointer-events:none;
}
.ss-sabah-map-widget .ss-map-photo-point:hover span,
.ss-sabah-map-widget .ss-map-photo-point:focus-visible span{
  background:#ffdf00;
  transform:scale(1.4);
}
.ss-sabah-map-widget .ss-map-photo-point:hover::after,
.ss-sabah-map-widget .ss-map-photo-point:focus-visible::after{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}
.ss-sabah-map-widget .ss-sabah-district-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px 9px;
  margin-top:12px;
}
.ss-sabah-map-widget .ss-sabah-district-list a{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  color:#344054;
  font-size:11px;
  font-weight:700;
  line-height:1.3;
}
.ss-sabah-map-widget .ss-sabah-district-list a span{
  flex:0 0 auto;
  color:#ed1c24;
  font-size:8px;
}
.ss-sabah-map-widget .ss-sabah-district-list a:hover,
.ss-sabah-map-widget .ss-sabah-district-list a:focus-visible{
  color:var(--ss-red);
}
@media (max-width:767px){
  .sidebar .ss-sabah-map-widget{
    padding:12px;
  }
  .ss-sabah-map-widget .ss-map-help{
    max-width:90px;
    font-size:8px;
  }
}

/* V54: Remove any search widget placed at the bottom of the sidebar. */
.sidebar .widget_search,
.sidebar .widget.widget_search,
.sidebar .wp-block-search{
  display:none !important;
}

/* V55: TikTok video segments from V46 */
.ss-tiktok-section{
  margin:0 0 34px;
  padding:22px;
  overflow:hidden;
  border:1px solid #e8e8ee;
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0, rgba(37,244,238,.14), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(254,44,85,.12), transparent 34%),
    #fff;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.ss-tiktok-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 18px;
  padding-bottom:8px;
  border-bottom:2px solid #111827;
}
.ss-tiktok-title{
  display:inline-flex;
  align-items:center;
  margin:0;
  color:#111827;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.15;
}
.ss-tiktok-title::before{
  content:"";
  width:5px;
  height:23px;
  margin-right:9px;
  border-radius:2px;
  background:var(--ss-red);
}
.ss-tiktok-profile-link{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:8px 14px;
  border:1px solid #111;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.02em;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ss-tiktok-profile-link:hover,
.ss-tiktok-profile-link:focus-visible{
  background:#fe2c55;
  border-color:#fe2c55;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(254,44,85,.2);
}
.ss-tiktok-embed-wrap{
  display:flex;
  justify-content:center;
  width:100%;
  min-height:220px;
}
.ss-tiktok-embed-wrap .tiktok-embed{
  width:100% !important;
  max-width:720px !important;
  margin:0 auto !important;
}
.ss-tiktok-noscript{
  width:100%;
  margin:0;
  padding:24px;
  border:1px dashed #cbd5e1;
  border-radius:12px;
  text-align:center;
}
.ss-tiktok-noscript a{
  color:var(--ss-red);
  font-weight:700;
}

@media (max-width:767px){
  .ss-tiktok-section{
    margin-bottom:24px;
    padding:16px 12px;
    border-radius:14px;
  }
  .ss-tiktok-heading{
    align-items:flex-start;
    gap:10px;
    margin-bottom:14px;
  }
  .ss-tiktok-title{
    font-size:20px;
  }
  .ss-tiktok-title::before{
    height:20px;
    margin-right:8px;
  }
  .ss-tiktok-profile-link{
    min-height:36px;
    padding:7px 10px;
    font-size:0;
  }
  .ss-tiktok-profile-link span{
    font-size:16px;
  }
  .ss-tiktok-embed-wrap{
    min-height:180px;
  }
}

/* Compact TikTok presentation inside the single-post sidebar */
.sidebar .ss-tiktok-sidebar{
  margin:0 0 26px;
  padding:16px 12px;
  border-radius:14px;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:13px;
  padding-bottom:9px;
  border-bottom:2px solid #0f172a;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-title{
  display:block;
  min-height:auto;
  margin:0;
  padding:0;
  background:transparent;
  color:#0f172a;
  font-size:17px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.01em;
  text-transform:uppercase;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-title::before{
  display:none;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-profile-link{
  min-height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#64748b;
  box-shadow:none;
  gap:4px;
  font-size:10px;
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
  transform:none;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-profile-link:hover,
.sidebar .ss-tiktok-sidebar .ss-tiktok-profile-link:focus-visible{
  border-color:transparent;
  background:transparent;
  color:#0f172a;
  box-shadow:none;
  transform:none;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-profile-link span:first-child{
  display:none;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-profile-link span:last-child{
  display:inline;
  font-size:12px;
}
.sidebar .ss-tiktok-sidebar .ss-tiktok-embed-wrap{
  min-height:180px;
}
.sidebar .ss-tiktok-sidebar .tiktok-embed{
  min-width:0 !important;
  max-width:100% !important;
}

@media (max-width:767px){
  .sidebar .ss-tiktok-sidebar{
    margin-bottom:24px;
  }
}

/* V56: Columnist widget in single-post sidebar */
.ss-sidebar-columnist{
  margin:0 0 26px;
}
.ss-sidebar-columnist-card{
  display:block;
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.ss-sidebar-columnist-card:hover{
  border-color:#dbe3ee;
  box-shadow:0 10px 26px rgba(15,23,42,.08);
}
.ss-sidebar-columnist-profile{
  display:flex;
  align-items:center;
  gap:14px;
}
.ss-sidebar-columnist-photo{
  width:72px;
  height:72px;
  flex:0 0 72px;
  object-fit:cover;
  border:2px solid #e60000;
  border-radius:50%;
  box-shadow:0 0 0 4px #fff,0 3px 12px rgba(15,23,42,.14);
}
.ss-sidebar-columnist-copy{
  min-width:0;
}
.ss-sidebar-columnist-label{
  display:block;
  margin:0 0 4px;
  color:#e60000 !important;
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ss-sidebar-columnist-copy strong{
  display:block;
  color:#0f2a5f;
  font-size:18px;
  font-weight:900;
  line-height:1.08;
  text-transform:uppercase;
}
.ss-sidebar-columnist-copy span{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-size:12px;
  line-height:1.38;
}
.ss-sidebar-columnist-story{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #e5e7eb;
}
.ss-sidebar-columnist-story h3{
  margin:0 0 8px;
  color:#0f172a;
  font-size:17px;
  line-height:1.22;
}
.ss-sidebar-columnist-story p{
  margin:0 0 12px;
  color:#475569;
  font-size:13px;
  line-height:1.5;
}
.ss-sidebar-columnist-button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#0f2a5f;
  font-size:12px;
  font-weight:900;
  line-height:1.2;
  text-transform:uppercase;
}
@media (max-width:767px){
  .ss-sidebar-columnist-card{padding:14px; border-radius:14px;}
  .ss-sidebar-columnist-photo{width:64px;height:64px;flex-basis:64px;}
  .ss-sidebar-columnist-copy strong{font-size:17px;}
  .ss-sidebar-columnist-story h3{font-size:16px;}
}



/* V59: Breadcrumb, Berita Berkaitan dan paparan Bahasa Melayu */
.ss-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 14px;
  color:#64748b;
  font-size:13px;
  line-height:1.4;
}
.ss-breadcrumb a{
  color:#334155;
  font-weight:700;
}
.ss-breadcrumb a:hover,
.ss-breadcrumb a:focus-visible{
  color:var(--ss-red);
}
.ss-breadcrumb-current{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  color:#94a3b8;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ss-related-posts{
  margin:26px 0 0;
  padding:24px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 28px rgba(15,23,42,.05);
}
.ss-related-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 18px;
  padding-bottom:11px;
  border-bottom:3px solid #0f172a;
}
.ss-related-heading-row h2{
  margin:0;
  color:#0f172a;
  font-size:22px;
  line-height:1.1;
  font-weight:900;
  text-transform:uppercase;
}
.ss-related-heading-row a{
  flex:0 0 auto;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.ss-related-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:20px;
}
.ss-related-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e8edf3;
  border-radius:13px;
  background:#fff;
}
.ss-related-thumb{
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#e5e7eb;
}
.ss-related-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}
.ss-related-card:hover .ss-related-thumb img{
  transform:scale(1.035);
}
.ss-related-copy{
  padding:14px;
}
.ss-related-category{
  display:inline-block;
  margin:0 0 7px;
  color:var(--ss-red);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ss-related-copy h3{
  margin:0 0 9px;
  color:#0f172a;
  font-size:17px;
  line-height:1.24;
  font-weight:850;
}
.ss-related-copy time{
  color:#94a3b8;
  font-size:12px;
  font-weight:600;
}
.search-form{
  display:flex;
  align-items:stretch;
  gap:8px;
}
.search-form label{
  flex:1 1 auto;
}
.search-field{
  width:100%;
  min-height:42px;
  padding:9px 12px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  font:inherit;
}
.search-submit{
  min-height:42px;
  padding:9px 16px;
  border:0;
  border-radius:8px;
  background:var(--ss-red);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
@media (max-width:767px){
  .ss-breadcrumb{
    margin-bottom:11px;
    font-size:12px;
  }
  .ss-breadcrumb-current{
    max-width:72vw;
  }
  .ss-related-posts{
    margin-top:20px;
    padding:16px 12px;
    border-radius:14px;
  }
  .ss-related-heading-row{
    align-items:flex-end;
    margin-bottom:14px;
  }
  .ss-related-heading-row h2{
    font-size:19px;
  }
  .ss-related-heading-row a{
    font-size:10px;
  }
  .ss-related-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .ss-related-card{
    display:grid;
    grid-template-columns:116px minmax(0,1fr);
  }
  .ss-related-thumb{
    height:100%;
    min-height:112px;
    aspect-ratio:auto;
  }
  .ss-related-copy{
    padding:11px 12px;
  }
  .ss-related-copy h3{
    font-size:15px;
  }
}

/* V60: Berita Berkaitan dalam bentuk senarai kad mendatar */
.ss-related-posts{
  margin-top:30px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.ss-related-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
.ss-related-card{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:26px;
  align-items:stretch;
  min-width:0;
  padding:20px;
  overflow:hidden;
  border:1px solid #e3e8ef;
  border-radius:15px;
  background:#fff;
  box-shadow:0 7px 22px rgba(15,23,42,.045);
}
.ss-related-thumb{
  display:block;
  width:220px;
  height:156px;
  overflow:hidden;
  border-radius:10px;
  background:#e5e7eb;
  aspect-ratio:auto;
}
.ss-related-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.ss-related-copy{
  display:flex;
  min-width:0;
  padding:0;
  flex-direction:column;
  justify-content:center;
}
.ss-related-copy h3{
  display:-webkit-box;
  margin:0;
  overflow:hidden;
  color:#334155;
  font-size:28px;
  line-height:1.14;
  font-weight:850;
  letter-spacing:-.02em;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.ss-related-copy h3 a{
  color:inherit;
  text-decoration:none;
}
.ss-related-copy h3 a:hover,
.ss-related-copy h3 a:focus-visible{
  color:var(--ss-red);
}
.ss-related-copy time{
  display:block;
  margin-top:auto;
  padding-top:18px;
  color:#8fa3c1;
  font-size:17px;
  line-height:1.2;
  font-weight:500;
}

@media (max-width:900px){
  .ss-related-card{
    grid-template-columns:180px minmax(0,1fr);
    gap:20px;
    padding:16px;
  }
  .ss-related-thumb{
    width:180px;
    height:128px;
  }
  .ss-related-copy h3{
    font-size:22px;
  }
  .ss-related-copy time{
    padding-top:13px;
    font-size:15px;
  }
}

@media (max-width:600px){
  .ss-related-posts{
    margin-top:22px;
    padding:0;
  }
  .ss-related-heading-row{
    margin-bottom:13px;
  }
  .ss-related-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .ss-related-card{
    grid-template-columns:108px minmax(0,1fr);
    gap:12px;
    min-height:102px;
    padding:10px;
    border-radius:12px;
  }
  .ss-related-thumb{
    width:108px;
    height:82px;
    min-height:0;
    border-radius:8px;
  }
  .ss-related-copy{
    padding:0;
  }
  .ss-related-copy h3{
    font-size:15px;
    line-height:1.2;
    -webkit-line-clamp:3;
  }
  .ss-related-copy time{
    margin-top:auto;
    padding-top:7px;
    font-size:12px;
  }
}


/* V61: Paparan desktop Berita Berkaitan ala editorial, mobile V60 dikekalkan */
.ss-related-lead-category,
.ss-related-lead-excerpt{
  display:none;
}

@media (min-width:901px){
  .ss-related-posts{
    margin-top:32px;
    padding:20px;
    border:1px solid #e2e8f0;
    border-radius:18px;
    background:#f7f9fc;
    box-shadow:0 8px 24px rgba(15,23,42,.035);
  }

  .ss-related-heading-row{
    position:relative;
    margin-bottom:18px;
    padding:0 0 12px 18px;
    border-bottom:3px solid #172033;
  }

  .ss-related-heading-row::before{
    content:"";
    position:absolute;
    top:0;
    bottom:12px;
    left:0;
    width:6px;
    border-radius:999px;
    background:var(--ss-red);
  }

  .ss-related-heading-row h2{
    color:#172033;
    font-size:24px;
    letter-spacing:-.02em;
  }

  .ss-related-heading-row a{
    color:#46546a;
    font-size:12px;
    letter-spacing:.02em;
  }

  .ss-related-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }

  .ss-related-card{
    display:grid;
    grid-template-columns:126px minmax(0,1fr);
    gap:14px;
    min-height:126px;
    padding:13px;
    border:1px solid #e1e7ef;
    border-radius:14px;
    background:#fff;
    box-shadow:0 5px 16px rgba(15,23,42,.035);
  }

  .ss-related-card:not(.ss-related-card--lead):hover{
    border-color:#d5dde8;
    box-shadow:0 8px 20px rgba(15,23,42,.065);
  }

  .ss-related-card:not(.ss-related-card--lead) .ss-related-thumb{
    width:126px;
    height:100px;
    align-self:center;
    border-radius:9px;
  }

  .ss-related-card:not(.ss-related-card--lead) .ss-related-copy h3{
    font-size:17px;
    line-height:1.18;
    -webkit-line-clamp:3;
  }

  .ss-related-card:not(.ss-related-card--lead) .ss-related-copy time{
    padding-top:9px;
    font-size:12px;
  }

  .ss-related-card--lead{
    grid-column:1 / -1;
    grid-template-columns:minmax(0,44%) minmax(0,1fr);
    gap:22px;
    min-height:270px;
    padding:18px;
    border-radius:16px;
  }

  .ss-related-card--lead .ss-related-thumb{
    width:100%;
    height:244px;
    border-radius:12px;
  }

  .ss-related-card--lead .ss-related-copy{
    justify-content:center;
  }

  .ss-related-lead-category{
    display:block;
    margin:0 0 9px;
    color:var(--ss-red);
    font-size:11px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
  }

  .ss-related-card--lead .ss-related-copy h3{
    margin:0;
    color:#334155;
    font-size:29px;
    line-height:1.08;
    -webkit-line-clamp:3;
  }

  .ss-related-lead-excerpt{
    display:-webkit-box;
    margin:12px 0 0;
    overflow:hidden;
    color:#64748b;
    font-size:14px;
    line-height:1.45;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
  }

  .ss-related-card--lead .ss-related-copy time{
    margin-top:14px;
    padding-top:0;
    font-size:13px;
  }
}


/* V63: Jarak atas 25px dan tanpa border untuk Berita Berkaitan di single post */
.single .ss-related-posts{
  margin:25px 0 0;
  padding:0;
  border:0;
}


/* V64: Tajuk penuh Berita Berkaitan pada paparan desktop */
@media (min-width:901px){
  .single .ss-related-card:not(.ss-related-card--lead) .ss-related-copy h3{
    display:block;
    overflow:visible;
    font-size:15px;
    line-height:1.24;
    -webkit-box-orient:initial;
    -webkit-line-clamp:unset;
  }

  .single .ss-related-card--lead .ss-related-copy h3{
    display:block;
    overflow:visible;
    font-size:24px;
    line-height:1.12;
    -webkit-box-orient:initial;
    -webkit-line-clamp:unset;
  }
}


/* V65: Breadcrumb moved below category and publication date */
.single .entry-footer .ss-breadcrumb--bottom{
  margin:14px 0 0;
  padding:0;
  font-size:13px;
}

@media (max-width:767px){
  .single .entry-footer .ss-breadcrumb--bottom{
    margin-top:12px;
    font-size:12px;
  }
}


/* V66: Gantikan kotak kategori dengan breadcrumb pada single post */
.single .entry-footer.entry-footer-bottom-meta > .entry-published-on{
  display:block;
  margin:0 !important;
  color:#4b5a71 !important;
  text-align:left !important;
  white-space:normal !important;
}

.single .entry-footer .ss-breadcrumb--bottom{
  margin-top:10px;
}

@media (max-width:767px){
  .single .entry-footer.entry-footer-bottom-meta > .entry-published-on{
    font-size:12px !important;
  }

  .single .entry-footer .ss-breadcrumb--bottom{
    margin-top:9px;
  }
}


/* V67: Jajarkan semula maklumat “Disiarkan pada” ke kanan */
.single .entry-footer.entry-footer-bottom-meta > .entry-published-on{
  display:block;
  width:100%;
  margin:0 !important;
  text-align:right !important;
  white-space:normal !important;
}

@media (max-width:767px){
  .single .entry-footer.entry-footer-bottom-meta > .entry-published-on{
    text-align:right !important;
  }
}


/* V68: Breadcrumb kiri dan tarikh siaran kanan pada baris yang sama */
.single .entry-footer.entry-footer-bottom-meta{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  align-items:center !important;
  column-gap:18px !important;
  width:100% !important;
}

.single .entry-footer.entry-footer-bottom-meta > .ss-breadcrumb--bottom{
  grid-column:1 !important;
  grid-row:1 !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  align-self:center !important;
}

.single .entry-footer.entry-footer-bottom-meta > .entry-published-on{
  grid-column:2 !important;
  grid-row:1 !important;
  width:auto !important;
  margin:0 !important;
  align-self:center !important;
  text-align:right !important;
  white-space:nowrap !important;
}

@media (max-width:767px){
  .single .entry-footer.entry-footer-bottom-meta{
    grid-template-columns:minmax(0, 1fr) auto !important;
    column-gap:10px !important;
  }

  .single .entry-footer.entry-footer-bottom-meta > .ss-breadcrumb--bottom{
    margin:0 !important;
    font-size:11.5px !important;
    line-height:1.25 !important;
  }

  .single .entry-footer.entry-footer-bottom-meta > .entry-published-on{
    margin:0 !important;
    font-size:11.5px !important;
    line-height:1.25 !important;
    text-align:right !important;
    white-space:nowrap !important;
  }
}

@media (max-width:420px){
  .single .entry-footer.entry-footer-bottom-meta{
    column-gap:8px !important;
  }

  .single .entry-footer.entry-footer-bottom-meta > .ss-breadcrumb--bottom,
  .single .entry-footer.entry-footer-bottom-meta > .entry-published-on{
    font-size:11px !important;
  }
}


/* V71: Center single-post images; readable captions with spacing before following content */
body.single .single-article .post-thumbnail,
body.single .single-article .entry-content figure,
body.single .single-article .entry-content .wp-block-image,
body.single .single-article .entry-content .wp-caption {
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
  float:none !important;
  max-width:100% !important;
}

body.single .single-article .post-thumbnail img,
body.single .single-article .entry-content img,
body.single .single-article .entry-content img.alignleft,
body.single .single-article .entry-content img.alignright,
body.single .single-article .entry-content img.aligncenter,
body.single .single-article .entry-content figure.alignleft,
body.single .single-article .entry-content figure.alignright,
body.single .single-article .entry-content figure.aligncenter,
body.single .single-article .entry-content .wp-caption.alignleft,
body.single .single-article .entry-content .wp-caption.alignright,
body.single .single-article .entry-content .wp-caption.aligncenter {
  display:block !important;
  float:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.single .single-article .post-thumbnail .featured-image-caption,
body.single .single-article .entry-content figcaption,
body.single .single-article .entry-content .wp-caption-text,
body.single .single-article .entry-content .wp-element-caption {
  display:block;
  width:100%;
  margin:8px auto 18px !important;
  padding:0 8px;
  color:#6b7280;
  font-family:Inter, Arial, sans-serif;
  font-size:13px !important;
  font-style:normal;
  font-weight:400;
  line-height:1.45;
  text-align:center !important;
}

/* V71: Slightly smaller caption and tighter lower spacing on narrow screens */
@media (max-width: 767px) {
  body.single .single-article .post-thumbnail .featured-image-caption,
  body.single .single-article .entry-content figcaption,
  body.single .single-article .entry-content .wp-caption-text,
  body.single .single-article .entry-content .wp-element-caption {
    font-size:12px !important;
    line-height:1.45;
    margin-bottom:14px !important;
  }
}
