/* ========================================
   SRB Modern Posts - CSS Foundation
   Modern CSS Grid/Flexbox layouts
   All classes prefixed with srb-m- to avoid theme conflicts
   ======================================== */

/* ----------------------------------------
   1. CSS Custom Properties
   ---------------------------------------- */
.srb-m-wrapper {
  --srb-m-gap: 15px;
  --srb-m-radius: 6px;
  --srb-m-card-bg: #ffffff;
  --srb-m-card-border: #e5e7eb;
  --srb-m-text-primary: #111827;
  --srb-m-text-secondary: #6b7280;
  --srb-m-text-overlay: #ffffff;
  --srb-m-overlay-from: rgba(0,0,0,0);
  --srb-m-overlay-to: rgba(0,0,0,0.75);
  --srb-m-transition: 0.3s ease;
  --srb-m-highlight-bg: #3b82f6;
  --srb-m-highlight-font: #ffffff;
  --srb-m-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --srb-m-shadow-hover: 0 5px 10px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.06);
}

/* Dark mode */
.srb-m-wrapper.srb-m-dark {
  --srb-m-card-bg: #1f2937;
  --srb-m-card-border: #374151;
  --srb-m-text-primary: #f9fafb;
  --srb-m-text-secondary: #9ca3af;
  --srb-m-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --srb-m-shadow-hover: 0 5px 10px rgba(0,0,0,0.4), 0 5px 10px rgba(0,0,0,0.2);
}

/* ----------------------------------------
   2. Base Wrapper
   ---------------------------------------- */
.srb-m-wrapper {
  display: block;
  width: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.srb-m-wrapper *,
.srb-m-wrapper *::before,
.srb-m-wrapper *::after {
  box-sizing: border-box;
}
.srb-m-wrapper .widget-title {
  margin-top: 0;
}
.srb-m-hover-grow {
  padding-bottom:15px;
}
/* ----------------------------------------
   3. Grid Container
   ---------------------------------------- */
.srb-m-grid {
  display: grid;
  gap: var(--srb-m-gap);
}
.srb-m-grid--2col { grid-template-columns: repeat(2, 1fr); }
.srb-m-grid--3col { grid-template-columns: repeat(3, 1fr); }
.srb-m-grid--4col { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------------------
   4. Card Components - Overlay Style
   ---------------------------------------- */
.srb-m-card--overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--srb-m-radius);
  min-height: 280px;
  background: #1a1a1a;
}
.srb-m-card--overlay .srb-m-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  transition: transform var(--srb-m-transition);
}
.srb-m-card--overlay .srb-m-card__image a,
.srb-m-card--overlay .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.srb-m-card--overlay .srb-m-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, var(--srb-m-overlay-to) 0%, var(--srb-m-overlay-from) 100%);
  color: var(--srb-m-text-overlay);
  z-index: 3;
}
.srb-m-card--overlay .srb-m-card__content h3,
.srb-m-card--overlay .srb-m-card__content h3 a,
.srb-m-card--overlay .srb-m-card__content a {
  color: var(--srb-m-text-overlay) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.srb-m-card--overlay .entry-title {
  font-size: 18px;
  line-height: 22px;
  margin: 0 0 6px 0;
}
.srb-m-card--overlay .srb-m-card__meta {
  font-size: 12px;
  color: #ddd;
}
.srb-m-card--overlay .srb-m-card__meta a {
  color: #ddd !important;
}
.srb-m-card--overlay .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  margin-top: 6px;
  color: #eee;
}

/* ----------------------------------------
   5. Card Components - Clean Card Style
   ---------------------------------------- */
.srb-m-card--clean {
  background: var(--srb-m-card-bg);
  border-radius: var(--srb-m-radius);
  overflow: hidden;
  box-shadow: var(--srb-m-shadow);
  transition: box-shadow var(--srb-m-transition), transform var(--srb-m-transition);
}
.srb-m-card--clean .srb-m-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.srb-m-card--clean .srb-m-card__image a,
.srb-m-card--clean .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-card--clean .srb-m-card__content {
  padding: 16px;
  color: var(--srb-m-text-primary);
}
.srb-m-card--clean .entry-title {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 6px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-card--clean .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-card--clean .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 6px;
}
.srb-m-card--clean .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   6. Card Components - Minimal Style
   ---------------------------------------- */
.srb-m-card--minimal {
  background: var(--srb-m-card-bg);
  border: 1px solid var(--srb-m-card-border);
  border-radius: var(--srb-m-radius);
  overflow: hidden;
  transition: border-color var(--srb-m-transition);
}
.srb-m-card--minimal:hover {
  border-color: var(--srb-m-highlight-bg);
}
.srb-m-card--minimal .srb-m-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.srb-m-card--minimal .srb-m-card__image a,
.srb-m-card--minimal .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-card--minimal .srb-m-card__content {
  padding: 16px;
  color: var(--srb-m-text-primary);
}
.srb-m-card--minimal .entry-title {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 6px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-card--minimal .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-card--minimal .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 6px;
}
.srb-m-card--minimal .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   7. Card Components - Border Accent Style
   ---------------------------------------- */
.srb-m-card--accent {
  background: var(--srb-m-card-bg);
  border-left: 4px solid var(--srb-m-highlight-bg);
  border-radius: 0 var(--srb-m-radius) var(--srb-m-radius) 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: box-shadow var(--srb-m-transition);
  box-shadow: var(--srb-m-shadow);
}
.srb-m-card--accent .srb-m-card__image {
  position: relative;
  width: 35%;
  min-height: 160px;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.srb-m-card--accent .srb-m-card__image a,
.srb-m-card--accent .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-card--accent .srb-m-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--srb-m-text-primary);
  flex: 1;
}
.srb-m-card--accent .entry-title {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 6px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-card--accent .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-card--accent .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 6px;
}
.srb-m-card--accent .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   8. Card Components - List/Compact Style
   ---------------------------------------- */
.srb-m-card--list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--srb-m-card-border);
  transition: background var(--srb-m-transition);
}
.srb-m-card--list:last-child {
  border-bottom: none;
}
.srb-m-card--list:hover {
  background: rgba(0,0,0,0.02);
}
.srb-m-dark .srb-m-card--list:hover {
  background: rgba(255,255,255,0.03);
}
.srb-m-card--list .srb-m-card__image {
  position: relative;
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: calc(var(--srb-m-radius) / 2);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.srb-m-card--list .srb-m-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.srb-m-card--list .srb-m-card__image a,
.srb-m-card--list .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-card--list .srb-m-card__content {
  flex: 1;
  color: var(--srb-m-text-primary);
}
.srb-m-card--list .entry-title {
  font-size: 15px;
  line-height: 19px;
  margin: 0 0 3px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-card--list .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-card--list .srb-m-card__meta {
  font-size: 11px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   9. Category Badge
   ---------------------------------------- */
.srb-m-card__cat {
  margin-bottom: 8px;
}
.srb-m-card__cat a {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--srb-m-highlight-bg);
  color: var(--srb-m-highlight-font) !important;
  text-decoration: none;
  line-height: 1.4;
}
.srb-m-card--overlay .srb-m-card__cat {
  position: relative;
  z-index: 4;
}

/* ----------------------------------------
   10. Sponsor Badge
   ---------------------------------------- */
.srb-m-card__sponsor {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}
.srb-m-card__sponsor a {
  padding: 2px 6px;
  background: var(--srb-m-highlight-bg);
  color: var(--srb-m-highlight-font) !important;
  border-radius: 2px;
  text-decoration: none;
}

/* ----------------------------------------
   11. Hover Effects
   ---------------------------------------- */
/* Grow */
.srb-m-hover-grow .srb-m-card .srb-m-card__image,
.srb-m-hover-grow .srb-m-card--topborder .srb-m-card__image,
.srb-m-hover-grow .srb-m-card--compact .srb-m-card__image {
  overflow: hidden;
  transition: transform var(--srb-m-transition);
}
.srb-m-hover-grow .srb-m-card:hover .srb-m-card__image,
.srb-m-hover-grow .srb-m-card--topborder:hover .srb-m-card__image,
.srb-m-hover-grow .srb-m-card--compact:hover .srb-m-card__image {
  transform: scale(1.05);
}
.srb-m-hover-grow .srb-m-card .srb-m-card__image img,
.srb-m-hover-grow .srb-m-card--topborder .srb-m-card__image img,
.srb-m-hover-grow .srb-m-card--compact .srb-m-card__image img {
  transition: transform var(--srb-m-transition);
}
.srb-m-hover-grow .srb-m-card:hover .srb-m-card__image img,
.srb-m-hover-grow .srb-m-card--topborder:hover .srb-m-card__image img,
.srb-m-hover-grow .srb-m-card--compact:hover .srb-m-card__image img {
  transform: scale(1.05);
}
.srb-m-hover-grow .srb-m-caro--newsfy-spot .post-wrapper,
.srb-m-hover-grow .srb-m-caro--newsfy-flank .post-wrapper {
  overflow: hidden;
}
.srb-m-hover-grow .srb-m-caro--newsfy-spot .image-wrapper,
.srb-m-hover-grow .srb-m-caro--newsfy-flank .image-wrapper {
  transition: transform var(--srb-m-transition);
  transform-origin: center center;
}
.srb-m-hover-grow .srb-m-caro--newsfy-spot .post-wrapper:hover .image-wrapper,
.srb-m-hover-grow .srb-m-caro--newsfy-flank .post-wrapper:hover .image-wrapper {
  transform: scale(1.04);
}
.srb-m-hover-grow .srb-m-slider-thumb {
  overflow: hidden;
}
.srb-m-hover-grow .srb-m-slider-thumb .srb-m-slider-thumb__image,
.srb-m-hover-grow .srb-m-slider-thumb .srb-m-slider-thumb__bg {
  transition: transform var(--srb-m-transition);
  transform-origin: center center;
}
.srb-m-hover-grow .srb-m-slider-thumb:hover .srb-m-slider-thumb__image,
.srb-m-hover-grow .srb-m-slider-thumb:hover .srb-m-slider-thumb__bg {
  transform: scale(1.05);
}
/* Shadow */
.srb-m-hover-shadow .srb-m-card,
.srb-m-hover-shadow .srb-m-card--topborder,
.srb-m-hover-shadow .srb-m-card--compact {
  position: relative;
}
.srb-m-hover-shadow .srb-m-card::before,
.srb-m-hover-shadow .srb-m-card--topborder::before,
.srb-m-hover-shadow .srb-m-card--compact::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 15px 5px var(--srb-m-accent-dot, #000);
  opacity: 0;
  transition: opacity var(--srb-m-transition);
  pointer-events: none;
  z-index: 10;
}
.srb-m-hover-shadow .srb-m-card:hover::before,
.srb-m-hover-shadow .srb-m-card--topborder:hover::before,
.srb-m-hover-shadow .srb-m-card--compact:hover::before {
  opacity: 1;
}
.srb-m-hover-shadow .srb-m-caro--newsfy-spot .post-wrapper,
.srb-m-hover-shadow .srb-m-caro--newsfy-flank .post-wrapper {
  position: relative;
}
.srb-m-hover-shadow .srb-m-caro--newsfy-spot .post-wrapper::after,
.srb-m-hover-shadow .srb-m-caro--newsfy-flank .post-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 15px 5px var(--srb-m-accent-dot, #000);
  opacity: 0;
  transition: opacity var(--srb-m-transition);
  pointer-events: none;
  z-index: 12;
}
.srb-m-hover-shadow .srb-m-caro--newsfy-spot .post-wrapper:hover::after,
.srb-m-hover-shadow .srb-m-caro--newsfy-flank .post-wrapper:hover::after {
  opacity: 1;
}
.srb-m-hover-shadow .srb-m-slider-thumb {
  position: relative;
}
.srb-m-hover-shadow .srb-m-slider-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 12px 4px var(--srb-m-accent-dot, #000);
  opacity: 0;
  transition: opacity var(--srb-m-transition);
  pointer-events: none;
  z-index: 6;
}
.srb-m-hover-shadow .srb-m-slider-thumb:hover::after {
  opacity: 1;
}
/* Border */
.srb-m-hover-border .srb-m-card,
.srb-m-hover-border .srb-m-card--topborder,
.srb-m-hover-border .srb-m-card--compact {
  position: relative;
}
.srb-m-hover-border .srb-m-card::before,
.srb-m-hover-border .srb-m-card--topborder::before,
.srb-m-hover-border .srb-m-card--compact::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--srb-m-accent-dot, #000);
  opacity: 0;
  transition: opacity var(--srb-m-transition);
  pointer-events: none;
  z-index: 10;
}
.srb-m-hover-border .srb-m-card:hover::before,
.srb-m-hover-border .srb-m-card--topborder:hover::before,
.srb-m-hover-border .srb-m-card--compact:hover::before {
  opacity: 1;
}
.srb-m-hover-border .srb-m-caro--newsfy-spot .post-wrapper,
.srb-m-hover-border .srb-m-caro--newsfy-flank .post-wrapper {
  position: relative;
}
.srb-m-hover-border .srb-m-caro--newsfy-spot .post-wrapper::after,
.srb-m-hover-border .srb-m-caro--newsfy-flank .post-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--srb-m-accent-dot, #000);
  opacity: 0;
  transition: opacity var(--srb-m-transition);
  pointer-events: none;
  z-index: 12;
}
.srb-m-hover-border .srb-m-caro--newsfy-spot .post-wrapper:hover::after,
.srb-m-hover-border .srb-m-caro--newsfy-flank .post-wrapper:hover::after {
  opacity: 1;
}
.srb-m-hover-border .srb-m-slider-thumb {
  position: relative;
}
.srb-m-hover-border .srb-m-slider-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--srb-m-accent-dot, #000);
  opacity: 0;
  transition: opacity var(--srb-m-transition);
  pointer-events: none;
  z-index: 6;
}
.srb-m-hover-border .srb-m-slider-thumb:hover::after {
  opacity: 1;
}

