/* =========================================================
   BLOG PAGE
========================================================= */


/* =========================================================
   CUSTOM SCROLLBAR
========================================================= */

.parentContentCont::-webkit-scrollbar,
.relatedBlogs::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}


.parentContentCont::-webkit-scrollbar-track,
.relatedBlogs::-webkit-scrollbar-track {
    background: transparent;
}


.parentContentCont::-webkit-scrollbar-thumb,
.relatedBlogs::-webkit-scrollbar-thumb {
    background-color: #292b2b;
    border-radius: 10px;
}


.parentContentCont::-webkit-scrollbar-thumb:hover,
.relatedBlogs::-webkit-scrollbar-thumb:hover {
    background-color: #3b3e3e;
}


/* Firefox */

.parentContentCont,
.relatedBlogs {
    scrollbar-width: thin;
    scrollbar-color: #292b2b transparent;
}



/* =========================================================
   ARTICLE CONTENT
========================================================= */

.content {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    color: #e8e8e8;

    overflow-wrap: anywhere;

    word-break: normal;

}


.content * {

    unicode-bidi: embed;

    direction: rtl;

    max-width: 100%;

}


.content p,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content li,
.content blockquote {

    white-space: normal;

}


.content pre,
.content code {

    white-space: pre;

}



/* =========================================================
   PARAGRAPHS
========================================================= */

.content p {

    width: 100%;

    color: #d5d5d5;

    font-size: 1rem;

    line-height: 2.15;

    text-align: right;

}


.content p + p {

    margin-top: 2px;

}



/* =========================================================
   HEADINGS
========================================================= */

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {

    width: 100%;

    text-align: right;

    font-weight: 700;

    line-height: 1.6;

}


.content h1 {

    color: #ffdd00 !important;

    font-size: clamp(
        2rem,
        5vw,
        3.5rem
    );

}


.content h2 {

    color: #ffdd00 !important;

    font-size: clamp(
        1.7rem,
        4vw,
        2.7rem
    );

}


.content h3 {

    color: #f5f5f5 !important;

    font-size: clamp(
        1.4rem,
        3vw,
        2rem
    );

}


.content h4 {

    color: #eeeeee !important;

    font-size: clamp(
        1.2rem,
        2.5vw,
        1.5rem
    );

}


.content h5 {

    color: #eeeeee !important;

    font-size: 1.1rem;

}


.content h6 {

    color: #eeeeee !important;

    font-size: 1rem;

}



/* =========================================================
   LINKS
========================================================= */

.content a {

    color: #62c8ff;

    text-decoration: none;

    transition: 0.25s;

}


.content a:hover {

    color: #ffdd00;

    text-decoration: underline;

}



/* =========================================================
   IMAGES
========================================================= */

.content img {

    display: block;

    width: min(90%, 900px) !important;

    max-width: 100% !important;

    height: auto !important;

    margin: 15px auto;

    border-radius: 12px;

    object-fit: contain;

}


.content figure {

    width: 100%;

    margin: 10px 0;

}


.content figure img {

    width: min(90%, 900px) !important;

}



/* =========================================================
   VIDEO / IFRAME
========================================================= */

.content video,
.content iframe {

    display: block;

    max-width: 100%;

    margin: 15px auto;

    border-radius: 12px;

}


.content iframe {

    width: min(90%, 900px);

    aspect-ratio: 16 / 9;

}



/* =========================================================
   TABLE
========================================================= */

.content table {

    width: 95% !important;

    max-width: 100%;

    height: auto !important;

    border-collapse: collapse;

    overflow: hidden;

    border-radius: 10px;

    color: #ffffff;

    margin: 15px auto;

}


.content table th,
.content table td {

    border: 1px solid #303333;

    padding: 10px 12px;

    text-align: right;

}


.content table th {

    background-color: #191b1b;

    color: #ffdd00;

}


.content table tr:nth-child(even) {

    background-color: #141616;

}


.content table tr:nth-child(odd) {

    background-color: #101212;

}



/* =========================================================
   LISTS
========================================================= */

.content ul,
.content ol {

    width: 100%;

    padding-right: 30px;

    color: #d5d5d5;

    line-height: 2;

}


.content ul {

    list-style-type: disc;

}


.content ol {

    list-style-type: decimal;

}


.content li {

    margin-bottom: 5px;

}

