/* ============================
   BASE GRID
============================ */

.bento-grid {
    padding-top: 16px;
}

.bento-grid__container {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.bento-grid__main {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: dense;
    gap: 16px;
    width: 100%;
}


/* ============================
   ITEM BASE & ELEMENTS
============================ */
.bento-grid__item {
    background-color: #f5f7f5;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.bento-grid__item-title {
    font-size: 24px;
    line-height: 36px;
    font-family: "Playfair Display", serif;
    color: #1F221F;
    font-weight: 400;
}


/* ============================
   SPAN HELPER
============================ */

.span-col-1 { grid-column: span 1; }
.span-col-2 { grid-column: span 2; }
.span-col-3 { grid-column: span 3; }
.span-col-4 { grid-column: span 4; }
.span-col-5 { grid-column: span 5; }
.span-col-6 { grid-column: span 6; }
.span-col-7 { grid-column: span 7; }
.span-col-8 { grid-column: span 8; }
.span-col-9 { grid-column: span 9; }
.span-col-10 { grid-column: span 10; }
.span-col-11 { grid-column: span 11; }
.span-col-12 { grid-column: span 12; }

.span-row-1 { grid-row: span 1; }
.span-row-2 { grid-row: span 2; }
.span-row-3 { grid-row: span 3; }
.span-row-4 { grid-row: span 4; }


/* ============================
   PILL LIST
============================ */

.bento-grid__item--pill-list .bento-grid__pill-list {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.bento-grid__pill-list-item {
    background-color: #fff;
    border-radius: 64px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .4px;
    line-height: 18px;
    border: 1px solid #C3CDC2;
    transition: background-color .3s;
}
.bento-grid__pill-list-item:hover {
    background-color: #C3CDC2;
}


/* ============================
   KEY FACTS
============================ */

.bento-grid__item--key-facts {
    color: #1F221F;
}

.bento-grid__item--key-facts .bento-grid__key-facts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #2F332E;
}

.bento-grid__key-facts-list-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    font-size: 14px;
}

.bento-grid__item--key-facts .bento-grid__key-facts-list-item:not(:last-child) {
    border-bottom: 1px solid #E1E6E1;
}

.bento-grid__key-facts-list-item-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.bento-grid__key-facts-list-item-subtitle {
    font-size: 24px;
    line-height: 36px;
    font-weight: 300;
}


/* ============================
   CTA
============================ */

.bento-grid__item--cta p {
    font-size: 24px;
    line-height: 36px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 300;
    color: #2F332E;
}
.bento-grid__item--cta::after {
    content: '';
    position: absolute;
    bottom: 32px;
    right: 32px;
    height: 32px;
    width: 32px;
    border-radius: 32px;
    background: #2F332E url('data:image/svg+xml,<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="arrow-right-solid"><path id="Vector" d="M14.5391 5.08594L13.4609 6.16406L18.5469 11.25H3.5V12.75H18.5469L13.4609 17.8359L14.5391 18.9141L20.9141 12.5391L21.4297 12L20.9141 11.4609L14.5391 5.08594Z" fill="white"/></g></svg>') no-repeat center center / contain;
    background-size: 24px 24px;
    transition: background-color .3s;
}
.bento-grid__item--cta:hover::after {
    background-color: #7C897B;
}


/* ============================
   POST LIST
============================ */

.bento-grid__item--post-list .bento-grid__post-list-wrapper {
    max-height: 400px;
    overflow-y: auto;
}
.bento-grid__item--post-list .bento-grid__post-list-article:not(:last-child) {
    border-bottom: 1px solid #E1E6E1;
}

