/**
* Theme Name:        avanam-cosmika
* Theme URI:         https://templatemela.com/
* Template:          avanam
* Author:            TemplateMela
* Author URI:        #
* Description:       This is a child theme of Avanam, generated by TemplateMela.
* Version:           1.0.0
* License:           GNU General Public License v3.0 (or later)
* License URI:       https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:       avanam-cosmika
* Requires at least: 6.2
* Tested up to:      6.6
* Requires PHP:      7.4
* Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce

*/


.section-one .post-thumbnail {
    height: 500px !important;
}
.side_blog .post-inner {
    margin-bottom: 15px;
}
section#block-18{
	display:none;
}
.blog-page-third-section .post-thumbnail img {
    height: 270px !important;
    object-fit: cover;
}
.widget_block{
padding: 10px;
}
.second-section-blog .bdpp-rdmr-btn {
    font-size: 18px;
    font-weight: 500;
	background:#b89a6a;
	color:#fff;
	border:1px solid #b89a6a;
	font-family:inter;
   
}
section#block-42 {
    margin: 0px;
    padding: 0px;
    position: relative;
    bottom: 25px;
}
.about-us-section-2-col-2 .elementor-icon-box-wrapper {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    //border: 1px solid #000;
    padding: 10px;
    height: 220px;
	//border-radius:10px;
}
.second-section-blog .bdpp-post-cat-link{
	background:#1f4d4a;
	color:#fff;
	padding:4px;
	border-radius:5px;
}
.second-section-blog .bdpp-post-cat-link:hover{
	background:#1f4d4a;
	color:#fff;
border:none;
}
.community_heading .e-heading-base{
	color:#fff;
	z-index:999;
}
.bdpp-paging a {
    color: #fff !important;
    background-color: #b89a6a;
}
.blog-page-third-section time.entry-date {
    display: none;
}
.current{
    background-color: #1f4d4a;
}


.newletter-wrapper {
	display:flex;
	align-items:center;
	justify-content:center;
	flex-direction:column;
	gap:10px
}

.newletter-wrapper input[type="submit"]{
	color:white;
	background-color:#EA4335;
	margin-top:10px;
	border-radius:40px;
}

.elementor-element.elementor-element-41f6f97.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded .community {
    color: #585858;
}

.elementor-element.elementor-element-41f6f97.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded .community h4 {
    color: black;
}

.bdpp-rdmr-btn:hover{
	background:#b89a6a;
	color:#fff;
	border:1px solid #b89a6a;
}

.bdpp-post-meta .bdpp-post-meta-data {
	margin-top:10px
}
.skin_need_most{
 background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

/* Ashik's Custom Css */
.wp-block-paragraph{
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

.wp-block-list{
	margin-top: 12px !important;
	margin-bottom: 12px !important;
}

.wp-block-heading{
	margin-top: 6px !important;
	margin-bottom: 6px !important;
}

.link-style-no-underline .entry-content p>a,
.link-style-no-underline .entry-content ul a,
.link-style-no-underline .entry-content ol a{
	text-decoration: underline !important;
	font-size: 16px;
	font-weight:500;
	color:#264a3e;
}

/* Ashik's Custom Css */
/* Ashik's Css */
/* =========================================
   CUSTOM BLOG GRID
   ========================================= */

.custom-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    padding: 0 12px; 
}

/* =========================
   GRID LAYOUT
   ========================= */

.custom-grid-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .custom-grid-inner {
        grid-template-columns: 1.15fr 1fr;
        align-items: start;
    }
}

/* =========================
   CATEGORY (FIX GAP ISSUE)
   ========================= */

.custom-grid-cats {
    margin: 0px 0 6px 0;
}

.custom-grid-cats a {
    display: inline-block;
    background-color: #264a3e;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    text-decoration: none;
}

/* =========================
   META
   ========================= */

.custom-grid-meta span {
    font-size: 13px;
    color: #666;
/* 	margin-top: 6px;
    margin-bottom: 6px; */
    display: inline-block;
}
.custom-grid-cats a:hover{
	color:#fff;
}
/* =========================
   LEFT FEATURED
   ========================= */

