

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, "Noto Sans Lao", sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}


.top-header {
    width: 100%;
    height: 112px;

    background: #651010;

    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo img {
    display: block;

    max-width: 90px;
    max-height: 100px;

    object-fit: contain;
}



.page-container {
    width: 100%;
    max-width: 1320px;

    margin: 0 auto;

    padding: 28px 25px 80px;
}


.top-grid {
    display: grid;

    grid-template-columns: 220px minmax(0, 720px) 220px;

    justify-content: center;

    gap: 35px;

    align-items: start;
}



.left-info,
.right-info {
    font-size: 12px;
    color: #8b8b8b;
}

.left-info h3,
.right-info h3 {
    margin: 0 0 18px;

    color: #333;

    font-size: 15px;
    font-weight: 700;
}

.left-info ol,
.right-info ol {
    margin: 0;
    padding-left: 20px;
}

.left-info li,
.right-info li {
    margin-bottom: 8px;
}



.lao-lottery-widget {
    width: 100%;
}

.main-content {
    width: 100%;

    min-height: 405px;

    border: 2px solid #e9ad38;
    border-radius: 9px;

    background: #fff;

    text-align: center;

    padding: 23px 45px 28px;
}

.title {
    margin: 0;

    font-size: 22px;
    font-weight: 700;

    color: #353535;
}

.subtitle {
    margin: 2px 0 0;

    font-size: 16px;
    font-weight: 400;

    color: #555;
}

.broadcast {
    margin-top: 3px;

    font-size: 14px;

    color: #555;
}

.main-label {
    margin: 30px 0 22px;

    font-size: 17px;
    font-weight: 400;
}


.prize-main {
    width: 250px;
    height: 78px;

    margin: 0 auto;

    border: 3px solid #e9ad38;
    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 55px;
    font-weight: 800;

    line-height: 1;

    color: #181818;

    text-shadow: 2px 2px 3px rgba(0,0,0,.25);
}



.prize-secondary-container {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    margin-top: 66px;
}

.prize-secondary-item {
    min-width: 0;
}

.label-text {
    display: block;

    margin-bottom: 10px;

    font-size: 15px;

    color: #444;
}

.number-box {
    width: 100%;
    height: 57px;

    border: 3px solid #e9ad38;
    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    font-size: 25px;
    font-weight: 700;

    color: #333;
}



.history-heading {
    width: 720px;
    max-width: 100%;

    margin: 55px auto 35px;

    display: flex;
    align-items: center;

    gap: 12px;
}

.history-heading span {
    flex: 1;

    height: 1px;

    background: #888;
}

.history-heading h2 {
    margin: 0;

    white-space: nowrap;

    font-size: 21px;
    font-weight: 500;

    color: #444;
}


.lower-grid {
    display: grid;

    grid-template-columns: 220px minmax(0, 720px) 220px;

    justify-content: center;

    gap: 35px;

    align-items: start;
}


#history-container {
    width: 100%;
    overflow-x: auto;
}

#history-table {
    width: 100%;

    border-collapse: collapse;

    background: #fff;

    font-size: 13px;
}

#history-table th,
#history-table td {
    border: 1px solid #d4d4d4;

    padding: 9px 7px;

    text-align: center;
}

#history-table thead th {
    background: #f3f3f3;

    color: #333;

    font-weight: 700;
}

#history-table tbody td {
    color: #555;
}


.brand-column {
    padding-top: 5px;
}

.bird-image {
    width: 100%;
    max-width: 205px;

    display: block;

    margin: 0 auto 20px;

    object-fit: contain;
}

.brand-column h3 {
    margin: 0 0 12px;

    font-size: 15px;

    color: #333;
}

.brand-column p {
    margin: 0;

    font-size: 12px;

    color: #8b8b8b;
}


.news-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 35px;

    margin-top: 55px;
}

.news-card img {
    width: 100%;
    height: 185px;

    display: block;

    object-fit: cover;
}

.news-card h3 {
    margin: 13px 0 7px;

    font-size: 14px;

    color: #333;
}

.news-card p {
    margin: 0;

    font-size: 11px;

    color: #999;
}



.ads-column {
    display: flex;
    flex-direction: column;

    gap: 28px;
}

.ad-item img {
    width: 100%;
    height: auto;

    display: block;
}

.ad-item a {
    display: block;

    margin-top: 10px;

    color: #333;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.4;

    text-decoration: underline;
}




.footer {
    min-height: 48px;

    background: #651010;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    font-size: 12px;
}


@media (max-width: 1050px) {

    .top-grid {
        grid-template-columns: 180px minmax(0, 650px);
    }

    .right-info {
        display: none;
    }


    .lower-grid {
        grid-template-columns: 180px minmax(0, 650px);
    }

    .ads-column {
        display: none;
    }

}


@media (max-width: 760px) {

    .top-header {
        height: 90px;
    }

    .header-logo img {
        max-height: 80px;
    }


    .page-container {
        padding: 20px 12px 50px;
    }


    .top-grid,
    .lower-grid {
        display: block;
    }


    .left-info,
    .right-info {
        display: none;
    }


    .main-content {
        min-height: auto;

        padding: 20px 12px 25px;
    }


    .title {
        font-size: 20px;
    }


    .subtitle {
        font-size: 14px;
    }


    .broadcast {
        font-size: 13px;
    }


    .main-label {
        margin-top: 27px;
    }


    .prize-main {
        width: 210px;
        height: 70px;

        font-size: 46px;
    }


    .prize-secondary-container {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px 15px;

        margin-top: 45px;
    }


    .number-box {
        height: 55px;
    }


    .history-heading {
        margin: 40px auto 25px;
    }


    .history-heading h2 {
        font-size: 17px;
    }


    #history-table {
        min-width: 680px;
    }


    .brand-column {
        display: none;
    }


    .news-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-top: 35px;
    }

}



@media (max-width: 430px) {

    .prize-secondary-container {
        gap: 15px 10px;
    }

    .label-text {
        font-size: 13px;
    }

    .number-box {
        font-size: 22px;
    }

}