/* home page custom css  */
/* Common styles for service items */
.col-mi-6 {
    width: 73%;
}

.services-main-title {
    position: relative;
    max-width: 148px;
    border-bottom: 1px solid red;
    margin: 0px auto;
    margin-bottom: 10px;
}

.services-w {
    width: 101% !important;
}

.service-icon {
    width: 160px;
    height: 150px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    border-radius: 10px;
}

.services-name {
    margin-top: 5px;
    line-height: 20px;
    font-size: 12px;
    color: black;
}

.service-icon .services-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 28px;
}


/* Gradient backgrounds */
.gradient-orange {
    /* background: linear-gradient(100deg, #fb8f20, #975819d5); */
    background-color: #ff962d;
}

.gradient-blue {
    background-color: #239bfd;
    /* background: linear-gradient(162deg, #1e99d5, #0f5477); */
}

/* Advertisement section styles */
.col-adver-3 {
    width: 17%;
}

/* .pl-11 {
    padding-left: 11%;
} */
.container-custom {
    max-width: 1280px;
    margin: 0px auto;
    padding-left: 4%;

}

.col-add-4 {
    width: 25%;
}

.advertisment-list {
    margin-top: 10px;
}

.advertisment-item {
    display: flex;
    align-items: flex-start;
}

.advertisments-title {
    color: black;
    position: relative;
    max-width: 196px;
    border-bottom: 1px solid red;
    margin: 0px auto;
    margin-bottom: 10px;
}

.advertisment-image {
    width: 150px;
    height: 100px;
    background-color: #ccc;
}

.advertisment-content {
    display: flex;
    flex-direction: column;
}

.advertisment-date {
    font-size: 12px;
    color: #d9534f;
    /* Custom red color */
    font-weight: bold;
}

.advertisment-author {
    font-size: 12px;
    color: #6c757d;
    /* Gray color */
}

.advertisment-title {
    font-size: 14px;
    font-weight: bold;
    color: #212529;
    /* Dark color for title */
    margin: 0;
}

/* middel silder  */
@media (max-width: 768px) {
    .latest-news-swiper-wrapper .latest-news-swiper-slide>div {
        display: none;
    }

    .latest-news-swiper-wrapper .latest-news-swiper-slide>div:first-child {
        display: block;
    }
}

.latest-news-swiper-wrapper .latest-news-swiper-slide.active,
.latest-news-swiper-wrapper .latest-news-swiper-slide-start,
.latest-news-swiper-wrapper .latest-news-swiper-slide-next,
.latest-news-swiper-wrapper .latest-news-swiper-slide-prev {
    display: flex;
    color: black;

}

.latestNewsSwiper-control-prev-icon {
    position: relative;
    top: -19px;
    left: -78px;
    color: black;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300000' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.latestNewsSwiper-control-next-icon {
    position: relative;
    top: -19px;
    right: -78px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300000' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* display 4 */
@media (min-width: 768px) {

    .latest-news-swiper-wrapper .latest-news-swiper-slide-right.active,
    .latest-news-swiper-wrapper .latest-news-swiper-slide-next,
    .latest-news-swiper-slide-next:not(.latest-news-swiper-slide-start) {
        transform: translateX(25%) !important;
    }

    .latest-news-swiper-wrapper .latest-news-swiper-slide-left.active,
    .latest-news-swiper-slide-prev:not(.latest-news-swiper-slide-end),
    .active.latest-news-swiper-slide-start,
    .latest-news-swiper-slide-prev:not(.latest-news-swiper-slide-end) {
        transform: translateX(-25%) !important;
    }

    .latest-news-swiper-slide-next.latest-news-swiper-slide-start,
    .active.latest-news-swiper-slide-end {
        transform: translateX(0) !important;
    }

    .latest-news-swiper-wrapper .latest-news-swiper-slide-prev,
    .latest-news-swiper-slide-prev:not(.latest-news-swiper-slide-end) {
        transform: translateX(-25%) !important;
    }
}

.custom-card {
    border: none;
    position: relative;
    margin-right: 6px;
}

.custom-card .news-card-img-top {
    /* height: 250px; */
    height: 155px;
    object-fit: cover;
}

.custom-card .card-title {
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
}

.custom-card .card-date {
    color: #FF5A5F;
    /* Red color for date */
    font-weight: bold;
    font-size: 12px;
}

.custom-card .card-body {
    padding: 15px;
}

.custom-card .card-name {
    color: gray;
    font-size: 12px;
}

.custom-card .heart-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px;
    border-radius: 50%;
}

