/*
 Theme Name: University Hub Child
 Theme URI: https://wenthemes.com/theme/university-hub/
 Description: Child theme for University Hub
 Author: Your Name
 Template: university-hub
 Version: 1.0.0

    Key Colors
    Primary blue: #0f4c81 / #00387d
    Link / accent blue: #0f7fb3
    Text dark: #1f2937
    Light background: #f1f5f9 / #f8fafc
    Border light: #e5e7eb
*/

/* Custom CSS starts here */
@media only screen and (max-width: 1300px) {
    #news-ticker {
        width: 290px !important;
    }
}

#primary article.hentry img {
    max-width: 100%;
    height: auto;
}

/** Top left logo **/
.site-branding img {
    margin-top: -5px;
    align-content: center;
}

/** Disable post navigation **/
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation, .comments-area, .comment-respond {
    display: none !important;
}

.post-featured-image {
    width: 100%;
    height: 300px; /* Or your preferred height */
    object-fit: cover;
}

/** Hide bread crumb **/
#breadcrumb {
    display: none;
}

/** CSS for post detail page **/
.entry-footer {
    display: none;
}

.entry-header .entry-title {
    font-family: "Tahoma", Geneva, sans-serif;
    font-size: 25px;
    margin-bottom: 0;
}


/** To make as full width **/
.site-content .inner-wrapper {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.container {
    max-width: 1230px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media only screen and (max-width: 1300px) {
    .container {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/** To hide featured posts in Post detail page **/
.single-post .post-thumbnail,
.single-post .wp-post-image {
    display: none;
}

/** Center home page CTA **/
#front-page-home-sections .home-section-call-to-action {
    background: #179bd7;
    padding: 20px !important;
    text-align: center;
    min-height: 200px;

    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
}


/** Footer affiliations and approvals **/
.footer-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;              /* reduced gap */
    align-items: center;
}

.footer-logos .logo-item {
    width: 60px;            /* smaller square */
    height: 60px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;           /* reduced padding */
    border-radius: 6px;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-logos .logo-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Hover effect */
.footer-logos .logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/** Footer - Contact Us **/
.footer-contact {
    color: #ffffff;
    font-size: 15px;
}

.contact-item {
    display: grid;
    grid-template-columns: 24px 1fr; /* FIXED icon column */
    column-gap: 12px;
    margin-bottom: 12px;
    align-items: start; /* KEY FIX */
}

.contact-item .icon {
    font-size: 16px;
    line-height: 1; /* VERY IMPORTANT */
}

.contact-item .text {
    line-height: 1.5;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.contact-item .icon i {
    color: #ffffff;
    font-size: 14px;
}

.site-info {
    display: none;
}

/** Desktop only sticky menu **/
@media (min-width: 992px) {
#masthead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
}
}
@media (max-width: 991px) {
    #masthead {
        position: static;
    }
}

/** Other CSS **/
.custom-section-title{
    border-left: 4px solid #ff6000;
    color: #00387d;
    display: inline-block;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 30px;
    padding-left: 15px;
}

.custom-section-title-outer{
    border-left: 4px solid #ff6000;
    color: #00387d;
    display: inline-block;
    font-size: 24px;
    line-height: 1.1;
    margin-top: 50px;
    padding-left: 15px;
}

/** Home page post widget – Management **/

.category-post-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.category-post-item {
    display: grid;
    grid-template-columns: 200px 1fr; /* desktop: image | text */
    column-gap: 24px;
    align-items: start; /* force top alignment */
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* IMAGE – LEFT */
.post-thumb {
    grid-column: 1;
    align-self: start;
}

.post-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block; /* ensures image always shows */
}

/* RIGHT SIDE CONTENT WRAPPER */
.post-text {
    grid-column: 2;
}

/* TITLE */
.post-title {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 6px 0;
    color: #0f172a;
}

/* CONTENT */
.post-content {
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 15px;
    color: #475569;
}

/* REMOVE WP AUTO SPACING */
.post-content p {
    margin-top: 0;
    margin-bottom: 10px;
}

.post-content p:empty,
.post-content br {
    display: none;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .category-post-item {
        display: flex;
        flex-direction: column; /* stack image + text */
    }

    .post-thumb,
    .post-text {
        width: 100%;
        grid-column: auto;
    }

    .post-thumb {
        margin-bottom: 12px;
    }

    .post-thumb img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* SECTION STYLING */
.management-messages-section {
    background: #f1f5f9;
    padding: 50px 20px;
}

/** Vision Mission **/

.vision-mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0 !important;
}

.vm-card {
    background: #f5f7fa;
    padding: 30px;
    border-left: 5px solid #179bd7;
    text-align: center;
}

.vm-card h3 {
    color: #179bd7;
    margin-bottom: 15px;
    font-weight: 600;
}

.vm-card p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .vision-mission-section {
        grid-template-columns: 1fr;
    }
}

.vision-mission-wrapper {
     padding: 50px 20px;
}

/** Majors and Programmes **/

/* Section wrapper */
.programmes-wrapper {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

/* Background image with blur + brightness */
.elementor-element-3aad6c7 {
    position: relative;
    background-image: url('https://www.webamazers.com/demo/bacas/wp-content/uploads/2026/01/banner-frontview.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.elementor-element-3aad6c7::before {
    content: "";
    position: absolute;
    inset: 0;
    filter: blur(6px) brightness(1.15);
    z-index: 1;
}

.elementor-element-3aad6c7::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(245,247,250,0.88);
    z-index: 2;
}

.elementor-element-3aad6c7 > .e-con-inner {
    position: relative;
    z-index: 3;
}


/* Titles */
.section-title {
    margin-bottom: 10px;
}

.section-subtitle {
    margin-bottom: 40px;
    color: #555;
}

/* FORCE 5 boxes in one row (desktop) */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Box styling */
.programme-box {
    background: #ffffff;
    padding: 30px 15px;
    text-decoration: none;
    color: #222;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
}

/* Top colour bar */
.programme-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: #179bd7;
    border-radius: 8px 8px 0 0;
}

/* Icons */
.programme-box i {
    font-size: 34px;
    color: #179bd7;
}

/* Text */
.programme-box span {
    font-weight: 600;
    line-height: 1.3;
}

/* Hover effect */
.programme-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Responsive fixes */
@media (max-width: 1024px) {
    .programmes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .programmes-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    .programmes-grid {
        grid-template-columns: 1fr;
    }
}

/** Top recruiters **/
/* Logo image normalization */
.elementor-image-carousel .swiper-slide {
    border-right: 1px solid #E5E7EB;
}

/* Remove border on last visible slide */
.elementor-image-carousel .swiper-slide:last-child {
    border-right: none;
}

.elementor-image-carousel .swiper-slide-image {
    filter: grayscale(100%) opacity(0.85);
    transition: all 0.3s ease;
}

.elementor-image-carousel .swiper-slide-image:hover {
    filter: grayscale(0%) opacity(1);
}

.elementor-image-carousel .swiper-slide-inner {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-image-carousel .swiper-slide-image {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* ===== Stats / Highlights Widget ===== */

.stats-wrapper {
    padding: 60px 0;
    text-align: center;
     background: #F1F5F9;
}

.stats-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #222;
}

/* Grid layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual item */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icon wrapper */
.stat-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* Icon colors */
.stat-green { color: #2f7d5a; }
.stat-blue  { color: #6c63ff; }
.stat-gold  { color: #f4b400; }
.stat-orange{ color: #ff6b4a; }

/* Numbers */
.stat-item h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

/* Label */
.stat-item p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
}

/* Hover effect (subtle) */
.stat-item:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
}

/* Tablet */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/** Activities post listing **/
.activity-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1f2937;
}

.activity-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.activity-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.activity-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;   /* controls spacing from edges */

    /* NEW BACKGROUND */
   background: linear-gradient(135deg, #e8eef5, #d6e0ec);

}

.activity-image img {
    position: relative;
    z-index: 2;
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    margin: auto;
    display: block;

}

.activity-content {
    padding: 18px;
}

.activity-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #111827;
}

.activity-date {
    font-size: 13px;
    color: #6b7280;
}

.activities-wrapper {
    padding-top: 20px;
    padding-bottom: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .activity-grid {
        grid-template-columns: 1fr;
    }
    .activity-image {
        height: 200px;
    }
}

/** Post side bar CSS **/
.activity-widget {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.recent-activities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-activities-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.recent-activities-list li:last-child {
    border-bottom: none;
}

.recent-activities-list a {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
}

.recent-activities-list a:hover {
    color: #179bd7;
}

/** IQAC **/

.iqac-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.iqac-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0f4c81;
}

.iqac-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.iqac-card h3 {
    color: #179bd7;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.iqac-card ul {
    list-style: none;
    padding: 0;
}

.iqac-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
}

.iqac-card i {
    color: #e63946;
    min-width: 20px;
}

.iqac-card a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
}

