/*
Theme Name: Senworld Premium Media Maquette
Theme URI: https://senworld.local/
Author: Senworld
Author URI: https://senworld.local/
Description: Theme WordPress custom premium pour un media d'actualite senegalais, africain et international.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: senworld
*/

:root {
  --sw-black-header: #0b0d10;
  --sw-black-deep: #060708;
  --sw-black-footer: #080a0d;
  --sw-red: #e30613;
  --sw-red-hover: #ba0610;
  --sw-bg: #f6f7f9;
  --sw-white: #ffffff;
  --sw-text: #12151b;
  --sw-muted: #6b7280;
  --sw-border: #e5e7eb;
  --sw-green: #00c853;
  --sw-blue: #155eef;
  --sw-orange: #f59e0b;
  --sw-purple: #a855f7;
  --sw-pink: #e83a76;
  --sw-radius: 8px;
  --sw-container: 1320px;
  --sw-shadow: 0 8px 22px rgba(18, 21, 27, .06);
}

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

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

body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--sw-bg);
  color: var(--sw-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body.search-open,
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.senworld-container {
  width: min(var(--sw-container), calc(100% - clamp(24px, 4vw, 56px)));
  max-width: 100%;
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sw-topbar {
  height: 38px;
  background: var(--sw-black-deep);
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.sw-topbar__inner,
.sw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.sw-topbar__meta,
.sw-topbar__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-separator {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.18);
}

.sw-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: .9;
}

.sw-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--sw-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.sw-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  background: var(--sw-black-header);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.sw-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.sw-logo__world { color: var(--sw-red); }

.sw-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
}

.sw-primary-nav ul,
.sw-hot-topics ul,
.sw-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sw-primary-nav > ul {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

.sw-primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 74px;
  padding: 0 15px;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sw-primary-nav .current-menu-item > a::after,
.sw-primary-nav .current_page_item > a::after,
.sw-primary-nav li:first-child > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  background: var(--sw-red);
}

.sw-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sw-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.sw-icon-btn svg { width: 22px; height: 22px; stroke-width: 2; }

.sw-hot-topics {
  height: 58px;
  background: #fff;
  border-bottom: 1px solid var(--sw-border);
}

.sw-hot-topics__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
  overflow: hidden;
}

.sw-hot-topics__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 145px;
  height: 40px;
  padding: 0 18px;
  border-radius: 5px;
  background: #f1f2f4;
  color: var(--sw-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sw-hot-topics__links,
.sw-hot-topics .menu {
  display: flex;
  align-items: center;
  gap: 35px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.sw-hot-topics__links::-webkit-scrollbar,
.sw-hot-topics .menu::-webkit-scrollbar { display: none; }

.sw-hot-topics a {
  display: inline-flex;
  white-space: nowrap;
  color: #20242b;
  font-size: 12px;
  font-weight: 600;
}

.sw-section { padding: 0 0 34px; }
.sw-hero { padding-top: 24px; }

.sw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
}

.sw-section-title {
  position: relative;
  margin: 0;
  padding-left: 17px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.sw-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--sw-red);
}

.sw-section-link {
  color: #11151b;
  font-size: 12px;
  font-weight: 600;
}

.sw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, .86fr) 300px;
  gap: 16px;
  align-items: start;
}

.sw-stack {
  display: grid;
  gap: 16px;
}

.sw-image-card {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--sw-radius);
  background: #111;
  box-shadow: var(--sw-shadow);
  isolation: isolate;
}

.sw-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.sw-image-card:hover img { transform: scale(1.03); }

.sw-image-card > a {
  position: absolute;
  inset: 0;
  display: block;
}

.sw-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.82) 100%);
}

.sw-image-card__content {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  padding-top: 4px;
  color: #fff;
}

.sw-image-card__title {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 10px 0 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: break-word;
  white-space: normal;
}

.sw-image-card__title a {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.sw-hero-main { min-height: clamp(440px, 45vw, 640px); }
.sw-hero-main .sw-image-card__title { max-width: 570px; font-size: 30px; }
.sw-hero-main .sw-excerpt { max-width: 510px; }

.sw-hero-small { min-height: max(300px, calc((clamp(440px, 45vw, 640px) - 16px) / 2)); }
.sw-hero-small .sw-image-card__content { left: 20px; right: 20px; bottom: 20px; }
.sw-hero-small .sw-image-card__title { font-size: 17px; line-height: 1.25; }

.sw-excerpt {
  max-width: 100%;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  overflow-wrap: break-word;
}

.sw-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: rgba(255,255,255,.84);
  font-size: 12px;
}

.sw-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sw-meta-item--comments {
  order: -1;
}

.sw-meta-item svg,
.sw-bookmark svg { width: 15px; height: 15px; }

