/******
TIME MGMT
*********/
.mast-timemgmt,
.mast-enquiry {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    /* background-color: blue; */
}

.mast-timemgmt img:first-child {
    position: absolute;
    width: min(80%, 600px);
    bottom: 11em;
    left: 50%;
    transform: translate(-50%, 0);
}

.mast-timemgmt img:last-child {
    position: absolute;
    bottom: 3em;
    right: clamp(2em, 10vw, 20%);
    width: clamp(130px, 20vw, 15%);
}

.mast-enquiry img:first-child {
    position: absolute;
    width: min(80%, 400px);
    top: 2em;
    left: 50%;
    transform: translate(-50%, 0);
}

.mast-enquiry img:last-child {
    position: absolute;
    bottom: 0;
    right: clamp(2em, 10vw, 20%);
    width: clamp(170px, 20vw, 17%);
}

/*600*/
@media (min-width: 600px) {
    .timemgmt-title {
        width: 60%;
    }
}

/*1280*/
@media (min-width: 1280px) {
    .mast-timemgmt,
    .mast-enquiry {
        width: 1280px;
    }

    .timemgmt-title {
        width: 50%;
    }
}

.hilite {
    padding: 1em 1em 3em 1em;
    font-size: 1.1rem;
}

.hilite-h2 {
    position: relative;
    display: block;
    text-align: center;
    padding: 0 0 1em 0;
}

.hilite-h2 h2 {
    display: inline-block;
    font-size: 1.9rem;
    padding: 0 0.5em;
    background-color: white;
}

.hilite-h2::before {
    content: "";
    position: absolute;
    height: 3px;
    width: 100%;
    left: 0;
    top: 60%;
    z-index: -9;
    background-color: var(--placehoder);
}

.tm-purpose {
    display: flex;
    flex-flow: column wrap;
    font-size: 1.3rem;
    gap: 2em;
}

.tm-purpose > div {
    flex-basis: 50%;
}

