/* Ft snippet */

.box-grey,
.ft-snippet {
    padding: 24px;
    position: relative;
    margin-bottom: var(--mr-main);
    background-color: #FAF9F5;
    border-radius: 12px;
}

.box-grey p.has-medium-font-size,
.ft-snippet p.has-medium-font-size,
.single-main .sg-resources h3 {
    padding-left: 48px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--primary-color-2);
}

.box-grey p.has-medium-font-size::before,
.ft-snippet p.has-medium-font-size::before,
.single-main .sg-resources h3::before {
    content: url(../images/icon/ft-snippet.svg);
    position:absolute;
    top: 20px;
    left: 24px;
}


.box-grey ul .ft-snippet ul {
    margin-bottom: var(--mr-main)
}


/* Block Quote */

.wp-block-pullquote {
    padding: 0;
}

blockquote {
    padding: 24px 32px 40px;
    background-color: var(--secondary-color-5);
    position: relative;
    margin: 0;
    border-left: 3px solid var(--primary-color-1);
}

.wp-block-pullquote blockquote p {
    text-align: left;
}

.wp-block-pullquote blockquote cite {
    font-size: var(--font-20) !important;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0px;
    font-family: 'INTER';
    font-style: normal;
    position: absolute;
    bottom: 20px;
    right: 35px;
    color: var(--primary-color-1);
}

/* Custom Table */
table {
    table-layout: fixed;
    border: 1px solid var(--secondary-color-1);
}

/* Default Table */

.wp-block-table thead {
    border: none;
}

.wp-block-table thead th {
    color: var(--primary-color-1);
    font-weight: 500;
    font-size: 16px;
}

.wp-block-table td,
.wp-block-table th {
    padding: 16px;
    border: none;
    text-align: center;
}

.wp-block-table tr:nth-child(odd) {
    background-color: #f8f8f8;
}

.full-bg-table.wp-block-table table th {
    padding: 16px;
    border: none;
    text-align: left;
}

/* End Default Table */

figure.wp-block-table {
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
}

figure.wp-block-table p {
    margin-bottom: 0;
}

figure.wp-block-table figcaption {
    color: var(--secondary-color-3);
    margin: 0;
    font-style: normal;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
}

table thead tr {
    background-color: white !important;
}

.medicine-table table thead p {
    margin-bottom: 0;
    font-weight: 500;
}

.medicine-table table thead span.has-small-font-size {
    font-weight: 400;
    color: var(--secondary-color-4);
}

table tbody tr:first-child td {
    color: var(--primary-color-2) !important;

}

table thead th,
table tbody td {
    white-space: pre-line;
}

.medicine-table table tr:nth-child(odd) {
    background-color: #f8f8f8;
}

.medicine-table table tr {
    border: none !important;
}

.medicine-table .wp-block-table table tbody tr td:first-of-type {
    font-weight: 500;
}

.medicine-table.no-scroll .wp-block-table table tbody tr td:first-of-type {
    font-weight: 400;
}

.medicine-table.no-title .wp-block-table table tbody tr td:first-of-type {
    font-weight: 500;
}


/* Box Color */

.box-e {
    padding: 10px 12px;
    background-color: #FAF9F5;
    border-radius: 12px;
}

.box-e p {
    margin-bottom: 0;
    font-size: var(--font-14) !important;
    line-height: 20px;
}

/* Summary */
.summary {
    padding: 20px 32px;
    background: var(--secondary-color-5);
    margin-bottom: var(--mr-main);
    border-left: 3px solid var(--primary-color-1);
}

.summary p:last-child {
    margin-bottom: 0;
}

/* Table Full bg */

.full-bg-table {
    margin-bottom: 20px;
}

.full-bg-table table tbody {
    border: none !important;
}

.full-bg-table table tr td {
    text-align: left !important;
    color: var(--primary-color-2) !important;
}


/* Special box */