/* Custom carousel container */
.custom-carousel .custom-latest-news-swiper-slide {
    position: relative;
}

.latest-news-swiper-slide {
    width: 177px !important;
}

.custom-carousel-image {
    /* filter: brightness(50%); */
    /* Dark overlay effect */
}

.carousel-overlay {
    position: absolute;
    bottom: 130px;
    left: 67px;
    color: white;
    max-width: 70%;
}

.carousel-overlay h2 {
    font-size: 24px;
    font-weight: bold;
    max-width: 373px;
}

.carousel-overlay p {
    font-size: 14px;
    max-width: 373px;
    color: #c2bfbf;
}

.carousel-meta {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.carousel-date,
.carousel-author {
    font-size: 14px;
    color: #ff6f61;
}

.carousel-author {
    color: gray;
}

.customer-circle {
    width: 50px;
    height: 50px;
    background-color: gray;
    border-radius: 100%;
}

.carousel-date::after {
    content: " • ";
    margin: 0 5px;
    color: #ff6f61;
}

.carousel-share {
    color: #ff6f61;
    margin-left: 10px;
}

.carousel-share i {
    font-size: 18px;
}

/* Custom controls */
.custom-carousel-control-prev,
.custom-carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background-color: rgba(233, 17, 17, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.custom-carousel-control-prev {
    left: 76%;
    top: 80%;
    background-color: gray;
}

.custom-carousel-control-next {
    right: 73px;
    top: 80%;
}

.custom-carousel-control-icon {
    font-size: 41px;
}

/* Saint of the day  */
/* Section Title */
.Saint-section-title {
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    max-width: 219px;
    border-bottom: 1px solid red;
    margin: 0px auto;
    margin-bottom: 10px;
}



/* Article List */
.article-list {
    list-style: none;
    padding: 0;
}

.article-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.article-thumbnail {
    width: 60px;
    height: 67px;
    background-color: #ddd;
    margin-right: 15px;
}

.article-info {
    flex-grow: 1;
    max-width: 222px;
}

.article-date {
    color: #ff6f61;
    font-size: 12px;
}

.article-author {
    font-size: 10px;
}

.article-title {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

/* Featured Article */
.featured-article {
    /* background-color: #222; */
    width: 100%;
    height: 100%;
    color: white;
    padding: 20px;
    position: relative;
    border-radius: 5px;
    background-image: url('../../../assets/img/default/saint-of-the-day.png');
    background-size: cover;
}

.featured-article::after {
    background-color: #000;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
}

.featured-title {
    font-size: 18px;
    font-weight: bold;
    max-width: 222px;
}

.featured-title-main {
    position: absolute;
    z-index: 1;
    bottom: 29px;
}

.featured-description {
    font-size: 14px;
    color: #bbb;
    line-height: 21px;
}

.featured-meta {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.featured-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.featured-date,
.featured-author {
    font-size: 12px;
    color: #ff6f61;
}

.featured-author {
    color: gray;
}

.featured-share {
    color: #ff6f61;
    margin-left: 10px;
}

.featured-controls {
    position: absolute;
    top: 10px;
    right: 10px;
}

.featured-controls button {
    background-color: #ff6f61;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 2px;
    cursor: pointer;
}

.featured-controls button i {
    font-size: 14px;
}

/* Video Section */
.video-item {
    margin-bottom: 20px;
    text-align: center;
}

.video-thumbnail {
    width: 100%;
    height: 100px;
    background-color: #ddd;
    position: relative;
}

.video-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    /* max-width: 222px; */
}

.video-category {
    font-size: 12px;
    color: #ff6f61;
}

.video-time {
    font-size: 12px;
    color: #666;
}

/* daily reflection  */
.reflection-main {
    background-color: black;
    padding: 40px 35px 40px 35px;
}

.reflection-title {
    text-align: center;
    font-size: 24px;
    letter-spacing: 2px;
    color: white;
    position: relative;
    max-width: 280px;
    border-bottom: 1px solid red;
    margin: 0px auto;
    margin-bottom: 10px;
}

.reflection-card {
    background-color: transparent;
    border: none;
    text-align: left;
    transition: transform 0.3s;
}

.reflection-card:hover {
    transform: scale(1.05);
}

.reflection-card img {
    width: 100%;
    /* height: 200px; */
    background-color: #555;
}

.reflection-card-body {
    padding-top: 15px;
}

.reflection-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #ccc;
}

.icon-text {
    color: #fff;
    font-size: 14px;
}

.like,
.views {
    background-color: red;
    padding: 2px 8px;
    color: #fff;
    border-radius: 3px;
}

/* daily readings   */
.readings-title {
    text-align: center;
    font-size: 24px;
    letter-spacing: 2px;
    color: black;
    position: relative;
    max-width: 248px;
    border-bottom: 1px solid red;
    margin: 0px auto;
    margin-bottom: 10px;
}

.readings-card-body p {
    font-size: 12px;
    line-height: 17px;
    max-width: 318px;
}

.readings-card-body h5 {
    font-size: 16px;
}

.readings-user-image {
    width: 50px;
    height: 50px;
    background-color: gray;
    border-radius: 100%;
}

/* social icon  */
.col-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.bg-facebook {
    background-color: #1876f28e;
}

.bg-youtube {
    background-color: #ff000077;
}

.bg-whatsApp {
    background-color: #25d36585;
}

.bg-instagram {
    background-color: #c32aa285;
}

/* swiper arrow custom  */
.custom-latest-news-prev {
    left: 10px;
    background-image: url('../images/home-page/latestnews-prev.svg');
    background-size: 34px 28px;
    background-repeat: no-repeat;
    background-position: center;
}

.custom-latest-news-next {
    right: 10px;
    background-image: url('../images/home-page/latestnews-next.svg');
    background-size: 34px 28px;
    background-repeat: no-repeat;
    background-position: center;
}

.services-latest-news-prev {
    left: 10px;
    background-image: url('../images/home-page/latestnews-prev.svg');
    background-size: 34px 28px;
    background-repeat: no-repeat;
    background-position: center;
}

.services-latest-news-next {
    right: 10px;
    background-image: url('../images/home-page/latestnews-next.svg');
    background-size: 34px 28px;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

/* 2 slider  */
/* Customize Swiper's next and prev buttons */
.custom-swiper-prev,
.custom-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(218, 16, 16, 0.644);
    color: #ffffff !important;
    font-size: 40px;
    padding: 10px;
    width: 80px !important;
    height: 80px !important;
    cursor: pointer;
    z-index: 10;
}

.custom-swiper-prev {
    left: 69% !important;
    top: 88% !important;
    background-color: rgb(71, 71, 71) !important;
    background-image: url('../images/home-page/feturenews-prev.svg');
    background-size: 34px 28px;
    background-repeat: no-repeat;
    background-position: center;
}

.custom-swiper-next {
    right: 50px !important;
    top: 88% !important;
    background-image: url('../images/home-page/feturenews-next.svg');
    background-size: 34px 28px;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    bottom: 10%;
    left: 20px;
    color: #fff;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.material-symbols-outlined {
    align-items: center !important;
    font-size: 49px !important;
    color: white !important;
}

.swiper {
    width: 100%;
    margin-bottom: 20px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 25px !important;
    color: black;
}

.custom-latest-news-prev,
.custom-latest-news-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-latest-news-prev {
    left: -47px;
}

.custom-latest-news-next {
    right: -30px;
}

.services-latest-news-prev,
.services-latest-news-next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 10;
}

.services-latest-news-prev {
    left: -47px;
}

.services-latest-news-next {
    right: -30px;
}