/* Mobile UX */
.mobile-share-search {
    display: none !important;
}
header.wp-block-template-part {
    margin-top: 0 !important;
}
#ruigehond006_wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
main {
    position: relative;
    z-index: 0;
}
#leaguefeednet_outstream_video {
    max-width: 100% !important;
}
@media (max-width: 599px) {
    .wp-block-social-links {display: none !important;}
    .mobile-share-search {display:flex !important;gap: 0.2rem !important;}
    header> div {padding-top: 10px !important;padding-bottom: 10px !important;}
    .header-main > .wp-block-group {flex-wrap:nowrap;min-height: 62px;padding: 0 !important;}
    .header-main .wp-block-navigation {order: -1;}
    .header-main .wp-block-search input[type="search"]{background: none !important;width: 35px;height: 35px;padding: 0;font-size: 0px;background-size: 25px;border-color: transparent;}
    .header-main .wp-block-search input[type="search"]:focus {width: 150px;border: 1px solid #000;background-color: #fff;color: #000;padding: 5px;font-size: 0.8rem;}
    .wp-block-navigation__responsive-container-open {background-color: transparent !important;background-position: 5px 6px !important;padding: 4px;}
    .wp-block-navigation__responsive-container-open svg {visibility: visible;}
    .wp-block-navigation__responsive-container-open {background: none !important ;background-size: 20px;flex-direction: column; border: 1px solid #000;}
    .wp-block-navigation__responsive-container-open:after {content:"MENU";display: none;text-align:center; color: #fff;font-size: 0.6rem;}
    .share-header {position: relative;display: none !important;}
    .share-header:before {filter: invert(1);content: "";width: 35px;height: 35px;background: url(/wp-content/themes/th_23/images/share-line-icon.svg) center center no-repeat;background-size: 25px;display:block;cursor:pointer;}
    .share-header .social-share-buttons {position: absolute;background: #fff;padding: 20px;right: 0;top:45px;display: none;z-index: 99999;border: 1px solid #000;}
    .share-header .social-share-buttons ul {gap: 0;}
    .share-header .social-share-buttons ul li+li {margin-top: 10px;}
    .share-header.open-share .social-share-buttons {display: block;}
    .share-header.open-share .social-share-buttons:before {content: "Share:";display: block;color: #000; font-weight: bold;}
    .single .share-header {display: flex !important;}
    .wp-elements-ca2058f153a82b4a0dbaf3235c146572 {display: none !important;}
    header.wp-block-template-part {position: relative; width: 100% !important;}

    /* Author UX mobile */
    .single .author-info-full,
    .author .author-info-full {
        margin-top: -1.5rem;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        padding-top: 30px;
        position: relative;
        border: none;
    }
    .single .author-info-full:after,
    .author .author-info-full:after {
        content: "";
        border-bottom: 1px solid #79C8C8;
        position: absolute;
        left: 1.5rem;
        right: 1.5rem;
        bottom: 0;
    }
    .single .author-info-full .author-info-avatar,
    .author .author-info-full .author-info-avatar {
        background: none;
        justify-content: flex-start;
        padding: 40px 1.5rem 0;
    }
    .single .author-info-full .author-info-avatar img,
    .author .author-info-full .author-info-avatar img {
        width: 100px;
        height: 100px;
    }
    .single .author-info-full .author-name-link,
    .author .author-info-full .author-name-link {
        position: static;
        padding: 0 1.5rem 1.5rem;
    }
    .single .author-info-full .author-label,
    .author .author-info-full .author-label {
        position: absolute;
        top: 45px;
        font-size: 0.8rem;
    }
    .single .author-info-full .user-social,
    .author .author-info-full .user-social {
        top: 48px;
    }
    .single .author-info-full .author-badge,
    .author .author-info-full .author-badge {
        position: absolute;
        left: 140px;
        top: 80px;
    }
    .single .author-info-full .author-name,
    .author .author-info-full .author-name {
        font-size: 1.4rem;
    }

    header .hide-mobile {
        display: none !important;
    }
    .mobile-share-search .wp-block-search input[type="search"]:focus {
        background-position: center right;
    }
}
header .hide-mobile {
    flex: 1;
}
header .hide-mobile input[type="search"],
header .hide-mobile button[type="submit"] {
    height: 35px;
}
header .hide-mobile button[type="submit"] {
    padding: 0 10px;
}

/* 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: invert(9%) sepia(93%) saturate(6524%) hue-rotate(1deg) brightness(84%) contrast(108%);
}
.post-ratings img[src$="rating_on.gif"] {
    background: url(/wp-content/themes/th_23/images/star-full-icon.svg) left center no-repeat;
    filter: invert(9%) sepia(93%) saturate(6524%) hue-rotate(1deg) brightness(84%) contrast(108%);
    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: invert(9%) sepia(93%) saturate(6524%) hue-rotate(1deg) brightness(84%) contrast(108%);
    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: invert(9%) sepia(93%) saturate(6524%) hue-rotate(1deg) brightness(84%) contrast(108%);
    background-size: 24px;
}

/* Ajax load single post LF */
.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: #79C8C8;
    font-weight: bold;
}
.alm-single-post + .alm-single-post {
    opacity: 1;
    height: auto;
    outline: none;
    border-top: 2px dashed #79C8C8 !important;
    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;
}

/* CJ ol-list */
.ol-list {
    list-style-type: none;
    counter-reset: rowNumber;
    margin-left: 0;
    padding: 0;
}
.ol-list li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 10px;
}
.ol-list li:before {
    position: absolute;
    width: 30px;
    left: 0;
    content: counter(rowNumber);
    counter-increment: rowNumber;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 1;
    padding: 0;
    background: #79C8C8;
    border-radius: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
/* Update new homepage */
.landing-categories-list .wp-block-heading, .wp-block-group .wp-block-heading.has-text-align-center.has-large-font-size {
    --c: #79C8C8;
    font-weight: 700;
}
.landing-categories-list .wp-block-heading, .wp-block-group .wp-block-heading.has-text-align-center.has-large-font-size strong {
    font-weight: 700 !important;
}
.landing-home iframe {
    background-color: #79C8C8;
    border: 1px solid #79C8C8;
}
.landing-home .slick-dots li.slick-active button {
    background: #79C8C8;
}
.landing-home .authors-list-item br {
    display: none;
}
.landing-home .authors-list-item p,
.landing-home .authors-list-items p {
    margin: 0 !important;
}

.landing-home .column-news {
    display: flex;
    flex-direction: column;
}
.landing-home .column-news .adthrive-sidebar-1 {
    order: 1;
}
/* Pagination */
.wp-block-query-pagination .page-numbers {
    display: inline-block;
    padding: 5px;
    border: 1px solid #79C8C8;
    min-width: 25px;
    text-align: center;
}

/* author box full */
.author-info-full {
    border: 1px solid #79C8C8;
    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: #79C8C8;
}
.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: #79C8C8;
}
.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: #79C8C8;
    margin: 0 0 5px 5px;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
}
.user-social a img {
    filter: invert(1);
}
.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 {
    display: none;
}

/* 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 var(--wp--preset--color--custom-red);
    display:flex;
    align-items:center;
    text-decoration:none;
    padding: 5px 10px;
  }
.social-share-buttons img {
    filter: invert(9%) sepia(93%) saturate(6524%) hue-rotate(1deg) brightness(84%) contrast(108%);
    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;
}

/* 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: bold;
}
.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: var(--wp--preset--color--custom-red);
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail > img {
    overflow: hidden;
    object-fit: cover;
    width: 100%;
    margin: 0 0 20px;
    height: 218px;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail picture {
    display: block;
    width: 100%;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail picture img {
    width: 100%;
    height: auto;
    height: 218px;
    object-fit: cover;
}

.single #breadcrumb {
    border-radius: 0;
    background: none;
    padding: 0;
    margin: 1em 0;
}
.single .wp-block-post-title {
    margin: 0em 0 1em;
}

.aligncenter {
    display: block;
}

/* Asks */
.ask-loop {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
  justify-content: space-between;
}

.ask-loop li {
    width: 45%;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 3px solid #64c1c1;
}

.ask-question, .ask-answer {
    background: #64c1c1;
    padding: 18px;
    border-radius: 16px;
    float: left;
    width: 80%;
    margin-bottom: 15px;
    color: #fff;
 	position: relative;
}

.ask-answer {
    margin-left: 25px;
    background: #e9e9e9;
    float: right;
    color: #000;
}

.ask-question p,.ask-answer p {
    margin: 0;
    padding: 0;
}

.ask-question:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: #64c1c1;
    border-bottom: 0;
    border-left: 0;
    margin-left: -4px;
    margin-bottom: -8px;
}

.ask-answer:after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 25px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-top-color: #e9e9e9;
	border-bottom: 0;
	border-right: 0;
	margin-left: -4px;
	margin-bottom: -8px;
}