.sw-read-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 40px;
  border-radius: 4px;
  background: var(--sw-red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.sw-read-more:hover,
.sw-newsletter button:hover,
.sw-login:hover { background: var(--sw-red-hover); }

.sw-badge {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 9px;
  border-radius: 3px;
  background: var(--sw-red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sw-badge--sport,
.sw-badge--can-2025,
.sw-badge--a-la-une { background: var(--sw-red); }
.sw-badge--politique,
.sw-badge--monde,
.sw-badge--videos { background: var(--sw-blue); }
.sw-badge--economie { background: var(--sw-green); }
.sw-badge--afrique { background: var(--sw-orange); }
.sw-badge--societe { background: var(--sw-purple); }
.sw-badge--culture { background: var(--sw-pink); }
.sw-badge--tech { background: #0ea56a; }

.sw-live {
  min-height: 420px;
  padding: 18px;
  border-radius: var(--sw-radius);
  background: var(--sw-black-header);
  color: #fff;
  box-shadow: var(--sw-shadow);
}

.sw-live--results {
  min-height: 0;
  background: #0b0d10;
  color: #fff;
  box-shadow: none;
  align-self: start;
  padding: 16px;
}

.sw-live__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sw-live__head h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sw-live__head a { font-size: 11px; font-weight: 700; color: #fff; }

.sw-live--results .sw-live__head a { color: rgba(255,255,255,.74); }

.sw-live--briefing {
  min-height: 420px;
  background: #0b0d10;
  box-shadow: none;
}

.sw-briefing-list {
  display: grid;
  gap: 14px;
}

.sw-briefing-item {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.sw-briefing-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sw-briefing-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: rgba(255,255,255,.64);
  font-size: 10px;
  font-weight: 800;
}

.sw-briefing-item h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.28;
}

.sw-briefing-item h3 a {
  color: inherit;
}

.sw-results-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  background: transparent;
  overflow: visible;
}

.sw-results-tab {
  appearance: none;
  border: 0;
  background: #1a1d23;
  padding: 11px 10px 10px;
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: #a8adb6;
  border-radius: 8px;
}

.sw-results-tab.is-active {
  background: #155eef;
  color: #fff;
  border-bottom-color: #155eef;
}

.sw-results-tab__label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}

.sw-results-tab__date {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: .95;
}

.sw-results-panels {
  display: block;
}

.sw-results-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.sw-results-group {
  display: grid;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sw-results-group__head {
  display: grid;
  gap: 3px;
}

.sw-results-group__sport {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sw-green);
}

.sw-results-group__competition {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.64);
}

.sw-results-list {
  display: grid;
  gap: 12px;
}

.sw-results-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.sw-results-match__team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.sw-results-match__team span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-results-match__team--away {
  justify-content: flex-end;
  text-align: right;
}

.sw-results-match__team--away span:last-child {
  order: -1;
}

.sw-results-flag {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
  background: #2a2f38;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.sw-results-match__team .sw-results-flag {
  width: 26px;
  height: 18px;
}

.sw-results-match__team .sw-results-flag:empty {
  background: #dce0e6;
}

.sw-results-flag--emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  background: rgba(255,255,255,.08);
}

.sw-results-match__center {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 6px;
  justify-content: center;
  min-width: 106px;
}

.sw-results-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 7px;
  border-radius: 4px;
  background: #fff;
  color: #fff;
  color: #10131a;
  font-size: 13px;
  font-weight: 900;
}

.sw-results-sep {
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}

.sw-results-time {
  grid-column: 1 / -1;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  color: rgba(255,255,255,.62);
}

.sw-results-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 74px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255,255,255,.08);
  color: #d8dbe1;
}

.sw-results-status--live {
  background: rgba(0, 200, 83, .14);
  color: #2fe27e;
}

.sw-results-status--pause {
  background: rgba(245, 158, 11, .16);
  color: #f6bf45;
}

.sw-results-status--done {
  background: rgba(21, 94, 239, .18);
  color: #7fb0ff;
}

.sw-live__block {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.sw-live__sport {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--sw-green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.sw-live__sport::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sw-green);
}

.sw-live__competition {
  margin: 4px 0 12px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
}

.sw-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 700;
}

