.cc-ddd92635-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}
.cc-ddd92635-card {
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.cc-ddd92635-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.cc-ddd92635-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    background: inherit; /* Matches card background when expanding */
    z-index: 1;
    transition: all 0.3s ease;
}
.cc-ddd92635-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    direction: rtl; 
}
.cc-ddd92635-titles {
    text-align: right;
}
.cc-ddd92635-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}
.cc-ddd92635-title {
    margin: 5px 0 0 0;
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.8;
}
.cc-ddd92635-linkedin {
    color: #0077b5;
    display: inline-flex;
    transition: color 0.2s ease;
}
.cc-ddd92635-text {
    text-align: right;
    direction: rtl;
    flex-grow: 1;
}
.cc-ddd92635-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}
.cc-ddd92635-full {
    margin-bottom: 15px;
}
.cc-ddd92635-toggle {
    background: transparent;
    border: none;
    color: #c48b59;
    padding: 0;
    font-weight: bold;
    cursor: pointer;
    text-align: right;
    align-self: flex-start;
    transition: all 0.2s ease;
}

/* Expanded State - Overlay whole card */
.is-expanded .cc-ddd92635-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background-color: inherit; /* Takes the bg color from the card */
    z-index: 10;
    overflow-y: auto;
}
.is-expanded .cc-ddd92635-excerpt {
    display: none;
}
.is-expanded .cc-ddd92635-full {
    display: block !important;
}

@media (max-width: 768px) {
    .cc-ddd92635-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .cc-ddd92635-grid { grid-template-columns: 1fr !important; }
}