/* UI global styles */

h1 {
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0;
    line-height: 3rem;
    /*word-break: break-word;*/
}

h2 {
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 2rem;
    font-weight: 400;
    font-style: normal;
    line-height: 120%;
    /*word-break: break-word;*/
}

h3 {
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.875rem;
}

h4 {
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 120%;
    color: var(--rmk-green);
    /*padding: 1rem 0 0 0;*/
    margin: 0;
}

h5 {
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 1.125rem !important;
    font-weight: 500;
    line-height: 1.5rem;
    color: var(--rmk-green);
    padding: 1rem 0 0 0;
    margin: 0;
}

body {
    margin: 0;
}

body, p, li {
    color: var(--gray-1);
    font-family: var(--font-new-gothic), sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
}

a, .wp-block-freeform.block-library-rich-text__tinymce a {
    color: var(--rmk-green);
    font-family: var(--font-new-gothic), sans-serif;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.5rem;
    text-decoration-line: underline;
}

.editor-styles-wrapper {
    padding: 0 1.5rem !important;
    max-width: var(--max-width);
}

.site-main {
    padding-bottom: 2rem;

    h1 {
        margin-top: .8rem;
    }
}

.wp-block-image.aligncenter {
    margin: 0 auto;
    justify-content: center;
}

figure.wp-block-table table {
    thead tr th {
        border: none;
        font-family: var(--font-geogrotesque), sans-serif;
        font-size: 1.25rem;
        font-weight: 400;
        line-height: 125%;
        background-color: var(--rmk-green-keskmine);
        color: var(--white);
        text-transform: uppercase;
    }

    td {
        font-family: var(--font-new-gothic), sans-serif;
        color: var(--gray-2);
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-left: 1px solid var(--rmk-green);
    }

    thead, td {
        border-top: none;
        border-bottom: none;
        border-right: none;
    }

    tr:nth-child(even) {
        background-color: var(--rmk-green-hele);
    }

    tr td:first-child {
        padding-left: 1.5rem;
        border-left: none;
    }
}

