:root {
  --ss-primary: #F4A900;
  --ss-header: #111111;
  --ss-black: #111111;
  --ss-text: #131313;
  --ss-muted: #575757;
  --ss-line: #e4e4e4;
  --ss-bg: #ffffff;
  --ss-soft: #f8f8f8;
  --ss-radius: 10px;
  --ss-container: 1366px;
  --ss-gutter: 80px;
  --ss-section-gap: 36px;
  --ss-mark: url("../images/section-mark.png");
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--ss-bg);
  color: var(--ss-muted);
  font-family: "Noto Sans Malayalam", "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ss-primary); }

h1,h2,h3,h4,h5,h6 {
  margin: 0 0 10px;
  color: var(--ss-text);
  font-family: "Noto Sans Malayalam", "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

ul { margin: 0; padding: 0; list-style: none; }

.ss-news-head::before,
.ss-section-title::before,
.ss-recommended-title::before,
.ss-widget-title::before,
.ss-related-title::before,
.ss-404-section-title::before,
.ss-comments-title::before,
.ss-page-title::before,
.ss-page-aside-title::before,
.ss-footer-col h3::before,
.ss-contact-form-title::before,
.ss-page-prose h2::before,
.ss-page-prose h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: var(--ss-mark) center / contain no-repeat;
}

.ss-container {
  max-width: var(--ss-container);
  margin: 0 auto;
  padding: 0 var(--ss-gutter);
}

.ss-main {
  display: flex;
  flex-direction: column;
  gap: var(--ss-section-gap);
}
.ss-main > section {
  margin: 0;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px);
}
.skip-link.screen-reader-text:focus {
  clip: auto; width: auto; height: auto; position: fixed;
  top: 8px; left: 8px; z-index: 100000; padding: 8px 16px;
  background: #111; color: #fff; clip-path: none;
}

[hidden] { display: none !important; }

/* Ads */
.ss-ad-slot {
  display: flex; justify-content: center; align-items: center;
  min-height: 70px; margin: 12px auto;
  background: var(--ss-soft); border: 1px dashed #ddd; color: #999; font-size: 12px;
}
.ss-ad-placeholder {
  display: block;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: .02em;
}
.ss-ad-slot:has(img),
.ss-ad-slot:has(.ss-ad-widget) {
  background: transparent;
  border: none;
  min-height: 0;
}
.ss-ad-widget,
.ss-ad-widget-link {
  display: block;
  width: 100%;
}
.ss-ad-widget img,
.ss-ad-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.ss-ad-widget-code {
  width: 100%;
  overflow: auto;
  text-align: center;
}
.ss-ad-widget-code iframe,
.ss-ad-widget-code ins,
.ss-ad-widget-code img {
  max-width: 100%;
}
.ss-header-ad {
  max-width: var(--ss-container); margin: 10px auto; padding: 0 var(--ss-gutter);
  min-height: 50px; background: transparent; border: none;
}
.ss-footer-ad {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 90px;
  padding: 18px var(--ss-gutter);
  background: #e8e8e8;
  border: 0;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* ===== HEADER (Reporter-style) ===== */
.ss-site-header { position: relative; z-index: 50; }

.ss-header-top { background: var(--ss-header); }

.ss-main-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "left brand right";
  align-items: center;
  min-height: 92px;
  padding: 10px 0;
  gap: 16px;
  position: relative;
}

.ss-header-left {
  grid-area: left;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ss-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--ss-primary);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.ss-hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: #111;
  margin: 2px 0;
  border-radius: 1px;
}

.ss-social-header {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ss-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff; font-size: 15px;
}
.ss-social a:hover { background: #fff; color: var(--ss-header); }

.ss-header-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  text-align: center;
  min-width: 0;
}
.ss-logo-wrap {
  display: flex; justify-content: center; align-items: center;
}
.ss-logo-wrap img,
.custom-logo--header {
  max-height: 64px; width: auto; max-width: 280px; object-fit: contain;
  display: block;
}

.ss-header-right {
  grid-area: right;
  justify-self: end;
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.ss-search-toggle.ss-search-toggle--header {
  display: inline-flex;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.ss-search-toggle.ss-search-toggle--header:hover { color: var(--ss-primary); }

.ss-datetime {
  grid-area: right;
  justify-self: end;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  z-index: 1;
}
.ss-datetime .ss-sep { opacity: .7; }

/* Nav */
.ss-menu-section {
  background: #fff; border-bottom: 4px solid var(--ss-primary); position: relative; z-index: 40;
}
.ss-menu-section.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}
.ss-menu-spacer,
.ss-header-spacer {
  display: none;
}
.ss-menu-spacer.is-active,
.ss-header-spacer.is-active {
  display: block;
}
.ss-header-top.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 130;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}
.admin-bar .ss-menu-section.is-sticky {
  top: 32px;
}
.admin-bar .ss-header-top.is-fixed {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .ss-menu-section.is-sticky {
    top: 46px;
  }
  .admin-bar .ss-header-top.is-fixed {
    top: 46px;
  }
}
.ss-menu-bar { display: flex; align-items: center; }
.ss-menus {
  display: flex; flex: 1; min-width: 0; overflow: hidden; margin: 0; padding: 0;
}
.ss-menus::-webkit-scrollbar { height: 0; }

.ss-menu-item {
  position: static;
  flex: 0 0 auto;
  border-left: 1px solid var(--ss-line);
}
.ss-menu-item > a {
  display: block;
  color: var(--ss-text);
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 12px;
}
.ss-menu-item:hover > a,
.ss-menu-item.current-menu-item > a { color: var(--ss-primary); }

.ss-drop-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  padding: 20px 0 22px;
  border-top: 1px solid var(--ss-line);
  z-index: 60;
  text-transform: none;
  white-space: normal;
  font-weight: 400;
  font-size: 14px;
}
.ss-menu-item:hover > .ss-drop-menu,
.ss-menu-item:focus-within > .ss-drop-menu { display: block; }

/* Simple dropdown: nested category links only (no news cards) */
.ss-menu-item:has(> .ss-drop-menu--links) {
  position: relative;
}
.ss-drop-menu--links {
  left: 0;
  right: auto;
  min-width: 220px;
  width: max-content;
  max-width: min(320px, 92vw);
  padding: 8px 0;
  border-top: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.ss-drop-menu--links .ss-sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  min-width: 0;
}
.ss-drop-menu--links .ss-sub-menu a {
  padding: 10px 18px;
  white-space: nowrap;
}
.ss-drop-menu--links .ss-sub-menu a:hover {
  background: #fff8e8;
  color: var(--ss-primary);
}

.ss-drop-content {
  display: grid;
  gap: 28px;
  align-items: start;
}
.ss-drop-content--with-nav {
  grid-template-columns: 200px minmax(0, 1fr);
}
.ss-drop-content--posts {
  grid-template-columns: 1fr;
}
.ss-sub-menu { min-width: 0; padding-right: 12px; border-right: 1px solid var(--ss-line); }
.ss-sub-menu a {
  display: block;
  padding: 8px 0;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ss-text);
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-drop-news {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}
.ss-small-news {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  max-width: none;
  padding: 8px;
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  background: #fff;
}
.ss-small-news:hover { border-color: #f0d48a; background: #fffdf6; }
.ss-small-news:hover .ss-small-title { color: var(--ss-primary); }
.ss-small-news-img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}
.ss-small-news-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-small-news-data {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.ss-small-head {
  display: block;
  color: var(--ss-primary);
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.ss-small-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--ss-text);
  font-family: "Noto Sans Malayalam", Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
  word-break: break-word;
}

.ss-right-menus {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  max-width: 42%;
  margin-left: auto;
  border-left: 1px solid var(--ss-line);
  justify-content: flex-end;
  background: #fff;
  position: relative;
  z-index: 2;
}
.ss-more-menu {
  position: relative; padding: 0 14px; border-right: 1px solid var(--ss-line);
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase; cursor: pointer;
}
.ss-more-trigger { display: flex; align-items: center; gap: 6px; padding: 10px 0; }
.ss-more-drop {
  display: none; position: absolute; right: 0; top: 100%; background: #fff;
  min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 40;
}
.ss-more-menu:hover .ss-more-drop { display: block; }
.ss-more-list a { display: block; padding: 10px 16px; font-weight: 700; }

.ss-live-btn {
  display: flex; align-items: center; gap: 6px; background: var(--ss-primary); color: #111 !important;
  border-radius: 30px; padding: 5px 10px; margin: 0 12px;
  font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800;
}
.ss-live-dot {
  width: 8px; height: 8px; background: #c00; border-radius: 50%;
  animation: ss-pulse 1.2s infinite;
}
@keyframes ss-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.ss-search-toggle {
  display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer;
  font-family: Manrope, sans-serif; font-weight: 700; font-size: 13px; padding: 10px 0 10px 8px;
}
.ss-search-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 10px 0;
}
.ss-search-form { display: flex; align-items: center; gap: 10px; }
.ss-search-form input[type="search"] {
  flex: 1; border: 0; outline: none; font-size: 16px; padding: 10px 0; font-family: Manrope, sans-serif;
}
.ss-search-close { background: none; border: 0; cursor: pointer; font-size: 20px; }