.box-two.special-box>.wp-block-column {
    text-align: center;
    padding: 48px 40px;
    background-image: url(../images/bg-special-box.svg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.box-two.special-box>.wp-block-column figure {
    margin: 1em 0;
}

.box-two.special-box>.wp-block-column img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.box-two.special-box>.wp-block-column p {
    color: var(--primary-color-3);
}

.box-two.special-box>.wp-block-column p>strong {
    font-size: var(--font-18);
}

.box-two.special-box>.wp-block-column p.has-small-font-size a {
    color: #81838C;
    font-weight: 400;
}

.mucle p.muslce-ds {
    margin-bottom: 0;
}

/* Brand */

.wp-block-columns.brand {
    column-gap: 20px;
    row-gap: 40px;
    margin-bottom: 42px;
}

.wp-block-columns.brand .brand-col {
    background: var(--secondary-color-5);
    position: relative;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--secondary-color-1);
}

.wp-block-columns.brand .brand-col figure {
    display: flex;
    align-items: center;
    justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 20px;
    height: 310px;
    background: var(--primary-color-3);
}

.wp-block-columns.brand .brand-col>.wp-block-columns {
    margin-bottom: 0;
}

.wp-block-columns.brand .brand-col .wp-block-columns>.brand-title p {
    text-align: center;
}

.wp-block-columns.brand .brand-col figure>img {
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.wp-block-columns.brand .brand-col>p {
    font-weight: 500;
}

.wp-block-columns.brand .brand-col>p {
    font-weight: 500;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 0;
}

.wp-block-columns.brand .brand-col>p a {
    padding: 12px 24px;
    color: var(--primary-color-3);
    background-color: var(--primary-color-2);
}


/* Calorie Form */

.calories-form .content-top {
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--primary-color-2);
    margin-bottom: var(--mr-main);
}

.calories-form form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10%;
    row-gap: 24px;
}

.calories-form form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10%;
    row-gap: 24px;
}

.calories-form form .two-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 8px;
}

.calories-form form .form-input {
    position: relative;
    margin-top: 9px;
}

.calories-form form .form-radio-list {
    position: relative;
}

.calories-form form .input-body {
    position: absolute;
    bottom: -5px;
    right: 0;
}

.calories-form form .form-col .input-body>input {
    width: 72px;
    text-align: center;
    padding: 7px;
}

.calories-form form .form-radio {
    margin-top: 14px;
}

.calories-form form input[type="text"],
.calories-form form select {
    width: 100%;
    padding: 16px 12px;
    border: 1px solid var(--primary-color-2);
}

.calories-form form .form-input p {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translate(0, -50%);
    color: var(--secondary-color-4);
    margin-bottom: 0;
}

.calories-form form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 97%;
    background-position-y: 10px;
}

.special-col {
    align-items: end;
}

.calories-form form .action {
    margin-bottom: -12px;
    padding-bottom: 12px;
}


.calories-form form .calories-submit {
    width: 100%;
    padding: 12px 24px;
    color: var(--primary-color-3);
    background-color: var(--primary-color-2);
    border: 1px solid var(--primary-color-2);
    cursor: pointer;
    height: fit-content;
}

.calories-form form .form-col .has-ssmall-font-size {
    margin-bottom: 0;
}

.calories-result {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 58px;
    position: relative;
}

.calories-result::after {
    content: "";
    position: absolute;
    height: 100%;
    border-right: 1px dashed var(--primary-color-2);
    top: 0;
    left: 50%;
}


.calories-col:last-child p,
.calories-col:first-child p:last-child {
    margin-bottom: 0;
}

.fillResult .calories-col ul {
    padding-left: 0;
    margin-bottom: 0;
}

.fillResult .calories-col ul b {
    margin-right: 5px;
}

.fillResult .calories-col ul li::before {
    width: 0;
    height: 0;
}

.fillResult .calories-col ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fillResult .calories-col .has-ssmall-font-size {
    color: var(--secondary-color-4);
}

/* Tool Post */

.lhide {
    display: none;
}

section.exc-hero-section.tool small {
    display: block;
}

section.exc-hero-section.tool p b {
    color: var(--primary-color-1);
}

section.exc-hero-section.tool {
    padding: 40px 0;
}

section.exc-hero-section.tool:before {
    z-index: 0;
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
}

section.exc-hero-section.tool .exc-container {
    text-align: unset;
    position: relative;
    z-index: 2;
}

.br-section {
    width: 100%;
    border-bottom: 1px dashed var(--primary-color-2);
}

section.exc-hero-section.tool .exc-container .tool-top {
    text-align: center;
    padding-bottom: 20px;
}

.choose-list ul {
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-around;
}

.choose-list ul li {
    margin-bottom: 0;
}

.choose-list ul li p {
    margin-bottom: 0;
}


.calories-form .action.odd {
    grid-column: 2 / 3;
    display: flex;
    justify-content: space-around;
    column-gap: 8px;
}


/* Coloring Element */
.coloring__top-content {
    column-gap: 35px;
}

.left-item,
.right-item {
    flex: 1;
    width: 100%;
}

.card {
    width: 100%;
    min-height: 358px;
}

.card__top {
    width: 100%
}


.card__top .card__image {
    width: 93.5%;
    position: relative;
    margin: 0 auto;
    z-index: 1;
    bottom: -20px;
}

.card__top .card__image::before,
.card__top .card__image::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color-2);
    border-radius: 8.914px;
    z-index: -1;
    background-color: #FAF9F5;
    top: -2px;
}

