/* Home (Thailand) page styles */
.remark-page--home-thailand {
    background-color: var(--remark-color-bg);
}

/* Hero */
.remark-home-thailand-hero.remark-section {
    /* copy of Home USA technique: top area uses alt bg, bottom uses white */
    padding: 100px 24px 100px;
    height: 780px;
    background: linear-gradient(to bottom, var(--remark-color-bg-alt) 67%, white 67%);
    display: flex;
    flex-direction: column;
    /* stack inner and media vertically */
    align-items: center;
    /* center vertically */
    position: relative;
    overflow: hidden;
    justify-content: center;
    /* center horizontally */
}

.remark-home-thailand-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center badge and title */
    gap: 24px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.remark-home-thailand-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 999px;
    background-color: var(--remark-color-white);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: var(--remark-font-body);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.remark-home-thailand-hero__highlight,
.remark-home-thailand-hero__badge-text {
    background-image: linear-gradient(90deg, var(--remark-color-highlight-start), var(--remark-color-highlight-end));
    background-size: 200% 100%;
    background-position: 200% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.remark-home-thailand-hero__title {
    width: clamp(540px, 70vw, 1000px);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--remark-color-primary);
}

.remark-home-thailand-hero__title-line {
    display: block;
    font-size: clamp(2.4rem, 4vw, 4rem);
}


.button {
    align-items: center;
    background: none;
    border: none;
    border-radius: 6.25rem;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.2rem;
    font-weight: 600;
    gap: 0.363636em;
    justify-content: center;
    letter-spacing: -0.01em;
    line-height: 1.04545;
    overflow: hidden;
    padding: 0.9375rem 1.5rem;
    position: relative;
    text-decoration: none;
}

@media (hover: hover) {
    .button:hover {
        color: var(--remark-color-white);
        text-decoration: none;
    }
}

.button__label {
    position: relative;
    z-index: 1;
    text-align: center;
    transition: color 0.15s var(--ease-in-out-quart);
    display: inline-flex;
    align-items: center;
}

.button__label::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 12px;
    margin-left: 8px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMCAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkuMjQ0NDcgNy4wNjYyM0M5Ljk1NTI5IDYuNTMzMTEgOS45NTUyOSA1LjQ2Njg3IDkuMjQ0NDcgNC45MzM3NUwzLjAyNDc2IDAuMjY4OTcxQzIuMTQ2MTMgLTAuMzkgMC44OTIyODUgMC4yMzY5MjIgMC44OTIyODUgMS4zMzUyMUwwLjg5MjI4NSAxMC42NjQ4QzAuODkyMjg1IDExLjc2MzEgMi4xNDYxMyAxMi4zOSAzLjAyNDc2IDExLjczMUw5LjI0NDQ3IDcuMDY2MjNaIiBmaWxsPSIjRTMzRDNCIi8+PC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.15s var(--ease-in-out-quart);
}

.button:hover .button__label {
    transition: color 0.15s var(--ease-in-out-quart);
}

.button__flair {
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(0);
    transform-origin: 0 0;
    will-change: transform;
}

.button__flair:before {
    aspect-ratio: 1/1;
    background-color: #D71921;
    border-radius: 50%;
    content: "";
    display: block;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    width: 280%;
}

/* Subtitle and CTA removed for hero - no styles needed. */

.remark-home-thailand-hero__media {
    /* Make media participate in document flow so it sits below the title */
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 1280px;
    height: auto;
    z-index: 0;
    display: flex;
    justify-content: center;
    /* center the image */
    align-items: flex-start;
    margin-top: 24px;
}

.remark-home-thailand-hero__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 48px 48px 16px 16px;
    object-fit: cover;
}

.remark-home-thailand-hero__title--mobile {
    display: none;
}

@media (min-width: 992px) {
    .remark-home-thailand-hero__image {
        width: 65%;
    }
}

/* Promo 2 */
.remark-home-thailand-promo-2 {
    padding: 120px 24px;
    background-color: var(--remark-color-white);
}

.remark-home-thailand-promo-2__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    align-items: center;
}

.remark-home-thailand-promo-2__content {
    grid-column: 1 / 7;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 520px;
}

.remark-home-thailand-promo-2__badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background-color: #F6F6FA;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: var(--remark-font-body);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.remark-home-thailand-promo-2__badge-text {
    background-image: linear-gradient(90deg, var(--remark-color-highlight-start), var(--remark-color-highlight-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.remark-home-thailand-promo-2__title {
    margin: 0;
    font-family: 'Greycliff CF', 'Helvetica Neue', Arial, sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 50px;
    color: #000000;
    text-transform: none;
    /* proper case is handled server-side */
}

.remark-home-thailand-promo-2__subtitle {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--remark-color-primary);
}

.remark-home-thailand-promo-2__description {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--remark-color-text-muted);
}

.remark-home-thailand-promo-2__media {
    grid-column: 7 / 13;
}

.remark-home-thailand-promo-2__image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Promo 3: image on left, text on right (copied from Home USA) */
.remark-home-thailand-promo-3 {
    padding: 120px 24px;
    background-color: var(--remark-color-white);
}

.remark-home-thailand-promo-3__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    align-items: center;
}

.remark-home-thailand-promo-3__media {
    grid-column: 1 / 7;
}

