/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 17 2026 | 20:23:58 */
/*==============================================================
  SIC — Widgets
  Split from rule 2969 "SIC Page CSS - Claude" into structured files.
  Scope: SIC posts (body.category-sic); selectors are guarded, safe site-wide.
  Progress meter, progress bar, countdown timer, image carousel, scoped swiper replacement.
==============================================================*/
/*==============================================================
  ╔══════════════════════════════════════════════════════════╗
  ║   PART 2 — SIC SPECIAL WIDGETS (optimized & integrated)  ║
  ╚══════════════════════════════════════════════════════════╝
  Glass-morphism progress meter, countdown timer, and image
  carousel that live inside the dark .sicpostheader / hero box.
  Optimizations applied to the original widgets stylesheet:
    - Consolidated duplicated rules across responsive blocks
    - Merged the standalone "🌙 COUNTDOWN — ENHANCED GLASS"
      block into the base rule (it set identical values)
    - Removed the unscoped global .swiper / .carousel overlay
      block — it was breaking the Swiper donate form on every
      page (the SIC widgets file shipped with `.swiper::before`
      and `.swiper *` rules that affect ANY .swiper, including
      Gravity Forms multi-page navigation). Replaced with a
      scoped variant that only targets ACTUAL image carousels.
    - Added the keyframes (sicShimmer, sicPulse, sicCountdown,
      sicFadeInUp) that were referenced but missing.
==============================================================*/

/*--------------------------------------------------------------
   W-0. SHARED ANIMATIONS (referenced by multiple widgets)
--------------------------------------------------------------*/
@keyframes sicShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* legacy alias used by .gfpm-fill::after */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes sicPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes sicCountdown {
  0%, 100% { opacity: 1; }
  50%      { opacity: .92; }
}
@keyframes sicFadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/*--------------------------------------------------------------
   W-1. PROGRESS METER  (.progressmeter — light theme card)
--------------------------------------------------------------*/
body.category-sic .progressmeter {
  width: 100%;                  /* container parent (.progresstimerbox) handles row layout */
  text-align: center;
  padding: 20px 18px;
  background: var(--sic-card);
  border: 1px solid var(--sic-line);
  border-radius: var(--sic-radius-lg);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .25s var(--sic-ease-out), box-shadow .25s var(--sic-ease-out),
              border-color .25s var(--sic-ease-out);
  position: relative;
  overflow: hidden;
}
body.category-sic .progressmeter::before { content: none; }
body.category-sic .progressmeter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(48,135,176,.10);
  border-color: rgba(48,135,176,.30);
}
body.category-sic .progressmeter .progressmeterheader {
  text-align: center;
  font-size: 1.85em;
  font-weight: 800;
  color: var(--sic-primary);
  margin-bottom: 4px;
  line-height: 1.2;
  text-shadow: none;
}
body.category-sic .progressmeter .progressmetersubheader {
  text-align: center;
  font-size: 0.9rem;
  color: var(--sic-muted);
  margin-bottom: 14px;
  font-weight: 500;
  text-shadow: none;
}
body.category-sic .progressmeter > br { display: none; }

/*--------------------------------------------------------------
   W-2. PROGRESS BAR (gravity forms progress meter + GFPM custom)
   Light theme — soft track, brand gradient fill.
--------------------------------------------------------------*/
body.category-sic .gf_progress_meter_wrapper,
body.category-sic [class*="progress-meter"] {
  width: 100%;
  margin-top: 12px;
}
body.category-sic .gf_progress_meter {
  width: 100%;
  height: 10px;
  background: var(--sic-surface-2);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
body.category-sic .gf_progress_meter_bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sic-primary), var(--sic-accent));
  border-radius: 9999px;
  transition: width 1s var(--sic-ease-out);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
body.category-sic .gf_progress_meter_bar::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: sicShimmer 2.4s infinite;
}