.iqac-card a:hover {
    color: #179bd7;
    text-decoration: underline;
}

/** Management Committe **/
.management-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.committee-title {
    margin-top: 40px;
    font-size: 22px;
    font-weight: 100;
    border-bottom: 2px solid #179bd7;
    padding-bottom: 5px;
}

.management-card {
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.member-name {
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 4px;
}

.member-qualification,
.member-designation {
    margin: 2px 0;
    color: #374151;
}

/* Event Listing */
.event-listing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.event-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #e5e7eb;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.event-card:hover {
    border-left-color: #179bd7;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.event-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.event-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 15px;
}

.event-read-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #179bd7;
    text-decoration: none;
}

.event-read-more:hover {
    text-decoration: underline;
}

.no-events {
    text-align: center;
    font-size: 16px;
    color: #6b7280;
}

/* ================================
   Home – Recent Events & Activities
================================ */

:root {
    --primary-blue: #179bd7;
}

/* Section */
.home-recent-wrapper {
    margin: 60px 0;
}

.home-section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 35px;
    color: #1f2937;
}

/* Grid */
.home-recent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
.home-post-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* Image */
.home-post-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Content */
.home-post-content {
    padding: 18px;
}

.home-post-content.no-image {
    padding-top: 22px;
}

/* Title */
.home-post-title {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 10px;
}

