.ec-layoutRole__contents .bcob-list {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}

.bcob-list *,
.bcob-list *::before,
.bcob-list *::after {
    box-sizing: border-box;
}

.bcob-list .bcob-list__heading {
    margin-bottom: 32px;
    text-align: left;
}


.ec-layoutRole__contents .bcob-list .bcob-list__title {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
}

.bcob-list .bcob-list__archive {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f7f7f7;
}

.bcob-list .bcob-list__archive p {
    margin: 0;
    line-height: 1.7;
}

.bcob-list .bcob-list__archive a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #777;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
}

.bcob-list .bcob-list__archive a:hover {
    background: #eee;
}

.bcob-list .bcob-list__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bcob-list a.bcob-list__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bcob-list a.bcob-list__card:hover {
    border-color: #999;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.bcob-list a:focus-visible {
    outline: 2px solid #333;
    outline-offset: 3px;
}

.bcob-list .bcob-list__image {
    height: 200px;
    margin-bottom: 20px;
}

.bcob-list .bcob-list__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

.bcob-list .bcob-list__date {
    display: block;
    margin: 0 0 12px;
    color: #666;
    font-size: 12px;
    line-height: 1.6;
}

.bcob-list .bcob-list__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.bcob-list .bcob-list__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px 0;
    text-align: center;
}

.bcob-list .bcob-list__section {
    margin-bottom: 40px;
    padding: 24px;
    background: #f5f5f5;
    scroll-margin-top: 180px;
}

.ec-layoutRole__contents .bcob-list .bcob-list__group-title {
    margin: 0 0 24px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 4px solid #b38a50;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 575px) {
    .bcob-list .bcob-list__section {
        padding: 16px;
    }

    .ec-layoutRole__contents .bcob-list .bcob-list__group-title {
        font-size: 19px;
    }
}

@media (max-width: 991px) {
    .bcob-list .bcob-list__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .ec-layoutRole__contents .bcob-list {
        padding: 24px 16px 40px;
    }

    .bcob-list .bcob-list__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bcob-list .bcob-list__archive a {
        width: 100%;
        text-align: center;
    }
}

.bcob-list .bcob-list__layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.bcob-list .bcob-list__sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.bcob-list .bcob-list__sidebar a.bcob-list__filter {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bcob-list .bcob-list__sidebar a.bcob-list__filter:hover {
    background: #f5f5f5;
    border-color: #999;
}

.bcob-list .bcob-list__sidebar a.bcob-list__filter.is-active {
    border-color: #b38a50;
    background: #f7f2e9;
    font-weight: 700;
}

.bcob-list .bcob-list__count {
    flex-shrink: 0;
    color: #666;
    font-size: 12px;
}

.bcob-list .bcob-list__results {
    min-width: 0;
}

/* Two cards fit comfortably beside the sidebar at the current page width. */
.bcob-list .bcob-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .bcob-list .bcob-list__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .bcob-list .bcob-list__sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .bcob-list .bcob-list__sidebar,
    .bcob-list .bcob-list__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.bcob-list .bcob-list__search {
    margin: 0 0 28px;
}

.bcob-list .bcob-list__search label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.bcob-list .bcob-list__search-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.bcob-list .bcob-list__search input[type="search"] {
    flex: 1 1 240px;
    min-width: 0;
    max-width: 480px;
    height: auto;
    padding: 12px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font: inherit;
    line-height: 1.5;
}

.bcob-list .bcob-list__search button {
    padding: 12px 24px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #333;
    color: #fff;
    font: inherit;
    line-height: 1.5;
    cursor: pointer;
}

.bcob-list .bcob-list__search button:hover {
    background: #555;
}

.bcob-list .bcob-list__search input:focus,
.bcob-list .bcob-list__search button:focus {
    outline: 2px solid #b38a50;
    outline-offset: 3px;
}

.bcob-list .bcob-list__search-controls a {
    color: #333;
    text-decoration: underline;
}

.bcob-list .bcob-list__search-summary {
    margin: 0 0 20px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 575px) {
    .bcob-list .bcob-list__search input[type="search"] {
        flex-basis: 100%;
        max-width: none;
    }
}

@media (min-width: 992px) {
    .bcob-list .bcob-list__search input[type="search"] {
        flex: 0 0 230px;
        width: 230px;
        max-width: 230px;
    }
}