/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.suntask-product-archive,
.suntask-single-product {
    background: #f6f9fc;
}

.suntask-product-hero,
.suntask-single-hero {
    background: linear-gradient(90deg, #0f58a9 0%, #2958a6 36%, rgb(41 88 166 / 90%) 62%), url(https://suntaskvietnam.com/wp-content/uploads/2026/05/link-anh-nen-pho.webp) bottom / cover no-repeat;
		z-index: 1;
    padding: 80px 0;
    color: #fff;
}

.suntask-product-hero .container,
.suntask-product-section .container,
.suntask-single-hero .container,
.suntask-single-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.suntask-product-hero span {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffdf4d;
}

.suntask-product-hero h1 {
    font-size: 40px;
    line-height: 1.25;
    margin: 0 0 15px;
    color: #fff;
	text-transform: uppercase;
    font-weight: 700;
}

.suntask-product-hero p {
    max-width: 720px;
    font-size: 18px;
    margin: 0;
}

.suntask-product-section {
    padding: 60px 0;
}

.suntask-product-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.suntask-product-cats a {
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #0b6bbf;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .25s;
}

.suntask-product-cats a:hover,
.suntask-product-cats a.active {
    background: linear-gradient(135deg,#ff4d4f 0%,#ec2127 45%,#b80d13 100%)
    color: #fff;
}

.suntask-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.suntask-product-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .3s;
}

.suntask-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,.13);
}

.suntask-product-img {
    display: block;
    height: 260px;
    background: #eef5f9;
    overflow: hidden;
}

.suntask-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.suntask-product-card:hover .suntask-product-img img {
    transform: scale(1.06);
}

.suntask-product-content {
    padding: 24px;
}

.suntask-product-label {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(0,166,81,.1);
    color: #0f58a9;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.suntask-product-content h2 {
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 12px;
}

.suntask-product-content h2 a {
    color: #092b4c;
    text-decoration: none;
}

.suntask-product-content p {
    color: #5f6f7d;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.suntask-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    background: #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
	border:1px solid #0b4fa3;
	color:#0b4fa3;
}

.suntask-pagination {
    margin-top: 40px;
    text-align: center;
}

.suntask-single-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.suntask-single-image {
    background: #fff;
    border-radius: 26px;
    padding: 25px;
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

.suntask-single-image img {
    width: 100%;
    border-radius: 18px;
}

.suntask-single-info h1 {
    font-size: 40px;
    color: #fff;
    margin: 10px 0 15px;
}

.suntask-single-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #eef8ff;
}

.suntask-single-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.suntask-call-btn,
.suntask-zalo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.suntask-call-btn {
    background: linear-gradient(135deg,#ff4d4f 0%,#ec2127 45%,#b80d13 100%);
}

.suntask-zalo-btn {
    background: linear-gradient(135deg,#ff4d4f 0%,#ec2127 45%,#b80d13 100%);
}

.suntask-single-content {
    padding: 60px 0;
}

.suntask-content-box {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.suntask-content-box h2 {
    color: #092b4c;
    margin-top: 0;
}

.suntask-content-box p {
    font-size: 16px;
    line-height: 1.75;
    color: #43515c;
}

@media (max-width: 991px) {
    .suntask-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .suntask-single-wrap {
        grid-template-columns: 1fr;
    }

    .suntask-product-hero h1,
    .suntask-single-info h1 {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .suntask-product-grid {
        grid-template-columns: 1fr;
    }

    .suntask-product-hero,
    .suntask-single-hero {
        padding: 55px 0;
    }

    .suntask-product-img {
        height: 230px;
    }

    .suntask-content-box {
        padding: 24px;
    }
}
.suntask-single-navigation {
    padding: 0 0 70px;
}

.suntask-nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.suntask-nav-item a {
    display: block;
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .3s;
}

.suntask-nav-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.suntask-nav-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f58a9;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.suntask-nav-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.suntask-nav-thumb {
    width: 70px;
    min-width: 70px;
    height: 70px;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f7fa;
}

.suntask-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suntask-nav-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #092b4c;
}

.suntask-nav-center a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg,#ff4d4f 0%,#ec2127 45%,#b80d13 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.suntask-nav-item.next .suntask-nav-content {
    justify-content: flex-end;
    text-align: right;
}

@media (max-width: 991px) {

    .suntask-nav-grid {
        grid-template-columns: 1fr;
    }

    .suntask-nav-center {
        order: -1;
        text-align: center;
    }

}
.suntask-breadcrumb {
    position: relative;
    padding: 22px 0;
    background:
        linear-gradient(rgba(5,18,45,.82), rgba(5,18,45,.82)),
        url('/wp-content/uploads/2026/05/suntask-bg.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.suntask-breadcrumb::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -50px;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.suntask-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.suntask-breadcrumb-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.suntask-breadcrumb-wrap a {
    color: #fff;
    text-decoration: none;
    transition: .25s;
}

.suntask-breadcrumb-wrap a:hover {
    color: #ffdf4d;
}

.suntask-breadcrumb-wrap span {
    opacity: .7;
}

.suntask-breadcrumb-wrap strong {
    color: #ffffff;
    font-weight: 800;
}
/* DANH MỤC SẢN PHẨM */
.suntask-product-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
    padding-bottom: 10px;
    position: relative;
}

.suntask-product-cats::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,.08);
}

