/* Corporate sans-serif: additional Poppins weights for headings */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');

/* =========================================================
   DSS Blog - editorial news portal skin
   Child-theme scoped. Bootstrap 5 is supplied by the DSS app.
   ========================================================= */

:root {
  /* Brand */
  --dss-red:      #e92d20;
  --dss-red-dark: #b91f16;
  --dss-navy:     #101c35;
  /* Text */
  --dss-dark:   #111418;
  --dss-text:   #1e2530;
  --dss-muted:  #6f7782;
  /* Surface */
  --dss-border: #e4e8ed;
  --dss-bg:     #f7f8fa;
  --dss-card:   #ffffff;
  --dss-soft:   #f9fafb;
  /* Shape */
  --dss-radius: 4px;
  --dss-shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 6px 16px rgba(17, 20, 24, .04);
  --dss-shadow-hover: 0 2px 6px rgba(17, 20, 24, .07), 0 10px 24px rgba(17, 20, 24, .08);
  /* Typography */
  --dss-font-heading: 'Poppins', system-ui, sans-serif;
  --dss-font-ui:      'Poppins', system-ui, sans-serif;
}

.dss-blog-site .site-content {
  min-height: 70vh;
  background: #fff;
}

.dss-main {
  padding-top: 0;
  color: var(--dss-text);
}

.dss-news-shell {
  background: #fff;
}

.dss-home-main .dss-news-shell > .container {
  padding-top: 2rem !important;
  padding-bottom: 3.25rem !important;
}

.dss-main a {
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .18s ease, box-shadow .18s ease;
}

/* =========================================================
   Focus-visible — keyboard navigation indicators
   =========================================================
   Scoped to .dss-main so DSS app nav styles are unaffected.
   Uses :focus-visible (not :focus) so mouse clicks don't show
   the ring; keyboard-only users always see it.
   ========================================================= */
.dss-main a:focus-visible,
.dss-main button:focus-visible,
.dss-main [role="button"]:focus-visible {
  outline: 2px solid var(--dss-red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Inputs use box-shadow rather than outline for better aesthetics */
.dss-main input:focus-visible,
.dss-main textarea:focus-visible,
.dss-main select:focus-visible {
  outline: none;
}

/* Skip-link / high-priority focus: stronger ring */
.dss-main .dss-ecta-btn:focus-visible,
.dss-main .dss-lead-card__read-btn:focus-visible,
.dss-main .dss-nl-btn:focus-visible,
.dss-main .dss-job-banner__btn:focus-visible,
.dss-main .dss-ready-cta__btn:focus-visible {
  outline: 3px solid var(--dss-red);
  outline-offset: 3px;
}

/* =========================================================
   News ticker
   ========================================================= */
.dss-news-ticker {
  background: #fff;
  border-top: 1px solid rgba(17, 20, 24, .08);
  border-bottom: 1px solid var(--dss-border);
  box-shadow: 0 1px 0 rgba(17, 20, 24, .04);
}

.dss-news-ticker__inner {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  overflow: hidden;
}

.dss-news-ticker__label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex: 0 0 auto;
  background: var(--dss-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0 1rem;
  white-space: nowrap;
}

.dss-news-ticker__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.dss-news-ticker__viewport:focus {
  outline: 2px solid rgba(233, 45, 32, .35);
  outline-offset: -2px;
}

.dss-news-ticker__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: dssTickerScroll 42s linear infinite;
  will-change: transform;
}

.dss-news-ticker__viewport:hover .dss-news-ticker__track,
.dss-news-ticker__viewport:focus-within .dss-news-ticker__track,
.dss-news-ticker__viewport:focus .dss-news-ticker__track {
  animation-play-state: paused;
}

.dss-news-ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

@keyframes dssTickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.dss-news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  color: var(--dss-dark);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0 1.05rem;
  min-height: 44px;
  border-right: 1px solid var(--dss-border);
  white-space: nowrap;
}

.dss-news-ticker__item time {
  color: var(--dss-red);
  font-weight: 800;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.dss-news-ticker__item span {
  max-width: 290px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dss-news-ticker__item:hover {
  color: var(--dss-red);
}

/* =========================================================
   Category navigation
   ========================================================= */
.dss-cat-nav {
  background: #fff;
  border-left: 0;
  border-top: none;
  border-bottom: 1px solid var(--dss-border);
  margin-bottom: 2rem;
  overflow-x: auto;   /* allow horizontal scroll — hidden was clipping items */
  overflow-y: visible;
  box-shadow: none;
  /* ── Sticky ── */
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .18s ease, border-color .18s ease;
}

/* Top offset is set dynamically via --cat-nav-top (JS measures header height) */
.dss-cat-nav {
  top: var(--cat-nav-top, 0px);
}

/* Shadow when stuck */
.dss-cat-nav.dss-cat-nav--stuck {
  box-shadow: 0 3px 14px rgba(17, 20, 24, .10);
  border-top: 1px solid var(--dss-border);
}

/* Force flex display in case DSS app CSS overrides .nav */
.dss-cat-nav ul.nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  min-height: 52px;
  scrollbar-width: none;
}

.dss-cat-nav ul.nav::-webkit-scrollbar {
  display: none;
}

.dss-cat-nav .nav-item {
  flex-shrink: 0;
}

/* Force link colour — DSS app sets .nav-link { color:#fff } for the dark site nav */
.dss-cat-nav .nav-item .nav-link {
  color: var(--dss-muted) !important;
  background: transparent !important;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 1rem 1.3rem;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  text-decoration: none;
}

.dss-cat-nav .nav-item .nav-link:hover {
  color: var(--dss-red) !important;
  background: rgba(233, 45, 32, .04) !important;
}

.dss-cat-nav .nav-item .nav-link.active {
  color: var(--dss-red) !important;
  background: rgba(233, 45, 32, .05) !important;
  border-bottom: 3px solid var(--dss-red) !important;
}

/* =========================================================
   Corporate home masthead
   ========================================================= */
.dss-home-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
  overflow: hidden;
  border-top: 4px solid var(--dss-red);
  border-bottom: 1px solid var(--dss-border);
  border-radius: 0;
  background: #fff;
  color: var(--dss-dark);
  padding: 3rem 2.75rem;
  margin-bottom: 2rem;
  box-shadow: none;
}

.dss-home-intro::before {
  content: none;
}

.dss-home-intro__content,
.dss-home-intro__rail {
  position: relative;
  z-index: 1;
}

.dss-home-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--dss-red);
  background: transparent;
  border-left: 3px solid var(--dss-red);
  font-size: .7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  padding: .18rem .55rem;
  margin-bottom: .85rem;
}

.dss-home-intro h1 {
  color: var(--dss-dark);
  font-family: var(--dss-font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 .7rem;
}

.dss-home-intro p {
  max-width: 780px;
  color: var(--dss-muted);
  font-size: 1rem;
  line-height: 1.72;
  margin: 0;
}

.dss-home-intro__rail {
  display: grid;
  gap: .55rem;
  min-width: 190px;
}

.dss-home-intro__rail span {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--dss-text);
  border: 1px solid var(--dss-border);
  border-radius: 3px;
  background: var(--dss-soft);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .52rem .85rem;
}

.dss-home-intro__rail span::before {
  content: "";
  width: .36rem;
  height: .36rem;
  border-radius: 50%;
  background: var(--dss-red);
  flex-shrink: 0;
}

/* =========================================================
   Section headings
   ========================================================= */
.dss-editorial-section {
  margin-bottom: 4rem;
}

.dss-feature-block {
  margin-bottom: 4.5rem;
}

.dss-top-stories-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.dss-top-story-lead {
  min-width: 0;
}

.dss-top-story-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.dss-top-story-secondary {
  min-width: 0;
}

.dss-top-story-secondary .dss-medium-card--stacked {
  height: 100%;
}

.dss-most-recent-strip {
  margin-top: 0;
}

.dss-category-block {
  padding-top: .25rem;
}

.dss-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.85rem;
  border-bottom: 1px solid #dde2e9;
  position: relative;
  padding-bottom: .05rem;
}

.dss-section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 130px;
  height: 3px;
  background: var(--dss-red);
}

.dss-section-kicker,
.dss-archive-kicker {
  display: inline-block;
  background: transparent;
  color: var(--dss-red);
  border-left: none;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 0;
  margin-bottom: .45rem;
}

.dss-section-title {
  margin: 0 0 .72rem;
  color: var(--dss-dark);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
}

.dss-section-title a {
  color: inherit;
  text-decoration: none;
}

.dss-section-title a:hover {
  color: var(--dss-red);
}

.dss-view-all {
  color: var(--dss-navy);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: .74rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.dss-view-all:hover {
  color: var(--dss-red);
}

/* =========================================================
   Shared metadata and badges
   ========================================================= */
.dss-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem .45rem;
  color: var(--dss-muted);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.45;
}

.dss-meta a {
  color: inherit;
  text-decoration: none;
}

.dss-meta a:hover {
  color: var(--dss-red);
}

.dss-meta i {
  font-size: .74rem;
}

.dss-meta-sep {
  color: #b8bec5;
}

.dss-meta--light {
  color: rgba(255, 255, 255, .78);
}

.dss-meta--light a {
  color: rgba(255, 255, 255, .86);
}

.dss-category-badge,
.dss-cat-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  background: #eef1f5;
  color: var(--dss-navy);
  border-left: 2px solid var(--dss-red);
  border-radius: 2px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  padding: .25rem .5rem;
}

.dss-category-badge:hover,
.dss-cat-badge:hover {
  background: var(--dss-navy);
  color: #fff;
}

.dss-category-badge--red {
  background: rgba(233, 45, 32, .94);
  color: #fff;
  border-left-color: rgba(255, 255, 255, .8);
}

.dss-category-badge--red:hover {
  background: var(--dss-red-dark);
  color: #fff;
}

.dss-img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eceff3 0%, #cfd5dd 100%);
}

.dss-img-placeholder--dark {
  background: linear-gradient(135deg, #101c35 0%, #2e3747 100%);
}

/* =========================================================
   Responsive image wrappers
   ========================================================= */
.dss-card-image,
.dss-card-thumb,
.dss-lead-image,
.dss-small-thumb,
.dss-latest-image {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}

.dss-card-img,
.dss-card-image img,
.dss-card-thumb img,
.dss-lead-image img,
.dss-small-thumb img,
.dss-latest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================================================
   Lead and overlay cards
   ========================================================= */

/* .dss-medium-card — overlay card (used in category sections) */
.dss-medium-card {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--dss-radius);
  background: var(--dss-dark);
  box-shadow: 0 10px 28px rgba(17, 20, 24, .1);
}

/* .dss-lead-card — stacked corporate card: image-top, content-below */
.dss-lead-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--dss-radius);
  background: var(--dss-card);
  border: 1px solid var(--dss-border);
  box-shadow: var(--dss-shadow);
  transition: box-shadow .2s ease;
}

.dss-lead-card:hover {
  box-shadow: var(--dss-shadow-hover);
}

/* Medium card: overlay media fills entire card */
.dss-medium-card__media {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
}

/* Lead card: relative media block at top */
.dss-lead-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

/* Medium card: gradient overlay */
.dss-medium-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .03), rgba(0, 0, 0, .14) 38%, rgba(0, 0, 0, .76));
  z-index: 1;
}

/* Lead card: no overlay gradient */
.dss-lead-card__media::after {
  content: none;
}

.dss-lead-card img,
.dss-medium-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .34s ease;
}

.dss-lead-card:hover .dss-lead-card__media img,
.dss-medium-card:hover img {
  transform: scale(1.045);
}

/* Lead card content: static, sits below image */
.dss-lead-card__content {
  position: static;
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Medium card content: absolute overlay at bottom */
.dss-medium-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem;
}

/* Lead card title: corporate weight, dark on white */
.dss-lead-card__title {
  font-family: var(--dss-font-heading);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.28;
  margin: .3rem 0 .65rem;
}

.dss-medium-card__title {
  font-family: var(--dss-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: .55rem 0 .45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lead card title: dark on white background */
.dss-lead-card__title a {
  color: var(--dss-dark);
  text-decoration: none;
}

.dss-lead-card__title a:hover {
  color: var(--dss-red);
  text-decoration: none;
}

/* Medium card title: white on dark overlay */
.dss-medium-card__title a {
  color: #fff;
  text-decoration: none;
}

.dss-medium-card__title a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Lead card: push meta row to bottom of flex column */
.dss-lead-card .dss-meta {
  margin-top: auto;
}

/* Lead card excerpt: muted on white */
.dss-lead-card__excerpt {
  color: var(--dss-muted);
  font-size: .93rem;
  line-height: 1.65;
  margin: 0 0 .85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-feature-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  height: 100%;
}

.dss-medium-card--stacked {
  display: flex;
  flex-direction: column;
  min-height: 252px;
  background: var(--dss-card);
  border: 1px solid var(--dss-border);
  box-shadow: var(--dss-shadow);
}

.dss-medium-card--stacked .dss-medium-card__media {
  position: relative;
  inset: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #e7ebf0;
}

.dss-medium-card--stacked .dss-medium-card__media::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .08));
}

.dss-medium-card--stacked .dss-medium-card__content {
  position: static;
  padding: .95rem 1rem 1rem;
  flex: 1;
}

.dss-medium-card--stacked .dss-category-badge--red {
  background: #eef1f5;
  color: var(--dss-navy);
  border-left-color: var(--dss-red);
}

.dss-medium-card--stacked .dss-medium-card__title {
  margin: .55rem 0 .45rem;
  font-size: 1.02rem;
  line-height: 1.28;
}

.dss-medium-card--stacked .dss-medium-card__title a {
  color: var(--dss-dark);
}

.dss-medium-card--stacked .dss-medium-card__title a:hover {
  color: var(--dss-red);
  text-decoration: none;
}

.dss-medium-card--stacked .dss-meta--light {
  color: var(--dss-muted);
  margin-top: auto;
}