.sw-match__team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sw-flag { width: 15px; height: 15px; border-radius: 2px; background: #253040; }
.sw-score { font-size: 15px; font-weight: 900; }
.sw-status { color: var(--sw-red); font-size: 10px; text-align: right; }

.sw-live__button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sw-live__empty {
  margin: 10px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.sw-live--results .sw-live__button {
  margin-top: 6px;
  border-color: rgba(255,255,255,.16);
  color: #fff;
  background: rgba(255,255,255,.04);
}

.sw-results-empty {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px dashed rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 700;
}

.sw-results-card {
  display: grid;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.sw-results-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sw-results-card__competition {
  min-width: 0;
  color: rgba(255,255,255,.74);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-results-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 74px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.08);
}

.sw-results-card__status--live { background: rgba(0, 200, 83, .16); color: #50e78b; }
.sw-results-card__status--pause { background: rgba(245, 158, 11, .18); color: #ffd166; }
.sw-results-card__status--done { background: rgba(21, 94, 239, .18); color: #9ec2ff; }
.sw-results-card__status--scheduled { background: rgba(255,255,255,.08); color: rgba(255,255,255,.84); }
.sw-results-card__status--postponed { background: rgba(255,255,255,.10); color: #ffcc8a; }
.sw-results-card__status--cancelled { background: rgba(255,255,255,.10); color: #ff9aa7; }

.sw-results-card__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.sw-results-team {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sw-results-team--away {
  justify-content: flex-end;
  text-align: right;
}

.sw-results-team__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.sw-results-team__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-results-team__emoji {
  font-size: 18px;
  line-height: 1;
}

.sw-results-team__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-results-scoreboard {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.sw-results-scoreboard__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  border-radius: 4px;
  background: #fff;
  color: #0f1218;
  font-size: 14px;
  font-weight: 900;
}

.sw-results-scoreboard__sep {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 900;
}

.sw-results-scoreboard__time {
  grid-column: 1 / -1;
  margin-top: 2px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 768px) {
  .sw-results-card__teams {
    grid-template-columns: minmax(0, 1fr) minmax(88px, auto) minmax(0, 1fr);
    gap: 8px;
  }

  .sw-results-team {
    font-size: 11px;
  }

  .sw-results-team__flag {
    width: 26px;
    height: 18px;
  }

  .sw-results-scoreboard__value {
    min-width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .sw-live--results {
    padding: 14px;
  }

  .sw-results-tabs {
    gap: 6px;
  }

  .sw-results-tab {
    padding: 10px 8px 9px;
  }

  .sw-results-tab__label {
    font-size: 11px;
  }

  .sw-results-card {
    padding: 12px 12px;
  }

  .sw-results-card__meta {
    gap: 8px;
  }

  .sw-results-card__competition {
    font-size: 10px;
  }

  .sw-results-card__status {
    min-width: 68px;
    padding: 4px 8px;
    font-size: 8px;
  }

  .sw-results-team__name {
    max-width: 100%;
  }
}

.sw-live--results .sw-live__block {
  border-bottom-color: rgba(255,255,255,.08);
}

.sw-live--results .sw-live__sport {
  color: var(--sw-green);
}

.sw-live--results .sw-live__competition {
  color: rgba(255,255,255,.62);
}

.sw-live--results .sw-match {
  color: #fff;
}

.sw-live--results .sw-status {
  color: #ff5f6d;
}

.sw-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sw-post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius);
  background: #fff;
  box-shadow: 0 4px 14px rgba(18,21,27,.03);
}

.sw-post-card__image {
  display: block;
  flex: 0 0 auto;
  height: clamp(150px, 13vw, 190px);
  background: #d9dde4;
  overflow: hidden;
}

.sw-post-card__image img { width: 100%; height: 100%; object-fit: cover; }

.sw-post-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 132px;
  padding: 12px 14px 34px;
  background: #fff;
}

.sw-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.sw-card-top .sw-time { margin-left: auto; }

.sw-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sw-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.sw-post-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.sw-post-card h3 a {
  display: block;
  color: var(--sw-text);
}

.sw-post-card p {
  margin: 0;
  color: #303640;
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sw-bookmark {
  position: absolute;
  right: 13px;
  bottom: 10px;
  color: #151922;
  opacity: .9;
}

.sw-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.sw-must-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, .92fr);
  gap: 16px;
}

.sw-must-main { min-height: clamp(310px, 30vw, 430px); }

.sw-list {
  display: grid;
  gap: 13px;
}

.sw-list-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  min-height: 82px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--sw-border);
}

.sw-list-item__image {
  height: 74px;
  border-radius: 5px;
  overflow: hidden;
  background: #d9dde4;
}

.sw-list-item__image img { width: 100%; height: 100%; object-fit: cover; }
.sw-list-item h3 { margin: 6px 0 0; font-size: 15px; font-weight: 900; line-height: 1.22; }
.sw-inline-meta { display: flex; align-items: center; gap: 8px; }

.sw-video-box {
  position: relative;
  padding: 12px;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius);
  background: #fff;
}

.sw-video-main {
  min-height: clamp(210px, 20vw, 300px);
  margin-bottom: 12px;
}

.sw-video-main--link {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(210px, 20vw, 300px);
  margin-bottom: 12px;
  border-radius: 7px;
}

.sw-video-main--link img {
  display: block;
  width: 100%;
  height: clamp(210px, 20vw, 300px);
  object-fit: cover;
}

.sw-video-main__copy {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 4;
  display: grid;
  gap: 8px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.sw-video-main__copy strong {
  font-size: 20px;
  line-height: 1.2;
}

.sw-video-main__copy .sw-time {
  color: rgba(255,255,255,.9);
}

.sw-video-box > .sw-play {
  top: calc(12px + (clamp(210px, 20vw, 300px) / 2));
}

.sw-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255,255,255,.86);
  border-radius: 50%;
  background: rgba(0,0,0,.28);
  color: #fff;
  transform: translate(-50%, -50%);
}

.sw-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid #fff;
}

