/* 
* ABU Business School - News/Blog Styles
*/

/* Article Banner */
.article-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.article-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.article-banner-content {
    position: relative;
    z-index: 2;
}

.category-badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background-color: var(--primary);
    color: var(--white);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--white);
    margin-top: 1rem;
}

/* Article Content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-summary {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--gray);
    font-weight: 500;
}

.article-tags {
    margin-top: 2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Sidebar Widgets */
.widget-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.widget-title.text-white::after {
    background-color: var(--white);
}

.author-avatar {
    width: 70px;
    height: 70px;
}

.categories-list {
    list-style: none;
    padding-left: 0;
}

.categories-list li {
    margin-bottom: 0.5rem;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-list a:hover, .categories-list a.active {
    background-color: var(--light-gray);
    color: var(--primary);
}

/* Events Display */
.event-date-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin: 0.5rem;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 0.25rem 0;
}

.event-time {
    font-size: 0.85rem;
    opacity: 0.9;
}

.event-card {
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.time-period-heading {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid var(--light-gray);
}

/* Related/Recent Article Display */
.recent-article, .featured-article {
    transition: all 0.3s ease;
}

.recent-article:hover, .featured-article:hover {
    transform: translateY(-3px);
}

/* Calendar Styling */
#events-calendar {
    min-height: 500px;
}

.related-event-date {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 0.25rem;
}

.related-event-date .month {
    font-size: 0.7rem;
    background-color: var(--primary);
    color: var(--white);
    text-transform: uppercase;
    padding: 0.1rem 0;
}

.related-event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.7;
}

.related-event {
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.related-event:hover {
    color: var(--primary);
}

/* Social Sharing */
.social-sharing {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-date-box {
        margin: 0.5rem auto;
        max-width: 150px;
    }
}