.elementor-676 .elementor-element.elementor-element-8358e3c{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--border-radius:15px 15px 15px 15px;box-shadow:0px 0px 5px 0px rgba(0,0,0,0.5);}.elementor-676 .elementor-element.elementor-element-8358e3c:not(.elementor-motion-effects-element-type-background), .elementor-676 .elementor-element.elementor-element-8358e3c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-b88c41d );}.elementor-676 .elementor-element.elementor-element-2cb4316{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-676 .elementor-element.elementor-element-c8c8915 .jet-listing-dynamic-field .jet-listing-dynamic-field__inline-wrap{width:auto;}.elementor-676 .elementor-element.elementor-element-c8c8915 .jet-listing-dynamic-field .jet-listing-dynamic-field__content{width:auto;}.elementor-676 .elementor-element.elementor-element-c8c8915 .jet-listing-dynamic-field{justify-content:flex-start;}.elementor-676 .elementor-element.elementor-element-c8c8915 .jet-listing-dynamic-field__content{text-align:left;}.elementor-676 .elementor-element.elementor-element-4703dca{--display:flex;}.elementor-676 .elementor-element.elementor-element-2313fed .jet-listing-dynamic-field__content{color:var( --e-global-color-secondary );font-family:"BonyadKodad", Sans-serif;font-weight:bold;text-align:left;}.elementor-676 .elementor-element.elementor-element-2313fed .jet-listing-dynamic-field .jet-listing-dynamic-field__inline-wrap{width:auto;}.elementor-676 .elementor-element.elementor-element-2313fed .jet-listing-dynamic-field .jet-listing-dynamic-field__content{width:auto;}.elementor-676 .elementor-element.elementor-element-2313fed .jet-listing-dynamic-field{justify-content:center;}@media(min-width:768px){.elementor-676 .elementor-element.elementor-element-2cb4316{--width:100%;}}@media(max-width:767px){.elementor-676 .elementor-element.elementor-element-8358e3c{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:space-between;}}/* Start custom CSS for jet-listing-dynamic-field, class: .elementor-element-c8c8915 */.elementor-676 .elementor-element.elementor-element-c8c8915{
    width: max-content;
    margin: auto;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-2cb4316 */.tiwan-media-carousel,
.tiwan-media-single {
    position: relative;
    width: 100%;
}


/* =========================================
   VIEWPORT
========================================= */

.tiwan-media-viewport {
    width: 100%;
    overflow: hidden;

    border-radius: 18px;

    height: 10em;

    aspect-ratio: 16 / 9;

    background: #f5f7f9;
}


/* =========================================
   TRACK
========================================= */

.tiwan-media-track {
    display: flex;

    width: 100%;
    height: 100%;

    transition:
        transform .45s cubic-bezier(.22, .61, .36, 1);

    will-change: transform;
}


/* =========================================
   SLIDE
========================================= */

.tiwan-media-slide {
    flex: 0 0 100%;

    width: 100%;
    min-width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================
   IMAGE
========================================= */

.tiwan-media-image {
    display: block;

    height: 100%;
    width: auto;

    max-width: 100%;

    object-fit: contain;

    user-select: none;
}


/* =========================================
   VIDEO WRAPPER
========================================= */

.tiwan-media-video-wrapper {
    position: relative;

    height: 100%;
    width: auto;

    max-width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 16px;

    background: #080b0f;

    display: flex;
    flex-direction: column;
}


/* =========================================
   VIDEO
========================================= */

.tiwan-media-video-wrapper .custom-video {
    display: block;

    width: 100%;

    /*
     * controls زیر ویدئو هستند
     * پس ارتفاع ویدئو از ارتفاع wrapper
     * کم می‌شود
     */
    height: calc(100% - 22px);

    min-height: 0;

    object-fit: contain;

    flex: 1 1 auto;
}


/* =========================================
   VIDEO CONTROLS
========================================= */

.tiwan-media-video-wrapper .custom-video-controls {
    width: 100%;

    height: 22px;

    min-height: 22px;

    flex: 0 0 22px;

    background: #111;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 12px;

    box-sizing: border-box;
}


/* =========================================
   VIDEO BUTTONS
========================================= */

.tiwan-media-video-wrapper
.custom-video-controls button {

    border: none;

    background: transparent;

    color: #fff;

    cursor: pointer;

    font-size: 16px;

    padding: 0;

    width: 25px;

    height: 25px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.tiwan-media-video-wrapper
.custom-video-controls button:hover {

    background: rgba(255,255,255,.16);
}


/* =========================================
   PROGRESS
========================================= */

.tiwan-media-video-wrapper .video-progress {

    flex: 1;

    height: 4px;

    background: #444;

    border-radius: 10px;

    cursor: pointer;

    overflow: hidden;
}


.tiwan-media-video-wrapper .video-progress-bar {

    width: 0%;

    height: 100%;

    background: #fff;

    margin-left: 0 !important;
    margin-right: auto !important;
}


/* =========================================
   TIME
========================================= */

.tiwan-media-video-wrapper .video-time {

    color: #aaa;

    font-size: 11px;

    white-space: nowrap;
}


/* =========================================
   PROGRESS DIRECTION
========================================= */

.tiwan-media-video-wrapper .video-progress {
    direction: ltr !important;
}

.tiwan-media-video-wrapper .video-progress-bar {
    direction: ltr !important;
}


/* =========================================
   ARROWS
========================================= */

.tiwan-media-prev,
.tiwan-media-next {

    position: absolute;

    top: 50%;
    z-index: 20;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 50%;

    background: rgba(10,15,20,.65);

    color: white;

    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transform: translateY(-50%);

    transition:
        background .2s ease,
        transform .2s ease;
}


.tiwan-media-prev {
    left: 10px;
}


.tiwan-media-next {
    right: 10px;
}


.tiwan-media-prev:hover,
.tiwan-media-next:hover {

    background: rgba(10,15,20,.9);

    transform:
        translateY(-50%)
        scale(1.08);
}


/* =========================================
   DOTS
========================================= */

.tiwan-media-dots {
    position: absolute;
    display: flex;
    bottom: 0;
    left: 0;
    width: 100%;

    justify-content: center;
    align-items: center;

    gap: 6px;

    margin-top: 12px;
}


.tiwan-media-dot {

    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;

    border-radius: 20px;

    background: #c5ccd3;

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}


.tiwan-media-dot.active {

    width: 20px;

    background: #1677d2;
}


/* =========================================
   SINGLE
========================================= */

.tiwan-media-single {

    height: 10em;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 18px;

    background: #f5f7f9;
}


.tiwan-media-single .tiwan-media-image {

    height: 100%;
    width: auto;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .tiwan-media-viewport {
        height: 10em;
    }

    .tiwan-media-prev,
    .tiwan-media-next {

        width: 32px;
        height: 32px;
    }

    .tiwan-media-prev {
        left: 7px;
    }

    .tiwan-media-next {
        right: 7px;
    }

}/* End custom CSS */
/* Start custom CSS for jet-listing-dynamic-field, class: .elementor-element-2313fed */.elementor-676 .elementor-element.elementor-element-2313fed h6{
  height: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-4703dca */.elementor-element-7505b78 {
    min-width: 0;
}

.elementor-element-7505b78 .jet-listing-dynamic-field__content {
    min-width: 0;
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 2em;
    line-height: 2em;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-8358e3c */.elementor-271 .elementor-element.elementor-element-91e51c7 .jet-listing-dynamic-field{
    justify-content: center;
}

.elementor-676 .elementor-element.elementor-element-8358e3c{
    height: 15em;
    max-height: 15em;
}


/* =========================================
   TIWAN — PREMIUM MEDIA GALLERY
========================================= */

.tiwan-media-single,
.tiwan-media-carousel {
    --tiwan-radius: 22px;
    --tiwan-accent: #8b5cf6;
    --tiwan-accent-light: #a78bfa;
    --tiwan-glass: rgba(18, 18, 24, 0.58);

    position: relative;
    width: 100%;
    min-width: 0;
    font-family: inherit;
}

/* Main gallery frame */
.tiwan-media-single,
.tiwan-media-viewport {
    overflow: hidden;
    border-radius: var(--tiwan-radius);
    background: #111116;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Single media */
.tiwan-media-single {
    isolation: isolate;
}

.tiwan-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(.2, .7, .2, 1);
}

.tiwan-media-single .tiwan-media-image {
    aspect-ratio: 16 / 10;
}

.tiwan-media-single:hover .tiwan-media-image {
    transform: scale(1.025);
}

/* Carousel viewport */
.tiwan-media-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.tiwan-media-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(.22, .68, 0, 1);
    will-change: transform;
}

.tiwan-media-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #111116;
}

.tiwan-media-slide > .tiwan-media-image {
    position: absolute;
    inset: 0;
}

/* Subtle image overlay */
.tiwan-media-slide::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.12)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tiwan-media-carousel:hover .tiwan-media-slide::after {
    opacity: 1;
}

/* =========================================
   NAVIGATION BUTTONS
========================================= */

.tiwan-media-prev,
.tiwan-media-next {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    background: var(--tiwan-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.tiwan-media-prev {
    left: 16px;
}

.tiwan-media-next {
    right: 16px;
}

.tiwan-media-prev i,
.tiwan-media-next i {
    font-size: 15px;
    line-height: 1;
}

.tiwan-media-prev:hover,
.tiwan-media-next:hover {
    color: #fff;
    background: var(--tiwan-accent);
    border-color: var(--tiwan-accent-light);
    transform: translateY(-50%) scale(1.08);
}

.tiwan-media-prev:active,
.tiwan-media-next:active {
    transform: translateY(-50%) scale(0.94);
}

.tiwan-media-prev:focus-visible,
.tiwan-media-next:focus-visible,
.tiwan-media-dot:focus-visible,
.custom-video-controls button:focus-visible {
    outline: 2px solid var(--tiwan-accent-light);
    outline-offset: 4px;
}

/* =========================================
   PAGINATION DOTS
========================================= */

.tiwan-media-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 16px auto 0;
    padding: 9px 13px;
    border: 1px solid rgba(130, 130, 150, 0.13);
    border-radius: 50px;
    background: rgba(128, 128, 140, 0.07);
}

.tiwan-media-dot {
    display: block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    min-width: 7px;
    min-height: 7px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background: #a0a0ad;
    opacity: 0.55;
    cursor: pointer;
    transition:
        width 0.3s ease,
        background 0.3s ease,
        opacity 0.3s ease,
        box-shadow 0.3s ease;
}

.tiwan-media-dot.active {
    width: 24px;
    background: var(--tiwan-accent);
    opacity: 1;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.28);
}

/* =========================================
   VIDEO PLAYER
========================================= */

.tiwan-media-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: inherit;
    background: #09090d;
    isolation: isolate;
}

.tiwan-media-video-wrapper video.custom-video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #09090d;
}

/* Video controls overlay */
.custom-video-controls {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;
    color: #fff;
    background: rgba(12, 12, 18, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.tiwan-media-video-wrapper:hover .custom-video-controls,
.tiwan-media-video-wrapper:focus-within .custom-video-controls {
    opacity: 1;
    transform: translateY(0);
}

.custom-video-controls button {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.custom-video-controls button:hover {
    color: #fff;
    background: var(--tiwan-accent);
    transform: scale(1.06);
}

.custom-video-controls button i {
    font-size: 13px;
}

.video-progress {
    position: relative;
    flex: 1 1 auto;
    min-width: 20px;
    height: 5px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
}

.video-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--tiwan-accent),
        var(--tiwan-accent-light)
    );
    transition: width 0.12s linear;
}

.video-time {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

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

@media (max-width: 767px) {
    .tiwan-media-single,
    .tiwan-media-carousel {
        --tiwan-radius: 16px;
    }

    .tiwan-media-viewport {
        aspect-ratio: 4 / 3;
    }

    .tiwan-media-single .tiwan-media-image {
        aspect-ratio: 4 / 3;
    }

    .tiwan-media-prev,
    .tiwan-media-next {
        width: 36px;
        height: 36px;
    }

    .tiwan-media-prev {
        left: 10px;
    }

    .tiwan-media-next {
        right: 10px;
    }

    .tiwan-media-prev i,
    .tiwan-media-next i {
        font-size: 12px;
    }

    .tiwan-media-dots {
        gap: 6px;
        margin-top: 12px;
        padding: 8px 11px;
    }

    .tiwan-media-dot {
        width: 6px;
        height: 6px;
        min-width: 6px;
        min-height: 6px;
    }

    .tiwan-media-dot.active {
        width: 19px;
    }

    .custom-video-controls {
        right: 8px;
        bottom: 8px;
        left: 8px;
        gap: 7px;
        padding: 7px 9px;
        border-radius: 12px;
        opacity: 1;
        transform: none;
    }

    .custom-video-controls button {
        width: 29px;
        height: 29px;
    }

    .video-time {
        font-size: 10px;
    }
}

/* Touch devices */
@media (hover: none) {
    .tiwan-media-single:hover .tiwan-media-image {
        transform: none;
    }

    .custom-video-controls {
        opacity: 1;
        transform: none;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .tiwan-media-image,
    .tiwan-media-track,
    .tiwan-media-prev,
    .tiwan-media-next,
    .tiwan-media-dot,
    .custom-video-controls {
        transition: none !important;
    }
}/* End custom CSS */