﻿.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

#article {
    font-size: clamp(1.125rem, 1.25rem, 1.25rem);
}

body {
    color: #17253d;
}


.home-hero-bg {
    background: -20vw 30% / 150vw 90vw no-repeat radial-gradient(#fffff9 30%, rgba(255, 252, 249, 0) 70%), 50% / cover no-repeat url(../images/home-bg.png);
}

.blog-hero-bg {
    background: -20vw 30% / 150vw 90vw no-repeat radial-gradient(#fffff9 30%, rgba(255, 252, 249, 0) 70%), 50% / cover no-repeat url(../images/single-bg.jpg);
}


.hero-container {
    background: radial-gradient(circle at top left, #fffdfb 0%, #fffdfb 30%, transparent 60%), radial-gradient(circle at top right, #fffdfb 0%, #fffdfb 30%, transparent 60%), linear-gradient(135deg, #fff4ea 0%, #fce7e1 50%, #f9e2ed 100%);
    background-repeat: no-repeat;
    background-size: cover;
}

.twilight-horizon-gradient-background {
    background: linear-gradient(to right, #87D2FF, #A3E4FF, #AACDFD, #D7CDFB);
    height: 8px;
    border-top: unset;
}

.card-container {
    border: 1px solid #e6f2fb;
    color: #17253d;
    overflow: hidden;
    border-radius: 12px;
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
    opacity: 0;
    transform: translateY(30px);
}

    .card-container.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .card-container:hover {
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.14), 0px 0px 2px 0px rgba(0, 0, 0, 0.12);
        transition: all .5s ease;
        cursor: pointer;
    }

.card-img-container {
    border-radius: 12px;
    overflow: hidden;
}

    .card-img-container img {
        transition: transform .5s ease;
    }

.card-container:hover img {
    transform: scale(1.1);
}

.card-img {
    border-radius: 12px;
}

#relatedPosts {
    background: linear-gradient( 180deg, #fff 0%, #f3f8fd 40%, #e6f2fb 80%, #f7eafd 100% );
}

.author-img {
    width: 40px;
}

.box-shadow {
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.14), 0px 0px 2px 0px rgba(0, 0, 0, 0.12);
}

.filter-button {
    border-radius: 8px;
}

    .filter-button.selected {
        background-color: #0078d4 !important;
        color: #fff !important;
        border-color: #0078d4 !important;
    }

.highlight {
    background-color: #e6f7ff;
    color: #222;
    border-radius: 2px;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #e6f7ff;
    color: #0078d4;
    font-weight: bold;
}

.check-icon {
    color: #0078d4;
}

.menu {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.sub-menu {
    background-color: #fefefe;
    border-radius: 8px;
    left: 0;
    padding-bottom: 12px;
    padding-top: 12px;
    position: absolute;
    top: calc(100% + 12px);
    z-index: 16;
}

.search-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

input,
select,
textarea {
    max-width: 280px;
}

#ftnref1, .break-word {
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}


.custom-modal-body {
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

    .custom-modal-body iframe {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        border: 0px solid #fff;
        border-top: none;
        width: 100%;
        height: 100%;
    }

@media (min-width:1084px) {
    .custom-modal-body {
        padding-top: 41.5%;
    }

        .custom-modal-body iframe {
            border: 10px solid #fff;
        }
}

@media (max-width:575px) {
    .custom-modal-body {
        padding-top: 83%;
    }

    .modal .modal-header {
        padding: 0.2rem 1rem;
    }

    .modal-header .close {
        padding: .3rem;
    }
}