html {
    scroll-behavior: smooth;
    margin: 0px !important;
}

@font-face {
  font-family: Gilroy-Regular;
  src: url('../fonts/Gilroy-Regular.ttf');
}

@font-face {
  font-family: Gilroy-Medium;
  src: url('../fonts/Gilroy-Medium.ttf');
}

@font-face {
  font-family: Manrope-Regular;
  src: url('../fonts/Manrope-Regular.ttf');
}

@font-face {
  font-family: Manrope-Medium;
  src: url('../fonts/Manrope-Medium.ttf');
}

@font-face {
  font-family: Manrope-SemiBold;
  src: url('../fonts/Manrope-SemiBold.ttf');
}

@font-face {
  font-family: Manrope-Bold;
  src: url('../fonts/Manrope-Bold.ttf');
}

body{
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-family: "Gilroy-Medium", sans-serif;
    color:var(--font-color);
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.625;
    background-color: var(--white);
}

h1, h2{
    font-family: "Manrope-Bold", sans-serif;
    font-weight: normal;
}

h3, h4{
    font-family: "Manrope-SemiBold", sans-serif;
    font-weight: normal;
}

h5{
    font-family: "Manrope-Medium", sans-serif;
    font-weight: normal;
}

p{
    font-family: "Gilroy-Medium", sans-serif;
    font-weight: normal;
}

:root {
    --font-color: #000000;
    --font-color-light: #6B7280;
    --heading-color: #0F172A;
    --white: #ffffff;
    --black: #ffffff;
    --theme-color: #DD3333;
    --footer-bg: #2D1B1B;
    --body-bg: #F8F6F6;

    --theme-color-hover: #bb1111;
}

/* // header styles */
.navbar-brand{
    min-width: 220px;
    padding: 0px;
}

.navbar-brand img{
    width: 80px;
}

.site-header .nav-link{
    font-family: 'Manrope-Medium', sans-serif;
    color: var(--heading-color);
    font-size: 15px;
    transition: ease-in-out 0.3s;
}

.site-header .nav-link:hover{
    color: var(--theme-color);
}

.site-header .nav-item{
    margin-right: 15px !important;
}

.site-header .nav-item:last-child{
    margin-right: 0px;
}

.site-header .dropdown-menu .dropdown-item{
    font-family: 'Manrope-Medium', sans-serif;
    color: var(--heading-color);
    font-size: 15px;
    padding: 10px 15px;
    transition: ease-in-out 0.3s;
}

.site-header .dropdown-menu .dropdown-item:hover{
    background-color: rgb(255 226 226 / 40%);
    color: var(--theme-color);
}

.site-header .dropdown-menu{
    min-width: 13rem;
    border: none;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 10%);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header .nav-item.dropdown:hover .dropdown-menu{
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-field{
    background-color: #F8F6F6;
    border-radius: 8px;
    padding: 5px 5px 5px 40px;
    min-height: 48px;
    border: 1px solid transparent;
    box-shadow: transparent;
}

.header-search-field::placeholder{
    color: #6B7280;
}

.search-btn-icon{
    position: absolute;
    left: 12px;
    top: 12px;
    color: #6B7280;
    font-size: 14px;
}

.header-search-field:hover, .header-search-field:focus{
    outline: none;
    box-shadow: none;
    border: 1px solid var(--theme-color);
    background-color: rgb(255 226 226 / 20%);
    box-shadow: 0px 5px 10px -2px rgb(255 226 226 / 20%);
}

.site-header .sticky{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.search-results-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
    max-height: 320px;
    overflow-y: auto;
}

.search-results-box a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.search-results-box a:hover {
    background: #f5f7fa;
    color: var(--theme-color);
}

.search-results-box span {
    display: block;
    padding: 12px;
    color: #888;
}

/* footer styles */
.site-footer{
    background-color: var(--footer-bg);
    padding-top: 4rem;
}

.footer-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.footer-brand{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand img{
    width: 80px;
}

.footer-company-info{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.footer-info-heading{
    font-size: 20px;
    text-align: center;
    color: var(--white);
    margin-bottom: 0px;
}

.footer-info-description{
    text-align: center;
    color: var(--white);
    margin-bottom: 0px;
}

.footer-menu{
    margin-bottom: 0px;
    flex-wrap: wrap;
}

.footer-menu li{
    margin: 0px 0px;
}

.footer-menu li::after{
    position: relative;
    content: '|';
    color: var(--white);
    margin: 0px 15px;
}

.footer-menu li:last-child:after{
    display: none;
}

.footer-menu li a{
    color: var(--white);
    text-decoration: none;
    transition: ease-in-out 0.3s;
}

.footer-menu li a:hover{
    color: var(--theme-color);
}

.footer-bottom-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0px;
    margin-top: 2rem;
    border-top: 1px solid rgb(255 225 225 / 20%);
}

.footer-bottom-wrapper p{
    color: var(--white);
    margin-bottom: 0px;
    font-size: 15px;
}

/* home styles */
.home{
    background-color: var(--body-bg);
}
/* banner */
.topbanner{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 20px 0px;
    background-color: #0d0d0d;
}

.banner-wrapper{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* home main section */
.main-container{
    width: 100%;
    position: relative;
    display: inline-block;
    background-color: #0d0d0d;
    padding: 2rem 0rem;
}

.main-left-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
}

.about-description{
    width: 100%;
    position: relative;
    display: inline-block;
    color: var(--white);
    font-size: 20px;
}

.main-stories{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 2rem;
    border-radius: 30px;
    background-color: var(--white);
}

.main-card-heading{
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--theme-color);
}

.recent-card-heading{
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--theme-color);
    text-align: center;
}

