/* ══════════════════════════════════════════
   TV NEWS PLATFORM — MAIN STYLESHEET
   Color: #006699 (red) | Dark: #0d0d1a
══════════════════════════════════════════ */
:root {
  --red:       #006699;
  --red-dark:  #004d73;
  --red-light: #e0f2f9;
  --dark:      #0d0d1a;
  --dark2:     #1a1a2e;
  --mid:       #2c2c4a;
  --text:      #1a1a2e;
  --muted:     #6b7280;
  --border:    #e5e7eb;
  --bg:        #f3f4f6;
  --white:     #ffffff;
  --radius:    6px;
  --shadow:    0 2px 10px rgba(0,0,0,.09);
  --shadow-md: 0 6px 24px rgba(0,0,0,.13);
}

*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, Arial, sans-serif; background: var(--bg); color: var(--text); margin: 0; font-size: 15px; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; }

/* ══ SCROLLBAR ══════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ══ BREAKING TICKER ════════════════════ */
.breaking-ticker {
  background: var(--red);
  padding: 9px 0;
  overflow: hidden;
}
.breaking-label {
  background: #fff;
  color: var(--red);
  font-weight: 800;
  font-size: 10px;
  padding: 3px 10px;
  letter-spacing: 1.5px;
  white-space: nowrap;
  border-radius: 2px;
  flex-shrink: 0;
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-items {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.ticker-items a { color: #fff; font-size: 13px; font-weight: 500; }
.ticker-items a::before { content: '•'; margin-right: 10px; opacity: .6; }
.ticker-items a:hover { opacity: .85; }
@keyframes ticker {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ══ HEADER ════════════════════════════ */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.site-logo {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-logo span { color: var(--red); }
.site-logo .live-badge,
.site-logo .live-badge span,
.site-logo .live-badge i { color: #fff; }
.site-logo:hover { color: #fff; }

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
  margin-left: 8px;
}
.blink {
  animation: blink 1.2s step-start infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.main-nav { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.main-nav a {
  color: #bbb;
  padding: 8px 11px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
  transition: all .18s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: var(--red); }

.header-search {
  display: flex;
  background: #1e1e32;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #333;
  flex-shrink: 0;
}
.header-search input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 7px 14px;
  font-size: 13px;
  width: 160px;
  outline: none;
}
.header-search input::placeholder { color: #666; }
.header-search button {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 7px 14px;
  cursor: pointer;
  transition: background .18s;
}
.header-search button:hover { background: var(--red-dark); }

/* ══ CATEGORY STRIP ════════════════════ */
.cat-strip {
  background: #fff;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 57px;
  z-index: 990;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.cat-strip-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-strip-link {
  color: #555;
  font-size: 12.5px;
  font-weight: 700;
  padding: 11px 14px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  text-transform: uppercase;
  letter-spacing: .4px;
  transition: all .18s;
}
.cat-strip-link:hover,
.cat-strip-link.active {
  color: var(--cat-color, var(--red));
  border-bottom-color: var(--cat-color, var(--red));
}

/* ══ HERO ═══════════════════════════════ */
.hero-section {
  background: var(--dark);
}
.hero-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  height: 520px;
  gap: 2px;
}
.hero-grid-single { grid-template-columns: 1fr; }
.hero-main-story,
.hero-side-item {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.hero-main-story img,
.hero-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.hero-main-story:hover img,
.hero-side-item:hover img { transform: scale(1.04); }

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
}
.hero-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  letter-spacing: 1.5px;
  border-radius: 2px;
  z-index: 2;
}
.hero-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  z-index: 2;
}
.small-body { padding: 12px 14px; }

.hero-title {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin: 8px 0 10px;
}
.hero-excerpt {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.hero-meta {
  display: flex;
  gap: 14px;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  flex-wrap: wrap;
}
.hero-side {
  display: grid;
  grid-template-rows: repeat(var(--side-count, 4), 1fr);
  gap: 2px;
}
.hero-side-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 4px 0 4px;
}

/* ══ SECTION HEADER ════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.section-bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-header h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.section-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.section-more:hover { color: var(--red-dark); }

/* ══ NEWS TOP ROW ═══════════════════════ */
.news-top-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
}
.news-big-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.news-big-img-wrap {
  display: block;
  position: relative;
  height: 230px;
  overflow: hidden;
}
.news-big-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.news-big-card:hover .news-big-img-wrap img { transform: scale(1.04); }
.card-cat-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}
.news-big-body { padding: 16px; }
.news-title-lg {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  display: block;
}
.news-title-lg:hover { color: var(--red); }
.news-title-md {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.news-title-md:hover { color: var(--red); }
.news-title-sm {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.news-title-sm:hover { color: var(--red); }
.news-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 0;
}
.news-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
}
.inline-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.inline-cat:hover { opacity: .8; }
.breaking-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 1px;
  z-index: 2;
}

/* Stack cards */
.news-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-stack-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0;
  flex: 1;
  transition: box-shadow .2s;
}
.news-stack-item:hover { box-shadow: var(--shadow-md); }
.news-stack-img {
  width: 110px;
  flex-shrink: 0;
  overflow: hidden;
}
.news-stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.news-stack-item:hover .news-stack-img img { transform: scale(1.06); }
.news-stack-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

/* ══ NEWS GRID ══════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.news-grid-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.news-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-grid-img {
  display: block;
  position: relative;
  height: 155px;
  overflow: hidden;
}
.news-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.news-grid-card:hover .news-grid-img img { transform: scale(1.06); }
.news-grid-body {
  padding: 12px;
}

/* ══ VIDEO STRIP ════════════════════════ */
.video-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.video-strip-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.video-strip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.video-strip-thumb {
  display: block;
  position: relative;
  height: 130px;
  overflow: hidden;
  background: #000;
}
.video-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .25s;
}
.video-strip-card:hover .video-strip-thumb img { opacity: 1; }
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .2s;
}
.video-strip-card:hover .video-play-overlay { background: rgba(0,0,0,.15); }
.vplay-btn {
  width: 40px;
  height: 40px;
  background: rgba(196,30,58,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: transform .2s;
}
.video-strip-card:hover .vplay-btn { transform: scale(1.15); }
.vid-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}
.video-strip-body { padding: 10px 12px; }

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}
.video-thumb {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #000;
}
.video-thumb img,
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play-btn i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196,30,58,.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding-left: 3px;
}

/* ══ SIDEBAR WIDGETS ════════════════════ */
.widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.widget-bar {
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.widget-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text);
}
.widget-body { padding: 12px 16px; }

