/* Public homepage builder runtime. Stored configuration only selects one of
 * the fixed server-side templates; no stored class or file path is consumed. */
.page-builder-homepage {
    min-width: 0;
}

.page-builder-homepage > .page-builder-runtime-module,
.page-builder-lottery-panels,
.page-builder-homepage > .responsible-note {
    margin-top: 5px;
}

.page-builder-homepage > .sticky-masthead:first-child {
    margin-top: 0;
}

.page-builder-lottery-panels .lottery-content-panel > [data-page-module-id] {
    scroll-margin-top: 194px;
}

.page-builder-visual-table {
    overflow: hidden;
    padding: 0;
    border: 2px solid #1689ff;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(7, 89, 184, .12);
}

.page-builder-visual-table__content {
    overflow-x: auto;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.page-builder-visual-table__content table {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.page-builder-visual-table__content thead th {
    padding: 11px 12px;
    border: 0;
    background: linear-gradient(135deg, #0759b8 0%, #1689ff 54%, #62b9ff 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}

.page-builder-visual-table__content tbody td {
    padding: 8px 10px;
    border-right: 1px solid #b7cde0;
    border-bottom: 1px solid #b7cde0;
    background: #fff;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.page-builder-visual-table__content tbody tr:nth-child(even) > td {
    background-color: #f4f9ff;
}

.page-builder-visual-table__content tbody tr:last-child > td {
    border-bottom: 0;
}

.page-builder-visual-table__content tbody tr > td:last-child {
    border-right: 0;
}

.page-builder-green-links,
.page-builder-image-ad,
.page-builder-notice-text,
.page-builder-independent-content {
    min-width: 0;
}

.page-builder-image-ad .macau-green-image-ad,
.page-builder-image-ad img {
    width: 100%;
}

.page-builder-announcement {
    min-width: 0;
}

.page-builder-rich-content {
    overflow: hidden;
}

@media (max-width: 560px) {
    .page-builder-lottery-panels .lottery-content-panel > [data-page-module-id] {
        scroll-margin-top: 184px;
    }

    .page-builder-visual-table {
        border-radius: 8px;
    }

    .page-builder-visual-table__content thead th {
        padding: 9px 7px;
        font-size: 20px;
    }

    .page-builder-visual-table__content tbody td {
        padding: 6px 5px;
    }
}
