body {
    background-color: #262b31;
}

/* banner */
.banner-container {
    position: relative;
    width: 100%;
    max-height: auto;
    overflow: hidden;
    margin-top: 80px;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* .banner-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    pointer-events: none;
} */


/* Style the tab */
.tab {
    display: flex;
    overflow: hidden;
    border: 0;
    background-color: #fff9d9;
}

/* Style the buttons that are used to open the tab content */
.tab button,
.tab a {
    flex: 1;
    text-align: center;
    font-size: 18px;
    color: #000000;
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover,
.tab a:hover {
    background-color: #ffe96e;
    color: #000000;
}

/* Create an active/current tablink class */
.tab button.active,
.tab a.active {
    background-color: #fed900;
    color: #000000;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 5% 20% 5% 20%;
    border: 0;
    border-top: none;
    color: #ffffff;
}

a {
  color: #fed900;
  text-decoration: none; /* เอาเส้นใต้ลิงก์ออก (ถ้าไม่อยากให้มี) */
}

a:hover {
  color: #ffe96e; /* เปลี่ยนสีเวลาเอาเมาส์ไปชี้ */
}



/* text */
.text {
    background-color: #262b31;
    padding: 5% 20% 0% 20%;
    gap: 20px;
    margin-top: 0;
}

.text h1 {
    margin-top: 0;
    font-size: 40px;
    color: #fed900;
}

.text h2 {
    margin-top: 0;
    font-size: 30px;
    color: #ffffff;
}

.text p {
    font-size: 16px;
    color: #ffffff;
    text-align: justify;
    padding: 0px;
}


/* container */
.book-meta {
    display: grid;
    grid-template-columns: 160px 1fr;
    /* ซ้ายคงที่ ขวายืด */
    column-gap: 24px;
    margin: 0;
    border-top: 1px solid #eaeaea;
    font-size: 16px;
    line-height: 1.9;
}

/* rows */
.book-meta dt,
.book-meta dd {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #eaeaea;
}

.book-meta dt {
    color: #ffffff;
    font-weight: 600;
}

.book-meta dd {
    color: #ffffff;
}

/* price styling */
.book-meta .price {
    font-weight: 700;
}

.book-meta .sub {
    color: #ffffff;
    margin-left: .5em;
    font-size: .95em;
}



/* fix button */

.fixed-ticket-button {
    position: fixed;
    right: 0;
    top: 85%;
    transform: translateY(-50%);
    padding: 10px 20px;
    background-color: #fed900;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fixed-ticket-button:hover {
    background-color: #434b5a;
    color: #ffffff;
}





/* font */

h1 {
    font-size: 28px;
    margin: 0 0 5px 0;
    text-align: center;
}

h2 {
    font-size: 22px;
    margin: 0 0 5px 0;
    text-align: center;
}

h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
    text-align: center;
}

p {
    font-size: 16px;
}



/* new-footer */
.new-footer {
    background-color: #212529;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.sns-links a {
    text-decoration: none;
}

.sns-icon img {
    width: 25px;
    height: auto;
}

.footer-text p {
    margin: 0;
    font-size: 14px;
}




/* mobile */

@media (max-width: 1045px) {


    /* new doc-intro */
    .doc-intro-key {
        font-size: 60px;
    }

    /* font */

    h1 {
        font-size: 15px;
        margin: 0 0 5px 0;
        text-align: center;
    }

    h2 {
        font-size: 14px;
        margin: 0 0 5px 0;
        text-align: center;
    }

    h3 {
        font-size: 14px;
        margin: 0 0 5px 0;
        text-align: center;
    }

    p {
        font-size: 14px;
    }

}


@media (min-width: 865px) and (max-width: 1045px) {

    /* banner */
    .banner-container {
        margin-top: 63.6px;
    }

}

/* ipad mini 660-865*/
@media (min-width: 660px) and (max-width: 865px) {

    /* banner */
    .banner-container {
        margin-top: 63.6px;
    }


    /* discussion 2 */
    .discussion-long h2 {
        font-size: 25px;
    }

    .discussion-long p {
        font-size: 15px;
    }

    .discussion-text-background-container .discussion-last-pic {
        padding-top: 5%;
    }

    .line-up-table {
        padding: 5% 10% 0% 10%;
    }

    table {
        font-size: 14px;
    }

    .flag {
        height: 40px;
    }
    .book-meta {
    grid-template-columns: 120px 1fr;
    }

}








@media (min-width: 550px) and (max-width: 660px) {


    .banner-container {
        margin-top: 70px;
    }

    /* discussion 2 */
    .line-up-table h1 {
        font-size: 30px;
        padding: 0;
        margin: 0;
    }

    .line-up-table h2 {
        font-size: 25px;
        padding: 0;
        margin: 0;
    }

    .line-up-table p {
        font-size: 18px;
    }

    .line-up-table {
        padding: 5% 10% 0% 10%;
    }

    table {
        font-size: 13px;
    }

    .flag {
        height: 30px;
    }
    .book-meta {
    grid-template-columns: 120px 1fr;
    }

}





@media (max-width: 550px) {

    .banner-container {
        margin-top: 70px;
    }

    /* discussion 2 */
    .line-up-table h1 {
        font-size: 20px;
        padding: 0;
        margin: 0;
    }

    .line-up-table h2 {
        font-size: 18px;
        padding: 0;
        margin: 0;
    }

    .line-up-table p {
        font-size: 16px;
    }

    table {
        font-size: 12px;
    }

    .line-up-table {
        padding: 5% 10% 0% 10%;
    }

    .flag {
        height: 30px;
    }

    .tab button {
        font-size: 14px;
    }

    .tabcontent {
        display: none;
        padding: 5% 10% 5% 10%;
        border: 0;
        border-top: none;
        color: #ffffff;
    }

    .book-meta {
    font-size: 14px;
    grid-template-columns: 100px 1fr;
}

}