/* University / units and departments */
.welcome .welcome-image {
    display: none;
}
.welcome .welcome-content {
    display: none;
}
div.welcome {
    padding: 0 !important;
}

.success-stories-container {
    max-width: 900px;
    margin: 0 auto;
}


.story-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;

    flex-direction: column;
    text-align: center;
    padding: 20px;
}

/* .story-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
}
    */
.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.story-img-container {
    width: 160px;
    height: 160px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto 20px;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.story-card:hover .story-img {
    transform: scale(1.1);
}

.story-content {
    padding: 25px 30px 25px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;

    padding: 0;
}

.story-title {
    margin-bottom: 15px;
}

.story-title a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;

    justify-content: center;
}

.story-title a:hover {
    color: var(--accent);
}

.quote-icon {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

.story-brief {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    padding: 12px 0;
    /* border-left: 3px solid #3498db; */
    padding-left: 15px;
    margin: 10px 0 20px;


    border-left: none;
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    padding-top: 10px;
    padding-bottom: 10px;
}

.story-meta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.read-more {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    /* box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3); */
}

.read-more i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateY(-2px);
    color: var(--primary);
    background: transparent;
    border: solid 1px var(--primary);
}

.read-more:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {

    .story-img-container {
        width: 140px;
        height: 140px;
    }
    
}


/* for SharePoint */
.page-content{
    padding: 0 0.7rem;
}

@media (max-width: 576px) {
    .page-content{
        padding: 0;
    }
}