/* ================================================================
   Taihau Light Intro Modal v22.5.5 LTS
   ================================================================ */

.light-card-cover {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

.light-card-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.light-card-cover-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(82, 41, 14, 0.88);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
}

.light-card-cover:hover .light-card-cover-label,
.light-card-cover:focus .light-card-cover-label {
    opacity: 1;
    transform: translateY(0);
}

.light-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.light-card-actions .btn-gold,
.light-card-actions .btn-light-info {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 10px 17px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-light-info {
    border: 1px solid #bd8d2f;
    background: #fffaf0;
    color: #754518;
}

.btn-light-info:hover,
.btn-light-info:focus {
    border-color: #8f5c18;
    background: #f8ecd3;
    color: #572f0c;
}

.light-intro-source {
    display: none !important;
}

.light-intro-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px;
}

.light-intro-modal.is-open {
    display: flex;
}

.light-intro-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 5, 0.72);
}

.light-intro-dialog {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 920px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 38px;
    border: 1px solid rgba(145, 97, 34, 0.28);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.32);
}

.light-intro-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #703618;
    font-family: Arial, sans-serif;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
}

.light-intro-close:hover,
.light-intro-close:focus {
    color: #b22118;
}

.light-intro-header {
    padding-right: 48px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eadbc4;
}

.light-intro-header h2 {
    margin: 0 0 15px;
    color: #762721;
    font-size: 30px;
    line-height: 1.45;
}

.light-intro-subtitle {
    margin: 0 0 18px;
    color: #7b5b3c;
    font-size: 17px;
    line-height: 1.7;
}


.light-intro-summary {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-left: 4px solid #c69a3e;
    border-radius: 8px;
    background: #fff9ed;
    color: #583d25;
    font-size: 16px;
    line-height: 1.8;
}

.light-intro-editor-content {
    overflow-wrap: break-word;
    color: #333;
    font-size: 17px;
    line-height: 1.9;
}

.light-intro-editor-content img {
    max-width: 100%;
    height: auto;
}

.light-intro-editor-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.light-intro-editor-content iframe {
    max-width: 100%;
}

.light-intro-editor-content .iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.light-intro-editor-content .iframe-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.light-intro-price {
    margin-top: 25px;
    color: #713b18;
    font-size: 19px;
    text-align: center;
}

.light-intro-register {
    margin-top: 20px;
    text-align: center;
}

body.light-modal-open {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .light-intro-modal {
        padding: 10px;
    }

    .light-intro-dialog {
        max-height: 92vh;
        padding: 32px 19px 24px;
        border-radius: 14px;
    }

    .light-intro-header h2 {
        font-size: 23px;
    }

    .light-intro-editor-content {
        font-size: 16px;
    }

    .light-card-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .light-card-actions .btn-gold,
    .light-card-actions .btn-light-info {
        width: 100%;
    }

    .light-card-cover-label {
        opacity: 1;
        transform: none;
    }
}