/* Category section lead card: stacked (image-top, content-below) */
.dss-medium-card--category {
  background: var(--dss-card);
  border: 1px solid var(--dss-border);
  box-shadow: var(--dss-shadow);
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease;
}

.dss-medium-card--category:hover {
  box-shadow: var(--dss-shadow-hover);
}

.dss-medium-card--category .dss-medium-card__media {
  position: relative;
  inset: auto;
  height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.dss-medium-card--category .dss-medium-card__media::after {
  content: none;
}

.dss-medium-card--category .dss-medium-card__content {
  position: static;
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
}

.dss-medium-card--category .dss-medium-card__title a {
  color: var(--dss-dark);
}

.dss-medium-card--category .dss-medium-card__title a:hover {
  color: var(--dss-red);
}

.dss-medium-card--category .dss-meta--light {
  color: var(--dss-muted);
}

/* =========================================================
   Standard cards and list cards
   ========================================================= */
.dss-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  background: var(--dss-card);
  box-shadow: 0 8px 24px rgba(17, 20, 24, .055);
}

.dss-card:hover {
  box-shadow: var(--dss-shadow-hover);
}

.dss-card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e7ebf0;
  text-decoration: none;
}

.dss-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .32s ease;
}

.dss-card:hover .dss-card-thumb img {
  transform: scale(1.045);
}

.dss-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem 1.4rem 1.45rem;
}

.dss-card-title {
  margin: .58rem 0 .5rem;
  font-family: var(--dss-font-heading);
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-card-title a {
  color: var(--dss-dark);
  text-decoration: none;
}

.dss-card-title a:hover {
  color: var(--dss-red);
}

.dss-card-excerpt {
  color: var(--dss-muted);
  font-size: .88rem;
  line-height: 1.62;
  margin: 0 0 .85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-card-meta {
  margin-top: auto;
  padding-top: .25rem;
}

.dss-list-card {
  display: grid;
  grid-template-columns: minmax(120px, 148px) minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  position: relative;
  min-width: 0;
}

.dss-list-card--boxed {
  min-height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  background: var(--dss-card);
  box-shadow: 0 8px 22px rgba(17, 20, 24, .045);
}

.dss-list-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e7ebf0;
  border-radius: 3px;
  text-decoration: none;
}

.dss-list-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .26s ease;
}

.dss-list-card:hover .dss-list-card__thumb img {
  transform: scale(1.06);
}

.dss-list-card__body {
  min-width: 0;
}

.dss-list-card__cat {
  display: inline-block;
  color: var(--dss-red);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: .28rem;
}

.dss-list-card__cat:hover {
  color: var(--dss-red-dark);
}

.dss-list-card__title {
  margin: 0 0 .42rem;
  font-family: var(--dss-font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-list-card__title a {
  color: var(--dss-dark);
  text-decoration: none;
}

.dss-list-card__title a:hover {
  color: var(--dss-red);
}

/* Rank badge hidden — corporate platform does not use breaking-news ranking */
.dss-rank {
  display: none;
}

/* =========================================================
   Latest rail
   ========================================================= */
.dss-news-rail {
  height: 100%;
  border: 1px solid var(--dss-border);
  border-top: 4px solid var(--dss-red);
  border-radius: var(--dss-radius);
  background: var(--dss-card);
  padding: 1rem;
  box-shadow: var(--dss-shadow);
}

.dss-news-rail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dss-dark);
  border-bottom: 1px solid var(--dss-border);
  padding-bottom: .7rem;
  margin-bottom: .9rem;
  font-size: .95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dss-news-rail__list {
  display: grid;
  gap: .95rem;
}

.dss-news-rail .dss-list-card {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: .78rem;
  padding-bottom: .95rem;
  border-bottom: 1px solid var(--dss-border);
}

.dss-news-rail .dss-list-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.dss-news-rail .dss-list-card__thumb {
  width: 82px;
}

.dss-news-rail .dss-rank {
  left: 4px;
  top: 4px;
  width: 19px;
  height: 19px;
  background: rgba(17, 20, 24, .88);
  border: 1px solid rgba(255, 255, 255, .5);
  font-size: .64rem;
  box-shadow: none;
}

.dss-news-rail .dss-list-card__title {
  font-size: .92rem;
  line-height: 1.38;
}

/* =========================================================
   Trending / What's Hot widget  (SmartMag Cup-of-Coffee ref)
   ========================================================= */
.dss-trending-widget {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--dss-card);
  border: 1px solid var(--dss-border);
  border-top: 4px solid var(--dss-red);
  border-radius: var(--dss-radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--dss-shadow);
}

.dss-trending-widget__hd {
  margin-bottom: .9rem;
}

.dss-trending-widget__title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dss-dark);
  margin: .28rem 0 0;
  line-height: 1.2;
}

.dss-trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.dss-trending-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 82px;
  gap: .55rem .72rem;
  align-items: start;
  padding: .82rem 0;
  border-bottom: 1px solid var(--dss-border);
}

.dss-trending-item:first-child {
  padding-top: 0;
}

.dss-trending-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Large decorative rank number — light gray, editorial style */
.dss-trending-num {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  color: #dde2ea;
  padding-top: .04rem;
  min-width: 2.5rem;
  text-align: center;
  flex: 0 0 auto;
}

.dss-trending-body {
  min-width: 0;
}

.dss-trending-title {
  font-family: var(--dss-font-heading);
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.32;
  margin: .18rem 0 .3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-trending-title a {
  color: var(--dss-dark);
  text-decoration: none;
}

.dss-trending-title a:hover {
  color: var(--dss-red);
}

.dss-trending-thumb {
  display: block;
  width: 82px;
  height: 64px;
  overflow: hidden;
  border-radius: 3px;
  background: #e7ebf0;
  flex: 0 0 auto;
  text-decoration: none;
}

.dss-trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .26s ease;
}

.dss-trending-item:hover .dss-trending-thumb img {
  transform: scale(1.06);
}

.dss-trending-thumb--empty {
  cursor: default;
}

/* =========================================================
   Archive, search, and empty states
   ========================================================= */
.dss-breadcrumb {
  color: var(--dss-muted);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.dss-breadcrumb a {
  color: var(--dss-navy);
  text-decoration: none;
}

.dss-breadcrumb a:hover {
  color: var(--dss-red);
}

.dss-breadcrumb .sep {
  color: #a6aeb8;
  margin: 0 .35rem;
}

.dss-archive-header {
  background: var(--dss-card);
  border: 1px solid var(--dss-border);
  border-top: 4px solid var(--dss-red);
  border-radius: var(--dss-radius);
  padding: 1.2rem 1.35rem;
  margin-bottom: 1.35rem;
  box-shadow: var(--dss-shadow);
}

.dss-archive-header h1 {
  color: var(--dss-dark);
  font-family: var(--dss-font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

.dss-archive-header p,
.dss-archive-description {
  color: var(--dss-muted);
  font-size: .95rem;
  line-height: 1.55;
  margin: .5rem 0 0;
}

.dss-archive-description p {
  margin: 0;
}

.dss-search-bar {
  max-width: 680px;
}

.dss-search-bar .search-form {
  display: flex;
  gap: .55rem;
}

.dss-search-bar .search-field {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  padding: .65rem .85rem;
  font: inherit;
  background: #fff;
  outline: none;
}

.dss-search-bar .search-field:focus {
  border-color: var(--dss-red);
  box-shadow: 0 0 0 3px rgba(233, 45, 32, .12);
}

.dss-search-bar .search-submit {
  border: 0;
  border-radius: var(--dss-radius);
  background: var(--dss-red);
  color: #fff;
  font-weight: 800;
  padding: .65rem 1rem;
}

.dss-search-bar .search-submit:hover {
  background: var(--dss-red-dark);
}

.dss-empty-state {
  text-align: center;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  background: #fff;
  padding: 3rem 1.25rem;
}

.dss-empty-state h2 {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 .45rem;
}

.dss-empty-state p {
  color: var(--dss-muted);
  margin-bottom: 1.1rem;
}

/* =========================================================
   Single post
   ========================================================= */
.dss-article,
.dss-page-article {
  max-width: 920px;
  width: 100%;
}

.dss-share-rail {
  width: 58px;
  padding-right: .25rem;
}

.dss-article-col {
  min-width: 0;
}

.dss-single-hero,
.dss-single-header {
  border-top: 4px solid var(--dss-red);
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  border-left: 1px solid var(--dss-border);
  border-right: 1px solid var(--dss-border);
  border-bottom: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  padding: 1.45rem 1.55rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 14px 32px rgba(16, 28, 53, .06);
}

.dss-single-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .7rem;
}

.dss-single-hero h1,
.dss-single-header h1 {
  color: var(--dss-dark);
  font-family: var(--dss-font-heading);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
  max-width: 840px;
  margin: 0 0 .85rem;
}

.dss-single-meta {
  align-items: center;
  gap: .38rem .6rem;
  font-size: .84rem;
  line-height: 1.5;
}

.dss-single-meta span,
.dss-single-meta a {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
}

.dss-single-thumb {
  overflow: hidden;
  border-radius: var(--dss-radius);
  margin: 0 0 1.7rem;
  border: 1px solid var(--dss-border);
  background: #e7ebf0;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 28px rgba(16, 28, 53, .08);
}

.dss-single-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dss-post-content {
  max-width: 760px;
  color: var(--dss-text);
  font-size: 1.0625rem;
  line-height: 1.82;
}

.dss-post-content p {
  margin: 0 0 1.35rem;
}

.dss-post-content h2,
.dss-post-content h3,
.dss-post-content h4 {
  color: var(--dss-dark);
  font-family: var(--dss-font-heading);
  font-weight: 700;
  line-height: 1.24;
  scroll-margin-top: 110px;
  margin: 2.35rem 0 .8rem;
}

.dss-post-content h2 {
  border-left: 3px solid var(--dss-red);
  font-size: 1.5rem;
  padding-left: .75rem;
}

.dss-post-content h3 {
  font-size: 1.25rem;
  margin-top: 1.85rem;
}

.dss-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--dss-radius);
}

.dss-post-content a {
  color: var(--dss-red);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

.dss-post-content a:hover,
.dss-post-content a:focus-visible {
  color: var(--dss-red-dark);
}

.dss-post-content blockquote {
  border-left: 4px solid var(--dss-red);
  background: var(--dss-soft);
  color: #3b4350;
  padding: 1rem 1.2rem;
  margin: 1.7rem 0;
  font-weight: 600;
}

.dss-post-content ul,
.dss-post-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.dss-post-content li {
  margin-bottom: .35rem;
}

.dss-post-content pre {
  color: #eef2f7;
  background: #111418;
  border-radius: var(--dss-radius);
  padding: 1rem;
  overflow-x: auto;
}

.dss-page-links {
  display: flex;
  gap: .4rem;
  align-items: center;
  flex-wrap: wrap;
}

.dss-page-links .page-link {
  border-radius: var(--dss-radius);
}

.dss-share {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .7rem .35rem;
  border: 1px solid var(--dss-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(16, 28, 53, .08);
}

.dss-share small {
  color: var(--dss-muted);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.dss-share a,
.dss-mobile-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dss-share a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--dss-border);
  border-radius: 50%;
  background: #fff;
  color: var(--dss-navy);
  text-decoration: none;
}

.dss-share a:hover {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
  transform: translateY(-2px);
}

.dss-mobile-share {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  max-width: 760px;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dss-border);
}

.dss-mobile-share span {
  color: var(--dss-muted);
  font-size: .82rem;
  font-weight: 800;
}

.dss-mobile-share a.btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  color: var(--dss-navy);
}

.dss-mobile-share a.btn:hover {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
}

.dss-tags {
  max-width: 780px;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dss-border);
}

.dss-tags-label {
  color: var(--dss-navy);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-right: .4rem;
}

.dss-tags a {
  display: inline-block;
  border: 1px solid var(--dss-border);
  border-radius: 2px;
  background: #fff;
  color: var(--dss-text);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  padding: .22rem .55rem;
  margin: .18rem .08rem;
}

.dss-tags a:hover {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
}

.dss-author-box {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 780px;
  margin: 2.15rem 0 0;
  padding: 1.2rem;
  border: 1px solid var(--dss-border);
  border-left: 4px solid var(--dss-red);
  border-radius: var(--dss-radius);
  background: #fff;
  box-shadow: var(--dss-shadow);
}

.dss-author-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: #e7ebf0;
}

.dss-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dss-author-label {
  color: var(--dss-red);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 .2rem;
}

.dss-author-name {
  font-size: 1.08rem;
  font-weight: 900;
  margin: 0 0 .35rem;
}

.dss-author-name a {
  color: var(--dss-dark);
  text-decoration: none;
}

.dss-author-name a:hover {
  color: var(--dss-red);
}

.dss-author-bio {
  color: var(--dss-muted);
  font-size: .92rem;
  line-height: 1.62;
  margin: 0;
}

.dss-related {
  background: #fff;
  border-top: 1px solid var(--dss-border);
  border-bottom: 1px solid var(--dss-border);
  padding: 2.5rem 0;
}

/* =========================================================
   Pagination
   ========================================================= */
.dss-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2.5rem 0 .5rem;
}

.dss-pagination .page-link,
.dss-pagination .page-link.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1.5px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  cursor: pointer;
  line-height: 1;
}

.dss-pagination .page-link:hover {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(233,45,32,.25);
  text-decoration: none;
}

.dss-pagination .page-link.current {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(233,45,32,.3);
  cursor: default;
  pointer-events: none;
}

/* Prev / Next arrows */
.dss-pagination .page-link[rel="prev"],
.dss-pagination .page-link[rel="next"],
.dss-pagination .page-link:first-child,
.dss-pagination .page-link:last-child {
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  border-color: #dee2e6;
}

/* Dots — no border, not clickable-looking */
.dss-pagination .page-link.dots,
.dss-pagination span:not(.page-link) {
  border-color: transparent;
  background: transparent;
  color: #9ca3af;
  pointer-events: none;
  min-width: 28px;
  font-size: .95rem;
  letter-spacing: 1px;
}