.sw-mini-video {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--sw-border);
}

.sw-mini-video,
.sw-mini-video:visited {
  color: inherit;
  text-decoration: none;
}

.sw-mini-video__thumb {
  position: relative;
  height: 54px;
  overflow: hidden;
  border-radius: 5px;
  background: #d9dde4;
}

.sw-mini-video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sw-mini-video__thumb { display: block; }
.sw-mini-video__play { width: 24px; height: 24px; border-width: 1px; }
.sw-mini-video__play::before { border-top-width: 5px; border-bottom-width: 5px; border-left-width: 8px; }
.sw-mini-video h3 { margin: 0 0 2px; font-size: 13px; font-weight: 900; line-height: 1.25; }

.sw-single__video { margin: 16px 0 22px; }

.sw-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.sw-category-card {
  overflow: hidden;
  border: 1px solid var(--sw-border);
  border-radius: 7px;
  background: #fff;
}

.sw-category-card__image {
  position: relative;
  display: block;
  height: clamp(110px, 12vw, 168px);
  overflow: hidden;
  background: #d9dde4;
}

.sw-category-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,13,0) 20%, rgba(8,10,13,.55) 100%);
}

.sw-category-card__image img { width: 100%; height: 100%; object-fit: cover; }

.sw-category-card__overlay {
  position: absolute;
  inset: auto 10px 10px 10px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: #fff;
}

.sw-category-card__overlay strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.sw-category-card__overlay span {
  color: rgba(255,255,255,.84);
  font-size: 11px;
}

.sw-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: center;
  gap: 26px;
  margin-bottom: 10px;
  padding: 26px 34px;
  border-radius: var(--sw-radius);
  background: linear-gradient(110deg, var(--sw-black-header), #171a20);
  color: #fff;
}

.sw-newsletter__copy {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.sw-newsletter__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 5px;
}

.sw-newsletter h2 { margin: 0 0 4px; font-size: 19px; font-weight: 900; }
.sw-newsletter p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }

.sw-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 0;
}

.sw-newsletter__form {
  min-width: 0;
}

.sw-newsletter__form .tnp-subscription-minimal {
  width: 100%;
}

.sw-newsletter__form .tnp-subscription-minimal form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.sw-newsletter__form .tnp-subscription-minimal input.tnp-email,
.sw-newsletter__form .tnp-subscription-minimal input.tnp-name {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px 0 0 5px;
  background: #20242b;
  color: #fff;
  padding: 0 16px;
  outline: none;
}

.sw-newsletter__form .tnp-subscription-minimal .tnp-field {
  margin: 0;
}

.sw-newsletter__form .tnp-subscription-minimal input.tnp-submit,
.sw-newsletter__form .tnp-subscription-minimal button {
  height: 42px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--sw-red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  width: 100%;
}

.sw-newsletter__form .tnp-subscription-minimal .tnp-privacy-field {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.sw-newsletter__form .tnp-subscription-minimal .tnp-privacy-field a {
  color: #fff;
  text-decoration: underline;
}

.sw-newsletter__form .tnp-subscription-minimal .tnp-field-button {
  margin: 0;
}

.sw-newsletter input {
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px 0 0 5px;
  background: #20242b;
  color: #fff;
  padding: 0 16px;
  outline: none;
}

.sw-newsletter button {
  height: 42px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--sw-red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.sw-admin-note {
  display: block;
  grid-column: 1 / -1;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.sw-ad-slot {
  margin-top: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--sw-radius);
}

.sw-ad-slot img,
.sw-ad-slot iframe {
  max-width: 100%;
}

.sw-footer {
  background: var(--sw-black-footer);
  color: rgba(255,255,255,.72);
  padding: 28px 0 24px;
}

.sw-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}

.sw-footer .sw-logo { margin-bottom: 14px; font-size: 27px; }
.sw-footer p { margin: 0 0 18px; font-size: 13px; }
.sw-footer h3 { margin: 0 0 13px; color: #fff; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.sw-footer li + li { margin-top: 6px; }
.sw-footer a { font-size: 13px; }
.sw-footer__social { display: flex; gap: 11px; margin-bottom: 22px; }
.sw-footer__bottom { margin-top: 20px; color: rgba(255,255,255,.55); font-size: 12px; }

.sw-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 38px;
  margin: 0 0 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sw-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 130px 20px 20px;
  background: rgba(6,7,8,.78);
}

.sw-search-overlay.is-open { display: flex; }

.sw-search-panel {
  width: min(680px, 100%);
  padding: 22px;
  border-radius: var(--sw-radius);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

.sw-search-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
}

.sw-search-panel input {
  min-width: 0;
  height: 48px;
  border: 1px solid var(--sw-border);
  border-radius: 5px;
  padding: 0 14px;
}

.sw-search-panel button {
  border: 0;
  border-radius: 5px;
  background: var(--sw-red);
  color: #fff;
  font-weight: 900;
}

.sw-archive-header {
  padding: 32px 0 18px;
}

.archive-description {
  max-width: 760px;
  margin-top: 12px;
  color: var(--sw-muted);
  font-size: 15px;
}

.archive-description p { margin: 0; }

.sw-archive-grid--two {
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, .86fr);
}