/* Mobile drawer */
.ss-mobile-drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 220;
}
.ss-mobile-drawer-inner {
  width: min(360px, 90vw); height: 100%; background: #fff; padding: 18px 18px 40px;
  overflow: auto; -webkit-overflow-scrolling: touch;
}
.ss-mobile-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ss-line);
}
.ss-mobile-drawer-top .custom-logo-link--mobile {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}
.ss-mobile-drawer-top img,
.custom-logo--mobile {
  display: block;
  width: auto;
  height: auto;
  max-height: 58px;
  max-width: min(280px, calc(100vw - 110px));
  object-fit: contain;
}
.ss-drawer-close {
  background: none;
  border: 0;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
}

.ss-mobile-nav > li { border-bottom: 1px solid var(--ss-line); }
.ss-mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; font-weight: 800; text-transform: uppercase;
  font-family: Manrope, sans-serif; font-size: 14px; color: var(--ss-text);
}
.ss-mobile-nav .menu-item-has-children > a::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; color: #888;
  transition: transform .2s;
}
.ss-mobile-nav .menu-item-has-children.is-open > a::after { transform: rotate(180deg); }
.ss-mobile-nav .sub-menu {
  display: none; padding: 0 0 8px 12px;
}
.ss-mobile-nav .is-open > .sub-menu { display: block; }
.ss-mobile-nav .sub-menu a {
  text-transform: none; font-weight: 600; font-size: 13px; padding: 8px 0; border: 0;
}

.ss-social-mobile {
  display: flex; gap: 12px; margin: 22px 0; justify-content: flex-start;
}
.ss-social-mobile a { background: #111; }

.ss-mobile-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ss-line);
  list-style: none;
  margin: 0;
}
.ss-mobile-extra > li {
  margin: 0;
  flex: 0 1 auto;
}
.ss-mobile-extra a {
  display: block;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.3;
  color: #444;
  font-weight: 500;
  white-space: nowrap;
}

/* Flash strip — fixed alignment */
.ss-flash-strip {
  background: #fff; border-bottom: 1px solid var(--ss-line); padding: 12px 0;
}
.ss-flash-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.ss-flash-track::-webkit-scrollbar { height: 4px; }
.ss-flash-track::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.ss-flash-item {
  display: flex; gap: 10px; align-items: flex-start;
  min-width: 280px; max-width: 320px; flex: 0 0 auto;
  scroll-snap-align: start;
}
.ss-flash-thumb {
  width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
}
.ss-flash-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ss-flash-body {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1;
}
.ss-flash-cat {
  color: var(--ss-primary); font-family: Manrope, sans-serif;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
}
.ss-flash-title {
  color: var(--ss-text); font-weight: 700; font-size: 13px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* JUST IN */
.ss-just-in {
  background: #fff; border-bottom: 1px solid var(--ss-line); border-top: 1px solid var(--ss-line);
}
.ss-just-inner {
  display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.ss-just-label {
  background: var(--ss-primary); color: #111; font-family: Manrope, sans-serif;
  font-weight: 800; font-size: 12px; padding: 6px 12px; flex-shrink: 0; letter-spacing: .3px;
}
.ss-just-viewport {
  flex: 1; overflow: hidden; position: relative; min-height: 24px;
}
.ss-just-item {
  display: none; color: var(--ss-text); font-weight: 600; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ss-just-item.is-active { display: block; animation: ss-fade .35s ease; }
@keyframes ss-fade { from{opacity:0; transform:translateY(4px)} to{opacity:1; transform:none} }

.ss-just-nav { display: flex; gap: 4px; flex-shrink: 0; }
.ss-just-nav button {
  width: 28px; height: 28px; border: 1px solid var(--ss-line); background: #fff;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  color: #333; border-radius: 2px;
}
.ss-just-nav button:hover { border-color: var(--ss-primary); color: var(--ss-primary); }

/* Hero banner (below JUST IN) */
.ss-hero-banner,
.ss-banner-section { padding: 16px 0 8px; }
.ss-hero-banner-frame {
  position: relative;
}
.ss-hero-banner-track,
.ss-banner-track {
  position: relative;
  overflow: hidden;
  border-radius: var(--ss-radius);
  background: #0a0a0a;
}
.ss-hero-banner-slide,
.ss-banner-slide { display: none; }
.ss-hero-banner-slide.is-active,
.ss-banner-slide.is-active { display: block; animation: ss-fade .4s ease; }
.ss-hero-banner-link {
  display: block;
  position: relative;
  color: inherit;
}
.ss-hero-banner-link:hover { color: inherit; }
.ss-hero-banner-link:hover img { filter: brightness(1.06); }
.ss-hero-banner-link:hover .ss-hero-banner-cta {
  background: var(--ss-primary);
  color: #111;
}
.ss-hero-banner-slide img,
.ss-banner-slide img {
  width: 100%;
  height: 160px;
  aspect-ratio: auto;
  max-height: 160px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--ss-radius);
  transition: filter .25s ease;
}
.ss-hero-banner--short .ss-hero-banner-slide img {
  height: 160px;
  max-height: 160px;
  aspect-ratio: auto;
}
.ss-hero-banner--medium .ss-hero-banner-slide img {
  height: 280px;
  max-height: 280px;
  aspect-ratio: auto;
}
.ss-hero-banner--tall .ss-hero-banner-slide img {
  height: 360px;
  max-height: 360px;
  aspect-ratio: auto;
}
.ss-hero-banner--image-only .ss-hero-banner-overlay {
  display: none;
}
.ss-hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 12%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.08) 28%, rgba(0,0,0,.08) 72%, rgba(0,0,0,.35) 100%);
}
.ss-hero-banner-title {
  color: #fff;
  font-family: "Noto Sans Malayalam", Manrope, sans-serif;
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  max-width: 16ch;
}
.ss-hero-banner-tagline {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.ss-hero-banner-tagline em {
  font-style: normal;
  color: var(--ss-primary);
}
.ss-hero-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 18px;
  border: 2px solid var(--ss-primary);
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease;
}
.ss-banner-nav {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.ss-banner-nav button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.ss-banner-nav button:hover {
  border-color: var(--ss-primary);
  color: var(--ss-primary);
  background: rgba(0, 0, 0, .75);
}
.ss-banner-mobile { display: none; }
.ss-banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.ss-banner-dot, .ss-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: #ccc; cursor: pointer; padding: 0;
}
.ss-banner-dot.is-active, .ss-dot.is-active { background: var(--ss-primary); }

/* Top news + sticky Must Read */
.ss-top-news-wrap { padding: 18px 0 0; }
.ss-top-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start;
}
.ss-sticky-col {
  position: sticky; top: 16px;
}
.ss-news-head {
  position: relative; padding: 0 0 14px 30px; color: var(--ss-text);
  font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; text-transform: uppercase;
}
.ss-news-head::before {
  top: 2px; transform: none; width: 22px; height: 22px;
}
.ss-news-head-sm { font-size: 16px; }

