.unit_container {
    max-width: 1000px;
    background-color: #fff;
    margin: 0 auto;
    padding: 10px;
}
.unit_title {
    position: relative;
    color:#4c9ac0;
    text-align: center;
    padding: 10px;
}
.unit_title::before,
.unit_title::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 6px;
    border-color: #4c9ac0;
    border-style: solid;
}
.unit_title::before {
    top: 0;
    border-width:2px 0 1px 0;
}
.unit_title::after {
    bottom: 0;
    border-width:1px 0 2px 0;
}
.unit_sub_title {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 10px 0;
    padding: 5px 0;
}
.unit_sub_title:before {
    position: absolute;
    content: '';
    top: 100%;
    width: 7%;
    height: 5px;
    border-radius: 4px;
    background-color: #4c9ac0;
}
.unit_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.unit_card {
    margin: 10px;
    border-radius: 4px;
}
.unit_card:hover {
    transform: translateY(-3px);
}
.unit_data {
    display: block;
    text-decoration:none;
    color:inherit;
    width: 32%;
}
.unit_name {
    color: #fff;
    padding: 0.5em 10px;
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}
.unit_card_text {
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    justify-content: flex-end;
    padding: 100px 10px;
    position: relative;
}
.unit_card_text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}
.unit_card_text > * {
    position: relative;
    z-index: 1;
}
.unit_icon_wrap {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    z-index: 5;
}
.unit_diamond_frame {
    position: absolute;
    width: 50px;
    height: 50px;
    transform: rotate(45deg);
    z-index: 1;
    top: 0;
    left: 0;
    border: #fff 3px solid;
    border-radius: 4px;
}
.unit_icon {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
}