.idr-bm-page {
    color: #404648;
   
}

.bm-page-content {
    max-width: 1204px;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 8rem;
}

.idr-bm-page p {
    font-size: 18px;
    line-height: 26px;
}

.bm-page-content a {
    color: var(--eurac-red) !important;
}

h1 {
    margin: 4rem 0;
}

.bm-pagetitle:has(+ h1.title-red) {
    display: none;
    margin: 0;
}

.bm-page-content > img {
    margin: 5rem auto 2rem;
    display: flex;
    max-width: 90vw;
    height: auto;
    /* width: min(90vw, 100%);
    height: auto; */
}

.bm-page-content > ul {
    line-height: 26px;
    font-size: 17px;
}

.bm-page-content > h2 ~ ul li {
   margin-bottom: 2rem;
}

.ul-bold-red b{
    color: var(--eurac-red);
}

.ul-bold-red li::marker {
    color: var(--eurac-red);
}

h3:has(+ .link-cards) {
    font-weight: 700;
    font-size: 27px;
    line-height: 44px;
}

.bm-page-content .w-is-idr-detail-block{
    color: #8C9091;
}

.bm-page-content .w-is-idr-detail-block .h3-w-line::before{
    background-color: #8C9091;
}

.bm-page-content .w-is-idr-detail-block:first-of-type .h3-w-line::before{
    background-color: transparent;
}

.active-page {
    opacity: 0.4;
}

.bm-card-wrapper {
    background-color: #EDEEEE;
    border-radius: 20px;
    padding: 0 100px 100px; 
    margin-top: 100px;
}

.bm-card-wrapper > img {
    position: relative;
    top: -30px;
    display: flex;
    width: 100%;
}

.bm-card-wrapper > h2 {
    margin-top: 3rem;
    color: var(--eurac-red);
    font-weight: 700;
    font-size: 27px;
    line-height: 44px;
}

.bm-card-wrapper > h2::before {
    background-color: var(--eurac-red);
}

.bm-card-wrapper ul {
    line-height: 26px;
    font-size: 17px;
}

.bm-card-wrapper ul li {
   margin-bottom: 2rem;
}

.card-img-list {
    margin: 3rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}


.card-img-list li {
    width: calc(50% - 1rem);
}

.card-img-list img {
    width: 100%;
    height: auto;
}

.table-container {
  max-width: calc(90vw - 2rem);
  overflow-x: auto;
}

.bm-card-wrapper table {
    margin: 0 auto;
    border-radius: 20px;
    background-color: #fff;
    border-collapse: collapse;
    min-width: 600px
}

.bm-card-wrapper thead {
    background-color: var(--eurac-red);
}

th, td {
  padding: 14px 16px;
  text-align: center;   
}

.bm-card-wrapper thead th {
    padding: 1rem 4px 0.7rem;
    color: #fff;
}

.bm-card-wrapper thead th:first-child {
  border-top-left-radius: 10px;
}

.bm-card-wrapper thead th:last-child {
  border-top-right-radius: 10px;
}

.bm-card-wrapper tbody tr td:first-child {
    font-weight: bold;
}



@media (max-width: 767px) {
    .bm-card-wrapper {
        padding: 0 2rem 2rem; 
    }

    .active-page {
        display: none;
    }

    .card-img-list li {
        width: 100%
    }
}

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

    .bm-card-wrapper {
        padding: 0 50px 50px; 
    }
    
    .active-page {
        display: none;
    }
}