
cc-imagebox {
    display: inline-block;
}
cc-imagebox:not(._list) {
    background-color: white;
    margin-bottom: 2.5%;
    width: 32%;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: -2px 5px 8px -4px rgba(0, 0, 0, .16);
}
cc-imagebox:nth-child(3n):not(._list) {
    margin-left: 2%;
}
cc-imagebox:nth-child(1):not(._list),
cc-imagebox:nth-child(3n + 1):not(._list) {
    margin-right: 2%;
}
@media screen and (max-width: 850px) {
    cc-imagebox {
        width: 49%;
    }
    cc-imagebox:nth-child(odd):not(._list) {
        margin-right: 2%;
    }
}
cc-imagebox:not(._list) img {
    width: 410px;
    height: 219px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 2rem;
}
cc-imagebox:not(._list) nav {
    display: none;
}
cc-imagebox:not(._list) header {
    font-size: 1.4rem;
    text-transform: uppercase;
    line-height: 1.5;
    color: #9c8f89;
    position: relative;
    padding: 0 20px 20px;
}
cc-imagebox:not(._list) main {
    line-height: 1.5;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
}
cc-imagebox:not(._list) main {
    margin: 0 2rem 1.5rem 2rem;
}
cc-imagebox:not(._list) footer {
    font-size: 1.2rem;
    margin-top: 2rem;
    font-weight: 800;
    margin: 0 2rem 2rem 2rem;
}
cc-imagebox:not(._list) main:hover,
cc-imagebox:not(._list) footer:hover{
    cursor: pointer;
    color: #f27600;
    transition: 0.3s;
}
cc-imagebox._list {
    display: inline-block;
    width: calc( 50% - 9px);
    margin-left: 9px;
    margin-bottom: 8px;
    cursor: pointer;
    position: relative;
    vertical-align: top;
    background: #f3f3f4;
    margin-left: 9px;
    height: 100px;
}
cc-imagebox._list img {
    max-width: 100px;
    height: 100px;
    display: inline-block;
    vertical-align: top;
    object-fit: cover;
    width: 100%;
}
cc-imagebox._list nav {
    display: none;
    width: auto;
    height: 28px;
    border: 1px solid rgba(183, 173, 197, 0.4);
    position: absolute;
    background: white;
    top: 5px;
    right: 5px;
}
cc-imagebox._list header {
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    max-height: 45px;
    display: inline;
    left: 15px;
    top: 5px;
    position: relative;
}
cc-imagebox._list main {
    bottom: 10px;
}
cc-imagbox._list main,
cc-imagebox._list footer {
    font-size: 13px;
    position: absolute;
    font-style: italic;
    display: inline-block;
    left: 120px;
}
cc-imagebox._list footer {
    right: 10px;
    top: 50%;
    text-align: right;
    transform: translate(0%, -50%);
}