/* eAgenda platform rules, copied verbatim from the reference's mainStyle.css */
td.heading1 {
    background: #BDBFB5
    }
td.heading2 {
    background: #CECFC8
    }

/* page: width=100% tables with cellpadding 15, as on the reference */
.page_shell,
.part_table {
    border-collapse: collapse;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #0f243e;
    overflow-wrap: anywhere;
}
.page_cell,
.part_cell {
    vertical-align: top;
}
.page_frame {
    max-width: 760px;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

/* lead */
.lead_box {
    padding: 4px 0 14px;
    border-bottom: 2px inset #808080;
    text-align: center;
}
.lead_deck {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1f497d;
}
.lead_title {
    margin: 0 0 10px;
    font-family: Verdana, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: #006633;
}
.lead_stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #1f497d;
}
.lead_stat {
    white-space: nowrap;
}
.lead_icon {
    vertical-align: -2px;
    fill: #003366;
}

/* index */
.index_box {
    margin: 18px 0;
    padding: 12px 18px;
    border-inline-start: 4px solid #006633;
}
.index_head {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #006633;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.index_list {
    margin: 0;
    padding-inline-start: 26px;
    columns: 2;
    column-gap: 32px;
    list-style: decimal;
}
.index_item {
    margin: 0 0 4px;
    break-inside: avoid;
}
.index_link {
    display: inline-block;
    min-height: 24px;
    color: #333366;
    text-decoration: none;
}

/* map */
.map_box {
    margin: 18px 0;
}
.map_zone {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid #808080;
}
.map_live .map_zone {
    display: block;
}
.map_legend {
    margin: 10px 0 0;
    padding-inline-start: 26px;
    columns: 3;
    column-gap: 28px;
    font-size: 13px;
    line-height: 1.4;
}
.map_spot {
    margin: 0 0 4px;
    break-inside: avoid;
}
.map_pin {
    background: none;
    border: 0;
}
.map_pin svg {
    display: block;
}
.map_tip .leaflet-popup-content {
    margin: 8px 12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f243e;
}

/* dates and the article photo */
.date_line {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #1f497d;
}
.date_item {
    white-space: nowrap;
}
.lead_photo {
    margin: 0 0 6px;
}
.lead_img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
}

/* sections */
.part_box {
    padding: 6px 0;
}
.part_table tr + tr .part_box {
    padding-top: 24px;
    border-top: 1px solid #cecfc8;
}
.part_sub {
    margin: 16px 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #cecfc8;
    border-radius: 6px;
}
.part_title {
    margin: 0 0 12px;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #006633;
}
.part_sub .part_title {
    font-size: 17px;
    color: #0f243e;
}
.part_text {
    font-size: 15px;
    line-height: 1.7;
}
.part_text p,
.stay_text p {
    margin: 0 0 12px;
}
.part_text img,
.stay_text img {
    max-width: 100%;
    height: auto;
}
.part_text a,
.stay_text a {
    color: #333366;
    font-size: inherit;
    text-decoration: none;
}
.part_figs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}
.part_fig {
    margin: 0;
}
.part_fig:first-child {
    grid-column: 1 / -1;
}
.part_img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* hotel cards */
.stay_list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.stay_item {
    position: relative;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #cecfc8;
    border-top: 4px solid #ed1c24;
    border-radius: 8px;
}
.stay_ribbon {
    float: right;
    max-width: 45%;
    margin: -16px -16px 8px 12px;
    padding: 5px 12px;
    background: #003366;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    border-radius: 0 8px 0 8px;
}
.stay_head {
    margin: 0 0 12px;
}
.stay_name {
    margin: 0 0 8px;
    font-family: Verdana, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f243e;
}
.stay_stars {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #1f497d;
}
.stay_star {
    color: #003366;
}
.stay_score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
}
.stay_num {
    min-width: 38px;
    padding: 4px 6px;
    background: #003366;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
    border-radius: 4px 4px 4px 0;
}
.stay_mark {
    font-weight: 700;
    color: #0f243e;
}
.stay_votes {
    color: #1f497d;
}
.stay_media {
    margin: 0 0 14px;
    clear: both;
}
.stay_pager {
    width: 100%;
}
.stay_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.stay_zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}
.stay_photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 4px;
}
.stay_pager .stay_dots {
    position: static;
    margin: 6px 0 0;
    line-height: 0;
}
.stay_dots .swiper-pagination-bullet {
    position: relative;
    width: 24px;
    height: 24px;
    margin: 0 2px;
    background: none;
    opacity: 1;
}
.stay_dots .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #808080;
}
.stay_dots .swiper-pagination-bullet-active::after {
    background: #003366;
}
.stay_count {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #1f497d;
}
.stay_body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 16px;
    align-items: start;
}
.stay_info {
    min-width: 0;
}
.stay_dist {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #1f497d;
}
.stay_amen {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}
.stay_pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}
.stay_pill {
    padding: 2px 10px;
    border: 1px solid #808080;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
}
.stay_text {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.7;
}
.stay_text > p:first-child {
    font-size: 16px;
    color: #003366;
}
.stay_times {
    margin: 0 0 6px;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.4;
}
.stay_key {
    padding: 4px 14px 4px 0;
    font-weight: 700;
    vertical-align: top;
}
.stay_val {
    padding: 4px 0;
    vertical-align: top;
}
.stay_side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-inline-start: 16px;
    border-inline-start: 1px solid #cecfc8;
    text-align: center;
}
.stay_price {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f243e;
}
.stay_book,
.stay_pin,
.help_yes,
.help_copy {
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #cecfc8;
    border-radius: 3px;
    background: transparent;
    color: #333366;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.stay_foot {
    display: flex;
    justify-content: flex-start;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #cecfc8;
}
.stay_pin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.stay_icon,
.help_icon {
    flex: 0 0 auto;
}

