/*
 * Child theme styles for the Amasty Blog post page.
 * Loaded via the amblog_index_post layout handle.
 */

.amblog-post-container .magezon-builder h1,
.amblog-post-container .magezon-builder .h1 {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
}

.amblog-post-container .magezon-builder h2,
.amblog-post-container .magezon-builder .h2 {
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.2;
}

.amblog-post-container .magezon-builder h3,
.amblog-post-container .magezon-builder .h3 {
    font-size: clamp(20px, 2.1vw, 24px);
    line-height: 1.25;
}

.amblog-post-container .magezon-builder h4,
.amblog-post-container .magezon-builder .h4 {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.3;
}
 body[class*='amblog-index-'] .page-title {
    margin-bottom: 0px !important;
}

.amblog-post-container .amblog-content > .amblog-swipe {
    float: right;
}

.amblog-post-container .magezon-builder .table-wrapper,
.amblog-post-container .magezon-builder *:has(> table) {
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(26, 26, 26, 0.06);
}

.amblog-post-container .magezon-builder table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.amblog-post-container .magezon-builder th,
.amblog-post-container .magezon-builder td {
    padding: 16px 18px !important;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    text-align: left;
    vertical-align: top;
}

.amblog-post-container .magezon-builder thead th {
    background: rgba(254, 191, 43, 0.14);
    font-weight: 700;
}

.amblog-post-container .magezon-builder tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 768px) {
    .amblog-post-container .magezon-builder .table-wrapper,
    .amblog-post-container .magezon-builder *:has(> table) {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
    }

    .amblog-post-container .magezon-builder .table-wrapper::-webkit-scrollbar,
    .amblog-post-container .magezon-builder *:has(> table)::-webkit-scrollbar {
        height: 8px;
    }

    .amblog-post-container .magezon-builder .table-wrapper::-webkit-scrollbar-thumb,
    .amblog-post-container .magezon-builder *:has(> table)::-webkit-scrollbar-thumb {
        background: rgba(254, 191, 43, 0.65);
        border-radius: 999px;
    }

    .amblog-post-container .magezon-builder table {
        display: table;
        width: max-content;
        min-width: 100%;
        max-width: none;
        margin: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .amblog-post-container .magezon-builder th,
    .amblog-post-container .magezon-builder td {
        min-width: 140px;
        padding: 14px 16px !important;
        white-space: nowrap;
    }
}
.amblog-post-container .amblog-content, .amblog-grid-list .amblog-content, .amblog-grid-list .slick-slide .amblog-item .amblog-content {
    padding: 30px;
}
@media (max-width: 768px) {
    .amblog-post-container .amblog-content, .amblog-grid-list .amblog-content, .amblog-grid-list .slick-slide .amblog-item .amblog-content {
        padding: 20px !important;
    }
}