.ss-top-featured-row {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 8px;
}
.ss-top-lead-img img {
  width: 100%; aspect-ratio: 1.7; object-fit: cover; border-radius: var(--ss-radius);
}
.ss-hero-title { font-size: 24px; line-height: 1.35; margin: 8px 0; }
.ss-hero-excerpt {
  margin: 0; color: var(--ss-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.ss-top-news-cat, .ss-cat-badge {
  display: inline-block; color: var(--ss-primary); font-family: Manrope, sans-serif;
  font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px;
}

.ss-list-news {
  display: flex; gap: 10px; border-bottom: 1px solid #eee;
  margin-bottom: 14px; padding-bottom: 14px;
}
.ss-list-img {
  width: 72px; height: 72px; flex-shrink: 0; overflow: hidden; border-radius: var(--ss-radius);
}
.ss-list-img img { width: 100%; height: 100%; object-fit: cover; }
.ss-list-text { flex: 1; min-width: 0; }
.ss-list-text h5, .ss-sub-news h5 {
  margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.ss-sub-four { display: flex; flex-wrap: wrap; margin: 8px -12px 0; }
.ss-sub-news { width: 50%; padding: 14px 12px; position: relative; }
.ss-sub-news:nth-child(odd)::before {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border-right: 1px solid #eee; height: calc(100% - 28px);
}
.ss-sub-news:nth-child(n+3)::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 0; border-top: 1px solid #eee;
}
.ss-sub-img img {
  width: 100%; aspect-ratio: 2/1; object-fit: cover; border-radius: var(--ss-radius); margin-bottom: 8px;
}

/* IN DEPTH */
.ss-indepth-section { padding: 0; }
.ss-dual-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.ss-opinion-col {
  background: #fff7f5; border-radius: 12px; padding: 4px 14px 14px;
}
.ss-list-img-wide { width: 96px; height: 64px; }
.ss-list-img-wide img { border-radius: 8px; }
.ss-opinion-lead h3 { font-size: 18px; margin-top: 8px; }
.ss-section-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--ss-primary); margin: 0 0 16px; padding-bottom: 8px;
}
.ss-section-title {
  margin: 0; font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800;
  text-transform: uppercase; position: relative; padding-left: 30px;
}
.ss-section-title::before {
  width: 22px; height: 22px;
}
.ss-view-more {
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 12px;
  text-transform: uppercase; letter-spacing: .03em;
}
.ss-view-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ss-primary); color: #111;
  padding: 6px 14px; border-radius: 20px;
  transition: filter .2s ease, transform .2s ease, color .2s ease;
}
.ss-view-pill:hover { color: #111; filter: brightness(1.08); transform: translateY(-1px); }

.ss-indepth-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch;
}
.ss-indepth-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.ss-indepth-slider, .ss-fs-lead {
  display: flex; flex-direction: column; min-width: 0;
}
.ss-indepth-slides { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; }
.ss-indepth-slide { display: none; }
.ss-indepth-slide.is-active {
  display: flex; flex-direction: column; flex: 1 1 auto; animation: ss-fade .35s ease;
}
.ss-indepth-img, .ss-fs-lead-img {
  flex: 0 0 auto; display: block;
}
.ss-indepth-img img {
  width: 100%; aspect-ratio: 16/9; max-height: 320px; object-fit: cover; border-radius: var(--ss-radius);
  display: block;
}
.ss-indepth-slider .ss-indepth-img img,
.ss-fs-lead .ss-fs-lead-img img {
  width: 100%;
  height: auto;
  max-height: 320px;
  min-height: 0;
  aspect-ratio: 16/9;
  object-fit: cover;
}
/* Solo category lead (e.g. Football News with one post) — keep compact */
.ss-indepth-grid.is-solo .ss-indepth-img img {
  max-height: 280px;
  aspect-ratio: 16/9;
}
.ss-cat-section .ss-fs-lead-img img,
.ss-cat-section .ss-mag-lead-img img {
  max-height: 300px;
  aspect-ratio: 16/9;
}
.ss-indepth-meta { display: flex; gap: 10px; align-items: center; margin: 10px 0 4px; }
.ss-author-name { color: #888; font-size: 13px; }
.ss-indepth-slide h3 { font-size: 20px; margin: 0 0 4px; }
.ss-indepth-dots { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }

.ss-indepth-list-item {
  display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eee;
}

/* Category / popular */
.ss-popular-img img, .ss-related-img img, .ss-card-img img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--ss-radius);
}
.ss-popular-card h4, .ss-related-card h4 {
  margin-top: 8px; font-size: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ss-popular-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ss-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ===== Varied category layouts ===== */
.ss-reveal {
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}
.ss-reveal.is-inview { opacity: 1; transform: none; }
.ss-cat-section, .ss-popular-section { padding: 0; }

.ss-feature-stack {
  display: grid; grid-template-columns: 1.35fr 0.85fr 0.75fr; gap: 20px; align-items: stretch;
}
.ss-fs-lead .ss-indepth-slide h3 { font-size: 20px; }
.ss-fs-lead-img { position: relative; display: block; }
.ss-fs-lead-img img {
  width: 100%; aspect-ratio: 16/9; max-height: 320px; object-fit: cover; border-radius: var(--ss-radius);
}
.ss-play-badge {
  position: absolute; top: 12px; left: 12px; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,.92); color: #111;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.ss-fs-lead h3 { font-size: 20px; margin: 6px 0; }
.ss-fs-excerpt {
  color: #666; font-size: 14px; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ss-fs-stack { display: flex; flex-direction: column; gap: 14px; }
.ss-fs-card-img img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--ss-radius); margin-bottom: 8px;
}
.ss-fs-card h4 {
  margin: 4px 0 0; font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ss-fs-rail { display: flex; flex-direction: column; gap: 14px; }
.ss-ad-placeholder {
  background: #e9e9e9; color: #777; min-height: 120px; border-radius: var(--ss-radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; font-size: 13px;
}
.ss-recommended {
  background: #fafafa; border: 1px solid #eee; border-radius: var(--ss-radius); padding: 12px 14px;
}
.ss-recommended-title {
  margin: 0 0 8px; font-family: Manrope, sans-serif; font-size: 14px; text-transform: uppercase;
  position: relative; padding-left: 24px;
}
.ss-recommended-title::before {
  width: 16px; height: 16px;
}

.ss-quad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ss-quad-img img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--ss-radius); margin-bottom: 8px;
}
.ss-quad-card h4 {
  margin: 4px 0 6px; font-size: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.ss-magazine {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px;
}
.ss-mag-lead-img img {
  width: 100%; aspect-ratio: 16/9; max-height: 300px; object-fit: cover; border-radius: var(--ss-radius);
}
.ss-mag-lead-body { margin-top: 12px; }
.ss-mag-lead h3 { font-size: 24px; margin: 6px 0 8px; }
.ss-mag-side { display: flex; flex-direction: column; gap: 14px; }
.ss-mag-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.ss-mag-item-img img {
  width: 100%; height: 80px; object-fit: cover; border-radius: 8px;
}
.ss-mag-item h4 {
  margin: 2px 0 0; font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Horizontal scroll rails */
.ss-scroll-section, .ss-yt-section { position: relative; }
.ss-hscroll-wrap { position: relative; }
.ss-hscroll-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px; cursor: grab;
  scrollbar-width: none;
}
.ss-hscroll-track::-webkit-scrollbar { display: none; }
.ss-hscroll-track.is-dragging { cursor: grabbing; }
.ss-hscroll-btn {
  position: absolute; z-index: 2; top: 38%; transform: translateY(-50%);
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ss-primary); color: #111; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.ss-hscroll-btn:hover { color: #111; filter: brightness(1.08); }
.ss-hscroll-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ss-hscroll-prev { left: 2px; }
.ss-hscroll-next { right: 2px; }
.ss-hscroll-btn.is-disabled,
.ss-hscroll-btn:disabled {
  opacity: 0; pointer-events: none;
}
.ss-hscroll-bar {
  height: 3px; background: #ddd; border-radius: 3px; margin-top: 10px; overflow: hidden;
  max-width: 220px;
}
.ss-hscroll-thumb {
  display: block; height: 100%; width: 40%; background: var(--ss-primary); border-radius: 3px;
  transition: margin-left .05s linear;
}
.ss-rail-card {
  flex: 0 0 min(280px, 72vw); scroll-snap-align: start;
}
.ss-rail-img img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--ss-radius); margin-bottom: 8px;
}
.ss-rail-card h4 {
  margin: 4px 0 0; font-size: 15px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== YouTube: Popular Reels (phone frames) ===== */
.ss-yt-reels { padding: 0; background: #fff; }
.ss-reel-phone {
  flex: 0 0 168px; scroll-snap-align: start;
  display: flex; flex-direction: column; border: 3px solid #111; border-radius: 18px;
  overflow: hidden; background: #111; color: #fff; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ss-reel-phone:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.18); color: #fff; }
.ss-reel-panel {
  display: block; background-size: cover; background-position: center; position: relative;
}
.ss-reel-top { height: 58px; padding: 8px; display: flex; align-items: flex-start; justify-content: space-between; }
.ss-reel-mid { height: 110px; display: flex; align-items: center; justify-content: center; }
.ss-reel-bot { height: 52px; }
.ss-reel-user { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.ss-reel-avatar {
  width: 22px; height: 22px; border-radius: 50%; background: var(--ss-primary); color: #111;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
.ss-reel-share { opacity: .9; font-size: 12px; }
.ss-reel-play {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.88); color: #111;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.ss-reel-caption {
  background: #111; color: #eee; font-size: 11px; padding: 8px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== YouTube: Shorts (compact dark rail) ===== */
.ss-yt-shorts {
  background: #0a0a0a; color: #fff; padding: 10px 0 12px;
}
.ss-yt-shorts .ss-section-head {
  border-bottom-color: var(--ss-primary);
  margin-bottom: 10px; padding-bottom: 6px;
}
.ss-yt-shorts .ss-section-title { color: #fff; }
.ss-yt-shorts .ss-yt-more {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ss-primary); color: #111;
  padding: 5px 12px; border-radius: 20px;
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .03em;
}
.ss-yt-shorts .ss-yt-more:hover { color: #111; filter: brightness(1.08); }
.ss-yt-shorts .ss-hscroll-track { gap: 10px; padding-bottom: 0; }
.ss-yt-shorts .ss-hscroll-bar { background: #333; margin-top: 8px; max-width: 140px; }
.ss-short-card {
  flex: 0 0 148px; scroll-snap-align: start;
  border-radius: 10px; overflow: hidden; border: 2px solid transparent;
  text-decoration: none; color: #fff; transition: border-color .2s ease;
}
.ss-short-card.is-focus, .ss-short-card:hover {
  border-color: var(--ss-primary);
}
.ss-short-media {
  display: block; aspect-ratio: 3 / 4; background-size: cover; background-position: center;
  position: relative; border-radius: 8px;
}
.ss-short-play {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(255,255,255,.9); color: #111;
  display: inline-flex; align-items: center; justify-content: center; font-size: 9px;
}
.ss-short-body { padding: 6px 4px 2px; }
.ss-short-title {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13px; font-weight: 600; line-height: 1.3; color: #fff;
}
.ss-short-label {
  display: block; margin-top: 2px; color: var(--ss-primary); font-size: 10px;
  font-family: Manrope, sans-serif; font-weight: 700; letter-spacing: .04em;
}

/* ===== YouTube: Stories (dark cards + yellow tag) ===== */
.ss-yt-stories {
  background: #111; color: #fff; padding: 22px 0 24px;
}
.ss-yt-stories .ss-section-title { color: #fff; }
.ss-yt-stories .ss-section-head { border-bottom-color: #333; }
.ss-yt-stories .ss-yt-more {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ss-primary); color: #111;
  padding: 6px 14px; border-radius: 20px;
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 12px;
  text-transform: uppercase; letter-spacing: .03em;
}
.ss-yt-stories .ss-yt-more:hover { color: #111; filter: brightness(1.08); }
.ss-yt-stories .ss-hscroll-bar { background: #333; }
.ss-story-card {
  flex: 0 0 min(260px, 70vw); scroll-snap-align: start;
  background: #1a1a1a; border-radius: 12px; padding: 0 0 12px;
  border: 1px solid #2a2a2a; text-decoration: none; color: #fff;
  transition: border-color .2s ease, transform .2s ease;
}
.ss-story-card.is-focus, .ss-story-card:hover {
  border-color: var(--ss-primary); transform: translateY(-3px);
}
.ss-story-media { display: block; overflow: hidden; border-radius: 12px 12px 0 0; }
.ss-story-media img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
}
.ss-story-tag {
  display: inline-block; margin: 10px 12px 6px; padding: 3px 8px;
  background: var(--ss-primary); color: #111; font-size: 11px; font-weight: 800;
  font-family: Manrope, sans-serif; border-radius: 3px; letter-spacing: .03em;
}
.ss-story-title {
  padding: 0 12px;
  font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== YouTube: Videos (featured + playlist) ===== */
.ss-videos-section {
  background: #111; color: #fff; padding: 22px 0 24px;
}
.ss-videos-head { border-bottom-color: #2a2a2a; }
.ss-videos-section .ss-section-title { color: #fff; }
.ss-videos-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 12px;
  background: var(--ss-primary); color: #111; border: 0;
  padding: 6px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em;
}
.ss-videos-all:hover { color: #111; filter: brightness(1.08); }
.ss-videos-grid {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr); gap: 22px; align-items: stretch;
}
.ss-videos-lead { min-width: 0; }
.ss-videos-lead-media {
  position: relative; display: block; overflow: hidden; border-radius: 12px;
}
.ss-videos-lead-media img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
}
.ss-videos-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; border: 2px solid rgba(255,255,255,.85);
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
  transition: transform .2s ease, background .2s ease;
}
.ss-videos-lead-media:hover .ss-videos-play {
  transform: translate(-50%, -50%) scale(1.08); background: var(--ss-primary); color: #111; border-color: var(--ss-primary);
}
.ss-videos-lead-body { margin-top: 12px; }
.ss-videos-meta {
  display: block; color: var(--ss-primary); font-family: Manrope, sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px;
}
.ss-videos-lead-title {
  color: #fff; font-size: 22px; font-weight: 700; line-height: 1.35; display: block;
}
.ss-videos-lead-title:hover { color: var(--ss-primary); }
.ss-videos-list {
  max-height: 420px; overflow-y: auto; padding-right: 10px;
  scrollbar-width: thin; scrollbar-color: var(--ss-primary) #2a2a2a;
}
.ss-videos-list::-webkit-scrollbar { width: 4px; }
.ss-videos-list::-webkit-scrollbar-track { background: #2a2a2a; border-radius: 4px; }
.ss-videos-list::-webkit-scrollbar-thumb { background: var(--ss-primary); border-radius: 4px; }
.ss-videos-item {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #2a2a2a;
  text-decoration: none; color: #fff; align-items: flex-start;
}
.ss-videos-item:last-child { border-bottom: 0; }
.ss-videos-item.is-active .ss-videos-item-title,
.ss-videos-item:hover .ss-videos-item-title { color: var(--ss-primary); }
.ss-videos-item-thumb {
  width: 118px; height: 68px; flex-shrink: 0; overflow: hidden; border-radius: 8px;
}
.ss-videos-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-videos-item-text { min-width: 0; flex: 1; }
.ss-videos-item-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 600; line-height: 1.4; color: #f2f2f2;
}

/* Archive / single */
.ss-archive-layout, .ss-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 0 40px;
  align-items: start;
}
.ss-archive-content,
.ss-single-layout > .ss-article {
  min-width: 0;
  padding-right: 36px;
  border-right: 1px solid var(--ss-line);
}
.ss-archive-header { margin: 0 0 22px; }
.ss-archive-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 18px 16px 16px;
  border-radius: var(--ss-radius);
  background:
    radial-gradient(ellipse 70% 140% at 0% 50%, color-mix(in srgb, var(--ss-primary) 28%, transparent), transparent 58%),
    radial-gradient(ellipse 50% 90% at 100% 120%, color-mix(in srgb, var(--ss-primary) 10%, transparent), transparent 55%),
    var(--ss-header);
  border: 1px solid color-mix(in srgb, var(--ss-primary) 32%, transparent);
  box-shadow: inset 3px 0 0 var(--ss-primary);
}
.ss-archive-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
  opacity: .55;
}
.ss-archive-banner::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -40%;
  width: 110px;
  height: 180%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--ss-primary) 14%, transparent) 42.5%, color-mix(in srgb, var(--ss-primary) 14%, transparent) 54%, transparent 54.5%);
}
.ss-archive-mark {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ss-primary) 16%, transparent);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ss-primary) 8%, transparent);
}
.ss-archive-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: var(--ss-mark) center / contain no-repeat;
  filter: brightness(0) invert(1);
}
.ss-archive-banner-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}
.ss-archive-kicker {
  margin: 0 0 3px;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.ss-archive-header h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  color: var(--ss-primary);
}
.ss-archive-count {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #111;
  background: var(--ss-primary);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.ss-archive-desc {
  margin: 12px 0 0;
  color: var(--ss-muted);
  font-size: 14px;
  line-height: 1.55;
}
.ss-archive-grid { display: grid; gap: 22px; }
.ss-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid #eee;
}
.ss-card-title { font-size: 20px; }
.ss-card-meta { font-size: 12px; color: #888; margin-bottom: 8px; }

.ss-sidebar {
  position: sticky;
  top: 24px;
  min-width: 0;
  align-self: start;
}
.ss-sidebar-inner {
  background: var(--ss-soft);
  border: 1px solid var(--ss-line);
  border-top: 3px solid var(--ss-primary);
  border-radius: 12px;
  padding: 18px 16px 10px;
}
.ss-sidebar .ss-widget,
.ss-sidebar .widget {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--ss-line);
}
.ss-sidebar .ss-widget:last-child,
.ss-sidebar .widget:last-child { margin-bottom: 0; padding-bottom: 8px; border-bottom: 0; }
.ss-widget-title,
.ss-sidebar .wp-block-heading,
.ss-sidebar .widgettitle,
.ss-sidebar .wp-block-search__label {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ss-text);
  border-bottom: 2px solid var(--ss-primary);
  padding: 0 0 8px 26px;
  margin: 0 0 12px;
  position: relative;
}
.ss-widget-title::before,
.ss-sidebar .wp-block-heading::before,
.ss-sidebar .widgettitle::before,
.ss-sidebar .wp-block-search__label::before {
  width: 16px; height: 16px;
}
.ss-sidebar .wp-block-search__label:not(:empty) + .wp-block-search__inside-wrapper {
  margin-top: 0;
}
.ss-widget-posts { list-style: none; margin: 0; padding: 0; }
.ss-widget-post { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eee; align-items: flex-start; }
.ss-widget-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 6px;
  background: var(--ss-primary);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.ss-widget-thumb { width: 72px; height: 72px; overflow: hidden; border-radius: 8px; flex-shrink: 0; }
