/* ================================
   Categories Widget
================================ */

.-ycw-section.-ycwt-cat {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 18%, rgb(255 111 0 / 6%) 0, transparent 32%),
        radial-gradient(circle at 92% 82%, rgb(0 0 0 / 5%) 0, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.-ycw-section.-ycwt-cat::before,
.-ycw-section.-ycwt-cat::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
}

.-ycw-section.-ycwt-cat::before {
    width: 360px;
    height: 360px;
    inset-inline-start: -180px;
    top: 80px;
    background: rgb(255 111 0 / 6%);
}

.-ycw-section.-ycwt-cat::after {
    width: 260px;
    height: 260px;
    inset-inline-end: -110px;
    bottom: 60px;
    border: 38px solid rgb(0 0 0 / 4%);
}

.-YC-Cat-ro-v2,
.-YC-Cat-G,
.-cat-bo,
.content-box,
.sics-two__sin {
    position: relative;
}

.-YC-Cat-ro-v2 {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* ================================
   Header Area
================================ */

.-dlt-title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 42px;
    text-align: start;
}

.log-title {
    min-width: 0;
}

.-wi-aft-int-h4 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    max-width: max-content;
    margin: 0 0 14px;
    padding: 8px 16px;
    border: 1px solid rgb(255 111 0 / 10%);
    border-radius: 999px;
    background: #ffffff;
    color: var(--uicolor);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
    box-shadow: 0 10px 26px rgb(0 0 0 / 4%);
}

.-wi-aft-int-h4::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgb(255 111 0 / 10%);
}

.-w-h1-ti {
    margin: 0;
    color: var(--primary-text);
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -.45px;
    text-align: start;
}

.but--area-co {
    width: min(100%, 760px);
    max-width: 800px;
}

.-dlt-title .P-content {
    margin: 0;
    color: var(--secondarytext);
    font-size: 17px;
    line-height: 1.9;
    font-weight: 500;
    text-align: start;
}

.-defult-w--URL.--inline-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.-defult-w--URL.--inline-center a.fsurl-btn {
    background: var(--primary-text);
    border-color: var(--primary-text);
}

.-defult-w--URL.--inline-center a.fsurl-btn:hover {
    background: #ffffff;
    color: var(--primary-text);
}

/* ================================
   Categories Lists
================================ */

.-YC-Cat-G,
.-Cat-lists {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    justify-content: center;
}

.cat--back .btn2-row {
    justify-content: center;
}

/* ================================
   Card
================================ */

.-cat-bo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    cursor: pointer;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    padding: 24px !important;
    border: 1px solid rgb(0 0 0 / 7%);
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgb(255 111 0 / 6%) 0, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
    box-shadow: 0 14px 38px rgb(0 0 0 / 6%);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease,
        background-color .3s ease;
}