/* GFPM custom bar (the structure used in the sample DOM) */
body.category-sic .gfpm-container {
  font-family: inherit;
  margin-top: 10px;
  width: 100%;
}
body.category-sic .gfpm-meter {
  height: 10px;
  border-radius: 9999px;
  background-color: var(--sic-surface-2);
  overflow: hidden;
  margin-bottom: 8px;
  width: 100%;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
body.category-sic .gfpm-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sic-primary), var(--sic-accent));
  width: 0;
  transition: width .4s ease-in-out;
  border-radius: 9999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
  position: relative;
}
body.category-sic .gfpm-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: sicShimmer 2.4s infinite;
}
body.category-sic .gfpm-caption,
body.category-sic .gfpm-goal {
  display: inline-block;
  width: 49%;
  font-size: 0.85rem;
  color: var(--sic-muted);
}
body.category-sic .gfpm-caption { text-align: left;  float: left;  }
body.category-sic .gfpm-goal    { text-align: right; float: right; }
body.category-sic .gfpm-caption-value,
body.category-sic .gfpm-goal-value {
  font-weight: 700;
  color: var(--sic-text);
  text-shadow: none;
}
body.category-sic .gfpm-caption-label,
body.category-sic .gfpm-goal-label {
  font-weight: 600;
  color: var(--sic-muted);
}
/* Clearfix after the floats so the next element doesn't tuck under */
body.category-sic .gfpm-container::after {
  content: "";
  display: table;
  clear: both;
}

/*--------------------------------------------------------------
   W-3. COUNTDOWN TIMER (.countdowntimer — light theme card)
--------------------------------------------------------------*/
body.category-sic .countdowntimer {
  width: 100%;
  text-align: center;
  padding: 18px 14px;
  background: var(--sic-card);
  border: 1px solid var(--sic-line);
  border-radius: var(--sic-radius-lg);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .25s var(--sic-ease-out), box-shadow .25s var(--sic-ease-out),
              border-color .25s var(--sic-ease-out);
  position: relative;
  overflow: hidden;
}
body.category-sic .countdowntimer::before { content: none; }
body.category-sic .countdowntimer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(48,135,176,.10);
  border-color: rgba(48,135,176,.30);
}
body.category-sic .countdowntimer .countdowntimerheader {
  display: inline-block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sic-muted);
  margin-bottom: 10px;
  text-shadow: none;
  position: relative;
}
body.category-sic .countdowntimer > br { display: none; }

/* Optional gradient header text */
body.category-sic .countdowntimer .countdowntimerheader.gradient-text {
  background: linear-gradient(135deg, var(--sic-primary) 0%, var(--sic-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Segments grid */
body.category-sic .countdown-timer,
body.category-sic [id^="countdown-timer-"] {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

body.category-sic .countdown-segment,
body.category-sic .countdowntimer .countdown-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 10px 6px !important;
  background: var(--sic-surface-2) !important;
  border: 1px solid var(--sic-line-soft) !important;
  border-radius: var(--sic-radius) !important;
  min-width: 0 !important;
  box-shadow: none !important;
  flex: 1 1 0 !important;
  transition: transform .2s var(--sic-ease-out), background .2s var(--sic-ease-out),
              border-color .2s var(--sic-ease-out) !important;
  position: relative !important;
  overflow: hidden !important;
}
body.category-sic .countdown-segment::after { content: none; }
body.category-sic .countdown-segment:hover,
body.category-sic .countdowntimer .countdown-section:hover {
  background: var(--sic-primary-soft) !important;
  transform: translateY(-1px) !important;
  border-color: rgba(48,135,176,.30) !important;
  box-shadow: 0 4px 10px rgba(48,135,176,.10) !important;
}

body.category-sic .countdown-number,
body.category-sic .countdown-days,
body.category-sic .countdown-hours,
body.category-sic .countdown-minutes,
body.category-sic .countdown-seconds,
body.category-sic .countdowntimer .countdown-amount {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--sic-primary) !important;
  line-height: 1 !important;
  display: block !important;
  text-shadow: none !important;
  animation: none !important;
}
body.category-sic .countdown-label,
body.category-sic .countdowntimer .countdown-period {
  font-size: 0.6rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--sic-muted) !important;
  margin-top: 4px !important;
  display: block !important;
  text-shadow: none !important;
}

body.category-sic .countdowntimer .countdown-row {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* Countdown urgent / expired states */
body.category-sic .countdowntimer.urgent {
  animation: sicPulse 2s ease-in-out infinite;
}
body.category-sic .countdowntimer.urgent .countdown-number,
body.category-sic .countdowntimer.urgent .countdown-amount {
  color: var(--sic-danger) !important;
  text-shadow: none !important;
}
body.category-sic .countdowntimer.expired { opacity: .7; }
body.category-sic .countdowntimer.expired .countdown-number,
body.category-sic .countdowntimer.expired .countdown-amount {
  color: var(--sic-muted) !important;
  text-shadow: none !important;
  animation: none !important;
}
body.category-sic .countdowntimer.expired .countdown-segment,
body.category-sic .countdowntimer.expired .countdown-section {
  background: var(--sic-surface-3) !important;
}

/* Separator (between segments) */
body.category-sic .countdown-separator {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sic-primary);
  opacity: .5;
  animation: sicPulse 1s ease-in-out infinite;
  text-shadow: none;
}
@media (max-width: 480px) {
  body.category-sic .countdown-separator { font-size: 1rem; }
}

/* Loading shimmer */
body.category-sic .countdowntimer.loading { position: relative; overflow: hidden; }
body.category-sic .countdowntimer.loading::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(48,135,176,.08), transparent);
  animation: sicShimmer 1.5s infinite;
}