/* ----------------------------------------
   12. More Posts Button
   ---------------------------------------- */
.srb-m-wrapper .srb-m-moreposts {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ========================================
   FEATURED LAYOUTS
   ======================================== */

/* ----------------------------------------
   feat-1: Large left 60% + 2 stacked right 40%
   ---------------------------------------- */
.srb-m-feat--side-l {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--side-l .srb-m-featured {
  grid-row: 1 / 3;
  min-height: 420px;
}
.srb-m-feat--side-l .srb-m-featured .entry-title {
  font-size: 24px;
  line-height: 28px;
}
.srb-m-feat--side-l .srb-m-secondary {
  min-height: 200px;
}

/* ----------------------------------------
   feat-2: Large right 60% + 2 stacked left 40%
   ---------------------------------------- */
.srb-m-feat--side-r {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--side-r .srb-m-featured {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 420px;
}
.srb-m-feat--side-r .srb-m-featured .entry-title {
  font-size: 24px;
  line-height: 28px;
}
.srb-m-feat--side-r .srb-m-secondary {
  grid-column: 1;
  min-height: 200px;
}

/* ----------------------------------------
   feat-3: Hero top + 3 cards below
   ---------------------------------------- */
.srb-m-feat--hero3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-feat--hero3 .srb-m-featured {
  grid-column: 1 / -1;
  min-height: 380px;
}
.srb-m-feat--hero3 .srb-m-featured .entry-title {
  font-size: 26px;
  line-height: 30px;
}

/* ----------------------------------------
   feat-4: Hero top + 4 cards below
   ---------------------------------------- */
.srb-m-feat--hero4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-feat--hero4 .srb-m-featured {
  grid-column: 1 / -1;
  min-height: 380px;
}
.srb-m-feat--hero4 .srb-m-featured .entry-title {
  font-size: 26px;
  line-height: 30px;
}

/* ----------------------------------------
   feat-5: Large left + 2x2 grid right
   ---------------------------------------- */
.srb-m-feat--grid22 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--grid22 .srb-m-featured {
  grid-row: 1 / 3;
  min-height: 420px;
}
.srb-m-feat--grid22 .srb-m-featured .entry-title {
  font-size: 22px;
  line-height: 26px;
}
.srb-m-feat--grid22 .srb-m-secondary {
  min-height: 200px;
}

/* ----------------------------------------
   feat-6: Large center + 1 each side
   ---------------------------------------- */
.srb-m-feat--center {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--center .srb-m-featured {
  min-height: 380px;
}
.srb-m-feat--center .srb-m-featured .entry-title {
  font-size: 22px;
  line-height: 26px;
}
.srb-m-feat--center .srb-m-secondary {
  min-height: 380px;
}

/* ----------------------------------------
   feat-7: Hero banner + 3 clean cards
   ---------------------------------------- */
.srb-m-feat--banner3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-feat--banner3 .srb-m-featured {
  grid-column: 1 / -1;
  min-height: 400px;
}
.srb-m-feat--banner3 .srb-m-featured .entry-title {
  font-size: 28px;
  line-height: 32px;
}

/* ----------------------------------------
   feat-8: Hero + stacked list
   ---------------------------------------- */
.srb-m-feat--herolist {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--herolist .srb-m-featured {
  min-height: 380px;
}
.srb-m-feat--herolist .srb-m-featured .entry-title {
  font-size: 26px;
  line-height: 30px;
}

/* ----------------------------------------
   feat-9: Large left + list right
   ---------------------------------------- */
.srb-m-feat--llist {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--llist .srb-m-featured {
  grid-row: 1 / 20;
  min-height: 420px;
}
.srb-m-feat--llist .srb-m-featured .entry-title {
  font-size: 24px;
  line-height: 28px;
}

/* ----------------------------------------
   feat-10: Large right + list left
   ---------------------------------------- */
.srb-m-feat--rlist {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--rlist .srb-m-featured {
  grid-column: 2;
  grid-row: 1 / 20;
  min-height: 420px;
}
.srb-m-feat--rlist .srb-m-featured .entry-title {
  font-size: 24px;
  line-height: 28px;
}
.srb-m-feat--rlist .srb-m-secondary {
  grid-column: 1;
}

/* ========================================
   LIST LAYOUTS
   ======================================== */

/* ----------------------------------------
   list-1: Alternating image left/right
   ---------------------------------------- */
.srb-m-list--alt .srb-m-card--split {
  display: flex;
  gap: var(--srb-m-gap);
  margin-bottom: var(--srb-m-gap);
  background: var(--srb-m-card-bg);
  border-radius: var(--srb-m-radius);
  overflow: hidden;
  box-shadow: var(--srb-m-shadow);
  transition: box-shadow var(--srb-m-transition);
}
.srb-m-list--alt .srb-m-card--split:nth-child(even) {
  flex-direction: row-reverse;
}
.srb-m-list--alt .srb-m-card--split .srb-m-card__image {
  position: relative;
  width: 45%;
  min-height: 220px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.srb-m-list--alt .srb-m-card--split .srb-m-card__image a,
.srb-m-list--alt .srb-m-card--split .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-list--alt .srb-m-card--split .srb-m-card__content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--srb-m-text-primary);
}
.srb-m-list--alt .entry-title {
  font-size: 20px;
  line-height: 25px;
  margin: 0 0 8px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-list--alt .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-list--alt .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 8px;
}
.srb-m-list--alt .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 21px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   list-2: Compact thumbnail list
   ---------------------------------------- */
.srb-m-list--compact .srb-m-card--list .srb-m-card__image {
  width: 60px;
  height: 60px;
  border-radius: calc(var(--srb-m-radius) / 2);
}

/* ----------------------------------------
   list-3: Numbered/ranked list
   ---------------------------------------- */
.srb-m-list--numbered .srb-m-card--numbered {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--srb-m-card-border);
  transition: background var(--srb-m-transition);
}
.srb-m-list--numbered .srb-m-card--numbered:last-child {
  border-bottom: none;
}
.srb-m-list--numbered .srb-m-card__number {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  min-width: 50px;
  text-align: center;
  color: var(--srb-m-highlight-bg);
  opacity: 0.7;
  flex-shrink: 0;
}
.srb-m-list--numbered .srb-m-card__image {
  position: relative;
  width: 100px;
  height: 75px;
  flex-shrink: 0;
  border-radius: calc(var(--srb-m-radius) / 2);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.srb-m-list--numbered .srb-m-card__image a,
.srb-m-list--numbered .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-list--numbered .srb-m-card__content {
  flex: 1;
  color: var(--srb-m-text-primary);
}
.srb-m-list--numbered .entry-title {
  font-size: 16px;
  line-height: 20px;
  margin: 0 0 4px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-list--numbered .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-list--numbered .srb-m-card__meta {
  font-size: 11px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   list-4: Border accent cards
   ---------------------------------------- */
.srb-m-list--border .srb-m-card--accent {
  margin-bottom: var(--srb-m-gap);
}

/* ----------------------------------------
   list-5: Timeline list
   ---------------------------------------- */
.srb-m-list--timeline {
  position: relative;
  padding-left: 30px;
}
.srb-m-list--timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--srb-m-card-border);
}
.srb-m-list--timeline .srb-m-card--timeline {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 14px 0;
  align-items: flex-start;
}
.srb-m-list--timeline .srb-m-card--timeline::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--srb-m-highlight-bg);
  border: 2px solid var(--srb-m-card-bg);
  z-index: 1;
}
.srb-m-list--timeline .srb-m-card__image {
  position: relative;
  width: 100px;
  height: 75px;
  flex-shrink: 0;
  border-radius: calc(var(--srb-m-radius) / 2);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.srb-m-list--timeline .srb-m-card__image a,
.srb-m-list--timeline .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-list--timeline .srb-m-card__content {
  flex: 1;
  color: var(--srb-m-text-primary);
}
.srb-m-list--timeline .entry-title {
  font-size: 16px;
  line-height: 20px;
  margin: 0 0 4px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-list--timeline .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-list--timeline .srb-m-card__meta {
  font-size: 11px;
  color: var(--srb-m-text-secondary);
}
.srb-m-list--timeline .srb-m-card__excerpt {
  font-size: 13px;
  line-height: 18px;
  color: var(--srb-m-text-secondary);
  margin-top: 4px;
}

/* ----------------------------------------
   list-6: Large stacked overlay cards
   ---------------------------------------- */
.srb-m-list--large .srb-m-card--overlay {
  margin-bottom: var(--srb-m-gap);
  min-height: 350px;
}
.srb-m-list--large .srb-m-card--overlay .entry-title {
  font-size: 24px;
  line-height: 28px;
}

/* ----------------------------------------
   list-7: Split 50/50 alternating
   ---------------------------------------- */
.srb-m-list--split .srb-m-card--split {
  display: flex;
  gap: 0;
  margin-bottom: var(--srb-m-gap);
  background: var(--srb-m-card-bg);
  border-radius: var(--srb-m-radius);
  overflow: hidden;
  box-shadow: var(--srb-m-shadow);
  min-height: 260px;
}
.srb-m-list--split .srb-m-card--split:nth-child(even) {
  flex-direction: row-reverse;
}
.srb-m-list--split .srb-m-card--split .srb-m-card__image {
  position: relative;
  width: 50%;
  min-height: 260px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.srb-m-list--split .srb-m-card--split .srb-m-card__image a,
.srb-m-list--split .srb-m-card--split .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-list--split .srb-m-card--split .srb-m-card__content {
  width: 50%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--srb-m-text-primary);
}
.srb-m-list--split .entry-title {
  font-size: 20px;
  line-height: 25px;
  margin: 0 0 8px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-list--split .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-list--split .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 8px;
}
.srb-m-list--split .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 21px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   list-8: Text-only (no images)
   ---------------------------------------- */
.srb-m-list--text .srb-m-card--text {
  padding: 14px 0;
  border-bottom: 1px solid var(--srb-m-card-border);
  color: var(--srb-m-text-primary);
  transition: padding-left var(--srb-m-transition);
}
.srb-m-list--text .srb-m-card--text:last-child {
  border-bottom: none;
}
.srb-m-list--text .entry-title {
  font-size: 18px;
  line-height: 23px;
  margin: 0 0 5px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-list--text .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-list--text .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
}
.srb-m-list--text .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: var(--srb-m-text-secondary);
  margin-top: 5px;
}

/* ========================================
   OVERLAY LAYOUTS
   ======================================== */

/* ----------------------------------------
   over-1: Single column tall overlay
   ---------------------------------------- */
.srb-m-over--single .srb-m-card--overlay {
  margin-bottom: var(--srb-m-gap);
  min-height: 400px;
}
.srb-m-over--single .srb-m-card--overlay .entry-title {
  font-size: 26px;
  line-height: 30px;
}
.srb-m-over--single .srb-m-card--overlay .srb-m-card__excerpt {
  font-size: 15px;
  line-height: 22px;
}

/* ----------------------------------------
   over-2: 2-col overlay
   ---------------------------------------- */
.srb-m-over--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-over--2col .srb-m-card--overlay {
  min-height: 340px;
}
.srb-m-over--2col .srb-m-card--overlay .entry-title {
  font-size: 20px;
  line-height: 24px;
}

/* ----------------------------------------
   over-3: 3-col overlay
   ---------------------------------------- */
.srb-m-over--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-over--3col .srb-m-card--overlay {
  min-height: 300px;
}

/* ----------------------------------------
   over-4: Mosaic (1 large + 2 small stacked)
   ---------------------------------------- */
.srb-m-over--mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-over--mosaic .srb-m-card--overlay:first-child {
  grid-row: 1 / 3;
  min-height: 420px;
}
.srb-m-over--mosaic .srb-m-card--overlay:first-child .entry-title {
  font-size: 24px;
  line-height: 28px;
}
.srb-m-over--mosaic .srb-m-card--overlay:not(:first-child) {
  min-height: 200px;
}

/* ----------------------------------------
   over-5: Full-width banner
   ---------------------------------------- */
.srb-m-over--banner .srb-m-card--overlay {
  min-height: 500px;
}
.srb-m-over--banner .srb-m-card--overlay .entry-title {
  font-size: 32px;
  line-height: 36px;
}
.srb-m-over--banner .srb-m-card--overlay .srb-m-card__excerpt {
  font-size: 16px;
  line-height: 24px;
  max-width: 600px;
}
.srb-m-over--banner .srb-m-card--overlay .srb-m-card__content {
  padding: 30px 40px;
}

/* ----------------------------------------
   over-6: Hover reveal grid
   ---------------------------------------- */
.srb-m-over--hover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-over--hover .srb-m-card--overlay {
  min-height: 300px;
}
.srb-m-over--hover .srb-m-card--overlay .srb-m-card__content {
  opacity: 0;
  transition: opacity var(--srb-m-transition);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}
.srb-m-over--hover .srb-m-card--overlay:hover .srb-m-card__content {
  opacity: 1;
}
.srb-m-over--hover .srb-m-card--overlay .srb-m-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  opacity: 1;
}

/* ========================================
   MAGAZINE LAYOUTS
   ======================================== */

/* ----------------------------------------
   mag-1: Classic Magazine (1L + 2R + 3 bottom)
   ---------------------------------------- */
.srb-m-mag--classic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr auto;
  gap: var(--srb-m-gap);
  padding-bottom:15px;
}
.srb-m-mag--classic .srb-m-mag-pos-1 {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  min-height: 380px;
}
.srb-m-mag--classic .srb-m-mag-pos-1 .entry-title {
  font-size: 24px;
  line-height: 28px;
}
.srb-m-mag--classic .srb-m-mag-pos-2 {
  grid-column: 5 / 7;
  grid-row: 1;
}
.srb-m-mag--classic .srb-m-mag-pos-3 {
  grid-column: 5 / 7;
  grid-row: 2;
}
.srb-m-mag--classic .srb-m-mag-pos-4 {
  grid-column: 1 / 3;
  grid-row: 3;
}
.srb-m-mag--classic .srb-m-mag-pos-5 {
  grid-column: 3 / 5;
  grid-row: 3;
}
.srb-m-mag--classic .srb-m-mag-pos-6 {
  grid-column: 5 / 7;
  grid-row: 3;
}

/* ----------------------------------------
   mag-2: Editorial (3 overlay top + 2 cards bottom)
   ---------------------------------------- */
.srb-m-mag--editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-mag--editorial .srb-m-mag-row2 {
  grid-column: span 1;
}
.srb-m-mag--editorial .srb-m-mag-wide {
  grid-column: span 2;
}

/* ----------------------------------------
   mag-3: Newspaper (hero + 2 mid + 4 small)
   ---------------------------------------- */
.srb-m-mag--newspaper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-mag--newspaper .srb-m-mag-pos-1 {
  grid-column: 1 / 3;
  grid-row: 1;
  min-height: 380px;
}
.srb-m-mag--newspaper .srb-m-mag-pos-1 .entry-title {
  font-size: 24px;
  line-height: 28px;
}
.srb-m-mag--newspaper .srb-m-mag-pos-2,
.srb-m-mag--newspaper .srb-m-mag-pos-3 {
  grid-row: 1;
  min-height: 380px;
}

/* ----------------------------------------
   mag-4: Z-pattern (wide + 3-col, repeat)
   ---------------------------------------- */
.srb-m-mag--zpattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-mag--zpattern .srb-m-mag-wide {
  grid-column: 1 / -1;
  min-height: 300px;
}
.srb-m-mag--zpattern .srb-m-mag-wide .entry-title {
  font-size: 24px;
  line-height: 28px;
}

/* ----------------------------------------
   mag-5: Main + Sidebar (2/3 + 1/3)
   ---------------------------------------- */
.srb-m-mag--sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-mag--sidebar .srb-m-mag-main {
  display: flex;
  flex-direction: column;
  gap: var(--srb-m-gap);
}
.srb-m-mag--sidebar .srb-m-mag-side {
  display: flex;
  flex-direction: column;
}
.srb-m-mag--sidebar .srb-m-mag-main .srb-m-card--overlay {
  min-height: 280px;
}
.srb-m-mag--sidebar .srb-m-mag-main .entry-title {
  font-size: 20px;
  line-height: 24px;
}

/* ----------------------------------------
   mag-6: Mosaic tiles
   ---------------------------------------- */
.srb-m-mag--mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-mag--mosaic .srb-m-card--overlay {
  min-height: 200px;
}
.srb-m-mag--mosaic .srb-m-mag-pos-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.srb-m-mag--mosaic .srb-m-mag-pos-2 {
  grid-column: 3;
  grid-row: 1;
}
.srb-m-mag--mosaic .srb-m-mag-pos-3 {
  grid-column: 4;
  grid-row: 1;
}
.srb-m-mag--mosaic .srb-m-mag-pos-4 {
  grid-column: 3 / 5;
  grid-row: 2;
}
.srb-m-mag--mosaic .srb-m-mag-pos-5 {
  grid-column: 1;
  grid-row: 3;
}
.srb-m-mag--mosaic .srb-m-mag-pos-6 {
  grid-column: 2;
  grid-row: 3;
}
.srb-m-mag--mosaic .srb-m-mag-pos-7 {
  grid-column: 3;
  grid-row: 3;
}
.srb-m-mag--mosaic .srb-m-mag-pos-8 {
  grid-column: 4;
  grid-row: 3;
}
.srb-m-mag--mosaic .srb-m-mag-pos-1 .entry-title,
.srb-m-mag--mosaic .srb-m-mag-pos-4 .entry-title {
  font-size: 22px;
  line-height: 26px;
}


/* ========================================
   NEW CARD TYPES (Phase 2)
   ======================================== */

/* ----------------------------------------
   Rounded/Pill Card
   ---------------------------------------- */
.srb-m-card--rounded {
  background: var(--srb-m-card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--srb-m-shadow);
  transition: box-shadow var(--srb-m-transition), transform var(--srb-m-transition);
}
.srb-m-card--rounded:hover {
  box-shadow: var(--srb-m-shadow-hover);
  transform: translateY(-2px);
}
.srb-m-card--rounded .srb-m-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.srb-m-card--rounded .srb-m-card__image a,
.srb-m-card--rounded .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-card--rounded .srb-m-card__content {
  padding: 20px;
  color: var(--srb-m-text-primary);
}
.srb-m-card--rounded .entry-title {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 6px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-card--rounded .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-card--rounded .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 6px;
}
.srb-m-card--rounded .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: var(--srb-m-text-secondary);
}
.srb-m-card--rounded .srb-m-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* ----------------------------------------
   Gradient Background Card
   ---------------------------------------- */
.srb-m-card--gradient {
  position: relative;
  overflow: hidden;
  border-radius: var(--srb-m-radius);
  min-height: 280px;
  background: linear-gradient(135deg, var(--srb-m-gradient-from, #667eea) 0%, var(--srb-m-gradient-to, #764ba2) 100%);
}
.srb-m-card--gradient .srb-m-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  opacity: 0.3;
  transition: opacity var(--srb-m-transition);
}
.srb-m-card--gradient:hover .srb-m-card__image {
  opacity: 0.4;
}
.srb-m-card--gradient .srb-m-card__image a,
.srb-m-card--gradient .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.srb-m-card--gradient .srb-m-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #ffffff;
  z-index: 3;
}
.srb-m-card--gradient .srb-m-card__content h3,
.srb-m-card--gradient .srb-m-card__content h3 a,
.srb-m-card--gradient .srb-m-card__content a {
  color: #ffffff !important;
}
.srb-m-card--gradient .entry-title {
  font-size: 18px;
  line-height: 22px;
  margin: 0 0 6px 0;
}
.srb-m-card--gradient .srb-m-card__meta {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}
.srb-m-card--gradient .srb-m-card__meta a {
  color: rgba(255,255,255,0.8) !important;
}
.srb-m-card--gradient .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255,255,255,0.9);
  margin-top: 6px;
}
.srb-m-card--gradient .srb-m-card__cat a {
  background: rgba(255,255,255,0.25);
  color: #ffffff !important;
}

