/**
 * EgySpeed Bundle - Combined Stylesheet
 * Contains Fotorama Slider & Custom Components
 */

/* ==========================================
   1. FOTORAMA CORE STRUCTURE & BASE ENGINE
   ========================================== */
.fotorama {
    min-width: 1px;
    overflow: hidden;
    padding: 8px;
    margin: 5px 0 8px;
    border-radius: 5px;
}

.fotorama:after {
    content: "";
    display: block;
    margin: 15px auto 0;
    width: 50%;
    border-bottom: 1px dashed #ddd;
}

.fotorama:not(.fotorama--unobtrusive) > :not(:first-child) {
    display: none;
}

.fotorama__wrap {
    -webkit-text-size-adjust: 100%;
    position: relative;
    direction: ltr;
    z-index: 0;
}

.fotorama__wrap--rtl .fotorama__stage__frame {
    direction: rtl;
}

.fotorama__stage, 
.fotorama__nav {
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.fotorama__stage {
    border-radius: 15px;
    box-shadow: 0 2rem 1rem -2rem rgba(0, 0, 0, 0.44);
    margin: 10px auto;
}

.fotorama__nav__frame:focus .fotorama__dot:after,
.fotorama__nav__frame:focus .fotorama__thumb:after,
.fotorama__fullscreen-icon:focus:after,
.fotorama__arr:focus:after,
.fotorama__stage__shaft,
.fotorama__stage__frame,
.fotorama__img,
.fotorama__html,
.fotorama__video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.fotorama--fullscreen, 
.fotorama__img {
    max-width: 99999px !important;
    max-height: 99999px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto;
}

.fotorama__wrap .fotorama__grab {
    cursor: move;
    cursor: grab;
}

.fotorama__grabbing * {
    cursor: move;
    cursor: grabbing;
}

.fotorama__spinner {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
}

.fotorama__wrap--css3 .fotorama__stage__shaft,
.fotorama__wrap--css3 .fotorama__nav__shaft,
.fotorama__wrap--css3 .fotorama__thumb-border,
.fotorama__wrap--css3 .fotorama__arr,
.fotorama__wrap--css3 .fotorama__fullscreen-icon,
.fotorama__wrap--css3 .fotorama__video-play,
.fotorama__wrap--css3 .fotorama__video-close {
    transform: translate3d(0,0,0);
}

.fotorama__caption,
.fotorama__wrap--css3 .fotorama__spinner,
.fotorama__wrap--css3 .fotorama__stage,
.fotorama__wrap--css3 .fotorama__nav,
.fotorama__wrap--css3 .fotorama__stage__frame,
.fotorama__wrap--css3 .fotorama__stage .fotorama__img,
.fotorama__wrap--css3 .fotorama__html,
.fotorama__stage:before,
.fotorama__stage:after,
.fotorama__nav:before,
.fotorama__nav:after {
    transform: translateZ(0);
}

.fotorama__nav__frame,
.fotorama__fullscreen-icon:focus,
.fotorama__arr:focus {
    outline: 0;
}

.fotorama__nav__frame:focus .fotorama__dot:after,
.fotorama__nav__frame:focus .fotorama__thumb:after,
.fotorama__fullscreen-icon:focus:after,
.fotorama__arr:focus:after {
    content: '';
    border-radius: inherit;
    background-color: rgba(0, 175, 234, 0.5);
}

.fotorama__wrap--video .fotorama__stage__shaft,
.fotorama__wrap--video .fotorama__stage,
.fotorama__wrap--video .fotorama__stage__frame--video,
.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__img,
.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__html {
    transform: none !important;
}

.fotorama__wrap--css3 .fotorama__stage__shaft,
.fotorama__wrap--css3 .fotorama__nav__shaft,
.fotorama__wrap--css3 .fotorama__thumb-border {
    transition-property: transform, width;
    transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
    transition-duration: 0ms;
}

.fotorama__wrap,
.fotorama__no-select,
.fotorama__arr,
.fotorama__fullscreen-icon,
.fotorama__video-play,
.fotorama__video-close {
    user-select: none;
}

.fotorama__select {
    user-select: text;
    cursor: auto;
}

.fotorama__nav,
.fotorama__nav__frame {
    margin: auto;
    padding: 0;
}

.fotorama__nav__shaft,
.fotorama__nav__frame,
.fotorama__caption__wrap {
    display: inline-block;
    vertical-align: middle;
}

.fotorama__nav__frame,
.fotorama__thumb-border {
    box-sizing: content-box;
}

.fotorama__caption__wrap {
    box-sizing: border-box;
    background: none;
}

.fotorama--hidden,
.fotorama__load {
    position: absolute;
    left: -99999px;
    top: -99999px;
    z-index: -1;
}

.fotorama__stage__shaft,
.fotorama__stage__frame,
.fotorama__nav,
.fotorama__nav__shaft,
.fotorama__nav__frame,
.fotorama__arr,
.fotorama__fullscreen-icon,
.fotorama__video-play,
.fotorama__video-close {
    -webkit-tap-highlight-color: transparent;
}

.fotorama__thumb {
    background-color: var(--brand-color);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.fotorama__stage__frame {
    overflow: hidden;
}

.fotorama__stage__frame.fotorama__active {
    z-index: 8;
}

.fotorama__wrap--slide .fotorama__stage__frame {
    opacity: 1 !important;
}

.fotorama__wrap--fade .fotorama__stage__frame {
    display: none;
}

.fotorama__wrap--fade .fotorama__stage__frame.fotorama__active,
.fotorama__wrap--fade .fotorama__fade-front,
.fotorama__wrap--fade .fotorama__fade-rear {
    display: block;
    left: 0;
    top: 0;
}

.fotorama__wrap--fade .fotorama__fade-front { z-index: 8; }
.fotorama__wrap--fade .fotorama__fade-rear { z-index: 7; }
.fotorama__wrap--fade .fotorama__fade-rear.fotorama__active { z-index: 9; }
.fotorama__wrap--fade .fotorama__stage .fotorama__shadow { display: none; }

.fotorama__img {
    opacity: 0;
    border: none !important;
}

.fotorama__loaded .fotorama__img,
.fotorama__error .fotorama__img {
    opacity: 1;
}

.fotorama__img--full { display: none; }
.fotorama--fullscreen .fotorama__loaded--full .fotorama__img { display: none; }
.fotorama--fullscreen .fotorama__loaded--full .fotorama__img--full { display: block; }

.fotorama__wrap--only-active .fotorama__stage,
.fotorama__wrap--only-active .fotorama__nav {
    max-width: 99999px !important;
}

.fotorama__wrap--only-active .fotorama__stage__frame { visibility: hidden; }
.fotorama__wrap--only-active .fotorama__stage__frame.fotorama__active { visibility: visible; }

.fotorama__nav {
    font-size: 0;
    line-height: 0;
    text-align: center;
    display: none;
    white-space: nowrap;
    z-index: 5;
}

.fotorama__nav__shaft {
    position: relative;
    left: 0;
    top: 0;
    text-align: left;
}

.fotorama__nav__frame {
    position: relative;
    cursor: pointer;
}

.fotorama__nav--dots { display: block; }
.fotorama__nav--dots .fotorama__nav__frame { width: 18px; height: 30px; }
.fotorama__nav--dots .fotorama__nav__frame--thumb,
.fotorama__nav--dots .fotorama__thumb-border { display: none; }

.fotorama__nav--thumbs { display: block; }
.fotorama__nav--thumbs .fotorama__nav__frame { padding-left: 0 !important; }
.fotorama__nav--thumbs .fotorama__nav__frame:last-child { padding-right: 0 !important; }
.fotorama__nav--thumbs .fotorama__nav__frame--dot { display: none; }

.fotorama__nav__frame.fotorama__nav__frame--thumb { opacity: 0.5; }
.fotorama__nav__frame.fotorama__nav__frame--thumb.fotorama__active { opacity: 1; }

.fotorama__dot {
    display: block;
    width: 4px;
    height: 4px;
    position: relative;
    top: 12px;
    left: 6px;
    border-radius: 6px;
    border: 1px solid #7f7f7f;
}

.fotorama__nav__frame:focus .fotorama__dot:after {
    padding: 1px;
    top: -1px;
    left: -1px;
}

.fotorama__nav__frame.fotorama__active .fotorama__dot {
    width: 0;
    height: 0;
    border-width: 3px;
}

.fotorama__nav__frame.fotorama__active .fotorama__dot:after {
    padding: 3px;
    top: -3px;
    left: -3px;
}

.fotorama__nav__frame:focus .fotorama__thumb { z-index: 2; }

.fotorama__thumb-border {
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    border-style: solid;
    border-color: var(--brand-color) !important;
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.25), rgba(64, 64, 64, 0.1));
}

