@font-face {
    font-family: Gotham;
    src: url(../fonts/gothambold.woff) format('woff')
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Sans-serif;
    background-color: #fff;
}

:root {
    --primary: #702c91;
    --secondary: #ec008c;
}

a {
    text-decoration: none;
    color: #702c91;
    transition: all .3s ease 0s
}

a:hover,
a.selected {
    text-decoration: none;
    color: #ec008c
}

a:focus {
    outline: none;
    color: #702c91
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #702c91;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase !important
}

h1 {
    font-size: 40px;
    line-height: 55px;
}

h2 {
    font-size: 36px;
    line-height: 45px;
}

h3 {
    font-size: 20px;
    line-height: 30px;
}

h4 {
    font-size: 18px;
    line-height: 30px;
}

h5 {
    font-size: 16px;
    line-height: 27px;
}

h6 {
    font-size: 15px;
    line-height: 27px;
}


.gradient-font {
    background: linear-gradient(90deg, #FD7D29 16.63%, #D62FFE 52.41%, #6945FD 90.44%);
}

.btn-bg {
    background: linear-gradient(to right, #702c91 0%, #ec008c 50%, #702c91 100%) 0% 0% / 200%;
    color: #fff;
}

.btn-bg:hover,
.btn-bg:focus {
    background-position: right center;
    color: #fff;
}

header img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}


/* Blog page */
.blog-hero-section {
    padding: 100px 0 70px;
    background-color: rgb(246, 246, 246);
}

.blog-hero-section .title-section {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-hero-section .title-section p {
    color: #ec008c;
    font-size: 22px;
    font-weight: 700;
}

.blog-hero-section .blog-search-section {
    margin-top: 50px;
    border: 1px solid #cbd5e0;
    border-radius: 3px;
    padding: 3px 8px;
    background: #ddd;
    max-width: 600px;
    margin: 50px auto 0;
}

.blog-hero-section .blog-search-section input[type="text"] {
    width: 87%;
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    margin-right: 10px;
}

.blog-hero-section .blog-search-section button {
    padding: 3px 20px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* Blog slider section */
.blog-section {
    padding: 100px 0 0;
    background-color: #fff;
}

.blog-section.latest-blogs .container {
    border-bottom: 2px solid rgba(0, 18, 51, 0.1);
}

.blog-section .blog-slider {
    margin: 50px 0;
}

.blog-card {
    height: 480px;
    border: 2px solid #EDF2F7;
    border-radius: 5px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
}

.blog-card .blog-card-img img, .blog-card .blog-card-img{
    border-radius: 10px;
}

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

.blog-card .blog-card-content {
    padding: 20px;
}

.blog-card .blog-card-content .blog-meta {
    margin-bottom: 12px;
}

.blog-card .blog-card-content .blog-meta p {
    color: #ec008c;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

/*.blog-card .blog-card-content span:first-child {*/
/*    margin-right: 18px;*/
/*}*/

.blog-card .blog-card-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .blog-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #000;
    font-size: 15px;
    line-height: 24px;
}

.blog-section .blog-slider .blog-slider-bottom {
    margin-top: 20px;
    display: flex;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
}


.blog-section .blog-slider .swiper-pagination {
    position: relative;
    z-index: 2;
    padding-top: 10px;
}

.blog-section .blog-slider .slider-btn {
    background: #ec008c;
    color: #fff;
    border-radius: 5px;
    padding: 0px 10px;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-section .blog-slider .slider-btn i {
    font-size: 20px;
}

.blog-section .blog-slider .swiper-pagination-bullet {
    background: #ec008c;
}

/* Blog slider section end */

/* Blog category section */
.blog-category-section {
    background-color: #f6f6f6;
}

.blog-category-section .category-select-menu {
    padding: 30px 0;
    background: linear-gradient(to right, #702C91 30%, #8D1F85 40%, #EC008C 70%);
}

.blog-category-section .tab-content{
    margin-top: 50px;
}

.blog-category-section .category-select-menu .title{
    color: #fff;
}

.blog-category-section .category-select-menu .nav-tabs {
    border: none;
    gap: 20px;
    align-items: center;
}

.blog-category-section .category-select-menu .nav-tabs h2{
    margin-bottom: 0;
    padding-right: 10px;
}

.blog-category-section .category-select-menu .nav-link {
    background: linear-gradient(to right, #d4d2d2 0%, #fff 50%, #d4d2d2 100%);
    background-size: 200% auto;
    font-family: 'Gotham';
    padding: 16px 40px;
    border-radius: 38px;
    color: #702c91;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: 0 17px 10px -10px rgb(0 0 0 / 40%);
}

.blog-category-content {
    padding-bottom: 70px;
}

.blog-category-content .category-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.blog-category-content .category-title-section h2 {
    margin-bottom: 0;
}

.blog-category-content .category-title-section .btn-bg {
    padding: 16px 40px;
    border-radius: 38px;
    text-transform: uppercase;
    box-shadow: 0 8px 16px 0 rgb(112 44 145 / 30%);
    cursor: pointer;
}

.blog-category-content .blog-card {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Blog category section end */

/* Blog page end */


/* Blog detail page */
.blog-detail-content .content-table{
    background: #EAF0F6;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 30px!important;
}

.blog-detail-content .content-table h2{
    margin-bottom: 0;
    border: none;
    background: transparent;
    font-size: 24px;
    margin: 0;
}

.blog-detail-content .content-table ul {
    padding-left: 30px!important;
}

.blog-detail-content .content-table li{
    padding-bottom: 8px;
    line-height: 1;
}

.blog-detail-content .content-table li a{
    font-size: 16px;
    font-weight: 500;
}

.blog-detail-content .content-table li a:hover{
    text-decoration: underline;
}

.blog-detail-content .blog-detail-text p {
    font-size: 16px!important;
    color: #212529!important;
    line-height: 2!important;
}

.blog-hero-section .blog-detail-title-section .blog-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    max-width: 60%;
    margin: 0 auto;
}

.blog-hero-section .blog-detail-title-section .blog-detail-meta p {
    color: #ec008c;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px !important;
}

.blog-detail-section {
    padding: 80px 0;
}

.blog-detail-section h2,
.blog-detail-section h3,
.blog-detail-section h4,
.blog-detail-section h5,
.blog-detail-section h6 {
    padding: 5px 20px;
    background: #EAF0F6;
    margin: 10px 0;
}
.blog-detail-text .blog-detail-section h2 {
    border-left: 5px solid #702c91!important;
}

.blog-detail-section h2{
    font-size: 24px;
}

.blog-detail-image{
    border-radius: 15px;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.blog-detail-bottom {
    padding: 7px 0;
    margin-top: 50px;
    border-top: 1px solid #a0a0a0;
    border-bottom: 1px solid #a0a0a0;
}

.blog-detail-bottom .previous{
    border-right: 1px solid #a0a0a0;
    text-align: left;
}

.blog-detail-bottom .next{
    text-align: right;
}

.blog-detail-bottom a p:first-child{
    margin-bottom: 0;
}

.blog-detail-bottom a p:last-child{
    display: inline-block;
    max-width: 35ch; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}   

.blog-detail-bottom a {
    font-weight: 600;
    font-size: 16px;
}

.blog-detail-bottom a i {
    font-size: 20px;
}

.blog-detail-bottom a:first-child i {
    margin-right: 10px;
}

.blog-detail-bottom a:last-child i {
    margin-left: 10px;
}

.blog-detail-bottom p {
    line-height: 1.7;
}

.blog-sidebar{
    position: sticky;
    top: 20px;
}

.blog-sidebar h3{
    border: none;
    background-color: #702c91;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 22px;
}

.category-section {
    box-shadow: 0 0 11px 0 rgb(0 0 0 / 10%);
    border-radius: 7px;
}

.category-section ul {
    padding: 0px 32px 20px 32px;
    list-style: none;
}

.category-section ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #cbd6e2;
    padding-bottom: 10px;
}

.recent-posts-section{
    margin-top: 40px;
    box-shadow: 0 0 11px 0 rgb(0 0 0 / 10%);
    border-radius: 7px;
}

.recent-posts-section .recent-post{
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #cbd6e2;
}

.recent-posts-section .recent-post img{
    width: 150px;
    max-width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.recent-posts-section .recent-post h4{
    font-size: 16px;
    font-weight: 600;
    border: none;
    padding: 10px 0 0;
    margin: 0;  
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background: transparent;
}

.recent-posts-section .recent-post-container .recent-post-text p {
    font-size:16px !important;
    color:black !important;
}

.subscription-container{
    margin-top: 40px;
    box-shadow: 0 0 11px 0 rgb(0 0 0 / 10%);
    border-radius: 7px;
}

.subscription-container h2{
    margin-bottom: 20px;
    font-size: 24px;
}

.subscription-container .subscription-from-container{
    padding: 20px 30px;
    text-align: center;
}

.subscription-container .subscription-from-container p {
    color: black!important;
    line-height: 1.4!important;
    font-size: 23px!important;
}

.subscription-container .subscription-from-container label{
    font-size: 16px;
    font-weight: 600;
    color: #395287!important;
    margin-right: 10px;
}

.subscription-container .subscription-from-container input{
    padding: 10px;
    border: 1px solid #cbd6e2;
    border-radius: 5px;
    width: 100%!important;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 18px;
}

.subscription-container .subscription-from-container input[type="submit"] {
    font-size: 22px!important;
    background: linear-gradient(90deg, #CD6D0E 0%, #BF26BF 46%, #6641C9 100%)!important;
    color: #ffff!important;
    width: 80%!important;
}

.subscription-container .subscription-from-container [type=checkbox] {
    width: 10%!important;
}

.subscription-container .subscription-from-container button{
    padding: 12px 30px;
    border-radius: 38px;
    text-transform: uppercase;
    color: #fff;
    border: none;   
    box-shadow: 0 8px 16px 0 rgb(112 44 145 / 30%);
    cursor: pointer;
    transition: all .3s ease 0s;
}


/* Blog detail page end */
footer img {
    width: 100%;
    height: 900px;
    object-fit: cover;
}