/* Sponsorship holders */
.sponsor-slot {
  background: transparent;
}
.sponsor-inner {
  position: relative;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  min-height: 92px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sponsor-kicker {
  position: absolute;
  top: 8px;
  left: 12px;
  color: #9ca3af;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
}
.sponsor-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sponsor-empty i {
  color: var(--red);
  opacity: .75;
}
.sponsor-content {
  width: 100%;
  text-align: center;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.sponsor-content img,
.sponsor-content iframe,
.sponsor-content video {
  max-width: 100%;
  border: 0;
}
.sponsor-content img {
  height: auto;
  display: inline-block;
}
.sponsor-slot-top {
  background: var(--bg);
  padding: 16px 0 0;
}
.sponsor-slot-top .sponsor-inner {
  min-height: 96px;
}
.sponsor-slot-feed .sponsor-inner {
  min-height: 110px;
}
.sponsor-slot-sidebar .sponsor-inner {
  min-height: 250px;
}

/* Trending items */
.trend-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.trend-item:last-child { border-bottom: none; }
.trend-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  min-width: 26px;
  text-align: center;
  opacity: .8;
}
.trend-img {
  width: 70px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.trend-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trend-content { flex: 1; }
.trend-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  display: block;
}
.trend-title:hover { color: var(--red); }

/* Categories widget */
.cat-widget-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.cat-widget-row:last-child { border-bottom: none; }
.cat-widget-row:hover { background: var(--bg); }
.cat-widget-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.cat-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cat-widget-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Newsletter */
.newsletter-widget { background: linear-gradient(135deg, var(--dark2) 0%, #1e3a5f 100%); }
.newsletter-widget .widget-head { border-bottom-color: rgba(255,255,255,.1); }
.newsletter-widget .widget-title { color: #fff; }
.newsletter-widget .widget-body .text-muted { color: rgba(255,255,255,.6) !important; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-input {
  flex: 1;
  padding: 9px 12px;
  font-size: 13px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255,255,255,.1);
  color: #fff;
  outline: none;
  border: 1px solid rgba(255,255,255,.15);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s;
}
.newsletter-btn:hover { background: var(--red-dark); }

/* ══ CATEGORY SECTIONS ══════════════════ */
.cat-section {
  background: var(--white);
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.cat-section:nth-child(even) { background: var(--bg); }

/* List news item (in cat sections) */
.list-news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.list-news-item:last-child { border-bottom: none; }
.list-news-img {
  width: 100px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  height: 70px;
}
.list-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.list-news-item:hover .list-news-img img { transform: scale(1.06); }
.list-news-body { flex: 1; }

/* ══ ARTICLE CARD (used in category/search pages) ══ */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.article-card > a {
  display: block;
  height: 180px;
  overflow: hidden;
  background: #eef3f5;
}
.article-card > a img,
.article-card > a video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-body { padding: 14px; }

/* ══ CAT BADGE ══════════════════════════ */
.cat-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ══ PLACEHOLDERS ═══════════════════════ */
.news-placeholder {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  height: 100%;
}
.news-placeholder.sm { font-size: 18px; font-weight: 900; }

/* ══ ARTICLE DETAIL ═════════════════════ */
.article-detail .article-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}
.article-detail .article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.article-detail .article-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}
video.article-image {
  height: auto;
  background: #000;
}
.article-detail iframe.pgs-youtube-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
  background: #000;
  display: block;
  border: 0;
  border-radius: var(--radius);
}
.pgs-youtube-embed-wrap {
  position: relative;
  max-height: none;
  overflow: hidden;
  background: #111;
}
.pgs-youtube-fallback {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.pgs-youtube-fallback:hover {
  color: #fff;
  background: rgba(0, 0, 0, .9);
}
.article-detail .article-content {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}
.article-detail .article-content p { margin-bottom: 1.2em; }
.pgs-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.pgs-media-gallery img,
.pgs-media-gallery video,
.pgs-media-gallery iframe {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
}
.pgs-media-gallery iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 260px;
  border: 0;
}
.category-media-gallery img,
.category-media-gallery video,
.category-media-gallery iframe {
  max-height: 280px;
}

/* ══ COMMENT ════════════════════════════ */
.comment-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment-item .comment-author { font-weight: 700; font-size: 14px; }
.comment-item .comment-date { font-size: 12px; color: var(--muted); margin-left: 8px; }
.comment-item .comment-body { font-size: 14px; color: #444; margin-top: 6px; line-height: 1.6; }

/* ══ AUTHOR BOX ═════════════════════════ */
.author-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 28px 0;
}
.author-initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ══ PAGINATION ═════════════════════════ */
.pagination .page-link { color: var(--red); border-color: var(--border); }
.pagination .page-item.active .page-link { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .page-link:hover { background: var(--red-light); }

/* ══ SIDEBAR (article detail) ═══════════ */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.sidebar-widget .widget-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}
.article-list-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.article-list-item:last-child { border-bottom: none; }
.article-list-item img,
.article-list-item video { width: 76px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: #000; }
.article-list-item .title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.35; }
.article-list-item .title a { color: var(--text); }
.article-list-item .title a:hover { color: var(--red); }
.article-list-item .meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ══ ADMIN TABLE ════════════════════════ */
.admin-table { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.admin-table table { margin: 0; }
.admin-table thead th { background: #f8f8f8; border-bottom: 2px solid #e5e5e5; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #666; padding: 11px 14px; }
.admin-table tbody td { padding: 11px 14px; vertical-align: middle; font-size: 13px; border-color: #f2f2f2; }
.admin-table tbody tr:hover { background: #fafafa; }
.table-title-col { max-width: 280px; }
.table-title-col a { font-weight: 600; color: var(--text); }
.table-title-col a:hover { color: var(--red); }

/* Status badges */
.status-badge { font-size: 10px; padding: 3px 7px; border-radius: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.status-published { background: #d1fae5; color: #065f46; }
.status-draft     { background: #fef3c7; color: #92400e; }
.status-archived  { background: #e5e7eb; color: #374151; }

/* Form card */
.form-card { background: var(--white); border-radius: 8px; padding: 24px; box-shadow: var(--shadow); }
.form-card .form-label { font-size: 13px; font-weight: 600; color: #444; }
.form-card .form-control:focus, .form-card .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,.12);
}
.pgs-admin-media-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.pgs-admin-media-list img,
.pgs-admin-media-list video,
.pgs-admin-media-list iframe {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
  border: 1px solid #ddd;
}

/* ══ FOOTER ═════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 50px 0 0;
  margin-top: 0;
}
.site-footer h5 { color: #fff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 16px; }
.site-footer a { color: #9ca3af; font-size: 13px; line-height: 2; display: block; }
.site-footer a:hover { color: var(--red); }
.footer-divider { border-color: #1f2937; margin: 30px 0 0; }
.footer-bottom {
  background: #060611;
  padding: 16px 0;
  font-size: 12px;
  color: #4b5563;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #1f2937;
  border-radius: 50%;
  color: #9ca3af;
  font-size: 13px;
  margin-right: 6px;
  transition: all .2s;
}
.social-links a:hover { background: var(--red); color: #fff; }

/* ══ AUTH / LOGIN ═══════════════════════ */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.login-logo { font-size: 30px; font-weight: 900; color: #111; text-transform: uppercase; letter-spacing: -1px; }
.login-logo span { color: var(--red); }

/* ══ FLASH ══════════════════════════════ */
.flash-message { font-size: 14px; padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; }

/* ══ RESPONSIVE ═════════════════════════ */
@media (max-width: 1200px) {
  .video-strip { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; height: auto; }
  .hero-main-story { height: 380px; }
  .hero-side { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(var(--side-rows, 2), 140px); }
  .news-top-row { grid-template-columns: 1fr; }
  .news-stack { flex-direction: row; }
  .news-stack-item { flex-direction: column; }
  .news-stack-img { width: 100%; height: 100px; }
}
@media (max-width: 768px) {
  .hero-main-story { height: 280px; }
  .hero-title { font-size: 18px; }
  .main-nav { display: none; }
  .site-logo { font-size: 22px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .video-strip { grid-template-columns: repeat(2, 1fr); }
  .article-detail .article-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .video-strip { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; grid-template-rows: repeat(var(--side-count, 4), 100px); }
}

/* PGS public theme */
.pgs-public {
  background: #fff;
  color: #333;
  font-family: Arial, 'Segoe UI', sans-serif;
  font-size: 15px;
}
.pgs-public[dir="rtl"],
.pgs-public.lang-ku,
.pgs-public.lang-ar {
  font-family: 'Calibri', 'Noto Naskh Arabic', 'Inter', 'Segoe UI', Arial, sans-serif;
}
.pgs-header {
  background: #fff;
  border-bottom: 1px solid #afc4ca;
}
body.pgs-public .pgs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.pgs-topline {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr minmax(260px, 410px);
  align-items: center;
  gap: 22px;
  padding: 5px 0 0px;
  min-width: 0;
}
.pgs-social {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pgs-social a {
  color: #5d6268;
  font-size: 17px;
  line-height: 1;
}
.pgs-social a:hover {
  color: #e87524;
}
.pgs-lang-switch {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}
.pgs-lang-switch a {
  color: #222;
  font-size: 14px;
  font-weight: 500;
}
.pgs-lang-switch a.active {
  color: #e87524;
  font-weight: 800;
}
.pgs-search {
  display: flex;
  height: 32px;
  border: 1px solid #7b858b;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}
.pgs-search input {
  border: 0;
  outline: 0;
  flex: 1;
  padding: 5px 10px;
  font-size: 13px;
}
.pgs-search button {
  width: 36px;
  border: 0;
  background: #fff;
  color: #5795ad;
}
.pgs-brand-row {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(240px, 1fr) minmax(260px, auto);
  align-items: center;
  gap: 24px;
  padding: 3px 0px;
  min-width: 0;
}
.pgs-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}
.pgs-mark {
  color: #ec7d22;
  font-size: 82px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: .9;
  font-family: Arial, Helvetica, sans-serif;
}
.pgs-name {
  color: #5c5c5c;
  font-size: 34px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  line-height: 1.1;
  max-width: 260px;
  overflow-wrap: anywhere;
}
.pgs-tagline {
  color: #666;
  font-size: 17px;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.pgs-tagline::before,
.pgs-tagline::after {
  content: '';
  flex: 1;
  height: 1px;
  /* background: #b5c9ce; */
  min-width: 10px;
}
.pgs-institute {
  text-align: center;
  padding-inline-start: 22px;
  border-inline-start: 2px solid #ec7d22;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.pgs-inst-ku,
.pgs-inst-en,
.pgs-inst-ar {
  width: 100%;
  text-align: center;
}
.pgs-inst-en {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: #1a1a2e;
  line-height: 1.45;
}
.pgs-inst-ku {
  font-size: 16px;
  font-weight: 700;
  color: #444;
  line-height: 1.45;
}
.pgs-inst-ar {
  font-size: 16px;
  font-weight: 700;
  color: #444;
  line-height: 1.45;
}
.pgs-nav {
  border-top: 2px solid #b7d0d6;
  border-bottom: 1px solid #b7d0d6;
  background: #fff;
  position: relative;
  z-index: 100;
}
.pgs-nav-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.pgs-nav-scroll::-webkit-scrollbar { display: none; }
.pgs-nav-item {
  position: relative;
  flex: 1 1 0;
  min-width: max-content;
}
.pgs-nav-link {
  color: #4f4f4f;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border-inline-end: 1px dotted #cfd9dc;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  gap: 4px;
}
.pgs-nav-item.has-sub > .pgs-nav-link::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 9px;
  color: #9aa6aa;
}
.pgs-nav-link:hover,
.pgs-nav-item:focus-within .pgs-nav-link,
.pgs-nav-item:hover .pgs-nav-link {
  background: #f7fbfc;
  color: #e87524;
}
.pgs-submenu {
  display: none;
  position: fixed;
  width: max-content;
  max-width: 260px;
  background: rgba(255,255,255,.98);
  border: 1px dotted #cfd9dc;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  z-index: 9999;
}
.pgs-submenu.open {
  display: block;
}
.pgs-submenu a {
  padding: 5px 12px;
  border-bottom: 1px dotted #d4dcdf;
  color: #555;
  text-align: start;
  font-size: 12px;
  display: block;
  white-space: nowrap;
  line-height: 1.4;
}
.pgs-submenu a:last-child {
  border-bottom: 0;
}
.pgs-submenu a:hover {
  color: #e87524;
  background: #fafafa;
}
.pgs-main {
  background: #fff;
}
body.pgs-public .pgs-main {
  padding-bottom: 90px;
}
.pgs-home {
  direction: ltr;
  display: flex;
  gap: 10px;
  padding-top: 40px;
  padding-bottom: 18px;
}
[dir="rtl"] .pgs-home-content,
[dir="rtl"] .pgs-left-rail,
[dir="rtl"] .pgs-voice-rail {
  direction: rtl;
}
.pgs-voice-rail {
  order: 0;
  width: 145px;
  flex: 0 0 145px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-inline-end: 10px;
  border-inline-end: 2px solid #777;
}
.pgs-left-rail {
  width: 130px;
  flex: 0 0 130px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-inline-end: 10px;
  border-inline-end: 2px solid #777;
}
[dir="ltr"] .pgs-left-rail {
  order: 2;
  padding-inline-start: 10px;
  padding-inline-end: 0;
  border-inline-start: 2px solid #777;
  border-inline-end: 0;
}
.pgs-home-content {
  flex: 1;
  min-width: 0;
}
.pgs-poll-box {
  background: #fff;
  color: #222;
  min-height: 270px;
  padding: 10px 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  border: 1px solid #414042;
}
.pgs-poll-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 8px;
}
.pgs-poll-question {
  font-weight: 700;
  margin-bottom: 8px;
}
.pgs-poll-box label {
  display: block;
  margin: 4px 0;
}
.pgs-poll-box button {
  margin-top: 8px;
  background: #f28025;
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
}
.pgs-rail-ad {
  height: 214px;
  box-sizing: border-box;
  position: relative;
  border: 1px solid #414042;
  background: #fff;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  overflow: hidden;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}
.pgs-rail-ad-secondary {
  height: 145px;
  border-width: 1px;
  background: #fff;
  color: #555;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.pgs-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid #b8b8b8;
}
.pgs-feature-media {
  display: block;
  height: 510px;
  overflow: hidden;
  background: #f1f1f1;
}
.pgs-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pgs-feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.pgs-feature-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.pgs-feature-placeholder {
  height: 100%;
  background:
    linear-gradient(135deg, rgba(236,125,34,.82), rgba(255,255,255,.72)),
    radial-gradient(circle at 70% 30%, rgba(36,75,112,.22), transparent 40%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #244b70;
}
.pgs-feature-placeholder span {
  color: #ec7d22;
  font-size: 120px;
  font-weight: 600;
  line-height: .9;
}
.pgs-feature-placeholder small {
  color: #555;
  font-size: 26px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}
.pgs-feature-body {
  padding: 14px 0 18px;
}
.pgs-label,
.pgs-small-cat {
  color: #e87524;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.pgs-feature h1 {
  margin: 7px 0 6px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
}
.pgs-feature h1 a,
.pgs-news-card h3 a {
  color: #222;
}
.pgs-feature h1 a:hover,
.pgs-news-card h3 a:hover {
  color: #e87524;
}
.pgs-feature p {
  color: #555;
  margin: 0 0 8px;
  line-height: 1.6;
}
.pgs-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #666;
  font-size: 12px;
}
.pgs-wide-ad {
  height: 88px;
  box-sizing: border-box;
  position: relative;
  border: 1px solid #9eafb5;
  margin: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  color: #8b98a6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  background: #fff;
  text-align: center;
}
.pgs-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cfd9dc;
  margin-bottom: 14px;
  padding-bottom: 9px;
}
.pgs-section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #333;
}
.pgs-section-head a {
  color: #e87524;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.pgs-feature-blocks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 8px 0 20px;
}
.pgs-feature-block {
  border: 1px solid #d6e0e3;
  background: #fff;
  min-width: 0;
}
.pgs-feature-block .pgs-section-head {
  margin: 0;
  padding: 10px 12px;
  background: #f7fbfc;
}
.pgs-feature-block .pgs-section-head h2 {
  font-size: 16px;
}
.pgs-feature-block-body {
  min-height: 210px;
  padding: 12px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
}
.pgs-feature-block-body > * {
  max-width: 100%;
  min-width: 0;
}
.pgs-feature-block-body iframe,
.pgs-feature-block-body video,
.pgs-feature-block-body img {
  max-width: 100%;
  border: 0;
}
.pgs-feature-block-body iframe,
.pgs-feature-block-body video {
  flex: 1 1 240px;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}
.pgs-feature-block-body img {
  flex: 1 1 160px;
  width: auto;
  max-height: 360px;
  object-fit: contain;
}
.pgs-feature-empty {
  width: 100%;
  min-height: 180px;
  border: 1px dashed #b8c7cc;
  color: #8390a0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.pgs-feature-empty i {
  color: #e87524;
  font-size: 26px;
}
.pgs-side-voice-week {
  border: 1px solid #414042;
  background: #fff;
  padding: 6px;
  overflow: hidden;
}
.pgs-side-voice-week .pgs-voice-template {
  width: 100%;
}
.pgs-voice-template {
  position: relative;
  width: min(100%, 330px);
  margin: 0 auto;
}
.pgs-feature-block-body .pgs-voice-template img {
  display: block;
  width: 100%;
  max-height: none;
  object-fit: contain;
}
.pgs-voice-template img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.pgs-voice-template-text {
  position: absolute;
  top: 17%;
  left: 17%;
  right: 12%;
  bottom: 43%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #17202a;
  font-size: clamp(16px, 2.1vw, 25px);
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  transform: rotate(-6deg);
}
.pgs-side-voice-week .pgs-voice-template-text {
  font-size: 13px;
  line-height: 1.35;
}
.pgs-voice-media {
  display: grid;
  gap: 8px;
}
.pgs-voice-media img,
.pgs-voice-media video,
.pgs-voice-media iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
.pgs-voice-media img,
.pgs-voice-media video {
  height: auto;
  object-fit: contain;
}
.pgs-voice-media iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}
.pgs-voice-caption {
  margin-top: 8px;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.pgs-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pgs-news-card {
  border: 1px solid #d6e0e3;
  background: #fff;
}
.pgs-news-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #eef3f5;
  color: #7f8b92;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}
.pgs-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pgs-news-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.pgs-news-card > div {
  padding: 12px;
}
.pgs-news-card h3 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  margin: 4px 0 8px;
}
.pgs-footer {
  background: #fff;
  border-top: 2px solid #aaa;
  padding: 2px 0 2px;
}
body.pgs-public .pgs-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.pgs-footer-grid {
  display: grid;
  grid-template-columns: 160px 190px 2fr 1fr;
  gap: 5px;
  align-items: center;
}
.pgs-contact {
  color: #222;
  font-size: 13px;
}
/* .pgs-contact-strong {
  font-weight: 700;
  font-size: 16px;
} */
.pgs-map-box {
  height: 62px;
  border: 1px solid #7f969d;
  overflow: hidden;
  background: #eef3f5;
}
.pgs-map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.pgs-footer-holder {
  height: 62px;
  box-sizing: border-box;
  position: relative;
  border: 1px solid #7f969d;
  background: #fff;
  color: #8390a0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.pgs-footer-holder img,
.pgs-footer-holder iframe,
.pgs-footer-holder video,
.pgs-rail-ad img,
.pgs-rail-ad iframe,
.pgs-rail-ad video,
.pgs-wide-ad img,
.pgs-wide-ad iframe,
.pgs-wide-ad video {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border: 0 !important;
  object-fit: contain !important;
  display: block !important;
  box-sizing: border-box;
}
.pgs-wide-ad img,
.pgs-wide-ad video,
.pgs-wide-ad iframe {
  flex: 0 0 auto;
  min-width: 0;
}
.pgs-wide-ad video,
.pgs-wide-ad iframe {
  aspect-ratio: 16 / 9;
}
.pgs-rail-ad img,
.pgs-rail-ad video,
.pgs-rail-ad iframe {
  flex: 0 0 auto;
  min-width: 0;
}
.pgs-rail-ad video,
.pgs-rail-ad iframe {
  aspect-ratio: 16 / 9;
}
.pgs-footer-holder img,
.pgs-footer-holder video,
.pgs-footer-holder iframe {
  flex: 0 0 auto;
  min-width: 0;
}
.pgs-footer-holder video,
.pgs-footer-holder iframe {
  aspect-ratio: 16 / 9;
}
.pgs-wide-ad a,
.pgs-wide-ad p,
.pgs-wide-ad figure,
.pgs-wide-ad picture,
.pgs-wide-ad div,
.pgs-rail-ad a,
.pgs-rail-ad p,
.pgs-rail-ad figure,
.pgs-rail-ad picture,
.pgs-rail-ad div,
.pgs-footer-holder a,
.pgs-footer-holder p,
.pgs-footer-holder figure,
.pgs-footer-holder picture,
.pgs-footer-holder div {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Full-width sponsor panel: keep holder size, show 3 videos side-by-side */
.pgs-wide-ad.pgs-wide-ad-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
}

.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item {
  width: auto !important;
  height: 100% !important;
  min-width: 0;
  border: 1px solid #d6e0e3;
  background: transparent;
  overflow: hidden;
  display: block !important;
}

.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item:not(.is-placeholder) {
  background: transparent;
}

.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item > * {
  width: 100% !important;
  height: 100% !important;
}

.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item iframe,
.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item video,
.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: auto;
}

.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item video {
  background: transparent;
}

.pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item.is-placeholder span {
  width: 100%;
  padding: 6px;
  color: #8390a0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 768px) {
  .pgs-wide-ad.pgs-wide-ad-panel {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 88px;
  }

  .pgs-wide-ad.pgs-wide-ad-panel .pgs-wide-ad-item {
    min-height: 140px;
  }
}

@media (max-width: 1200px) {
  .pgs-mark { font-size: 68px; }
  .pgs-name { font-size: 28px; }
  .pgs-brand-row { grid-template-columns: minmax(300px, 1fr) 1fr 250px; }
}

@media (max-width: 992px) {
  body.pgs-public .pgs-footer {
    position: static;
    box-shadow: none;
  }
  body.pgs-public .pgs-main {
    padding-bottom: 0;
  }
  .pgs-topline {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
  }
  .pgs-social,
  .pgs-lang-switch {
    justify-content: center;
    flex-wrap: wrap;
  }
  .pgs-search {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }
  .pgs-brand-row {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding-bottom: 14px;
  }
  .pgs-brand {
    justify-content: center;
  }
  .pgs-tagline {
    justify-content: center;
    white-space: normal;
    line-height: 1.35;
  }
  .pgs-institute {
    text-align: center;
    border-inline-start: none;
    padding-inline-start: 0;
    align-items: center;
  }
  .pgs-nav-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 0;
    padding: 0 0 2px;
  }
  .pgs-nav-item {
    position: relative;
    flex: 0 0 auto;
  }
  .pgs-nav-link {
    min-width: max-content;
    min-height: 40px;
    padding: 8px 14px;
    white-space: nowrap;
    border-inline-end: 1px solid #dce7ea;
  }
  .pgs-home {
    flex-direction: column;
  }
  .pgs-voice-rail,
  .pgs-left-rail,
  [dir="ltr"] .pgs-left-rail {
    order: 2;
    width: 100%;
    flex: none;
    border: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pgs-voice-rail {
    order: 1;
    border: 0;
    grid-template-columns: 1fr;
  }
  .pgs-side-voice-week {
    max-width: 190px;
  }
  .pgs-feature-media {
    height: 360px;
  }
  .pgs-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pgs-feature-blocks {
    grid-template-columns: 1fr;
  }
  .pgs-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .pgs-header .container {
    padding-inline: 12px;
  }
  .pgs-topline {
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 8px;
  }
  .pgs-social {
    gap: 8px;
    max-width: 300px;
    margin-inline: auto;
  }
  .pgs-social a {
    width: 28px;
    height: 28px;
    border: 1px solid #d6e0e3;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }
  .pgs-lang-switch {
    gap: 8px;
  }
  .pgs-lang-switch a {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #d6e0e3;
    border-radius: 4px;
  }
  .pgs-search {
    height: 36px;
  }
  .pgs-search input {
    font-size: 13px;
    min-width: 0;
  }
  .pgs-brand-row {
    gap: 8px;
    padding: 2px 0 12px;
  }
  .pgs-brand {
    gap: 10px;
    max-width: 100%;
  }
  .pgs-mark {
    font-size: 44px;
    letter-spacing: 1px;
    flex: 0 0 auto;
  }
  .pgs-name {
    font-size: 19px;
    max-width: 175px;
    text-align: start;
  }
  .pgs-tagline {
    font-size: 15px;
    gap: 8px;
    max-width: 100%;
  }
  .pgs-institute {
    gap: 2px;
  }
  .pgs-inst-en {
    font-size: 9.5px;
    letter-spacing: 1px;
  }
  .pgs-inst-ku,
  .pgs-inst-ar {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .pgs-nav .container {
    padding-inline: 0;
  }
  .pgs-nav-scroll {
    scrollbar-width: none;
  }
  .pgs-nav-scroll::-webkit-scrollbar {
    display: none;
  }
  .pgs-nav-link {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 11.5px;
  }
  .pgs-feature-media { height: 240px; }
  .pgs-feature-placeholder span { font-size: 70px; }
  .pgs-feature-placeholder small { font-size: 18px; }
  .pgs-left-rail,
  [dir="ltr"] .pgs-left-rail {
    grid-template-columns: 1fr;
  }
  .pgs-latest-grid,
  .pgs-footer-grid {
    grid-template-columns: 1fr;
  }
  .pgs-contact,
  .pgs-contact-strong {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .pgs-mark {
    font-size: 38px;
  }
  .pgs-name {
    font-size: 17px;
    max-width: 150px;
  }
  .pgs-tagline {
    font-size: 14px;
  }
  .pgs-inst-ku,
  .pgs-inst-ar {
    font-size: 12px;
  }
}

/* ── Mobile bar & drawer (hidden on desktop) ───────────────────────────── */
.pgs-mobile-bar,
.pgs-mobile-drawer,
.pgs-drawer-overlay { display: none; }

/* ── Mobile hamburger bar ──────────────────────────────────────────────── */
.pgs-mobile-bar {
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 2px solid #b7d0d6;
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.pgs-mobile-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.pgs-mobile-mark {
  color: #ec7d22;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
}
.pgs-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.pgs-hamburger span {
  display: block;
  height: 2px;
  background: #2d3748;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.pgs-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pgs-hamburger.open span:nth-child(2) { opacity: 0; }
.pgs-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Overlay ───────────────────────────────────────────────────────────── */
.pgs-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1290;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.pgs-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Drawer panel ──────────────────────────────────────────────────────── */
.pgs-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 340px;
  height: 100%;
  background: #fff;
  z-index: 1300;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 28px rgba(0,0,0,.18);
}
.pgs-mobile-drawer.open {
  transform: translateX(0);
}
.pgs-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 24px;
}
.pgs-drawer-head {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e8eef0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.pgs-drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pgs-drawer-close:hover { background: #f4f4f4; color: #e87524; }

.pgs-drawer-lang {
  display: flex;
  gap: 8px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f0f0f0;
}
.pgs-drawer-lang a {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  padding: 4px 10px;
  border: 1px solid #d6e0e3;
  border-radius: 4px;
  text-decoration: none;
}
.pgs-drawer-lang a.active { color: #e87524; border-color: #e87524; }

.pgs-drawer-search {
  display: flex;
  margin: 12px 16px;
  height: 38px;
  border: 1px solid #7b858b;
  border-radius: 6px;
  overflow: hidden;
}
.pgs-drawer-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 5px 12px;
  font-size: 14px;
  min-width: 0;
}
.pgs-drawer-search button {
  width: 40px;
  border: none;
  background: #fff;
  color: #5795ad;
  font-size: 15px;
  cursor: pointer;
}

/* ── Drawer nav accordion ──────────────────────────────────────────────── */
.pgs-drawer-nav {
  flex: 1;
  border-top: 1px solid #f0f0f0;
}
.pgs-drawer-item {
  border-bottom: 1px solid #f0f4f6;
}
.pgs-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #2d3748;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
  gap: 8px;
}
.pgs-drawer-link:hover { color: #e87524; background: #fafbfc; }
.pgs-drawer-link i {
  font-size: 12px;
  color: #aaa;
  transition: transform .25s;
  flex-shrink: 0;
}
.pgs-drawer-item.open > .pgs-drawer-link i { transform: rotate(180deg); }

.pgs-drawer-submenu {
  display: none;
  background: #f8fbfc;
  border-top: 1px solid #edf2f4;
}
.pgs-drawer-item.open > .pgs-drawer-submenu { display: block; }
.pgs-drawer-submenu a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #edf2f4;
}
.pgs-drawer-submenu a:last-child { border-bottom: none; }
.pgs-drawer-submenu a:hover { color: #e87524; background: #fff; }

/* ── Drawer social ─────────────────────────────────────────────────────── */
.pgs-drawer-social {
  display: flex;
  gap: 12px;
  padding: 20px 16px 8px;
  flex-wrap: wrap;
}
.pgs-drawer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid #d6e0e3;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}
.pgs-drawer-social a:hover { color: #e87524; border-color: #e87524; }

/* ── Activate on mobile ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pgs-mobile-bar { display: flex; }
  .pgs-mobile-drawer,
  .pgs-drawer-overlay { display: block; }
  .pgs-header { display: none; }
  body.drawer-open { overflow: hidden; }
}

/* Editable public pages */
.pgs-drawer-subhead {
  display: block;
  padding: 8px 24px;
  color: #006699;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border-top: 1px solid #edf2f4;
}

.pgs-page-hero {
  background-color: #006699;
  color: #fff;
  padding: 70px 0 58px;
}

.pgs-page-hero-about {background-color: #006699; }
.pgs-page-hero-contact { background-color: #006699; }
.pgs-page-hero-partners {background-color: #006699; }
.pgs-page-hero-jobs { background-color: #006699; }
.pgs-page-hero-calendar { background-color: #006699; }

.pgs-page-hero .container { max-width: 980px; }

.pgs-page-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 12px;
}

.pgs-page-hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.pgs-page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.86);
}

.pgs-page-section {
  padding: 54px 0;
  background: #fff;
}

.pgs-page-band {
  padding: 48px 0;
  background: #f4f5f7;
}

.pgs-page-copy {
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
}

.pgs-page-copy p,
.pgs-page-copy ul,
.pgs-page-copy ol { margin-bottom: 18px; }

.pgs-page-copy img,
.pgs-page-copy video,
.pgs-page-copy iframe {
  max-width: 100%;
  border-radius: 8px;
}

.pgs-page-copy img.pgs-inline-logo {
  width: 96px;
  height: auto;
  border-radius: 0;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.pgs-hero-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.pgs-page-copy-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.pgs-about-grid,
.pgs-contact-layout,
.pgs-partner-layout,
.pgs-jobs-layout,
.pgs-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.pgs-about-facts,
.pgs-partner-callout,
.pgs-contact-form,
.pgs-jobs-panel,
.pgs-calendar-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.pgs-about-facts div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.pgs-about-facts div:last-child { border-bottom: 0; }

.pgs-about-facts span,
.pgs-partner-callout span,
.pgs-jobs-panel span,
.pgs-calendar-panel span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pgs-about-facts strong,
.pgs-partner-callout strong,
.pgs-jobs-panel strong,
.pgs-calendar-panel strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.pgs-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pgs-about-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pgs-info-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  min-height: 210px;
}

.pgs-info-panel i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(196,30,58,.1);
  color: #006699;
  margin-bottom: 18px;
}

.pgs-info-panel h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: 0;
}

.pgs-info-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pgs-team-head {
  margin-bottom: 24px;
  text-align: center;
}

.pgs-team-head h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  color: #111;
}

.pgs-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pgs-team-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #f7f7f7;
  padding: 24px 18px 20px;
  display: block;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  min-height: 310px;
}

.pgs-team-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  background: #e4e6e8;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.pgs-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pgs-team-card h3 {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 4px;
  color: #111;
}

.pgs-team-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  font-size: 13px;
}

.pgs-team-card .pgs-team-role {
  color: #555;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.pgs-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pgs-contact-list div {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
}

.pgs-contact-list i {
  color: #006699;
  width: 18px;
  text-align: center;
}

.pgs-contact-form { padding: 22px; }

.pgs-contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.pgs-contact-form .pgs-contact-optional {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: .2px;
}

.pgs-contact-form input,
.pgs-contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.pgs-contact-form button,
.pgs-partner-callout a,
.pgs-jobs-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: #006699;
  color: #fff;
  padding: 11px 16px;
  font-weight: 800;
  text-decoration: none;
}

.pgs-map-wide iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.pgs-partner-callout { padding: 22px; }
.pgs-partner-callout a { margin-top: 16px; }

.pgs-jobs-panel {
  padding: 22px;
  border-top: 4px solid #006699;
}

.pgs-jobs-panel a { margin-top: 18px; }

.pgs-calendar-panel div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.pgs-calendar-panel div:last-child { border-bottom: 0; }

.pgs-calendar-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pgs-calendar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  min-height: 230px;
}

.pgs-calendar-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 20px;
}

.pgs-calendar-card h2 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.pgs-calendar-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.pgs-partner-list,
.pgs-jobs-list,
.pgs-events-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.pgs-specific-card,
.pgs-event-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.pgs-specific-card h3,
.pgs-event-row h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.pgs-specific-card span,
.pgs-event-row span {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pgs-specific-card p,
.pgs-event-row p {
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--muted);
}

.pgs-specific-card a,
.pgs-event-row a {
  display: inline-flex;
  margin-top: 10px;
  color: #006699;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.pgs-event-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
}

.pgs-event-date {
  width: 76px;
  min-height: 76px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
}

.pgs-event-date span {
  color: rgba(255,255,255,.75);
  font-size: 12px;
  margin: 0;
}

.pgs-event-date strong {
  font-size: 24px;
  line-height: 1;
}

.pgs-section-stack {
  display: grid;
  gap: 22px;
}

.pgs-specific-section,
.pgs-calendar-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.pgs-specific-head,
.pgs-calendar-section-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.pgs-specific-head-link {
  grid-template-columns: 52px minmax(0, 1fr) 38px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pgs-specific-head-link:hover h2 {
  color: #006699;
}

.pgs-section-open {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f5f7;
  color: #006699;
  align-self: center;
}

.pgs-specific-head i,
.pgs-calendar-section-head > span:not(.pgs-section-open) {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.pgs-specific-head h2,
.pgs-calendar-section-head h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.pgs-specific-head p,
.pgs-calendar-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pgs-job-staff { border-top: 4px solid #006699; }
.pgs-job-volunteer { border-top: 4px solid #1e8449; }
.pgs-job-external { border-top: 4px solid #1a5276; }
.pgs-job-community { border-top: 4px solid #e67e22; }

.pgs-job-staff .pgs-specific-head i { background: #006699; }
.pgs-job-volunteer .pgs-specific-head i { background: #1e8449; }
.pgs-job-external .pgs-specific-head i { background: #1a5276; }
.pgs-job-community .pgs-specific-head i { background: #e67e22; }

.pgs-calendar-upcoming { border-left: 4px solid #006699; }
.pgs-calendar-training { border-left: 4px solid #1a5276; }
.pgs-calendar-public { border-left: 4px solid #1e8449; }

.pgs-calendar-upcoming .pgs-calendar-section-head > span:not(.pgs-section-open) { background: #006699; }
.pgs-calendar-training .pgs-calendar-section-head > span:not(.pgs-section-open) { background: #1a5276; }
.pgs-calendar-public .pgs-calendar-section-head > span:not(.pgs-section-open) { background: #1e8449; }

.pgs-partner-section-partners .pgs-specific-head i { background: #006699; }
.pgs-partner-section-supporters .pgs-specific-head i { background: #e67e22; }
.pgs-partner-section-cooperation .pgs-specific-head i { background: #1a5276; }

/* ── Partner card with logo + profile link ─────────── */
.pgs-partner-list .pgs-partner-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.pgs-partner-list .pgs-partner-card:hover {
  border-color: #006699;
  box-shadow: 0 6px 18px rgba(0, 102, 153, .12);
  transform: translateY(-2px);
}
.pgs-partner-card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 110px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f8fafc;
  overflow: hidden;
  text-decoration: none;
  color: #006699;
  flex-shrink: 0;
}
.pgs-partner-card-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
}
.pgs-partner-card-thumb i {
  font-size: 38px;
  color: #c9d2da;
}
.pgs-partner-card-body { min-width: 0; }
.pgs-partner-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
}
.pgs-partner-card-body h3 a {
  color: #1a1a2e;
  text-decoration: none;
}
.pgs-partner-card-body h3 a:hover { color: #006699; }
.pgs-partner-card-excerpt {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.pgs-partner-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}
.pgs-partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #006699;
  text-decoration: none;
}
.pgs-partner-card-link:hover { color: #003b59; text-decoration: underline; }
.pgs-partner-card-link-ext { color: #1a5276; }

/* ── Partner profile page ─────────── */
.pgs-partner-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.pgs-partner-back:hover { color: #006699; }

.pgs-partner-profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.pgs-partner-profile-side {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.pgs-partner-profile-logo {
  width: 100%;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.pgs-partner-profile-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 14px;
}
.pgs-partner-profile-fallback i {
  font-size: 60px;
  color: #c9d2da;
}
.pgs-partner-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.pgs-partner-profile-meta i { color: #006699; margin-right: 4px; }
.pgs-partner-profile-tag {
  align-self: flex-start;
  background: #006699;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 4px;
}
.pgs-partner-profile-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #006699;
  color: #fff !important;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.pgs-partner-profile-link:hover { background: #004d73; }

.pgs-partner-profile-body {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 26px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.pgs-partner-profile-body h2 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 8px;
}
.pgs-partner-profile-lead {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.pgs-partner-profile-content {
  color: #1a1a2e;
  font-size: 15px;
  line-height: 1.75;
}
.pgs-partner-profile-content p { margin: 0 0 14px; }

.pgs-partner-related { margin-top: 36px; }
.pgs-partner-related h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
}
.pgs-partner-list-mini { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); display: grid; gap: 14px; }
.pgs-partner-list-mini .pgs-partner-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pgs-partner-list-mini .pgs-partner-card:hover {
  border-color: #006699;
  box-shadow: 0 4px 12px rgba(0, 102, 153, .12);
}
.pgs-partner-list-mini .pgs-partner-card-thumb {
  width: 80px;
  height: 70px;
}
.pgs-partner-list-mini .pgs-partner-card-thumb i { font-size: 24px; }
.pgs-partner-list-mini .pgs-partner-card-body h4 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #1a1a2e;
}
.pgs-partner-list-mini .pgs-partner-card-body span {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .pgs-partner-list .pgs-partner-card {
    grid-template-columns: 1fr;
  }
  .pgs-partner-card-thumb {
    width: 100%;
    height: 140px;
  }
  .pgs-partner-profile {
    grid-template-columns: 1fr;
  }
}

.pgs-section-back {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.pgs-section-back:hover {
  color: #fff;
}

.pgs-empty-state {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
  background: #fafafa;
  font-size: 14px;
  text-align: center;
}

.pgs-job-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7f7f7;
}

.pgs-job-search-section {
  margin: 0 0 18px;
}

.pgs-job-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}

.pgs-job-search button,
.pgs-job-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.pgs-job-search button {
  border: 0;
  background: #006699;
  color: #fff;
}

.pgs-job-search a {
  color: #555;
  background: #fff;
  border: 1px solid var(--border);
}

@media (max-width: 576px) {
  .pgs-job-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .pgs-about-grid,
  .pgs-contact-layout,
  .pgs-partner-layout,
  .pgs-jobs-layout,
  .pgs-calendar-layout,
  .pgs-about-mission-grid,
  .pgs-info-grid,
  .pgs-calendar-cards,
  .pgs-team-grid { grid-template-columns: 1fr; }
}

@media (min-width: 577px) and (max-width: 992px) {
  .pgs-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 576px) {
  .pgs-page-hero { padding: 48px 0 40px; }
  .pgs-page-hero p { font-size: 16px; }
  .pgs-page-section,
  .pgs-page-band { padding: 34px 0; }
  .pgs-info-panel { min-height: auto; }
}

/* ── Full Monthly Calendar Grid ─────────────────────────────── */
.pgs-cal-range-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
  padding: 10px 0;
  border-bottom: 2px solid var(--red);
}
.pgs-cal-day-num small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1;
  margin-bottom: 1px;
}

.pgs-cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}
.pgs-cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
}
.pgs-cal-nav-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.pgs-cal-title {
  font-size: 1.35rem;
  font-weight: 800;
  min-width: 200px;
  text-align: center;
  margin: 0;
  color: #111;
}
.pgs-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 2.5rem;
}
.pgs-cal-head {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #888;
  padding: 5px 2px 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pgs-cal-cell {
  min-height: 82px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 7px 8px;
  background: #fafafa;
  transition: border-color .15s, box-shadow .15s;
}
.pgs-cal-empty {
  background: transparent;
  border-color: transparent;
}
.pgs-cal-today {
  border-color: var(--red);
  background: var(--red-light, #e0f2f9);
}
.pgs-cal-has-events {
  background: #fff;
  cursor: pointer;
  border-color: #ccc;
}
.pgs-cal-has-events:hover {
  border-color: var(--red);
  box-shadow: 0 2px 8px rgba(0,102,153,.12);
}
.pgs-cal-day-num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}
.pgs-cal-today .pgs-cal-day-num {
  color: var(--red);
  font-weight: 800;
}
.pgs-cal-ev-pills {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pgs-cal-ev-pill {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.pgs-cal-month-events {
  border-top: 2px solid var(--red);
  padding-top: 2rem;
}
.pgs-cal-month-events-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1.5rem;
}
.pgs-cal-day-group {
  margin-bottom: 2rem;
  scroll-margin-top: 80px;
}
.pgs-cal-day-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}
.pgs-cal-empty-state {
  text-align: center;
  color: #999;
  padding: 3.5rem 0;
  font-size: 15px;
}
@media (max-width: 640px) {
  .pgs-cal-cell { min-height: 48px; padding: 4px 5px; }
  .pgs-cal-ev-pills { display: none; }
  .pgs-cal-has-events .pgs-cal-day-num::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    margin-left: 3px;
    vertical-align: middle;
  }
}
@media (max-width: 400px) {
  .pgs-cal-head { font-size: 9px; letter-spacing: 0; }
  .pgs-cal-grid { gap: 3px; }
  .pgs-cal-title { font-size: 1.1rem; min-width: 150px; }
}

/* ── Logo image sizing ──────────────────────────────────────── */
.pgs-logo-img   { display: block; width: auto; object-fit: contain; }
.pgs-logo-header { height: 62px; }
.pgs-logo-mobile { height: 34px; }
.pgs-logo-drawer { height: 42px; }
.pgs-logo-sidebar { height: 36px; }
.pgs-logo-login  { height: 72px; }

/* ── Team card — clickable version ─────────────────────────── */
.pgs-team-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex;
  flex-direction: column;
}
.pgs-team-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  border-color: var(--red);
  color: inherit;
}
.pgs-team-card-cta {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Team member profile page ───────────────────────────────── */
.pgs-team-list-page {
  padding: 44px 0 64px;
  background: #fff;
}
.pgs-team-list-head {
  margin-bottom: 26px;
  border-bottom: 1px solid #d6e0e3;
  padding-bottom: 14px;
}
.pgs-team-list-head span {
  display: block;
  color: #e87524;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.pgs-team-list-head h1 {
  margin: 0;
  color: #111;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0;
}
.pgs-team-portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.pgs-team-portrait-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid #d6e0e3;
  background: #fff;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pgs-team-portrait-card:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: #006699;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.pgs-team-portrait-media {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #006699, #1a5276);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(255,255,255,.9);
  font-size: 56px;
  font-weight: 900;
}
.pgs-team-portrait-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pgs-team-portrait-body {
  padding: 14px 14px 16px;
  text-align: center;
}
.pgs-team-portrait-body h2 {
  margin: 0 0 5px;
  color: #111;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}
.pgs-team-portrait-body p {
  margin: 0;
  color: #666;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pgs-profile-hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a2a35 55%, #0e2233 100%);
  padding: 64px 0 72px;
  min-height: 500px;
}
.pgs-profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.pgs-profile-portrait-col { flex-shrink: 0; }
.pgs-profile-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
  display: block;
}
.pgs-profile-portrait-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: linear-gradient(160deg, #006699 0%, #004d73 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,.85);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.pgs-profile-info-col {
  padding-top: 8px;
}
.pgs-profile-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  background: rgba(0,102,153,.15);
  border: 1px solid rgba(0,102,153,.35);
  border-radius: 20px;
  padding: 3px 14px;
  margin-bottom: 16px;
}
.pgs-profile-name {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.pgs-profile-position {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
  letter-spacing: .01em;
}
.pgs-profile-bio {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,.82);
  margin-bottom: 28px;
  max-width: 620px;
}
.pgs-profile-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pgs-profile-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.pgs-profile-contact:hover { color: #fff; }
.pgs-profile-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--red);
  flex-shrink: 0;
}
.pgs-profile-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.pgs-profile-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: 15px;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.pgs-profile-social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.pgs-profile-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .15s;
}
.pgs-profile-back:hover { color: rgba(255,255,255,.9); }

@media (max-width: 900px) {
  .pgs-profile-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pgs-profile-portrait,
  .pgs-profile-portrait-placeholder {
    max-width: 240px;
    margin: 0 auto;
  }
  .pgs-profile-info-col { text-align: center; }
  .pgs-profile-contacts { align-items: center; }
  .pgs-profile-socials { justify-content: center; }
  .pgs-profile-back { justify-content: center; width: 100%; }
}
@media (max-width: 576px) {
  .pgs-profile-hero { padding: 40px 0 52px; }
}

/* ════════════════════════════════════════════════════════════
   FRONT PAGE LAYOUT  ─  2-column "above the fold" + sequel rows
   No new colors. No new fonts. Pure structure.
   Inspired by classic news-portal front pages.
   ════════════════════════════════════════════════════════════ */
.pgs-frontpage {
  padding-top: 24px;
  padding-bottom: 30px;
}

.pgs-front {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(200px, 0.62fr);
  gap: 28px;
  margin: 0 0 26px;
}
.pgs-front-col { min-width: 0; }
.pgs-front-divider {
  border-inline-start: 1px solid #e3e3e3;
  padding-inline-start: 24px;
}

/* Lead column */
.pgs-lead .pgs-front-media-lg {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9.6;
  background: #ececec;
  overflow: hidden;
  margin-bottom: 14px;
}
.pgs-lead .pgs-front-media-lg img,
.pgs-lead .pgs-front-media-lg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pgs-lead .pgs-front-media-lg > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#f1f5f7,#e7eef1);
  color: #7f8b92;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.pgs-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 26px 18px 14px;
  background: linear-gradient(180deg, transparent 8%, rgba(0, 0, 0, .35) 38%, rgba(0, 0, 0, .9) 100%);
  pointer-events: none;
}
.pgs-front-title--overlay {
  margin: 0;
  font-size: 28px;
  line-height: 1.22;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .75), 0 1px 2px rgba(0, 0, 0, .5);
}
.pgs-front-excerpt--overlay {
  margin: 2px 0 0;
  padding: 0;
  font-size: 13.25px;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .65);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pgs-front-meta--overlay {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 11px;
  color: #fff;
  margin-bottom: 0;
}
.pgs-front-meta--overlay span {
  color: #fff;
}
.pgs-front-caption-muted {
  font-weight: 600;
  color: #fff;
}
.pgs-lead .pgs-front-media-lg .pgs-front-caption--hero-rail {
  position: static;
  padding: 6px 0 0;
  margin: 0;
  gap: 8px;
  background: none;
  color: #fff;
  font-size: 12.5px;
  line-height: 1.4;
}
.pgs-lead .pgs-front-media-lg .pgs-front-caption--hero-rail span {
  color: #fff;
}

.pgs-hero-slider {
  position: relative;
}
.pgs-hero-slides {
  position: relative;
}
.pgs-hero-slide {
  display: none;
}
.pgs-hero-slide.is-active {
  display: block;
  animation: pgsHeroFade .28s ease;
}
@keyframes pgsHeroFade {
  from { opacity: .4; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.pgs-hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 12px;
}
.pgs-hero-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #d6d6d6;
  background: #fff;
  color: #1a1a2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.pgs-hero-arrow:hover {
  border-color: #ec7d22;
  color: #ec7d22;
}
.pgs-hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pgs-hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #c8d3d8;
}
.pgs-hero-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: #ec7d22;
}
.pgs-front-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.55) 60%, transparent);
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}
.pgs-front-play {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: #006699;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.pgs-front-title {
  margin: 6px 0 8px;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.2px;
}
.pgs-hero-slide .pgs-front-title--overlay {
  font-size: 30px;
}
.pgs-front-title a { color: #1a1a2e; }
.pgs-front-title a:hover { color: #ec7d22; }
.pgs-front-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 10px;
}
.pgs-front-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #777;
  margin-bottom: 14px;
}

/* Hero image overlay: generic .pgs-front-excerpt / .pgs-front-meta come later and were overriding white */
.pgs-hero-overlay .pgs-front-title.pgs-front-title--overlay,
.pgs-front-title.pgs-front-title--overlay {
  color: #fff;
}
.pgs-hero-overlay .pgs-front-excerpt.pgs-front-excerpt--overlay,
.pgs-front-excerpt.pgs-front-excerpt--overlay {
  color: #fff;
}
.pgs-hero-overlay .pgs-front-meta.pgs-front-meta--overlay,
.pgs-front-meta.pgs-front-meta--overlay {
  color: #fff;
}
.pgs-hero-overlay .pgs-front-meta.pgs-front-meta--overlay span {
  color: #fff;
}

.pgs-front-sub {
  border-top: 1px solid #e3e3e3;
  padding-top: 14px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pgs-front-sub-tag {
  align-self: flex-start;
  background: #006699;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 3px 8px;
}
.pgs-front-sub-link {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a2e;
}
.pgs-front-sub-link:hover { color: #ec7d22; }

/* Middle stack column */
.pgs-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pgs-stack-item {
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 18px;
}
.pgs-stack-item:last-child { border-bottom: 0; padding-bottom: 0; }
.pgs-front-media-md {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #ececec;
  overflow: hidden;
  margin-bottom: 10px;
}
.pgs-front-media-md img,
.pgs-front-media-md video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pgs-front-subtitle {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.28;
  margin: 4px 0 6px;
  letter-spacing: -.1px;
}
.pgs-front-subtitle a { color: #1a1a2e; }
.pgs-front-subtitle a:hover { color: #ec7d22; }
.pgs-front-subexcerpt {
  font-size: 13.5px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}
.pgs-stack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  color: #888;
  margin-top: 8px;
}

/* Right rail: live + latest list */
.pgs-live-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pgs-live-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: .3px;
}
.pgs-live-brand img { height: 22px; width: auto; }
.pgs-live-card {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.pgs-live-card img,
.pgs-live-card video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pgs-live-mute {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 30px; height: 30px;
  background: #006699;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.pgs-live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.pgs-live-flag {
  color: #ec7d22;
  font-style: italic;
  font-weight: 800;
  text-transform: lowercase;
}
.pgs-live-sep { color: #ccc; }

.pgs-news-list-head {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 800;
  color: #1a1a2e;
  border-bottom: 2px solid #1a1a2e;
  padding-bottom: 8px;
  margin: 18px 0 6px;
}
.pgs-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pgs-news-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
}
.pgs-news-list li:last-child { border-bottom: 0; }
.pgs-list-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #006699;
  margin-top: 7px;
}
.pgs-list-when {
  font-size: 11px;
  color: #888;
  margin-bottom: 3px;
}
.pgs-news-list h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
}
.pgs-news-list h4 a { color: #1a1a2e; }
.pgs-news-list h4 a:hover { color: #ec7d22; }

/* Front-side rail: row 2 right column (ad) */
.pgs-front-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pgs-front-side .pgs-poll-box,
.pgs-front-side .pgs-rail-ad { width: 100%; }

/* Voice of the Week — sits in right rail above Latest News list */
.pgs-live-rail .pgs-rail-voice {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
}
.pgs-live-rail .pgs-rail-voice .pgs-voice-template {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Survey — top of left stack column (above mid stories) */
.pgs-live-rail .pgs-rail-poll {
  width: 100%;
  margin-top: 8px;
}

.pgs-front .pgs-stack .pgs-stack-poll {
  width: 100%;
  margin-top: 0;
  margin-bottom: 14px;
}

/* Compact stack items (extra fillers in left column) */
.pgs-stack-item.pgs-stack-compact .pgs-front-subtitle {
  font-size: 15.5px;
  font-weight: 700;
}
.pgs-stack-item.pgs-stack-compact .pgs-front-subexcerpt {
  font-size: 13px;
}

/* Text-only news below hero (2 columns, no thumbnails) */
.pgs-below-hero-text-news {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  border-top: 1px solid #e3e3e3;
  padding-top: 18px;
  margin-top: 14px;
}
.pgs-below-hero-text-item {
  min-width: 0;
}
.pgs-below-hero-text-title {
  font-size: 16px;
  line-height: 1.32;
  font-weight: 800;
  margin: 6px 0 6px;
  letter-spacing: -0.1px;
}
.pgs-below-hero-text-title a { color: #1a1a2e; }
.pgs-below-hero-text-title a:hover { color: #ec7d22; }
.pgs-below-hero-text-excerpt {
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  margin: 0 0 6px;
}
.pgs-below-hero-text-item .pgs-stack-meta { margin-top: 4px; }
@media (max-width: 640px) {
  .pgs-below-hero-text-news {
    grid-template-columns: 1fr;
  }
}

/* Sub-stories under the middle lead — horizontal mini cards */
.pgs-mid-subs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid #e3e3e3;
  padding-top: 18px;
  margin-top: 14px;
}
.pgs-mid-sub {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: start;
}
.pgs-mid-sub-thumb {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ececec;
  overflow: hidden;
}
.pgs-mid-sub-thumb img,
.pgs-mid-sub-thumb video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pgs-mid-sub-thumb > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#f1f5f7,#e7eef1);
  color: #7f8b92;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.pgs-mid-sub-body { min-width: 0; }
.pgs-mid-sub-body h4 {
  font-size: 14.5px;
  line-height: 1.32;
  font-weight: 800;
  margin: 6px 0 6px;
  letter-spacing: -.1px;
}
.pgs-mid-sub-body h4 a { color: #1a1a2e; }
.pgs-mid-sub-body h4 a:hover { color: #ec7d22; }
.pgs-mid-sub-body .pgs-stack-meta { margin-top: 2px; }

@media (max-width: 1100px) {
  .pgs-mid-subs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pgs-mid-sub { grid-template-columns: 110px 1fr; }
}

/* Lower sections — keep formal feel, square corners */
.pgs-frontpage .pgs-section-head {
  border-bottom: 0;
  margin: 28px 0 18px;
  padding: 10px 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  border-top: 3px double #b8b8b8;
}
.pgs-frontpage .pgs-section-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #e5e5e5;
}
.pgs-frontpage .pgs-section-head h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a1a2e;
  margin: 0;
  padding: 0;
}
.pgs-frontpage .pgs-section-head h2 i { color: #ec7d22; margin-inline-end: 6px; }
.pgs-frontpage .pgs-section-head a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ec7d22;
}
.pgs-frontpage .pgs-section-head a:hover { color: #1a1a2e; text-decoration: underline; text-underline-offset: 4px; }

.pgs-frontpage .pgs-feature-block {
  border: 1px solid #d6d6d6;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  margin-top: 8px;
}
.pgs-frontpage .pgs-feature-block .pgs-section-head {
  border: 0;
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  padding: 10px 14px;
  margin: 0;
  background: #fafafa;
}
.pgs-frontpage .pgs-feature-block .pgs-section-head::after { content: none; }
.pgs-frontpage .pgs-feature-block .pgs-section-head h2 { font-size: 12px; letter-spacing: 2.4px; }
.pgs-frontpage .pgs-feature-empty {
  border: 1px solid #d6d6d6;
  background:
    repeating-linear-gradient(0deg, transparent 0 11px, #ececec 11px 12px),
    #fff;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 11px;
  font-weight: 700;
  min-height: 200px;
}
.pgs-frontpage .pgs-feature-empty i {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d6d6d6;
  color: #ec7d22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px !important;
}

.pgs-frontpage .pgs-news-card {
  border: 1px solid #d6d6d6;
  border-radius: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease;
}
.pgs-frontpage .pgs-news-card:hover { border-color: #1a1a2e; }
.pgs-frontpage .pgs-news-thumb {
  height: 175px;
  border-bottom: 1px solid #d6d6d6;
  background: #f1f1f1;
}
.pgs-frontpage .pgs-news-card .pgs-small-cat {
  align-self: flex-start;
  display: inline-block;
  background: transparent;
  color: #ec7d22;
  border: 0;
  border-bottom: 1.5px solid #ec7d22;
  padding: 0 0 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.pgs-frontpage .pgs-news-card h3 {
  font-size: 16px;
  line-height: 1.32;
  font-weight: 800;
  margin: 4px 0 6px;
}
.pgs-frontpage .pgs-news-card h3 a,
.pgs-frontpage .pgs-news-card h3 a:hover { color: #1a1a2e; }
.pgs-frontpage .pgs-news-card h3 a:hover { color: #ec7d22; }
.pgs-frontpage .pgs-news-card .pgs-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #ececec;
  font-size: 11.5px;
  color: #666;
}

.pgs-frontpage .pgs-wide-ad {
  border: 1px solid #d6d6d6;
  border-radius: 0;
  color: #888;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  height: 88px;
  margin: 22px 0 22px;
}
.pgs-frontpage .pgs-wide-ad span {
  background: #fff;
  padding: 4px 14px;
  border: 1px solid #d6d6d6;
}

/* Survey + Voice cards inside the row-2 rail */
.pgs-frontpage .pgs-side-voice-week {
  border: 1px solid #d6d6d6;
  border-radius: 0;
  background: #fff;
  padding: 12px;
  box-shadow: none;
}
.pgs-frontpage .pgs-voice-week-heading {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a2e;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 8px;
  margin: 0 0 10px;
}

/* Voice of the Week — article detail sidebar (compact card) */
.pgs-article-page .pgs-side-voice-week {
  border: 1px solid #d6d6d6;
  border-radius: 0;
  background: #fff;
  padding: 10px;
  box-shadow: none;
  margin-bottom: 18px;
}
.pgs-article-page .pgs-voice-week-heading {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #1a1a2e;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 6px;
  margin: 0 0 8px;
}
[dir="rtl"] .pgs-voice-week-heading,
[dir="rtl"] .pgs-poll-box-heading {
  text-transform: none;
  letter-spacing: 0;
}
.pgs-article-page .pgs-rail-voice .pgs-voice-template {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}
.pgs-article-page .pgs-rail-voice .pgs-voice-template-text {
  font-size: 11px;
  line-height: 1.3;
  top: 17%;
  left: 17%;
  right: 12%;
  bottom: 43%;
}
.pgs-article-page .pgs-rail-voice .pgs-voice-media {
  gap: 6px;
}
.pgs-article-page .pgs-rail-voice .pgs-voice-media img,
.pgs-article-page .pgs-rail-voice .pgs-voice-media video {
  max-height: 180px;
  width: auto;
  margin: 0 auto;
}
.pgs-article-page .pgs-rail-voice .pgs-voice-caption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}
.pgs-frontpage .pgs-poll-box {
  border: 1px solid #d6d6d6;
  border-top: 3px solid #1a1a2e;
  border-radius: 0;
  background: #fff;
  padding: 14px 14px 16px;
  min-height: 0;
  box-shadow: none;
}
.pgs-frontpage .pgs-poll-box-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a2e;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 9px;
  margin-bottom: 10px;
}
.pgs-frontpage .pgs-poll-box-heading .fa-broadcast-tower { color: #ec7d22; }
.pgs-frontpage .pgs-poll-question {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.45;
  margin-bottom: 10px;
}
.pgs-frontpage .pgs-poll-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 0;
  font-size: 13px;
  color: #333;
  border-bottom: 1px dashed #ececec;
}
.pgs-frontpage .pgs-poll-box label:last-of-type { border-bottom: 0; }
.pgs-frontpage .pgs-poll-box input[type="radio"],
.pgs-frontpage .pgs-poll-box input[type="checkbox"] { accent-color: #ec7d22; }
.pgs-frontpage .pgs-poll-box .pgs-poll-email {
  display: block;
  padding: 8px 0 10px;
}
.pgs-frontpage .pgs-poll-box .pgs-poll-email span {
  display: block;
  margin-bottom: 6px;
  color: #1a1a2e;
  font-size: 11px;
  font-weight: 800;
}
.pgs-frontpage .pgs-poll-box .pgs-poll-email input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 7px 9px;
  border: 1px solid #d6d6d6;
  color: #1a1a2e;
  font-size: 12px;
}
.pgs-frontpage .pgs-poll-box .pgs-poll-email input:focus {
  border-color: #f28025;
  outline: 0;
}
.pgs-frontpage .pgs-poll-box button {
  margin-top: 12px;
  padding: 9px 14px;
  background: #f28025;
  color: #fff;
  border-radius: 2px;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: none;
  width: auto;
  transition: background .2s ease;
}
.pgs-frontpage .pgs-poll-box button:hover { background: #d96f1a; }
.pgs-poll-message,
.pgs-poll-thanks {
  margin: 8px 0 10px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  border: 1px solid #d6d6d6;
  background: #f7fbfc;
  color: #1a1a2e;
}
.pgs-poll-message.is-success {
  border-color: rgba(30,132,73,.35);
  background: rgba(30,132,73,.08);
}
.pgs-poll-message.is-error {
  border-color: rgba(192,57,43,.35);
  background: rgba(192,57,43,.08);
}
.pgs-poll-hint {
  margin: 4px 0 8px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}
.pgs-poll-results {
  display: grid;
  gap: 9px;
}
.pgs-poll-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #333;
  font-size: 12px;
  font-weight: 700;
}
.pgs-poll-result-line strong {
  color: #1a1a2e;
  font-size: 12px;
}
.pgs-poll-result-bar {
  height: 7px;
  background: #edf1f3;
  overflow: hidden;
}
.pgs-poll-result-bar span {
  display: block;
  height: 100%;
  background: #f28025;
}
.pgs-frontpage .pgs-rail-ad {
  border: 1px solid #d6d6d6;
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 11px, #ececec 11px 12px),
    #fff;
  color: #888;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pgs-frontpage .pgs-rail-ad span {
  background: #fff;
  border: 1px solid #d6d6d6;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #555;
}

/* Footer "reserved" placeholders match */
.pgs-footer-holder {
  border: 1px solid #d6d6d6 !important;
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 11px, #ececec 11px 12px),
    #fff !important;
  color: #888 !important;
  letter-spacing: 1.4px;
  font-size: 11px;
  font-weight: 700;
}

/* RTL: flip column dividers */
[dir="rtl"] .pgs-front-divider {
  border-inline-start: 0;
  border-inline-end: 1px solid #e3e3e3;
  padding-inline-start: 0;
  padding-inline-end: 24px;
}

/* Tablet */
@media (max-width: 1100px) {
  .pgs-front {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pgs-live-rail,
  .pgs-front-side {
    grid-column: 1 / -1;
    border-inline-start: 0;
    padding-inline-start: 0;
    border-top: 1px solid #e3e3e3;
    padding-top: 20px;
  }
  [dir="rtl"] .pgs-live-rail,
  [dir="rtl"] .pgs-front-side {
    border-inline-end: 0;
    padding-inline-end: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .pgs-front {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pgs-front-divider {
    border-inline-start: 0;
    padding-inline-start: 0;
    padding-top: 22px;
    border-top: 1px solid #e3e3e3;
  }
  [dir="rtl"] .pgs-front-divider {
    border-inline-end: 0;
    padding-inline-end: 0;
  }
  .pgs-front-title { font-size: 22px; }
  .pgs-hero-slide .pgs-front-title--overlay { font-size: 22px; }
  .pgs-team-portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgs-team-list-head h1 { font-size: 26px; }
}

@media (max-width: 520px) {
  .pgs-team-portrait-grid { grid-template-columns: 1fr; }
}

/* Force unified text color across public pages */
.pgs-public,
.pgs-public * {
  color: #262626 !important;
}

/* Keep overlay/ticker text readable on dark backgrounds */
.pgs-public .pgs-hero-overlay,
.pgs-public .pgs-hero-overlay *,
.pgs-public .pgs-front-title--overlay,
.pgs-public .pgs-front-excerpt--overlay,
.pgs-public .pgs-front-meta--overlay,
.pgs-public .pgs-front-meta--overlay span,
.pgs-public .pgs-ticker-inner,
.pgs-public .pgs-ticker-inner a {
  color: #fff !important;
}

/* Keep page hero text white on dark gradients */
.pgs-public .pgs-page-hero,
.pgs-public .pgs-page-hero *,
.pgs-public .pgs-page-kicker,
.pgs-public .pgs-page-hero h1,
.pgs-public .pgs-page-hero p {
  color: #fff !important;
}