.recent-post-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 30px;
    background-color: var(--white);
    border-radius: 30px;
}

.recent-post-item{
    width: 100%;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.recent-post-item:last-child{
    margin-bottom: 0px;
}

.main-story-card{
    width: 100%;
    height: 100%;
    position: relative;
    display: inline-block;
    border-radius: 12px;
    transition: ease-in 0.3s;
}

.main-story-card img{
    border-radius: 12px;
}

.main-story-card:hover{
    transition: ease-in 0.3s;
    margin-top: -10px;
    box-shadow: 0px 5px 15px -2px rgba(0, 0, 0, 10%);
}

.recent-post-item {
    border-radius: 20px;
}

.rp-image {
    float: left;
    width: 140px;
    margin-right: 20px;
    margin-bottom: 0px;
}

.rp-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.rp-content h3{
    font-size: 20px;
}

.rp-content h3 a {
    color: var(--font-color);
    text-decoration: none;
    transition: ease-in-out 0.3s;
}

.rp-content h3 a:hover{
    transition: ease-in-out 0.3s;
    color: var(--theme-color);
}

.rp-content p {
    font-size: 14px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    background: #ddd;
    color: #000;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.category-main-heading{
    font-size: 32px;
}

.category-post-heading{
    font-size: 24px;
    margin-bottom: 15px;
}

.category-post-heading a{
    color: inherit;
    text-decoration: none;
    transition: ease-in-out 0.3s;
}

.category-post-heading a:hover{
    transition: ease-in-out 0.3s;
    color: var(--theme-color);
}

.category-post-card{
    background-color: var(--white);
}

/* single page */
.single-thumb {
    float: left;
    width: 280px;
    margin: 0 25px 15px 0;
}

.single-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.single-content {
    font-size: 16px;
    line-height: 1.8;
}

/* Clear float before audio */
.clearfix {
    clear: both;
}

.single-posts-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 3rem;
    border-radius: 25px;
    background-color: #f8f6f6;
}

/* Mobile */
@media (max-width: 768px) {
    .single-thumb {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
}

/* hwms audio theatre */

.additional-pages{
    background-color: #F8F6F6;
}

.featured-card-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    border-radius: 16px;
    background-color: var(--white);
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 10%);
    padding: 25px;
    transition: ease-in 0.3s;
    height: 100%;
}

.featured-card-wrapper:hover{
    margin-top: -10px;
    transition: ease-in 0.3s;
}

.fc-top{
    width: 100%;
    position: relative;
    display: inline-block;
}

.card-main-heading{
    font-size: 24px;
    color: var(--theme-color);
    margin-bottom: 20px;
    transition: ease-in 0.3s;
}

.card-main-description{
    margin-bottom: 0px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.fc-top a{
    text-decoration: none;
    transition: ease-in 0.3s;
}

.fc-top a:hover h3{
    color: var(--theme-color-hover);
    transition: ease-in 0.3s;
}

.cards-divider{
    width: 100%;
}

.fc-bottom{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 20px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
}

.hpost-link{
    display: flex;
    align-items: center;
    gap: 5px;
    transition: ease-in-out 0.3s;
    text-decoration: none;
    color: var(--theme-color);
    width: fit-content;
    margin-top: 10px;
}

.hpost-link:hover{
    transition: ease-in-out 0.3s;
    color: var(--theme-color-hover);
}

.book-card-heading{
    font-size: 20px;
    color: var(--font-color);
    margin-bottom: 15px;
}

.book-card-heading i{
    color: var(--theme-color);
    margin-right: 8px;
    font-size: 18px;
}

.bookinfo{
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
    text-decoration: none;
    transition: ease-in 0.3s;
}

.bookinfo img{
    width: 100px;
    height: 100px;
    min-width: 100px;
    object-fit: cover;
    border-radius: 6px;
    object-position: top;
}

.book-heading{
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--font-color);
    transition: ease-in 0.3s;
}

.book-description{
    font-size: 14px;
    margin-bottom: 0px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.bookinfo:hover .book-heading{
    transition: ease-in 0.3s;
    color: var(--theme-color);
}

.fc-middle{
    width: 100%;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.featuredimg{
    width: 160px;
    min-width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.post-heading{
    text-decoration: none;
    color: inherit;
}

.post-heading h3{
    font-size: 20px;
    color: var(--font-color);
    margin-bottom: 20px;
    transition: ease-in-out 0.3s;
}

.post-heading:hover h3{
    transition: ease-in-out 0.3s;
    color: var(--theme-color);
}

.post-description{
    margin-bottom: 0px;
}

.no-posts-message h4{
    font-size: 18px;
    color: var(--font-color);
}

.no-posts-message p{
    font-size: 14px;
}