.suntask-product-cats a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #ffffff;
    color: #0b2c52;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
    border: 1px solid rgba(11,107,191,.12);
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    overflow: hidden;
    transition: all .3s ease;
}

.suntask-product-cats a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0b6bbf 0%, #00a651 100%);
    opacity: 0;
    transition: .3s;
    z-index: 0;
}

.suntask-product-cats a span,
.suntask-product-cats a {
    position: relative;
    z-index: 2;
}

.suntask-product-cats a:hover {
    transform: translateY(-3px);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(11,107,191,.18);
}

.suntask-product-cats a:hover::before {
    opacity: 1;
}

.suntask-product-cats a.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #0b6bbf 0%, #00a651 100%);
    box-shadow: 0 15px 35px rgba(11,107,191,.22);
}

.suntask-product-cats a.active::before {
    opacity: 0;
}

/* MOBILE */
@media (max-width: 768px) {

    .suntask-product-cats {
        gap: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 14px;
        scrollbar-width: none;
    }

    .suntask-product-cats::-webkit-scrollbar {
        display: none;
    }

    .suntask-product-cats a {
        white-space: nowrap;
        min-height: 42px;
        padding: 10px 18px;
        font-size: 14px;
    }

}

/* CONTAINER */
.st-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* BREADCRUMB - GIỮ NGUYÊN */
.st-product-breadcrumb {
    padding: 18px 0;
    background: #0b4fa3;
    color: #fff;
}

.st-product-breadcrumb .st-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.st-product-breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.st-product-breadcrumb span {
    opacity: .6;
}

.st-product-breadcrumb strong {
    color: #fff;
    font-weight: 800;
}

/* HERO BACKGROUND FULL WIDTH */
.st-product-hero-bg {
    position: relative;
    min-height: 620px;
    background-image: url('https://suntaskvietnam.com/wp-content/uploads/2026/05/link-anh-nen-pho.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.st-product-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #eef7ffbf 0%, #ffffff 38%, #d9efffb5 100%);
    z-index: 1;
}

.st-product-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.st-product-floating-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.st-product-floating-image img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(0,0,0,.28));
}

/* INTRO */
.st-product-intro {
    background: #f6f9fc;
    padding: 50px 0 65px;
    text-align: center;
}

.st-product-cat-wrap {
    margin-bottom: 18px;
}

.st-product-cat {
    display: inline-flex;
    padding: 9px 20px;
    border-radius: 999px;
    background: rgb(0 137 166 / 12%);
    color: #0f58a9;
    font-weight: 800;
    font-size: 14px;
}

.st-product-intro h1 {
    max-width: 960px;
    margin: 0 auto 24px;
    color: #0f58a9;
    font-size: 40px;
    line-height: 1.22;
    font-weight: 700;
    text-transform: uppercase;
}

.st-product-short-desc {
    max-width: 920px;
    margin: 0 auto;
    color: #000;
    font-size: 17px;
    line-height: 1.85;
	text-align:justify;
	background: #fff;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .07);
    border: 1px solid rgba(11, 79, 163, .08);
}

.st-product-short-desc p {
    margin-bottom: 0;
}

/* BUTTON ĐỒNG BỘ LIÊN HỆ */
/* BUTTON WRAP */
.st-product-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
    margin-top:35px;
}

/* BUTTON */
.st-contact-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-width:290px;
    height:82px;
    padding:0 30px;
    border-radius:24px;
    color:#fff;
    text-decoration:none;
    font-size:20px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
    transition:.3s ease;
    overflow:hidden;
    background:#dfe8f2;
    box-shadow:
    inset 0 2px 0 rgba(255,255,255,.6),
    0 10px 25px rgba(0,0,0,.12);
}

/* INNER BUTTON */
.st-contact-btn::before{
    content:"";
    position:absolute;
    left:10px;
    right:10px;
    top:10px;
    bottom:10px;

    border-radius:18px;

    z-index:1;
}

/* TEXT */
.st-contact-btn span,
.st-contact-btn i{
    position:relative;
    z-index:3;
}

