.site-content {
    align-self: center;
    max-width: 100%;
    width: 100%;
}

/* .ast-container {
    max-width: 100%;
    padding: 0px;
} */

/* .left-sidebar {
    width: 5%;
    margin-top: 10px;
    position: relative;
}

.right-sidebar {
    width: 5%;
    margin-top: 10px;
    position: relative;
} */

.site-main {
    width: 100%;
    margin-top: 10px;
    padding-left: 30px;
    padding-right: 30px;
}

.entry-header {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px !important;
}

h1 {
    font-size: 40px !important;
    margin-bottom: 0px !important;
    font-weight: bold;
}

.custom-breadcrumb {
    font-size: 15px;
    line-height: 1;
    margin-bottom: 5px !important;
}

.entry-article .cost-of-living-summary {
    margin-bottom: 10px !important;
    padding: 15px;
    background-color: #f0f7ff;
    border: 1px solid #cce5ff;
    border-radius: 0px;
}

.entry-article .cost-of-living-summary h2 {
    font-size: 22px !important;
    margin-top: 0;
    color: #004085;
    font-weight: bold;
}

.entry-article .cost-of-living-summary p {
    margin-bottom: 10px !important;
    line-height: 1.5;
    font-size: 18px;
}

.entry-article .cost-of-living-summary p:last-child {
    margin-bottom: 0px !important;
}

.entry-article .cost-of-living-disclaimer {
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border: 1px solid lightgray;
    border-radius: 0px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.entry-article .cost-of-living-settings {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid lightgray;
    border-radius: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.entry-article .cost-of-living-settings-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    width: 100%;
}

.entry-article .cost-of-living-setting-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.entry-article .cost-of-living-settings label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.entry-article .cost-of-living-settings select {
    color: black;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 0px;
    padding: 5px 10px;
    font-size: 16px;
}

.currency-select {
    max-width: 80px;
}

.entry-article .cost-section {
    margin-bottom: 40px;
}

.entry-article .cost-section h2 {
    margin-bottom: 10px;
}

.entry-article .section-title {
    font-size: 30px !important;
    font-weight: bold;
    margin-bottom: 10px !important;
    color: #004085;
}

.entry-article .cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.8;
}

.entry-article .cost-table th,
.entry-article .cost-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid lightgray;
}

.entry-article .cost-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.entry-article .cost-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.entry-article .cost-table tr:hover {
    background-color: #f1f1f1;
}

.entry-article .cost-table .range-cell {
    min-width: 350px;
}

.entry-article .cost-table .subcategory-label input,
.entry-article .cost-table .category-label input {
    margin-right: 2px;
}

.entry-article .cost-table .range-bar {
    position: relative;
    width: 100%;
    height: 80px;
}

.entry-article .cost-table .range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    transform: translateY(-50%);
}

.entry-article .cost-table .range-marker {
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #ffb300;
    transform: translate(-50%, -100%);
}

.entry-article .cost-table .range-label {
    position: absolute;
    line-height: 1;
    white-space: nowrap;
}

.entry-article .cost-table .range-average {
    top: 5px;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: 600;
}

.entry-article .cost-table .range-low {
    bottom: 5px;
    left: 0;
    font-size: 15px;
}

.entry-article .cost-table .range-high {
    bottom: 5px;
    right: 0;
    font-size: 15px;
}

.entry-article .cost-table .total-row {
    background-color: #f5f5f5;
}

.entry-article .cost-table .total-label {
    font-weight: bold;
}

.expense-distribution-chart {
    width: 100%;
    padding: 20px;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 0px;
}

.comment-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid lightgray;
    border-radius: 0px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.range-cell {
    position: relative;
}

.tooltip {
    position: absolute;
    background-color: white;
    border: 1px solid lightgray;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    line-height: 1.5;
    z-index: 1000;
    min-width: 350px;
    max-width: 450px;
    width: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip .tier-item {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #555;
}

.tooltip .tier-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tooltip .tier-label {
    font-weight: bold;
    color: orangered;
    margin-bottom: 4px;
    font-size: 15px;
}

.tooltip .tier-description {
    font-size: 15px;
    color: black;
    margin-bottom: 6px;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
}

.tooltip .tier-value {
    font-size: 16px;
    font-weight: bold;
    color: green;
    text-align: right;
    margin-top: 4px;
}

.other-content-container {
    width: 100%;
}

.other-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.other-regions h2 {
    font-size: 18px;
    width: 100%;
}

.other-region {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid lightgray;
    border-radius: 5px;
    width: calc((100% / 6) - (10px * 5 / 6));
    padding: 10px;
    text-align: center;
}

.other-region h3 {
    font-size: 18px;
}

.other-regions-see-all {
    width: 100%;
    font-weight: bold;
    line-height: 1;
    font-size: 16px;
}

@media (max-width: 1024px) {
    /* .left-sidebar, .right-sidebar {
        display: none;
    } */

    .site-main {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .tooltip {
        min-width: 280px;
        max-width: 320px;
        font-size: 13px;
        padding: 12px 16px;
    }

    .tooltip .tier-description {
        font-size: 12px;
    }

    .other-region {
        width: 100%;
    }
}