
/* Global */
.wp-block-post-content a:where(:not(.wp-element-button)) {
    color: #ffa301;
}
.wp-block-post-content h2,
.wp-block-post-content h3 {
    color: #ffa301;
}
.wp-block-post-content h2 {
    font-size: clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 2.25rem);
}
.wp-block-post-content h3 {
    font-size: 2rem;
}
a:where(:not(.wp-element-button)):focus,
a:focus {
    outline: none !important;
    text-decoration: none !important;
}
.wp-block-search__text-button .wp-block-search__button {
    color: #000 !important;
}
.wp-block-search__text-button .wp-block-search__button:hover {
    color: #ffa301 !important;
}
/* ADS */
.wp-block-column[style="flex-basis:33.33%"] {
    display: flex;
    flex-direction: column;
}
.wp-block-column[style="flex-basis:33.33%"] .has-global-padding:has(.sticky) {
    flex: 1;
}

/* Grid posts */
.has-custom-yellow-background-color a:where(:not(.wp-element-button)) {
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    margin-right: 0.5rem;
    background: var(--wp--preset--color--custom-yellow) !important;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.taxonomy-category.has-background {
    background: none !important;
}
.taxonomy-category.has-background .wp-block-post-terms__separator {
    display: none;
} 

/* Pagination */
.wp-block-query-pagination .page-numbers {
    display: inline-block;
    padding: 5px;
    border: 1px solid #ffa301;
    min-width: 25px;
    text-align: center;
}

/* Header */
:not(.home) header {
    border-bottom: 1px solid rgba(255,255,255, 0.12);
}
.header-search {
    display: none !important;
}
@media (min-width: 1120px) {
    .home .header-search {
        display: block !important;
    }
}

/* Mobile menu */
@media (max-width: 599px) {
    .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
        background-color: #000;
        color: #fff !important;
    }
    .wp-block-navigation__responsive-dialog {
        padding: 20px;
    }
    .wp-block-navigation__responsive-dialog ul {
        width: 100% !important;
        padding: 0 !important;
    }
    .wp-block-navigation__responsive-dialog ul li {
        width: 100% !important;
        text-align: center !important;
    }
    .wp-block-navigation__responsive-dialog ul a {
        color: #ffa301 !important;
        display: block !important;
        width: 100%;
        text-align: center;
    }
    .wp-block-navigation__responsive-dialog ul .wp-block-navigation__submenu-container {
        font-weight: normal;
    }
    .wp-block-navigation__responsive-dialog .wp-block-navigation__container > li > a {
        font-size: 1.5rem;
    }
    .wp-block-navigation__responsive-container-close {
        top: 20px;
        right: 14px;
    }
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255, 0.12);
}
footer .wp-block-column {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}
footer .wp-block-column a img {
    display: block;
    margin-left: 1rem;
    margin-top: 2px;
}
footer .monsterinsights-inline-popular-posts-label {
    display: none!important;
}
footer .monsterinsights-widget-popular-posts-list li {
    padding: 0  !important;
}
footer .monsterinsights-widget-popular-posts-list a {
    display: block;
    font-weight: normal !important;
    line-height: 1.2 !important;
}
footer .wp-block-post-template h2,
footer .wp-block-post-template li {
    margin: 0 !important;
}
footer .wp-block-post-template li {
    margin-bottom: 16px !important;
}

/* Rwd */
@media (min-width: 768px) {
    /*.home header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
    }*/
    .home header > div {
        background: none !important;
    }
    .home.admin-bar header {
        top: 32px !important;
    }
}