/* =========================================================
   CTA and utility templates
   ========================================================= */
.dss-job-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0 0;
  padding: 1.45rem 1.65rem;
  border-radius: var(--dss-radius);
  background: linear-gradient(135deg, #111418 0%, #101c35 68%, #5a1410 100%);
  color: #fff;
}

.dss-job-banner h3 {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 .25rem;
}

.dss-job-banner p {
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  margin: 0;
}

.dss-job-banner .btn {
  flex: 0 0 auto;
  font-weight: 800;
}

.dss-newsletter-inline {
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  background: #fff;
  padding: 1rem;
}

.dss-404 {
  text-align: center;
  padding: 5rem 1rem 4rem;
}

.dss-404-num {
  color: var(--dss-red);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

/* =========================================================
   Compatibility for older template class names
   ========================================================= */
.dss-card-h,
.dss-side-item,
.dss-side-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: .75rem;
}

/* WP admin bar offset */
#wpadminbar {
  position: fixed !important;
}

body.admin-bar {
  padding-top: 32px;
}

.admin-bar .dss-share {
  top: 132px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: 46px;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1200px) {
  /* Wider editorial container for more breathing room */
  .dss-main .dss-news-shell .container {
    max-width: 1220px;
  }

  .dss-home-main .dss-feature-block {
    margin-bottom: 4.75rem;
  }

  .dss-home-main .dss-editorial-section {
    margin-bottom: 4.25rem;
  }

  .dss-category-block .row,
  .dss-latest-section .row,
  .dss-most-recent-strip .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }
}

/* Two-column Top Stories: lead card (left) + What's Hot widget (right) */
@media (min-width: 992px) {
  .dss-top-stories-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: stretch;
  }

  /* Widget fills the full height of the lead card column */
  .dss-trending-widget {
    min-height: 0;
  }
}

@media (max-width: 1199.98px) {
  .dss-home-main .dss-news-shell > .container {
    padding-top: 2rem !important;
  }

  .dss-lead-card {
    min-height: 0;
  }

  .dss-lead-card--wide {
    min-height: 0;
  }

  .dss-feature-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .dss-medium-card--stacked {
    min-height: 260px;
  }

  .dss-news-rail {
    min-height: 100%;
  }
}

@media (max-width: 991.98px) {
  .dss-home-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .dss-home-intro__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }

  .dss-editorial-section {
    margin-bottom: 2.5rem;
  }

  .dss-lead-card__title {
    font-size: 1.42rem;
  }

  .dss-medium-card--category {
    min-height: 0;
  }

  .dss-list-card {
    grid-template-columns: minmax(104px, 128px) minmax(0, 1fr);
  }

  .dss-single-hero h1,
  .dss-single-header h1 {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
  }
}

@media (max-width: 767.98px) {
  .dss-home-main .dss-news-shell > .container {
    padding-top: 1.25rem !important;
    padding-bottom: 2.5rem !important;
  }

  .dss-home-intro {
    padding: 1.5rem 1.25rem;
  }

  .dss-home-intro h1 {
    font-size: 1.6rem;
  }

  .dss-home-intro p {
    font-size: .92rem;
  }

  .dss-home-intro__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dss-news-ticker__inner {
    display: block;
  }

  .dss-news-ticker__label {
    min-height: 36px;
  }

  .dss-news-ticker__viewport {
    width: 100%;
  }

  .dss-news-ticker__item {
    min-height: 38px;
    padding: 0 .8rem;
  }

  .dss-cat-nav .nav-link {
    font-size: .74rem;
    padding: .65rem .8rem;
  }

  .dss-feature-stack {
    grid-template-columns: 1fr;
  }

  .dss-top-story-secondary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dss-lead-card {
    min-height: 0;
  }

  .dss-medium-card--category {
    min-height: 0;
  }

  .dss-lead-card--wide {
    min-height: 0;
  }

  .dss-medium-card--stacked {
    min-height: auto;
  }

  .dss-lead-card__content {
    padding: 1rem 1.1rem 1.2rem;
  }

  .dss-lead-card__title {
    font-size: 1.28rem;
  }

  .dss-lead-card__excerpt {
    display: none;
  }

  .dss-list-card {
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
  }

  .dss-section-heading {
    align-items: start;
  }

  .dss-single-hero,
  .dss-single-header,
  .dss-archive-header {
    padding: 1.05rem;
  }

  .dss-single-hero h1,
  .dss-single-header h1 {
    font-size: 1.3rem;
  }

  .dss-post-content {
    font-size: .98rem;
  }

  .dss-author-box,
  .dss-job-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dss-job-banner {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .dss-news-ticker__item span {
    max-width: 220px;
  }

  .dss-section-heading {
    display: block;
  }

  .dss-home-intro__eyebrow {
    font-size: .66rem;
  }

  .dss-view-all {
    margin-top: -.35rem;
  }

  .dss-lead-card {
    min-height: 0;
  }

  .dss-medium-card--category {
    min-height: 0;
  }

  .dss-lead-card--wide {
    min-height: 0;
  }

  .dss-medium-card--stacked {
    min-height: auto;
  }

  .dss-card-body {
    padding: .9rem;
  }

  .dss-card-title {
    font-size: 1rem;
  }

  .dss-list-card--boxed {
    padding: .8rem;
  }

  .dss-list-card {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .dss-list-card__thumb,
  .dss-news-rail .dss-list-card__thumb {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .dss-list-card__title {
    font-size: .92rem;
  }

  .dss-rank,
  .dss-news-rail .dss-rank {
    left: 6px;
    top: 6px;
  }

  .dss-search-bar .search-form {
    display: block;
  }

  .dss-search-bar .search-field,
  .dss-search-bar .search-submit {
    width: 100%;
  }

  .dss-search-bar .search-submit {
    margin-top: .55rem;
  }

  .dss-404-num {
    font-size: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dss-news-ticker__viewport {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .dss-news-ticker__track {
    animation: none;
  }

  .dss-news-ticker__group[aria-hidden="true"] {
    display: none;
  }
}

/* =========================================================
   Defensive: prevent DSS app floating elements from
   bleeding into or overlapping blog content / job CTA
   ========================================================= */
.floating-buttons {
  position: fixed;
  z-index: 9999;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  pointer-events: none;
}

.floating-buttons a,
.floating-buttons button {
  pointer-events: auto;
}

/* Ensure .floating-hidden stays invisible regardless of DSS CSS load order */
.floating-hidden {
  display: none !important;
  visibility: hidden !important;
}

/* Ensure content area has clear bottom separation before footer */
.dss-home-main .dss-news-shell {
  padding-bottom: 1px; /* Prevent margin collapsing into footer */
}

/* Trending widget title weight set directly in rule above */

/* =========================================================
   Hero section — refined knowledge hub
   ========================================================= */

/* ── Hero section ─────────────────────────────────────────────────── */
.dss-home-hero.dss-home-intro {
  display: block;
  padding: 56px 0 46px;
  background: linear-gradient(180deg, var(--dss-bg) 0%, #ffffff 100%);
}

.dss-home-hero .dss-home-hero__content {
  max-width: 960px;
}

.dss-home-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: .85rem;
}

.dss-home-hero p {
  font-size: 1.03rem;
  line-height: 1.72;
  max-width: 920px;
  margin-top: .25rem;
  letter-spacing: normal;
  word-spacing: normal;
}

/* Search bar — full width within hero */
.dss-hero-search {
  margin-top: 1.85rem;
  max-width: 100%;
}

.dss-hero-search__wrap {
  display: flex;
  align-items: stretch;
  height: 62px;
  background: #fff;
  border: 1.5px solid #c8ced8;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(17, 20, 24, .09);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.dss-hero-search__wrap:focus-within {
  border-color: var(--dss-red);
  box-shadow: 0 0 0 4px rgba(233, 45, 32, .1);
}

.dss-hero-search__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 .9rem 0 1.2rem;
  color: var(--dss-muted);
  font-size: 1rem;
  pointer-events: none;
}

.dss-hero-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 .5rem 0 0;
  font: inherit;
  font-size: .97rem;
  color: var(--dss-dark);
  background: transparent;
}

.dss-hero-search__input::placeholder {
  color: #a0a9b3;
}

.dss-hero-search__btn {
  flex-shrink: 0;
  border: 0;
  background: var(--dss-red);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .025em;
  min-width: 130px;
  padding: 0 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease;
}

.dss-hero-search__btn:hover { background: var(--dss-red-dark); }

.dss-hero-search__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

/* Quick topic chips */
.dss-hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: 1.25rem;
  align-items: center;
}

.dss-hero-topics::before {
  content: "Topics:";
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--dss-muted);
  flex-shrink: 0;
  margin-right: .15rem;
}

.dss-hero-topic {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--dss-border);
  border-radius: 4px;
  background: var(--dss-soft);
  color: var(--dss-text);
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  padding: .35rem .7rem;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
  white-space: nowrap;
}

.dss-hero-topic:hover {
  background: var(--dss-navy);
  border-color: var(--dss-navy);
  color: #fff;
}

.dss-hero-topic:focus-visible {
  outline: 2px solid var(--dss-red);
  outline-offset: 2px;
}

/* =========================================================
   Lead card — footer row + Read Article button
   ========================================================= */
.dss-lead-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--dss-border);
}

.dss-lead-card__footer .dss-meta {
  margin-top: 0;
}

.dss-lead-card__read-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--dss-red);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  padding: .6rem 1.3rem;
  border-radius: var(--dss-radius);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease;
}

.dss-lead-card__read-btn:hover {
  background: var(--dss-red-dark);
  color: #fff;
}

/* =========================================================
   Card Read More link
   ========================================================= */
.dss-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  color: var(--dss-red);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid var(--dss-border);
  width: 100%;
  transition: gap .14s ease, color .14s ease;
}

.dss-card-read-more:hover {
  color: var(--dss-red-dark);
  gap: .42rem;
}

/* =========================================================
   Problem-based navigation (What Are You Trying to Solve?)
   ========================================================= */
.dss-solve-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.dss-solve-card {
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.35rem 1.5rem;
  border: 1px solid var(--dss-border);
  border-top: 3px solid var(--dss-red);
  border-radius: var(--dss-radius);
  background: #fff;
  box-shadow: var(--dss-shadow);
  text-decoration: none;
  color: var(--dss-text);
  transition: box-shadow .2s ease, transform .18s ease, border-top-color .2s ease;
}

.dss-solve-card:hover {
  box-shadow: var(--dss-shadow-hover);
  transform: translateY(-3px);
  color: var(--dss-text);
  text-decoration: none;
  border-top-color: var(--dss-navy);
}

.dss-solve-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: rgba(233, 45, 32, .08);
  color: var(--dss-red);
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: background .15s ease;
}

.dss-solve-card:hover .dss-solve-card__icon {
  background: rgba(16, 28, 53, .1);
  color: var(--dss-navy);
}

.dss-solve-card__title {
  font-family: var(--dss-font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dss-dark);
  margin: 0 0 .55rem;
}

.dss-solve-card__text {
  color: var(--dss-muted);
  font-size: .85rem;
  line-height: 1.58;
  margin: 0 0 .95rem;
  flex: 1;
}

.dss-solve-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  color: var(--dss-red);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: auto;
  transition: gap .14s ease, color .14s ease;
}

.dss-solve-card:hover .dss-solve-card__cta {
  gap: .38rem;
  color: var(--dss-navy);
}

/* =========================================================
   Mid-page employer CTA banner
   ========================================================= */
.dss-employer-cta {
  margin: 0 0 4.5rem;
  border-radius: var(--dss-radius);
  background: linear-gradient(135deg, #0a1220 0%, #101c35 62%, #5a1410 100%);
  overflow: hidden;
}

.dss-employer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 3.25rem 3.5rem;
}

.dss-employer-cta__eyebrow {
  display: inline-block;
  color: rgba(233, 45, 32, .9);
  border-left: 3px solid rgba(233, 45, 32, .9);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .14rem .55rem;
  margin-bottom: .8rem;
}

.dss-employer-cta__content h3 {
  color: #fff;
  font-family: var(--dss-font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 .65rem;
}

.dss-employer-cta__content p {
  color: rgba(255, 255, 255, .72);
  font-size: .96rem;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

.dss-employer-cta__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
}

.dss-employer-cta__actions .btn {
  padding: .85rem 2rem;
  font-size: .92rem;
  letter-spacing: .015em;
}

/* =========================================================
   Newsletter section
   ========================================================= */
.dss-newsletter-section {
  margin: 0 0 4rem;
  border: 1px solid var(--dss-border);
  border-top: 4px solid var(--dss-red);
  border-radius: var(--dss-radius);
  background: #edf0f5;
}

.dss-newsletter-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 4rem;
  padding: 3.25rem 3.5rem;
  align-items: center;
}

.dss-nl-eyebrow {
  color: var(--dss-red) !important;
  border-color: var(--dss-red) !important;
}