.home-post-title a {
    color: #1f2937;
    text-decoration: none;
}

.home-post-title a:hover {
    color: var(--primary-blue);
}

/* Excerpt */
.home-post-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 12px;
}

/* Read more */
.home-post-readmore {
    font-size: 14px;
    font-weight: 400;
    color: var(--primary-blue);
    text-decoration: none;
}

.home-post-readmore:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .home-recent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-recent-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Courses Listing
================================ */

:root {
    --primary-blue: #179bd7;
}

/* Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    margin: 40px 0;
}

/* Card */
.course-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* Image */
.course-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Content */
.course-content {
    padding: 20px;
}

.course-content.no-image {
    padding-top: 26px;
}

/* Title */
.course-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
}

.course-title a {
    color: #1f2937;
    text-decoration: none;
}

.course-title a:hover {
    color: var(--primary-blue);
}

/* Excerpt */
.course-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 14px;
}

/* Read more */
.course-read-more {
    font-size: 14px;
    font-weight: 400;
    color: var(--primary-blue);
    text-decoration: none;
}

.course-read-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Make Recent Activities & Events look like Quick Links */
.university_hub_widget_recent_posts .recent-posts-wrapper {
    padding: 0;
    margin: 0;
}

.university_hub_widget_recent_posts .recent-posts-item {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e5e5e5; /* same divider feel */
}

.university_hub_widget_recent_posts .recent-posts-title {
    margin: 0;
    padding: 0;
}