/*--------------------------------------------------------------
   W-4. WIDGET RESPONSIVE — DESKTOP / TABLET / MOBILE
   (consolidated from the multi-block version in the original)
--------------------------------------------------------------*/
@media (min-width: 1024px) {
  body.category-sic .progressmeter .progressmeterheader { font-size: 2em; }
  body.category-sic .countdowntimer { padding: 22px 16px; }
  body.category-sic .countdowntimer .countdowntimerheader {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }
  body.category-sic .countdown-timer,
  body.category-sic [id^="countdown-timer-"] { gap: 8px !important; flex-wrap: nowrap !important; }
  body.category-sic .countdown-segment,
  body.category-sic .countdowntimer .countdown-section {
    padding: 12px 6px !important;
  }
  body.category-sic .countdown-number,
  body.category-sic .countdown-days,
  body.category-sic .countdown-hours,
  body.category-sic .countdown-minutes,
  body.category-sic .countdown-seconds,
  body.category-sic .countdowntimer .countdown-amount { font-size: 1.5rem !important; }
  body.category-sic .countdown-label,
  body.category-sic .countdowntimer .countdown-period {
    font-size: 0.65rem !important;
    letter-spacing: 0.04em !important;
  }
  body.category-sic .gfpm-caption,
  body.category-sic .gfpm-goal { font-size: 0.9rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.category-sic .progressmeter,
  body.category-sic .countdowntimer { padding: 20px 16px; }
  body.category-sic .countdowntimer .countdowntimerheader { font-size: 0.9rem; }
  body.category-sic .countdown-timer,
  body.category-sic [id^="countdown-timer-"] { gap: 8px !important; }
  body.category-sic .countdown-segment,
  body.category-sic .countdowntimer .countdown-section {
    padding: 10px 8px !important;
  }
  body.category-sic .countdown-number,
  body.category-sic .countdown-days,
  body.category-sic .countdown-hours,
  body.category-sic .countdown-minutes,
  body.category-sic .countdown-seconds,
  body.category-sic .countdowntimer .countdown-amount { font-size: 1.5rem !important; }
  body.category-sic .countdown-label,
  body.category-sic .countdowntimer .countdown-period { font-size: 0.65rem !important; }
  body.category-sic .gfpm-caption,
  body.category-sic .gfpm-goal { font-size: 0.8rem; }
}

@media (max-width: 767px) {
  body.category-sic .progressmeter,
  body.category-sic .countdowntimer {
    padding: 20px 16px;
    margin-bottom: 0;
  }
  body.category-sic .progressmeter .progressmeterheader { font-size: 1.75em; }
  body.category-sic .countdowntimer .countdowntimerheader {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  body.category-sic .countdown-timer,
  body.category-sic [id^="countdown-timer-"] { gap: 8px !important; }
  body.category-sic .countdown-segment,
  body.category-sic .countdowntimer .countdown-section {
    padding: 10px 12px !important;
    min-width: 50px !important;
  }
  body.category-sic .countdown-number,
  body.category-sic .countdown-days,
  body.category-sic .countdown-hours,
  body.category-sic .countdown-minutes,
  body.category-sic .countdown-seconds,
  body.category-sic .countdowntimer .countdown-amount {
    font-size: 1.35rem !important;
    text-shadow: none !important;
  }
  body.category-sic .countdown-label,
  body.category-sic .countdowntimer .countdown-period { font-size: 0.6rem !important; }
  body.category-sic .countdowntimer .countdown-row { gap: 8px !important; flex-wrap: wrap !important; }

  /* gfpm caption/goal — center, no float on mobile */
  body.category-sic .gfpm-caption,
  body.category-sic .gfpm-goal {
    white-space: nowrap;
    display: flex !important;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
    width: auto;
    float: none;
    text-align: center;
    font-size: 0.75rem;
  }
  body.category-sic .gfpm-caption-label,
  body.category-sic .gfpm-goal-label,
  body.category-sic .gfpm-caption-value,
  body.category-sic .gfpm-goal-value { white-space: nowrap; }
}

@media (max-width: 480px) {
  body.category-sic .progressmeter,
  body.category-sic .countdowntimer {
    padding: 18px 14px;
    border-radius: 16px;
  }
  body.category-sic .progressmeter .progressmeterheader { font-size: 1.5rem; }
  body.category-sic .progressmeter .progressmetersubheader { font-size: 0.8rem; }
  body.category-sic .countdowntimer .countdowntimerheader {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  body.category-sic .countdown-timer,
  body.category-sic [id^="countdown-timer-"] { gap: 6px !important; }
  body.category-sic .countdown-segment,
  body.category-sic .countdowntimer .countdown-section {
    padding: 8px 10px !important;
    min-width: 44px !important;
    border-radius: 8px !important;
  }
  body.category-sic .countdown-number,
  body.category-sic .countdown-days,
  body.category-sic .countdown-hours,
  body.category-sic .countdown-minutes,
  body.category-sic .countdown-seconds,
  body.category-sic .countdowntimer .countdown-amount { font-size: 1.15rem !important; }
  body.category-sic .countdown-label,
  body.category-sic .countdowntimer .countdown-period {
    font-size: 0.55rem !important;
    letter-spacing: 0.03em !important;
  }
  body.category-sic .gfpm-meter { height: 10px; }
}

@media (max-width: 380px) {
  body.category-sic .countdowntimer { padding: 14px 10px; }
  body.category-sic .countdown-timer,
  body.category-sic [id^="countdown-timer-"] { gap: 4px !important; }
  body.category-sic .countdown-segment,
  body.category-sic .countdowntimer .countdown-section {
    padding: 6px 8px !important;
    min-width: 40px !important;
  }
  body.category-sic .countdown-number,
  body.category-sic .countdown-days,
  body.category-sic .countdown-hours,
  body.category-sic .countdown-minutes,
  body.category-sic .countdown-seconds,
  body.category-sic .countdowntimer .countdown-amount { font-size: 1rem !important; }
  body.category-sic .countdown-label,
  body.category-sic .countdowntimer .countdown-period { font-size: 0.5rem !important; }
  body.category-sic .gfpm-caption,
  body.category-sic .gfpm-goal { font-size: 0.7rem; gap: 3px; }
}

/*--------------------------------------------------------------
   W-5. CUSTOM IMAGE CAROUSEL (.custom-carousel-wrapper)
   Lives in the description / .sicimagecarousel area on a light
   background (NOT inside the dark hero).
--------------------------------------------------------------*/
body.category-sic .custom-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--sic-card);
  border: 1px solid var(--sic-border);
  border-radius: var(--sic-radius-xl);
  box-shadow: var(--sic-shadow-md);
  animation: sicFadeInUp .6s var(--sic-ease-out) .2s both;
}
body.category-sic .custom-carousel-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sic-accent), var(--sic-primary));
  border-radius: 0 0 3px 3px;
  z-index: 5;
}
body.category-sic .custom-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--sic-radius-xl);
  background: var(--sic-surface-2);
}
/* Slides: the carousel JS toggles slides via inline style="display: block|none"
   on each slide (no .active class on the slide itself). Don't gate opacity
   on .active — just let display do the work. */