.card__top .card__image::before {
    transform: rotate(-175.924deg);
}

.card__top .card__image::after {
    transform: rotate(-4.048deg);
    right: 0;
}

.coloring__top-content .card__top .card__image::before,
.coloring__top-content .card__top .card__image::after,
.coloring-image-section .card__top .card__image::before,
.coloring-image-section .card__top .card__image::after {
    content: none;
}


.right-item .card__top .card__image {
    width: 76.7%;
    position: relative;
    border: 1px solid var(--primary-color-2);
    border-radius: 12px;
}

.coloring__bottom .right-item .card__top .card__image {
    width: 92.03%;
}

.right-item .card__top .card__image > span {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color-1);
    background-color: var(--primary-color-2);
    position: absolute;
    top: 15px;
    right: 15px;
    display: block;
    padding: 8px 16px;
    border-radius: 35px;
}

.card__top .card__image>a>img {
    border-radius: 12px;
    width: 100%;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.10);
}

.card__bottom {
    width: 100%;
    padding: 40px 20px 20px;
    text-align: center;
    background-color: var(--primary-color-2);
    border-radius: 12px;
}

.card__bottom a.coloring-btn {
    padding: 15px 48px 15px 32px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 36px;
    position: relative;
    cursor: pointer;
    display: inline-block;
}


.card__bottom a.card__zoom-btn,
.card__bottom a.card__print-btn {
    background-color: var(--primary-color-1);
    color: var(--primary-color-3);
    margin-right: 8px;
}

.card__bottom a.card__download-btn {
    background-color: var(--primary-color-3);
    color: var(--primary-color-1);
}

.card__bottom a.card__zoom-btn:after,
.card__bottom a.card__download-btn:after,
.card__bottom a.card__print-btn:after {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translate(0, -50%);
}


.card__bottom a.card__zoom-btn:after {
    font: var(--fa-font-solid);
    content: '\2b';
    width: 14px;
    font-size: 15px;
}

.card__bottom a.card__download-btn:after {
    content: url(../images/icon/download.svg);
    width: 15px;
    height: 16px;
    font-size: 16px
}

.card__bottom a.card__print-btn:after {
    content: url(../images/icon/print.svg);
    width: 15px;
    height: 24px;
    font-size: 16px;
    right: 35px;
}



/* Modal Coloring Image */

.blocker {
    z-index: 4 !important;
}

#imageModal {
    width: 100%;
    max-width: 1100px;
    background: transparent;
    box-shadow: none;
}

#imageModal .card__bottom {
    text-align: left;
    padding: 80px 80px 40px;
}

#imageModal .card__bottom .card__bottom-content {
    flex: 1;
}

#imageModal .card__bottom p {
    margin-bottom: 0;
}

#imageModal .card__top .card__image {
    bottom: -50px;
    width: 78.5%;
    border: none;
}

#imageModal .card__top .card__image img {
    border-radius: 24px;
}

#imageModal .action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 16px;
}

/* Search Element */

.search-container {
    max-width: 864px;
    margin: 0 auto;
    text-align: center;
}

.search-elm .search-elm-input {
    position: relative;
}