ul.wp-block-list {
    list-style-type: disc !important;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.linear-green-bg, .linear-green-bg-narrow {
    background: none;
}

.content-width {
    max-width: var(--max-width);
}

a.back-to-search {
    display: flex;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    background: url('../../assets/svg/arrow-back.svg') no-repeat;
    padding-left: 1.875rem
}

.object-map-container {
    height: 500px;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
}

.map-icon-links {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

@media screen and (min-width: 768px) {
    .linear-green-bg {
        background: linear-gradient(to bottom, var(--rmk-green) 400px, transparent 400px);
    }

    .linear-green-bg-narrow {
        background: linear-gradient(to bottom, var(--rmk-green) calc(var(--filled-top-line-height) - 7rem),
        transparent calc(var(--filled-top-line-height) - 7rem));
    }

    .top-data-line {
        height: calc(var(--filled-top-line-height) - 7rem);
    }

    h1 {
        line-height: 3rem;
        margin: 1rem 0 2.2rem 0;
    }

    .linear-green-bg h1, .linear-green-bg-narrow h1 {
        color: var(--white);
    }

    .error {
        align-items: start;
        justify-content: start;
        padding-top: 0;
        margin-top: 0;
    }
}

@media screen and (min-width: 920px) {
    h1 {
        font-size: 4.5rem;
        font-weight: 500;
        line-height: 5rem;
        display: inline-block;
        border-top: .125rem solid var(--rmk-green);
        border-bottom: .125rem solid var(--rmk-green);
        padding: .5rem 0;
    }

    .linear-green-bg-narrow {
        background: linear-gradient(to bottom, var(--rmk-green) var(--filled-top-line-height),
        transparent var(--filled-top-line-height));
    }

    .top-data-line {
        height: calc(var(--filled-top-line-height) + 3rem);
    }

    .linear-green-bg h1, .linear-green-bg-narrow h1 {
        border-top: 2px solid var(--white);
        border-bottom: 2px solid var(--white);
    }

    h2 {
        font-size: 3rem;
        font-weight: 500;
        line-height: 3.125rem;
    }

    h3 {
        font-size: 2.5rem;
        font-weight: 500;
        line-height: 3.125rem;
    }

    h4 {
        font-size: 2rem;
        font-weight: 500;
        line-height: 2.5rem;
    }

    h5 {
        font-size: 1.5rem !important;
        font-weight: 500;
        line-height: 1.875rem;
    }

    h6 {
        color: var(--rmk-green);
        font-family: var(--font-geogrotesque), sans-serif;
        font-size: 1.25rem;
        font-weight: 500;
        line-height: 1.563rem;
    }
}

@media screen and (min-width: 1440px) {
    .content-width {
        max-width: var(--content-width) !important;
    }
}

hr {
    border: 1px solid var(--rmk-green);
    width: 100%;
    padding: 0;
    margin: 0;
}

/* other global styles */

.flex-between-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

/* margins and paddings */

.mt-0 {
    margin-top: 0;
}

.mt-0_5 {
    margin-top: .5rem;
}

.mt-0_75 {
    margin-top: .75rem;
}

.mb-0_5 {
    margin-bottom: .5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.my-1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mt-1_25 {
    margin-top: 1.25rem;
}

.mb-1_25 {
    margin-bottom: 1.25rem;
}

.mt-1_5 {
    margin-top: 1.5rem;
}


.mb-1_5 {
    margin-bottom: 1.5rem;
}

.mr-1_5 {
    margin-right: 1.5rem;
}

.ml-1_5 {
    margin-left: 1.5rem;
}

.mt-2_5 {
    margin-top: 2.5rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.p-1_25 {
    padding: 1.25rem;
}

.p-3_5 {
    padding: 3.5rem;
}

.pl-1_25 {
    padding-left: 1.25rem;
}

.pl-1_5 {
    padding-left: 1.5rem;
}

.pl-2 {
    padding-left: 2rem;
}

.pr-1_5 {
    padding-right: 1.5rem;
}

.pt-1_5 {
    padding-top: 1.5rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pb-0_5 {
    padding-bottom: .5rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.pb-1_5 {
    padding-bottom: 1.5rem;
}

.pb-3 {
    padding-bottom: 3rem;
}

.pt-3 {
    padding-top: 3rem;
}

.py-1 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-1_5 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-1_25 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-1_25 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.px-3 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.px-3_5 {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

.mx-auto {
    margin: 0 auto;
}

.mx-auto-my-1 {
    margin: 1rem auto;
}

.mx-1_25 {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.wide-x-paddings {
    padding-left: 9rem;
    padding-right: 9rem;
}

/* widths */

.max-width {
    max-width: var(--max-width);
}

/* colors, text */

.color-white {
    color: var(--white);
}

.color-green {
    color: var(--rmk-green);
}

.color-gray-1 {
    color: var(--gray-1);
}

.text-up {
    text-transform: uppercase;
}

.text-left {
    width: 100%;
    text-align: left;
}

.no-decor {
    text-decoration: none;
}

/* Backgrounds */

.white-bg {
    background-color: var(--white) !important;
}

.green-bg {
    background-color: var(--rmk-green) !important;
}

.green-hele-bg {
    background-color: var(--rmk-green-hele) !important;
}

#error ul, #error-events ul {
    margin: 0;
    list-style-type: disc;
    align-self: center;
}

#error ul li, #error-events ul li {
    color: var(--white);
    font-family: inherit;
    font-size: inherit;
}

.error {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.success {
    color: var(--rmk-light-green);
    font-weight: bold;
    padding-bottom: 1.5rem;
}

/* Flexes */

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

/* Blocks */

.full-w-block {
    box-sizing: border-box;
    width: 100%
}

/* Label */

.label-light-green {
    display: inline-block !important;
    padding: .5rem;
    border-radius: .5rem;
    background-color: var(--rmk-light-green);
    color: var(--white);
    line-height: 140%;
    font-size: .75rem;
    font-weight: 400;
}


.filter-title {
    border: none;
    padding-left: 0;
    text-align: left;
    font-size: 1.25rem;
    font-family: var(--font-geogrotesque), sans-serif;
    font-weight: 500;
    width: 100%;
    background: url('../svg/remove-circle.svg') no-repeat right center;
    background-size: 24px 24px;
    cursor: pointer;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--white);
}

/* Caption */

.wp-element-caption {
    font-family: var(--font-new-gothic), sans-serif;
    font-size: .75rem;
    line-height: .85rem;
    margin-top: .2rem;
    text-align: left;
}

/* Green boxes */

.rmk-green-box {
    background-color: var(--rmk-green);
    padding: .9rem 2rem;
    font-family: var(--font-new-gothic), sans-serif;
    font-size: 1rem;
    color: var(--white);
}

.rmk-light-green-box {
    background-color: var(--rmk-green-hele);
    padding: .9rem 2rem;
    font-family: var(--font-new-gothic), sans-serif;
    font-size: 1rem;
    color: var(--gray-1);
    border-bottom: 2px solid var(--rmk-green);
}

/* Messages :TODO refactor messages (error, warning) to use same styles */

.error-message {
    background-color: var(--rmk-red);
    padding-top: 1.125rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: row;
    color: var(--white);
    font-family: var(--font-new-gothic), sans-serif;
    font-size: 1rem;
    font-weight: 400;

    strong {
        background: url('../svg/alert-circle.svg') no-repeat left center;
        background-size: 3rem 3rem;
        padding-left: 3.5rem;
        font-family: var(--font-geogrotesque), sans-serif;
        display: inline-block;
        font-size: 1.25rem;
        font-weight: 500;
        align-content: center;
        padding-top: .45rem;
        padding-bottom: .45rem;
    }
}

.warning-message {
    background-color: var(--rmk-orange);
    padding-top: 1.125rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: row;
    color: var(--white);
    font-family: var(--font-new-gothic), sans-serif;
    font-size: 1rem;
    font-weight: 400;
    display: none;

    strong {
        background: url('../svg/alert-circle.svg') no-repeat left center;
        background-size: 3rem 3rem;
        padding-left: 3.5rem;
        font-family: var(--font-geogrotesque), sans-serif;
        display: inline-block;
        font-size: 1.25rem;
        font-weight: 500;
        align-content: center;
        padding-top: .45rem;
        padding-bottom: .45rem;
    }

    strong > a {
        color: var(--white);
        text-decoration: underline;
        text-underline-offset: 0.2rem;
        text-decoration-thickness: 1px;
    }
}

.success-message {
    background-color: var(--rmk-green-hele);
    padding: 3rem;

    h4 {
        padding-top: 0;
    }
}

.next-article {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

a.read-more {
    cursor: pointer;
    font-family: var(--font-geogrotesque), sans-serif;
    display: inline-block;
    color: var(--rmk-green);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    padding-right: 1.75rem;
    background: url('../svg/arrow-forward.svg') no-repeat right center;
    text-decoration: none;
}

a.read-more-btn {
    padding: .625rem 2.5rem .625rem 1rem;
    color: var(--white);
    font-family: var(--font-geogrotesque), sans-serif;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    background: var(--rmk-green) url(../svg/arrow-forward.svg) no-repeat right .75rem center;
    text-decoration: none;
    cursor: pointer;
}

/**
 *  Search results.
 */

.search-results {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-family: var(--font-geogrotesque), sans-serif;

    #result-objects {
        display: flex;
        flex-direction: column;
        row-gap: 1.5rem;
    }

    .object-block {
        display: flex;
        flex-direction: row;
        column-gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: .125rem solid var(--rmk-green);
    }

    h2 {
        font-size: 2rem;
        font-weight: 500;
        line-height: 120%;
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .obj-image {
        display: none;
    }

    h3 {
        margin: 0;
        padding: 0;
        line-height: 120%;
        font-size: 1rem;
    }

    h3 > a {
        font-family: var(--font-geogrotesque), sans-serif !important;
        text-decoration: none;
        font-weight: 400;
    }

    .obj-content {
        display: flex;
        flex-direction: column;
        row-gap: .25rem;
    }

    .obj-location, .obj-capacity {
        color: var(--rmk-gray);
        font-size: .875rem;
        font-weight: 400;
        line-height: 1rem;
    }

    .obj-location {
        display: flex;
        font-size: 0.875rem;
        color: var(--rmk-gray);
        line-height: 1.5rem;
        padding-left: 1.7rem;
        background: url("../../assets/svg/location.svg") no-repeat left center;
        background-size: 1.5rem 1.5rem;
    }

    .obj-capacity {
        display: flex;
        font-size: 0.875rem;
        color: var(--rmk-gray);
        line-height: 1.5rem;
        padding-left: 1.7rem;
        background: url("../../assets/svg/bed.svg") no-repeat left center;
        background-size: 1.5rem 1.5rem;
    }

    .excerpt-text, .excerpt-text p {
        font-family: var(--font-new-gothic), sans-serif;
        font-size: .813rem;
        color: var(--rmk-green);
        font-weight: 400;
        line-height: 140%;
    }

    .obj-icons {
        display: flex;
        flex-direction: row;
        flex: 1;
        margin-top: .2rem;
        column-gap: .25rem;
        justify-content: end;
    }

    .icon {
        width: 1.875rem;
        height: 1.875rem;
        background-size: 1.875rem 1.875rem;
        align-self: end;
    }
}

.aastaring {
    background: url('../../assets/svg/aastaring.svg') no-repeat left center;
}

.oobimis {
    background: url('../../assets/svg/oobimis.svg') no-repeat left center;
}

.inva {
    background: url('../../assets/svg/inva.svg') no-repeat left center;
}

.lokkekoht {
    background: url('../../assets/svg/lokkekoht.svg') no-repeat left center;
}

.lokkekohtkat {
    background: url('../../assets/svg/lokkekohtkat.svg') no-repeat left center;
}

.prygisort {
    background: url('../../assets/svg/prygisort.svg') no-repeat left center;
}

.talvineh {
    background: url('../../assets/svg/talvineh.svg') no-repeat left center;
}

.matka {
    background: url('../../assets/svg/matka.svg') no-repeat left center;
}

.telk {
    background: url('../../assets/svg/telk.svg') no-repeat left center;
}

.yhist {
    background: url('../../assets/svg/yhist.svg') no-repeat left center;
}

span.visually-hidden {
    display: none;
}

/**
 *  End Of Search results
 */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* Accessibility modal overlay styling */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 107, 78, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

/*  content styling */

.modal-content {
    position: absolute;
    opacity: 1;
    top: 0;
    padding: 0 .6rem 1.5rem .32rem;
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
}

.modal-content {
    nav {
        height: 2.5rem;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .text-block {
        padding: 0 2.125rem 0 1.75rem;
        display: flex;
        flex-direction: column;
        row-gap: .4rem;
    }

    p {
        padding: 0;
        margin: 0;
        font-family: var(--font-new-gothic), sans-serif;
        font-size: .9rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.5rem;
        color: var(--gray-1);
    }

    a {
        color: var(--gray-1);
    }

    section {
        padding: 0 2.125rem 0 1.75rem;
        display: flex;
        flex-direction: column;
        row-gap: .5rem;

        > fieldset:first-of-type {
            display: flex;
            flex-direction: column;
            font-size: 1rem;
            row-gap: .2rem;
        }

        .radio-label::before {
            width: 1.5rem;
            height: 1.5rem;
        }
    }

    h6 {
        padding: 0;
        margin: 0;
        text-transform: uppercase;
        font-size: 1rem;
    }
}

#accessibility-modal .modal-content {
    max-width: 25rem;
}

.accessibility-title {
    align-content: center;
    color: var(--rmk-green);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    background: url('../svg/accessibility-green.svg') no-repeat left center;
    padding-left: 1.75rem;
}

button.close-modal {
    background: url('../svg/close-green.svg') no-repeat right center;
    background-size: 1.5rem 1.5rem;
    width: 1.25rem;
    border: none;
    cursor: pointer;
}

/* Prevent scrolling on the body when modal is open */

body.modal-open {
    overflow: hidden;
}

#global-search-open {
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

#global-search-modal {
    display: flex;
    width: 100% !important;
}

#global-search-modal button.close-modal {
    background: url('../svg/close-white.svg') no-repeat right center;
    background-size: 1.25rem 1.25rem;
}

#global-search-modal .modal-content {
    justify-content: center;
    align-items: center;
    width: 98rem;
}

#global-search-modal fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 59.5rem;

    label {
        align-self: center;
        width: 100%;
    }
}

#search-input, #search-input::placeholder {
    color: var(--white);
    font-family: var(--font-geogrotesque), sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 2.5rem;
    font-style: normal;
}

#search-input {
    border-radius: 0;
    border: none;
    border-bottom: .25rem solid var(--white);
    background: transparent url('../svg/search-white.svg') no-repeat right center;
    background-size: 2.438rem 2.438rem;
    width: 98%;
    box-sizing: border-box;
    padding-left: 0;
}

#global-search-results {
    width: 100%;
    box-sizing: border-box;


    ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
    }

    h5 a {
        color: var(--white);
        font-size: 1.5rem;
        font-family: var(--font-geogrotesque), sans-serif;
        font-weight: 400;
        line-height: 125%;
        text-decoration: none;
    }
    p {
        margin-top: .5rem;
        color: var(--white);
        font-size: 1rem;
        font-family: var(--font-new-gothic), sans-serif;
        font-weight: 300;
        line-height: 150%;
    }

    .highlight {
        text-decoration: underline;
    }
}


