/* =========================================================
   WEBLINKUS TUTORIALS PAGE
   PREMIUM VIDEO ARCHIVE
========================================================= */


/* =========================================================
   01. PAGE
========================================================= */

.tutorials-page {
    width: 100%;

    direction: rtl;

    background: #f7f9fc;
}


/* =========================================================
   02. HERO
========================================================= */

.tutorials-hero {
    width: 100%;

    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            #03142d 0%,
            #062552 100%
        );

    text-align: center;

    overflow: hidden;
}


/* =========================================================
   03. HERO CONTENT
========================================================= */

.tutorials-hero-content {
    max-width: 800px;

    margin: 0 auto;
}


/* =========================================================
   04. HERO LABEL
========================================================= */

.tutorials-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    padding: 7px 16px;

    background: rgba(240, 0, 0, 0.12);

    border: 1px solid rgba(240, 0, 0, 0.35);

    border-radius: 50px;

    color: #ff4b4b;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.5;
}


/* =========================================================
   05. HERO TITLE
========================================================= */

.tutorials-hero h1 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 38px;

    font-weight: 800;

    line-height: 1.5;
}


/* =========================================================
   06. HERO DESCRIPTION
========================================================= */

.tutorials-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.75);

    font-size: 16px;

    font-weight: 500;

    line-height: 1.9;
}


/* =========================================================
   07. CONTENT
========================================================= */

.tutorials-content {
    width: 100%;

    padding: 70px 0;
}


/* =========================================================
   08. CONTENT HEADER
========================================================= */

.tutorials-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}


/* =========================================================
   09. SECTION LABEL
========================================================= */

.tutorials-section-label {
    display: block;

    margin-bottom: 7px;

    color: #f00000;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   10. SECTION TITLE
========================================================= */

.tutorials-header h2 {
    margin: 0;

    color: #03142d;

    font-size: 30px;

    font-weight: 800;

    line-height: 1.5;
}


/* =========================================================
   11. CHANNEL BUTTON
========================================================= */

.tutorials-channel-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 160px;

    min-height: 46px;

    padding: 10px 22px;

    background: #f00000;

    border: 2px solid #f00000;

    border-radius: 10px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 8px 20px rgba(240, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   12. CHANNEL BUTTON HOVER
========================================================= */

.tutorials-channel-btn:hover {
    background: #d40000;

    border-color: #d40000;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(240, 0, 0, 0.25);
}


/* =========================================================
   13. VIDEO GRID
========================================================= */

.tutorials-content .youtube-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   14. VIDEO CARD
========================================================= */

.tutorials-content .video-card {
    min-width: 0;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 10px 28px rgba(3, 20, 45, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   15. VIDEO CARD HOVER
========================================================= */

.tutorials-content .video-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 42px rgba(3, 20, 45, 0.15);
}


/* =========================================================
   16. VIDEO LINK
========================================================= */

.tutorials-content .video-card > a {
    display: block;

    width: 100%;

    height: 100%;

    color: inherit;

    text-decoration: none;

    cursor: pointer;
}


/* =========================================================
   17. VIDEO THUMBNAIL
========================================================= */

.tutorials-content .video-thumb {
    position: relative;

    width: 100%;

    height: 215px;

    overflow: hidden;

    background: #03142d;
}


/* =========================================================
   18. THUMBNAIL IMAGE
========================================================= */

.tutorials-content .video-thumb img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}


/* =========================================================
   19. THUMBNAIL HOVER
========================================================= */

.tutorials-content .video-card:hover .video-thumb img {
    transform: scale(1.07);

    filter: brightness(0.72);
}


/* =========================================================
   20. PLAY BUTTON
========================================================= */

.tutorials-content .play-button {
    position: absolute;

    top: 50%;

    left: 50%;

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform:
        translate(-50%, -50%);

    background: #f00000;

    border-radius: 50%;

    color: #ffffff;

    font-size: 22px;

    line-height: 1;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* =========================================================
   21. PLAY BUTTON HOVER
========================================================= */

.tutorials-content .video-card:hover .play-button {
    transform:
        translate(-50%, -50%) scale(1.13);

    background: #ff0000;

    box-shadow:
        0 12px 32px rgba(240, 0, 0, 0.38);
}


/* =========================================================
   22. VIDEO TITLE
========================================================= */

.tutorials-content .video-card h4 {
    margin: 18px 18px 8px;

    color: #03142d;

    font-size: 17px;

    font-weight: 800;

    line-height: 1.6;

    transition:
        color 0.25s ease;
}


/* =========================================================
   23. VIDEO TITLE HOVER
========================================================= */

.tutorials-content .video-card:hover h4 {
    color: #f00000;
}


/* =========================================================
   24. VIDEO META
========================================================= */

.tutorials-content .video-card p {
    margin: 0 18px 20px;

    color: #8a94a6;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   25. TABLET
========================================================= */

@media (max-width: 991px) {

    .tutorials-hero {
        padding: 65px 0;
    }

    .tutorials-hero h1 {
        font-size: 32px;
    }

    .tutorials-content {
        padding: 60px 0;
    }

    .tutorials-content .youtube-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .tutorials-content .video-thumb {
        height: 200px;
    }

}


/* =========================================================
   26. MOBILE
========================================================= */

@media (max-width: 767px) {

    .tutorials-hero {
        padding: 50px 0;
    }

    .tutorials-hero h1 {
        font-size: 26px;

        line-height: 1.5;
    }

    .tutorials-hero p {
        font-size: 14px;
    }

    .tutorials-content {
        padding: 45px 0;
    }


    /* =====================================
       HEADER
    ===================================== */

    .tutorials-header {
        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        margin-bottom: 28px;
    }

    .tutorials-header h2 {
        font-size: 24px;
    }

    .tutorials-channel-btn {
        width: 100%;
    }


    /* =====================================
       VIDEO GRID
    ===================================== */

    .tutorials-content .youtube-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    /* =====================================
       VIDEO THUMBNAIL
    ===================================== */

    .tutorials-content .video-thumb {
        height: auto;

        aspect-ratio: 16 / 9;
    }


    .tutorials-content .video-card h4 {
        font-size: 16px;
    }

}


/* =========================================================
   27. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tutorials-hero {
        padding: 42px 0;
    }

    .tutorials-label {
        font-size: 13px;

        padding: 6px 14px;
    }

    .tutorials-hero h1 {
        font-size: 22px;
    }

    .tutorials-hero p {
        font-size: 13px;
    }

    .tutorials-header h2 {
        font-size: 21px;
    }

    .tutorials-content .play-button {
        width: 52px;

        height: 52px;

        font-size: 20px;
    }

    .tutorials-content .video-card h4 {
        margin-top: 15px;

        font-size: 15px;
    }

}