.blogDirText{
    unicode-bidi: embed;
    direction: rtl;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.content blockquote {

    width: 100%;

    margin: 15px 0;

    padding: 15px 20px;

    border-right: 4px solid #ffdd00;

    background-color: #171919;

    border-radius: 8px;

    color: #d5d5d5;

    line-height: 2;

}



/* =========================================================
   CODE
========================================================= */

.content code {

    direction: ltr;

    unicode-bidi: isolate;

    font-family: monospace;

    background-color: #191b1b;

    color: #ffdd00;

    padding: 3px 7px;

    border-radius: 5px;

}


.content pre {

    width: 100%;

    direction: ltr;

    text-align: left;

    overflow-x: auto;

    padding: 18px;

    background-color: #090a0a;

    border: 1px solid #252727;

    border-radius: 10px;

    color: #e8e8e8;

    line-height: 1.7;

}


.content pre code {

    padding: 0;

    background: transparent;

}



/* =========================================================
   HORIZONTAL RULE
========================================================= */

.content hr {

    width: 100%;

    border: none;

    border-top: 1px solid #292b2b;

    margin: 20px 0;

}



/* =========================================================
   RELATED BLOG CARD
========================================================= */

.relatedBlog {

    transform: translateY(0);

}


.relatedBlog:hover {

    transform: translateY(-2px);

}



/* =========================================================
   VIDEO
========================================================= */

.videoBox video {

    background-color: #000;

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1023px) {

    .content {

        gap: 12px;

    }


    .content p {

        font-size: 0.98rem;

        line-height: 2;

    }


    .content img {

        width: 100% !important;

        margin: 10px auto;

        border-radius: 10px;

    }


    .content table {

        width: 100% !important;

        display: block;

        overflow-x: auto;

        white-space: nowrap;

    }


    .content iframe {

        width: 100%;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 640px) {

    .content {

        padding-left: 0;

        padding-right: 0;

    }

    .content *{
        padding: 0 5px;
    }

    .content p {

        font-size: 0.94rem;

        line-height: 2;

    }


    .content h1 {

        font-size: 1.8rem;

    }


    .content h2 {

        font-size: 1.55rem;

    }


    .content h3 {

        font-size: 1.3rem;

    }


    .content h4 {

        font-size: 1.15rem;

    }


    .content ul,
    .content ol {

        padding-right: 22px;

    }


    .content blockquote {

        padding: 12px 14px;

    }


    .content pre {

        font-size: 0.8rem;

        padding: 13px;

        border-radius: 8px;

    }


    .content img {

        border-radius: 8px;

    }

}

/* =========================================================
   PRODUCT SLIDER
========================================================= */

.productSliderCont {
    width: 100%;
    padding: 0 1rem 2rem;
}

.productSlider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #101212;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 1.25rem;
}


/* =========================
   HEADER
========================= */

.productSliderHeader {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.productSliderTitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.productSliderLine {
    width: 7px;
    height: 27px;
    border-radius: 999px;
    background: #ffdd00;
    box-shadow: 0 0 12px rgba(255,221,0,0.5);
}

.productSliderTitle h2 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}


/* =========================
   CONTROLS
========================= */

.productSliderControls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.productSliderBtn {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;

    background: #171919;
    color: #fff;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.productSliderBtn span {
    font-size: 28px;
    line-height: 1;
    transform: translateY(-2px);
}

.productSliderBtn:hover {
    background: #ffdd00;
    color: #000;
    border-color: #ffdd00;
}

.productSliderBtn:active {
    transform: scale(0.9);
}


/* =========================
   VIEWPORT
========================= */

.productSliderViewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.productSliderViewport.dragging {
    cursor: grabbing;
}


/* =========================
   TRACK
========================= */

.productSliderTrack {
    display: flex;
    will-change: transform;
    transform: translate3d(0,0,0);
}


/* =========================
   SLIDE
========================= */

.productSlide {
    flex: 0 0 25%;
    min-width: 0;
    padding: 0 0.4rem;
}


/* =========================
   CARD
========================= */

.productCard {
    height: 100%;

    overflow: hidden;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);

    background: #171919;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.productCard:hover {
    transform: translateY(-5px);
    border-color: rgba(255,221,0,0.35);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}


/* =========================
   IMAGE
========================= */

.productImageBox {
    width: 100%;
    aspect-ratio: 1 / 0.78;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(255,221,0,0.05),
            transparent 65%
        );
}

.productImageBox img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 1rem;

    pointer-events: none;

    transition:
        transform 0.5s cubic-bezier(.2,.8,.2,1);
}

.productCard:hover .productImageBox img {
    transform: scale(1.06);
}


/* =========================
   INFO
========================= */

.productInfo {
    padding: 0.9rem;
}

.productInfo h3 {
    margin: 0 0 0.6rem;

    color: #fff;

    font-size: 0.95rem;

    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.productPrice {
    display: block;

    color: #ffdd00;

    font-size: 0.9rem;
    font-weight: 700;

    margin-bottom: 0.75rem;
}

.productMore {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 0.55rem 0.7rem;

    border-radius: 8px;

    background: rgba(255,255,255,0.04);

    color: rgba(255,255,255,0.7);

    text-decoration: none;

    font-size: 0.8rem;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.productMore span {
    transition: transform 0.25s ease;
}

.productMore:hover {
    background: #ffdd00;
    color: #000;
}

.productMore:hover span {
    transform: translateX(-4px);
}


/* =========================
   DOTS
========================= */

.productSliderDots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-top: 1.25rem;
}

.productSliderDot {
    width: 7px;
    height: 7px;

    border: 0;
    padding: 0;

    border-radius: 999px;

    background: rgba(255,255,255,0.2);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.productSliderDot.active {
    width: 22px;
    background: #ffdd00;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .productSlide {
        flex-basis: 33.333333%;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .productSliderCont {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .productSlider {
        padding: 1rem;
    }

    .productSliderTitle h2 {
        font-size: 1rem;
    }

    .productSliderLine {
        width: 5px;
        height: 23px;
    }

    .productSliderBtn {
        width: 34px;
        height: 34px;
    }

    .productSlide {
        flex-basis: 50%;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .productSliderHeader {
        margin-bottom: 1rem;
    }

    .productSlide {
        flex-basis: 85%;
    }

    .productInfo {
        padding: 0.8rem;
    }

    .productInfo h3 {
        font-size: 0.85rem;
    }

    .productPrice {
        font-size: 0.8rem;
    }

}