/* helpful */
.help_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin: 4px 0 20px;
    padding: 14px 0;
    border-top: 2px inset #808080;
    border-bottom: 2px inset #808080;
}
.help_ask {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f243e;
}
.help_yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
}
.help_yes[aria-pressed="true"],
.help_done {
    background: #f0f2e8;
    border-color: #006633;
}
.help_copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* recommendations */
.more_box {
    margin: 0 0 24px;
}
.more_brand {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #006633;
    text-transform: uppercase;
}
.more_tag {
    margin: 2px 0 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #1f497d;
}
.more_list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.more_item {
    padding: 12px 0;
    border-top: 1px solid #cecfc8;
}
.more_link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    color: #333366;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}
.more_thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 4px;
}
.more_name {
    min-width: 0;
}
.more_intro {
    margin: 6px 0 0;
    padding-inline-start: 110px;
    font-size: 14px;
    line-height: 1.5;
}

/* good to know */
.ask_box {
    margin: 0 0 24px;
}
.ask_title {
    margin: 0 0 8px;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #006633;
}
.ask_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    margin: 0;
}
.ask_pair {
    padding: 12px 0;
    border-top: 1px solid #cecfc8;
}
.ask_q {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f243e;
}
.ask_a {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* comparison: the platform's heading bands, one card per hotel */
.versus_band {
    margin: 0 0 24px;
    border-collapse: collapse;
}
.versus_head {
    padding: 12px 16px;
}
.versus_body {
    padding: 12px 16px 4px;
}
.versus_eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.versus_title {
    margin: 2px 0 0;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f243e;
}
.versus_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 8px;
}
.versus_row {
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 4px;
}
.versus_name {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.versus_stars {
    font-size: 13px;
    font-weight: 400;
    color: #1f497d;
    white-space: nowrap;
}
.versus_facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px 18px;
    margin: 0;
}
.versus_pair {
    min-width: 0;
}
.versus_key {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #1f497d;
    text-transform: uppercase;
}
.versus_val {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

/* phones: the cells take the 20px gutter, cards restack */
@media (max-width: 767px) {
    .page_shell,
    .part_table {
        table-layout: fixed;
    }
    .page_cell,
    .part_cell {
        box-sizing: border-box;
        padding: 16px 20px;
    }
    .page_frame {
        margin-inline-start: 0;
    }
    .lead_title {
        font-size: clamp(20px, 6.5vw, 26px);
    }
    .index_list,
    .map_legend {
        columns: 1;
    }
    .stay_item {
        display: grid;
        grid-template-columns: 40% minmax(0, 1fr);
        column-gap: 12px;
        align-items: start;
    }
    .stay_ribbon {
        grid-column: 1 / -1;
        justify-self: end;
        float: none;
        margin: -16px -16px 10px 0;
    }
    .stay_head {
        grid-column: 2;
        grid-row: 2;
    }
    .stay_media {
        grid-column: 1;
        grid-row: 2;
        min-width: 0;
        margin: 0 0 12px;
    }
    .stay_body,
    .stay_foot {
        grid-column: 1 / -1;
    }
    .stay_grid {
        gap: 3px;
    }
    .stay_body {
        grid-template-columns: minmax(0, 1fr);
    }
    .stay_side {
        padding: 12px 0 0;
        border-inline-start: 0;
        border-top: 1px solid #cecfc8;
    }
    .more_list {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .more_item {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
    .more_intro {
        padding-inline-start: 0;
    }
    .ask_list {
        grid-template-columns: minmax(0, 1fr);
    }
}
