@charset "UTF-8";

body {
    background-color: #f8f9fa;
}
.news-card {
    transition: transform 0.2s ease;
}
.news-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.news-img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.truncate-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 630px;
    object-fit: cover;
    display: block;
}
.logo {
    width: 200px
}
.bg-dark {
--bs-bg-opacity: 1;
    background-color: rgb(134, 160, 187) !important;
}
.carousel-caption {
    position: absolute;
    right: 15%;
    top: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    height: 40px
}

@media (max-width: 576px) {
.carousel-item img {
    max-height: 300px;
}
}
.btn-primary {
--bs-btn-color: #fff;
--bs-btn-bg: #00548e;
--bs-btn-border-color: #00548e;
--bs-btn-hover-color: #fff;
--bs-btn-hover-bg: #00497b;
--bs-btn-hover-border-color: #00548e;
--bs-btn-focus-shadow-rgb: 49, 132, 253;
--bs-btn-active-color: #fff;
--bs-btn-active-bg: #00548e;
--bs-btn-active-border-color: #00548e;
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
--bs-btn-disabled-color: #fff;
--bs-btn-disabled-bg: #00548e;
--bs-btn-disabled-border-color: #00548e;
}
.ribbon {
    position: absolute;
    top: 10px;
    right: 0;
    background: #dc3545;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 0 0 0 5px;
    z-index: 10;
    font-weight: 600;
    user-select: none;
    white-space: nowrap;
    text-align: center;
}
.card-img-top-wrapper {
    position: relative;
}
.bg-primary {
--bs-bg-opacity: 1;
    background-color: #00548e !important;
}





.news-tile {
  height: 280px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.tile-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.tile-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}






/*slider*/
.slider-bg {
  height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slider-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  z-index: 1;
}

.slider-content {
  z-index: 2;
  max-width: 600px;
}

.carousel-item {
  transition: opacity 1s ease-in-out;
}