/* Captions */
.fotorama__caption {
    position: absolute;
    z-index: 12;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(0deg, rgba(0,0,0,0.4), rgba(0,0,0,0));
    text-align: center;
    box-sizing: border-box;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    overflow: auto;
    padding: 1em;
    text-shadow: 0 0 1.5px #000;
}

.fotorama__caption a {
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.fotorama__caption a:hover {
    color: #eee;
    border-color: rgba(238, 238, 238, 0.8);
}

.fotorama__wrap--rtl .fotorama__caption {
    left: 0 !important;
    right: 0 !important;
}

.fotorama__wrap--video .fotorama__caption,
.fotorama__wrap--no-captions .fotorama__caption {
    display: none;
}

/* Animations */
@keyframes spinner {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.fotorama__wrap--css3 .fotorama__spinner {
    animation: spinner 24s infinite linear;
}

.fotorama__wrap--css3 .fotorama__stage .fotorama__img,
.fotorama__wrap--css3 .fotorama__html {
    transition-property: opacity;
    transition-timing-function: linear;
    transition-duration: .3s;
}

.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__img,
.fotorama__wrap--video .fotorama__stage__frame--video .fotorama__html {
    opacity: 0;
}

.fotorama__video {
    top: 32px;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 10;
}

/* Shadows */
.fotorama__stage:before,
.fotorama__stage:after,
.fotorama__nav:before,
.fotorama__nav:after {
    content: "";
    display: block;
    position: absolute;
    text-decoration: none;
    top: 0;
    bottom: 0;
    width: 10px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 1px 100%, 5px 100%;
}

.fotorama__stage:before, .fotorama__nav:before {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.4), transparent);
    background-position: 0 0, 0 0;
    left: -10px;
}

