/*
 Theme Name:   Voice of Marginalised 
 Theme URI:    https://cruzbytes.com/
 Description:  A child theme of the Voice of Marginalised
 Author:       Your Name
 Author URI:   https://cruzbytes.com/
 Template:     voice-of-marginalised
 Version:      1.0.0
 */

/* Import the parent theme's stylesheet */
@import url("../voice-of-marginalised/style.css");

/* styles by cruzbytes */
/* a {
	color: #14429c;
}
a:hover {
	color: #295890;
} */

img:hover {
    transform: scale(1);
}

/* Custom header design start */

.custom-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 80px; /* Half the size of the logo */
    background: #fef7eb;
    box-shadow: 4px 10px 7px rgba(0, 0, 0, 0.1);
    z-index: 10;
    gap: 250px;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 20px;
	flex: 0 0 35%;
}
.nav-left {
	justify-content: flex-end;
}
.nav-right {
	justify-content: flex-start;
}
.nav-list {
    list-style: none;
    display: flex;
    gap: 35px;
    padding-left: 0px;
    margin-bottom: 0px;
}

.nav-list li {
    display: inline-block;
}
.nav-list li.current_page_item a, .nav-list li a:hover  {
	border-bottom: 1px solid #000;
}
.nav-list li a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
	padding-bottom: 15px;
}
.nav-list li a:focus, .nav-list li a:focus-visible {
	outline:none !important;
}

.logo-container {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.site-logo {
    width: 160px; 
    border-radius: 50%;
    background: #fef7eb;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

.custom-header::after {
    content: '';
    position: absolute;
    bottom: -30px; /* Adjust the curve depth */
    left: 0;
    width: 100%;
    height: 50px;
    background: url('wave.svg') no-repeat center bottom;
    background-size: cover;
}

.topBar {
	background-color: #fef7eb;
}
.topBar h2 {
	text-align: center;
    font-size: 6em;
    background: url('http://vom.cruzbytes.com/wp-content/uploads/2025/02/text_bg_vom.jpg');
    background-position: center;
    background-repeat: no-repeat;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    text-transform: uppercase;
    margin: 0px;
    font-weight: 800;
}

/* Custom header design end */

#content {
	padding-top:80px;
}
.home #content {
	padding-top:40px;
}

article .entry-summary p {
	font-size:18px;
	line-height:28px;
}

.home_intro {
	padding-bottom:40px;
}
.home_intro h1 {
	font-size: 36px;
    padding-bottom: 20px;
}

.home_intro p {
	font-size: 18px;
}

.slider .slide-item-text {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-item-desc {
    background-color: transparent;
}

.featured-area .slide-item .slide-item-image {
    width: 100%;
}

.featured-area .slide-item .slide-item-image::before,
.post-grid_typeone .col-lg-12 .post-thumbnail.post_overlay::before {
    content: '';
    position: absolute;
    left: 0px;
    right: 0px;
    width: 100%;
    bottom: 0px;
    text-align: center;
    padding: 100px 0 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, 0) 100%);
    top: 0;
}

.post-text-inner>*,
.post-text-inner a {
    color: white !important;
    text-align: center !important;
}

.featured-area .slide-item-text .post-cats a {
    background-color: transparent;
}

.slide-item .link-more {
    display: block;
    margin: auto;
    width: max-content;
    margin-top: 30px;
}

.featured-area .owl-carousel .owl-nav button {
    top: 50%;
    border-radius: 30px;
    transition: .5s ease-in-out;
}

.featured-area .owl-carousel .owl-nav button.owl-prev {
    left: 6%;
}

.featured-area .owl-carousel .owl-nav button.owl-next {
    right: 6%;
}

.featured-area .slider .post-text-inner {
    height: auto;
}

.featured-area:hover .owl-carousel .owl-nav button.owl-prev {
    left: 3%;
    transform: translate(0px, -50%);
}

.featured-area:hover .owl-carousel .owl-nav button.owl-next {
    right: 3%;
    transform: translate(0px, -50%);
}

.featured-area .slide-item-text .entry-summary {
    display: none;
}

.slide-item .entry-summary+.link-more {
    margin-top: 30px;
}

.titleArea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-right: 10px;
}

.post_feed_sec .post_sidebar {
    background: #fef7eb;
    border-top-right-radius: 50px;
    padding: 20px 30px;
}

.titleArea:before {
    content: '';
    background-color: #f9c758;
    width: 100%;
    height: 5px;
    position: absolute;
    bottom: -15px;
    left: 0;
    border-radius: 50px;
}

.titleArea h2 {
    margin: 0px;
}

.viewall_link a {
    text-decoration: none;
    background: #733999;
    color: white;
    padding: 8px 20px;
    font-size: 16px;
}
.viewall_link a:hover {
	background: #f9c758;
	color: white;
}

.post-grid_typeone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0px;
    padding-top: 30px;
}

.post-grid_typeone .postitem {
    /* padding-bottom: 20px; */
    padding: 0px 10px 20px 0px;
}

.post-grid_typeone .typeone-post {
    position: relative;
}

