.kc-b53bddf5-wrapper {
    font-family: inherit;
    color: #fff;
    /* Assume widget is placed in a section with a dark background to match the design */
}

.kc-b53bddf5-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.kc-b53bddf5-title-wrap {
    max-width: 650px;
}

.kc-b53bddf5-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #79978b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.kc-b53bddf5-subtitle::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #79978b;
}

.kc-b53bddf5-title {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    margin: 0;
    color: #fff;
    font-family: serif; /* Fallback for the elegant serif used in the design */
}

.kc-b53bddf5-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.kc-b53bddf5-btn:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.kc-b53bddf5-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.kc-b53bddf5-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: #fff;
    background-color: #1a201e;
}

.kc-b53bddf5-card:hover {
    color: #fff;
}

.kc-b53bddf5-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kc-b53bddf5-card:hover .kc-b53bddf5-card-bg {
    transform: scale(1.1);
}

.kc-b53bddf5-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(20,25,23,0.9) 100%);
    transition: background 0.3s ease;
}

.kc-b53bddf5-card:hover .kc-b53bddf5-card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(20,25,23,0.95) 100%);
}

.kc-b53bddf5-card-content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
}

.kc-b53bddf5-card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.kc-b53bddf5-card-title {
    font-size: 32px;
    margin: 0 0 15px;
    line-height: 1.2;
    color: #fff;
    font-family: serif;
}

.kc-b53bddf5-card-desc {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .kc-b53bddf5-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
