/*
 * Traveler Layout 5 Rate / Board / Policy Grid
 * v1.4.5
 *
 * Change:
 * - Removed divider underneath Rate / Board / Hotel Policy row.
 * - Added/kept divider underneath Cancellation / Pre-payment Policy.
 */

.hrg-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 42px;
    row-gap: 18px;
    align-items: start !important;
    margin: 24px 0 0;
    padding: 0 0 14px;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.hrg-info-grid > .hrg-info-grid-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
    align-self: start !important;
    display: block !important;
    transform: none !important;
}

.hrg-info-grid > .hrg-info-grid-card > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hrg-info-grid > .hrg-info-grid-card h1,
.hrg-info-grid > .hrg-info-grid-card h2,
.hrg-info-grid > .hrg-info-grid-card h3,
.hrg-info-grid > .hrg-info-grid-card h4,
.hrg-info-grid > .hrg-info-grid-card h5,
.hrg-info-grid > .hrg-info-grid-card h6,
.hrg-info-grid > .hrg-info-grid-card .title,
.hrg-info-grid > .hrg-info-grid-card .section-title,
.hrg-info-grid > .hrg-info-grid-card .st-heading-section,
.hrg-info-grid > .hrg-info-grid-card .st-title,
.hrg-info-grid > .hrg-info-grid-card .heading,
.hrg-info-grid > .hrg-info-grid-card .heading-title {
    margin: 0 0 13px !important;
    padding: 0 !important;
    font-size: 21px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    min-height: 27px;
    color: #111 !important;
}

.hrg-info-grid > .hrg-info-grid-card > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.hrg-info-grid > .hrg-info-grid-card .item,
.hrg-info-grid > .hrg-info-grid-card .item-attribute,
.hrg-info-grid > .hrg-info-grid-card li,
.hrg-info-grid > .hrg-info-grid-card p {
    font-size: 16px;
    line-height: 1.55;
    color: #111;
}

.hrg-info-grid > .hrg-info-grid-card .item,
.hrg-info-grid > .hrg-info-grid-card .item-attribute,
.hrg-info-grid > .hrg-info-grid-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px !important;
}

.hrg-info-grid > .hrg-info-grid-card span,
.hrg-info-grid > .hrg-info-grid-card a,
.hrg-info-grid > .hrg-info-grid-card p,
.hrg-info-grid > .hrg-info-grid-card li {
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.hrg-info-grid > .hrg-info-grid-card p {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.hrg-info-grid > .hrg-info-grid-card i,
.hrg-info-grid > .hrg-info-grid-card svg,
.hrg-info-grid > .hrg-info-grid-card .fa,
.hrg-info-grid > .hrg-info-grid-card [class*="icon-"] {
    flex: 0 0 auto;
    margin-right: 10px;
    color: #6f7d8b;
}

.hrg-info-grid > .hrg-info-grid-card hr,
.hrg-info-grid > .hrg-info-grid-card .st-hr,
.hrg-info-grid > .hrg-info-grid-card .hr,
.hrg-info-grid > .hrg-info-grid-card:after,
.hrg-info-grid > .hrg-info-grid-card:before {
    display: none !important;
}

.hrg-info-grid > .hrg-info-grid-card:not(:last-child) {
    border-right: 1px solid #eef1f5 !important;
    padding-right: 34px !important;
}

.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card h1,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card h2,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card h3,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card h4,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card h5,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card h6,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card .title,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card .section-title,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card .st-heading-section,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card .st-title,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card .heading,
.hrg-info-grid.hrg-room-existing-grid > .hrg-info-grid-card .heading-title {
    color: #000 !important;
    font-weight: 800 !important;
}

.hrg-info-grid.hrg-room-existing-grid {
    margin-top: 26px;
}

/* Cancellation / Pre-payment Policy line */
.hrg-info-grid-policy {
    margin: 0 0 24px;
    padding: 20px 0 22px;
    border-bottom: 1px solid #e7eaf0 !important;
}

.hrg-room-cancellation-policy {
    margin: 22px 0 26px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e7eaf0 !important;
}

.hrg-hotel-cancellation-policy-standalone {
    margin: 22px 0 26px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e7eaf0 !important;
}

.hrg-info-grid-policy-title {
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 12px;
    color: #111 !important;
}

.hrg-info-grid-policy-body {
    font-size: 15px;
    line-height: 1.65;
    color: #111 !important;
}

.hrg-info-grid-policy-body * {
    color: #111 !important;
}

.hrg-info-grid-policy-body p {
    margin-top: 0;
    margin-bottom: 10px;
}

.hrg-info-grid-policy-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .hrg-info-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 0 12px;
    }

    .hrg-info-grid > .hrg-info-grid-card:not(:last-child) {
        border-right: 0 !important;
        border-bottom: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 12px !important;
    }

    .hrg-info-grid-policy {
        padding-top: 18px;
    }
}