.sw-archive-grid--simple {
  grid-template-columns: 1fr;
}

.sw-archive-digest {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sw-archive-digest__item {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.sw-archive-digest__item:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.sw-archive-digest__item h3 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.22;
}

.sw-archive-title,
.sw-single-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.06;
}

.sw-pagination {
  margin: 30px 0 44px;
  text-align: center;
}

.sw-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin: 0 3px;
  border: 1px solid var(--sw-border);
  border-radius: 5px;
  background: #fff;
  font-weight: 800;
}

.sw-pagination .current { background: var(--sw-red); color: #fff; border-color: var(--sw-red); }

.sw-single {
  padding: 34px 0 48px;
}

.sw-page {
  padding: 34px 0 48px;
}

.sw-single__inner {
  max-width: 900px;
  margin: 0 auto;
}

.sw-page__inner {
  max-width: 900px;
  margin: 0 auto;
}

.sw-page__header {
  margin-bottom: 24px;
}

.sw-page-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.06;
}

.sw-page__meta {
  margin: 12px 0 0;
  color: var(--sw-muted);
  font-size: 13px;
  font-weight: 600;
}

.sw-page__image {
  overflow: hidden;
  border-radius: var(--sw-radius);
  margin-bottom: 28px;
  background: #d9dde4;
}

.sw-page__image img {
  width: 100%;
  min-height: clamp(260px, 34vw, 460px);
  max-height: clamp(460px, 54vw, 700px);
  object-fit: cover;
}

.sw-contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.sw-contact-card {
  padding: 20px;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius);
  background: #fff;
  box-shadow: var(--sw-shadow);
}

.sw-contact-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.sw-contact-card p {
  margin: 0 0 14px;
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-contact-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--sw-text);
  font-size: 14px;
}

.sw-contact-card li + li {
  margin-top: 8px;
}

.sw-contact-form {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius);
  background: #fff;
  box-shadow: var(--sw-shadow);
}

.sw-contact-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--sw-radius);
  font-weight: 700;
}

.sw-contact-alert--success {
  background: rgba(0, 200, 83, .12);
  color: #047857;
}

.sw-contact-alert--error {
  background: rgba(230, 3, 19, .1);
  color: var(--sw-red);
}

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

.sw-contact__grid label {
  display: grid;
  gap: 8px;
}

.sw-contact__grid span {
  color: var(--sw-text);
  font-size: 13px;
  font-weight: 800;
}

.sw-contact__grid input,
.sw-contact__grid textarea {
  width: 100%;
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  background: #fff;
  color: var(--sw-text);
  padding: 12px 14px;
  outline: none;
}

.sw-contact__grid input:focus,
.sw-contact__grid textarea:focus {
  border-color: var(--sw-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .08);
}

.sw-contact__full {
  grid-column: 1 / -1;
}

.sw-contact__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sw-contact button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--sw-red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.sw-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 24px;
  color: var(--sw-muted);
  font-size: 13px;
  font-weight: 600;
}

.sw-single__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sw-single__image {
  overflow: hidden;
  border-radius: var(--sw-radius);
  margin-bottom: 28px;
  background: #d9dde4;
}

.sw-single__image img {
  width: 100%;
  min-height: clamp(300px, 38vw, 520px);
  max-height: clamp(520px, 58vw, 760px);
  object-fit: cover;
}

.sw-content {
  color: #1d232d;
  font-size: 18px;
  line-height: 1.78;
}

.sw-content h2,
.sw-content h3 { line-height: 1.2; font-weight: 900; }
.sw-content a { color: var(--sw-red); font-weight: 700; }
.sw-content img { border-radius: var(--sw-radius); }

.sw-editorial-summary {
  font-size: 18px;
  line-height: 1.72;
}

.sw-editorial-kicker {
  margin: 0 0 12px;
  color: var(--sw-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sw-editorial-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--sw-red);
  background: #fff;
  box-shadow: var(--sw-shadow);
}

.sw-editorial-brief strong,
.sw-editorial-brief span {
  font-size: 13px;
}

.sw-editorial-lead {
  color: #1f2937;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.45;
}

.sw-editorial-summary ul {
  padding-left: 22px;
}

.sw-editorial-summary li {
  margin-bottom: 8px;
}

.sw-editorial-note,
.sw-editorial-source {
  color: var(--sw-muted);
  font-size: 14px;
}

.sw-empty {
  padding: 28px;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius);
  background: #fff;
}