.university_hub_widget_recent_posts .recent-posts-title a {
    display: block;
    padding: 10px 15px;              /* SAME as menu links */
    color: #333;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect – same as Quick Links */
.university_hub_widget_recent_posts .recent-posts-title a:hover {
    background-color: #f5f5f5;
    color: #179bd7; /* match theme link color */
}

/** =========================
    Home page popup (Theme matched)
========================= **/

#csibacas-popup-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #00000099; /* safe dark overlay */
    display: none;
    z-index: 99999;
}

/* Popup box */
#csibacas-popup {
    background: #ffffff;
    max-width: 600px;
    width: 90%;
    padding: 32px 26px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    /* University Hub styling */
    border-top: 5px solid #179bd7;
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);

    animation: popupFade 0.4s ease;
}

/* Title */
#csibacas-popup h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #253b80;
}

/* Accent line below title */
#csibacas-popup h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: #179bd7;
    margin: 12px auto 0;
}

/* Close button */
#csibacas-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s ease;
}

#csibacas-popup-close:hover {
    color: #179bd7;
}

/* Popup content */
#csibacas-popup .popup-content {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

/* CTA button – primary theme blue */
#csibacas-popup .popup-cta {
    display: inline-block;
    margin-top: 26px;
    padding: 12px 36px;
    background: #179bd7;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* CTA hover */
#csibacas-popup .popup-cta:hover {
    background: #0f7fb3;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(23,155,215,0.35);
}

/* Animation */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Mobile */
@media (max-width: 600px) {
    #csibacas-popup {
        width: 92%;
        padding: 24px 18px;
    }

    #csibacas-popup h2 {
        font-size: 20px;
    }

    #csibacas-popup .popup-cta {
        width: 100%;
        text-align: center;
    }
}

/* =========================
   Scrolling Bible Verse – Minimal
========================= */

.csibacas-scroll-wrap {
    width: 100%;
    overflow: hidden;
    padding: 0;            /* remove top & bottom space */
    margin: 0;             /* remove extra gaps */
}

.csibacas-scroll-text {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;

    font-size: 15px;
    font-weight: 500;
    color: #374151;        /* normal text color */

    animation: csibacas-scroll 40s linear infinite;
}

/* Title (Bible reference) inline */
.csibacas-scroll-text strong {
    font-weight: 600;
    margin-right: 6px;
    color: #179bd7;
}

/* Animation */
@keyframes csibacas-scroll {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Force title and content to stay in one line */
.csibacas-scroll-text p {
    display: inline;
    margin: 0;
}

/* Pause on hover */
.csibacas-scroll-wrap:hover .csibacas-scroll-text {
    animation-play-state: paused;
}

/* Mobile */
@media (max-width: 600px) {
    .csibacas-scroll-text {
        font-size: 14px;
        animation-duration: 55s; /* slower scroll */
    }
}

/** Courses - click here link **/
a.programme-link {
    color: #0f7fb3;
    font-weight: bold;
    text-decoration: underline;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
    padding: 2px 4px;
}

a.programme-link:hover {
    background-color: #0f4c81;
    color: #ffffff;
    text-decoration: none;
}

/** College top line - Above site title **/
.college-top-line{
    color: rgba(255, 255, 255, 0.64);  /* uses same color as tagline */
    opacity: 0.9;     /* keeps it slightly softer */
}
/* Mobile: center-align logo only */
@media (max-width: 768px){
    .college-top-line{
        font-size: 11px;      /* reduced to fit in one line */
        letter-spacing: 0.2px;
        line-height: 1.3;
        white-space: nowrap; /* prevents breaking into 2 lines */
    }
    .site-branding .custom-logo-link{
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .site-branding .custom-logo{
        display: block;
        margin: 0 auto;
    }

}

/* University Hub – Fix scroll up button overlapping footer (mobile) - Fix */
@media (max-width: 768px) {
    #btn-scrollup,
    .scrollup {
        bottom: 110px;
        z-index: 999;
    }

    .site-footer {
        padding-bottom: 30px;
    }
}

/** Justify **/
.text-justify{
    text-align: justify;
}