[class*=full-width] #content {
    display: block !important;
}

.directory-items {
    display: grid;
    gap: 20px;
}

.directory-item {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}

.directory-item h2 {
    margin-top: 0;
}

.directory-item-meta {
    margin-top: 10px;
}


h3 span {
    margin-right: 8px;
}

/* Details & Summary Styling */
.regions {
    margin-bottom: 20px;
}

.regions[open]>summary,
details[open]>summary {
    color: var(--mv-trellis-color-link-hover, #767676);
    font-weight: bold;
}

.regions[open],
details[open] {
    grid-column: span 5 / span 5;
}

div.regions details {
    grid-column: span 5 / span 5;
}

.regions.container {
    border-bottom: 1px solid #e7e5e4;
    border-top: 1px solid #e7e5e4;
    padding-bottom: 1.75rem;
    padding-top: 1.75rem;
}

.leading-loose {
    line-height: 2;
}

summary {
    cursor: pointer;
    color: var(--mv-trellis-color-link, #000);
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary:hover {
    color: var(--mv-trellis-color-link-hover, #767676)
}

summary::after {
    margin-left: auto;
    transition: transform 0.3s ease-in-out;
    content: "▼";
}

details[open] summary::after {
    transform: rotate(180deg);
}

.regions ul,
.regions li {
    margin: 0;
}

/* Grid Styles */
.regions ul {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
    padding-top: 1.75rem;
}

/* Links */
.regions a {
    text-decoration: none;
    color: var(--mv-trellis-color-link, #000);
    transition: color 0.3s;
}

details details a {
    font-weight: 300;
}

.regions a:hover {
    color: var(--mv-trellis-color-link-hover, #767676)
}


/* Border Styling */
.border {
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Text Colors */
.text-navy {
    color: #1a3d5b;
}

.text-blue {
    color: #1a73e8;
}

.text-black {
    color: #000;
}

/* Font Weight */
.font-light {
    font-weight: 300;
}

/* Styling for the search box */
.search-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.invisible {
    display: none;
}

.search-input {
    position: relative;
    width: 250px;
    display: flex;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    margin: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
}

input.search-box__input {

    padding: 0;
    margin: 0;
    border: 0;

}

.search-box__button {
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
}

.search-box__button:hover {
    background-color: #555;
}

.search-suggestions {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    z-index: 1000;
    display: none;
    border-radius: 0 0 3px 3px;
    width: 100%;
    width: 100%;
    right: 0;
    top: 40px;
}

.search-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow: auto;
}

.search-suggestions ul::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

.search-suggestions ul::-webkit-scrollbar-track {
    background: #eee;
}

.search-suggestions ul::-webkit-scrollbar {
    width: 7px;
}

.search-suggestions ul::-webkit-scrollbar-thumb:hover {
    background: #999595;
}

.search-suggestions li {
    padding: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

.search-suggestions li:hover {
    background-color: #f0f0f0;
}

.actions-block {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-size: 1em;
    flex-wrap: wrap;
}

.address-block {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.address-block svg {
    width: 24px;
    height: 24px;
    fill: #555;
}

.address-block span {
    color: #333;
}

.rating .stars {
    display: flex;
    gap: 2px;
}

.rating .stars i {
    color: #f0c419;
    font-style: normal;
}

.rating .stars i.empty {
    color: #ddd;
}

.rating .reviews {
    color: #555;
}

.icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.icon-block:hover {
    opacity: .8;
}

.icon-block svg {
    width: 24px;
    height: 24px;
    fill: #777;
}

.wp-block-gallery {
    padding: 2px;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.wp-block-gallery .wp-block-image {
    position: relative;
    flex-grow: 1;
    overflow: hidden;

}

.wp-block-gallery .wp-block-image.square img {
    aspect-ratio: 1 / 1;
}

.wp-block-image img {
    border: 1px solid #eee;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
}

.wp-block-gallery .wp-block-image.portrait img {
    aspect-ratio: 3 / 4;
}

.wp-block-gallery .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wp-block-gallery .wp-block-image img:hover {
    transform: scale(1.05);
}

.featured-hero-btn.btn.btn--featured {
    margin: 15px auto;
    display: block;
}

.widget_directory_map_widget iframe,
.widget_directory_widgets iframe {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    border-radius: 5px;
}

.trellis-comment-form-box-inputGroup select {
    margin: 0;
}

.trellis-comment-content .wp-block-image {
    flex-grow: unset !important;
}

.trellis-comment-content .wp-block-gallery {
    margin: 0;
}

/* Base Grid Styling */
.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Medium Screens (768px and up) */
@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Screens (1024px and up) */
@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra-Large Screens (1280px and up) */
@media (min-width: 1280px) {
    .xl\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}