.dss-newsletter-section__content h3 {
  color: var(--dss-dark);
  font-family: var(--dss-font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  margin: .6rem 0 .7rem;
}

.dss-newsletter-section__content p {
  color: var(--dss-muted);
  font-size: .96rem;
  line-height: 1.65;
  margin: 0;
}

.dss-newsletter-fields {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: .9rem;
}

.dss-nl-input {
  width: 100%;
  border: 1px solid #ccd0da;
  border-radius: var(--dss-radius);
  padding: .78rem .95rem;
  font: inherit;
  font-size: .93rem;
  color: var(--dss-dark);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.dss-nl-input:focus {
  border-color: var(--dss-red);
  box-shadow: 0 0 0 3px rgba(233, 45, 32, .1);
}

.dss-nl-input::placeholder {
  color: #a0a9b3;
}

.dss-nl-btn {
  width: 100%;
  font-weight: 700;
  padding: .82rem;
  font-size: .95rem;
  letter-spacing: .02em;
}

/* =========================================================
   More Workforce Insights — View All button
   ========================================================= */
.dss-more-cta {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: .5rem;
}

.dss-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 2px solid var(--dss-navy);
  border-radius: var(--dss-radius);
  background: transparent;
  color: var(--dss-navy);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  padding: .78rem 2.25rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.dss-view-all-btn:hover {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
}

/* =========================================================
   Regional sections — alternating background + equal heights
   ========================================================= */
.dss-category-block--alt {
  background: var(--dss-soft);
  border-radius: var(--dss-radius);
  padding: 2rem 2rem 2.25rem;
  margin-bottom: 3.5rem;
}

/* Equal-height list cards in regional right columns */
.dss-category-block .d-flex.flex-column > .dss-list-card--boxed {
  flex: 1;
}

/* =========================================================
   Responsive: new sections
   ========================================================= */
@media (max-width: 1399.98px) {
  .dss-solve-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .dss-home-hero.dss-home-intro {
    padding: 48px 0 40px;
  }
}

@media (max-width: 991.98px) {
  .dss-home-hero.dss-home-intro {
    padding: 44px 0 38px;
  }

  .dss-solve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dss-employer-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2.25rem;
  }

  .dss-employer-cta__actions .btn {
    padding: .8rem 1.65rem;
  }

  .dss-newsletter-section__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 2.25rem;
  }

  .dss-category-block--alt {
    padding: 1.5rem 1.5rem 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .dss-home-hero.dss-home-intro {
    padding: 36px 0 32px;
  }

  .dss-hero-search {
    margin-top: 1.4rem;
  }

  .dss-hero-search__wrap {
    flex-wrap: wrap;
    height: auto;
    border-radius: 9px;
  }

  .dss-hero-search__icon {
    display: none;
  }

  .dss-hero-search__input {
    width: 100%;
    flex: none;
    padding: .9rem .95rem;
    height: 52px;
  }

  .dss-hero-search__btn {
    width: 100%;
    min-width: 0;
    padding: .82rem;
    height: 46px;
  }

  .dss-hero-topics {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: .25rem;
    scrollbar-width: none;
  }

  .dss-hero-topics::-webkit-scrollbar { display: none; }

  .dss-hero-topics::before {
    flex-shrink: 0;
  }

  .dss-employer-cta__inner {
    padding: 2rem 1.35rem;
  }

  .dss-employer-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .dss-employer-cta__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .dss-newsletter-section__inner {
    padding: 2rem 1.35rem;
  }

  .dss-lead-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .dss-lead-card__read-btn {
    align-self: flex-start;
  }

  .dss-category-block--alt {
    padding: 1.25rem 1rem 1.5rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .dss-solve-grid {
    grid-template-columns: 1fr;
  }

  .dss-hero-topic {
    font-size: .72rem;
    padding: .38rem .68rem;
  }
}

/* =========================================================
   Homepage polish — spacing, typography, cards, CTAs
   ========================================================= */

/* 1 — Tighter section rhythm */
.dss-editorial-section  { margin-bottom: 2.75rem; }
.dss-feature-block      { margin-bottom: 3rem; }
.dss-employer-cta       { margin-bottom: 3rem; }
.dss-newsletter-section { margin-bottom: 3rem; }
.dss-category-block--alt { margin-bottom: 2.5rem; }

/* 2 — Section headings: larger, bolder, sharper */
.dss-section-heading { margin-bottom: 1.4rem; }
.dss-section-title   {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.012em;
}
.dss-section-kicker { font-size: .72rem; letter-spacing: .07em; }

/* 3 — Standard grid cards */
.dss-card              { transition: box-shadow .22s ease, transform .2s ease; }
.dss-card:hover        { transform: translateY(-3px); }
.dss-card-body         { padding: 1.15rem 1.3rem 1.3rem; }
.dss-card-title        { font-size: 1.15rem; }

/* 4 — Lead card (Featured Insight) */
.dss-lead-card         { transition: box-shadow .22s ease, transform .2s ease; }
.dss-lead-card:hover   { transform: translateY(-2px); }

/* 5 — Category section stacked lead card */
.dss-medium-card--category               { transition: box-shadow .22s ease, transform .2s ease; }
.dss-medium-card--category:hover         { transform: translateY(-2px); }

/* 6 — Boxed list cards: lift on hover */
.dss-list-card--boxed {
  transition: box-shadow .2s ease, transform .18s ease;
}
.dss-list-card--boxed:hover {
  box-shadow: var(--dss-shadow-hover);
  transform: translateY(-2px);
}

/* 7 — Regional right column: tighter gap keeps cards close to left height */
.dss-category-block .d-flex.flex-column.h-100 { gap: .7rem !important; }

/* 8 — Popular Employer Reads / Trending widget */
.dss-trending-widget__title {
  font-size: 1.12rem;
  font-weight: 800;
}
.dss-trending-item  { grid-template-columns: auto minmax(0, 1fr) 90px; }
.dss-trending-thumb { width: 90px; height: 70px; }
.dss-trending-num   { font-size: 1.45rem; min-width: 2.2rem; }
.dss-trending-title { font-size: 1rem; }

/* 9 — Problem / Solve cards: stronger icons, hover fill */
.dss-solve-card__icon  { width: 52px; height: 52px; font-size: 1.5rem; }
.dss-solve-card__title { font-size: 1.05rem; }
.dss-solve-card:hover  { background: #f7f9fc; }

/* 10 — CTA hierarchy: employer CTA dominant, job banner secondary */
.dss-employer-cta__content h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: .8rem;
}
.dss-employer-cta__content p    { font-size: 1rem; }
.dss-employer-cta__actions .btn { padding: 1rem 2.25rem; font-size: .95rem; }

.dss-job-banner {
  background: var(--dss-navy);
  margin-top: 2.5rem;
  padding: 1.3rem 1.65rem;
}
.dss-job-banner h3 { font-size: 1.08rem; }
.dss-job-banner p  { font-size: .88rem; }

/* 11 — Newsletter: premium background, taller inputs */
.dss-newsletter-section {
  background: #eef1f7;
  box-shadow: 0 2px 20px rgba(17, 20, 24, .06);
}
.dss-newsletter-section__content h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  margin-bottom: .8rem;
}
.dss-nl-input          { padding: .92rem 1rem; font-size: .95rem; }
.dss-nl-btn            { padding: .95rem; font-size: .97rem; font-weight: 800; letter-spacing: .01em; }
.dss-newsletter-fields { gap: .85rem; margin-bottom: 1rem; }

/* Responsive overrides for polish additions */
@media (min-width: 1200px) {
  .dss-home-main .dss-feature-block      { margin-bottom: 3.25rem; }
  .dss-home-main .dss-editorial-section  { margin-bottom: 2.75rem; }
  .dss-employer-cta__inner               { padding: 3.75rem 3.5rem; }
  .dss-newsletter-section__inner         { padding: 3.5rem 3.5rem; }
}
@media (max-width: 991.98px) {
  .dss-editorial-section         { margin-bottom: 2rem; }
  .dss-employer-cta__inner       { padding: 2.5rem 2.25rem; }
  .dss-newsletter-section__inner { padding: 2.5rem 2.25rem; }
  .dss-trending-item             { grid-template-columns: auto minmax(0, 1fr) 90px; }
}
@media (max-width: 767.98px) {
  .dss-job-banner                { margin-top: 2rem; padding: 1.1rem 1.25rem; }
  .dss-employer-cta__inner       { padding: 2rem 1.35rem; }
  .dss-newsletter-section__inner { padding: 2rem 1.35rem; }
  .dss-trending-item             { grid-template-columns: auto minmax(0, 1fr) 82px; }
  .dss-trending-thumb            { width: 82px; height: 64px; }
}

/* =========================================================
   Regional sections — compact balanced layout
   Replaces the d-flex/h-100/flex:1 forced-height approach.
   ========================================================= */

/* Left lead card: shorter image so natural height ≈ 3 compact right cards.
   At col-lg-6 (~580px): 2/1 → ~290px image + ~140px content ≈ 430px total.
   Right stack: 3 × 131px cards + 2 × .65rem gaps ≈ 413px — within 20px. */
.dss-category-block .dss-medium-card--category .dss-medium-card__media {
  aspect-ratio: 2 / 1;
}

/* Right-column stack: compact flex column, natural height only */
.dss-region-stack {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

/* Each supporting card: sit at natural height — no flex stretching */
.dss-region-stack > .dss-list-card--boxed {
  flex: 0 0 auto;
}

/* Tighter inter-section vertical spacing for regional blocks */
.dss-category-block           { margin-bottom: 2rem; }
.dss-category-block--alt {
  padding: 1.5rem 1.75rem 1.75rem;
  margin-bottom: 1.75rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  /* Restore wider image for single-column (full-width) mobile view */
  .dss-category-block .dss-medium-card--category .dss-medium-card__media {
    aspect-ratio: 16 / 9;
  }
  .dss-region-stack            { gap: .55rem; }
  .dss-category-block--alt     { padding: 1.25rem 1.25rem 1.5rem; margin-bottom: 1.5rem; }
}

@media (max-width: 767.98px) {
  .dss-category-block          { margin-bottom: 1.5rem; }
  .dss-category-block--alt     { margin-bottom: 1.25rem; }
}

/* =========================================================
   Mobile responsiveness — homepage
   =========================================================
   Breakpoints used (Bootstrap convention):
     ≤ 991.98px  tablet / phablet
     ≤ 767.98px  small tablet / large phone
     ≤ 575.98px  phone
   ========================================================= */

/* ── Global: section heading scale-down ─────────────────────────── */
/* The polish block set font-size: 1.5rem with no responsive reduction.
   At 375px, 1.5rem uppercase is too dominant. Scale it down. */
@media (max-width: 767.98px) {
  .dss-section-title  { font-size: 1.15rem; }
  .dss-section-heading { margin-bottom: 1.05rem; }
}
@media (max-width: 575.98px) {
  .dss-section-title  { font-size: 1rem; letter-spacing: 0; }
  .dss-section-kicker { font-size: .65rem; }
  /* Tighter section rhythm on phones */
  .dss-editorial-section { margin-bottom: 1.5rem; }
  .dss-feature-block     { margin-bottom: 1.75rem; }
  .dss-employer-cta      { margin-bottom: 1.75rem; }
  .dss-newsletter-section { margin-bottom: 1.75rem; }
}

/* ── 1. Hero ─────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  /* Hero already switches to single-column; refine text sizing */
  .dss-home-hero h1 {
    font-size: clamp(1.55rem, 4.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: .55rem;
  }
  .dss-home-hero p { font-size: .9rem; line-height: 1.65; }
}
@media (max-width: 575.98px) {
  .dss-home-hero.dss-home-intro {
    padding: 1.5rem 1.1rem;
    margin-bottom: .9rem;
  }
  .dss-home-hero h1 {
    font-size: clamp(1.38rem, 5.5vw, 1.7rem);
    margin-bottom: .45rem;
  }
  .dss-home-hero p { font-size: .86rem; }
  .dss-home-intro__eyebrow { margin-bottom: .6rem; }
  .dss-hero-search   { margin-top: 1rem; }
  /* Topic chips: slightly tighter on phones */
  .dss-hero-topics   { margin-top: .8rem; gap: .3rem; }
  .dss-hero-topic    { font-size: .68rem; padding: .32rem .55rem; }
}

/* ── 2. Category navigation ──────────────────────────────────────── */
/* BUG FIX: the existing @767 override uses 2-class selector
   (.dss-cat-nav .nav-link) which loses to the 3-class base rule
   (.dss-cat-nav .nav-item .nav-link).  Restate with the correct
   selector so padding and font-size actually apply. */
@media (max-width: 991.98px) {
  .dss-cat-nav .nav-item .nav-link {
    min-height: 48px;           /* ≥ 44px touch target */
    display: inline-flex !important;
    align-items: center;
    padding: 0 1.1rem !important;  /* horizontal only — height via min-height */
    font-size: .78rem;
  }
}
@media (max-width: 575.98px) {
  .dss-cat-nav .nav-item .nav-link {
    padding: 0 .85rem !important;
    font-size: .73rem;
    letter-spacing: .03em;
  }
  /* Active indicator: thicker underline = easier to read on small screens */
  .dss-cat-nav .nav-item .nav-link.active {
    border-bottom-width: 3px !important;
  }
}

/* ── 3. Featured section ─────────────────────────────────────────── */
/* BUG FIX: original CSS hides excerpt at ≤767px, but the card system
   CSS added (later in file, same specificity) shows it. Make the intent
   explicit with !important so it never gets hidden on full-width mobile. */
@media (max-width: 767.98px) {
  .dss-lead-card__excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .dss-top-stories-grid { gap: .85rem; }
  .dss-lead-card__content { padding: 1rem 1.15rem 1.15rem; }
}
/* Trending widget: tighten on phones so rank / body / thumb fit cleanly */
@media (max-width: 575.98px) {
  .dss-trending-widget        { padding: .8rem .85rem .95rem; }
  .dss-trending-widget__title { font-size: .97rem; }
  .dss-trending-item {
    grid-template-columns: auto minmax(0, 1fr) 72px;
    gap: .38rem .5rem;
    padding: .6rem 0;
  }
  .dss-trending-num  { font-size: 1.15rem; min-width: 1.65rem; }
  .dss-trending-thumb { width: 72px; height: 54px; }
  .dss-trending-title { font-size: .87rem; line-height: 1.35; }
}

/* ── 4. Cards ─────────────────────────────────────────────────────── */
/* Bootstrap grid already stacks to 1-col at xs. 16:9 ratio intact.
   Fine-tune text sizes and body padding on phones. */
@media (max-width: 575.98px) {
  .dss-card-title   { font-size: 1.02rem; }
  .dss-card-excerpt { font-size: .83rem; }
  .dss-card-body    { padding: .88rem .95rem .95rem; }
  .dss-card-footer  { padding-top: .5rem; }
  .dss-card-arrow   { width: 24px; height: 24px; font-size: 1rem; }
}

/* ── 5. Problem / Solve cards ─────────────────────────────────────── */
/* 2-col at tablet, 1-col at phone — already in polish block.
   Tighten padding and reduce icon size for smaller screens. */
@media (max-width: 767.98px) {
  .dss-solve-card {
    padding: 1.3rem 1.1rem 1.15rem;
  }
  .dss-solve-card__icon {
    width: 44px; height: 44px;
    font-size: 1.3rem;
    margin-bottom: .8rem;
  }
}
@media (max-width: 575.98px) {
  .dss-solve-grid  { gap: .55rem; }
  .dss-solve-card  { padding: 1.05rem .95rem 1rem; }
  .dss-solve-card__icon  { width: 40px; height: 40px; font-size: 1.2rem; }
  .dss-solve-card__title { font-size: .95rem; }
  .dss-solve-card__text  { font-size: .81rem; }
  .dss-solve-card__cta   { font-size: .72rem; margin-top: .65rem; }
}

/* ── 6. Regional sections ─────────────────────────────────────────── */
/* Bootstrap stacks both cols at < lg (992px).
   DOM order: .dss-medium-card--category first → lead article shows on top ✓
   .dss-region-stack second → supporting articles below ✓ */
@media (max-width: 575.98px) {
  /* Reduce alt-section padding: 375px phone − container 24px − padding 2×14.4px
     leaves only ~322px — tight enough without extra padding */
  .dss-category-block--alt {
    padding: .8rem .85rem .95rem;
    margin-bottom: 1rem;
  }
  .dss-region-stack      { gap: .45rem; }
  .dss-list-card--boxed  { padding: .68rem .75rem; }
  .dss-list-card__title  { font-size: .92rem; }
  /* Full-width thumb on phone already handled by card system
     (.dss-list-card { grid-template-columns: 1fr }) */
}

/* ── 7. CTA banners ───────────────────────────────────────────────── */
/* Employer CTA already stacks + full-width buttons at ≤767px.
   BUG FIX: job banner button was never made full-width. */
@media (max-width: 767.98px) {
  .dss-job-banner {
    flex-direction: column;
    align-items: stretch;   /* was flex-start — makes children fill width */
    gap: .9rem;
  }
  .dss-job-banner .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .88rem 1rem;
  }
}
@media (max-width: 575.98px) {
  .dss-job-banner { padding: 1rem 1.15rem; margin-top: 1.75rem; }
  .dss-job-banner h3 { font-size: 1rem; }
  .dss-job-banner p  { font-size: .84rem; }
}

/* ── 8. Newsletter ────────────────────────────────────────────────── */
/* Already single-column at ≤ 991.98px (grid-template-columns: 1fr).
   Phone-specific padding + input sizing. */
@media (max-width: 575.98px) {
  .dss-newsletter-section__inner {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }
  .dss-newsletter-section__content h3 {
    font-size: clamp(1.05rem, 4vw, 1.25rem);
  }
  .dss-newsletter-section__content p { font-size: .86rem; }
  .dss-nl-input          { padding: .82rem .9rem; font-size: .9rem; }
  .dss-nl-btn            { padding: .88rem; font-size: .9rem; letter-spacing: 0; }
  .dss-newsletter-fields { gap: .6rem; margin-bottom: .85rem; }
}

/* ── Touch devices: disable card lift on tap ────────────────────── */
/* On coarse-pointer devices (phones/tablets), :hover fires briefly on
   tap before navigating. The translateY lift then immediately reverses —
   a visible flash. Remove the transform; keep box-shadow (less jarring). */
@media (hover: none) and (pointer: coarse) {
  .dss-card:hover,
  .dss-lead-card:hover,
  .dss-list-card--boxed:hover,
  .dss-medium-card--category:hover {
    transform: none;
  }
  /* Keep the arrow visually ready but skip the color change animation */
  .dss-card:hover .dss-card-arrow {
    background: transparent;
    border-color: var(--dss-border);
    color: var(--dss-muted);
  }
}

/* =========================================================
   Card system — shared base + 4 variants
   =========================================================

   Variants:
     1. .dss-card             Standard grid card
     2. .dss-lead-card        Featured large card
     3. .dss-list-card        Compact horizontal card (sidebar / regional)
     4. .dss-list-card--boxed Regional supporting card (boxed modifier)

   Regional lead (.dss-medium-card--category) shares the same visual
   contract but has its own overlay layout.
   ========================================================= */

/* ─── Shared base ────────────────────────────────────────────────── */
/*
   All primary card wrappers share border, radius, shadow, and
   a consistent hover: lift 3px + deepen shadow + image zoom.
   Individual variant rules below refine only what differs.
*/
.dss-card,
.dss-lead-card,
.dss-medium-card--category {
  border-radius: var(--dss-radius);
  background: var(--dss-card);
  border: 1px solid var(--dss-border);
  overflow: hidden;
  transition: box-shadow .22s ease, transform .2s ease;
}

.dss-list-card--boxed {
  border-radius: var(--dss-radius);
  background: var(--dss-card);
  border: 1px solid var(--dss-border);
  overflow: visible; /* allow thumb border-radius to show */
  transition: box-shadow .2s ease, transform .18s ease;
}

/* Unified hover lift */
.dss-card:hover,
.dss-lead-card:hover,
.dss-medium-card--category:hover {
  box-shadow: var(--dss-shadow-hover);
  transform: translateY(-3px);
}

.dss-list-card--boxed:hover {
  box-shadow: var(--dss-shadow-hover);
  transform: translateY(-2px);
}

/* Shared image zoom on card hover */
.dss-card:hover .dss-card-thumb img,
.dss-lead-card:hover .dss-lead-card__media img,
.dss-medium-card--category:hover .dss-medium-card__media img {
  transform: scale(1.05);
}

.dss-list-card--boxed:hover .dss-list-card__thumb img {
  transform: scale(1.06);
}

/* ─── VARIANT 1: Standard grid card ─────────────────────────────── */

.dss-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 3px rgba(17,20,24,.04), 0 4px 14px rgba(17,20,24,.05);
}