/* Related */
/* Related post */
.yarpp-related {
    max-width: 100% !important;
}
.yarpp-related h3 {
    font-size: var(--wp--preset--font-size--large) !important;
    text-align: center;
    font-weight: normal;
}
.yarpp-thumbnails-horizontal {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem -10px 0;
}
@media (max-width: 640px) {
    .yarpp-thumbnails-horizontal .yarpp-thumbnail {
        width: 100% !important;
    }
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail {
    height: auto;
    margin: 0 0 1.5rem;
    border: none;
    width: 33.33333%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: column;
    padding: 0 10px;
    box-sizing: border-box;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
    line-height: 1.4em;
    max-height: none;
    overflow: visible;
    text-decoration: inherit;
    font-weight: bold;
    margin: 0 !important;
    display: block;
    width: 100%;
    color: #ffa301;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail > img {
    overflow: hidden;
    object-fit: cover;
    width: 100%;
    margin: 0 0 20px;
    height: 140px;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail picture {
    display: block;
    width: 100%;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail picture img {
    width: 100%;
    height: auto;
}

/* author box full */
.author-info-full {
    border: 1px solid #ffa301;
    display: flex;
    flex-direction: row;
}
.author-info-full .author-info-avatar {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.author-info-full .author-info-avatar img {
    border-radius: 50%;
}
.author-info-full .author-name-link {
    width: calc(100% - 200px);
    padding: 20px;
    position: relative;
}
.author-info-full .author-bio {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0.5rem 0 0.7rem;
}
.author-info-full .post-dates {
    font-size: 0.8rem;
    line-height: 1.2;
}
.author-info-full .post-dates time {
    color: #ffa301;
}
.author-info-full .author-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.author-info-full .author-name {
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
    margin-right: 1rem;
    color: #ffa301;
}
.author-info-full .author-name:hover {
    text-decoration: underline;
}
.author-info-full .author-badge-name {
    color: #fff;
    background: #d33;
    display: inline-block;
    padding: 2px 12px;
    font-size: 0.7rem;
    border-radius: 20px;
}
.user-social {
    position: absolute;
    right: 20px;
    top: 20px 
}
.user-social a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background: #ffa301;
    margin: 0 0 5px 5px;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
}
.user-social a:hover {
    transform: scale(1.1);
}
@media (max-width: 781px) {
    .author-info-full {
        display: flex;
        flex-direction: column;
        align-items: center;
   }
   .author-info-full .author-info-avatar {
        width: 100%;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
   }
   .author-info-full .author-name-link {
        width: 100%;
        box-sizing: border-box;
   }
   .author-info-full .author-badge {
        margin-top: 1.5rem;
   }
}
/* Archive author */
.archive.author .author-publish,
.archive.author .author-badge,
.archive.author .author-label  {
    display:none;
}
.archive.author .author-bio {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    padding-top: 3rem;
}
.archive.author .author-info-full {
    margin-bottom: 3rem
}


/* Share box */
.share-box {
    white-space: nowrap;
}
.social-share-buttons ul {
    margin: 0;
}
.social-share-buttons li {
    list-style-type: none;
}
.social-share-buttons li:hover a {
    transform: scale(1.1);
}
.social-share-buttons a {
    border: 1px solid #ffa301;
    display:flex;
    align-items:center;
    text-decoration:none;
    padding: 5px 10px;
  }
.social-share-buttons img {
    filter: brightness(0) saturate(100%) invert(63%) sepia(48%) saturate(1497%) hue-rotate(357deg) brightness(100%) contrast(102%);
    margin-right: 0.5rem;
}
.social-share-buttons span {
    font-size: 1rem !important;
}
@media (max-width: 781px) {
    .social-share-buttons span {
        display: none;
    }
    .social-share-buttons img {
        margin-right: 0 !important;
    }
    .social-share-buttons ul {
        gap: 0.5rem;
        padding: 0 !important;
    }
}

/* TOC */
.lwptoc_header {
    margin-bottom: 0;
}
/* Ratings */
.post-ratings {
    max-width: 100% !important;
    margin: 0 auto;
    display: flex;
}
.post-ratings strong {
    margin: 0 5px;
    display: inline-block;
}
.post-ratings .post-ratings-text {
    margin-left: 10px;
    font-weight: bold;
}
.post-ratings img {
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    padding-left: 24px;
    position: relative;
    background: url(/wp-content/themes/th_23/images/star-empty-icon.svg) left center no-repeat;
    background-size: 24px;
    margin-right: 2px !important;
    filter: brightness(0) saturate(100%) invert(63%) sepia(48%) saturate(1497%) hue-rotate(357deg) brightness(100%) contrast(102%);
}
.post-ratings img[src$="rating_on.gif"] {
    background: url(/wp-content/themes/th_23/images/star-full-icon.svg) left center no-repeat;
    filter: brightness(0) saturate(100%) invert(63%) sepia(48%) saturate(1497%) hue-rotate(357deg) brightness(100%) contrast(102%);
    background-size: 24px;
}
.post-ratings img[src$="rating_over.gif"] {
    background: url(/wp-content/themes/th_23/images/star-full-icon.svg) left center no-repeat;
    filter: brightness(0) saturate(100%) invert(63%) sepia(48%) saturate(1497%) hue-rotate(357deg) brightness(100%) contrast(102%);
    background-size: 24px;
}
.post-ratings img[src$="rating_half.gif"] {
    background: url(/wp-content/themes/th_23/images/star-half-icon.svg) left center no-repeat;
    filter: brightness(0) saturate(100%) invert(63%) sepia(48%) saturate(1497%) hue-rotate(357deg) brightness(100%) contrast(102%);
    background-size: 24px;
}

/* Ajax load single post */
.alm-single-post .author-info-full,
.alm-single-post .post-image {
    margin-bottom: 1.5rem;
}
.alm-single-post .social-share-buttons {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
.alm-single-post .social-share-buttons:before {
    content: "Share:";
    color: #ffa301;
    font-weight: bold;
}
.alm-single-post + .alm-single-post {
    opacity: 1;
    height: auto;
    outline: none;
    border-top: 2px dashed #ffa301;
    margin-top: 5rem;
}
.post-image img {
    max-width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}
.alm-single-post .wp-block-post-title {
    font-weight: 700;
}

/* Subscribe form LF*/
.subscribe-section {
    background: #ffa301;
    margin: 0 !important;
    z-index: 2;
    position: relative;
}
.subscribe-section > div {
    padding-bottom: 1.5em;
}
.subscribe-section .ml-form-embedWrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start
}
.subscribe-section .ml-form-embedHeader {
    width: 200px;
    position: relative;
    z-index: -1;
}
.subscribe-section .ml-form-embedHeader img {
    position: absolute;
    width: 340px;
    left: 50%;
    transform: translate(-50%, -40px);
    height: auto;
}
.subscribe-section .ml-form-embedContent {
    color: #000;
    padding: 20px 0 10px;
    max-width: 600px
}
.subscribe-section .ml-form-embedContent h4 {
    color: #000 !important;
    margin: 0 0 1em;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.2;  
}
.subscribe-section .ml-form-embedContent p {
    font-size: 0.8em;
    line-height: 1.2 !important;
}
.subscribe-section .ml-form-embedContent p strong {
    font-weight: normal;
}
.subscribe-section form {
    display: flex;
    align-items: center;
}
.subscribe-section form input[type=email] {
    padding: 5px 10px !important;
    height: 24px;
    border: none;
    border-radius: 0;
}
.subscribe-section form button[type=submit] {
    padding: 0;
    font-size: 0.8em;
    background: #e6eff2;
    border-radius: 0;
    color: #000;
    border: none;
    padding: 9px 10px;
    display: inline-block;
    cursor: pointer;
}
.subscribe-section .ml-form-successContent {
    color: #fff;
    padding: 20px;
}
.subscribe-section .ml-form-successContent h4 {
    color: #fff !important;
    margin: 0 0 1em;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.2;
}
.subscribe-section .ml-form-successContent p {
    font-size: 0.8em;
    line-height: 1.2 !important;
}
.subscribe-section .row-success {
    min-height: 164px;
}
.subscribe-section .ml-form-embedSubmit p {
    margin: 0;
}
.subscribe-section p span {
    color: #000 !important;
}

/* home page subscribe */
.landing-home .subscribe-section {
    max-width: 768px !important;
    overflow: visible !important;
    padding-right: 20px;
}
.landing-home .wp-block-group:has(.subscribe-section) {
    overflow: visible;
    margin-top: 4em;
    padding: 0 !important;
    margin-bottom: 4em;
}
.subscribe-section form input[type=email] {
    min-width: 250px;
}
.subscribe-section .ml-form-embedHeader img {
    width: 425px;
    transform: translate(-50%, -74px);
}
/* home page subscribe end */

@media (max-width: 768px) {
    .subscribe-section .ml-form-embedHeader {
        display: none;
    }
    .subscribe-section .ml-form-embedContent {
        max-width: 100%;
        text-align: center;
    }
}
.single-post .subscribe-section {
    margin: 3em 0 !important;
}

@media (max-width: 751px) {
    .subscribe-section form {
        justify-content: center;
    }
}


/* Update new homepage */
.landing-categories-list .wp-block-heading, .wp-block-group .wp-block-heading.has-text-align-center.has-large-font-size {
    --c: #ffa301;
}
.landing-home iframe {
    background-color: #ffa301;
    border: 1px solid #ffa301;
}
.landing-home .slick-dots li.slick-active button {
    background: #ffa301;
}
.landing-home .columns-4.wp-block-post-template .adthrive-ad {
    flex: 1 100%;
    order: 1;
}

/* New footer */
.footer-tpl .ml-subscribe-form form {
    display: flex;
    flex-direction: column;
}
.footer-tpl .ml-subscribe-form form input[type="email"] {
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}
.footer-tpl .ml-subscribe-form form button[type="submit"] {
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    cursor: pointer;
    background: #ffa301;
    color: #fff;
}
.footer-tpl .wp-block-column {
    display: block;
    font-size: inherit;
}
.footer-tpl a[aria-label="TreasureHunter"] img {
    display: inline;
}
/* New author list */
.author_item {
    background: #ffa301;
}
.author_item .item_bio a {
    color: #fff !important;
  }

/* Home */
.sidebar-news {
    min-height: 100px !important;
}
.sidebar-news .adthrive-ad {
    display: none !important;
}

/* For new Global style */
@media (max-width: 599px) {
    .wp-block-navigation__responsive-container-open {
        background-color: transparent !important;
    }
    .share-header:before {
        filter: initial  !important;
    }
}
.subscribe-section form button[type=submit] {
    padding: 2px 10px !important;
}
.home .has-global-padding :where(.has-global-padding) {
    padding-right: 25px;
    padding-left: 25px;
}
.landing-home .subscribe-section {
    padding-bottom: 10px;
}

/* Post table fix */
.pros-cons-table th, .pros-cons-table td {
    background: #444;
}

/* Commerce table style for LT*/
#commerce_table_wrap td.cell-hover:before {
    background-color: #ffa301;
}
#commerce_table_wrap td.cell-hover:after {
    background-color: #ffa301;
}
#commerce_table_wrap tbody tr:last-child td.cell-hover {
    border-bottom: 1px solid #ffa301 !important;
}
#commerce_table_wrap thead tr:first-child td.cell-hover {
    border-top: 1px solid #ffa301 !important;
}
#commerce_table_wrap .th_rating_box {
    border-color: #ffa301 !important;
}
#commerce_table_wrap .th_rating_val {
    color: #ffa301 !important
}
#commerce_table_wrap td progress {
    width: 125px;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 5px;
}
#commerce_table_wrap td progress::-webkit-progress-value {
    background-image: linear-gradient(to right, #ffa301, #ffa301);
    border-radius: 5px;
}
#commerce_table_wrap td progress::-webkit-progress-bar {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
#commerce_table_features ul li:before, 
#commerce_table_advantages ul li:before, 
#commerce_table_disadvantages ul li:before {
    border-color: #ffa301;
}
#commerce_table_wrap_outer button {
    background-color: rgba(255, 163, 1 , 0.6);
}
#commerce_table_wrap tbody tr:nth-child(odd) td {
    background: #444 !important;
}
#commerce_table_wrap tr td:first-child {
    background: #000;
}