.fotorama__stage.fotorama__shadows--left:before, 
.fotorama__nav.fotorama__shadows--left:before { left: 0; }

.fotorama__stage:after, .fotorama__nav:after {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.4), transparent);
    background-position: 100% 0, 100% 0;
    right: -10px;
}

.fotorama__stage.fotorama__shadows--right:after, 
.fotorama__nav.fotorama__shadows--right:after { right: 0; }

.fotorama--fullscreen .fotorama__stage:before,
.fotorama--fullscreen .fotorama__stage:after,
.fotorama--fullscreen .fotorama__nav:before,
.fotorama--fullscreen .fotorama__nav:after,
.fotorama__wrap--no-shadows .fotorama__stage:before,
.fotorama__wrap--no-shadows .fotorama__stage:after,
.fotorama__wrap--no-shadows .fotorama__nav:before,
.fotorama__wrap--no-shadows .fotorama__nav:after,
.fotorama__wrap--fade .fotorama__stage:before,
.fotorama__wrap--fade .fotorama__stage:after {
    display: none;
}

/* ==========================================
   2. FULLSCREEN MODE
   ========================================== */
.fullscreen {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #000;
}

.fotorama--fullscreen {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    float: none !important;
    z-index: 2147483647 !important;
    background: #000;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.fotorama--fullscreen .fotorama__stage, 
.fotorama--fullscreen .fotorama__nav {
    background: #fff;
}

.fotorama--fullscreen .fotorama__stage {
    border-radius: 0 !important;
    margin: 0;
}

/* ==========================================
   3. ARROWS & ICONS (FontAwesome)
   ========================================== */
.fotorama__arr, 
.fotorama__fullscreen-icon,
.fotorama__video-play, 
.fotorama__video-close {
    position: absolute;
    z-index: 11;
    cursor: pointer;
    background: none !important;
}

.fotorama__arr {
    width: 32px;
    height: 32px;
    top: 50%;
    margin-top: -16px;
}

.fotorama__arr--prev { left: 2px; }
.fotorama__arr--next { right: 2px; }

.fotorama__arr--disabled {
    pointer-events: none;
    cursor: default;
    opacity: .1;
}

.fotorama__fullscreen-icon {
    width: 32px;
    height: 32px;
    top: 2px;
    right: 2px;
    z-index: 20;
}

.fotorama__arr--prev::before, 
.fotorama__arr--next::before,
.fotorama__fullscreen-icon::before, 
.fotorama--fullscreen .fotorama__fullscreen-icon::before {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-size: 18px;
    font-weight: 600;
    background: #fff;
    color: #111;
    -webkit-text-stroke: 0.5px #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.fotorama__arr--prev::before {
    content: "\f053";
    left: 10px;
    border-radius: 50%;
    padding: 2px 11.7px;
}

.fotorama__arr--next::before {
    content: "\f054";
    right: 10px;
    border-radius: 50%;
    padding: 2px 11.7px;
}

.fotorama__fullscreen-icon::before {
    content: "\f424";
    top: 10px;
    right: 10px;
    border-radius: 30px;
    padding: 2px 9px;
}

.fotorama--fullscreen .fotorama__fullscreen-icon::before {
    content: "\f00d";
    top: 10px;
    right: 10px;
    border-radius: 30px;
    padding: 7px 11px;
}

.fotorama--fullscreen .fotorama__arr--next::before,
.fotorama--fullscreen .fotorama__arr--prev::before {
    padding: 7px 11.7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.fotorama__arr:hover::before,
.fotorama__fullscreen-icon:hover::before,
.fotorama__video-close:hover {
    background-color: #111;
    color: #fff;
    -webkit-text-stroke: 0.5px #111;
}

.fotorama__video-play {
    width: 96px;
    height: 96px;
    left: 50%;
    top: 50%;
    margin-left: -48px;
    margin-top: -48px;
    opacity: 0;
}

.fotorama__loaded .fotorama__video-play,
.fotorama__error .fotorama__video-play,
.fotorama__nav__frame .fotorama__video-play {
    opacity: 1;
    display: block;
}

.fotorama__nav__frame .fotorama__video-play {
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -16px;
}

.fotorama__video-close {
    width: 32px;
    height: 32px;
    top: 0;
    right: 0;
    z-index: 20;
    opacity: 0;
}

.fotorama__wrap--video .fotorama__video-close {
    display: block;
    opacity: 1;
}

/* ==========================================
   4. CUSTOM ELEMENTS & UI
   ========================================== */
.fotorama__custom-download {
    position: absolute !important;
    top: 11.5px !important;
    right: 50px !important;
    z-index: 999 !important;
    width: 35px;
    height: 35px;
    line-height: 38px;
    text-align: center;
    color: #111 !important;
    font-size: 16px;
    background-color: #fff;
    -webkit-text-stroke: 0.3px #fff;
    border-radius: 50%;
    transition: all 0.2s ease, opacity 0.3s ease;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.fotorama__custom-download i {
    position: relative;
    top: -1px;
    display: inline-block;
}

.fotorama__custom-download i::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
}

.fotorama__custom-download:hover {
    background-color: #111 !important;
    color: #fff !important;
    -webkit-text-stroke: 0.3px #111 !important;
}

.fotorama-custom-wrapper {
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.fotorama-thumb-arrow {
    position: absolute;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    color: #111;
    border: none;
    padding: 5px 10px 1px;
    cursor: pointer;
    font-size: 16px;
    z-index: 99;
    border-radius: 50%;
    margin: 0 10px;
    transition: background 0.3s;
}

.thumb-prev {
    bottom: 55px;
    left: -20px;
}

.thumb-next {
    bottom: 55px;
    right: -20px;
}

.fotorama-thumb-arrow:hover {
    background: #111;
    color: #fff;
}

.fotorama-counter {
    position: absolute;
    z-index: 99;
    top: 30px;
    left: 15px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    color: #111;
    padding: 1px 5px 0 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
}

.fotorama-counter .current-index,
.fotorama-counter .total-count {
    color: #111;
    font-weight: 600;
    padding: 0;
    margin: 0 1px;
}

.fotorama-counter .fa-camera {
    color: #111;
    margin: 5px 3px 0;
    font-size: 14px;
}

/* ==========================================
   5. DARK SKIN SUPPORT
   ========================================== */
.dark-skin .fotorama--fullscreen .fotorama__stage, 
.dark-skin .fotorama--fullscreen .fotorama__nav {
    background: #333;
}

.dark-skin .fotorama__arr--prev::before, 
.dark-skin .fotorama__arr--next::before,
.dark-skin .fotorama__fullscreen-icon::before, 
.dark-skin .fotorama--fullscreen .fotorama__fullscreen-icon::before,
.dark-skin .fotorama__custom-download,
.dark-skin .fotorama-thumb-arrow {
    background: #111;
    color: #fff;
    -webkit-text-stroke: 0.5px #111;
}

.dark-skin .fotorama-counter {
    background: #111;
    color: #fff;
}

.dark-skin .fotorama__custom-download i,
.dark-skin .fotorama-counter span.current-index,
.dark-skin .fotorama-counter .total-count,
.dark-skin .fotorama-counter .fa-camera {
    color: #fff !important;
}


/* ==========================================
   EgySpeed Custom Video Block Styles
   ========================================== */
.egyspeed-yt-block-container { margin: 25px 0; width: 100%; }
.egyspeed-yt-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; background-color: #000; cursor: pointer; overflow: hidden; border-radius: 8px; }
.egyspeed-yt-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.egyspeed-yt-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.egyspeed-yt-caption-text { text-align: center; margin-top: 10px; font-weight: 500; font-size: 13px; color: #777; line-height: 1.5; }
.dark-skin .egyspeed-yt-caption-text { color: #aaa; }

.egyspeed-yt-channel-badge { position: absolute; top: 15px; right: 15px; background: rgba(255, 255, 255, 0.95); color: #111; padding: 6px 12px; border-radius: 30px; display: flex; align-items: center; gap: 10px; z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,0.3); backdrop-filter: blur(4px); }
.egyspeed-yt-avatar { position: static !important; width: 38px !important; height: 38px !important; border-radius: 50% !important; object-fit: cover !important; border: 1px solid rgba(0, 0, 0, 0.1) !important; }
.egyspeed-yt-channel-text { display: flex; flex-direction: column; justify-content: center; text-align: right; line-height: 1.2; }
.egyspeed-yt-creator-label { font-size: 12px; font-weight: 800; color: #111; }
.egyspeed-yt-channel-name { font-size: 12px; font-weight: 400; color: #555; }

.dark-skin .egyspeed-yt-channel-badge { background: rgba(17, 17, 17, 0.95); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.dark-skin .egyspeed-yt-creator-label { color: #fff; }
.dark-skin .egyspeed-yt-channel-name { color: #bbb; }

.egyspeed-yt-duration { position: absolute; top: 15px; left: 15px; background: #fff; color: #111; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 30px; display: flex; align-items: center; gap: 6px; z-index: 2; direction: ltr; box-shadow: 0 2px 10px rgba(0,0,0,0.3); backdrop-filter: blur(4px); }
.egyspeed-yt-duration svg { width: 14px; height: 14px; fill: var(--brand-color, #e60000); }
.dark-skin .egyspeed-yt-duration { background: #111; color: #fff; border: 1px solid rgba(255,255,255,0.1); }

.egyspeed-yt-overlay-title { position: absolute; bottom: 15px; right: 15px; left: 15px; color: #111; background: #fff; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2); font-size: 19px; font-weight: 700; padding: 10px 20px 10px 50px; border-radius: 50px; pointer-events: none; z-index: 2; text-align: center; line-height: 1.4; overflow: hidden; }
.dark-skin .egyspeed-yt-overlay-title { color: #fff; background: #111; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }

.egyspeed-yt-overlay-title::before { content: "\f04b"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; top: 3px; right: 3px; bottom: 3px; aspect-ratio: 1 / 1; background: #111; color: var(--brand-color); font-size: 15px; display: flex; align-items: center; justify-content: center; border-radius: 50%; z-index: 2; transition: transform 0.3s ease; padding-left: 2px; }
.dark-skin .egyspeed-yt-overlay-title::before { background: #333; }

.egyspeed-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; background: #fff !important; border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important; z-index: 3; }
.egyspeed-play-btn svg { width: 28px; height: 28px; fill: var(--brand-color, #e60000) !important; margin: 0px !important; }

.egyspeed-yt-wrapper:hover .egyspeed-play-btn { background: var(--brand-color, #e60000) !important; border-color: #fff !important; transform: translate(-50%, -50%) scale(1.12); }
.egyspeed-yt-wrapper:hover .egyspeed-play-btn svg { fill: #fff !important; }
.dark-skin .egyspeed-play-btn { background: #111 !important; border: 2px solid #333; }

@media (max-width: 600px) {
    .egyspeed-yt-channel-badge { top: 10px; right: 10px; padding: 4px 8px; gap: 6px; }
    .egyspeed-yt-avatar { width: 28px !important; height: 28px !important; }
    .egyspeed-yt-creator-label, .egyspeed-yt-channel-name { font-size: 10px; }
    .egyspeed-yt-overlay-title { font-size: 11px; bottom: 10px; right: 10px; left: 10px; padding: 8px 15px 8px 40px; }
    .egyspeed-yt-overlay-title::before { font-size: 11px; }
    .egyspeed-yt-duration { top: 10px; left: 10px; font-size: 11px; padding: 3px 7px; }
    .egyspeed-play-btn { width: 52px; height: 52px; }
    .egyspeed-play-btn svg { width: 22px; height: 22px; }
}

/* ==========================================
   EgySpeed Font Resizer Styles
   ========================================== */
.wppr-container {
    position: fixed !important;
    bottom: 2% !important; 
    right: 8px !important;    
    display: flex !important;
    align-items: center !important;
    direction: rtl !important;
    z-index: 111 !important;
    gap: 10px !important;
}

.wppr-btn {
    width: 40px;
    height: 40px;
    padding-top: 8px;
    border-radius: 50%;
    background: #FFF;
    color: #111;
    border: none;
    font-weight: bold;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wppr-btn:hover {
    background-color: #111;
    color: #fff;
}

.wppr-capsule {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    width: 198px !important; 
    justify-content: space-between !important;
}

.wppr-capsule.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.wppr-label {
    font-size: 13px;
    color: #555;
    margin-left: 10px;
    white-space: nowrap;
    font-family: inherit;
    width: 50px !important; 
    display: inline-block !important; 
    text-align: right !important; 
    flex-shrink: 0 !important; 
}

#wpprSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 110px;
    height: 3px;
    border-radius: 10px;
    background: #fff;      
    outline: none;
    margin: 0 5px;
    cursor: pointer;
    border: none;
}

#wpprSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand-color, #e60000);
    cursor: pointer;
    border: 2px solid #ffffff; 
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); 
    transition: transform 0.1s ease, background-color 0.2s ease;
    margin-top: -5px;
}

#wpprSlider::-webkit-slider-thumb:hover,
#wpprSlider:active::-webkit-slider-thumb {
    transform: scale(1.2);
}

#wpprSlider::-webkit-slider-runnable-track {
    height: 3px;
    background: #e0e0e0;
    border-radius: 10px;
}

#wpprSlider::-moz-range-track {
    height: 3px;
    background: #e0e0e0;
    border-radius: 10px;
}

#wpprSlider::-moz-range-thumb {
    width: 12px; 
    height: 12px;
    border-radius: 50%;
    background: var(--brand-color, #e60000);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

#wpprSlider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* مظهر الوضع الداكن */
.dark-skin .wppr-btn {
    background: #27292d;
    color: #fff;
}

.dark-skin .wppr-capsule {
    background: #111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: none;
}

.dark-skin .wppr-label {
    color: #777;
}

.dark-skin #wpprSlider {
    background: #111;      
    border: none;
}

.dark-skin #wpprSlider::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    background: var(--brand-color, #e60000);
    cursor: pointer;
    border: 2px solid #888; 
    margin-top: -5px;
}

.dark-skin #wpprSlider::-webkit-slider-runnable-track {
    height: 3px;
    background: #555;
    border-radius: 10px;
}

.dark-skin #wpprSlider::-moz-range-track {
    height: 3px;
    background: #555;
    border-radius: 10px;
}

.dark-skin #wpprSlider::-moz-range-thumb {
    border: 2px solid #777;
}

/* ==========================================
   EgySpeed Image compare
   ========================================== */

.comparison-widget {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 20px auto;
  transition:all 0.5s;
  box-shadow:0 2px 0 0 #ccc
}

.comparison-widget:hover {
box-shadow:0 3px 0 0 #cc1414
}


.comparison-widget:hover .comparison-separator {
  opacity: 1;
}
.comparison-widget:hover .comparison-control {
  opacity: 1;
}
.comparison-widget:hover .comparison-control:before,
.comparison-widget:hover .comparison-control:after {
  opacity: 1;
}
.comparison-widget--hidden {
  opacity: 0;
}
.comparison-item {
  height: 100%;
  width: 100%;
}
.comparison-item--first {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.comparison-item__content {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.comparison-item--first .comparison-image {
  width: auto;
  max-width: none;
  position: absolute;
  left: 0;
  top: 0;
}
.comparison-item__image {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
}

.comparison-separator {
  width: 2px;
  height: 100%;
  position: absolute;
  right: -1px;
  top: 0;
  z-index: 10;
  background: #fff;
  cursor:col-resize;
  opacity: 0.7;
}
.comparison-control {
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 100%;
  z-index: 5;
  opacity: 1;
}
.comparison-control:before,
.comparison-control:after {
  content: '';
  display: block;
  width: 12px;
  height: 20px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  z-index: 8;
  background: url('arrow.png') 0 0 no-repeat;
}
.comparison-control:before {
  left: -15px;
}
.comparison-control:after {
  right: -15px;
  background-position: -12px 0px;
}
.comparison-control__mask {
  width: 50px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top: -15px;
  left: -18px;
  opacity: 0;
}