﻿/* ====================== TIPS SECTION LAYOUT ========================= */
.tips-section {
    position: relative;
    padding: 0;
}

.tips-bg-wrapper {
    background: var(--np-grey-hot-bg);
    padding-top: 20px;
    padding-bottom: 120px;
    position: relative;
}
/* ====================== END TIPS SECTION LAYOUT ========================= */



/* ====================== TIPS SKEW BACKGROUND ========================= */
.tips-bg-skew {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 90%;
    background: var(--np-hover-bg);
    z-index: 1;
    clip-path: polygon(0 120px, 100% 0, 100% 80%, 0 100%);
}
/* ====================== END TIPS SKEW BACKGROUND ========================= */



/* ====================== TIPS INNER WRAPPER ========================= */
.tips-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
/* ====================== END TIPS INNER WRAPPER ========================= */



/* ====================== TIPS TITLE ========================= */
.tips-title {
    font-size: var(--fs-6xl);
    margin-bottom: 60px;
    font-weight: 100;
    font-family: var(--font-header);
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

    .tips-title::before {
        content: "";
        position: absolute;
        left: -30px;
        top: 75%;
        transform: translateY(-50%);
        width: 55px;
        height: 55px;
        background-image: url("/images/newDesign/aboutPage/tips/star1.svg");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .tips-title::after {
        content: "";
        position: absolute;
        right: -40px;
        top: 5%;
        transform: translateY(-50%);
        width: 67px;
        height: 67px;
        background-image: url("/images/newDesign/aboutPage/tips/star2.svg");
        background-size: contain;
        background-repeat: no-repeat;
        z-index: -1;
        opacity: 0.9;
    }

.tips-title-dark {
    color: var(--np-dark);
}

.tips-title-accent {
    color: var(--np-accent1);
}
/* ====================== END TIPS TITLE ========================= */



/* ====================== TIPS GRID ========================= */
.tips-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
/* ====================== END GRID ========================= */



/* ====================== TIPS LEFT FRAME ========================= */
.tips-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    position: relative;
    background-image: url("/images/newDesign/aboutPage/tips/tips-rectangle-bg.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-color: transparent;
    overflow: hidden;
}

.tips-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 88%;
    border-radius: 16px;
    background: var(--np-grey-hot-bg);
    border: none;
    z-index: 2;
}
/* ====================== END FRAME ========================= */



/* ====================== LEFT IMAGE ========================= */
.tips-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 88%;
    border-radius: 16px;
    background: var(--np-grey-hot-bg);
    border: none;
    z-index: 2; 
    display: none; 
    overflow: hidden;
}

    .tips-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: transparent;
    }
/* ====================== END LEFT IMAGE ========================= */



/* ====================== TIPS SIDEBAR ========================= */
.tips-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tips-sidebar-block {
    padding: 20px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tips-sidebar-title {
    font-size: var(--fs-xxl);
    font-family: var(--font-header);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
}
/* ====================== END SIDEBAR ========================= */



/* ====================== TIPS BUTTONS ========================= */
.tips-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--np-green);
    border: 2px solid var(--np-dark);
    border-radius: 30px;
    padding: 10px 18px;
    font-size: var(--fs-lg);
    color: var(--np-white);
    font-weight: bold;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
    margin-bottom: 12px;
    justify-content: center;
    text-align: center;
    width: 70%
}

    .tips-btn:hover {
        transform: translateY(-3px);
        background: var(--np-accent2);
        color: var(--np-white);
        text-decoration: none;
    }

    .tips-btn,
    .tips-btn:visited,
    .tips-btn:active,
    .tips-btn:focus {
        color: var(--np-white);
        text-decoration: none !important;
        outline: none !important;
    }
/* ====================== END BUTTONS ========================= */



/* ====================== TIPS NAV BTNS ========================= */
.tips-nav {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    width: 70%;
}

.tips-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--np-green);
    border: 2px solid var(--np-dark);
    border-radius: 30px;
    padding: 10px 18px;
    font-size: var(--fs-lg);
    font-weight: bold;
    color: var(--np-white);
    transition: background .25s ease, transform .25s ease;
    width: 100%;
    text-align: center;
}

    .tips-nav-btn:hover {
        transform: translateY(-3px);
        background: var(--np-accent2);
        color: var(--np-white);
        text-decoration: none;
    }
/* ====================== END NAV BTNS ========================= */



/* ====================== TIPS DIVIDER ========================= */
.tips-divider {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--np-accent1);
    border-radius: 10px;
}
/* ====================== END DIVIDER ========================= */