.custom-grid-featured {
    display: flex;
    flex-direction: column;
}

/* IMAGE FIX (less harsh cropping look) */
.custom-grid-img-wrap {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 10px; 
}

.custom-grid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
    transform: scale(1.02);
    display: block;
}

/* TITLE */
.custom-grid-title-main {
    margin: 0.4em 0em !important;
    line-height: 1.25;
}

.custom-grid-title-main a {
    font-size: 26px;
    color: #222;
    text-decoration: none;
}

/* EXCERPT */
.custom-grid-excerpt {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* BUTTON */
.custom-grid-read-more {
    display: inline-block;
    background-color: #bfa068;
    color: #fff;
    padding: 10px 22px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* =========================
   RIGHT SIDE LIST
   ========================= */

.custom-grid-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-grid-list-item {
    display: flex;
    gap: 14px;
    align-items:flex-start;
	margin-bottom: 12px;
}

/* IMAGE RECT FIX */
.custom-grid-list-img {
    flex: 0 0 140px;
    height: 95px;
    overflow: hidden;
    border-radius: 10px;
}

.custom-grid-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* CONTENT */
.custom-grid-list-content {
    flex: 1;
}

/* TITLE */
.custom-grid-title-small {
    margin: 0.2em 0 .5em !important;
    line-height: 1.35;
}

.custom-grid-title-small a {
    font-size: 15px;
    color: #222;
    text-decoration: none;
}

/* HOVER */
/* .custom-grid-list-item:hover .custom-grid-title-small a {
    color: #2c6bed;
} */

/* =========================
   PAGINATION
   ========================= */

.custom-grid-pagination {
    margin-top: 35px;
    text-align: center;
    display: flex;          
    justify-content: center;
    flex-wrap: wrap;         
    gap: 8px;                
}

.custom-grid-pagination a,
.custom-grid-pagination span {
    display: inline-block;
    padding: 8px 12px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
}

.custom-grid-pagination .current {
    background: #bfa068;
    color: #fff;
}

.custom-grid-separator {
    margin: 0 4px; 
    color: #ccc; 
}

/* =========================
   TABLET (768px - 991px)
   ========================= */

@media (max-width: 991px) {
    .custom-grid-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .custom-grid-img-wrap {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .custom-grid-list-img {
        flex: 0 0 160px; 
        height: 110px;
    }
}

/* =========================
   MOBILE PHONES (Up to 576px)
   ========================= */

@media (max-width: 576px) {
    .custom-grid-wrapper {
        padding: 0 15px;
    }

    .custom-grid-img-wrap {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .custom-grid-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .custom-grid-list-img {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    .custom-grid-title-main a {
        font-size: 22px;
    }

    .custom-grid-title-small {
        margin: 0.4em 0 !important;
    }

    .custom-grid-title-small a {
        font-size: 18px; /* Slightly larger text for mobile readability */
    }
}
/* blogsingle page css */
.single-post .author-bio{
	display:none;
}
.single-post .author-follow{
	display:none;
}
.social-share-buttons {
    margin: 30px 0;
}

.social-share-buttons h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.social-share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share-buttons a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Social Colors */
.share-facebook {
    background: #1877F2;
}

.share-instagram {
    background: #E4405F;
}

.share-linkedin {
    background: #0A66C2;
}

.share-whatsapp {
    background: #25D366;
}

.share-twitter {
    background: #000000;
}
/* .splide__track--draggable .post-thumbnail-inner img {
    height: 350px;
    object-fit: contain !important;
} */
.entry-related-carousel .post-thumbnail-inner {
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
}

.entry-related-carousel .post-thumbnail-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
a.hm_author{
	color: rgba(255, 255, 255, 0.5);
}
a.hm_author:hover{
	color: rgba(255, 255, 255, 0.5);
}
.van-single-post-meta{
    display:flex;
    gap:15px;
    align-items:center;
    margin:0 0 20px;
    font-size:14px;
    color:#666;
	font-weight:600;
}

.van-single-post-meta a{
    color:#666;
    text-decoration:none;
    font-weight:600;
}

.vantatva-post-meta a:hover{
    text-decoration:underline;
}
.pum-close {
    background-color: #264a3e !important;
}