/* 16:9 image wrapper — consistent ratio, no layout shift */
.dss-card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dss-bg);
  flex-shrink: 0;
  text-decoration: none;
}

.dss-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .34s ease;
}

.dss-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.25rem 1.2rem;
}

.dss-category-badge {
  margin-bottom: .45rem;
}

.dss-card-title {
  font-family: var(--dss-font-heading);
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.36;
  margin: .1rem 0 .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-card-title a {
  color: var(--dss-dark);
  text-decoration: none;
}
.dss-card-title a:hover { color: var(--dss-red); }

.dss-card-excerpt {
  font-size: .875rem;
  line-height: 1.62;
  color: var(--dss-muted);
  margin: 0 0 .75rem;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer: meta + arrow — always at bottom of card body */
.dss-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid var(--dss-border);
}

/* Arrow CTA — turns red on card hover */
.dss-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--dss-border);
  background: transparent;
  color: var(--dss-muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.dss-card-arrow:hover,
.dss-card:hover .dss-card-arrow {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
}

/* ─── VARIANT 2: Featured large card ────────────────────────────── */

.dss-lead-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(17,20,24,.04), 0 4px 14px rgba(17,20,24,.05);
}

/* 16:9 image, eager-loaded (above fold / LCP) */
.dss-lead-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  text-decoration: none;
}

.dss-lead-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .36s ease;
}

.dss-lead-card__content {
  position: static;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.55rem;
}

.dss-lead-card__title {
  font-family: var(--dss-font-heading);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.26;
  margin: .3rem 0 .65rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-lead-card__title a {
  color: var(--dss-dark);
  text-decoration: none;
}
.dss-lead-card__title a:hover { color: var(--dss-red); }

.dss-lead-card__excerpt {
  font-size: .93rem;
  line-height: 1.66;
  color: var(--dss-muted);
  margin: 0 0 1rem;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer: meta on left, Read Article button on right */
.dss-lead-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: .6rem;
  border-top: 1px solid var(--dss-border);
}

.dss-lead-card__footer .dss-meta { margin-top: 0; }

.dss-lead-card__read-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--dss-red);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  padding: .6rem 1.3rem;
  border-radius: var(--dss-radius);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease;
}
.dss-lead-card__read-btn:hover { background: var(--dss-red-dark); color: #fff; }

/* ─── VARIANT 3 & 4: Compact list card + regional boxed modifier ─── */

.dss-list-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  position: relative;
  min-width: 0;
}

/* 16:9 thumbnail — consistent ratio across all list card contexts */
.dss-list-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--dss-bg);
  border-radius: 3px;
  text-decoration: none;
  flex-shrink: 0;
}

.dss-list-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .28s ease;
}

.dss-list-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .1rem 0;
}

.dss-list-card__cat {
  display: inline-block;
  color: var(--dss-red);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .04em;
  margin-bottom: .3rem;
}
.dss-list-card__cat:hover { color: var(--dss-red-dark); }

.dss-list-card__title {
  font-family: var(--dss-font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-list-card__title a {
  color: var(--dss-dark);
  text-decoration: none;
}
.dss-list-card__title a:hover { color: var(--dss-red); }

/* Optional 1-line excerpt (shown when show_excerpt arg is true) */
.dss-list-card__excerpt {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--dss-muted);
  margin: 0 0 .35rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-list-card__meta {
  margin-top: auto;
  font-size: .72rem;
  color: var(--dss-muted);
  padding-top: .25rem;
}

/* Variant 4: boxed modifier (regional right column) */
.dss-list-card--boxed {
  padding: .85rem .95rem;
  box-shadow: 0 1px 3px rgba(17,20,24,.04), 0 3px 10px rgba(17,20,24,.045);
}

/* ─── Regional lead card (.dss-medium-card--category) ───────────── */

.dss-medium-card--category {
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(17,20,24,.04), 0 4px 14px rgba(17,20,24,.05);
}

/* 2:1 aspect ratio: shorter image keeps section heights balanced */
.dss-medium-card--category .dss-medium-card__media {
  position: relative;
  inset: auto;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  flex-shrink: 0;
  text-decoration: none;
}

.dss-medium-card--category .dss-medium-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .34s ease;
}

/* No overlay gradient for category cards (unlike the full overlay variant) */
.dss-medium-card--category .dss-medium-card__media::after { content: none; }

.dss-medium-card--category .dss-medium-card__content {
  position: static;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
}

.dss-medium-card--category .dss-medium-card__title {
  font-family: var(--dss-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.32;
  margin: .45rem 0 .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-medium-card--category .dss-medium-card__title a {
  color: var(--dss-dark);
  text-decoration: none;
}
.dss-medium-card--category .dss-medium-card__title a:hover { color: var(--dss-red); }

/* Excerpt: shown in category cards where available */
.dss-medium-card__excerpt {
  font-size: .87rem;
  line-height: 1.62;
  color: var(--dss-muted);
  margin: 0 0 .55rem;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-medium-card--category .dss-meta--light,
.dss-medium-card--category .dss-medium-card__meta {
  color: var(--dss-muted);
  font-size: .75rem;
  margin-top: auto;
  padding-top: .4rem;
}

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 991.98px) {
  /* Regional lead: restore 16:9 when full-width (stacked, not side-by-side) */
  .dss-medium-card--category .dss-medium-card__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767.98px) {
  .dss-lead-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
  .dss-lead-card__read-btn { align-self: flex-start; }

  /* Shrink list card thumbnail on small tablets */
  .dss-list-card {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: .65rem;
  }
}

@media (max-width: 575.98px) {
  /* List cards go single-column on phones */
  .dss-list-card {
    grid-template-columns: 1fr;
    gap: .6rem;
  }
  .dss-list-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--dss-radius) var(--dss-radius) 0 0;
  }
  .dss-list-card--boxed {
    padding: .75rem .85rem;
  }

  /* Standard card body padding on phone */
  .dss-card-body { padding: .9rem; }
}

/* =========================================================
   CTA hierarchy — employer CTA · newsletter · job banner · ready CTA
   =========================================================
   Visual weight order (highest to lowest):
     1. dss-employer-cta  — dark gradient, large, bullets, stacked buttons
     2. dss-newsletter-section — gray bg, white form card, benefit bullets
     3. dss-job-banner — navy strip, compact, outline button
     4. dss-ready-cta — white, centered, minimal
   ========================================================= */

/* ─── 1. Employer CTA (primary, strongest) ──────────────────────── */

.dss-employer-cta {
  border-radius: var(--dss-radius);
  background: linear-gradient(135deg, #080e1c 0%, #0d1830 55%, #4a1010 100%);
  overflow: hidden;
  margin-bottom: 3rem;
}

.dss-employer-cta__inner {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 4rem 3.5rem;
}

/* Content side: grows to fill */
.dss-employer-cta__content {
  flex: 1 1 0;
  min-width: 0;
}

.dss-employer-cta__eyebrow {
  display: inline-block;
  color: rgba(233, 45, 32, .88);
  border-left: 3px solid rgba(233, 45, 32, .88);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .14rem .55rem;
  margin-bottom: .85rem;
}

.dss-employer-cta__content h3 {
  color: #fff;
  font-family: var(--dss-font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .7rem;
}

.dss-employer-cta__content > p {
  color: rgba(255, 255, 255, .72);
  font-size: .97rem;
  line-height: 1.68;
  margin: 0;
  max-width: 520px;
}

/* Value proposition bullets */
.dss-employer-cta__bullets {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.dss-employer-cta__bullets li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  line-height: 1.5;
}

.dss-employer-cta__bullets li::before {
  content: "";
  display: inline-block;
  width: .32rem;
  height: .32rem;
  border-radius: 50%;
  background: var(--dss-red);
  margin-top: .48rem;
  flex-shrink: 0;
}

/* CTA column: stacked buttons + trust indicator */
.dss-employer-cta__cta-col {
  flex: 0 0 auto;
  min-width: 230px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.dss-employer-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* Primary button: bold red, full-width in column */
.dss-ecta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-family: var(--dss-font-heading);
  font-weight: 700;
  border-radius: var(--dss-radius);
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.dss-ecta-btn--primary {
  background: var(--dss-red);
  color: #fff;
  font-size: .95rem;
  padding: 1.05rem 1.5rem;
  border: 2px solid var(--dss-red);
}
.dss-ecta-btn--primary:hover {
  background: var(--dss-red-dark);
  border-color: var(--dss-red-dark);
  color: #fff;
}

.dss-ecta-btn--secondary {
  background: transparent;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  padding: .95rem 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, .28);
}
.dss-ecta-btn--secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

/* Trust indicator */
.dss-employer-cta__trust {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .42);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
}
.dss-employer-cta__trust i {
  color: rgba(255, 255, 255, .52);
  font-size: .88rem;
  flex-shrink: 0;
}

/* Employer CTA responsive */
@media (max-width: 991.98px) {
  .dss-employer-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem 2.25rem;
  }
  .dss-employer-cta__cta-col {
    width: 100%;
    max-width: 100%;
  }
  .dss-employer-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dss-ecta-btn {
    width: auto;
    flex: 1 1 auto;
  }
}
@media (max-width: 767.98px) {
  .dss-employer-cta__inner { padding: 2rem 1.4rem; gap: 1.5rem; }
  .dss-employer-cta__actions { flex-direction: column; }
  .dss-ecta-btn { width: 100%; }
  .dss-employer-cta__content h3 { font-size: clamp(1.35rem, 5vw, 1.7rem); }
}
@media (max-width: 575.98px) {
  .dss-employer-cta__inner { padding: 1.5rem 1.1rem; }
  .dss-employer-cta__bullets li { font-size: .84rem; }
}

/* ─── 2. Newsletter (premium form, benefit bullets) ──────────────── */

.dss-newsletter-section {
  border: 1px solid var(--dss-border);
  border-top: 4px solid var(--dss-red);
  border-radius: var(--dss-radius);
  background: #eef1f7;
  box-shadow: 0 2px 20px rgba(17, 20, 24, .06);
  margin-bottom: 3rem;
}

.dss-newsletter-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 3.5rem;
  padding: 3.5rem 3.5rem;
  align-items: start;
}