.search-elm input {
    width: 100%;
    border: none;
    padding: 20px;
    background: var(--primary-color-3);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

/* Trending Section */


.home-trending .trending-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.home-trending .trending-social a {
    width: 20px;
    height: 20px;
}

.trending-slide {
    flex: 1;
    max-width: 100%;
}

.home-trending .trending__content {
    display: flex !important;
}

.trending__content .left {
    flex: 1;
    position: relative;
    top: 22px;
    right: -42px;
    z-index: 1;
}

.trending__content .left .trending__content-img {
    position: relative;
}

.trending__content .left .trending__content-img img {
    width: 100%;
}

.trending__content .left .trending__content-img>a>img {
    border-radius: 12px;
}

.trending__content-img h2,
.trending__content-img p {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    text-align: center;
    width: 80%;
}


.trending__content-img p {
    top: 12px;
    font-weight: 600;
}

.grid-feature .trending__content-img p {
    font-size: 15px;
}

.grid-feature-coloring .trending__content-img p {
    top: 10px;
}

.trending__content .left .trending__content-img::before,
.trending__content .left .trending__content-img::after {
    width: 100%;
    height: 408px;
    content: "";
    position: absolute;
    border-radius: 12px;
    border: 1px solid var(--primary-color-2);
    background: #FAF9F5;
    z-index: -1;
    box-shadow: 0px 0px 10px rgb(0,0,0,0.1);
}

.trending__content .left .trending__content-img::before {
    transform: rotate(-3.939deg);
}

.trending__content .left .trending__content-img::after {
    transform: rotate(3.2deg);
    top: 0;
}

.trending__content .left .trending__content-subimg {
    position: absolute;
    display: flex;
    top: 50%;
    transform: translate(0, -50%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.10);
}

.trending__content-img .left>a {
    position: relative;
    z-index: 1;
}

.trending__content-subimg div {
    position: absolute;
    width: 37.5%;
    top: 28%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}

.trending__content-img .trending__content-subimg div img {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    border: 0.6px solid #000;
    border-radius: 5px;
}

.trending__content-subimg div.first,
.trending__content-subimg div.third {
    width: 29.5%;
    top: 36.9%;
    z-index: 0;
}

.trending__content-img .trending__content-subimg div.first img {
    transform: rotate(-17.232deg);
}

.trending__content-subimg div.first {
    left: 27%;
}

.trending__content-subimg div.third {
    right: -3%;
    left: unset;
}

.trending__content-img .trending__content-subimg div.third img {
    transform: rotate(15.061deg);
}


.trending__content .right {
    max-width: 555px;
    padding: 0 38px;
    background-color: var(--primary-color-2);
    border-radius: 24px;
    max-height: 454px;
    height: 454px;
    flex: 1;
}

.trending__content .right .trending__content-des {
    position: relative;
    padding-left: 64px;
    top: 45%;
    transform: translate(0, -50%);
}


.slick-arrow {
    background-color: var(--primary-color-3);
}

.slick-arrow.slick-click {
    background-color: var(--primary-color-1);
}

.slick-prev,
.slick-next {
    top: 84%;
    width: 30px;
    height: 30px;
    border-radius: 24px;
}

.home-trending .slick-prev {
    right: 39.5%;
    left: unset;
    z-index: 1;
}

.home-trending .slick-prev::before {
    font: var(--fa-font-solid);
    content: "\f053";
    font-size: 15px;
}

.home-trending .slick-next {
    right: 36%;
}

.home-trending .slick-next::before {
    font: var(--fa-font-solid);
    content: "\f054";
    font-size: 15px;
}

.home-trending .slick-prev::before,
.home-trending .slick-next::before {
    opacity: 1;
    color: var(--text-color);
}

.home-trending .slick-prev.slick-click::before,
.home-trending .slick-next.slick-click::before {
    color: var(--primary-color-3);
}

.slick-arrow:hover,
.slick-arrow:focus {
    background: var(--primary-color-1);
}

.slick-arrow:hover::before,
.slick-arrow:focus::before {
    color: var(--primary-color-3);
}

/* Newsletter Section */

section.newsletter-section>.container {
    max-width: 1202px;
    background-color: var(--primary-color-2);
    padding: 40px;
    border-radius: 30px;
}

section.newsletter-section .container .flex {
    gap: 20px;
}

section.newsletter-section .newsletter-item {
    flex: 1;
}

.newsletter-item .klaviyo-form form>div:first-of-type>div:first-of-type>div>div>p {
    line-height: 300% !important;
}

.coloring-template-default .newsletter-section>.container {
    position: relative;
    width: 1202px;
    left: -55px;
}

/* About Author */
.about-author .grid-feature .featured {
    position: relative;
    height: 61.2%;
    margin: 0;
    width: 100%;
}

.about-author .grid-feature .it {
    margin-bottom: -80px;
}

.about-author .grid-feature .featured img {
    border-radius: 12px;
}

.about-author .grid-feature .info {
    background-color: #FAF9F5;
    padding: 55px 20px 20px;
    text-align: center;
    border-radius: 24px;
    position: relative;
    top: -50px;
    z-index: -1;
}

.triangle {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    border-left: 180px solid transparent;
    border-right: 180px solid transparent;
    border-bottom: 40px solid #FAF9F5;
    z-index: 2;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.about-author .social {
    justify-content: space-evenly;
}

.about-author .social a {
    margin: 0;
    width:24px;
    height: 24px;
}

.about-author .social a img {
    width: 100%;
    height: 100%;
}

.about-feature {
    display: grid;
    grid-template-columns: 40% 60%; 
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    max-height: 760px;
}

.about-feature .item {
    padding: 20px;
    text-align: center;
}

.about-feature .item-1 {
    grid-column: 1 / 2; 
    grid-row: 1 / 3;    
}

.about-feature .item-2 {
    grid-column: 2 / 3; 
    grid-row: 1 / 2;    
    padding-bottom: 0;
}

.about-feature .item-3 {
    grid-column: 2 / 3; 
    grid-row: 2 / 3;    
    display: flex;
    align-items: center;
}

.about-feature .item-3 > div {
    width: 50%;
}

/* card name */

.img-name {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}