@media (max-width: 1080px) {
  .sw-primary-nav a { padding: 0 9px; font-size: 11px; }
  .sw-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sw-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sw-hero-small { min-height: 300px; }
  .sw-live { min-height: 0; }
  .sw-two-col { grid-template-columns: 1fr; }
  .sw-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sw-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .senworld-container { width: min(100% - 28px, var(--sw-container)); }
  .sw-topbar__meta span:nth-of-type(n+2),
  .sw-topbar__meta .sw-separator { display: none; }
  .sw-topbar__social .sw-social { display: none; }
  .sw-site-header { height: 64px; }
  .sw-logo { font-size: 25px; }
  .sw-primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 102px;
    display: none;
    height: calc(100vh - 102px);
    padding: 20px;
    background: var(--sw-black-header);
    overflow-y: auto;
  }
  .sw-primary-nav.is-open { display: block; }
  .sw-primary-nav > ul { display: block; height: auto; }
  .sw-primary-nav a {
    height: 46px;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 14px;
  }
  .sw-primary-nav li:first-child > a::after,
  .sw-primary-nav .current-menu-item > a::after,
  .sw-primary-nav .current_page_item > a::after { display: none; }
  .sw-hot-topics__inner { gap: 12px; }
  .sw-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sw-post-card { overflow: visible; }
  .sw-post-card__body { min-height: auto; }
  .sw-must-grid { grid-template-columns: 1fr; }
  .sw-newsletter { grid-template-columns: 1fr; padding: 24px 20px; }
  .sw-newsletter form { grid-template-columns: 1fr; gap: 10px; }
  .sw-newsletter input,
  .sw-newsletter button { border-radius: 5px; }
  .sw-contact-page__layout { grid-template-columns: 1fr; }
  .sw-contact__grid { grid-template-columns: 1fr; }
  .sw-contact-form { padding: 18px; }
}

@media (max-width: 560px) {
  .senworld-container { width: calc(100% - 28px); max-width: 100%; }
  .sw-hero-grid,
  .sw-stack,
  .sw-card-grid,
  .sw-live,
  .sw-image-card,
  .sw-post-card { min-width: 0; max-width: 100%; }
  .sw-image-card__title,
  .sw-image-card__title a,
  .sw-post-card h3,
  .sw-post-card h3 a,
  .sw-briefing-item h3,
  .sw-briefing-item h3 a { overflow-wrap: break-word; }
  .sw-topbar { height: 34px; }
  .sw-header-actions { gap: 6px; }
  .sw-hot-topics { height: 54px; }
  .sw-hot-topics__label { min-width: 132px; padding: 0 12px; }
  .sw-hero { padding-top: 14px; }
  .sw-hero-grid,
  .sw-stack,
  .sw-card-grid { gap: 18px; }
  .sw-stack,
  .sw-card-grid,
  .sw-category-grid,
  .sw-footer__grid { grid-template-columns: 1fr; }
  .sw-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-hero-main { min-height: 390px; }
  .sw-hero-main .sw-image-card__title { font-size: 22px; }
  .sw-hero-small { min-height: 300px; }
  .sw-hero-small .sw-image-card__title { font-size: 17px; line-height: 1.26; }
  .sw-hero-small .sw-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .sw-image-card__content { left: 16px; right: 16px; bottom: 18px; max-width: calc(100% - 32px); padding-top: 4px; }
  .sw-image-card__title { line-height: 1.22; }
  .sw-card-meta { margin-top: 18px; flex-wrap: wrap; gap: 10px 14px; }
  .sw-read-more { width: 100%; max-width: 100%; min-width: 0; margin-left: 0; }
  .sw-post-card { overflow: visible; }
  .sw-card-top { flex-wrap: wrap; gap: 7px 10px; }
  .sw-card-top .sw-time { margin-left: 0; }
  .sw-post-card__body { min-height: auto; padding: 15px 14px 38px; }
  .sw-post-card h3 { margin: 2px 0 8px; line-height: 1.32; }
  .sw-post-card p { -webkit-line-clamp: 4; }
  .sw-list { gap: 16px; }
  .sw-list-item { grid-template-columns: 96px minmax(0, 1fr); padding-bottom: 14px; }
  .sw-list-item h3 { margin-top: 3px; line-height: 1.3; }
  .sw-newsletter__copy { grid-template-columns: 1fr; }
  .sw-search-panel form { grid-template-columns: 1fr; }
  .sw-search-panel button { height: 44px; }
}

/* SENWORLD professional newsroom polish - 2026-08-01 */
:root {
  --sw-container: 1360px;
  --sw-shadow: 0 10px 30px rgba(18, 21, 27, .07);
  --sw-soft-shadow: 0 16px 42px rgba(18, 21, 27, .09);
}

main#primary {
  background: linear-gradient(180deg, #f8f9fb 0, #f4f6f8 100%);
}