body.category-sic .custom-carousel-slide {
  text-align: center;
  opacity: 1;
}
body.category-sic .custom-carousel-slide.active {
  display: block;
  opacity: 1;
}
@keyframes sicCarouselFadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}
/* IMG: override global .carousel/.swiper rules that force cover/100% height */
body.category-sic .custom-carousel-wrapper .custom-carousel-slide img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}
body.category-sic .custom-carousel-wrapper:hover .custom-carousel-slide.active img {
  transform: none !important;
}

/* Arrows */
body.category-sic .custom-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sic-card);
  border: 1px solid var(--sic-border);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--sic-primary);
  cursor: pointer;
  box-shadow: var(--sic-shadow-sm);
  opacity: 0;
  transition: all .3s var(--sic-ease-out);
}
body.category-sic .custom-carousel-wrapper:hover .custom-carousel-arrow { opacity: 1; }
body.category-sic .custom-carousel-arrow:hover {
  background: linear-gradient(135deg, var(--sic-primary), var(--sic-primary-dark));
  border-color: var(--sic-primary);
  color: #fff;
  box-shadow: var(--sic-shadow-glow);
  transform: translateY(-50%) scale(1.1);
}
body.category-sic .custom-carousel-arrow:active { transform: translateY(-50%) scale(.95); }
body.category-sic .custom-carousel-prev { left: 16px; }
body.category-sic .custom-carousel-next { right: 16px; }
body.category-sic .custom-carousel-prev:hover { left: 14px; }
body.category-sic .custom-carousel-next:hover { right: 14px; }
body.category-sic .custom-carousel-arrow svg {
  width: 20px; height: 20px; fill: currentColor;
  transition: transform .2s ease;
}
body.category-sic .custom-carousel-prev:hover svg { transform: translateX(-2px); }
body.category-sic .custom-carousel-next:hover svg { transform: translateX(2px); }