/* Tooltip */

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 0;
    /* border: 1px solid red; */
}

.tooltip-text {
    position: absolute;
    background: var(--rmk-green-hele);
    color: var(--rmk-green);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    max-width: 220px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.tooltip-container.active .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.tooltip-top {
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
  }
  .tooltip-container.active .tooltip-top {
    transform: translateX(-50%) scale(1);
  }
  
  .tooltip-bottom {
    top: 110%;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
  }
  .tooltip-container.active .tooltip-bottom {
    transform: translateX(-50%) scale(1);
  }
  
  .tooltip-left {
    top: 50%;
    right: 110%;
    transform: translateY(-50%) scale(0.95);
  }
  .tooltip-container.active .tooltip-left {
    transform: translateY(-50%) scale(1);
  }
  
  .tooltip-right {
    top: 50%;
    left: 110%;
    transform: translateY(-50%) scale(0.95);
  }
  .tooltip-container.active .tooltip-right {
    transform: translateY(-50%) scale(1);
  }


/* End of MobileTooltip */

.obj-attrs {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin-top: .2rem;
    column-gap: .25rem;

    .obj-short-attrs {
        display: none;
    }

    .obj-attrs-icons {
        flex: 1;
        display: flex;
        flex-direction: row;
        justify-content: start;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .obj-attrs-icons img.icon-size-lg {
        width: 3rem;
        height: 3rem;
    }

    .obj-attrs-icons img.icon-size-md {
        width: 1.875rem;
        height: 1.875rem;
    }

    .obj-attrs-icons figure {
        display: flex;
        align-items: flex-end;
    }

}

.staging-info-bar {
    position: fixed; 
    bottom:0; 
    left:0; 
    width: 100%; 
    height: 20px; 
    background-color: var(--rmk-orange); 
    z-index: 1000; 
    color: white; 
    text-align: center; 
    line-height: 20px; 
    overflow: hidden;
}

/**
 * Media queries
 */

@media screen and (max-width: 767px) {
    .inner-object-icons-container .icon-size-lg {
        width: 1.875rem !important;
        height: 1.875rem !important;
    }
} 

@media screen and (min-width: 768px) {

    .search-results {
        padding-left: 0;
        padding-right: 0;

        #result-objects {
            flex-direction: row;
            flex-wrap: wrap;
            column-gap: 1.25rem;
            justify-content: space-between;
        }

        .object-block {
            display: flex;
            flex-direction: column;
            row-gap: 1rem;
            flex: 1 0 48%;
            max-width: 48%;
        }

        h2 {
            font-size: 2.5rem;
            text-transform: uppercase;
        }

        .obj-image {
            display: block;
            width: 100%;
            height: 180px;
        }

        h3 {
            font-size: 2rem;
        }

        .obj-content {
            display: flex;
            flex-direction: column;
            row-gap: .5rem;
            flex: 1;
        }

        .obj-location, .obj-capacity {
            font-size: 1.25rem;
            line-height: 140%;
        }

        .obj-location {
            padding-left: 2rem;
        }

        .obj-capacity {
            padding-left: 2rem;
        }

        .excerpt-text, .excerpt-text p {
            font-size: 1rem;
            color: var(--rmk-gray);
            font-weight: 400;
            line-height: 150%;
        }

        .obj-icons {
            justify-content: start;
            /*align-content: end;*/
            flex: 1;
            margin-top: auto;
        }
    }

    .obj-attrs {
        .obj-short-attrs {
            display: block;
            flex: 1;
        }
        .obj-attrs-icons {
            display: flex;
            justify-content: start;
            flex: 1;
        }
    }
}

@media screen and (max-width: 980px) {
    #global-search-modal .modal-content {
        width: 97%;
    }

    #global-search-modal fieldset {
        width: 97%;
    }
}

@media screen and (min-width: 1000px) {
    .search-results {
        #result-objects {
            justify-content: start;
        }

        .object-block {
            flex: 1 0 31%;
            max-width: 31%;
        }

        .obj-image {
            width: 100%;
            height: 260px;
        }
    }
}

@media screen and (min-width: 1070px) {
    .search-results {
        .object-block {
            flex: 1 0 32%;
            max-width: 32%;
        }
    }
}