.ss-widget-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ss-widget-body { min-width: 0; flex: 1; }
.ss-widget-body h4 { font-size: 14px; margin: 0; line-height: 1.35; }
.ss-widget-meta {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  letter-spacing: .02em;
}
.ss-widget-cats { list-style: none; margin: 0; padding: 0; }
.ss-widget-cats li { border-bottom: 1px solid var(--ss-line); padding: 0; }
.ss-widget-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--ss-text);
  font-size: 14px;
  font-weight: 700;
}
.ss-widget-cats a:hover { color: var(--ss-primary); }
.ss-widget-cat-count {
  flex-shrink: 0;
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ss-line);
  color: #666;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.ss-widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ss-widget-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--ss-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ss-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.ss-widget-tag:hover {
  border-color: var(--ss-primary);
  background: var(--ss-primary);
  color: #111;
}
.ss-social-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ss-social-widget a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.ss-social-widget a:hover {
  background: var(--ss-primary);
  color: #111;
}

.ss-sidebar ul,
.ss-sidebar .wp-block-latest-posts,
.ss-sidebar .wp-block-archives-list,
.ss-sidebar .wp-block-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ss-sidebar li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--ss-line);
  color: var(--ss-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.ss-sidebar li:last-child { border-bottom: 0; padding-bottom: 0; }
.ss-sidebar li a { display: block; color: var(--ss-text); }
.ss-sidebar li a:hover { color: var(--ss-primary); }
.ss-sidebar .ss-widget-post { border-bottom-color: var(--ss-line); }
.ss-sidebar .ss-widget-post:last-child { border-bottom: 0; }

.ss-sidebar .search-form,
.ss-sidebar .ss-search-form,
.ss-sidebar .wp-block-search {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0;
}
.ss-sidebar .wp-block-search__inside-wrapper,
.ss-sidebar .search-form,
.ss-sidebar .ss-search-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.ss-sidebar .search-form label { display: flex; flex: 1; min-width: 0; margin: 0; }
.ss-sidebar input[type="search"],
.ss-sidebar .search-field,
.ss-sidebar .wp-block-search__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--ss-line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
  color: var(--ss-text);
  font: inherit;
}
.ss-sidebar input[type="search"]:focus,
.ss-sidebar .search-field:focus,
.ss-sidebar .wp-block-search__input:focus {
  outline: 0;
  border-color: var(--ss-primary);
  box-shadow: 0 0 0 3px rgba(244, 169, 0, .18);
}
.ss-sidebar .search-submit,
.ss-sidebar .wp-block-search__button,
.ss-sidebar .ss-search-form button {
  flex-shrink: 0;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--ss-primary);
  color: #111;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
}
.ss-sidebar .wp-block-search__button-inside .wp-block-search__inside-wrapper {
  border: 0;
  padding: 0;
}