.dss-nl-eyebrow {
  color: var(--dss-red) !important;
  border-color: var(--dss-red) !important;
}

.dss-newsletter-section__content h3 {
  color: var(--dss-dark);
  font-family: var(--dss-font-heading);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.22;
  margin: .6rem 0 .65rem;
}

.dss-newsletter-section__content > p {
  color: var(--dss-muted);
  font-size: .95rem;
  line-height: 1.68;
  margin: 0;
}

/* Benefit bullets */
.dss-nl-benefits {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.dss-nl-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--dss-text);
  line-height: 1.5;
}

.dss-nl-benefits li i {
  color: var(--dss-red);
  font-size: .88rem;
  flex-shrink: 0;
  margin-top: .18rem;
}

.dss-nl-benefits li span { min-width: 0; }

/* White form card */
.dss-newsletter-section__form-wrap {
  background: #fff;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  padding: 1.85rem;
  box-shadow: 0 1px 4px rgba(17, 20, 24, .05), 0 6px 18px rgba(17, 20, 24, .06);
}

/* Small heading inside the form card */
.dss-nl-form-heading {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--dss-navy);
  margin: 0 0 1.1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--dss-border);
}

.dss-newsletter-fields {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: .95rem;
}

/* Inputs */
.dss-nl-input {
  width: 100%;
  border: 1px solid #cdd2dc;
  border-radius: var(--dss-radius);
  padding: .88rem 1rem;
  font: inherit;
  font-size: .93rem;
  color: var(--dss-dark);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dss-nl-input:focus {
  border-color: var(--dss-red);
  box-shadow: 0 0 0 3px rgba(233, 45, 32, .1);
}
.dss-nl-input::placeholder { color: #a4adb6; }

/* Subscribe button */
.dss-nl-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .95rem 1.25rem;
}

/* Disclaimer below button */
.dss-nl-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .74rem;
  color: var(--dss-muted);
  margin: .7rem 0 0;
  text-align: center;
}
.dss-nl-disclaimer i { font-size: .78rem; flex-shrink: 0; }

/* Newsletter responsive */
@media (max-width: 991.98px) {
  .dss-newsletter-section__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 2.25rem;
  }
}
@media (max-width: 767.98px) {
  .dss-newsletter-section__inner { padding: 2rem 1.4rem; }
  .dss-newsletter-section__form-wrap { padding: 1.35rem; }
}
@media (max-width: 575.98px) {
  .dss-newsletter-section__inner { padding: 1.5rem 1rem; gap: 1.5rem; }
  .dss-newsletter-section__content h3 { font-size: 1.15rem; }
  .dss-newsletter-section__form-wrap { padding: 1.1rem; }
  .dss-nl-benefits li { font-size: .84rem; }
  .dss-nl-input  { padding: .82rem .9rem; }
  .dss-nl-btn    { padding: .88rem 1rem; }
}

/* ─── 3. Job banner (secondary — navy strip, outline button) ─────── */

.dss-job-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: nowrap;
  background: var(--dss-navy);
  border-radius: var(--dss-radius);
  padding: 1.35rem 1.75rem;
  margin-top: 2.5rem;
  color: #fff;
}

.dss-job-banner__content { min-width: 0; flex: 1 1 auto; }

.dss-job-banner__eyebrow {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .45);
  margin: 0 0 .28rem;
}

.dss-job-banner__content h3,
.dss-job-banner h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .25rem;
}

.dss-job-banner__text {
  color: rgba(255, 255, 255, .58);
  font-size: .85rem;
  margin: 0;
  line-height: 1.45;
}

.dss-job-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, .32);
  border-radius: var(--dss-radius);
  background: transparent;
  color: rgba(255, 255, 255, .88);
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  padding: .75rem 1.4rem;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.dss-job-banner__btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

/* Job banner responsive */
@media (max-width: 767.98px) {
  .dss-job-banner {
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
    padding: 1.25rem 1.35rem;
    margin-top: 1.75rem;
  }
  .dss-job-banner__btn {
    width: 100%;
    justify-content: center;
    padding: .88rem 1rem;
  }
}
@media (max-width: 575.98px) {
  .dss-job-banner { padding: 1.1rem 1.1rem; }
  .dss-job-banner__content h3,
  .dss-job-banner h3 { font-size: .97rem; }
}

/* ─── 4. Ready CTA (minimal — white, centered) ───────────────────── */

.dss-ready-cta {
  text-align: center;
  padding: 2.75rem 1.5rem 1.5rem;
  margin-bottom: .5rem;
}

.dss-ready-cta__heading {
  font-family: var(--dss-font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--dss-dark);
  margin: 0 0 .55rem;
}

.dss-ready-cta__text {
  color: var(--dss-muted);
  font-size: .93rem;
  line-height: 1.65;
  max-width: 440px;
  margin: 0 auto .95rem;
}

.dss-ready-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: transparent;
  color: var(--dss-navy);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  padding: .75rem 1.75rem;
  border: 2px solid var(--dss-navy);
  border-radius: var(--dss-radius);
  transition: background .15s ease, color .15s ease;
}
.dss-ready-cta__btn:hover {
  background: var(--dss-navy);
  color: #fff;
}

/* ================================================================
   Single Post v2 — 3-column frame layout
================================================================ */

/* Outer row: share-rail | (article + toc) */
.dss-single-frame {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

/* Left share rail — 48px fixed, desktop only */
.dss-share-rail {
  flex: 0 0 48px;
  width: 48px;
}

/* Middle+right wrapper: article col | toc col */
.dss-single-layout {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Article column: fills remaining space */
.dss-article-col {
  flex: 1 1 0%;
  min-width: 0;
}

/* TOC column: 260px, desktop only */
.dss-toc-col {
  flex: 0 0 260px;
  width: 260px;
}

/* Hide share rail and TOC column below xl (1200px) */
@media (max-width: 1199.98px) {
  .dss-share-rail {
    display: none;
  }
  .dss-toc-col {
    display: none;
  }
}

/* ================================================================
   Single Post v2 — TOC, inline share, employer CTA, post-nav, FAQ
================================================================ */

/* ── Inline share (mobile header, near title) ── */
.dss-inline-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--dss-border);
}

.dss-inline-share__label {
  color: var(--dss-muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-right: .15rem;
}

.dss-inline-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--dss-border);
  border-radius: 50%;
  background: #fff;
  color: var(--dss-navy);
  font-size: .95rem;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}

.dss-inline-share__btn:hover {
  background: var(--dss-red);
  border-color: var(--dss-red);
  color: #fff;
}

/* ── Table of contents sidebar ── */
.dss-toc-col {
  min-width: 260px;
}

.dss-toc {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--dss-border);
  border-top: 3px solid var(--dss-red);
  border-radius: var(--dss-radius);
  box-shadow: 0 2px 12px rgba(16,28,53,.07);
  scrollbar-width: thin;
  scrollbar-color: var(--dss-border) transparent;
}

body.admin-bar .dss-toc {
  top: 142px;
}

.dss-toc-heading {
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dss-red);
  margin: 0;
  padding: .85rem 1rem .65rem;
  border-bottom: 1px solid var(--dss-border);
  background: #fff;
}

.dss-toc-list {
  list-style: none;
  padding: .35rem 0;
  margin: 0;
}

.dss-toc-list li {
  border-bottom: 1px solid #f0f2f5;
}

.dss-toc-list li:last-child {
  border-bottom: none;
}

.dss-toc-link {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dss-text);
  text-decoration: none;
  padding: .52rem 1rem;
  line-height: 1.4;
  transition: background .12s, color .12s, padding-left .12s;
}

.dss-toc-link:hover {
  color: var(--dss-red);
  background: #fdf2f2;
}

.dss-toc-link.is-active {
  color: var(--dss-red);
  font-weight: 700;
  background: #fdf2f2;
  border-left: 3px solid var(--dss-red);
  padding-left: calc(1rem - 3px);
}

/* ── Employer recruitment CTA ── */
.dss-employer-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
  max-width: 780px;
  margin: 2.15rem 0;
  padding: 1.65rem 1.8rem;
  background: linear-gradient(135deg, #111418 0%, #101c35 70%, #45110f 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-left: 4px solid var(--dss-red);
  border-radius: var(--dss-radius);
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 28, 53, .16);
}

.dss-employer-cta__text {
  flex: 1 1 240px;
  min-width: 0;
}

.dss-employer-cta__text h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .45rem;
}

.dss-employer-cta__text p {
  color: rgba(255, 255, 255, .72);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

.dss-employer-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 0 0 auto;
}

.dss-cta-btn-primary {
  display: inline-block;
  background: var(--dss-red);
  border: 2px solid var(--dss-red);
  color: #fff !important;
  font-size: .86rem;
  font-weight: 800;
  min-width: 188px;
  padding: .55rem 1.15rem;
  border-radius: var(--dss-radius);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}

.dss-cta-btn-primary:hover {
  background: var(--dss-red-dark);
  border-color: var(--dss-red-dark);
  transform: translateY(-1px);
}

.dss-cta-btn-outline {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .4);
  color: #fff !important;
  font-size: .86rem;
  font-weight: 800;
  min-width: 188px;
  padding: .55rem 1.15rem;
  border-radius: var(--dss-radius);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}

.dss-cta-btn-outline:hover {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

/* ── DSS brand avatar (company box) ── */
.dss-brand-avatar {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 66px;
  padding: .55rem;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  background: #fff !important;
}

.dss-brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Author / company box learn-more link ── */
.dss-author-link {
  display: inline-block;
  margin-top: .55rem;
  color: var(--dss-red);
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
}

.dss-author-link:hover {
  color: var(--dss-red-dark);
  text-decoration: underline;
}

/* ── Previous / Next article navigation ── */
.dss-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: 780px;
  margin: 1.85rem 0;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  overflow: hidden;
  background: var(--dss-border);
  box-shadow: var(--dss-shadow);
}

.dss-post-nav__item {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  padding: .95rem 1rem;
  background: #fff;
  min-width: 0;
}

.dss-post-nav__item--next {
  text-align: right;
  align-items: flex-end;
}

.dss-post-nav__item--empty {
  background: var(--dss-soft);
  pointer-events: none;
}

.dss-post-nav__label {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dss-muted);
}

.dss-post-nav__item--next .dss-post-nav__label {
  flex-direction: row-reverse;
}

.dss-post-nav__title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--dss-dark);
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-post-nav__title:hover {
  color: var(--dss-red);
}

/* ── FAQ section ── */
.dss-faq {
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid var(--dss-border);
  background: #fff;
}

.dss-faq-heading {
  font-family: var(--dss-font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dss-dark);
  max-width: 780px;
  margin-bottom: 1.25rem;
}

.dss-faq-list {
  max-width: 780px;
}

.dss-faq-item {
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  margin-bottom: .55rem;
  overflow: hidden;
  background: #fff;
}

.dss-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1.05rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dss-dark);
  background: var(--dss-soft);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.dss-faq-question::-webkit-details-marker { display: none; }

.dss-faq-item[open] > .dss-faq-question {
  background: #fff;
  color: var(--dss-navy);
  border-bottom: 1px solid var(--dss-border);
}

.dss-faq-icon {
  flex-shrink: 0;
  transition: transform .2s ease;
  color: var(--dss-muted);
}

.dss-faq-item[open] > .dss-faq-question .dss-faq-icon {
  transform: rotate(180deg);
  color: var(--dss-red);
}

.dss-faq-answer {
  padding: .9rem 1.05rem;
  font-size: .93rem;
  line-height: 1.72;
  color: var(--dss-text);
  background: #fff;
}

.dss-faq-answer p { margin-bottom: .65rem; }
.dss-faq-answer p:last-child { margin-bottom: 0; }

/* ── Related posts: consistent card heights ── */
.dss-related .dss-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dss-related .dss-card-thumb {
  aspect-ratio: 16 / 9;
}

