/*
Theme Name:  Custom Theme
Theme URI: 
Author: Socail Pie
Author URI: https://socialpie.io/
Text Domain: socail-pie-theme
Description:  Custom Theme Theme is a modernized take on an ever-popular WordPress layout â€” the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail.  Custom Theme will make your WordPress look beautiful everywhere.
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;800&family=Roboto+Mono:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500;700&display=swap');

:root{
    --body_col: #222;
    --light_orange: #FFDEC0;
    --primary_col: #FFCC00;;
    --primary_font: 'Inter', sans-serif;
    --secondary_font: 'Roboto Mono', monospace;
	--primary_bg: #314555;
	--secondary_bg: #FDE73C;
    // --text-color1 : #282828;
    // --primary_col_var: #D7FFF0;
    // --secondary_col: #00504D;
    // --heading_col: #171717;
    // --secondary_col_var : #F5F9F8;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
	font-family: var(--primary_font);
	color: var(--body_col);
}
.logo .custom-logo {
    max-width: 200px;
}
@media (max-width: 1399px) {
  body { font-size: 0.938em; }
}
@media (max-width: 1099px) {
  body { font-size: 0.875em; }
}

body a{
	color: var(--body_col);
}
img{
	width:100%;
	height:auto;
}
.bg-light-orange{
	background : var(--light_orange);
}
header.site_header {
  position: relative;
  background-color: #212121;
}
header #menu li {
	position: relative;
}
header #menu li a {
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s;
	color: #fff;
}
header #menu li.highlighted-menu a {
	background: var(--secondary_bg);
	padding-inline: 0.8em !important;
}
body header.site_header .mobile-menu {
  display: none;
}

.post_category {
    font-size: 0.88em;
    text-transform: uppercase;
    color: #DFB300;
    font-weight: 500;
    padding-block: 1em;
}
.articles-wrap .post_title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 23px;
    margin-bottom: 8px;
}
.section-head .heading {
    font-size: 2.281em;
    font-weight: 500;
}

@media (max-width: 1024px) {
  body header.site_header .mobile-menu {
    display: block;
  }
  body header.site_header .header_menu { display: none; }
}
body header.site_header .mobile-menu .mobile-menu-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  position: absolute;
  right: 5%;
  top: 0;
  outline: 0;
  bottom: 0;
}
body header.site_header .mobile-menu .mobile-menu-toggle > div:first-child {
  margin: 0 0.5em;
}
body header.site_header .mobile-menu .mobile-menu-toggle span {
  height: 2px;
  width: 1.3em;
  background: #ffffff;
  display: block;
  margin-bottom: 0.3em;
  margin-left: 0em;
  transform: rotate(0deg);
  transition: 0.4s;
}
body header.site_header .mobile-menu .mobile-menu-toggle span:last-child {
  margin-bottom: 0;
}
body header.site_header .mobile-menu .mobile-menu-toggle.close span:not(.label):nth-child(1) {
  transform: rotate(45deg);
  transition: 0.4s;
  position: relative;
  top: 6px;
}
body header.site_header .mobile-menu .mobile-menu-toggle.close span:not(.label):nth-child(2) {
  display: none;
}
body header.site_header .mobile-menu .mobile-menu-toggle.close span:not(.label):nth-child(3) {
  transform: rotate(-45deg);
  transition: 0.4s;
  position: relative;
  top: -2px;
}
body header.site_header .mobile-menu .mm-panel {
  display: none;
  position: absolute;
  top: 100%;
  z-index: 99;
  background: #fff;
  box-shadow: 2px 5px 10px #b64e414d;
  width: 88%;
  margin: 0 auto;
  left: 0;
  right: 0;
}
body header.site_header .mobile-menu .mm-panel .container {
  padding: 0;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper {
  padding: 0;
  display: block;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li {
  list-style: none;
  border-bottom: 1px solid #cfcfcf;
  position: relative;
  display: block;
  margin-right: 0;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li:last-child {
  border-bottom: 0;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.9em 0.7em;
  display: block;
  line-height: 1;
  letter-spacing: 1px;
  transition: 0.3s;
  color: var(--body_col);
  text-align: left;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li a:hover {
  background: var(--secondary_col);
  color: #fff;
  transition: 0.3s;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li a:after {
  display: none;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li .sub-menu-toggle {
  display: none;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li .chevron-child {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9em;
  border-left: 1px solid #cfcfcf;
  font-size: 1.5em;
  background: #fff;
  transition: 0.3s;
  color: #000;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li .chevron-child:hover {
  background: var(--secondary_col);
  transition: 0.3s;
  color: #fff;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li .chevron-child i {
  transform: rotate(-90deg);
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li > .sub-menu {
  display: none;
  padding-left: 8px;
  box-shadow: none;
  position: relative;
  padding: 0;
  padding-left: 0.7em;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li.open-sub > .sub-menu {
  display: block;
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper li.open-sub .chevron-child i {
  transform: rotate(-180deg);
}
.article-item:hover img {
    width: 108% !important;
    height: 108% !important;
}
.article_image img {
    transition: 0.3s all;
}
.article_image:not(.large_card,.list_card) a {
    overflow: hidden;
    max-height: 250px;
    min-height: 250px;
	height:1px;
}

a.read_more:hover {
    color: #424242;
    padding-left: 12px;
}
a.read_more {
    transition: 0.3s all;
}
.article_image a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #DFB300;
    transition: 0.4s all;
}
.article-item:hover .article_image a:after {
    width: 100%;
}
.post-content a {
    color: var(--bs-link-hover-color);
}
.object-cover {
    object-fit: cover;
}
.home header.site_header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
}
body header.site_header .mobile-menu .mm-panel ul.menu-wrapper .sub-menu {
  width: 100%;
}
footer .footer-socials a {
  border-radius: 50%;
  border: 1px solid #00000033;
  width: 64px;
  height: 64px;
  font-size: 1.25em;
}
.footer_logo img {
    max-width: 260px;
}
footer .footer-menus a {
  text-transform: uppercase;
  font-size: 0.875em;
  font-weight: 500;
}
footer .footer-menus li:first-child a {
    padding-left: 0 !important;
}
footer .footer-menus li:last-child a {
    padding-right: 0 !important;
}
footer .footer-bottom {
  font-size: 0.875em;
  font-weight: 500;
}
.btn_primary {
    color: #212121;
    background: var(--primary_col) !important;
    border: none;
    box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 0.5rem 2rem 0.8rem 2rem;
    text-transform: uppercase;
    font-weight: 700;
    min-width: 150px;
}

.floating-panel .to-top-btn {
    width: 60px;
    height: 60px;
	background: var(--primary_bg);
	opacity: 0.8;
	transition: all 0.3s;
}
.floating-panel .to-top-btn:hover {
	opacity: 1;
}
a:hover {
    color: #454545;
}
.post_excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}
a.btn_primary:hover {
    color: #fff;
    background: #393939 !important;
    border: none;
    box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.1);
}

@media(min-width:1000px){
    .large_card .article_image a {
        max-height: 382px;
        min-height: 382px;
        height: 1px;
    }
}

@media(max-width: 767px ) {
  footer .footer-socials a {
    width: 48px;
    height: 48px;
  }
  .container {
        width: 95%;
   }
  .hero h2 {
        font-size: 2rem;
    }
  .section-head .heading {
        font-size: 1.5em;
   }
   .btn_primary {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem 0.8rem 1.5rem;
    }
    .articles-wrap .post_title {
        font-size: 1.15rem;
        margin-bottom: 5px;
    }
    .post_category {
        padding-top: 0.9em;
        padding-bottom: 0.2em;
    }
    .articles_section .row.gy-4 >  div:nth-child(odd) {
        display: none;
    }
    .articles-wrap .border-bottom {
        border: unset !important;
    }
    .article_image:not(.large_card,.list_card) a {
        max-height: 220px;
        min-height: 200px;
    }
}