/* ===== VIDEO CATEGORY / VIDEO SINGLE: editorial video presentation ===== */
/* Keep the video archive visually distinct from the normal news archive. */
body.category-video .ss-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

body.category-video .ss-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--ss-line);
}

body.category-video .ss-card > * {
  min-width: 0;
}

body.category-video .ss-card > a:first-child,
body.category-video .ss-card .ss-card-thumb,
body.category-video .ss-card .ss-archive-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 0 10px;
  background: #111;
}

body.category-video .ss-card > a:first-child img,
body.category-video .ss-card .ss-card-thumb img,
body.category-video .ss-card .ss-archive-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: inherit;
}

/* Red YouTube-style play indicator on video thumbnails. */
body.category-video .ss-card > a:first-child::after,
body.category-video .ss-card .ss-card-thumb::after,
body.category-video .ss-card .ss-archive-thumb::after {
  content: "▶";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff1f35;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(0,0,0,.24);
}

body.category-video .ss-card-title {
  margin: 4px 0 6px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.42;
  font-weight: 800;
}

body.category-video .ss-card-meta {
  margin: 0 0 7px;
  color: #888;
}

body.category-video .ss-card-excerpt {
  margin: 0;
  color: var(--ss-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Video single: use the embedded YouTube frame as the main visual instead of
   showing the same thumbnail twice above it. */
body.single-post.category-video .ss-article-thumb {
  display: none;
}

body.single-post.category-video .ss-article-content {
  overflow: visible;
}

body.single-post.category-video .ss-article-content .wp-block-embed,
body.single-post.category-video .ss-article-content .wp-block-embed__wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

body.single-post.category-video .ss-article-content .wp-block-embed {
  margin: 0 0 24px;
}

body.single-post.category-video .ss-article-content .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  overflow: hidden;
  border-radius: 10px;
  background: #0d0d0d;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}

body.single-post.category-video .ss-article-content .wp-block-embed__wrapper iframe,
body.single-post.category-video .ss-article-content .wp-block-embed__wrapper embed,
body.single-post.category-video .ss-article-content .wp-block-embed__wrapper object {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  border: 0;
  display: block;
}

/* Also catch classic WordPress YouTube embeds that are not wrapped in
   wp-block-embed. */
body.single-post.category-video .ss-article-content > iframe,
body.single-post.category-video .ss-article-content p > iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  border: 0;
  border-radius: 10px;
  background: #0d0d0d;
  margin: 0 0 24px;
}

@media (max-width: 767px) {
  body.category-video .ss-archive-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.category-video .ss-card-title {
    font-size: 18px;
  }

  body.category-video .ss-card > a:first-child::after,
  body.category-video .ss-card .ss-card-thumb::after,
  body.category-video .ss-card .ss-archive-thumb::after {
    left: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  body.single-post.category-video .ss-article-content .wp-block-embed,
  body.single-post.category-video .ss-article-content .wp-block-embed__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-post.category-video .ss-article-content .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px;
  }

  body.single-post.category-video .ss-article-content .wp-block-embed__wrapper iframe {
    width: 100% !important;
    height: 100% !important;
  }
}

/* ===== Single article ===== */
.ss-article {
  min-width: 0;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.ss-article-header {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ss-line);
}
.ss-article-header .ss-cat-badge {
  margin-bottom: 10px;
}
.ss-article-title {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0 0 12px;
  max-width: 100%;
}
.ss-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  color: #777;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}
.ss-article-meta .ss-meta-item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.ss-article-meta .ss-meta-item:not(:last-child)::after {
  content: "•";
  margin: 0 8px;
  color: #bbb;
  font-weight: 700;
}
.ss-article-meta a { color: #555; font-weight: 600; }
.ss-article-meta a:hover { color: var(--ss-primary); }

.ss-article-thumb {
  margin: 0 0 20px;
  width: 100%;
  max-width: 100%;
}
.ss-article-thumb img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--ss-radius);
  margin: 0;
}
.ss-article-ad,
.ss-after-article-ad {
  margin: 18px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ss-article-content {
  font-size: 17px;
  line-height: 1.85;
  color: #222;
  max-width: 100%;
  overflow-x: hidden;
}
.ss-article-content > *:first-child { margin-top: 0; }
.ss-article-content > *:last-child { margin-bottom: 0; }
.ss-article-content p { margin: 0 0 1.1em; }
.ss-article-content h2,
.ss-article-content h3,
.ss-article-content h4 {
  margin: 1.45em 0 .55em;
  line-height: 1.35;
}
.ss-article-content ul,
.ss-article-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}
.ss-article-content ul { list-style: disc; }
.ss-article-content ol { list-style: decimal; }
.ss-article-content li { margin: 0 0 .4em; }
.ss-article-content a {
  color: #111;
  text-decoration: underline;
  text-decoration-color: var(--ss-primary);
  text-underline-offset: 3px;
}
.ss-article-content a:hover { color: var(--ss-primary); }
.ss-article-content blockquote {
  margin: 0 0 1.2em;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--ss-primary);
  color: #444;
}
.ss-article-content img,
.ss-article-content figure,
.ss-article-content video,
.ss-article-content table,
.ss-article-content .wp-block-image,
.ss-article-content .wp-block-embed,
.ss-article-content .wp-caption {
  max-width: 100%;
  height: auto;
}
/* Responsive post embeds: keep video frames proportional on every screen size. */
.ss-article-content .wp-block-embed,
.ss-article-content .wp-block-embed__wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

.ss-article-content .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto !important;
  overflow: hidden;
}

.ss-article-content .wp-block-embed__wrapper iframe,
.ss-article-content .wp-block-embed__wrapper embed,
.ss-article-content .wp-block-embed__wrapper object {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  border: 0;
  display: block;
}

.ss-article-content > iframe,
.ss-article-content > embed,
.ss-article-content > object,
.ss-article-content p > iframe,
.ss-article-content p > embed,
.ss-article-content p > object {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0 !important;
  border: 0;
}

@media (max-width: 767px) {
  .ss-article-content .wp-block-embed,
  .ss-article-content .wp-block-embed__wrapper,
  .ss-article-content > iframe,
  .ss-article-content > embed,
  .ss-article-content > object,
  .ss-article-content p > iframe,
  .ss-article-content p > embed,
  .ss-article-content p > object {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ss-article-content .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }

  .ss-article-content .wp-block-embed__wrapper iframe,
  .ss-article-content .wp-block-embed__wrapper embed,
  .ss-article-content .wp-block-embed__wrapper object {
    width: 100% !important;
    height: 100% !important;
  }

  .ss-article-content > iframe,
  .ss-article-content > embed,
  .ss-article-content > object,
  .ss-article-content p > iframe,
  .ss-article-content p > embed,
  .ss-article-content p > object {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
}
.ss-article-content figure {
  margin: 0 0 1.2em;
}
.ss-article-content figcaption,
.ss-article-content .wp-caption-text {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
  line-height: 1.45;
}
.ss-article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 1.2em;
}
.ss-article-content pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 12px;
  background: var(--ss-soft);
  border-radius: 8px;
}
.ss-page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-weight: 700;
}

.ss-comment-list,
.ss-comment-list .children { list-style: none; margin: 0; padding: 0; }
.ss-comment-list .children { margin-left: 28px; }
.ss-comment-list .comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--ss-line);
}
.ss-comment-list .comment-body { min-width: 0; }
.ss-comment-list .comment-author { display: flex; align-items: center; gap: 10px; }
.ss-comment-list .avatar { border-radius: 50%; flex-shrink: 0; }
.ss-comment-list .comment-content { margin-top: 8px; overflow-wrap: anywhere; }

