@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&Display&display=swap');

.bg-dark {
    --bs-bg-opacity: 1;
    /* background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important; */
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.latest-post-page {
    background-color: #f8f5f5;
}

.details {
    background-color: #fff;
    padding: 20px;
    margin: 20px 50px;
    border-radius: 0;
}

.image-wrapper {
    height: 400px;
    width: 100% !important;
    overflow: hidden;
}

.image-wrapper img {
    background-position: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .image-wrapper {
        height: 300px;
        margin-bottom: 20px !important;
    }
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

p {
    font-size: 0.99rem !important;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.google-ads {
    height: 100px;
    background: #333;
}



/*.hero-title-2 {*/
/*    margin-right: 20px;*/
/*}*/

.modal-body {
    padding: 20px 60px !important;
}

/*!*.hero-content {*!*/
/*!*    background-size: cover;*!*/
/*!*    background-position: center;*!*/
/*!*    color: #fff;*!*/
/*!*    text-align: center;*!*/
/*!*    padding: 50px 0;*!*/
/*!*}*!*/

/*.hero-text {*/
/*    padding: 20px;*/
/*}*/

/*.hero h2 {*/
/*    margin-top: 0;*/
/*}*/

.search-icon {
    margin-top: 8px !important;
}

.nav-link {
    border: none !important;
    background: none !important;
    color: #8d7359 !important;
}

.top-link {
    border: none !important;
    background: none !important;
    color: #0b0b0b !important;
    text-decoration: none;
}

.top-link:first-child {
    border-right: 1px solid #0b0b0b !important;
    padding-right: 0.75rem;
}


.nav-tabs {
    border: none !important;
}

.nav-link:hover {
    border-bottom: 1px solid #8d7359 !important;
}

.nav-link.active {
    border-bottom: 1px solid #8d7359 !important;
}

.border-none {
    border: none !important;
    background: none !important;
}

.border-none img {
    min-height: 10px;
    object-fit: cover;
}

.card-img-top {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.card-img-side {
    width: 100%;
    height: 90px;
    object-fit: cover;
}

@media (max-width: 600px) {
    .card-img-top {
        height: 200px;
    }
    .card-img-side {
        height: 200px;
    }

    .top-trending .card-img-top {
        height: 200px !important;
    }
    .more-stories .card-img-top {
        height: 200px !important;
    }
    .hero-content {
        height: 200px !important;
    }
}


@media (min-width: 1024px) {
    .top-trending .card-img-top,
    .news-category-image {
        height: 160px !important;
    }
    .more-stories .news-category-image {
        height: 120px !important;
    }
    .more-stories .card-img-top {
        height: 120px !important;
    }
}

.border-none .card-img-top {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* Relevant news */
.relevant-news .card {
    border-radius: 0;
    border: none;
    background: none;
}

.card-img-top {
    border: none;
    min-height: 80px;
    overflow: hidden;
    border-radius: 5px;
}

.card-transparent {
    margin-left: 10px;
}

.card-transparent h5 a {
    text-decoration: none;
    color: #0b0b0b;
    font-size: 13px;
}

.card-transparent h5 a:hover {
    text-decoration: underline;
    color: #8d7359;
}

.relevant-news .card .card-body {
    position: relative;
    padding: 1.25rem;
}

.relevant-news .card .card-body p.card-text {
    font-size: 0.75rem !important;
    margin-bottom: .75rem;
    font-family: 'Manrope', sans-serif;
}

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

.card-text a {
    color: #1b1e21;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}
.card-description{
    font-size: 15px;
    margin-top: 0 !important;
}

.card-text a:hover, .no-deco:hover {
    text-decoration: blink;
    color: #8d7359;

}
.no-deco{
    text-decoration: none;
    color: #1b1e21;
}


.relevant-news .card .card-body p.card-text {
    font-size: 1rem;
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #935c30;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border:none;
}
.btn:hover {
    background-color: #73421BFF;
}

/* Top trending */
.top-trending {
    background-color: #fff;
    padding: 50px 0;
}

/* Tabs */
.category-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}

.top-trending h2 {
    text-align: left;
    margin-bottom: 30px;
}

.top-trending .card .card-body {
    padding: 10px;
}

/* Form */
.input-group {
    padding-top: 20px !important;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    outline: none !important;
}

.features {
    padding: 50px 0;
    text-align: center;
}

.features .feature {
    margin-bottom: 30px;
}

.features .feature h3 {
    margin-top: 0;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer .social-links a,
footer .inline-links a {
    padding: 10px;
    color: #ffffff;
    text-decoration: none;
}

.contact-section p {
    font-size: 18px !important;
    font-weight: 400;
    line-height: 27px;
}

/*
offcanvas
*/

.scrollable-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.scrollable-tabs .nav-tabs {
    flex-wrap: nowrap;
}

.scrollable-tabs .nav-item {
    display: inline-block;
}
.scrollable-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}


#stickyDropdown {
    width: calc(100% - 40px);
    bottom: 20px;
    left: 20px;
    right: 20px;
    position: absolute;
}

#stickyDropdown .dropdown-toggle{
    width: 100%;

}


/*** sidebar */
.position-sticky{
    padding-bottom: 170px;
}
#menu {
    max-height: 100vh; /* Ensures the menu doesn't exceed the viewport height */
    overflow-y: scroll; /* Enables vertical scrolling */
}

.list-group-item {
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-bottom: 20px !important;
    border-bottom: none;
}

.list-group-item:hover {
    background-color: #f1f1f1;
    color: #000;
}

.offcanvas-header {
    position: relative;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}
.navbar-toggler{
    border: none;
}

/* blur content */
.limited-content {
    overflow: hidden;
    position: relative;
    max-height: 200px; /* Adjust as needed */
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.full-content {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}
#read-more-btn{
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 15px;
    font-weight: bold;
}

.blur {
    filter: blur(5px);
}


/* hero section */
.hero {
    background: #f5f5f5;
    padding: 20px 0;
}

.section-title {
    color: #77614a;
    font-weight: bold;
    font-family: 'Abril Fatface', serif;
    font-size: 30px;
}


.hero-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content,
.relevant-news .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-wrapper {
    height: 400px; /* Adjust the height as needed */
}

.image-wrapper img {
    height: 100%;
    object-fit: cover;
}

.card-img-side {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relevant-news {
    padding-right: 20px; /* Add padding to the right div */
}

.relevant-news .card {
    display: flex;
    flex-direction: column;
}

.relevant-news .card .row {
    flex: 1;
}

.relevant-news .card .card-transparent {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title .section-title,
    .hero-title small {
        float: none;
    }

    .hero-title small {
        margin-top: 10px;
    }

    .image-wrapper {
        height: auto;
    }

    .relevant-news {
        padding-right: 10px; /* Adjust padding for smaller screens */
    }

    .relevant-news .card-img-side {
        height: auto;
    }
}

/* tabs */
.news-category-image-container {
    position: relative;
    width: 100%;
    padding-top: 70%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.news-category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.card-body {
    padding: 0.5rem;
}

.no-deco {
    text-decoration: none;
    color: inherit;
}

