/* --- Individual Card Styling --- */

.title-section-container {
    position: relative;
    padding-bottom: 0 !important;
}

/* الشريط المتدرج */
.gradient-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left,
            #072C49,
            #9DDAE5,
            #007497,
            #ECE6DD,
            #DEA470,
            #E9937D);
}

.media-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    min-height: 150px;
    display: flex;
    /* Use flexbox for content alignment */
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    /* Align content to the right (RTL layout) */
    position: relative;
    font-family: Arial, sans-serif;
    /* Adjust font as needed */
    text-align: right;
    /* Ensure text is aligned right for Arabic */
    gap: 20px;
}

/* --- Icon Styling (Top Right) --- */
.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: calc(24px + 2 * 8px);
    height: calc(24px + 2 * 8px);
    background-color: #072c491f;
    border-radius: 8px;
    /* Placeholder for the icon graphic itself */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optional: Add a simple checkmark/calendar icon for the example */
}

/* Placeholder icons - In a real project, you'd use SVGs or an icon font */
.list-icon::before {
    content: '☰';
    font-size: 24px;
    color: #072c49
}


/* --- Text Label Styling --- */
.card-text {
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'SFProAR';
    color: #000;
    margin-top: auto;
    /* Pushes the text to the bottom */
    margin-bottom: 5px;
    /* Small space above the arrow button */
    /* Adjust text position slightly to account for RTL arrow */
    /* margin-right: 50px; */
    width: 100%;
    /* Ensure text takes full width */
}

/* --- Arrow Button Styling (Bottom Left) --- */
.card-arrow {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 40px;
    background-color: #f8f8f8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Arrow symbol (Unicode Left Arrow) */
    content: '';
    font-size: 1.2rem;
    color: #000;
    transition: background-color 0.2s;
}

.card-arrow::before {
    content: '←';
    /* Unicode Left Arrow */
}

.card-arrow:hover {
    background-color: #e8e8e8;
}