.ss-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ss-line);
}
.ss-tags-label {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #666;
  flex-shrink: 0;
}
.ss-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.ss-article-tags a {
  display: inline-flex;
  align-items: center;
  background: var(--ss-soft);
  padding: 5px 10px;
  margin: 0;
  border-radius: 6px;
  border: 1px solid var(--ss-line);
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}
.ss-article-tags a:hover {
  background: #fff;
  border-color: var(--ss-primary);
  color: var(--ss-primary);
}

.ss-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 18px 0 0;
  padding: 14px 0;
}
.ss-share-label {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #666;
}
.ss-share-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ss-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
.ss-share a:hover {
  background: var(--ss-primary);
  color: #111;
  transform: translateY(-1px);
}

.ss-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--ss-line);
  border-bottom: 1px solid var(--ss-line);
}
.ss-post-nav .ss-prev,
.ss-post-nav .ss-next {
  min-width: 0;
}
.ss-post-nav .ss-prev:empty,
.ss-post-nav .ss-next:empty { display: none; }
.ss-post-nav:not(:has(.ss-prev:not(:empty))),
.ss-post-nav:not(:has(.ss-next:not(:empty))) {
  grid-template-columns: 1fr;
}
.ss-post-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ss-line);
  border-radius: 10px;
  background: var(--ss-soft);
  color: var(--ss-text);
  transition: border-color .2s ease, background .2s ease;
}
.ss-post-nav a:hover {
  border-color: var(--ss-primary);
  background: #fff;
  color: var(--ss-text);
}
.ss-post-nav .ss-next a { text-align: right; align-items: flex-end; }
.ss-nav-dir {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #888;
}
.ss-nav-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ss-related { margin-top: 28px; }
.ss-related-title {
  position: relative;
  padding-left: 30px;
  margin: 0 0 16px;
  font-size: 20px;
  text-transform: uppercase;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  border-bottom: 2px solid var(--ss-line);
  padding-bottom: 10px;
}
.ss-related-title::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: var(--ss-primary);
}
.ss-related-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ss-related-card .ss-cat-badge { margin-top: 8px; }
.ss-related-card h4 { margin: 6px 0 0; }

.ss-comments { margin-top: 32px; }
.ss-comments-title {
  position: relative;
  padding-left: 30px;
  margin: 0 0 16px;
}
.ss-comments .comment-respond {
  margin-top: 20px;
  padding: 16px;
  background: var(--ss-soft);
  border: 1px solid var(--ss-line);
  border-radius: 12px;
}
.ss-comments .comment-form p { margin: 0 0 12px; }
.ss-comments .comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #444;
}
.ss-comments .comment-form input[type="text"],
.ss-comments .comment-form input[type="email"],
.ss-comments .comment-form input[type="url"],
.ss-comments .comment-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.ss-hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}
.ss-math-field input[type="text"] {
  max-width: 140px;
}
.ss-comments .form-submit { margin-bottom: 0; }
.ss-comments .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ss-primary);
  color: #111;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
}
.ss-inline-search { margin-bottom: 20px; }
.ss-inline-search input { padding: 10px 12px; border: 1px solid var(--ss-line); min-width: 0; width: 100%; }
.ss-inline-search button { background: var(--ss-primary); border: 0; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.ss-archive-content .ss-inline-search { max-width: 420px; }

/* ===== Static pages (About / Privacy / Terms / Contact) ===== */
.ss-page-hero {
  background:
    linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-bottom: 1px solid var(--ss-line);
  padding: 28px 0 26px;
  margin-bottom: 32px;
  position: relative;
}
.ss-page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--ss-primary) 0%, transparent 55%);
}
.ss-page-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: Manrope, sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: #888; margin-bottom: 12px;
}
.ss-page-breadcrumb a { color: #666; }
.ss-page-breadcrumb a:hover { color: var(--ss-primary); }
.ss-bc-sep { opacity: .45; }
.ss-bc-current { color: var(--ss-text); }
.ss-page-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em; max-width: 18ch; position: relative; padding-left: 42px;
}
.ss-page-title::before { width: 30px; height: 30px; }
.ss-page-lead {
  margin: 10px 0 0; max-width: 52ch; font-size: 16px; color: var(--ss-muted); line-height: 1.6;
}
.ss-page-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start;
}
.ss-page-article { min-width: 0; }
.ss-page-thumb { margin: 0 0 24px; }
.ss-page-thumb img { width: 100%; border-radius: var(--ss-radius); }

.ss-page-prose {
  font-size: 17px; line-height: 1.8; color: #2a2a2a;
}
.ss-page-prose > *:first-child { margin-top: 0; }
.ss-page-prose p { margin: 0 0 1.15em; }
.ss-page-prose h2,
.ss-page-prose h3 {
  margin: 1.6em 0 .55em; font-size: 1.25em; line-height: 1.35;
  padding: 0 0 8px 28px; border-bottom: 2px solid var(--ss-line);
  position: relative;
}
.ss-page-prose h2::after,
.ss-page-prose h3::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px;
  background: var(--ss-primary);
}
.ss-page-prose h3 { font-size: 1.1em; }
.ss-page-prose ul,
.ss-page-prose ol {
  margin: 0 0 1.2em; padding-left: 1.25em; list-style: disc;
}
.ss-page-prose ol { list-style: decimal; }
.ss-page-prose li { margin: 0 0 .45em; padding-left: .2em; }
.ss-page-prose a {
  color: #111; text-decoration: underline; text-decoration-color: var(--ss-primary);
  text-underline-offset: 3px;
}
.ss-page-prose a:hover { color: var(--ss-primary); }
.ss-page-prose strong { color: var(--ss-text); }

.ss-page-aside { position: sticky; top: 88px; }
.ss-page-nav-card {
  background: var(--ss-soft); border: 1px solid var(--ss-line); border-radius: 12px;
  padding: 18px 16px 12px; overflow: hidden;
}
.ss-page-aside-title {
  font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px;
  padding: 0 0 10px 26px; border-bottom: 2px solid var(--ss-primary);
  position: relative;
}
.ss-page-aside-title::before { width: 16px; height: 16px; }
.ss-page-nav-list { list-style: none; margin: 0; padding: 0; }
.ss-page-nav-list li { margin: 0; }
.ss-page-nav-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 10px; border-radius: 8px; color: var(--ss-text);
  font-family: Manrope, sans-serif; font-size: 14px; font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ss-page-nav-list a:hover {
  background: #fff; color: #111; transform: translateX(2px);
}
.ss-page-nav-list li.is-current a {
  background: #fff; color: #111;
  box-shadow: inset 3px 0 0 var(--ss-primary);
}
.ss-page-nav-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--ss-line); color: #444; font-size: 12px;
}
.ss-page-nav-list li.is-current .ss-page-nav-icon {
  background: var(--ss-primary); border-color: var(--ss-primary); color: #111;
}

/* Contact page */
.ss-contact-intro { margin-bottom: 28px; max-width: 62ch; }
.ss-contact-alert {
  margin: 0 0 20px; padding: 12px 14px; border-radius: 8px; font-weight: 600; font-size: 14px;
}
.ss-contact-alert.is-success { background: #eef9f0; color: #1b6b2c; border: 1px solid #c6e6cc; }
.ss-contact-alert.is-error { background: #fff1f0; color: #a12a22; border: 1px solid #f0c4c0; }
.ss-contact-grid {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start;
}
.ss-contact-mail {
  text-align: center; padding: 28px 18px; border-radius: 14px;
  background: linear-gradient(160deg, #111 0%, #2a2a2a 100%); color: #fff;
}
.ss-contact-mail-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ss-primary); color: #111; font-size: 22px;
}
.ss-contact-mail-title {
  color: #fff; font-family: Manrope, sans-serif; font-size: 15px;
  text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px;
}
.ss-contact-mail-addr {
  display: block; color: var(--ss-primary); font-weight: 700; font-size: 14px;
  word-break: break-all; margin-bottom: 16px;
}
.ss-contact-mail-addr:hover { color: #fff; }
.ss-contact-mail-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 6px; background: var(--ss-primary); color: #111;
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 13px; text-transform: uppercase;
}
.ss-contact-mail-btn:hover { background: #fff; color: #111; }
.ss-contact-form-wrap {
  padding: 22px 24px 20px; border: 1px solid var(--ss-line); border-radius: 14px;
  background: #fff;
}
.ss-contact-form-title {
  font-size: 20px; margin: 0 0 16px; padding: 0 0 10px 30px;
  border-bottom: 2px solid var(--ss-line); position: relative;
}
.ss-contact-form-title::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px;
  background: var(--ss-primary);
}
.ss-contact-field { display: block; margin-bottom: 14px; }
.ss-contact-field span {
  display: block; margin-bottom: 6px; font-family: Manrope, sans-serif;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #555;
}
.ss-contact-field input,
.ss-contact-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ss-line); border-radius: 8px;
  font: inherit; color: var(--ss-text); background: var(--ss-soft);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.ss-contact-field input:focus,
