.saec-carousel {
  --saec-card-height: 580px;
  --saec-gap: 18px;
  --saec-inner-gap: 18px;
  --saec-radius: 28px;
  --saec-duration: 850ms;
  --saec-collapsed-ratio: 23;
  --saec-peek-ratio: 14;
  --saec-copy-ratio: 34;
  --saec-expanded: 100%;
  --saec-collapsed: 23%;
  --saec-copy: 34%;
  --saec-media: 64%;
  --saec-button-color: #202124;
  --saec-button-bg: transparent;
  --saec-button-hover-color: #202124;
  --saec-button-hover-bg: rgba(32, 33, 36, .08);
  --saec-control-color: #202124;
  --saec-control-bg: #f8f9fa;
  --saec-control-hover-bg: #e8eaed;
  --saec-control-size: 48px;
  width: 100%;
  margin-inline: auto;
  direction: ltr;
  color: #202124;
}

.saec-carousel:focus { outline: 0; }
.saec-carousel:focus-visible { outline: 3px solid #1a73e8; outline-offset: 5px; border-radius: var(--saec-radius); }
.saec-carousel__viewport { width: 100%; overflow: hidden; touch-action: pan-y; }
.saec-carousel__track { display: flex; align-items: stretch; gap: var(--saec-gap); will-change: transform; transition: transform var(--saec-duration) cubic-bezier(.2,.7,.2,1); }
.saec-carousel__slide { position: relative; flex: 0 0 var(--saec-collapsed); width: var(--saec-collapsed); min-width: 0; height: var(--saec-card-height); transition: flex-basis var(--saec-duration) cubic-bezier(.79,.04,.54,.96), width var(--saec-duration) cubic-bezier(.79,.04,.54,.96); }
.saec-carousel__slide.is-active { flex-basis: var(--saec-expanded); width: var(--saec-expanded); }
.saec-carousel__card { display: flex; width: 100%; height: 100%; gap: var(--saec-inner-gap); overflow: hidden; border-radius: var(--saec-radius); }
.saec-carousel__copy { position: relative; z-index: 2; flex: 0 0 100%; width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 42px 38px 38px; overflow: hidden; border-radius: var(--saec-radius) !important; background-clip: padding-box; direction: rtl; text-align: right; background-color: transparent; background-image: linear-gradient(145deg,#e8f0fe,#c2e7ff); background-blend-mode: lighten; transition: flex-basis var(--saec-duration) cubic-bezier(.79,.04,.54,.96), width var(--saec-duration) cubic-bezier(.79,.04,.54,.96), background-color .2s cubic-bezier(.34,.8,.34,1); }
.saec-carousel__slide.is-active .saec-carousel__copy { flex-basis: var(--saec-copy); width: var(--saec-copy); }
.saec-carousel__eyebrow { margin-bottom: 24px; color: #5f6368; font-size: 14px; font-weight: 600; line-height: 1.7; white-space: nowrap; }
.saec-carousel__title { display: -webkit-box; margin: 0 0 18px; overflow: hidden; color: #202124; font-size: clamp(26px, 2.7vw, 36px); font-weight: 400; line-height: 1.5; letter-spacing: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 4; transition: color .2s cubic-bezier(.34,.8,.34,1); }
.saec-carousel__title a { color: inherit; text-decoration: none; }
.saec-carousel__excerpt { display: -webkit-box; max-width: 38ch; margin: 0 0 18px; overflow: hidden; color: #5f6368; font-size: 16px; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.saec-carousel__meta { margin-bottom: 24px; color: #5f6368; font-size: 14px; line-height: 1.7; }
.saec-carousel__cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; margin-top: auto; padding: 10px 23px; border: 1px solid #5f6368; border-radius: 28px; color: var(--saec-button-color) !important; background: var(--saec-button-bg) !important; font-size: 15px; font-weight: 400; line-height: 1.5; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.saec-carousel__cta:hover, .saec-carousel__cta:focus-visible { color: var(--saec-button-hover-color) !important; background: var(--saec-button-hover-bg) !important; border-color: #202124; }
.saec-carousel__cta:focus-visible, .saec-carousel__control:focus-visible, .saec-carousel__title a:focus-visible, .saec-carousel__image:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.saec-carousel__image { position: relative; flex: 0 0 0; width: 0; height: 100%; overflow: hidden; border-radius: var(--saec-radius); background: #e8eaed; transition: flex-basis var(--saec-duration) cubic-bezier(.79,.04,.54,.96), width var(--saec-duration) cubic-bezier(.79,.04,.54,.96); }
.saec-carousel__slide.is-active .saec-carousel__image { flex-basis: var(--saec-media); width: var(--saec-media); }
.saec-carousel__image::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: transparent; transition: background-color .25s ease; }
.saec-carousel__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1); transform-origin: center; transition: transform .5s cubic-bezier(.34,.8,.34,1); }
.saec-carousel__expand { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: var(--saec-radius) !important; background: transparent !important; box-shadow: none !important; cursor: pointer; }
.saec-carousel__expand[hidden] { display: none !important; }
.saec-carousel__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e8eaed, #dadce0); }
.saec-carousel__footer { display: flex; align-items: center; gap: 24px; margin-top: 24px; direction: ltr; }
.saec-carousel__progress { width: 234px; max-width: 50%; height: 2px; overflow: hidden; background: #dadce0; }
.saec-carousel__progress-bar { display: block; width: 100%; height: 100%; background: #202124; transform: scaleX(0); transform-origin: left center; transition: transform var(--saec-duration) cubic-bezier(.79,.04,.54,.96); }
.saec-carousel__arrows { display: flex; flex-shrink: 0; gap: 2px; overflow: hidden; border-radius: 28px; background: var(--saec-control-bg); }
.elementor-widget-sina_editorial_carousel .saec-carousel__control { position: relative; display: inline-grid; width: var(--saec-control-size) !important; height: var(--saec-control-size) !important; min-width: 0; min-height: 0; margin: 0 !important; padding: 0 !important; place-items: center; border: 0 !important; border-radius: 0 !important; color: var(--saec-control-color) !important; background: var(--saec-control-bg) !important; box-shadow: none !important; cursor: pointer; transition: color .2s ease, background-color .2s ease, opacity .2s ease; }
.elementor-widget-sina_editorial_carousel .saec-carousel__control:hover:not(:disabled), .elementor-widget-sina_editorial_carousel .saec-carousel__control:focus-visible:not(:disabled), .elementor-widget-sina_editorial_carousel .saec-carousel__control:active:not(:disabled) { color: var(--saec-control-color) !important; background: var(--saec-control-hover-bg) !important; }
.elementor-widget-sina_editorial_carousel .saec-carousel__control:disabled { color: #c5c7c9 !important; background: var(--saec-control-bg) !important; opacity: 1; cursor: default; }
.saec-carousel__control svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.saec-carousel__control::before { content: ''; position: absolute; bottom: 0; width: 30px; height: 20px; pointer-events: none; background: transparent; transition: background-color .2s ease; }
.saec-carousel__control:hover:not(:disabled)::before { background: rgba(0,0,0,.04); }
.saec-carousel__prev::before { right: 0; border-radius: 100% 0 0; }
.saec-carousel__next::before { left: 0; border-radius: 0 100% 0 0; }
.saec-carousel__toggle .saec-icon-play { display: none; }
.saec-carousel__toggle.is-paused .saec-icon-pause { display: none; }
.saec-carousel__toggle.is-paused .saec-icon-play { display: block; }
.saec-carousel__empty { padding: 28px; border-radius: 18px; color: #5f6368; background: #f1f3f4; text-align: center; }

@media (hover:hover) and (pointer:fine) {
  .saec-carousel__slide:hover .saec-carousel__image img { transform: scale(1.03); }
  .saec-carousel__slide:hover .saec-carousel__title { color: #1f3b9b; }
  .saec-carousel__slide:hover .saec-carousel__copy { background-color: rgba(255,255,255,.5); }
}
.saec-carousel__copy:focus-within { background-color: rgba(255,255,255,.5); }

@media (max-width: 767px) {
  .saec-carousel { --saec-card-height: 650px; --saec-gap: 12px; --saec-collapsed-ratio: 78; --saec-peek-ratio: 7; }
  .saec-carousel__card { flex-direction: column-reverse; gap: 0; }
  .saec-carousel__copy { flex: 1 1 auto; width: 100%; padding: 28px 24px 25px; }
  .saec-carousel__slide.is-active .saec-carousel__copy { flex-basis: auto; width: 100%; }
  .saec-carousel__image { flex: 0 0 0; width: 100%; height: 0; border-radius: var(--saec-radius) var(--saec-radius) 0 0; }
  .saec-carousel__slide.is-active .saec-carousel__image { flex-basis: var(--saec-mobile-media); width: 100%; height: var(--saec-mobile-media); }
  .saec-carousel__title { font-size: clamp(25px, 8vw, 34px); }
  .saec-carousel__excerpt { font-size: 15px; -webkit-line-clamp: 3; }
  .saec-carousel__eyebrow { margin-bottom: 14px; }
  .saec-carousel__footer { gap: 14px; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .saec-carousel *, .saec-carousel *::before, .saec-carousel *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
