/* Block Styles */
#block-top-a {
    position: relative;
    height: 320px;
    background: url('../images/blackboard_img.jpg') center top no-repeat;
    background-color: #2b2b2b;
}

/* Title spacing adjustment */
#content .title {
    margin-top: 5px;  /* Reduced from default */
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #777 !important;  /* Grey color, important to override Swiper defaults */
}

/* Footer Height Override */
#block-footer {
    padding: 5px 0;  /* Reduced from default padding */
}

#footer {
    line-height: 20px;  /* Tighter line height */
}

#block-top-a .top-a-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1;
}

#block-top-a .wrapper {
    position: relative;
    z-index: 2;
    height: 320px;
}

/* Image Caption Styles */
.image-caption {
    margin-bottom: 20px;
    padding: 5px;
    background: #f7f7f7;
    border: 1px solid #ddd;
}

.image-caption img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.caption-text {
    text-align: center;
    padding: 5px 0;
    margin: 0;
    font-style: italic;
    color: #666;
}

/* Check List Style */
.checklist {
    list-style: none;
    padding-left: 25px;
}

.checklist li {
    position: relative;
    margin-bottom: 10px;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: -25px;
    color: #48b;
}

/* Case Studies Grid */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.case-study-item {
    display: flex;
    flex-direction: column;
}

.case-study-item img {
    width: 100%;
    height: auto;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 20px 0;
}

.news-item {
    display: flex;
    flex-direction: column;
}

.news-item .image-caption {
    background: none;
    border: none;
    padding: 0;
}

.news-item .news-text {
    padding: 10px 0;
    color: #646464;
    margin: 0;
    font-style: normal;
}

/* Center Image */
.center-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}