.ss-contact-field textarea:focus {
  outline: 0; border-color: var(--ss-primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(244, 169, 0, .18);
}
.ss-contact-field textarea { resize: vertical; min-height: 140px; }
.ss-contact-form .ss-math-field input[type="text"] {
  max-width: 140px;
  background: #fff;
}
.ss-contact-submit {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 4px; padding: 12px 22px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--ss-primary); color: #111; font-family: Manrope, sans-serif;
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ss-contact-submit:hover {
  transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.ss-contact-thanks {
  margin: 16px 0 0; font-size: 14px; color: var(--ss-muted); line-height: 1.55;
}

.ss-archive-main, .ss-single-main { padding: 28px 0 50px; }
.ss-page-main { padding-bottom: 56px; }

/* ===== 404 ===== */
.ss-404-main {
  gap: 0;
  padding-bottom: 56px;
}
.ss-404-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: 52px 0 64px;
  background:
    radial-gradient(ellipse 90% 55% at 50% -18%, rgba(244, 169, 0, .32), transparent 58%),
    radial-gradient(ellipse 45% 40% at 92% 108%, rgba(244, 169, 0, .1), transparent 60%),
    #111;
  border-bottom: 3px solid var(--ss-primary);
}
.ss-404-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 40%, transparent 80%);
}
.ss-404-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: min(520px, 78vw);
  height: min(520px, 78vw);
  transform: translateX(-50%);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ss-404-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.ss-404-float {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--ss-primary);
  font-size: 16px;
  animation: ss-404-float 7s ease-in-out infinite;
}
.ss-404-float--1 { top: 16%; left: 8%; animation-delay: 0s; }
.ss-404-float--2 { top: 22%; right: 10%; animation-delay: 1.4s; }
.ss-404-float--3 { bottom: 18%; left: 14%; animation-delay: 2.2s; }
.ss-404-float--4 { bottom: 14%; right: 12%; animation-delay: .8s; }
@keyframes ss-404-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ss-404-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}
.ss-404-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(244, 169, 0, .16);
  border: 1px solid rgba(244, 169, 0, .35);
  color: var(--ss-primary);
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ss-404-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 18px);
  margin: 8px 0 6px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(92px, 18vw, 168px);
  line-height: .9;
  letter-spacing: -.06em;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.ss-404-ball {
  width: .68em;
  height: .68em;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ss-primary);
  color: #111;
  font-size: .34em;
  box-shadow: 0 10px 32px rgba(244, 169, 0, .38);
  animation: ss-404-spin 9s linear infinite;
}
@keyframes ss-404-spin {
  to { transform: rotate(360deg); }
}
.ss-404-title {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.ss-404-lead {
  margin: 0 auto 26px;
  max-width: 46ch;
  color: #cfcfcf;
  font-size: 16px;
  line-height: 1.65;
}
.ss-404-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 540px;
  margin: 0 auto 22px;
  padding: 6px 6px 6px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.ss-404-search > i {
  color: #888;
  font-size: 15px;
  flex-shrink: 0;
}
.ss-404-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 12px;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  color: var(--ss-text);
}
.ss-404-search button {
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--ss-primary);
  color: #111;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease;
}
.ss-404-search button:hover {
  transform: translateY(-1px);
  background: #ffbb1a;
}
.ss-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
}
.ss-404-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  background: var(--ss-primary);
  color: #111 !important;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ss-404-home:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(244, 169, 0, .35);
  color: #111 !important;
}
.ss-404-skip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ddd !important;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.ss-404-skip:hover { color: var(--ss-primary) !important; }
.ss-404-browse,
.ss-404-latest {
  padding: 40px 0 8px;
}
.ss-404-latest { padding-top: 24px; }
.ss-404-section-title {
  position: relative;
  padding-left: 30px;
  margin: 0 0 18px;
  font-size: 20px;
  text-transform: uppercase;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  border-bottom: 2px solid var(--ss-line);
  padding-bottom: 10px;
}
.ss-404-section-title::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: var(--ss-primary);
}
.ss-404-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ss-404-cats a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--ss-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ss-text);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ss-404-cats a:hover {
  border-color: var(--ss-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  color: var(--ss-text);
}
.ss-404-cat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: var(--ss-primary);
  font-size: 15px;
}
.ss-404-cat-name {
  flex: 1;
  min-width: 0;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.ss-404-cat-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #888;
}
@media (prefers-reduced-motion: reduce) {
  .ss-404-ball,
  .ss-404-float { animation: none; }
}