.ask-answer img {
    position: absolute;
    top: -30px;
    right: 4%;
    border-radius: 50%;
}

@media only screen and (max-width: 768px) {
  .ask-loop li {
    width: 100%;
  }
}

@media  (min-width: 768px) {
    .post-type-archive-ask .tb-grid, 
    .post-type-archive-ask .tb-grid>.block-editor-inner-blocks>.block-editor-block-list__layout {
        grid-template-columns: 1fr 1fr;
    }
    .post-type-archive-ask .tb-grid {
        margin-bottom: 25px;
    }
    .post-type-archive-ask .form-inline,
    .post-type-archive-ask .form-group {
        width: 100%;
        clear: both;
    }
}

/* Popup */
.pum-container .ask-question-button,
.pum-container .closeButton {
    display: none !important;
}

/*  */
.author_item {
    background: #64c1c1;
}
.page-id-381 .tasty-pinit-button {
    display: none !important;
    visibility: hidden !important;
}

/* Performance */
.content-rendering {
    content-visibility: auto;
}

/* Style update */
.top-heading {
    margin: 0;
}
.footer-tpl {
    background: #79C8C8;
    color: #343A40;
}
.footer-tpl a {
    color: #343A40;
}
.copyright-tpl {
    border: none !important;
}
.footer-tpl .wp-block-navigation__container {
    gap: 40px;
}
.footer-tpl .ml-subscribe-form form {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}
.footer-tpl .ml-form-formContent {
    display: flex;
}
.footer-tpl .ml-subscribe-form form .ml-form-embedPermissions {
    flex: 1 100%;
}
.footer-tpl .ml-subscribe-form form input[type="email"] {
    color: #343A40;
    background: #fff;
    border: 1px solid #000;
    border-right: 0;
    height: 41px;
}
.footer-tpl .ml-subscribe-form form button[type="submit"] {
    bordeR: none;
    background: #CE2D2D;
    background-image: url(/wp-content/themes/th_23/images/subscribe-button.svg);
    background-repeat: no-repeat;
    background-position: center center;
    border: 1px solid #000;
    border-left: 0;
    font-size: 0px;
    width: 72px;
    height: 41px;
}
.footer-tpl .wp-block-social-links {
    gap: 5px;
}
.footer-tpl .wp-block-heading strong {
    color: #343A40 !important;
}
.footer-tpl a[aria-label="TreasureHunter"] {
    filter: invert(1);
}

/* Banner */
@media (max-width: 680px) {
    .hero-banner {
        min-height: 580px !important;
        max-height: 580px !important;
    }
}