
/* All Programs */
.all_ciu-programs-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.all_ciu-program-list {
    display: grid;
    grid-template-columns: 1fr; /* mobile */
    gap: 20px;
}

.all_ciu-department-title {
    scroll-margin-top: 165px;
}

@media (max-width: 767px) {

    scroll-margin-top: 200px;
}

/* Tablet → 2 per row */
@media (min-width: 768px) {
    .all_ciu-program-list {
        grid-template-columns: repeat(2, 1fr);
    }

    
}

/* Desktop → 3 per row */
@media (min-width: 1024px) {
    .all_ciu-program-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
.all_ciu-program-item {
    background: #f3f4f6;
    padding: 18px;
    border-radius: 10px;
    transition: 0.2s ease;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 150px;
    height: 100%;
    wdith:100%
}

.all_ciu-program-buttons {
    margin-top: auto;   /* pushes buttons to bottom */
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.all_ciu-program-btn {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: 0.2s ease;
}

/* Details button */
.all_ciu-program-btn.details-btn {
    background: #f05423;
    color: #fff;
}

.all_ciu-program-btn.details-btn:hover {
    background: #FF4C43;
    color: #fff;
}


/* Curriculum button */
.all_ciu-program-btn.curriculum-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #111;
}

.all_ciu-program-btn.curriculum-btn:hover {
    background: #e5e7eb;
}

.all_ciu-program-item:hover {
    background: #e5e7eb;
}

.all_ciu-program-item a {
    text-decoration: none;
    color: #111827;
    display: block;
    margin-top: 8px;
}

.all_ciu-level-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: #ede9ff;
    color: #862337;
    margin-top: 0;
    margin-bottom: 8px;
    width: fit-content
}

.all_ciu-program-duration {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 6px;
}
.all_ciu-program-item strong {
    display: block;
    margin-bottom: 10px;
}

.all_ciu-program-name {
    display: block;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.5;

    /* keep titles from stretching cards */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* programs filter */
.all_ciu-program-filters{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:24px;
}

.all_ciu-program-filters .filter-btn{
    display:inline-block;
    padding:10px 18px;
    border:1px solid #ddd;
    border-radius:15px;
    text-decoration:none;
    transition:0.2s ease;
}

.all_ciu-program-filters .filter-btn:hover{
    background:#f5f5f5;
}

.all_ciu-program-filters .filter-btn.active{
    font-weight:700;
    border-color:#000;
}



/* program details page */

.ciu-program-single{
margin:60px auto;
}

.ciu-program-header h1{

margin-bottom:15px;
}

.ciu-level-badge{
display:inline-block;
padding:6px 14px;
border-radius:8px;
background:#ede9ff;
color:#862337;
font-weight:600;
margin-bottom:10px;
}

.ciu-program-meta{
margin-top:6px;
opacity:.85;
}

.ciu-program-section{
margin-bottom:40px;
}

.ciu-program-section h2{
margin-bottom:15px;
}

.ciu-program-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    margin-top: 15px
}

@media (max-width: 768px) {
    .ciu-program-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ciu-program-title {
        font-size: 20px;
    }
}

/* Department link style on the list */

.all_ciu-department-link-wrap {
    margin: 8px 0 20px;
}

.all_ciu-department-link {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ef5b2a;
    border-radius: 6px;
    background-color: #f05423;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.all_ciu-department-link:hover {
    background: #FF4C43;
    color: #fff
}



/* Some custom styles */
.mb-20 {
 margin-bottom: 20px;
}

