.cas-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* ستون چپ */
.cas-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cas-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 2px solid #EEEEEE;
    border-radius: 12px;
    color: #000000;
    text-decoration: none;
    transition: 0.3s;
}

.cas-item img.cas-arrow-icon {
    width: 40px;
}

/* وسط */
.cas-main {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

.cas-main img {
    width: 100%;
    height: revert-layer !important;
    object-fit: cover;
}

.cas-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, #5c617e);
    color: #fff;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-end;
}

h4.cas-center-title {
    font-size: 24px;
    color: white;
    font-weight: 800;
    margin-bottom: 4px !important;
}

.cas-overlay-top {
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to bottom, transparent, #6d76a9);
    color: #fff;
}

.cas-overlay-top::before {
    content: '';
    position: absolute;
    top: -180%;
    left: 0;
    width: 100%;
    height: 280%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 48%), rgb(0 0 0));
    backdrop-filter: blur(30px);
    mask-image: linear-gradient(to bottom, #00000000, black);
    -webkit-mask-image: linear-gradient(to bottom, #00000017, black);
}

.cas-time-center {
    font-size: 14px;
    color: white;
}


/* ستون راست */
.cas-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}

.cas-card {
    display: flex;
    gap: 10px;
    background: none;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 2px solid #EEEEEE;
}

.cas-card img {
    width: 80px;
    object-fit: cover;
}

a.cas-card {
    padding: 12px;
}

.cas-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h4.cas-title {
    font-size: 16px;
    margin: 16px 0px !important;
}

.cas-card img.attachment-medium.size-medium.wp-post-image {
    width: 100px;
    height: 108px;
    border-radius: 8px;
    margin: auto 0px auto 8px;
}

.cas-badge {
    font-size: 12px;
    background-color: #d7d7f6e0;
    color: #4338CA;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    width: fit-content;
}

.cas-time {
    font-size: 12px;
    color: #777;
}

span.cas-time-container {
    display: flex;
    gap: 4px;
}


@media only screen and (max-width: 768px) {
  .cas-container {
    grid-template-columns: 1fr !important;
  }
}