.dss-related .dss-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.dss-related .dss-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-related .dss-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: auto;
}

/* ── Single v2 responsive ── */
@media (max-width: 1199.98px) {
  .dss-article,
  .dss-page-article,
  .dss-post-content,
  .dss-tags,
  .dss-employer-cta,
  .dss-author-box,
  .dss-post-nav {
    max-width: 100%;
  }

  .dss-employer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .dss-employer-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .dss-single-hero,
  .dss-single-header {
    padding: 1.1rem;
    margin-bottom: 1rem;
  }

  .dss-single-hero h1,
  .dss-single-header h1 {
    font-size: 1.34rem;
    line-height: 1.24;
  }

  .dss-single-meta {
    gap: .3rem .5rem;
    font-size: .8rem;
  }

  .dss-single-thumb {
    margin-bottom: 1.35rem;
  }

  .dss-post-content {
    font-size: 1rem;
    line-height: 1.78;
  }

  .dss-post-content h2 {
    font-size: 1.28rem;
  }

  .dss-post-content h3 {
    font-size: 1.12rem;
  }

  .dss-author-box {
    flex-direction: column;
  }

  .dss-brand-avatar {
    width: 132px;
    height: 62px;
  }

  .dss-post-nav {
    grid-template-columns: 1fr;
  }

  .dss-post-nav__item--next {
    text-align: left;
    align-items: flex-start;
  }

  .dss-post-nav__item--next .dss-post-nav__label {
    flex-direction: row;
  }

  .dss-employer-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .dss-cta-btn-primary,
  .dss-cta-btn-outline {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  .dss-employer-cta {
    padding: 1.25rem;
  }

  .dss-inline-share,
  .dss-mobile-share {
    gap: .35rem;
  }

  .dss-post-nav__item {
    padding: .8rem .9rem;
  }
}

/* ================================================================
   Single Post Width Refinement
   Wider editorial shell, readable body measure, stable TOC/share rail
================================================================ */
.dss-single-main .dss-single-shell > .container {
  max-width: 1240px;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

.dss-single-layout {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.dss-article-col,
.dss-article {
  width: 100%;
  max-width: 980px;
  min-width: 0;
}

.dss-single-hero,
.dss-single-header,
.dss-single-thumb {
  width: 100%;
  max-width: 100%;
}

.dss-single-hero,
.dss-single-header {
  padding: 1.75rem 1.9rem;
  margin-bottom: 1.35rem;
}

.dss-single-hero h1,
.dss-single-header h1 {
  max-width: 860px;
  font-size: clamp(1.75rem, 2.35vw, 2.35rem);
  line-height: 1.16;
}

.dss-single-thumb {
  margin-bottom: 1.95rem;
}

.dss-post-content {
  max-width: 800px;
  font-size: 1.0625rem;
  line-height: 1.82;
}

.dss-post-content p {
  margin-bottom: 1.42rem;
}

.dss-post-content h2,
.dss-post-content h3,
.dss-post-content h4 {
  font-weight: 800;
  margin-top: 2.65rem;
  margin-bottom: .95rem;
}

.dss-post-content h2 {
  font-size: 1.58rem;
}

.dss-post-content h3 {
  font-size: 1.3rem;
}

.dss-tags,
.dss-mobile-share,
.dss-employer-cta,
.dss-author-box,
.dss-post-nav {
  max-width: 860px;
}

.dss-employer-cta,
.dss-author-box,
.dss-post-nav {
  width: 100%;
}

.dss-share-rail {
  width: 44px;
  padding-right: 0;
}

.dss-toc-col {
  width: 260px;
  min-width: 240px;
  max-width: 280px;
}

.dss-toc {
  top: 112px;
}

.dss-related > .container {
  max-width: 1180px;
  padding-left: 22px;
  padding-right: 22px;
}

.dss-related .row {
  align-items: stretch;
}

.dss-related .row > [class*="col-"] {
  display: flex;
}

.dss-related .dss-card {
  width: 100%;
}

@media (min-width: 1200px) {
  .dss-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 860px) 48px minmax(240px, 260px);
    align-items: start;
    max-width: 1168px;
  }

  .dss-article-col {
    grid-column: 1;
    max-width: 860px;
    margin: 0;
  }

  .dss-toc-col {
    grid-column: 3;
  }

  .dss-share-rail {
    display: none !important;
  }

  .dss-single-layout--no-toc {
    grid-template-columns: minmax(0, 980px);
    justify-content: center;
    max-width: 980px;
  }

  .dss-single-layout--no-toc .dss-article-col {
    grid-column: 1;
    max-width: 980px;
    margin: 0 auto;
  }
}

@media (min-width: 1320px) {
  .dss-single-layout--has-toc {
    grid-template-columns: 44px 28px minmax(0, 860px) 48px minmax(240px, 260px);
    max-width: 1240px;
  }

  .dss-single-layout--has-toc .dss-share-rail {
    display: block !important;
    grid-column: 1;
  }

  .dss-single-layout--has-toc .dss-article-col {
    grid-column: 3;
  }

  .dss-single-layout--has-toc .dss-toc-col {
    grid-column: 5;
  }

  .dss-single-layout--no-toc {
    position: relative;
  }

  .dss-single-layout--no-toc .dss-share-rail {
    display: block !important;
    position: absolute;
    top: 0;
    left: -72px;
  }
}

@media (max-width: 1199.98px) {
  .dss-single-layout,
  .dss-article-col,
  .dss-article {
    max-width: 100%;
  }

  .dss-toc-col,
  .dss-share-rail {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .dss-single-main .dss-single-shell > .container,
  .dss-related > .container {
    max-width: none;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .dss-single-hero,
  .dss-single-header {
    padding: 1.18rem 1.08rem;
  }

  .dss-single-hero h1,
  .dss-single-header h1 {
    max-width: 100%;
    font-size: 1.42rem;
    line-height: 1.24;
  }

  .dss-single-thumb {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.45rem;
  }

  .dss-post-content {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.78;
  }

  .dss-post-content p {
    margin-bottom: 1.22rem;
  }

  .dss-post-content h2 {
    font-size: 1.32rem;
  }

  .dss-post-content h3 {
    font-size: 1.16rem;
  }

  .dss-tags,
  .dss-mobile-share,
  .dss-employer-cta,
  .dss-author-box,
  .dss-post-nav {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .dss-single-main .dss-single-shell > .container,
  .dss-related > .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* ================================================================
   Single Post Target Layout
   Final width rules for the WordPress article detail template.
================================================================ */
.dss-single-main .dss-single-shell {
  box-sizing: content-box;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.dss-single-main .dss-single-shell > .container {
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.dss-single-frame {
  position: relative;
  width: 100%;
  max-width: 1208px;
  margin-left: auto;
  margin-right: auto;
}

.dss-single-frame--no-toc {
  max-width: 980px;
}

.dss-single-layout {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.dss-single-layout--no-toc {
  display: block;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.dss-single-layout--has-toc .dss-article-col,
.dss-single-layout--has-toc .dss-toc-col,
.dss-single-layout--no-toc .dss-article-col {
  grid-column: auto;
}

.dss-article-col {
  min-width: 0;
  max-width: 900px;
}

.dss-article {
  max-width: none;
}

.dss-single-hero,
.dss-single-thumb,
.dss-employer-cta,
.dss-author-box,
.dss-post-nav {
  width: 100%;
  max-width: none;
}

.dss-single-hero,
.dss-single-header {
  padding: 1.75rem 1.9rem;
  margin-bottom: 1.35rem;
}

.dss-single-hero h1,
.dss-single-header h1 {
  max-width: 860px;
}

.dss-single-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.dss-single-thumb {
  border-radius: 8px;
}

.dss-single-thumb .dss-single-img {
  height: 100%;
  object-fit: cover;
}

.dss-post-content {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.8;
}

.dss-post-content p {
  margin-bottom: 22px;
}

.dss-post-content h2 {
  margin-top: 42px;
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.25;
}

.dss-post-content h3 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.3;
}

.dss-toc-col {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  display: none;
  position: sticky;
  top: 110px;
  align-self: start;
}

.dss-toc {
  position: static;
  top: auto;
}

.dss-share-rail {
  width: 44px;
  padding-right: 0;
}

.dss-single-main .dss-related {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.dss-single-main .dss-related > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1180px) {
  .dss-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 900px) 260px;
    gap: 48px;
    align-items: start;
  }

  .dss-toc-col {
    display: block;
  }
}

@media (min-width: 1440px) {
  .dss-single-main .dss-share-rail {
    display: block !important;
    position: absolute;
    top: 0;
    left: -76px;
    z-index: 2;
  }
}

@media (max-width: 1439.98px) {
  .dss-single-main .dss-share-rail {
    display: none !important;
  }
}

@media (max-width: 1179.98px) {
  .dss-single-main .dss-single-shell {
    max-width: 900px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .dss-single-frame,
  .dss-single-frame--no-toc {
    max-width: 100%;
  }

  .dss-single-layout {
    display: block;
  }

  .dss-toc-col {
    display: none !important;
  }

  .dss-article-col,
  .dss-post-content {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .dss-single-main .dss-single-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dss-single-hero,
  .dss-single-header {
    padding: 1.18rem 1.08rem;
  }

  .dss-post-content {
    font-size: 16px;
    line-height: 1.75;
  }
}

/* ═══════════════════════════════════════════════════════════════
   STICKY HEADER
═══════════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  transition: box-shadow .25s;
}

.header.dss-nav-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.13);
}

body.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE POST v3 — 2-column layout + right sidebar
   Classes prefixed dss-sp-* to avoid conflicts with older rules
═══════════════════════════════════════════════════════════════ */

/* ── Layout grid ── */
.dss-sp-grid {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.dss-sp-main {
  flex: 1 1 0%;
  min-width: 0;
}

.dss-sp-sidebar {
  flex: 0 0 300px;
  width: 300px;
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── H2 headings with red left border inside post content ── */
.dss-sp-main .dss-post-content h2 {
  border-left: 3px solid var(--dss-red);
  padding-left: 12px;
}

/* ── Horizontal share bar ── */
.dss-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 1rem 0 0;
}

.dss-share-bar__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--dss-muted);
  margin-right: 4px;
}

.dss-share-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}

.dss-share-bar__btn:hover { opacity: .85; text-decoration: none; }

.dss-share-bar__btn--fb  { background: #1877F2; color: #fff; }
.dss-share-bar__btn--x   { background: #000;    color: #fff; }
.dss-share-bar__btn--li  { background: #0A66C2; color: #fff; }
.dss-share-bar__btn--wa  { background: #25D366; color: #fff; }
.dss-share-bar__btn--copy {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}
.dss-share-bar__btn--copy:hover { background: #e5e7eb; }

/* ── Widget base card ── */
.dss-widget {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
  border: 1px solid #e5e7eb;
}

/* Widget header bar (red) — reusable across all widgets */
.widget-head {
  background: var(--dss-red);
  color: #fff;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── CTA Widget ── */
.dss-w-cta {
  background: var(--dss-red);
  border-color: var(--dss-red);
  padding: 24px 20px 22px;
  text-align: center;
}

.dss-w-cta h3 {
  font-family: var(--dss-font-heading, 'Playfair Display', serif);
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.dss-w-cta p {
  font-size: .85rem;
  color: rgba(255,255,255,.88);
  margin: 0 0 18px;
  line-height: 1.55;
}

.dss-w-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  color: var(--dss-red);
  font-size: .82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.dss-w-cta__btn:hover {
  background: #1a1a2e;
  color: #fff;
  text-decoration: none;
}

/* ── Newsletter Widget ── */
.dss-w-newsletter {
  background: #1a1a2e;
  border-color: #1a1a2e;
  padding: 22px 20px 20px;
}

.dss-w-newsletter h3 {
  font-family: var(--dss-font-heading, 'Playfair Display', serif);
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 8px;
}

.dss-w-newsletter p {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin: 0 0 14px;
  line-height: 1.5;
}

.dss-w-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dss-w-newsletter__input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .83rem;
  outline: none;
  transition: border-color .15s;
}

.dss-w-newsletter__input::placeholder { color: rgba(255,255,255,.45); }
.dss-w-newsletter__input:focus { border-color: var(--dss-red); }

.dss-w-newsletter__btn {
  width: 100%;
  padding: 10px;
  background: var(--dss-red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: .83rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}

.dss-w-newsletter__btn:hover { background: var(--dss-red-dark); }

/* ── Related Articles Widget ── */
.dss-w-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dss-w-related__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.dss-w-related__item:last-child { border-bottom: none; }

.dss-w-related__thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 48px;
  overflow: hidden;
  border-radius: 3px;
  background: #f3f4f6;
  display: block;
}

.dss-w-related__thumb img {
  width: 60px;
  height: 48px;
  object-fit: cover;
  display: block;
}

.dss-img-placeholder {
  display: block;
  width: 60px;
  height: 48px;
  background: #e5e7eb;
}

.dss-w-related__body {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dss-w-related__title {
  font-size: .82rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dss-w-related__title:hover { color: var(--dss-red); text-decoration: none; }

.dss-w-related__date {
  font-size: .72rem;
  color: #9ca3af;
}

.dss-w-related__date i { font-size: .68rem; }

/* ── Categories Widget ── */
.dss-w-cats__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dss-w-cats__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.dss-w-cats__item:last-child { border-bottom: none; }

.dss-w-cats__item a {
  font-size: .83rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}

.dss-w-cats__item a:hover { color: var(--dss-red); text-decoration: none; }

.dss-w-cats__count {
  background: #f3f4f6;
  color: #6b7280;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

/* ── Popular Tags Widget ── */
.dss-w-tags__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px;
}

.dss-w-tags__tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f3f4f6;
  color: #374151;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: background .15s, color .15s, border-color .15s;
}

.dss-w-tags__tag:hover {
  background: var(--dss-red);
  color: #fff;
  border-color: var(--dss-red);
  text-decoration: none;
}

/* ── Author box v3 (initials) ── */
.dss-author-box-v3 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--dss-red);
  border-radius: 6px;
  margin-top: 2.5rem;
}

.dss-author-initials {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  background: var(--dss-red);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  user-select: none;
}

.dss-author-info { flex: 1 1 0%; min-width: 0; }

.dss-author-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #9ca3af;
  margin: 0 0 3px;
}

.dss-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 2px;
  border: none !important;
  padding: 0 !important;
}

.dss-author-name a { color: inherit; text-decoration: none; }
.dss-author-name a:hover { color: var(--dss-red); }

.dss-author-role {
  font-size: .78rem;
  color: #6b7280;
  margin: 0 0 8px;
}

.dss-author-bio {
  font-size: .84rem;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* ── Prev/next navigation ── */
.dss-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--dss-border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 2rem;
  background: var(--dss-border);
}

.dss-post-nav__item {
  background: #fff;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 80px;
}

.dss-post-nav__item--empty { background: #fafafa; }

.dss-post-nav__item--next {
  text-align: right;
  align-items: flex-end;
}

.dss-post-nav__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--dss-red);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dss-post-nav__title {
  font-size: .88rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  line-height: 1.4;
}

.dss-post-nav__title:hover { color: var(--dss-red); text-decoration: none; }

/* ── Employer CTA v3 ── */
.dss-employer-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 1.8rem;
  background: linear-gradient(135deg, #111418 0%, #1a1a2e 60%, #45110f 100%);
  border-left: 4px solid var(--dss-red);
  border-radius: 6px;
  margin: 2.5rem 0;
}

.dss-employer-cta__text { flex: 1 1 260px; }

.dss-employer-cta__text h3 {
  font-family: var(--dss-font-heading, 'Playfair Display', serif);
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 .55rem;
  border: none !important;
  padding: 0 !important;
}

.dss-employer-cta__text p {
  font-size: .875rem;
  color: rgba(255,255,255,.78);
  margin: 0;
  line-height: 1.6;
}

.dss-employer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.dss-cta-btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: var(--dss-red);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}

.dss-cta-btn-primary:hover { background: var(--dss-red-dark); color: #fff; text-decoration: none; }

.dss-cta-btn-outline {
  display: inline-block;
  padding: 9px 18px;
  background: transparent;
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.35);
  font-size: .82rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}

.dss-cta-btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
}

/* ── Meta row override for single post ── */
.dss-single-meta {
  flex-wrap: wrap;
  margin: .65rem 0 0;
}

.dss-single-meta a {
  color: inherit;
  text-decoration: none;
}

.dss-single-meta a:hover { color: var(--dss-red); }

/* ── Single post hero header (v3 resets) ── */
.dss-single-hero {
  margin-bottom: 1.5rem;
  padding: 0;
  border-top: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dss-single-hero h1 {
  font-family: var(--dss-font-heading, 'Playfair Display', serif);
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  color: var(--dss-dark, #111418);
  margin: .5rem 0 .75rem;
  max-width: none;
}

.dss-single-thumb {
  margin: 0 0 1.75rem;
  border-radius: 6px;
  overflow: hidden;
}

.dss-single-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ── Single article override ── */
.dss-article {
  margin-bottom: 0;
}

/* ── Responsive: collapse sidebar on tablet and below ── */
@media (max-width: 1024px) {
  .dss-sp-sidebar {
    display: none;
  }

  .dss-sp-grid {
    display: block;
  }
}

@media (max-width: 767px) {
  .dss-post-nav {
    grid-template-columns: 1fr;
  }

  .dss-post-nav__item--next {
    text-align: left;
    align-items: flex-start;
  }

  .dss-author-box-v3 {
    flex-direction: column;
    align-items: flex-start;
  }

  .dss-employer-cta {
    flex-direction: column;
    gap: 1.1rem;
  }

  .dss-share-bar__btn span {
    display: none;
  }

  .dss-share-bar__btn {
    padding: 7px 9px;
  }
}
.dss-w-cta--inline {
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE POST v5 — clean image banner + title block below
═══════════════════════════════════════════════════════════════ */
.dss-sp-banner {
  position: relative;
  margin: 0 0 0;
  border-radius: 8px;
  overflow: hidden;
  height: 360px;
}

.dss-sp-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle depth gradient at the bottom edge only — no text on it */
.dss-sp-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(10,14,24,0) 0%, rgba(10,14,24,.35) 100%);
  pointer-events: none;
}

/* ── Title block below the banner ── */
.dss-sp-titleblock {
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 1.75rem;
}

.dss-sp-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: .78rem;
  color: var(--dss-muted);
  margin-bottom: .85rem;
}

.dss-sp-crumbs a {
  color: var(--dss-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
}

.dss-sp-crumbs a:hover { color: var(--dss-red); }

.dss-sp-crumbs__sep { color: #c4c9d0; }

.dss-sp-crumbs__current {
  color: var(--dss-red);
  font-weight: 600;
}

.dss-sp-titleblock__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: .8rem;
}

.dss-sp-titleblock__cat {
  display: inline-block;
  background: var(--dss-red);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s;
}

.dss-sp-titleblock__cat:hover {
  background: var(--dss-red-dark);
  color: #fff;
  text-decoration: none;
}

.dss-sp-titleblock__title {
  font-family: var(--dss-font-heading, 'Playfair Display', serif);
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--dss-dark, #111418);
  margin: 0 0 .9rem;
}

.dss-sp-titleblock__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: .83rem;
  color: var(--dss-muted);
}

.dss-sp-titleblock__meta i {
  color: var(--dss-red);
  margin-right: 5px;
}

.dss-sp-titleblock__meta a {
  color: var(--dss-muted);
  text-decoration: none;
}

.dss-sp-titleblock__meta a:hover { color: var(--dss-red); }

/* ── Category nav on single: hidden until scrolled past title block ── */
.dss-single-main .dss-cat-nav {
  position: fixed;
  top: var(--cat-nav-top, 0px);
  left: 0;
  right: 0;
  margin-bottom: 0;
  transform: translateY(-110%);
  transition: transform .3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  z-index: 1040; /* below .header (1050) */
}

.dss-single-main .dss-cat-nav.visible {
  transform: translateY(0);
}

/* Active category pill style inside the floating nav */
.dss-single-main .dss-cat-nav .nav-item .nav-link.active {
  background: var(--dss-red) !important;
  color: #fff !important;
  border-bottom: none !important;
  border-radius: 999px;
  margin: 8px 4px;
  padding: .45rem 1.1rem;
}

/* ── Reading progress bar ── */
.dss-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 2000;
  pointer-events: none;
}

.dss-read-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--dss-red);
  transition: width .1s linear;
}

/* ── Back to top button ── */
.dss-back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--dss-red);
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(233,45,32,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, visibility .2s, transform .2s, background .15s;
  z-index: 1500;
}

.dss-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dss-back-top:hover { background: var(--dss-red-dark); }

/* ── Banner responsive ── */
@media (max-width: 991px) {
  .dss-sp-banner {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .dss-sp-banner {
    height: 200px;
    border-radius: 6px;
  }

  .dss-sp-titleblock {
    padding: 18px 0;
  }

  .dss-back-top {
    right: 14px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
}
/* ── end single post v5 ── */

/* ═══════════════════════════════════════════════════════════════
   ENQUIRY POPUP (Popup Maker #2571) — compact override
   Overrides the Customizer "Additional CSS" block: this file
   loads later in header.php, so equal-specificity !important
   rules here win. Goal: full form visible without scrolling.
═══════════════════════════════════════════════════════════════ */
/* Overlay — matches Laravel modal */
#pum-2571.pum-overlay {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

/* Card — frosted white, rounded, soft shadow (Laravel modal-box) */
#pum-2571 #popmake-2571 {
  max-width: 520px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: none !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
}

#pum-2571 .pum-content {
  padding: 35px 30px 30px !important;
}

/* Header — red centered title (Laravel modal-box h2) */
#pum-2571 .dss-popup-header h2,
#pum-2571 .popup-contact-info h2 {
  color: #b71c1c !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  margin: 0 36px 0 !important;
}

#pum-2571 .dss-popup-header {
  margin-bottom: 1.5rem !important;
}

/* Single column — Laravel form-field spacing */
#pum-2571 .dss-popup-form form,
#pum-2571 .popup-form form {
  gap: 16px !important;
}