.sw-section { padding-bottom: 46px; }
.sw-hero { padding-top: 30px; }

.sw-section-head { margin-bottom: 18px; }
.sw-section-head--editorial { align-items: flex-end; }
.sw-section-head--editorial > div { min-width: 0; }

.sw-section-kicker {
  display: inline-flex;
  margin: 0 0 7px 17px;
  color: var(--sw-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sw-section-title {
  font-size: 17px;
  letter-spacing: 0;
}

.sw-section-link {
  color: #3a414c;
  font-weight: 800;
}

.sw-section-link:hover { color: var(--sw-red); }

.sw-hero-grid {
  gap: 22px;
  align-items: stretch;
}

.sw-stack { gap: 22px; }

.sw-image-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  box-shadow: var(--sw-soft-shadow);
}

.sw-image-card::after {
  background: linear-gradient(180deg, rgba(5,7,10,.04) 0%, rgba(5,7,10,.18) 36%, rgba(5,7,10,.78) 100%);
}

.sw-image-card__content {
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
}

.sw-image-card__title {
  margin: 11px 0 10px;
  line-height: 1.16;
}

.sw-hero-main { min-height: 540px; }
.sw-hero-main .sw-image-card__title {
  max-width: 680px;
  font-size: 34px;
  line-height: 1.08;
}
.sw-hero-main .sw-excerpt {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.5;
}

.sw-hero-small { min-height: 259px; }
.sw-hero-small .sw-image-card__title { font-size: 18px; }

.sw-card-meta {
  margin-top: 24px;
  gap: 14px;
}

.sw-read-more {
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(227, 6, 19, .24);
}

.sw-badge {
  height: 22px;
  border-radius: 4px;
  letter-spacing: 0;
}

.sw-card-grid {
  gap: 22px;
}

.sw-post-card {
  border-color: #e7e9ee;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18,21,27,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sw-post-card:hover {
  transform: translateY(-2px);
  border-color: #d7dbe3;
  box-shadow: 0 18px 42px rgba(18,21,27,.08);
}

.sw-post-card__image {
  height: auto;
  aspect-ratio: 16 / 10;
}

.sw-post-card__body {
  min-height: 150px;
  padding: 15px 15px 18px;
}

.sw-post-card h3 {
  margin-bottom: 9px;
  font-size: 17px;
  line-height: 1.26;
}

.sw-post-card p {
  color: #424955;
  font-size: 13px;
  line-height: 1.5;
}

.sw-bookmark { display: none; }

.sw-senegal-now {
  margin: 4px 0 42px;
  padding: 34px 0 38px;
  border-top: 1px solid #e7e9ee;
  border-bottom: 1px solid #e2e5ea;
  background: #fff;
}

.sw-senegal-now .sw-section-head { margin-bottom: 20px; }

.sw-senegal-now__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
  gap: 24px;
  align-items: stretch;
}

.sw-senegal-now__lead { min-height: 460px; }
.sw-senegal-now__lead .sw-image-card__title { font-size: 30px; line-height: 1.1; }

.sw-senegal-now__list {
  display: grid;
  gap: 14px;
  align-content: stretch;
}

.sw-senegal-now__item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e7e9ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18,21,27,.035);
}

.sw-senegal-now__thumb {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #d9dde4;
  aspect-ratio: 4 / 3;
}

.sw-senegal-now__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-senegal-now__body { min-width: 0; }