/* CALL */
.st-contact-call::before{
    background:linear-gradient(180deg,#ff4638 0%,#d11b16 100%);
    box-shadow:
    inset 0 2px 0 rgba(255,255,255,.25),
    inset 0 -3px 0 rgba(0,0,0,.18);
}

/* ZALO */
.st-contact-zalo::before{
    background:linear-gradient(180deg,#3f79ff 0%,#1d4ea5 100%);
    box-shadow:
    inset 0 2px 0 rgba(255,255,255,.25),
    inset 0 -3px 0 rgba(0,0,0,.18);
}

/* HOVER */
.st-contact-btn:hover{
    transform:translateY(-5px);
    color:#fff;

    box-shadow:
    inset 0 2px 0 rgba(255,255,255,.6),
    0 16px 35px rgba(0,0,0,.18);
}

/* ACTIVE */
.st-contact-btn:active{
    transform:translateY(1px);
}

/* ICON */
.st-contact-btn i{
    font-size:26px;
}

/* MOBILE */
@media(max-width:768px){

    .st-product-actions{
        gap:14px;
    }

    .st-contact-btn{
        min-width:100%;
        height:72px;
        font-size:16px;
        border-radius:20px;
    }

    .st-contact-btn::before{
        border-radius:15px;
    }
	.st-product-breadcrumb{
		display:none;
	}

}
/* CONTENT DETAIL */
.st-product-content-section {
    padding: 75px 0;
    background: #fff;
}

.st-product-content-box {
    background: #fff;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 15px 45px rgba(0,0,0,.07);
    border: 1px solid rgba(11,79,163,.08);
}

.st-section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.st-section-heading span {
    display: inline-block;
    color: #0f58a9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.st-section-heading h2 {
    margin: 0;
    color: #0f58a9;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.st-product-content {
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
	text-align:justify;
}

.st-product-content h2,
.st-product-content h3,
.st-product-content h4 {
    color: #0b2c52;
    margin-top: 30px;
	text-transform:capitalize;
}

.st-product-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

/* RELATED PRODUCTS */
.st-related-products {
    padding: 75px 0 90px;
    background: #f6f9fc;
}

.st-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.st-related-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: .3s;
}

.st-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.st-related-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    background: #f7f9fc;
    padding: 22px;
}

.st-related-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.st-related-info {
    padding: 24px;
    text-align: center;
}

.st-related-info h3 {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.5;
}

.st-related-info h3 a {
    color: #0b2c52;
    text-decoration: none;
}

.st-related-btn {
    display: inline-flex;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid #0b4fa3;
    color: #0b4fa3;
    text-decoration: none;
    font-weight: 800;
    transition: .3s;
}

.st-related-btn:hover {
    background: #0b4fa3;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .st-product-hero-bg {
        min-height: 540px;
    }

    .st-product-floating-image {
        min-height: 470px;
    }

    .st-product-floating-image::before {
        width: 440px;
        height: 260px;
    }

    .st-product-intro h1 {
        font-size: 36px;
    }

    .st-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .st-product-hero-bg {
        min-height: 430px;
    }

    .st-product-floating-image {
        min-height: 390px;
    }

    .st-product-floating-image::before {
        width: 310px;
        height: 205px;
        bottom: 35px;
        border-radius: 28px;
    }

    .st-product-floating-image::after {
        width: 120px;
        height: 120px;
        right: 15px;
        top: 55px;
    }

    .st-product-floating-image img {
        max-height: 385px;
        max-width: 95%;
    }

    .st-product-intro {
        padding: 38px 0 50px;
    }

    .st-product-intro h1 {
        font-size: 28px;
    }

    .st-product-short-desc {
        font-size: 16px;
        line-height: 1.75;
		font-weight: 500;
    }

    .st-contact-btn {
        width: 100%;
    }

    .st-product-content-box {
        padding: 26px;
        border-radius: 20px;
    }

    .st-section-heading h2 {
        font-size: 25px;
    }

    .st-related-grid {
        grid-template-columns: 1fr;
    }
}
.st-product-content-wrapper{
    position: relative;
    overflow: hidden;
}

/* Nội dung thu gọn */
.st-product-content{
    max-height: 500px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

/* Khi mở rộng */
.st-product-content.active{
    max-height: 10000px;
}

/* Overlay mờ */
.st-content-overlay{
    position: absolute;
    left: 0;
    bottom: 60px;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    pointer-events: none;
    transition: 0.3s;
}

/* Ẩn overlay khi mở */
.st-product-content.active + .st-content-overlay{
    opacity: 0;
    visibility: hidden;
}

/* Nút xem thêm */
.st-readmore-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 25px auto 0;
    background: none;
    border: none;
    color: #ff2a2a;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    padding-bottom: 18px;
}

/* Gạch đỏ dưới */
.st-readmore-btn::after{
    content: "";
    width: 120px;
    height: 5px;
    background: #ff2a2a;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

/* Icon */
.st-readmore-btn span{
    font-size: 18px;
    transition: 0.3s;
}

/* Xoay icon khi mở */
.st-readmore-btn.active span{
    transform: rotate(180deg);
}

/* Mobile */
@media(max-width: 768px){

    .st-product-content{
        max-height: 350px;
    }

    .st-readmore-btn{
        font-size: 22px;
    }

}
