@media (min-width: 959px) {
    .single-item1-blog .blog-short-content {
        display: none;
    }

    .single-item1-blog .toggle-content {
        display: none;
    }
}

@media (max-width: 960px) {
    .single-item1-blog {
        display: flex;
        flex-flow: wrap;
        flex-direction: column;
        height: auto;
    }

    .single-item1-blog .white-box {
        width: 100%;
        margin-bottom: 10px;
    }

    .single-item1-blog .white-box .blog-full-content {
        display: none;
    }

    .main-content-text.white-box .main-full-content {
        display: none;
    }

    .single-item1-blog .white-box .toggle-checkbox:checked ~ .blog-full-content {
        display: block;
    }

    .single-item1-blog .white-box .blog-short-content {
        display: block;
    }

    .single-item1-blog .white-box .toggle-checkbox:checked ~ .blog-short-content {
        display: none;
    }
}


.backtolist-insingle {
    line-height: 40px;
    margin: 5px auto 15px;
}

.single-item1 {
    font-family: "Heebo", sans-serif;
    margin: 0
}

.single-item1 {
    display: flex;
    flex: 1 1 100%;
    max-width: 100%;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.single-item1 a {
    color: #676780
}

.single-item1 a:hover {
    color: #2F80ED
}

.single-item1 .single-item1-head {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    padding: 0;
    position: relative;
    border-radius: 20px;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    margin-bottom: 40px
}

.single-item1 .badgebox {
    position: absolute;
    left: 0;
    top: 30px;
    padding: 3px 8px;
    font-size: 14px;
    font-weight: 500;
    color: #39394E;
    z-index: 7
}

.single-item1 .badgebox {
    background-color: #FFEC3E
}

.single-item1.shopgproduct .badgebox {
    background-color: #FFEC3E
}

.single-item1 .single-item1-head .top-section {
    position: relative;
    max-height: 620px;
    min-height: 620px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.single-item1 .span-icon {
    line-height: 20px;
}

.single-item1 .likeboxfav {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    z-index: 5;
    background: transparent url('https://trthaifa.webtemp.win/wp-content/uploads/2024/09/heart-off.svg') no-repeat 50% 50%;
}

.single-item1 .likeboxfav.active {
    background: transparent url('https://trthaifa.webtemp.win/wp-content/uploads/2024/09/heart-on.svg') no-repeat 50% 50%;
}

.single-item1 .link-subtext {
    text-align: center;
    margin-bottom: 40px
}

.single-item1 .blogger-subtext {
    text-align: center;
    margin-bottom: 40px
}

.single-item1 .bottom-section .link-subtext {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px
}


.blogger-subtext h2, .blogger-subtext h3 {
    font-family: Heebo, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    margin: 0
}

.white-box .datetimelist a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0;
    justify-content: flex-start;
    border-bottom: 1px solid #EEEEFA;
    padding: 10px 10px;
    position: relative;
}

.white-box .datetimelist a strong,
.white-box .datetimelist a span {
    flex: 0 0 calc(24.2%);
    text-align: right;
}

@media (min-width: 960px) {
    .hide-960plus {
        display: none;
    }
}

@media (max-width: 959px) {
    .single-item1 .single-item1-head .bottom-section .post-title {
        font-size: 30px;
    }

    .single-item1 .single-item1-head {
        background-size: 0;
        margin-bottom: 20px;
    }

    .single-item1 .single-item1-head .top-section {
        position: relative;
        max-height: 260px;
        min-height: 260px;
        overflow: hidden;
        border-radius: 20px 20px 0 0;
    }

    .single-item1-content-col1 .white-box h2 {
        margin: 0 0 15px 0;
    }

    .white-box {
        background-color: white;
        border-radius: 20px;
        padding: 20px;
        min-height: 50px;
        color: #676780;
        box-shadow: 0 0 10px rgb(0 0 0 / 5%);
    }

    .white-box .mid-title {
        margin-bottom: 20px;
    }

    .white-box .datetimelist a {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 0;
        justify-content: flex-start;
        border-bottom: 1px solid #EEEEFA;
        padding: 10px 10px;
        position: relative;
    }

    .white-box .datetimelist a strong,
    .white-box .datetimelist a span {
        flex: 0 0 calc(41%);
        text-align: right;
    }

    .white-box .datetimelist a svg {
        position: absolute;
        left: 0;
        right: auto;
        top: 15px;
        width: 40px;
        height: 40px;
    }

    .single-item1 .flex-row.dataline a {
        color: #1e73be;
    }

    .single-item1 .span-icon {
        color: #919191;
    }

    .single-item1 .more-details-cols .whours_full p {
        color: #6f6d6d;
    }

    .single-item1 .white-box .more-details-cols {
        display: flex;
        flex-direction: column;
    }

    .single-item1 .white-box .more-details-cols .whours_full {
        padding: 0 0 15px 0;
        border-bottom: 1px solid #EEEEFA;
    }

    .single-item1 .more-details-cols .dataline:nth-child(1) {
        margin-top: 15px;
    }

    .single-item1-content-col2 .sliderinner {
        max-height: 250px;
        height: auto;
    }

    .single-item1-content-col2 .sliderinner .slides img {
        height: 250px;
        object-fit: cover;
        max-width: fit-content;
        min-width: -webkit-fill-available;
    }

    .single-item1 .bottom-section {
        box-shadow: 0 0 10px rgb(0 0 0 / 5%);
    }

    .single-item1 img.post-img.hide-960plus {
        min-height: inherit;
    }
}

.single-item1 .bottom-section {
    background-color: #ffffffcc;
    padding: 30px;
    border-radius: 0 0 20px 20px;
    height: 100%;
    position: relative;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.single-item1 .bottom-section .tagcontainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.single-item1 .bottom-section .post-meta-box {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    align-content: center;
    justify-content: flex-start;
}

.single-item1-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    margin-bottom: 40px
}

/* BLOG SINGLE LAYOUT */
.single-item1-blog {
    display: flex;
    flex-flow: column wrap;
    align-content: space-between;
    /*background-color: #f7f7f7;*/
    /*border-radius: 3px;*/
    padding: 0;
    width: 100%;
    margin-bottom: 40px;
    counter-reset: items;
}

.single-item1-blog .white-box {
    width: 49%; /* Two columns */
    position: relative;
    margin-bottom: 20px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 20px;
    padding: 30px;
}

.single-item1-blog .white-box:nth-child(odd) {
    order: 1;
}

.single-item1-blog .white-box:nth-child(even) {
    order: 2;
}

/* Responsive: Single-column layout for smaller screens */
@media (max-width: 960px) {
    .single-item1-blog {
        display: flex;
        flex-flow: wrap;
        flex-direction: column; /* Single column */
        height: auto; /* Let the height be determined by content */
    }

    .single-item1-blog .white-box {
        width: 100%; /* Full width */
        margin-bottom: 10px; /* Adjust margin for single column */
    }

    .single-item1 .bottom-section .post-meta-box {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }
}

/* END BLOG SINGLE LAYOUT */


.single-item1-content-col1 {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 0 840px;
}

.single-item1-content-col2 {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 1 50%;
}

.single-item1 .more-details-cols {
    display: grid;
    align-content: space-between;
    grid-auto-rows: 1fr;
    grid-row: auto;
    grid-template-columns: 290px 40px auto;
    justify-items: start;
}

.single-item1 .more-details-cols .dataline {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 20px;
}

.single-item1 .single-item1-content .main-content-text ul,
.single-item1 .single-item1-content .main-content-text ol {
    margin-block-end: .9rem;
}

.single-item1 .more-details-cols .dataline:last-child {
    margin-bottom: 0
}

.single-item1 .more-details-cols .whours_full {
    padding-left: 40px;
}

.single-item1 .more-details-cols .whours_full_divider {
    border-left: 1px solid #EEEEFA;
    margin-left: 40px
}

.single-item1 .more-details-cols .whours_full p {
    margin-bottom: 0;
}

.single-item1 .more-details-cols .dataline a {
    line-height: 20px;
}

.white-box h2 {
    font-weight: 500;
    font-size: 26px;
    margin: 0;
}

.datetimelist {
    display: flex;
    flex-direction: column;
}

.datetimelist a {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    border-bottom: 1px solid #EEEEFA;
    padding: 10px 10px
}

.datetimelist a:last-child {
    border-bottom: 0 solid #EEEEFA
}

.datetimelist a:hover svg path:nth-child(2) {
    stroke: #2F80ED
}

@media (max-width: 1200px) {
    .single-item1-content {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        padding: 0;
        gap: 20px;
    }

    .single-item1-content-col1 {
        display: flex;
        gap: 20px;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1 0 100%;
    }

    .single-item1-content-col2 {
        display: flex;
        gap: 20px;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1 0 100%;
        min-width: 100%;
    }
}

.single-item1 .post-date {
    color: #8A8AA3;
    font-size: 14px;
    margin-bottom: 0;
}

.single-item1 .bottom-section .post-title {
    font-family: "Heebo", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 10px;
    margin-top: 0;
    color: #414040;
}

.single-item1.connections .bottom-section .post-title {
    min-height: 46px
}

.single-item1 .bottom-section .post-excerpt {
    font-family: "Heebo", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6E6E77;
    min-height: 50px;
}

.single-item1 .btn.btn-primary {
    font-family: "Heebo", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    /*color: #2F80ED;*/
    border: 2px solid #2F80ED;
    border-radius: 25px;
    padding: 10px 22px 10px 22px;
    width: auto;
    display: inline-block;
    text-align: center;
    bottom: 20px;
    max-width: 100%;
    background-color: #2F80ED;
    color: #ffffff;
}

.single-item1 .btn.btn-primary:hover {
    background-color: #388DFF;
    border: 2px solid #388DFF;
    color: #ffffff;
}

.single-item1 .post-term {
    min-height: 21px;
    font-family: "Heebo", sans-serif;
    color: #8A8AA3;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 500;
}


@media (min-width: 1024px) {
    .single-item1 {
        /*flex: 1 1 33.33%;*/
        max-width: 100%;
    }

    .single-item1 .bottom-section {
        padding: 30px;
        min-height: 140px;
    }

    .single-item1 .bottom-section .btn.btn-primary {
        position: absolute;
        bottom: 40px;
        width: calc(100% - 80px);
        box-sizing: border-box;
    }

}

.listboxed1-container .listboxed-item .prod-price {
    font-size: 20px;
}

.listboxed1-container .listboxed-item .price-data s {
    font-size: 20px;
    font-weight: 300;
    color: #8A8AA3;
    padding-left: 8px;
    border-left: 1px solid #EEEEFA;
    line-height: 20px;
    display: inline-flex;
    height: 20px;
    margin-left: 5px;
}

/*
.listboxed1-container .listboxed-item .flex-gap-15 {
    display: flex;
    align-content: center;
    flex-direction: row;
    gap: 15px;
    line-height: 20px;
    margin: 5px 0;
    min-height: 24px;
    font-size: 14px;

}

.listboxed1-container .listboxed-item.shopgproduct .flex-gap-15 {
    border-top: 1px solid #EEEEFA;
    border-bottom: 1px solid #EEEEFA;
    justify-content: space-between;
    padding: 10px 0;
    margin: 10px 0;
}
*/

@media (max-width: 760px) {
    .single-item1 .blogger-subtext .btn.btn-primary {
        display: block;
    }

    .backtolist-insingle {
        line-height: 40px;
        margin: 5px auto 5px auto;
    }

    .single-item1 .bottom-section .link-subtext {
        text-align: center;
        margin-bottom: 0;
        margin-top: 20px;
    }

    .single-item1 .link-subtext a.btn.btn-primary {
        display: block;
    }
}


.sliderinner {
    direction: ltr;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 550px;
    max-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
}

.sliderinner .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.sliderinner .slides img {
    width: 100%;
    border-radius: 0;
    height: 300px;
    object-fit: cover;
    max-width: 550px;
    min-width: 550px;
}

.sliderinner .slider .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    user-select: none;
}

/* 	.sliderinner .slider .arrow.left {
        left: 10px;
    }

    .sliderinner  .slider .arrow.right {
        right: 10px;
    } */
.sliderinner i.arrow.left:hover {
    background: rgba(0, 0, 0, 0.2);
}

.sliderinner i.arrow.left:focus {
    background: rgba(0, 0, 0, 0.2);
}

.sliderinner i.arrow.left {
    cursor: pointer;
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 18px;
    border: none;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 10px;
}

.sliderinner i.arrow.right:focus {
    background: rgba(0, 0, 0, 0.2);
}

.sliderinner i.arrow.right:hover {
    background: rgba(0, 0, 0, 0.2);
}

.sliderinner i.arrow.right {
    cursor: pointer;
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 18px;
    border: none;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 10px;
}

.hiddenslideimg {
    display: none;
}