.post-grid_typeone .col-lg-12 .typeone-post .post-content a {
    color: white;
    text-decoration: none;
}

.post-grid_typeone .col-lg-6 .typeone-post .post-content h4 a {
    color: #222;
    text-decoration: none;
}

.post-grid_typeone .col-lg-6 .typeone-post {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    gap: 20px;
}

.post-grid_typeone .col-lg-6 .typeone-post .post-thumbnail {
    flex: 0 0 30%;
}

.post-grid_typeone .typeone-post .post-content {
    width: 100%;
}

.post-grid_typeone .col-lg-12 .typeone-post .post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
}

.post-grid_typeone .col-lg-12 .typeone-post .post-content h2 {
    padding-bottom: 20px;
}

.post-grid_typeone .col-lg-6 .typeone-post .post-content h4 {
    font-size: 18px;
}

.post-grid_typeone .typeone-post .post-content .entry-content {
    display: none;
}

.post-grid_typeone .typeone-post .post-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-grid_typeone .typeone-post .post-info .post-date {
    color: #a5a5a5;
    font-size: 12px;
    padding-right: 10px;
}

/* .post-grid_typeone .typeone-post {
    flex: 0 0 33.3%;
    display: flex;
    align-items: center;
    justify-content: center;
} */
.post-grid_typeone .col-lg-12 .typeone-post .post-thumbnail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-grid_typeone .col-lg-6 .typeone-post .post-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.post-categories a {
    border: 1px solid #733999;
    border-radius: 30px;
    padding: 4px 15px;
    font-size: 13px;
    /* background: #cfae95; */
    color: #733999;
    text-decoration: none;
}

.post-categories a:hover {
    background: #733999;
    color: white;
}

.highlight_news,
.newsletter_form {
    padding-top: 20px;
}

.highlight_news .hl_news_list {
    padding-top: 40px;
}

.highlight_news .hl_news_item:first-child {
    padding-top: 0px;
}

.highlight_news .hl_news_item:last-child {
    border-bottom: 0px;
}

.highlight_news .hl_news_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #ccc;
}

.highlight_news .hl_news_thumb {
    flex: 0 0 30%;
}

.highlight_news .hl_news_thumb img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.highlight_news .hl_news_cont {
    width: 100%;
}

.highlight_news .hl_news_cont h4 {
    font-size: 18px;
    margin: 0;
}

.highlight_news .hl_news_cont .date {
    font-size: 12px;
    padding-top: 10px;
}

/* Category posts styles start */
.category_posts {
    overflow: hidden;
}

.categ_sec {
    padding-top: 50px;
}

.categ_sec .titleArea {
    padding: 0px 15px;
}

.cat_post_list {
    display: flex;
    /* align-items: center; */
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0px 15px;
}

.categ_sec_alt {
    overflow: hidden;
}

.categ_sec_alt .cat_post_list .cat_post_item {
    width: 100%;
}
.categ_sec_alt .cat_post_list .owl-nav {
    position: absolute;
    top: -53px;
    right: 11%;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.categ_sec_alt .cat_post_list .owl-nav .owl-prev {
    left: 10px;
    border: 2px solid;
    color: #f9c758;
	height: 35px;
	line-height:30px;
	top: 4px;
}
.categ_sec_alt .cat_post_list .owl-nav .owl-next {
    right: 10px;
    border: 2px solid;
    color: #f9c758;
	height: 35px;
	line-height:30px;
	top: 4px;
}

.cat_post_list .cat_post_item {
    width: 23%;
}

.cat_post_list .cat_post_item .post_img img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.cat_post_list .cat_post_item h2 {
    font-size: 20px;
}

.cat_post_list .cat_post_item h2 a {
    color: #222;
    text-decoration: none;
}

.cat_post_list .cat_post_item h2 a:hover {
    color: #14429c;
}
.wp-block-search__button {
    width: 100%;
    margin-top: 10px;
}
.wp-block-search__input {
    width: 95% !important;
}

/* Category posts styles end */

/* Popular posts styles start */

.popular_posts {
    padding-bottom: 50px;
}
.popular_posts .titleArea {
    display: block;
    margin: auto;
    margin-bottom: 50px;
}

/* Popular posts styles end */

/* Post detail page styles start */

.addtoany_share_save_container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.addtoany_header {
    margin-bottom: 0px !important;
}

/* Post detail page styles end */

/* Footer styles start */
.site-footer {
    text-align: left;
}

.foot_widgets {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.foot_widgets .foot_col {
    width: 24%;
}
.foot_widgets .widget_title {
    font-size: 20px;
    color: #222;
    text-align: left;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.foot_widgets .textwidget p {
    color: #222;
    text-align: left;
}
.foot_widgets .latest-post a {
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    font-size: 14px;
}
.foot_widgets .rpwwt-widget .rpwwt-post-date {
    text-decoration: none;
}
.foot_widgets .latest-post li {
    border-color: #222;
    padding-bottom: 20px;
}
.foot_widgets .widget_categories li {
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Footer styles end */