.sw-senegal-now__body h3 {
  margin: 6px 0 7px;
  color: var(--sw-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.sw-senegal-now__body h3 a { display: block; }

.sw-senegal-now__body p {
  margin: 0;
  color: #4d5562;
  font-size: 13px;
  line-height: 1.48;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sw-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.sw-category-card {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(18,21,27,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.sw-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18,21,27,.08);
}

.sw-category-card__image {
  height: auto;
  aspect-ratio: 5 / 4;
}

.sw-category-card__overlay {
  inset: auto 12px 12px 12px;
}

.sw-category-card__overlay strong {
  font-size: 13px;
  letter-spacing: 0;
}

.sw-newsletter {
  margin-top: 6px;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(8,10,13,.08);
}

.sw-footer__social:empty { display: none; }

.sw-archive-header { padding: 42px 0 22px; }
.archive-description { max-width: 820px; line-height: 1.6; }

.sw-archive-title,
.sw-single-title,
.sw-page-title {
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: 0;
}

.sw-single__inner,
.sw-page__inner {
  max-width: 860px;
}

.sw-single__meta {
  margin-bottom: 28px;
  gap: 10px 16px;
}

.sw-single__image,
.sw-page__image {
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18,21,27,.08);
}

.sw-content {
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .sw-hero-main { min-height: 470px; }
  .sw-senegal-now__grid { grid-template-columns: 1fr; }
  .sw-senegal-now__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw-senegal-now__item { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .sw-section { padding-bottom: 34px; }
  .sw-section-head--editorial { align-items: flex-start; }
  .sw-senegal-now { margin-bottom: 34px; padding: 28px 0 32px; }
  .sw-senegal-now__list { grid-template-columns: 1fr; }
  .sw-senegal-now__item { grid-template-columns: 132px minmax(0, 1fr); }
  .sw-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-archive-title,
  .sw-single-title,
  .sw-page-title { font-size: 40px; }
}

@media (max-width: 560px) {
  .senworld-container { width: calc(100% - 30px); }
  .sw-hero { padding-top: 18px; }
  .sw-hero-grid,
  .sw-stack,
  .sw-card-grid { gap: 20px; }
  .sw-hero-main { min-height: 430px; }
  .sw-hero-main .sw-image-card__title { font-size: 25px; line-height: 1.1; }
  .sw-hero-main .sw-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .sw-hero-small { min-height: 270px; }
  .sw-image-card:not(.sw-hero-main) .sw-excerpt { display: none; }
  .sw-image-card__content { left: 16px; right: 16px; bottom: 18px; max-width: calc(100% - 32px); }
  .sw-card-meta { margin-top: 16px; }
  .sw-card-grid { grid-template-columns: 1fr; }
  .sw-post-card__image { aspect-ratio: 16 / 9; }
  .sw-post-card__body { min-height: auto; padding: 16px; }
  .sw-post-card h3 { font-size: 18px; line-height: 1.24; }
  .sw-senegal-now__lead { min-height: 405px; }
  .sw-senegal-now__lead .sw-image-card__title { font-size: 24px; line-height: 1.1; }
  .sw-senegal-now__item { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .sw-senegal-now__body h3 { font-size: 15px; line-height: 1.24; }
  .sw-senegal-now__body p { display: none; }
  .sw-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-category-card__image { aspect-ratio: 4 / 3; }
  .sw-newsletter { padding: 24px 18px; }
  .sw-archive-header { padding: 30px 0 18px; }
  .sw-archive-title,
  .sw-single-title,
  .sw-page-title { font-size: 34px; line-height: 1.08; }
  .sw-single { padding-top: 28px; }
  .sw-content { font-size: 17px; line-height: 1.72; }
}
/* SENWORLD mobile overflow guard - 2026-08-01 */
@media (max-width: 560px) {
  html,
  body,
  #page,
  main#primary {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sw-image-card__content,
  .sw-image-card__title,
  .sw-image-card__title a,
  .sw-excerpt,
  .sw-card-meta,
  .sw-post-card h3,
  .sw-post-card h3 a,
  .sw-senegal-now__body,
  .sw-senegal-now__body h3,
  .sw-senegal-now__body h3 a {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .sw-hero-main .sw-image-card__title { font-size: 23px; }
  .sw-hero-small .sw-image-card__title { font-size: 16px; }
  .sw-senegal-now__lead .sw-image-card__title { font-size: 23px; }

  .sw-card-meta {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sw-card-meta .sw-read-more {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
}
/* SENWORLD strict mobile overlay width - 2026-08-01 */
@media (max-width: 560px) {
  .sw-image-card__content {
    left: 16px !important;
    right: auto !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }

  .sw-image-card__title,
  .sw-image-card__title a,
  .sw-excerpt {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}
/* SENWORLD phone text width locks - 2026-08-01 */
@media (max-width: 480px) {
  .sw-image-card__content,
  .sw-image-card__title,
  .sw-image-card__title a,
  .sw-excerpt,
  .sw-live h3,
  .sw-live h3 a,
  .sw-archive-digest__item h3,
  .sw-archive-digest__item h3 a {
    max-width: 368px !important;
  }
}

@media (max-width: 420px) {
  .sw-image-card__content,
  .sw-image-card__title,
  .sw-image-card__title a,
  .sw-excerpt,
  .sw-live h3,
  .sw-live h3 a,
  .sw-archive-digest__item h3,
  .sw-archive-digest__item h3 a {
    max-width: 328px !important;
  }
}
/* SENWORLD conservative phone text lock - 2026-08-01 */
@media (max-width: 560px) {
  .sw-image-card__content,
  .sw-image-card__title,
  .sw-image-card__title a,
  .sw-excerpt,
  .sw-live h3,
  .sw-live h3 a,
  .sw-archive-digest__item h3,
  .sw-archive-digest__item h3 a {
    max-width: 320px !important;
  }
}
/* SENWORLD mobile section head wrap - 2026-08-01 */
@media (max-width: 560px) {
  .sw-section-head {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .sw-section-head .sw-section-link {
    flex: 0 0 100%;
    margin-left: 17px;
  }
}
/* SENWORLD mobile overlay content balance - 2026-08-01 */
@media (max-width: 560px) {
  .sw-image-card:not(.sw-hero-main):not(.sw-senegal-now__lead) .sw-excerpt {
    display: none !important;
  }

  .sw-senegal-now__lead {
    min-height: 540px;
  }

  .sw-senegal-now__lead .sw-excerpt {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
}