/* ----------------------------------------
   Top Border Accent Card
   ---------------------------------------- */
.srb-m-card--topborder {
  background: var(--srb-m-card-bg);
  border-top: 4px solid var(--srb-m-highlight-bg);
  border-radius: 0 0 var(--srb-m-radius) var(--srb-m-radius);
  overflow: hidden;
  box-shadow: var(--srb-m-shadow);
  transition: box-shadow var(--srb-m-transition);
}
.srb-m-card--topborder .srb-m-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.srb-m-card--topborder .srb-m-card__image a,
.srb-m-card--topborder .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-card--topborder .srb-m-card__content {
  padding: 16px;
  color: var(--srb-m-text-primary);
}
.srb-m-card--topborder .entry-title {
  font-size: 17px;
  line-height: 22px;
  margin: 0 0 6px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-card--topborder .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-card--topborder .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 6px;
}
.srb-m-card--topborder .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: var(--srb-m-text-secondary);
}

/* ----------------------------------------
   Full-Bleed Edge-to-Edge Overlay Card
   ---------------------------------------- */
.srb-m-card--fullbleed {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 300px;
  background: #1a1a1a;
}
.srb-m-card--fullbleed .srb-m-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  transition: transform var(--srb-m-transition);
}
.srb-m-card--fullbleed .srb-m-card__image a,
.srb-m-card--fullbleed .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.srb-m-card--fullbleed .srb-m-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: #ffffff;
  z-index: 3;
}
.srb-m-card--fullbleed .srb-m-card__content h3,
.srb-m-card--fullbleed .srb-m-card__content h3 a,
.srb-m-card--fullbleed .srb-m-card__content a {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.srb-m-card--fullbleed .entry-title {
  font-size: 18px;
  line-height: 22px;
  margin: 0 0 6px 0;
}
.srb-m-card--fullbleed .srb-m-card__meta {
  font-size: 12px;
  color: #ddd;
}
.srb-m-card--fullbleed .srb-m-card__meta a {
  color: #ddd !important;
}
.srb-m-card--fullbleed .srb-m-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  color: #eee;
  margin-top: 6px;
}

