/**
 * Snippet Name: RK: SIC 05 - Widgets
 * Generated: 2026-11-01 07:45:17
 * Source: Custom
 * AUTO-GENERATED FILE — DO NOT EDIT.
 */

/* ==============================================================
  SIC — Widgets
  Progress meter + countdown (.progresstimerbox, .gfpm-*, .countdowntimer) and image carousel.
============================================================== */

body.category-sic .progresstimerbox > .progressmeter,
body.category-sic .progresstimerbox > .countdowntimer {
  flex: 1 1 calc(50% - 8px) !important;
  min-width: 240px !important;
  width: auto !important; /* override the widgets' width:50% */
  margin: 0 !important;
}

@media (max-width: 639px) {
  body.category-sic .progresstimerbox > .progressmeter,
  body.category-sic .progresstimerbox > .countdowntimer {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
}

body.category-sic .sicimagecarousel:empty {
  display: none !important;
}

/* ===== Kill global .swiper shadow + dark overlay from 1543.css =====
   Note the SIC widgets file also ships .swiper::before overlay rules.
   Those are intended for the image carousel. We disable them inside
   the donate sidebar's swiper context (the form). */

body.category-sic .sicpostdonate .swiper,
body.category-sic .sicpostdonate .gform-body.swiper-wrapper {
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.category-sic .sicpostdonate .swiper::before,
body.category-sic .sicpostdonate .gform-body.swiper-wrapper::before,
body.category-sic .sicpostdonate .swiper::after,
body.category-sic .sicpostdonate .gform-body.swiper-wrapper::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
}

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;
}

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);
}

body.category-sic .gfpm-container::after {
  content: "";
  display: table;
  clear: both;
}

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;
}

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;
}

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;
}

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;
}

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;
  }
}

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;
}

@media (min-width: 1024px) {
  /* W-4. WIDGET RESPONSIVE — DESKTOP / TABLET / MOBILE
   (consolidated from the multi-block version in the original) */
  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;
  }
  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;
  }
}

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;
}

/* 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;
}

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);
}

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);
}

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);
}

@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-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-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;
  }
}

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;
}