.-page--container-sidebars.categories .-cat-bo {
    background:
        radial-gradient(circle at 0 0, rgb(255 111 0 / 6%) 0, transparent 34%),
        linear-gradient(180deg, var(--background2, #ffffff) 0%, #fffaf2 100%);
}

.-cat-bo::before {
    content: "";
    position: absolute;
    inset-block: 22px;
    inset-inline-start: 0;
    z-index: 2;
    width: 4px;
    border-radius: 999px;
    background: var(--uicolor);
    opacity: 0;
    transition: opacity .26s ease;
}

.-cat-bo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    width: 100%;
    height: 0;
    border-radius: 999px 999px 0 0;
    background:
        radial-gradient(circle at 20% 0%, rgb(255 255 255 / 18%) 0, transparent 34%),
        linear-gradient(135deg, var(--uicolor) 0%, var(--uicolor2) 100%);
    transition:
        height .34s ease,
        border-radius .34s ease;
}

.-cat-bo:hover {
    transform: translateY(-7px);
    border-color: rgb(255 111 0 / 18%);
    box-shadow: 0 26px 62px rgb(0 0 0 / 13%);
}

.-cat-bo:hover::before {
    opacity: 1;
}

.-cat-bo:hover::after {
    height: 100%;
    border-radius: 24px;
}

/* ================================
   Card Content
================================ */

.sics-two__sin {
    z-index: 3;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.content-box {
    z-index: 3;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.sics-two__sin a {
    position: relative;
    z-index: 3;
    display: block;
    color: inherit;
}

.sics-two__sin a h3 {
    position: relative;
    z-index: 3;
    display: block;
    margin: 0 0 10px;
    color: var(--primary-text);
    font-size: 22px;
    line-height: 1.45;
    font-weight: 900;
    transition: color .3s ease;
}

.-cat-bo:hover .sics-two__sin a h3 {
    color: #ffffff;
}

.-cat-right {
    position: relative;
    z-index: 3;
    margin-top: 4px;
    color: var(--primary-text);
    font-size: 19px;
    line-height: 1.5;
    font-weight: 800;
    transition: color .3s ease;
}

.-cat-bo:hover .-cat-right {
    color: #ffffff;
}

.-cat-bo .-p-cat-desc {
    position: relative;
    z-index: 3;
    display: block;
    margin: 0;
    color: var(--secondarytext);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 500;
    text-align: start;
    transition: color .3s ease;
}

.-cat-bo:hover .-p-cat-desc {
    color: rgb(255 255 255 / 84%);
}

/* ================================
   Icon
================================ */

.icon_cat {
    position: relative;
    z-index: 3;
    width: 68px;
    min-width: 68px;
    height: 68px;
    border: 1px solid rgb(255 111 0 / 10%);
    border-radius: 20px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
    color: var(--uicolor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 14px 32px rgb(0 0 0 / 7%);
    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.icon_cat::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgb(255 111 0 / 8%);
    border-radius: 25px;
    pointer-events: none;
    transition: border-color .3s ease;
}

.icon_cat svg,
.icon_cat i,
.icon_cat img {
    position: relative;
    z-index: 2;
    max-width: 34px;
    max-height: 34px;
    transition:
        transform .3s ease,
        filter .3s ease,
        color .3s ease;
}

.-cat-bo:hover .icon_cat {
    border-color: rgb(255 255 255 / 24%);
    background: rgb(255 255 255 / 16%);
    color: #ffffff;
    transform: translateY(-4px) rotate(-3deg);
    box-shadow: 0 22px 44px rgb(0 0 0 / 14%);
}

.-cat-bo:hover .icon_cat::before {
    border-color: rgb(255 255 255 / 18%);
}

.-cat-bo:hover .icon_cat svg,
.-cat-bo:hover .icon_cat i,
.-cat-bo:hover .icon_cat img {
    filter: brightness(0) invert(1);
    transform: scale(1.06);
}

/* ================================
   Compatibility With DW Title
================================ */

.-ycwt-cat .-dw-h4 {
    background: #ffffff;
}

/* ================================
   Responsive
================================ */

@media (max-width: 1290px) {
    .but--area-co {
        max-width: 620px;
    }

    .-YC-Cat-G,
    .-Cat-lists {
        gap: 18px;
    }
}

@media (max-width: 1100px) {
    .-YC-Cat-G,
    .-Cat-lists {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .-cat-bo {
        padding: 22px !important;
        border-radius: 22px;
    }

    .sics-two__sin a h3 {
        font-size: 20px;
    }

    .icon_cat {
        width: 62px;
        min-width: 62px;
        height: 62px;
        border-radius: 18px;
        font-size: 27px;
    }

    .icon_cat::before {
        border-radius: 23px;
    }
}

@media (max-width: 950px) {
    .-dlt-title {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 26px;
        text-align: center;
    }

    .log-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .-wi-aft-int-h4 {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .-w-h1-ti {
        font-size: 28px;
        text-align: center;
    }

    .but--area-co {
        max-width: 100%;
        text-align: center;
    }

    .-dlt-title .P-content,
    .but--area-co .P-content {
        font-size: 15px;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .-ycw-section.-ycwt-cat::after,
    .-ycw-section.-ycwt-cat::before {
        display: none;
    }

    .-YC-Cat-G,
    .-Cat-lists {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .-cat-bo {
        padding: 20px 17px !important;
        border-radius: 20px;
    }

    .-cat-bo:hover::after {
        border-radius: 20px;
    }

    .sics-two__sin {
        gap: 15px;
    }

    .sics-two__sin a h3 {
        margin-bottom: 8px;
        font-size: 18px;
        line-height: 1.5;
    }

    .-cat-bo .-p-cat-desc {
        font-size: 14px;
        line-height: 1.75;
    }

    .-cat-right {
        font-size: 17px;
    }

    .icon_cat {
        width: 56px;
        min-width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 23px;
    }

    .icon_cat::before {
        inset: -6px;
        border-radius: 21px;
    }
}

@media (max-width: 580px) {
    .-dlt-title {
        margin-bottom: 22px;
    }

    .-w-h1-ti {
        font-size: 23px;
    }

    .-wi-aft-int-h4 {
        padding: 7px 13px;
        font-size: 13px;
    }

    .but--area-co .P-content,
    .-dlt-title .P-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .-cat-bo {
        padding: 18px 15px !important;
        border-radius: 18px;
    }

    .-cat-bo:hover::after {
        border-radius: 18px;
    }

    .sics-two__sin a h3 {
        font-size: 17px;
    }

    .-cat-bo .-p-cat-desc {
        font-size: 13.5px;
    }

    .icon_cat {
        width: 52px;
        min-width: 52px;
        height: 52px;
        font-size: 21px;
    }
}

@media (max-width: 380px) {
    .-w-h1-ti {
        font-size: 21px;
    }

    .-cat-bo {
        padding: 16px 13px !important;
    }

    .sics-two__sin a h3 {
        font-size: 16px;
    }

    .-cat-bo .-p-cat-desc {
        font-size: 13px;
    }
}