.purpose-wrap {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 1em;
    background-image: url("/frontend/imgs/timeMgmt_reg_02.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    border-radius: 10px;
    padding: 1em;
    color: white;
}

.purpose-wrap div:first-child {
    flex-basis: 20%;
    white-space: nowrap;
    text-align: center;
}

.purpose-wrap div:nth-child(2) {
    flex-basis: 40%;
    white-space: nowrap;
    text-align: center;
    color: #b3ff6f;
}

.hilite.flex-2 {
    display: flex;
    flex-flow: column wrap;
    gap: 2em;
    align-content: center;
}

.list-style-1,
.list-style-2,
.list-style-3 {
    padding: 1em;
    border-radius: 10px;
}

.list-style-1 li,
.list-style-2 li,
.list-style-3 li {
    list-style: square;
    margin-left: 1em;
}

.list-style-1 {
    background-color: #2a3c4f;
    color: #fffecb;
}

.list-style-2 {
    background-color: #2d3d8a;
    color: #fffecb;
}

.list-style-2 span {
    display: block;
    margin: 0.5em 0 0.5em 1em;
    background-color: #6173c9;
    padding: 5px 15px;
    border-radius: 10px;
}

.list-style-3 {
    background-color: #1e4837;
    color: #fffecb;
}

.list-style-4 {
    text-align: center;
}

.list-style-4 li {
    display: inline-block;
    background-color: #5eda5c;
    color: #060629;
    border-radius: 5px;
    margin: 5px;
    padding: 3px 10px;
    font-weight: bold;
    font-size: 1.5rem;
}

.box-style-1,
.box-style-2,
.box-style-3,
.box-style-4 {
    border-radius: 10px;
    padding: 1em;
}

.box-style-1 {
    background-color: #8a4256;
    color: #fffecb;
}

.box-style-2 {
    background-color: #69513b;
    color: #fffecb;
}

.box-style-3 {
    background-color: #077143;
    color: white;
    margin-bottom: 1em;
}

.box-style-4 {
    background-color: #077143;
    color: white;
}

.tm-author {
    width: 160px;
    border-radius: 50%;
    border: 2px solid white;
    float: left;
    margin: 0 1em 1em 0;
}

.expiry-tm {
    padding: 1em;
    text-align: center;
}

.expiry-tm h3 {
    color: white;
    display: inline-block;
    background-color: crimson;
    padding: 0.5em 1em;
    font-size: 1.5rem;
}

/*600*/
@media (min-width: 600px) {
    .tm-purpose {
        flex-flow: row nowrap;
        justify-content: space-between;
    }

    .hilite.flex-2 {
        flex-flow: row nowrap;
    }

    .hilite.flex-2 > div {
        flex-basis: 50%;
    }

    .enq-about p {
        max-width: 60%;
    }
}

/*********
WALK WITH GOD
*********/
.mast-walk-with-god {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.title-walk-with-god {
    position: absolute;
    width: min(60%, 250px);
    bottom: 13em;
    left: clamp(25%, 5vw, 25%);
}

.auth-img-walk-with-god {
    position: absolute;
    bottom: 3em;
    left: clamp(1em, 2vw, 25%);
    width: clamp(130px, 20vw, 220px);
}

/*********
ENQUIRY
*********/
.enq-about {
    padding: 1em;
}

.enq-about h3 {
    position: relative;
    padding-bottom: 1em;
    display: inline-block;
    margin-left: 2em;
}

.enq-about h3::before,
.enq-about h3::after {
    content: "";
    position: absolute;
    background-image: url("/frontend/imgs/icon_hill.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 30px;
}

.enq-about h3::before {
    right: 104%;
}

.enq-about h3::after {
    left: 104%;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.enq-hilite {
    padding: 1em;
}

.enq-hilite h3 {
    display: inline-block;
    padding: 1em;
    position: relative;
    margin-left: 25%;
}

.enq-hilite h3::before,
.enq-hilite h3::after {
    content: "";
    position: absolute;
    background-image: url("/frontend/imgs/icon_leaf.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 30px;
}

.enq-hilite h3::before {
    right: 85%;
    top: 50%;
    transform: translateY(-50%);
}

.enq-hilite h3::after {
    left: 85%;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1) translateY(-50%);
    top: 50%;
}

.enq-hilite ul {
    font-size: 1.2rem;
}

.enq-hilite li {
    position: relative;
    line-height: 1.2;
    padding: 5px 0 5px 2.5em;
}

.enq-hilite li::before {
    content: "";
    display: inline-block;
    background-image: url("/frontend/imgs/icon_flower.png");
    height: 26px;
    width: 26px;
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
    left: 1em;
}

.map-wrap {
    position: relative;
    padding-bottom: 1em;
}

.map-wrap img {
    width: 100%;
    aspect-ratio: 16/9; /*must for fragment jump */
    object-fit: cover;
}

/*600*/
@media (min-width: 600px) {
    .enq-hilite {
        margin-top: -20%;
        margin-left: 47%;
    }
}

.promo-wrap {
    padding-bottom: 1em;
}

.promo-infos {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: space-evenly;
    background-color: gold;
    color: black;
    padding: 1em;
    border-radius: 20px;
    margin: 0 1em;
    gap: 2em;
}

.promo-tag {
    width: 170px;
    rotate: -10deg;
    padding: 0 0 1em 1em;
    margin-bottom: -1.5em;
}

.promo-wrap p {
    padding-bottom: 7px;
    line-height: 1.3;
}

.promo-self {
    color: white;
    background-color: #de1f26;
    display: inline-block;
    border-radius: 10px;
    padding: 7px 1em 2px 1em;
    margin-bottom: 7px;
}

.promo-fur {
    background-color: lightgoldenrodyellow;
    padding: 5px 1em 2px 1em;
    border-radius: 10px;
}

.stated-li {
    list-style: none;
    font-size: 1.2rem;
    line-height: 1.3;
}

.stated-li li {
    position: relative;
    padding-bottom: 15px;
    display: grid;
    grid-template-columns: 0 1fr;
    gap: 1.75em;
    align-items: start;
}

.stated-li li:before {
    content: attr(data-icon);
    font-size: 1.25rem;
}

/*600*/
@media (min-width: 600px) {
    .promo-infos {
        flex-flow: row nowrap;
    }

    .promo-fur p span.cn {
        display: block;
    }
}

/*820*/
@media (min-width: 810px) {
    .promo-fur p span.en {
        display: block;
    }
}

/**********
CAROUSEL
**********/
.carousel-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 2em 0;
    margin-bottom: 2em;
}

.carousel-track {
    display: flex;
    height: 100%;
    position: absolute;
    will-change: transform;
    gap: 2px;
}

.carousel-slide {
    flex: 0 0 auto;
    height: 100%;
}

.carousel-slide img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

/************
LIGHTBOX
***********/
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: 0px;
    right: 5px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: white;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    width: auto;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    font-size: 1.1rem;
    color: #333;
    padding: 5px 20px;
    top: 5px;
    left: 5px;
    border-radius: 8px;
    background-color: white;
}

/*********
SLICK
******/
.feedback-wrap {
    padding: 1em 2em;
}

.feedback-wrap > div {
    padding: 1em 2em;
}

.feedback-wrap blockquote {
    padding: 0 2em;
    margin-bottom: 1em;
    font-style: italic;
    font-weight: bold;
}

.feedback-wrap figcaption {
    text-align: right;
    padding: 0 1em;
}

.slick-prev,
.slick-next {
    display: block !important;
    z-index: 1000;
}

.slick-prev {
    left: 0 !important;
}
.slick-next {
    right: 0 !important;
}

.slick-next:before,
.slick-prev:before {
    content: "→" !important;
    background-color: white;
    color: var(--main) !important;
}

.slick-next:before {
    content: "→" !important;
}

.slick-prev:before {
    content: "←" !important;
}

.slick-slide {
    border-left: 1px solid var(--main);
    padding: 1em;
    height: auto !important;
}

.slick-dots {
    position: relative !important;
}

.slick-dots li {
    margin: 0 !important;
}