/* ----------------------------------------
   Compact Mini Card
   ---------------------------------------- */
.srb-m-card--compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--srb-m-card-border);
  transition: background var(--srb-m-transition);
}
.srb-m-card--compact:last-child {
  border-bottom: none;
}
.srb-m-card--compact .srb-m-card__image {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: calc(var(--srb-m-radius) / 2);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.srb-m-card--compact .srb-m-card__image a,
.srb-m-card--compact .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-card--compact .srb-m-card__content {
  flex: 1;
  color: var(--srb-m-text-primary);
  min-width: 0;
}
.srb-m-card--compact .entry-title {
  font-size: 13px;
  line-height: 17px;
  margin: 0 0 2px 0;
  color: var(--srb-m-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srb-m-card--compact .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-card--compact .srb-m-card__meta {
  font-size: 10px;
  color: var(--srb-m-text-secondary);
}

/* ========================================
   NEW GRID LAYOUTS
   ======================================== */

/* 5-column grid */
.srb-m-grid--5col { grid-template-columns: repeat(5, 1fr); }

/* Mixed grid: first item spans 2 cols + 2 rows */
.srb-m-grid--mixed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-grid--mixed > :first-child {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 400px;
}
.srb-m-grid--mixed > :first-child .entry-title {
  font-size: 24px;
  line-height: 28px;
}

/* ========================================
   NEW LIST LAYOUTS
   ======================================== */

/* list-9: Large thumbnail list (120x90px images) */
.srb-m-list--lgthumbs .srb-m-card--list {
  gap: 16px;
  padding: 14px 0;
}
.srb-m-list--lgthumbs .srb-m-card--list .srb-m-card__image {
  width: 120px;
  height: 90px;
  border-radius: var(--srb-m-radius);
}
.srb-m-list--lgthumbs .entry-title {
  font-size: 16px;
  line-height: 21px;
  margin: 0 0 4px 0;
}
.srb-m-list--lgthumbs .srb-m-card__excerpt {
  font-size: 13px;
  line-height: 18px;
  color: var(--srb-m-text-secondary);
  margin-top: 4px;
}

/* list-10: Colored top border cards */
.srb-m-list--colorborder .srb-m-card--topborder {
  margin-bottom: var(--srb-m-gap);
}

/* list-11: Zigzag (large alternating split cards) */
.srb-m-list--zigzag .srb-m-card--split {
  display: flex;
  gap: 0;
  margin-bottom: var(--srb-m-gap);
  background: var(--srb-m-card-bg);
  border-radius: var(--srb-m-radius);
  overflow: hidden;
  box-shadow: var(--srb-m-shadow);
  min-height: 320px;
  transition: box-shadow var(--srb-m-transition);
}
.srb-m-list--zigzag .srb-m-card--split:nth-child(even) {
  flex-direction: row-reverse;
}
.srb-m-list--zigzag .srb-m-card--split .srb-m-card__image {
  position: relative;
  width: 55%;
  min-height: 320px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.srb-m-list--zigzag .srb-m-card--split .srb-m-card__image a,
.srb-m-list--zigzag .srb-m-card--split .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-list--zigzag .srb-m-card--split .srb-m-card__content {
  width: 45%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--srb-m-text-primary);
}
.srb-m-list--zigzag .entry-title {
  font-size: 22px;
  line-height: 27px;
  margin: 0 0 10px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-list--zigzag .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-list--zigzag .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 10px;
}
.srb-m-list--zigzag .srb-m-card__excerpt {
  font-size: 15px;
  line-height: 22px;
  color: var(--srb-m-text-secondary);
}

/* list-12: Compact mini list */
.srb-m-list--mini .srb-m-card--compact .srb-m-card__image {
  width: 50px;
  height: 50px;
}

/* ========================================
   NEW OVERLAY LAYOUTS
   ======================================== */

/* over-7: Gradient colored overlay */
.srb-m-over--gradient {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-over--gradient .srb-m-card--gradient {
  min-height: 300px;
}

/* over-8: Rounded overlay grid */
.srb-m-over--rounded {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-over--rounded .srb-m-card--overlay {
  border-radius: 20px;
  min-height: 300px;
}

/* over-9: Tall portrait overlay */
.srb-m-over--portrait {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-over--portrait .srb-m-card--overlay {
  min-height: 500px;
}
.srb-m-over--portrait .srb-m-card--overlay .entry-title {
  font-size: 22px;
  line-height: 26px;
}

/* over-10: 3 equal large overlay cards */
.srb-m-over--3equal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-over--3equal .srb-m-card--overlay {
  min-height: 420px;
}
.srb-m-over--3equal .srb-m-card--overlay .entry-title {
  font-size: 22px;
  line-height: 26px;
}

/* ========================================
   NEW FEATURED LAYOUTS
   ======================================== */

/* feat-11: Hero with centered text */
.srb-m-feat--herocenter {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--herocenter .srb-m-card--overlay {
  min-height: 500px;
}
.srb-m-feat--herocenter .srb-m-card--overlay .srb-m-card__content {
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 40px;
}
.srb-m-feat--herocenter .srb-m-card--overlay .entry-title {
  font-size: 36px;
  line-height: 42px;
  max-width: 700px;
}
.srb-m-feat--herocenter .srb-m-card--overlay .srb-m-card__excerpt {
  font-size: 16px;
  line-height: 24px;
  max-width: 600px;
}

/* feat-12: Full-screen banner */
.srb-m-feat--fullbanner {
  display: grid;
  grid-template-columns: 1fr;
}
.srb-m-feat--fullbanner .srb-m-card--overlay {
  min-height: 600px;
}
.srb-m-feat--fullbanner .srb-m-card--overlay .srb-m-card__content {
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
  padding: 60px 40px;
}
.srb-m-feat--fullbanner .srb-m-card--overlay .entry-title {
  font-size: 42px;
  line-height: 48px;
  max-width: 800px;
  font-weight: 800;
}
.srb-m-feat--fullbanner .srb-m-card--overlay .srb-m-card__excerpt {
  font-size: 18px;
  line-height: 26px;
  max-width: 600px;
  margin-top: 12px;
}

/* feat-13: 3 equal overlay cards */
.srb-m-feat--3equal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-feat--3equal .srb-m-card--overlay {
  min-height: 420px;
}
.srb-m-feat--3equal .srb-m-card--overlay .entry-title {
  font-size: 22px;
  line-height: 26px;
}

/* feat-14: Stacked editorial (full-width + 3-col grid row) */
.srb-m-feat--stacked {
  display: grid;
  gap: var(--srb-m-gap);
}
.srb-m-feat--stacked .srb-m-stacked-wide {
  grid-column: 1 / -1;
  min-height: 350px;
}
.srb-m-feat--stacked .srb-m-stacked-wide .entry-title {
  font-size: 26px;
  line-height: 30px;
}

/* feat-15: Hero left + numbered list right */
.srb-m-feat--heronums {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--srb-m-gap);
}
.srb-m-feat--heronums .srb-m-featured {
  grid-row: 1 / 20;
  min-height: 420px;
}
.srb-m-feat--heronums .srb-m-featured .entry-title {
  font-size: 24px;
  line-height: 28px;
}
.srb-m-feat--heronums .srb-m-secondary {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--srb-m-card-border);
}
.srb-m-feat--heronums .srb-m-secondary:last-child {
  border-bottom: none;
}
.srb-m-feat--heronums .srb-m-card__number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  min-width: 40px;
  text-align: center;
  color: var(--srb-m-accent-dot, #000);
  opacity: 0.7;
  flex-shrink: 0;
}
.srb-m-feat--heronums .srb-m-secondary .srb-m-card__image {
  position: relative;
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: calc(var(--srb-m-radius) / 2);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.srb-m-feat--heronums .srb-m-secondary .srb-m-card__image a,
.srb-m-feat--heronums .srb-m-secondary .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-feat--heronums .srb-m-secondary .entry-title {
  font-size: 15px;
  line-height: 19px;
  margin: 0 0 3px 0;
}
.srb-m-feat--heronums .srb-m-secondary .srb-m-card__meta {
  font-size: 11px;
  color: var(--srb-m-text-secondary);
}

/* ========================================
   NEW MAGAZINE LAYOUTS
   ======================================== */

/* mag-7: Category color bar + grid cards */
.srb-m-mag--catbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-mag--catbar::before {
  content: '';
  grid-column: 1 / -1;
  height: 4px;
  background: var(--srb-m-highlight-bg);
  border-radius: 2px;
}

/* mag-8: Full-width overlay + 3-col grid repeat */
.srb-m-mag--widerow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--srb-m-gap);
}
.srb-m-mag--widerow .srb-m-mag-wide {
  grid-column: 1 / -1;
  min-height: 320px;
}
.srb-m-mag--widerow .srb-m-mag-wide .entry-title {
  font-size: 26px;
  line-height: 30px;
}

/* mag-9: Hero left + sidebar list right */
.srb-m-mag--heroside {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--srb-m-gap);
}
.srb-m-mag--heroside .srb-m-mag-pos-1 {
  grid-row: 1 / 20;
  min-height: 420px;
}
.srb-m-mag--heroside .srb-m-mag-pos-1 .entry-title {
  font-size: 24px;
  line-height: 28px;
}

/* ========================================
   MODERN CAROUSEL
   ======================================== */

.srb-m-caro {
  position: relative;
  overflow: hidden;
}
.srb-m-caro__loading {
  text-align: center;
  padding: 20px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.srb-m-caro__loading:after {
  content: "";
  width: 36px;
  height: 36px;
  border: 3px solid var(--srb-m-card-border);
  border-top: 3px solid var(--srb-m-highlight-bg);
  border-radius: 50%;
  animation: srbCaroSpin 0.8s linear infinite;
}
@keyframes srbCaroSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.srb-m-caro__track {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.srb-m-caro__track.loaded {
  opacity: 1;
}
.srb-m-caro__track .slick-track {
  display: flex !important;
}
.srb-m-caro__track .slick-slide {
  height: auto !important;
}
.srb-m-caro__slide {
  padding: 0 calc(var(--srb-m-gap) / 2);
  height: 100%;
}
.srb-m-caro__slide > .srb-m-card {
  height: 100%;
}
.srb-m-caro__slide > .srb-m-card--clean {
  display: flex;
  flex-direction: column;
}
.srb-m-caro__slide > .srb-m-card--clean .srb-m-card__content {
  flex: 1;
}
.srb-m-caro__slide > .srb-m-card--overlay {
  display: flex;
  flex-direction: column;
}
.srb-m-caro__slide > .srb-m-card--split {
  display: flex;
}
.srb-m-caro__slide > .srb-m-card--compact {
  height: 100%;
}

/* mcaro-1: Card carousel */
.srb-m-caro--cards .srb-m-caro__slide {
  padding: 4px calc(var(--srb-m-gap) / 2 + 4px);
}

/* mcaro-2: Overlay carousel */
.srb-m-caro--overlay .srb-m-caro__slide {
  padding: 4px calc(var(--srb-m-gap) / 2 + 4px);
}
.srb-m-caro--overlay .srb-m-card--overlay {
  min-height: 320px;
}

/* mcaro-3: Hero slider */
.srb-m-caro--hero .srb-m-card--overlay {
  min-height: 500px;
}
.srb-m-caro--hero .srb-m-card--overlay .entry-title {
  font-size: 32px;
  line-height: 38px;
}
.srb-m-caro--hero .srb-m-card--overlay .srb-m-card__content {
  padding: 30px 40px;
}
.srb-m-caro--hero .srb-m-card--overlay .srb-m-card__excerpt {
  font-size: 16px;
  line-height: 24px;
}

/* mcaro-4: Ticker/Marquee */
.srb-m-caro--ticker .srb-m-caro__slide {
  padding: 0 8px;
}
.srb-m-caro--ticker .srb-m-card--compact {
  border-bottom: none;
  padding: 6px 12px;
  background: var(--srb-m-card-bg);
  border-radius: var(--srb-m-radius);
  border: 1px solid var(--srb-m-card-border);
}

/* mcaro-5: Thumbnail strip */
.srb-m-caro--thumbstrip .srb-m-caro__slide {
  padding: 4px calc(var(--srb-m-gap) / 2 + 4px);
}
.srb-m-caro--thumbstrip .srb-m-card--overlay {
  min-height: 180px;
}
.srb-m-caro--thumbstrip .srb-m-card--overlay .entry-title {
  font-size: 13px;
  line-height: 17px;
}
.srb-m-caro--thumbstrip .srb-m-card--overlay .srb-m-card__content {
  padding: 10px 12px;
}
.srb-m-caro--thumbstrip .srb-m-card__meta,
.srb-m-caro--thumbstrip .srb-m-card__excerpt {
  display: none;
}

/* mcaro-6: Split carousel */
.srb-m-caro--split .srb-m-card--split {
  display: flex;
  min-height: 400px;
  background: var(--srb-m-card-bg);
  border-radius: var(--srb-m-radius);
  overflow: hidden;
  box-shadow: var(--srb-m-shadow);
}
.srb-m-caro--split .srb-m-card--split .srb-m-card__image {
  position: relative;
  width: 55%;
  min-height: 400px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.srb-m-caro--split .srb-m-card--split .srb-m-card__image a,
.srb-m-caro--split .srb-m-card--split .srb-m-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.srb-m-caro--split .srb-m-card--split .srb-m-card__content {
  width: 45%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--srb-m-text-primary);
}
.srb-m-caro--split .entry-title {
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 10px 0;
  color: var(--srb-m-text-primary);
}
.srb-m-caro--split .entry-title a {
  color: var(--srb-m-text-primary) !important;
}
.srb-m-caro--split .srb-m-card__meta {
  font-size: 12px;
  color: var(--srb-m-text-secondary);
  margin-bottom: 10px;
}
.srb-m-caro--split .srb-m-card__excerpt {
  font-size: 15px;
  line-height: 22px;
  color: var(--srb-m-text-secondary);
}

/* ========================================
   MODERN POST SLIDER (NEWSFY HERO SET)
   ======================================== */

.srb-m-caro--newsfy-spot .post-wrapper {
  display: flex;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 600px;
  border-radius: var(--srb-m-radius);
}
.srb-m-caro--newsfy-spot .image-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-size: cover;
  background-position: center;
  position: relative;
}
.srb-m-caro--newsfy-spot .image-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 2;
  background-color: rgba(10, 12, 18, 0.25);
  background-image: linear-gradient(180deg, rgba(14,15,19,0) 50%, rgba(13,16,22,0.98) 100%);
}
.srb-m-caro--newsfy-spot-center .image-wrapper::before {
  background-color: rgba(0, 0, 0, 0.16);
  background-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.22) 100%);
}
.srb-m-caro--newsfy-spot .image-wrapper > a,
.srb-m-caro--newsfy-flank .image-wrapper > a {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.srb-m-caro--newsfy-spot .content-wrapper-outer {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 30px;
}
.srb-m-caro--newsfy-spot .content-wrapper {
  position: relative;
  margin: auto;
  height: 100%;
  max-width: calc(var(--container-max-width, 1300px) - 20px);
}
.srb-m-caro--newsfy-spot .content-wrapper-inner {
  width: 700px;
  max-width: 100%;
}
.srb-m-caro--newsfy-spot .rivax-position-center-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.srb-m-caro--newsfy-spot .rivax-position-bottom-left { position: absolute; left: 0; bottom: 0; text-align: left; }
.srb-m-caro--newsfy-spot .rivax-position-center-left { position: absolute; left: 0; top: 50%; transform: translateY(-50%); text-align: left; }
.srb-m-caro--newsfy-spot .entry-title,
.srb-m-caro--newsfy-flank .entry-title {
  margin: 0 0 12px 0;
  font-size: 34px;
  line-height: 1.18;
}
.srb-m-caro--newsfy-spot .entry-title a,
.srb-m-caro--newsfy-flank .entry-title a,
.srb-m-caro--newsfy-spot .meta-wrapper,
.srb-m-caro--newsfy-flank .meta-wrapper,
.srb-m-caro--newsfy-spot .excerpt,
.srb-m-caro--newsfy-flank .excerpt {
  color: #fff !important;
}
.srb-m-caro--newsfy-spot .content-wrapper a,
.srb-m-caro--newsfy-spot .content-wrapper a:hover,
.srb-m-caro--newsfy-spot .content-wrapper a:focus {
  color: #fff !important;
}

.srb-m-caro--newsfy-elastic .post-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--srb-m-radius);
  overflow: hidden;
  background: var(--srb-m-card-bg);
  border: 1px solid var(--srb-m-card-border);
}
.srb-m-caro--newsfy-elastic .image-outer-wrapper {
  width: 100%;
  height: 170px;
}
.srb-m-caro--newsfy-elastic .image-wrapper {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.srb-m-caro--newsfy-elastic .image-wrapper > a {
  position: absolute;
  inset: 0;
}
.srb-m-caro--newsfy-elastic .content-wrapper {
  padding: 12px 12px 10px;
}
.srb-m-caro--newsfy-elastic .entry-title {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 6px;
}
.srb-m-caro--newsfy-elastic .meta-wrapper {
  font-size: 11px;
  color: var(--srb-m-text-secondary);
}
.srb-m-caro--newsfy-elastic .excerpt {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--srb-m-text-secondary);
}
.srb-m-caro--newsfy-elastic .terms-wrapper {
  margin-bottom: 6px;
}