.remark-home-thailand-promo-3__badge-text {
    background-image: linear-gradient(90deg, var(--remark-color-highlight-start), var(--remark-color-highlight-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.remark-home-thailand-promo-3__content {
    grid-column: 7 / 13;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 520px;
    align-items: flex-start;
}

.remark-home-thailand-promo-3__image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.remark-home-thailand-promo-3__title {
    margin: 0;
    font-family: 'Greycliff CF', 'Helvetica Neue', Arial, sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 50px;
    color: #000000;
    text-transform: none;
    /* proper case handled server-side */
}

.remark-home-thailand-promo-3__description {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--remark-color-text-muted);
}

@media (max-width: 1100px) {
    .remark-home-thailand-promo-3__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .remark-home-thailand-promo-3__content {
        grid-column: 1;
        max-width: none;
        align-items: center;
    }

    .remark-home-thailand-promo-3__media {
        grid-column: 1;
    }
}

/* CTA */
.remark-home-thailand-cta {
    padding: 120px 24px;
    position: relative;
    background-color: transparent;
}

.remark-home-thailand-cta__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    border-radius: 32px;
    background-color: var(--remark-color-primary);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 70%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--remark-color-white);
    --remark-home-thailand-cta-bg: var(--remark-color-primary);
    background-color: var(--remark-home-thailand-cta-bg);
}

.remark-home-thailand-cta__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(140% 140% at 80% 20%, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.remark-home-thailand-cta__media {
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.remark-home-thailand-cta__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remark-home-thailand-cta__content {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px 64px 48px 48px !important;
    color: var(--remark-color-white);
    position: relative;
    z-index: 1;
}

.remark-home-thailand-cta__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--remark-color-white);
}

.remark-home-thailand-cta__description {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    max-width: 440px;
}

.remark-home-thailand-cta__cta-wrapper {
    display: inline-flex;
    align-items: center;
}

.remark-home-thailand-cta__button {
    background-color: var(--remark-color-white);
    color: var(--remark-color-primary);
}

.remark-home-thailand-cta__button .button__label {
    color: var(--remark-color-primary);
}

.remark-home-thailand-cta__button .button__label::after {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMCAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkuMjQ0NDcgNy4wNjYyM0M5Ljk1NTI5IDYuNTMzMTEgOS45NTUyOSA1LjQ2Njg3IDkuMjQ0NDcgNC45MzM3NUwzLjAyNDc2IDAuMjY4OTcxQzIuMTQ2MTMgLTAuMzkgMC44OTIyODUgMC4yMzY5MjIgMC44OTIyODUgMS4zMzUyMUwwLjg5MjI4NSAxMC42NjQ4QzAuODkyMjg1IDExLjc2MzEgMi4xNDYxMyAxMi4zOSAzLjAyNDc2IDExLjczMUw5LjI0NDQ3IDcuMDY2MjNaIiBmaWxsPSIjRTMzRDNCIi8+PC9zdmc+');
}

.remark-home-thailand-cta__button:hover .button__label {
    color: var(--remark-color-white);
}

.remark-home-thailand-cta__button:hover .button__label::after {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMCAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkuMjQ0NDcgNy4wNjYyM0M5Ljk1NTI5IDYuNTMzMTEgOS45NTUyOSA1LjQ2Njg3IDkuMjQ0NDcgNC45MzM3NUwzLjAyNDc2IDAuMjY4OTcxQzIuMTQ2MTMgLTAuMzkgMC44OTIyODUgMC4yMzY5MjIgMC44OTIyODUgMS4zMzUyMUwwLjg5MjI4NSAxMC42NjQ4QzAuODkyMjg1IDExLjc2MzEgMi4xNDYxMyAxMi4zOSAzLjAyNDc2IDExLjczMUw5LjI0NDQ3IDcuMDY2MjNaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+');
}

.remark-home-thailand-cta__button .button__flair:before {
    background-color: #D71921;
}

.remark-home-thailand-cta__shape {
    position: absolute;
    width: 157px;
    height: 157px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 157.06 157.06'%3E%3Crect x='14.33' y='14.33' width='128.39' height='128.39' rx='32' ry='32' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.remark-home-thailand-cta__shape--tl {
    top: -60px;
    right: 28%;
    width: 130px;
    height: 130px;
    transform: rotate(45deg);
}

.remark-home-thailand-cta__shape--br {
    bottom: -50px;
    right: 40px;
    transform: rotate(45deg);
}

@media (max-width: 1100px) {
    .remark-home-thailand-promo-2__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .remark-home-thailand-promo-2__content {
        grid-column: 1;
        max-width: none;
        align-items: center;
    }

    .remark-home-thailand-promo-2__media {
        grid-column: 1;
    }

    .remark-home-thailand-cta {
        padding: 80px 20px;
    }

    .remark-home-thailand-cta__inner {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        gap: 32px;
        text-align: left;
    }

    .remark-home-thailand-cta__description {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .remark-home-thailand-promo-2 {
        padding: 80px 16px;
    }

    .remark-home-thailand-cta {
        padding: 64px 16px;
    }

    .remark-home-thailand-cta__inner {
        padding: 32px 24px;
    }
}

@media (max-width: 991px) {
    .remark-home-thailand-hero.remark-section {
        height: auto;
        padding-bottom: 64px;
    }

    .remark-home-thailand-hero__title--desktop {
        display: none;
    }

    .remark-home-thailand-hero__title--mobile {
        display: flex;
    }

    .remark-home-thailand-hero__media {
        position: static;
        transform: none;
        width: 100%;
    }
}

/* Hide specific image on mobile */
@media (max-width: 768px) {
    #content > div.page-content > div > div.elementor-element.elementor-element-0a6b3a6.e-con-full.e-flex.e-con.e-parent > div > div > section > div img,
    #content > div.page-content > div > div.elementor-element.elementor-element-0a6b3a6.e-con-full.e-flex.e-con.e-parent.e-lazyloaded > div > div > section > div img {
        display: none !important;
    }
}