/* ==========================================================================
   Home hero header — hero banner, content-language bar, category icon row
   ========================================================================== */

.pt_home_hero_group {
    margin: 0 0 24px 0;
    font-family: 'Poppins', sans-serif;
}

/* ---- Hero banner ---- */
.pt_home_hero {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    background-color: #050c1f;
    background-image: url("../img/header-background.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.pt_home_hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(4, 10, 26, 0.94) 0%, rgba(4, 10, 26, 0.82) 38%, rgba(4, 10, 26, 0.35) 75%, rgba(4, 10, 26, 0.15) 100%);
}

.pt_home_hero_inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 48px 56px;
}

.pt_home_hero_title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.28;
    margin: 0 0 16px 0;
}

.pt_home_hero_subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 28px 0;
}

.pt_home_hero_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-hero-primary {
    background-color: #2196F3;
    border: 1px solid #2196F3;
    color: #ffffff;
}

.btn-hero-primary:hover {
    background-color: #1976D2;
    border-color: #1976D2;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
}

.btn-hero-secondary {
    background: #ff7400;
    color: #FFF;
    font-weight: 700;
    border: 1px solid #ff7400;
    color: #ffffff;
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.btn-hero-primary svg,
.btn-hero-secondary svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Content language panel (right end of hero, in line with the hero buttons) ---- */
.pt_home_hero_lang {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    align-self: flex-end;
    margin: 0 32px 48px auto;
    max-width: 100%;
    padding: 24px 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.pt_home_lang_label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.pt_home_lang_label svg {
    width: 26px;
    height: 26px;
    color: #64b5f6;
    flex-shrink: 0;
    margin-top: 1px;
}

.pt_home_lang_label_title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.pt_home_lang_label_note {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
    display: block;
    margin-top: 3px;
}

.pt_home_lang_pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pt_lang_pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pt_lang_pill:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.pt_lang_pill.active {
    background-color: #2196F3;
    border-color: #2196F3;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(33, 150, 243, 0.45);
}

.pt_lang_pill img {
    width: 21px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
}

.pt_lang_pill_more {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pt_lang_pill_more:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

/* ---- Category icon row ---- */
.pt_home_cat_row {
    position: relative;
    padding: 18px 32px;
    background-color: #ffffff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cus_cat_slider {
    margin: 0 -13px;
}

.cus_cat_slider:not(.slick-initialized) {
    display: flex;
    flex-wrap: wrap;
}

.pt_home_cat_row:hover .cus_cat_slider .slick-arrow {
    visibility: visible;
}

.pt_cat_slide {
    padding: 0 13px;
}

.pt_cat_icon_item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.pt_cat_icon_circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #eef5ff;
    color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.pt_cat_icon_item:hover {
    color: #2196F3;
}

.pt_cat_icon_item:hover .pt_cat_icon_circle {
    background-color: #2196F3;
    color: #ffffff;
}

/* ---- Responsive ---- */
@media only screen and (max-width: 992px) {
    .pt_home_hero_inner {
        padding: 40px;
    }

    .pt_home_hero_title {
        font-size: 25px;
    }

    .pt_home_hero_lang {
        width: 280px;
        margin: 0 24px 40px auto;
        padding: 20px 22px;
    }

    .pt_home_cat_row {
        padding: 18px 22px;
    }
}

@media only screen and (max-width: 768px) {
    .pt_home_hero {
        min-height: 0;
    }

    .pt_home_hero::before {
        background: linear-gradient(180deg, rgba(4, 10, 26, 0.55) 0%, rgba(4, 10, 26, 0.9) 65%, rgba(4, 10, 26, 0.96) 100%);
    }

    .pt_home_hero_inner {
        max-width: 100%;
        padding: 32px 24px;
    }

    .pt_home_hero_title {
        font-size: 21px;
    }

    .pt_home_hero_subtitle {
        font-size: 13.5px;
        margin-bottom: 22px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 10px 18px;
        font-size: 13px;
    }

    .pt_home_hero {
        justify-content: flex-start;
    }

    .pt_home_hero_lang {
        width: 100%;
    }

    .pt_home_cat_row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        justify-content: flex-start;
    }

    .pt_home_cat_row::-webkit-scrollbar {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .pt_home_hero_inner {
        padding: 26px 18px;
    }

    .pt_home_hero_title {
        font-size: 19px;
    }
}