/* Dots */
body.category-sic .custom-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  margin: 0;
  background: var(--sic-bg-soft);
  border-top: 1px solid var(--sic-border-soft);
}
body.category-sic .custom-carousel-dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin: 0; padding: 0;
  background: var(--sic-border);
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s var(--sic-ease-out);
}
body.category-sic .custom-carousel-dot:hover {
  background: var(--sic-primary-soft);
  border-color: var(--sic-primary);
  transform: scale(1.2);
}
body.category-sic .custom-carousel-dot.active {
  width: 28px;
  background: linear-gradient(135deg, var(--sic-primary), var(--sic-accent));
  border-color: transparent;
  border-radius: var(--sic-radius-full);
  box-shadow: 0 2px 8px rgba(48,135,176,.3);
}

/* Counter / Caption */
body.category-sic .custom-carousel-counter {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  padding: 6px 12px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--sic-radius-full);
  border: 1px solid var(--sic-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sic-text-soft);
  box-shadow: var(--sic-shadow-sm);
}
body.category-sic .custom-carousel-counter .current {
  color: var(--sic-primary);
  font-weight: 700;
}
body.category-sic .custom-carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(15,23,42,.8), transparent);
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s var(--sic-ease-out);
}
body.category-sic .custom-carousel-slide.active .custom-carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Carousel responsive */
@media (min-width: 1024px) {
  body.category-sic .custom-carousel-arrow { width: 52px; height: 52px; font-size: 1.35rem; }
  body.category-sic .custom-carousel-prev { left: 20px; }
  body.category-sic .custom-carousel-next { right: 20px; }
  body.category-sic .custom-carousel-dot { width: 12px; height: 12px; }
  body.category-sic .custom-carousel-dot.active { width: 32px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.category-sic .custom-carousel-wrapper .custom-carousel-slide img { max-height: 460px !important; }
  body.category-sic .custom-carousel-arrow { width: 44px; height: 44px; font-size: 1.15rem; opacity: 1; }
  body.category-sic .custom-carousel-dots { padding: 14px 16px; gap: 8px; }
}
@media (max-width: 767px) {
  body.category-sic .custom-carousel-wrapper { border-radius: var(--sic-radius-lg); }
  body.category-sic .custom-carousel-container { border-radius: var(--sic-radius-lg); }
  body.category-sic .custom-carousel-arrow {
    width: 40px; height: 40px; font-size: 1rem; opacity: 1;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  body.category-sic .custom-carousel-prev { left: 10px; }
  body.category-sic .custom-carousel-next { right: 10px; }
  body.category-sic .custom-carousel-dots { padding: 12px 16px; gap: 8px; }
  body.category-sic .custom-carousel-dot { width: 8px; height: 8px; }
  body.category-sic .custom-carousel-dot.active { width: 24px; }
  body.category-sic .custom-carousel-counter {
    top: 12px; right: 12px;
    padding: 4px 10px;
    font-size: 0.75rem;
  }
  body.category-sic .custom-carousel-caption { padding: 20px 16px; font-size: 0.9rem; }
  body.category-sic .custom-carousel-wrapper .custom-carousel-slide img { max-height: 360px !important; }
}
@media (max-width: 480px) {
  body.category-sic .custom-carousel-wrapper { border-radius: var(--sic-radius-md); }
  body.category-sic .custom-carousel-container { border-radius: var(--sic-radius-md); }
  body.category-sic .custom-carousel-arrow { width: 36px; height: 36px; font-size: 0.9rem; }
  body.category-sic .custom-carousel-prev { left: 8px; }
  body.category-sic .custom-carousel-next { right: 8px; }
  body.category-sic .custom-carousel-dots { padding: 10px 12px; gap: 6px; }
  body.category-sic .custom-carousel-dot { width: 6px; height: 6px; }
  body.category-sic .custom-carousel-dot.active { width: 20px; }
  body.category-sic .custom-carousel-wrapper .custom-carousel-slide img { max-height: 300px !important; }
}

/* Carousel a11y */
body.category-sic .custom-carousel-arrow:focus-visible,
body.category-sic .custom-carousel-dot:focus-visible {
  outline: 2px solid var(--sic-primary);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  body.category-sic .custom-carousel-slide,
  body.category-sic .custom-carousel-slide img,
  body.category-sic .custom-carousel-arrow,
  body.category-sic .custom-carousel-dot,
  body.category-sic .custom-carousel-caption {
    animation: none !important;
    transition-duration: 0.1s !important;
  }
}

/*--------------------------------------------------------------
   W-6. SCOPED REPLACEMENT FOR THE GLOBAL .carousel / .swiper
        SHADOW + DARK OVERLAY
   The original widgets file shipped these rules UNSCOPED:
        .swiper, .image-carousel, .slick-slider { box-shadow: ...; }
        .swiper::before { background: linear-gradient(rgba 0 0 0 .35, .55); }
        .swiper * { position: relative; z-index: 3; }
   Those break the donate form's Swiper (it adds a dark overlay
   over the form fields and shifts z-indexes). The CSF file already
   neutralizes them inside .csfpostdonate. To make the overlay
   actually serve its design intent (only on real image carousels),
   we replicate a SCOPED version that ONLY applies inside
   .sicimagecarousel and .custom-carousel-wrapper, and we leave the
   donate form's Swiper untouched.
--------------------------------------------------------------*/
body.category-sic .sicimagecarousel .carousel,
body.category-sic .sicimagecarousel .image-carousel,
body.category-sic .sicimagecarousel .slick-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    0 6px 18px rgba(0,0,0,.35);
}
body.category-sic .sicimagecarousel .carousel::before,
body.category-sic .sicimagecarousel .image-carousel::before,
body.category-sic .sicimagecarousel .slick-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55));
  z-index: 2;
  pointer-events: none;
}
body.category-sic .sicimagecarousel .carousel img,
body.category-sic .sicimagecarousel .image-carousel img,
body.category-sic .sicimagecarousel .slick-slider img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
/* Custom carousel wrapper inside sicimagecarousel: NO overlay (it has its
   own design with the decorative top bar). */
body.category-sic .custom-carousel-wrapper .carousel::before,
body.category-sic .custom-carousel-wrapper .image-carousel::before,
body.category-sic .custom-carousel-wrapper .swiper::before,
body.category-sic .custom-carousel-wrapper .slick-slider::before {
  content: none !important;
  display: none !important;
}

/* Banner image: keep the SIC widgets file's mask effect but only when
   the image lives in OTHER decorative contexts — in the sicpostbanner
   above we explicitly disabled it. */