.bento-grid__post-list-link {
    padding: 12px 0;
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.bento-grid__post-list-link:hover .bento-grid__post-list-title {
    color: #7C897B;
}

.bento-grid__post-list-link:hover .bento-grid__post-list-icon {
    background-color: #7C897B;
}

.bento-grid__post-list-icon {
    width: 28px;
    height: 28px;
    padding: 4px;
    background-color: #2F332E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
}

.bento-grid__post-list-arrow {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='arrow-right-solid'%3E%3Cpath id='Vector' d='M11.6992 4.23828L10.8008 5.13672L15.0391 9.375H2.5V10.625H15.0391L10.8008 14.8633L11.6992 15.7617L17.0117 10.4492L17.4414 10L17.0117 9.55078L11.6992 4.23828Z' fill='white'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bento-grid__post-list-title {
    font-size: 20px;
    line-height: 32px;
    color: #1F221F;
    font-family: "Playfair Display", serif;
    transition: color .3s;
}

.bento-grid__post-list-subtitle {
    font-size: 16px;
    line-height: 24px;
    color: #2F332E;
}


/* ============================
   LIST CARD
============================ */

.bento-grid__list-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bento-grid__list-card-list-item {
    margin-bottom: 6px;
    position: relative;
    padding-left: 24px;
    color: #2F332E;
    font-size: 24px;
    line-height: 36px;
}

.bento-grid__list-card-list-item a {
    text-decoration: underline;
}

.bento-grid__list-card-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    width: 12px;
    height: 12px;
    background: #9BAB9A;
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
}


/* ============================
   ARROW LIST CARD
============================ */

.bento-grid__arrow-list-card-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bento-grid__arrow-list-card-item {
}
.bento-grid__arrow-list-card-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    flex-direction: row;
}
.bento-grid__arrow-list-card-item a::after {
    content: '';
    position: relative;
    display: block;
    right: 0;
    top: 50%;
    height: 24px;
    width: 24px;
    min-width: 24px;
    border-radius: 32px;
    background: #2F332E url('data:image/svg+xml,<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="arrow-right-solid"><path id="Vector" d="M14.5391 5.08594L13.4609 6.16406L18.5469 11.25H3.5V12.75H18.5469L13.4609 17.8359L14.5391 18.9141L20.9141 12.5391L21.4297 12L20.9141 11.4609L14.5391 5.08594Z" fill="white"/></g></svg>') no-repeat center center / contain;
    color: #2F332E;
    background-size: 16px 16px;
    transition: background-color .3s, transform .3s;
}
.bento-grid__arrow-list-card-item a:hover::after {
    transform: translateX(4px);
    background-color: #7C897B;
}
.bento-grid__arrow-list-card-item:not(:last-child) {
    margin-bottom: 8px;
    border-bottom: 1px solid #E1E6E1;
    padding-bottom: 8px;
}


/* ============================
   MAP
============================ */
.bentogrid_item-map {
    position: relative;
}
.bentogrid_item-map .map_wrapper {
    height: 100%;
}
.bentogrid_item-map .map_title {
     position: absolute;
     top: 32px;
     left: 32px;
     font-size: 24px;
     line-height: 36px;
     font-family: "Playfair Display", serif;
     color: #1F221F;
     font-weight: 400;
}


/* ============================
   RESPONSIVE
============================ */
@media screen and (max-width: 1600px) {
    .span-col-1,
    .span-col-2,
    .span-col-3,
    .span-col-4,
    .span-col-5 {
        grid-column: span 3;
    }
    .span-col-6,
    .span-col-7,
    .span-col-8 {
        grid-column: span 6;
    }
    .span-col-9,
    .span-col-10,
    .span-col-11,
    .span-col-12 {
        grid-column: span 9;
    }

    .bento-grid__main {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1100px) {
    .span-col-1,
    .span-col-2,
    .span-col-3,
    .span-col-4,
    .span-col-5,
    .span-col-6,
    .span-col-7,
    .span-col-8 {
        grid-column: span 3;
    }
    .span-col-9,
    .span-col-10,
    .span-col-11,
    .span-col-12 {
        grid-column: span 6;
    }

    .bento-grid__main {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .span-col-1,
    .span-col-2,
    .span-col-3,
    .span-col-4,
    .span-col-5,
    .span-col-6,
    .span-col-7,
    .span-col-8,
    .span-col-9,
    .span-col-10,
    .span-col-11,
    .span-col-12 {
        grid-column: span 6;
    }
    .bentogrid_item-map .map_wrapper {
        flex-direction: column;
    }
}