/* Inputs — Laravel modal style: 1px border, soft red focus ring */
#pum-2571 input[type="text"],
#pum-2571 input[type="email"],
#pum-2571 input[type="tel"],
#pum-2571 select {
  height: 48px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

#pum-2571 textarea {
  min-height: 90px !important;
  max-height: 140px !important;
  height: 90px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

#pum-2571 input::placeholder,
#pum-2571 textarea::placeholder {
  color: #888888 !important;
}

#pum-2571 input[type="text"]:focus,
#pum-2571 input[type="email"]:focus,
#pum-2571 input[type="tel"]:focus,
#pum-2571 select:focus,
#pum-2571 textarea:focus {
  border-color: #c42728 !important;
  box-shadow: 0 0 0 2px rgba(196, 39, 40, 0.2) !important;
}

/* Phone field — original widths, matching height */
#pum-2571 .intl-tel-input input[type="tel"],
#pum-2571 input[name="your-phone-cf7it-national"] {
  height: 48px !important;
  border-radius: 10px !important;
}

#pum-2571 .intl-tel-input .flag-container,
#pum-2571 .intl-tel-input .selected-flag {
  height: 48px !important;
}

#pum-2571 .intl-tel-input .selected-flag {
  border-radius: 10px 0 0 10px !important;
}

/* reCAPTCHA — natural size on desktop (Laravel design) */
#pum-2571 .g-recaptcha {
  transform: none !important;
  margin: 4px 0 !important;
}

#pum-2571 .dss-form-field.dss-recaptcha-field {
  height: auto !important;
  overflow: visible !important;
}

/* Submit — red gradient pill (Laravel submit-btn) */
#pum-2571 input[type="submit"],
#pum-2571 .wpcf7-submit,
#pum-2571 .dss-submit-btn {
  height: 48px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, #c42728, #b12526) !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

#pum-2571 input[type="submit"]:hover,
#pum-2571 .wpcf7-submit:hover,
#pum-2571 .dss-submit-btn:hover {
  background: linear-gradient(135deg, #b12526, #9b1e1e) !important;
  transform: translateY(-1px) !important;
}

/* Close button — red gradient circle (Laravel close-btn) */
#pum-2571 .pum-close,
#pum-2571 .popmake-close {
  width: 34px !important;
  height: 34px !important;
  top: 15px !important;
  right: 15px !important;
  background: linear-gradient(135deg, #c42728, #b12526) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

#pum-2571 .pum-close::before,
#pum-2571 .popmake-close::before {
  font-size: 20px !important;
  line-height: 34px !important;
}

#pum-2571 .pum-close:hover,
#pum-2571 .popmake-close:hover {
  background: linear-gradient(135deg, #a91b1b, #7f1313) !important;
  transform: rotate(90deg) !important;
}

/* Short screens — compress so the full form stays visible */
@media (max-height: 740px) {
  #pum-2571 .pum-content { padding: 22px 24px 20px !important; }
  #pum-2571 .dss-popup-header h2 { font-size: 1.2rem !important; }
  #pum-2571 .dss-popup-header { margin-bottom: 1rem !important; }
  #pum-2571 .dss-popup-form form { gap: 10px !important; }
  #pum-2571 input[type="text"],
  #pum-2571 input[type="email"],
  #pum-2571 input[type="tel"],
  #pum-2571 select,
  #pum-2571 .intl-tel-input input[type="tel"],
  #pum-2571 input[name="your-phone-cf7it-national"] { height: 42px !important; }
  #pum-2571 .intl-tel-input .flag-container,
  #pum-2571 .intl-tel-input .selected-flag { height: 42px !important; }
  #pum-2571 textarea { min-height: 56px !important; height: 56px !important; }
  #pum-2571 .g-recaptcha {
    transform: scale(0.85) !important;
    transform-origin: left top !important;
    margin: 0 !important;
  }
  #pum-2571 .dss-form-field.dss-recaptcha-field {
    height: 68px !important;
    overflow: hidden !important;
  }
  #pum-2571 input[type="submit"],
  #pum-2571 .wpcf7-submit,
  #pum-2571 .dss-submit-btn { height: 44px !important; }
}

/* Mobile — larger touch targets */
@media (max-width: 600px) {
  #pum-2571 #popmake-2571 {
    border-radius: 16px !important;
  }

  #pum-2571 .pum-content {
    padding: 25px 20px 20px !important;
  }

  #pum-2571 .dss-popup-header h2,
  #pum-2571 .popup-contact-info h2 {
    font-size: 1.2rem !important;
    margin: 0 36px 0 !important;
  }

  #pum-2571 .dss-popup-header {
    margin-bottom: 1rem !important;
  }

  /* 16px font prevents iOS zoom-on-focus */
  #pum-2571 input[type="text"],
  #pum-2571 input[type="email"],
  #pum-2571 input[type="tel"],
  #pum-2571 select,
  #pum-2571 .intl-tel-input input[type="tel"],
  #pum-2571 input[name="your-phone-cf7it-national"] {
    height: 46px !important;
    font-size: 16px !important;
  }

  #pum-2571 .intl-tel-input .flag-container,
  #pum-2571 .intl-tel-input .selected-flag {
    height: 46px !important;
  }

  #pum-2571 textarea {
    min-height: 64px !important;
    font-size: 16px !important;
  }

  #pum-2571 input[type="submit"],
  #pum-2571 .wpcf7-submit,
  #pum-2571 .dss-submit-btn {
    height: 48px !important;
    font-size: 15px !important;
  }

  #pum-2571 .g-recaptcha {
    transform: scale(0.84) !important;
  }

  #pum-2571 .dss-form-field.dss-recaptcha-field {
    height: 66px !important;
  }
}
/* ── end popup override ── */