.srb-m-caro--newsfy-flank .post-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 550px;
  background: var(--srb-m-highlight-bg-panel, #2f3440);
  border-radius: var(--srb-m-radius);
}
.srb-m-caro--newsfy-flank-rev .post-wrapper {
  flex-direction: row-reverse;
}
.srb-m-caro--newsfy-flank .content-wrapper {
  width: 35%;
  max-width: 100%;
  flex-grow: 1;
  flex-shrink: 0;
  z-index: 5;
  padding: 50px;
  display: flex;
  overflow: hidden;
}
.srb-m-caro--newsfy-flank .content-wrapper-inner {
  width: 100%;
  margin: auto;
}
.srb-m-caro--newsfy-flank .image-wrapper {
  position: relative;
  display: flex;
  width: 65%;
  background-size: cover;
  background-position: center;
}
.srb-m-caro--newsfy-flank .image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 25, 0.2);
  z-index: 2;
}
.srb-m-slider-thumbs {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.srb-m-slider-thumbs--mslider-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.srb-m-slider-thumbs--mslider-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); display: block; }
.srb-m-slider-thumbs--mslider-3 .slick-list { overflow: hidden; }
.srb-m-slider-thumbs--mslider-3 .slick-track { display: flex; }
.srb-m-slider-thumbs--mslider-3 .slick-slide { height: auto; padding-right: 14px; }
.srb-m-slider-thumbs--mslider-3 .slick-slide > div { height: 100%; }
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 {
  width: calc(100% - 120px);
  max-width: 1080px;
  margin: -95px auto 0;
  padding: 20px;
  display: block;
  position: relative;
  z-index: 25;
  background: #efefef;
  --srb-progress-left: 0px;
  --srb-progress-width: 0px;
  --srb-progress-duration: 5000ms;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #efefef;
  z-index: 30;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--srb-progress-left);
  height: 3px;
  width: var(--srb-progress-width);
  background: var(--srb-m-progress-color, #ef3f3f);
  z-index: 31;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1.srb-progress-animate::after {
  transition: width var(--srb-progress-duration) linear;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-list {
  overflow: hidden;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-track {
  display: flex;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-slide {
  height: auto;
  padding-right: 26px;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-slide:last-child { padding-right: 0; }
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-slide > div {
  height: 100%;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb {
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  display: flex !important;
  flex-direction: row !important;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb::before { content: none; }
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__image {
  display: block;
  min-width: 100px;
  width: 100px;
  height: 100px;
  border-radius: 12px;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__content {
  display: flex;
  flex-direction: column-reverse;
  padding-top: 1px;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__title {
  font-size: 1rem;
  line-height: 1.28;
  color: #191c25;
  font-weight: 700;
}
.srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__date {
  margin-top: 9px;
  font-size: 1rem;
  color: #1e222b;
  opacity: 1;
}
.srb-m-caro--newsfy-spot .terms-wrapper .term-item {
  background: var(--srb-m-main-term-bg, #2f3440);
  color: #fff;
  border-radius: 5px;
}
.srb-m-caro--newsfy-spot .terms-wrapper a {
  display: inline-block;
  padding: 2px 8px;
  background: var(--srb-m-main-term-bg, #2f3440);
  color: #fff !important;
  border-radius: 5px;
  line-height: 1.2;
}
.srb-m-slider-thumbs--mslider-4 {
  position: absolute;
  right: 16px;
  top: 16px;
  bottom: 16px;
  width: min(320px, 32%);
  height: auto;
  overflow: hidden;
  z-index: 45;
  padding: 10px 8px 10px 8px;
  display: flex;
  align-items: center;
}
.srb-m-slider-thumbs--mslider-4 .slick-list {
  height: auto;
  max-height: 100%;
  overflow: hidden;
}
.srb-m-slider-thumbs--mslider-4 .slick-track {
  display: block !important;
}
.srb-m-slider-thumbs--mslider-4 .slick-slide {
  float: none;
  height: auto;
  padding-bottom: 12px;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb {
  position: relative;
  padding: 20px 12px;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(26, 30, 40, 0.42);
  backdrop-filter: blur(4px);
  color: #fff;
  box-shadow: none;
  opacity: 1;
  overflow: hidden;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb.active,
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb:hover {
  box-shadow: none;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: blur(10px) saturate(0.95);
  opacity: 0.62;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,20,0.74) 0%, rgba(8,12,20,0.6) 100%);
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb {
  padding: 20px 12px;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__image {
  display: none;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--srb-m-progress-color, #ef3f3f);
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__title {
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__date {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.2;
  color: #fff;
  opacity: 1;
  position: relative;
  z-index: 1;
}
.srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__content {
  position: relative;
  z-index: 1;
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb.active,
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb:hover {
  box-shadow: none;
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__image {
  position: relative;
  width: 100%;
  height: 120px;
  border-radius: 0;
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.35);
  z-index: 3;
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--srb-m-progress-color, #ef3f3f);
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__content {
  padding: 10px 2px 2px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__title {
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 700;
  color: #161a22;
}
.srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__date {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #2d323b;
  opacity: 1;
}
.srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__image {
  width: 96px;
  height: 72px;
}
.srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__title {
  -webkit-line-clamp: 3;
}
.srb-m-slider-thumb {
  border: 1px solid var(--srb-m-card-border);
}
.srb-m-caro--newsfy-spot-center .post-wrapper .terms-wrapper .date-after-terms,
.srb-m-caro--newsfy-spot-bottom .post-wrapper .terms-wrapper .date-after-terms,
.srb-m-caro--newsfy-spot-inside .post-wrapper .terms-wrapper .date-after-terms {
  color: #fff;
}
.srb-m-caro--newsfy-spot-center .entry-title,
.srb-m-caro--newsfy-spot-center .meta-wrapper,
.srb-m-caro--newsfy-spot-center .excerpt {
  text-align: center;
}
.srb-m-caro--newsfy-spot-inside .entry-title { max-width: 620px; }
.srb-m-caro--newsfy-spot-inside .image-wrapper::before {
  background-color: rgba(0, 0, 0, 0.18);
  background-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.36) 100%);
}
.srb-m-caro--newsfy-spot-inside .content-wrapper-inner {
  max-width: 560px;
}
.srb-m-caro--newsfy-spot-inside .srb-m-caro__track {
  position: relative;
  z-index: 8;
}
.srb-m-caro--newsfy-spot-inside .srb-m-caro__slide .content-wrapper-inner {
  opacity: 0;
  transform: translateX(-16px);
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.srb-m-caro--newsfy-spot-inside .srb-m-caro__slide.slick-active .content-wrapper-inner {
  opacity: 1;
  transform: translateX(0);
}
.srb-m-caro--newsfy-flank .post-wrapper {
  border-radius: 0;
}
.srb-m-caro--newsfy-flank .terms-wrapper .term-item {
  background: transparent;
  color: var(--srb-m-highlight-font-panel, #fff) !important;
}
.srb-m-caro--newsfy-flank .meta-wrapper .reading-time-wrapper {
  display: inline-block;
  margin-left: 12px;
}
.srb-m-caro--newsfy-flank .meta-wrapper .reading-time-wrapper:empty {
  display: none;
}
.srb-m-caro--newsfy-flank .meta-wrapper .date-wrapper,
.srb-m-caro--newsfy-flank .meta-wrapper .reading-time-wrapper {
  color: #dce3f5;
}
.srb-m-caro--newsfy-flank .meta-wrapper i {
  margin-right: 5px;
}
.srb-m-caro--newsfy-flank .excerpt {
  max-width: 560px;
}
.srb-m-caro--newsfy-flank .image-wrapper {
  background-position: center;
}
.srb-m-caro--newsfy-flank .content-wrapper-inner {
  margin: auto;
}
.srb-m-caro--newsfy-flank .entry-title,
.srb-m-caro--newsfy-flank .entry-title a,
.srb-m-caro--newsfy-flank .meta-wrapper,
.srb-m-caro--newsfy-flank .excerpt {
  color: var(--srb-m-highlight-font-panel, #fff) !important;
}
.srb-m-caro--newsfy-flank .excerpt a,
.srb-m-caro--newsfy-flank .excerpt a:hover,
.srb-m-caro--newsfy-flank .excerpt a:focus {
  color: var(--srb-m-highlight-font-panel, #fff) !important;
}
.srb-m-caro--newsfy-flank .meta-wrapper .author-wrapper a,
.srb-m-caro--newsfy-flank .meta-wrapper .date-wrapper,
.srb-m-caro--newsfy-flank .meta-wrapper .entry-date {
  color: var(--srb-m-highlight-font-panel, #fff) !important;
}
.srb-m-caro--newsfy-flank .terms-wrapper a {
  color: var(--srb-m-highlight-font-panel, #fff) !important;
}
.srb-m-caro--newsfy-flank .srb-m-caro__dots--overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  z-index: 40;
  justify-content: flex-end;
}
.srb-m-caro--newsfy-flank .srb-m-caro__dots--overlay .srb-m-caro__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.9);
}
.srb-m-caro--newsfy-flank .srb-m-caro__dots--overlay .srb-m-caro__dot.active {
  background: var(--srb-m-accent-dot, #ef3f3f);
  border-color: var(--srb-m-accent-dot, #ef3f3f);
}
.srb-m-caro--newsfy-flank-rev .srb-m-caro__dots--panel-bottom {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 35%;
  margin: 0;
  z-index: 40;
  justify-content: center;
}
.srb-m-caro--newsfy-flank-rev .srb-m-caro__dots--panel-bottom .srb-m-caro__dot {
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
}
.srb-m-caro--newsfy-flank-rev .srb-m-caro__dots--panel-bottom .srb-m-caro__dot.active {
  background: var(--srb-m-accent-dot, #ef3f3f);
}
.srb-m-caro--newsfy-spot-inside .srb-m-caro__dots--overlay-left-pills {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 46;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.srb-m-caro--newsfy-spot-inside .srb-m-caro__dots--overlay-left-pills .srb-m-caro__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.88);
}
.srb-m-caro--newsfy-spot-inside .srb-m-caro__dots--overlay-left-pills .srb-m-caro__dot.active {
  background: var(--srb-m-accent-dot, #ef3f3f);
  border-color: var(--srb-m-accent-dot, #ef3f3f);
}
.srb-m-slider-thumb {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--srb-m-card-border);
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  background: var(--srb-m-card-bg);
  color: inherit;
  cursor: pointer;
  opacity: 0.82;
  transition: 0.25s ease;
}
.srb-m-slider-thumb.active,
.srb-m-slider-thumb:hover {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--srb-m-highlight-bg);
}
.srb-m-slider-thumb__image {
  width: 84px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}
.srb-m-slider-thumb__content {
  display: block;
  min-width: 0;
}
.srb-m-slider-thumb__date {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  margin-bottom: 2px;
}
.srb-m-slider-thumb__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
}

/* Modern arrow navigation */
.srb-m-caro__nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  padding: 0 8px;
}
.srb-m-caro__arrow {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: background var(--srb-m-transition), color var(--srb-m-transition);
  color: #333;
  font-size: 18px;
}
.srb-m-caro__arrow:hover {
  background: var(--srb-m-highlight-bg);
  color: var(--srb-m-highlight-font);
}
.srb-m-caro--newsfy-flank-rev .srb-m-caro__nav-arrows--style6 {
  top: 18px;
  right: 18px;
  left: auto;
  transform: none;
  width: auto;
  padding: 0;
  gap: 8px;
  justify-content: flex-end;
  z-index: 45;
}
.srb-m-caro--newsfy-flank-rev .srb-m-caro__nav-arrows--style6 .srb-m-caro__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: none;
}
.srb-m-caro--newsfy-flank-rev .srb-m-caro__nav-arrows--style6 .srb-m-caro__arrow:hover {
  background: rgba(0,0,0,0.55);
  color: #fff;
}
.srb-m-dark .srb-m-caro__arrow {
  background: rgba(30,30,30,0.9);
  color: #eee;
}
.srb-m-dark .srb-m-caro__arrow:hover {
  background: var(--srb-m-highlight-bg);
  color: var(--srb-m-highlight-font);
}

/* Modern dot navigation */
.srb-m-caro__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.srb-m-caro__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  padding: 0 !important;
  transition: background var(--srb-m-transition);
}
.srb-m-caro__dot.active {
  background: var(--srb-m-accent-dot, #000);
}

/* Progress bar navigation (segmented pills) */
.srb-m-caro__progress {
  display: flex;
  gap: 4px;
  margin-top: 14px;
}
.srb-m-caro__progress-pill {
  flex: 1;
  height: 4px;
  background: var(--srb-m-card-border);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.srb-m-caro__progress-pill span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--srb-m-accent-dot, #000);
  border-radius: 2px;
  transition: none;
}
.srb-m-caro__progress-pill.past span {
  width: 100%;
  transition: none;
}
.srb-m-caro__progress-pill.active span {
  width: 100%;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

@media screen and (max-width: 991px) {
  /* Featured layouts */
  .srb-m-feat--side-l,
  .srb-m-feat--side-r {
    grid-template-columns: 1fr 1fr;
  }
  .srb-m-feat--side-l .srb-m-featured,
  .srb-m-feat--side-r .srb-m-featured {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 300px;
  }
  .srb-m-feat--side-r .srb-m-secondary {
    grid-column: auto;
  }
  .srb-m-feat--center {
    grid-template-columns: 1fr 2fr;
  }
  .srb-m-feat--grid22 {
    grid-template-columns: 1fr 1fr;
  }
  .srb-m-feat--grid22 .srb-m-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .srb-m-feat--hero4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .srb-m-feat--llist,
  .srb-m-feat--rlist {
    grid-template-columns: 1fr;
  }
  .srb-m-feat--llist .srb-m-featured,
  .srb-m-feat--rlist .srb-m-featured {
    grid-row: auto;
    grid-column: auto;
    min-height: 300px;
  }
  .srb-m-feat--rlist .srb-m-secondary {
    grid-column: auto;
  }

  /* Grid layouts */
  .srb-m-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Overlay layouts */
  .srb-m-over--3col,
  .srb-m-over--hover {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Magazine layouts */
  .srb-m-mag--classic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .srb-m-mag--classic .srb-m-mag-pos-1 {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .srb-m-mag--classic .srb-m-mag-pos-2,
  .srb-m-mag--classic .srb-m-mag-pos-3,
  .srb-m-mag--classic .srb-m-mag-pos-4,
  .srb-m-mag--classic .srb-m-mag-pos-5,
  .srb-m-mag--classic .srb-m-mag-pos-6 {
    grid-column: auto;
    grid-row: auto;
  }
  .srb-m-mag--newspaper {
    grid-template-columns: repeat(2, 1fr);
  }
  .srb-m-mag--newspaper .srb-m-mag-pos-1 {
    grid-column: 1 / -1;
  }
  .srb-m-mag--newspaper .srb-m-mag-pos-2,
  .srb-m-mag--newspaper .srb-m-mag-pos-3 {
    grid-row: auto;
  }
  .srb-m-mag--mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .srb-m-mag--mosaic .srb-m-mag-pos-1,
  .srb-m-mag--mosaic .srb-m-mag-pos-2,
  .srb-m-mag--mosaic .srb-m-mag-pos-3,
  .srb-m-mag--mosaic .srb-m-mag-pos-4,
  .srb-m-mag--mosaic .srb-m-mag-pos-5,
  .srb-m-mag--mosaic .srb-m-mag-pos-6,
  .srb-m-mag--mosaic .srb-m-mag-pos-7,
  .srb-m-mag--mosaic .srb-m-mag-pos-8 {
    grid-column: auto;
    grid-row: auto;
  }
  .srb-m-mag--mosaic .srb-m-mag-pos-1 {
    grid-column: 1 / -1;
  }
  /* New grid layouts */
  .srb-m-grid--5col { grid-template-columns: repeat(3, 1fr); }
  .srb-m-grid--mixed > :first-child { grid-column: span 2; min-height: 300px; }
  /* New overlay layouts */
  .srb-m-over--3equal { grid-template-columns: repeat(2, 1fr); }
  /* New featured layouts */
  .srb-m-feat--3equal { grid-template-columns: repeat(2, 1fr); }
  .srb-m-feat--heronums { grid-template-columns: 1fr; }
  .srb-m-feat--heronums .srb-m-featured { grid-row: auto; min-height: 300px; }
  .srb-m-feat--stacked .srb-m-stacked-wide { grid-column: 1 / -1; }
  /* New magazine layouts */
  .srb-m-mag--catbar { grid-template-columns: repeat(2, 1fr); }
  .srb-m-mag--heroside { grid-template-columns: 1fr; }
  .srb-m-mag--heroside .srb-m-mag-pos-1 { grid-row: auto; min-height: 300px; }
  /* Carousel responsive */
  .srb-m-caro--hero .srb-m-card--overlay { min-height: 400px; }
  .srb-m-caro--split .srb-m-card--split { min-height: 350px; }
  .srb-m-caro--split .srb-m-card--split .srb-m-card__image { min-height: 350px; }
  .srb-m-caro--newsfy-spot .post-wrapper { min-height: 430px; }
  .srb-m-caro--newsfy-elastic .image-outer-wrapper { height: 150px; }
  .srb-m-caro--newsfy-elastic .entry-title { font-size: 14px; }
  .srb-m-caro--newsfy-flank .post-wrapper { min-height: 430px; }
  .srb-m-caro--newsfy-flank .content-wrapper { width: 100%; padding: 26px; }
  .srb-m-caro--newsfy-flank .image-wrapper { width: 100%; }
  .srb-m-caro--newsfy-flank-rev .srb-m-caro__dots--panel-bottom { width: 100%; right: 0; bottom: 14px; }
  .srb-m-caro--newsfy-flank-rev .srb-m-caro__nav-arrows--style6 { top: 14px; right: 14px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 { width: calc(100% - 40px); margin-top: -80px; padding: 16px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-slide { padding-right: 18px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__image { width: 84px; height: 84px; }
  .srb-m-slider-thumbs--mslider-4 { right: 12px; top: 12px; bottom: 12px; width: min(300px, 34%); height: auto; padding: 8px 6px; align-items: center; }
}

@media screen and (max-width: 767px) {
  /* All grids collapse to single column */
  .srb-m-grid--2col,
  .srb-m-grid--3col,
  .srb-m-grid--4col {
    grid-template-columns: 1fr;
  }

  /* Featured layouts */
  .srb-m-feat--side-l,
  .srb-m-feat--side-r,
  .srb-m-feat--hero3,
  .srb-m-feat--hero4,
  .srb-m-feat--grid22,
  .srb-m-feat--center,
  .srb-m-feat--banner3 {
    grid-template-columns: 1fr;
  }
  .srb-m-feat--side-l .srb-m-featured,
  .srb-m-feat--side-r .srb-m-featured,
  .srb-m-feat--grid22 .srb-m-featured {
    grid-row: auto;
    grid-column: auto;
  }
  .srb-m-feat--side-r .srb-m-secondary,
  .srb-m-feat--rlist .srb-m-secondary {
    grid-column: auto;
  }

  /* Overlay layouts */
  .srb-m-over--2col,
  .srb-m-over--3col,
  .srb-m-over--hover {
    grid-template-columns: 1fr;
  }
  .srb-m-over--mosaic {
    grid-template-columns: 1fr;
  }
  .srb-m-over--mosaic .srb-m-card--overlay:first-child {
    grid-row: auto;
  }
  .srb-m-over--banner .srb-m-card--overlay {
    min-height: 350px;
  }
  .srb-m-over--banner .srb-m-card--overlay .entry-title {
    font-size: 24px;
    line-height: 28px;
  }
  .srb-m-over--banner .srb-m-card--overlay .srb-m-card__content {
    padding: 20px;
  }

  /* Hover reveal: always show on mobile */
  .srb-m-over--hover .srb-m-card--overlay .srb-m-card__content {
    opacity: 1;
  }

  /* List layouts */
  .srb-m-list--alt .srb-m-card--split,
  .srb-m-list--alt .srb-m-card--split:nth-child(even) {
    flex-direction: column;
  }
  .srb-m-list--alt .srb-m-card--split .srb-m-card__image {
    width: 100%;
    min-height: 200px;
  }
  .srb-m-list--split .srb-m-card--split,
  .srb-m-list--split .srb-m-card--split:nth-child(even) {
    flex-direction: column;
  }
  .srb-m-list--split .srb-m-card--split .srb-m-card__image {
    width: 100%;
  }
  .srb-m-list--split .srb-m-card--split .srb-m-card__content {
    width: 100%;
  }

  /* Accent cards stack */
  .srb-m-card--accent {
    flex-direction: column;
  }
  .srb-m-card--accent .srb-m-card__image {
    width: 100%;
    min-height: 180px;
  }

  /* Magazine layouts */
  .srb-m-mag--classic,
  .srb-m-mag--editorial,
  .srb-m-mag--newspaper,
  .srb-m-mag--zpattern {
    grid-template-columns: 1fr;
  }
  .srb-m-mag--classic .srb-m-mag-pos-1,
  .srb-m-mag--classic .srb-m-mag-pos-2,
  .srb-m-mag--classic .srb-m-mag-pos-3,
  .srb-m-mag--classic .srb-m-mag-pos-4,
  .srb-m-mag--classic .srb-m-mag-pos-5,
  .srb-m-mag--classic .srb-m-mag-pos-6 {
    grid-column: auto;
    grid-row: auto;
  }
  .srb-m-mag--newspaper .srb-m-mag-pos-1 {
    grid-column: auto;
  }
  .srb-m-mag--editorial .srb-m-mag-wide {
    grid-column: auto;
  }
  .srb-m-mag--sidebar {
    grid-template-columns: 1fr;
  }
  .srb-m-mag--mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .srb-m-mag--mosaic .srb-m-mag-pos-1,
  .srb-m-mag--mosaic .srb-m-mag-pos-2,
  .srb-m-mag--mosaic .srb-m-mag-pos-3,
  .srb-m-mag--mosaic .srb-m-mag-pos-4,
  .srb-m-mag--mosaic .srb-m-mag-pos-5,
  .srb-m-mag--mosaic .srb-m-mag-pos-6,
  .srb-m-mag--mosaic .srb-m-mag-pos-7,
  .srb-m-mag--mosaic .srb-m-mag-pos-8 {
    grid-column: auto;
    grid-row: auto;
  }
  .srb-m-mag--mosaic .srb-m-card--overlay {
    min-height: 250px;
  }
  /* New grid layouts */
  .srb-m-grid--5col { grid-template-columns: 1fr; }
  .srb-m-grid--mixed { grid-template-columns: 1fr; }
  .srb-m-grid--mixed > :first-child { grid-column: auto; grid-row: auto; }
  /* New overlay layouts */
  .srb-m-over--gradient, .srb-m-over--rounded, .srb-m-over--3equal { grid-template-columns: 1fr; }
  .srb-m-over--portrait { grid-template-columns: 1fr; }
  .srb-m-over--portrait .srb-m-card--overlay { min-height: 350px; }
  /* New featured layouts */
  .srb-m-feat--herocenter .srb-m-card--overlay { min-height: 350px; }
  .srb-m-feat--herocenter .srb-m-card--overlay .entry-title { font-size: 26px; line-height: 30px; }
  .srb-m-feat--fullbanner .srb-m-card--overlay { min-height: 400px; }
  .srb-m-feat--fullbanner .srb-m-card--overlay .entry-title { font-size: 28px; line-height: 34px; }
  .srb-m-feat--3equal { grid-template-columns: 1fr; }
  .srb-m-feat--heronums { grid-template-columns: 1fr; }
  /* New magazine layouts */
  .srb-m-mag--catbar, .srb-m-mag--widerow { grid-template-columns: 1fr; }
  .srb-m-mag--widerow .srb-m-mag-wide { grid-column: auto; }
  .srb-m-mag--heroside { grid-template-columns: 1fr; }
  .srb-m-mag--heroside .srb-m-mag-pos-1 { grid-row: auto; }
  /* New list layouts */
  .srb-m-list--zigzag .srb-m-card--split,
  .srb-m-list--zigzag .srb-m-card--split:nth-child(even) { flex-direction: column; }
  .srb-m-list--zigzag .srb-m-card--split .srb-m-card__image { width: 100%; min-height: 220px; }
  .srb-m-list--zigzag .srb-m-card--split .srb-m-card__content { width: 100%; }
  /* Carousel responsive */
  .srb-m-caro--hero .srb-m-card--overlay { min-height: 300px; }
  .srb-m-caro--hero .srb-m-card--overlay .entry-title { font-size: 24px; line-height: 28px; }
  .srb-m-caro--hero .srb-m-card--overlay .srb-m-card__content { padding: 20px; }
  .srb-m-caro--split .srb-m-card--split,
  .srb-m-caro--split .srb-m-card--split:nth-child(even) { flex-direction: column; }
  .srb-m-caro--split .srb-m-card--split .srb-m-card__image { width: 100%; min-height: 250px; }
  .srb-m-caro--split .srb-m-card--split .srb-m-card__content { width: 100%; }
}

@media screen and (max-width: 546px) {
  .srb-m-card--overlay {
    min-height: 220px;
  }
  .srb-m-card--overlay .entry-title {
    font-size: 16px !important;
    line-height: 20px !important;
  }
  .srb-m-card--clean .srb-m-card__image,
  .srb-m-card--minimal .srb-m-card__image {
    height: 180px;
  }
  .srb-m-list--large .srb-m-card--overlay {
    min-height: 250px;
  }
  .srb-m-over--single .srb-m-card--overlay {
    min-height: 300px;
  }
  .srb-m-over--banner .srb-m-card--overlay {
    min-height: 280px;
  }
  .srb-m-feat--side-l .srb-m-featured,
  .srb-m-feat--side-r .srb-m-featured,
  .srb-m-feat--hero3 .srb-m-featured,
  .srb-m-feat--hero4 .srb-m-featured,
  .srb-m-feat--banner3 .srb-m-featured,
  .srb-m-feat--herolist .srb-m-featured,
  .srb-m-feat--llist .srb-m-featured,
  .srb-m-feat--rlist .srb-m-featured {
    min-height: 260px;
  }
  .srb-m-card--rounded .srb-m-card__image { height: 180px; }
  .srb-m-card--fullbleed { min-height: 240px; }
  .srb-m-card--gradient { min-height: 220px; }
  .srb-m-over--portrait .srb-m-card--overlay { min-height: 280px; }
  .srb-m-feat--herocenter .srb-m-card--overlay { min-height: 300px; }
  .srb-m-feat--fullbanner .srb-m-card--overlay { min-height: 320px; }
  .srb-m-caro--hero .srb-m-card--overlay { min-height: 260px; }
  .srb-m-caro--newsfy-spot .post-wrapper,
  .srb-m-caro--newsfy-flank .post-wrapper { min-height: 300px; }
  .srb-m-caro--newsfy-flank-rev .post-wrapper { min-height: 430px; }
  .srb-m-caro--newsfy-flank-rev .content-wrapper { padding: 22px 20px 64px; }
  .srb-m-caro--newsfy-spot-inside .post-wrapper { min-height: 500px; }
  .srb-m-caro--newsfy-spot .entry-title,
  .srb-m-caro--newsfy-flank .entry-title { font-size: 24px; line-height: 30px; }
  .srb-m-caro--newsfy-flank-rev .srb-m-caro__dots--panel-bottom { bottom: 10px; }
  .srb-m-caro--newsfy-flank-rev .srb-m-caro__dots--panel-bottom .srb-m-caro__dot { width: 22px; height: 7px; }
  .srb-m-caro--newsfy-spot-inside .content-wrapper-inner {
    width: 100%;
    max-width: calc(100% - 8px);
  }
  .srb-m-caro--newsfy-spot-inside .rivax-position-center-left {
    top: 42%;
  }
  .srb-m-caro--newsfy-spot-inside .entry-title,
  .srb-m-caro--newsfy-spot-inside .entry-title a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .srb-m-caro--newsfy-spot .content-wrapper-outer { padding: 20px; }
  .srb-m-caro--newsfy-elastic .image-outer-wrapper { height: 130px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 { width: 100%; margin-top: 0; padding: 10px; display: block; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-slide { padding-right: 10px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb { margin: 0; border-radius: 8px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__image { width: 64px; min-width: 64px; height: 64px; border-radius: 8px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__title { font-size: 15px; line-height: 1.25; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__date { margin-top: 6px; font-size: 12px; }
  .srb-m-slider-thumbs--mslider-3 .slick-slide { padding-right: 10px; }
  .srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__image { height: 90px; }
  .srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__title { font-size: 15px; line-height: 1.25; }
  .srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__date { margin-top: 6px; font-size: 11px; }
  .srb-m-caro--newsfy-spot-inside .content-wrapper-outer {
    padding-bottom: 275px;
  }
  .srb-m-slider-thumbs--mslider-4 {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    width: auto;
    height: auto;
    max-height: none;
    margin-top: 0;
    padding: 0;
    z-index: 45;
    display: block;
    overflow: hidden;
  }
  .srb-m-slider-thumbs--mslider-4 .slick-list {
    overflow: hidden;
  }
  .srb-m-slider-thumbs--mslider-4 .slick-track {
    display: flex !important;
  }
  .srb-m-slider-thumbs--mslider-4 .slick-slide {
    float: left;
    height: auto;
    padding-bottom: 0;
    padding-right: 10px;
  }
  .srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb { border-radius: 10px; padding: 20px 12px; padding-top: 20px !important; padding-bottom: 20px !important; }
  .srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__title { font-size: 15px; line-height: 1.25; }
  .srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__date { margin-top: 6px; font-size: 11px; }
  .srb-m-slider-thumbs--mslider-1,
  .srb-m-slider-thumbs--mslider-3 { grid-template-columns: 1fr; }
  .srb-m-slider-thumb__image { width: 72px; height: 54px; }
}

@media screen and (max-width: 450px) {
  .srb-m-list--numbered .srb-m-card__number {
    font-size: 28px;
    min-width: 35px;
  }
  .srb-m-list--numbered .srb-m-card__image {
    width: 70px;
    height: 55px;
  }
  .srb-m-list--timeline {
    padding-left: 20px;
  }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 { padding: 8px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .slick-slide { padding-right: 8px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb { gap: 8px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__image { width: 56px; min-width: 56px; height: 56px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__title { font-size: 14px; }
  .srb-m-caro--newsfy-spot-center + .srb-m-slider-thumbs--mslider-1 .srb-m-slider-thumb__date { font-size: 11px; }
  .srb-m-slider-thumbs--mslider-4 .slick-slide { padding-right: 8px; }
  .srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb { padding: 20px 10px; padding-top: 20px !important; padding-bottom: 20px !important; }
  .srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__title { font-size: 14px; }
  .srb-m-slider-thumbs--mslider-4 .srb-m-slider-thumb__date { font-size: 10px; }
  .srb-m-slider-thumbs--mslider-3 .slick-slide { padding-right: 8px; }
  .srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__image { height: 80px; }
  .srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__title { font-size: 14px; }
  .srb-m-slider-thumbs--mslider-3 .srb-m-slider-thumb__date { font-size: 10px; }
}