/* Footer */
.ss-site-footer { background: #111; color: #ddd; padding: 40px 0 16px; margin-top: 20px; }
.ss-footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr 1.45fr; gap: 28px; align-items: start; }
.ss-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.ss-footer-brand .custom-logo-link--footer {
  display: block;
  width: 118px;
  height: 108px;
  overflow: hidden;
  margin: 0 0 12px;
  line-height: 0;
}
.ss-footer-brand img,
.custom-logo--footer {
  width: 152px;
  height: 152px;
  max-width: none;
  max-height: none;
  margin: -22px 0 0 -17px;
  object-fit: contain;
  display: block;
}
.ss-footer-content {
  margin: 0 0 14px;
  color: #c8c8c8;
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
  max-width: 280px;
}
.ss-footer-content p { margin: 0 0 8px; }
.ss-footer-content p:last-child { margin-bottom: 0; }
.ss-footer-desc { margin-top: 0; }
.ss-footer-col h3, .ss-footer-widgets .ss-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff; font-size: 16px; line-height: 1.3; text-transform: uppercase; border-bottom: 1px solid #333;
  margin: 0 0 12px; padding: 0 0 10px; position: relative;
  text-align: left;
}
.ss-footer-col h3::before,
.ss-footer-widgets .ss-widget-title::before {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.ss-footer-col ul,
.ss-footer-menu {
  margin: 0;
  padding: 0;
  text-align: left;
}
.ss-footer-col a, .ss-footer-menu a { display: block; padding: 7px 0; color: #ccc; }
.ss-footer-latest-list { list-style: none; margin: 0; padding: 0; }
.ss-footer-latest-list li { margin: 0; padding: 0; }
.ss-footer-latest-item {
  display: flex !important; align-items: flex-start; gap: 12px;
  padding: 8px 0 !important; color: #fff;
}
.ss-footer-latest-list li:first-child .ss-footer-latest-item {
  padding-top: 2px !important;
}
.ss-footer-latest-item:hover { color: #fff; }
.ss-footer-latest-thumb {
  flex: 0 0 92px; width: 92px; height: 62px; overflow: hidden; border-radius: 2px;
}
.ss-footer-latest-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block; max-height: none; max-width: none;
}
.ss-footer-latest-body { flex: 1; min-width: 0; }
.ss-footer-latest-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 600; line-height: 1.35; color: #fff;
}
.ss-footer-latest-item:hover .ss-footer-latest-title { color: var(--ss-primary); }
.ss-footer-latest-date {
  display: block; margin-top: 6px; font-size: 12px; color: #9a9a9a; font-weight: 500;
}
.ss-footer-widgets { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ss-social-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}
.ss-social-footer a { background: rgba(255,255,255,.12); }
.ss-footer-bottom { border-top: 1px solid #333; margin-top: 28px; padding-top: 14px; font-size: 13px; text-align: center; }
.ss-footer-bottom p { margin: 0; }

/* Back to top */
.ss-back-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 9990;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--ss-primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.ss-back-top[hidden] {
  display: none !important;
}
.ss-back-top:hover {
  transform: translateY(-2px);
  background: #e09800;
  color: #fff;
}
.ss-back-top i {
  font-size: 16px;
  line-height: 1;
}
.ss-no-results { padding: 40px 0; text-align: center; }
.nav-links { display: flex; gap: 10px; margin: 24px 0; }
.page-numbers { padding: 6px 12px; border: 1px solid var(--ss-line); }
.page-numbers.current { background: var(--ss-primary); color: #111; border-color: var(--ss-primary); }

/* Responsive */
@media (max-width: 1200px) {
  :root { --ss-gutter: 24px; }
  .ss-logo-wrap img,
  .custom-logo--header { max-height: 52px; max-width: 220px; }
  .ss-footer-grid { grid-template-columns: 1fr 1fr; }
  .ss-datetime { font-size: 12px; }
  .ss-drop-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-drop-content--with-nav { grid-template-columns: 1fr; }
  .ss-sub-menu { border-right: 0; border-bottom: 1px solid var(--ss-line); padding: 0 0 10px; display: flex; flex-wrap: wrap; gap: 0 16px; }
}

@media (max-width: 992px) {
  .ss-menus { display: none !important; }
  .ss-drop-menu { display: none !important; }
  .ss-menu-bar {
    display: none;
  }
  .ss-menu-section {
    border-bottom: 0;
    min-height: 0;
    background: transparent;
  }
  .ss-menu-section.is-sticky {
    position: static;
    box-shadow: none;
  }
  .ss-header-top {
    border-bottom: 3px solid var(--ss-primary);
  }
  .ss-search-panel {
    position: fixed;
    top: var(--ss-mobile-header-offset, 72px);
    left: 0;
    right: 0;
    z-index: 140;
  }
  .ss-social-header { display: none; }
  .ss-hamburger { display: inline-flex; }
  .ss-search-toggle.ss-search-toggle--header { display: inline-flex; }
  .ss-main-header {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas:
      "left brand right"
      ". datetime .";
    align-items: center;
    min-height: 0;
    padding: 12px 0 10px;
    gap: 4px 10px;
  }
  .ss-header-left {
    grid-area: left;
    justify-self: start;
    align-self: center;
  }
  .ss-header-brand {
    grid-area: brand;
    grid-column: auto;
    gap: 0;
  }
  .ss-logo-wrap img,
  .custom-logo--header {
    max-height: 50px;
    max-width: min(250px, 64vw);
  }
  .ss-datetime {
    grid-area: datetime;
    justify-self: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .01em;
  }
  .ss-header-right {
    grid-area: right;
    display: flex;
    justify-self: end;
    align-self: center;
  }
  .ss-right-menus { width: auto; max-width: 70%; border: 0; flex-shrink: 1; min-width: 0; }
  .ss-more-menu { display: none; }
  .ss-more-menu span:last-child, .ss-search-toggle span { display: none; }
  .ss-live-btn { margin: 0 6px; padding: 4px 8px; }
  .ss-search-toggle { padding: 8px; }
  .ss-top-layout, .ss-indepth-grid,
  .ss-archive-layout, .ss-single-layout,
  .ss-page-layout, .ss-contact-grid,
  .ss-feature-stack, .ss-magazine, .ss-dual-wrap, .ss-videos-grid { display: block; }
  .ss-404-cats { grid-template-columns: 1fr 1fr; }
  .ss-404-hero { padding: 40px 0 48px; }
  .ss-404-float { display: none; }
  .ss-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .ss-footer-brand {
    margin: 0;
    padding-bottom: 0;
  }
  .ss-footer-brand .custom-logo-link--footer { margin-bottom: 12px; }
  .ss-social-footer { margin-top: 0; }
  .ss-footer-col h3,
  .ss-footer-widgets .ss-widget-title {
    margin: 0 0 16px;
    padding-top: 4px;
    padding-bottom: 14px;
  }
  .ss-footer-widgets { grid-template-columns: 1fr; gap: 32px; margin-top: 8px; }
  .ss-footer-bottom { margin-top: 32px; padding-top: 18px; }
  .ss-top-featured-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 4px;
  }
  .ss-top-lead,
  .ss-top-side-list,
  .ss-list-news {
    width: 100%;
    max-width: 100%;
  }
  .ss-top-lead {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ss-line);
  }
  .ss-list-text { min-width: 0; flex: 1 1 auto; }
  .ss-list-text h5 { width: 100%; }
  .ss-sub-four { margin-left: 0; margin-right: 0; }
  .ss-archive-content,
  .ss-single-layout > .ss-article {
    padding-right: 0;
    border-right: 0;
  }
  .ss-archive-banner { padding: 14px 14px 14px 14px; min-height: 68px; }
  .ss-archive-header h1 { font-size: 22px; }
  .ss-sidebar { position: static; margin-top: 28px; }
  .ss-single-main { padding: 20px 0 40px; }
  .ss-article-header { margin-bottom: 14px; padding-bottom: 14px; }
  .ss-article-content { font-size: 16px; line-height: 1.8; }
  .ss-post-nav { gap: 10px; }
  .ss-related-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ss-related-title { font-size: 18px; }
  .ss-flash-track,
  .ss-hscroll-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .ss-flash-track::-webkit-scrollbar,
  .ss-hscroll-track::-webkit-scrollbar { display: none; height: 0; }
  .ss-indepth-slider .ss-indepth-img img,
  .ss-fs-lead .ss-fs-lead-img img,
  .ss-indepth-grid.is-solo .ss-indepth-img img,
  .ss-cat-section .ss-fs-lead-img img,
  .ss-cat-section .ss-mag-lead-img img {
    height: auto; min-height: 0; max-height: 220px; aspect-ratio: 16/9;
  }
  .ss-indepth-slide.is-active { display: block; }
  .ss-page-aside { position: static; margin-top: 28px; }
  .ss-contact-mail { margin-bottom: 20px; }
  .ss-fs-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 0; }
  .ss-fs-rail { margin-top: 16px; }
  .ss-quad-grid { grid-template-columns: 1fr 1fr; }
  .ss-mag-item { grid-template-columns: 100px 1fr; }
  .ss-sticky-col { position: static; margin-top: 16px; }
  .ss-hero-banner-slide img,
  .ss-banner-slide img {
    height: 160px;
    max-height: 160px;
    aspect-ratio: auto;
  }
  .ss-hero-banner--short .ss-hero-banner-slide img {
    height: 160px;
    max-height: 160px;
  }
  .ss-hero-banner--medium .ss-hero-banner-slide img {
    height: 200px;
    max-height: 200px;
  }
  .ss-hero-banner--tall .ss-hero-banner-slide img {
    height: 240px;
    max-height: 240px;
  }
  .ss-hero-banner-overlay { padding: 16px 8%; }
  .ss-hero-banner-cta { margin-top: 10px; padding: 6px 14px; font-size: 11px; }
  .ss-banner-nav { right: 8px; top: 8px; }
  .ss-banner-nav button { width: 28px; height: 28px; }
  .ss-back-top { right: 14px; bottom: 18px; width: 40px; height: 40px; }
  .ss-banner-desktop { display: none !important; }
  .ss-banner-mobile { display: block !important; }
  .ss-card { grid-template-columns: 1fr; }
  .ss-popular-grid, .ss-related-grid { grid-template-columns: 1fr 1fr; }
  .ss-yt-shorts { padding: 8px 0 10px; }
  .ss-yt-shorts .ss-section-title { font-size: 18px; }
  .ss-short-card { flex-basis: clamp(134px, 22vw, 148px); }
  .ss-hscroll-btn { width: 36px; height: 36px; }
}

@media (max-width: 640px) {
  :root { --ss-gutter: 16px; }
  .ss-archive-banner {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 14px 12px;
  }
  .ss-archive-count { margin-left: auto; }
  .ss-archive-header h1 { font-size: 20px; }
  .ss-archive-mark { width: 38px; height: 38px; }
  .ss-sub-news { width: 100%; }
  .ss-sub-news::before, .ss-sub-news::after { display: none !important; }
  .ss-popular-grid, .ss-related-grid,
  .ss-quad-grid, .ss-fs-stack { grid-template-columns: 1fr; }
  .ss-hero-title { font-size: 20px; }
  .ss-article-title { font-size: 22px; line-height: 1.3; }
  .ss-article-meta {
    gap: 4px 0;
    font-size: 12px;
  }
  .ss-article-meta .ss-meta-item:not(:last-child)::after { margin: 0 6px; }
  .ss-article-thumb { margin-bottom: 16px; }
  .ss-article-thumb img { aspect-ratio: 16 / 10; border-radius: 8px; }
  .ss-article-content { font-size: 15.5px; line-height: 1.78; }
  .ss-article-content ul,
  .ss-article-content ol { padding-left: 1.15em; }
  .ss-article-tags,
  .ss-share {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .ss-post-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ss-post-nav .ss-next a {
    text-align: left;
    align-items: flex-start;
  }
  .ss-related { margin-top: 22px; }
  .ss-related-title {
    font-size: 17px;
    padding-left: 28px;
    margin-bottom: 12px;
  }
  .ss-related-title::after { left: 28px; }
  .ss-related-card h4 { font-size: 15px; }
  .ss-comment-list .children { margin-left: 14px; }
  .ss-comments .comment-respond { padding: 14px; border-radius: 10px; }
  .ss-flash-item { min-width: 260px; }
  .ss-just-item { white-space: normal; display: none; -webkit-line-clamp: 2; }
  .ss-just-item.is-active {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  }
  .ss-live-btn { margin: 0 8px; }
  .ss-videos-list { max-height: 320px; margin-top: 16px; }
  .ss-videos-lead-title { font-size: 18px; }
  .ss-reel-phone { flex-basis: 148px; }
  .ss-yt-shorts .ss-hscroll-track { gap: 8px; }
  .ss-short-card { flex-basis: clamp(126px, 38vw, 142px); }
  .ss-short-title { font-size: 12px; }
  .ss-hscroll-btn { width: 34px; height: 34px; }
  .ss-hscroll-next { right: 0; }
  .ss-hscroll-prev { left: 0; }
  .ss-story-card { flex-basis: min(220px, 78vw); }
  .ss-list-img { width: 84px; height: 84px; }
  .ss-list-text h5 { font-size: 14px; }
  .ss-404-cats { grid-template-columns: 1fr; }
  .ss-404-search {
    flex-wrap: wrap;
    border-radius: 14px;
    padding: 10px 12px 12px;
  }
  .ss-404-search button { width: 100%; border-radius: 10px; }
  .ss-404-lead { font-size: 15px; }
  .ss-404-browse,
  .ss-404-latest { padding-top: 28px; }
}
