/*
Theme Name: Classic Charity NGO
Description: Classic Charity NGO is a versatile, modern, and responsive theme designed for non-profit organizations, NGOs, charity foundations, social initiatives, and governmental or community-driven groups. Ideal for fundraising platforms, online donation websites, volunteer management sites, philanthropy portals, relief work organizations, community service hubs, social impact projects, awareness campaigns, child welfare programs, animal rescue organizations, disaster relief initiatives, education support foundations, healthcare charities, environmental conservation NGOs, and nonprofit event management, this theme delivers a clean, minimal, and elegant design with a professional, user-friendly, and retina-ready interface across all devices. It supports non-profit growth with dedicated sections for campaigns, donations, testimonials, event calendars, and strong call-to-action elements to encourage users to give and participate. Built with SEO-friendly, performance-optimized code and seamless social media integration, it enhances visibility and engagement. The theme is fully compatible with essential plugins such as GiveWP for donation and fundraising management, Contact Form 7 for inquiries, and Mailchimp for email marketing, enabling organizations to efficiently manage campaigns, track contributions, and communicate with supporters. Classic Charity NGO provides a high-performing and visually appealing platform to showcase causes, strengthen trust, and create meaningful impact on a global scale.
Version: 0.5.0
Tested up to: 6.9
Requires PHP: 5.6
Requires at least: 5.0
License: GNU General Public License v2 or later
Text Domain: muslims-charity-ngo
Tags: blog, portfolio, education, one-column, two-columns, three-columns, four-columns, grid-layout, left-sidebar, right-sidebar, custom-logo, post-formats, featured-images, full-width-template, custom-colors, editor-style, flexible-header, footer-widgets, wide-blocks, custom-header, translation-ready, custom-background, custom-menu, sticky-post, threaded-comments, rtl-language-support, theme-options

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Classic Charity NGO WordPress Theme has been created by classictemplate (theclassictemplates.com), 2021.
Classic Charity NGO WordPress Theme is released under the terms of GNU GPL
*/

*{
  margin:0;
  padding:0;
}
:root {
  --first-theme-color: #fd9a01;
}
body{
  margin:0;
  padding:0;
  font-size:15px;
  color: #303030;
  font-family: 'poppins', sans-serif;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}
img{
  border:none;
  margin:0;
  padding:0;
  height:auto;
  max-width:100%;
}
a{
  color:var(--first-theme-color);
  text-decoration:none;
  word-wrap: break-word;
}
a:hover{
  color:var(--first-theme-color);
  text-decoration:none;
}
ol,ul{
  margin:0;
  padding:0;
}
.wp-caption,
.wp-caption-text,
.sticky,
.gallery-caption,
.aligncenter{
  margin:0;
  padding:0;
  max-width:100% !important;
}
.sticky{
  background: #ededed;
}
.entry-content ol li,
.entry-content ul li{
  margin-left:15px;
}
.entry-content a, .contentsecwrap a{
  text-decoration: underline;
}
ul li ul,
ul li ul li ul,
ol li ol, ol li ol li ol{
  margin-left:10px;
}
h1,h2,h3,h4,h5,h6, #sidebar .widget-title{
  color:#303030;
  font-weight:600;
  word-wrap: break-word;
  line-height: 1.2;
  font-family: "Pridi", serif;
  letter-spacing: 1px;
}
h1{
  font-size:32px;
}
h2{
  font-size:30px;
}
h3{
  font-size:24px;
}
h4{
  font-size:20px;
}
h5{
  font-size:18px;
}
h6{
  font-size:14px;
}
.clear{
  clear:both;
}
.alignnone{
  width:100% !important;
}
img.alignleft, .alignleft{
  float:left;
  margin:0 15px 0 0;
  padding:5px;
  border:1px solid #cccccc;
}
img.alignright, .alignright{
  float:right;
  margin:0 0 0 15px;
  padding:5px;
  border:1px solid #cccccc;
}
.left{
  float:left;
}
.right{
  float:right;
}
#comment-nav-above .nav-previous,
#comment-nav-below .nav-previous{
  float:none !important;
  margin:10px 0;
}
h2#reply-title {
  padding-top: 20px;
}
ol.comment-list li{
  list-style:none;
  margin-bottom:5px;
}
p{
  color:#303030;
}
.boxlayout{
  width: 1140px;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
  box-shadow: 0 -8px 8px #8e8e8e;
}
/*post formate*/
.format-gallery .wp-block-gallery, .format-video figure{
  margin-bottom: 15px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
a:focus,input[type='submit']:focus,input[type='search']:focus,textarea:focus,input[type='name']:focus,input[type='email']:focus,.toggle-nav button:focus,a.close-button:focus,#commentform input#email:focus, #commentform input#url:focus,#commentform input#author:focus, #commentform textarea:focus, #commentform input#eazycfc_captcha:focus{
	outline: -webkit-focus-ring-color auto 1px;
}
.main-nav ul.sub-menu li a:focus, .main-nav ul ul a:focus,.main-nav a:focus{
  border:2px solid var(--first-theme-color);
  outline: none;
}
input:focus{
  border:2px solid #303030;
}
.textwidget p a,.entry-content p a,.entry-summary a{
  text-decoration: underline !important;
}
.comment-content p a, .description p a {
  text-decoration: underline !important;
}
/* = wide block css
-------------------------------------- */
/*.alignwide {
  margin-left  : -80px;
  margin-right : -80px;
}
.alignfull {
  margin-left  : calc( -100vw / 2 + 100% / 2 );
  margin-right : calc( -100vw / 2 + 100% / 2 );
  max-width    : 100vw;
}
.alignfull img {
  width: 100vw;
}*/
.single-post .alignfull, .single-post .alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/*block css*/
.site-main .alignfull, .site-main .alignwide{
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px;
}
.site-main .alignfull img{
  width: 100% !important
}
.site-main .alignnone, .site-main .aligncenter{
  width: auto !important;
}
.site-main .alignleft{
  margin-right: 10px;
}
.postsec-list .wp-block-button a:hover, .site-main .wp-block-button a:hover,
.site-main .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover,
.postsec-list .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover{
  background-color: #303030 ;
  color: #fff !important;
}
.postsec-list .wp-block-button.is-style-squared a, .site-main .wp-block-button.is-style-squared a{
  border-radius: 0px !important;
}
.postsec-list .wp-block-button__link, .site-main .wp-block-button__link{
  background: var(--first-theme-color);
  color:#fff !important;
  border-radius: 30px;
  font-weight: 500 !important;
}
.postsec-list .wp-block-button.is-style-outline a{
  background:none;
  border:1px solid var(--first-theme-color) !important;
  color: #fff !important;
}
.site-main .wp-block-button.is-style-outline a{
  background:  var(--first-theme-color);
  color: #fff !important;
  outline: none !important;
}
.site-main img.alignleft, .site-main .alignleft, .site-main img.alignright, .site-main .alignright,
.postsec-list img.alignleft, .postsec-list .alignleft, .postsec-list img.alignright, .postsec-list .alignright{
  border:none;
}
.tags a {
  text-decoration: none!important;
  font-weight: 400;
  color: #fff !important;
  background: var(--first-theme-color);
  box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
  text-shadow: none;
  line-height: 3.5;
  padding: 8px;
  margin: 5px;
  border-radius: 5px;
  font-size: 15px;
}
.tags a:hover{
  background-color: #303030;
  color: #fff !important;
}
/*scroll to top*/
#button{
  background: var(--first-theme-color);
  color: #fff;
  cursor: pointer;
  width: fit-content;
  padding: 5px;
  padding-top: 22px;
  height: 60px;
  aspect-ratio: 1;
  text-align: center;
  position: fixed;
  border-radius: 50%;
  bottom: 60px;
  right: 20px;
  z-index: 9999;
  -moz-border-radius: 0;
  font-size: 15px;
  display: none;
}
/* = pre loader css
-------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 999999;
}
#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(images/status.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}
/*sticky header*/
.header.main.sticky-head{
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important;
  z-index: 9999;
  box-shadow: 2px 2px 10px 0px #303030;
  padding: 10px 20px !important;
  margin: 0;
  background-color: #fff;
}
.admin-bar .page-template-template-home-page .header.main.sticky-head,.admin-bar .main.sticky-head{
  top: 24px;
}
.toggle-navis-sticky-on.mobile.sticky-head{
  position: static;
}
h1.site-title, p.site-title{
  font-size: 30px;
  margin-bottom: 0;
  font-weight: bold;
}
p.site-title a, h1.site-title a {
  color: #303030;
  font-weight: 600;
  font-size: 30px;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-family: "Pridi", serif;
}
p.site-title{
  line-height: 1.3;
}
p.site-title a:hover, h1.site-title a:hover{
  color: var(--first-theme-color);
}
.page-template-template-home-page p.site-title a:hover, .page-template-template-home-page h1.site-title a:hover{
  color: var(--first-theme-color);
}
.classic-charity-ngo-logo span.site-description{
  font-size: 13px;
  font-weight: 500;
  color:#303030;
}
/*header*/
.main-header {
    border-bottom: 1px solid #dddddd;
}
.header-top {
  background-color: var(--first-theme-color);
}
.time, .email a{
  font-size: 14px;
  color: #303030;
  font-weight: 500;
}
.email i{
  font-size: 15px;
}
.header .contact-us a, .slide-btn a{
  padding: 13px 28px;
  background-color: var(--first-theme-color);
  color: #000;
  display: inline-block;
  font-size: 15px;
  text-transform: capitalize;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
}
.header .contact-us a:hover{
  background-color: #303030 !important;
  color: #fff;
}
.social-icons a{
  color: #303030;
  font-size: 18px;
}
.social-icons a:hover, .email:hover, .email a:hover{
  color:#fff;
}
/* = menus css */
.main-navigation{
  background-color: #faf8f4;
  padding: 10px 0;
}
#mySidenav {
  display: inline;
  background-color: #303030;
}
.main-nav ul {
  margin: 0;
  padding: 0;
}
.main-nav li {
  display: inline-block;
  position: relative;
}
.main-nav a {
  padding: 15px 20px;
  font-size: 15px;
  display: block;
  text-transform: capitalize;
  color:#303030;
  font-weight: 500;
}
.main-nav a:hover{
  color:#303030;
}
.main-nav .sub-menu a{
  color:#303030;
}
.main-nav .menu-item-has-children > a::after {
  content: '\f107';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900; 
  display: inline-block;
  width: 0;
  height: 0;
  position: absolute;
  top: auto;
  bottom: auto;
  right: auto;
  margin-left: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 15px;
}
.main-nav .menu-item-has-children.current-menu-parent > a::after,
.main-nav .menu-item-has-children.current-menu-ancestor > a::after,
.main-nav .menu-item-has-children.current_page_parent > a::after {
  transform: translateY(-50%) rotate(0deg);
}
.main-nav ul ul a:hover {
  color: var(--first-theme-color);
}
.main-nav ul ul {
  position: absolute;
  background: #fff;
  min-width: 250px;
  z-index: 9999;
  top: 98%;
  line-height: 30px;
  opacity: 0;
}
.main-nav ul ul ul {
  left: 100%;
  top: 0%;
}
.main-nav ul ul a {
  color: #1f1f1f;
  border: none;
  padding: 10px;
  margin-top: 5px;
}
.main-nav ul ul li {
  float: none;
  display: block;
  text-align: left;
  border-left: none;
  border-right: none !important;
  padding: 0;
  border-bottom: solid 1px #f1f1f1;
}
.main-nav li ul {
  border-top: 3px solid var(--first-theme-color) !important;
  border: 1px solid #EEE;
  box-shadow: 0px 0px 12px -3px rgba(0, 0, 0, 0.4);
}
.main-nav .menu > ul > li.highlight {
  background-color: #006ccc;
}
.main-nav .menu > ul > li.highlight:hover {
  background: transparent;
}
.main-nav .menu-item-has-children:not(.off-canvas):hover > .sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas):focus > .sub-menu,
.main-nav .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas)[focus-within] > .sub-menum,
.main-nav .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
  opacity: 1;
}
.main-nav ul li:hover > ul {
  opacity: 1;
}
.main-nav li.menu-item-has-children:hover > ul,
.main-nav li.menu-item-has-children:focus > ul,
.main-nav li.menu-item-has-children.focus > ul {
  opacity: 1;
}
.main-nav .sub-menu {
  opacity: 0;
  left: -9999px;
  z-index: 99999;
  width: 200px !important;
}
ul.sub-menu ul.sub-menu {
  left: 200px !important;
}
.main-nav .menu-item-has-children:not(.off-canvas):hover > .sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas):focus > .sub-menu,
.main-nav .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas)[focus-within] > .sub-menum,
.main-nav .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu {
  display: block;
  left: 0;
  margin-top: 0;
  opacity: 1;
  width: auto;
  min-width: 100%;
}
ul.sub-menu ul.sub-menu {
  left: -9999px;
}
.toggle-nav,
a.close-button {
  display: none;
}
/*page css*/
.page-header {
  margin-bottom: 20px;
}
.page-header h1{
  color: #303030;
  margin-bottom: 10px;
  font-size: 35px;
  word-wrap: break-word;
}
.page-header span, .page-header span a {
  font-size: 18px;
  word-wrap: break-word;
  display: inline;
  margin-bottom: 10px;
}

/* = slider section css
-------------------------------------- */
#slider-cat{
  background-image: url(images/slider-bg.png);
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 99;
  height: 650px;
  background-size: 100% 100%;
}
#slider-cat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}
#slider-cat .sliderbox {
  position: absolute;
  top: 45%; 
  transform: translateY(-50%);
  left: 10px;
  right: 10px;
  bottom: 0;
  z-index: 9999;
}
#slider-cat .text-content{
  width: 700px;
}
#slider-cat .text-content h1 a{
  color: var(--first-theme-color);
  font-size: 55px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
  letter-spacing: 2px;
}
#slider-cat .text-content h1 a:hover{
  color: #fff;
}
#slider-cat .text-content p.slider-subhead{
  font-size: 33px;
  font-weight: 500;
  color: #fff;
  font-family: "Pridi", serif;
  letter-spacing: 2px;
}
.slide-btn a:hover{
  background-color: #fff;
}
#slider-cat .text-content p{
  color:#fff;
  font-size: 15px;
  line-height: 1.6;
}
#slider-cat .imagebox {
  background: var(--first-theme-color);
  border-bottom: 12px solid var(--first-theme-color);
  border-radius: 50%;
  width: 360px;
  height: 370px;
}
#slider-cat .imagebox img{
  object-fit: cover;
  height: 360px;
  width: 360px !important;
  border-radius:50%;
}
#slider-cat .sliderbtn {
    display: flex;
}
#slider-cat .text-content .slider-text{
  font-size: 16px;
  font-weight: 700;
  color: var(--first-theme-color);
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  -webkit-transform-style: preserve-3d;
}
#slider-cat .owl-dots {
  position: absolute;
  top: 50%; 
  bottom: 0;
  transform: translateY(-50%); 
  right: 0; 
  left: auto; 
  width: auto; 
  text-align: center;
  display: flex;
  flex-direction: column; 
  align-items: center;
}
#slider-cat .owl-dots .owl-dot {
  background-color: #fff;
  border-radius: 50%;
  height: 10px;
  margin: 12px 0; 
  width: 10px;
  border: none;
}
#slider-cat .owl-dots .owl-dot.active {
  background-color: #fff;
  outline: 1px solid #fff;
  outline-offset: 3px;
}

#slider-cat .owl-prev,
#slider-cat .owl-next {
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  font-size: 30px;
  background: transparent;
  color: #fff;
  border: none;
}
#slider-cat .owl-prev {
  right: auto;
  left: 2%;
}
#slider-cat .slider-img-col{
  display: flex;
  align-items: center;
  justify-content: center;
}
/* = services css
-------------------------------------- */
#services .service-content i.main-icon{
  font-size: 75px;
  padding: 70px;
  border-radius: 50%;
  color: #fff;
  width: 200px;
  height: 200px;
}
#services .heart-icon.first {
  position: absolute;
  top: 10%;
  left: auto;
  right: 100%;
  font-size: 22px;
  transform: rotate(30deg);
}
#services .heart-icon.second {
  position: absolute;
  top: 20%;
  right: 85%;
  left: auto;
  font-size: 38px;
  transform: rotate(328deg);
}
#services .serv-counter{
  color: #303030;
  font-size: 55px;
  font-family: "Pridi", serif;
  font-weight: 600;
}
#services .serv-title{
  font-size: 18px;
  color: #9d9d9d;
  text-transform: capitalize;
}
#services .bg-color-1 {
  background-color: #4b77e0;
}
#services .bg-color-2 {
  background-color: #e33c34;
}
#services .bg-color-3 {
  background-color: #36a1b1;
}
#services .bg-color-0 {
  background-color: #f3b32b
}
#services .heart-icon.heart-color-1 {
  color: #4b77e0;
}
#services .heart-icon.heart-color-2 {
  color:#e33c34;
}
#services .heart-icon.heart-color-3 {
  color: #36a1b1;
}
#services .heart-icon.heart-color-0 {
  color:#f3b32b;
}

/*single post metafields*/
.single-post .serv-content{
  color: var(--first-theme-color);
  font-size: 18px;
  font-weight: 600;
  text-transform: capitalize;
}
.single-post .social-icon i{
  font-size: 22px;
  color:#303030;
  margin-right: 15px;
}
.single-post .social-icon i:hover, .single-post h3 a:hover{
  color: var(--first-theme-color);
}
/* = Page lay out css
-------------------------------------- */
.postsec-list input.search-field,
.postsec-list input.search-submit {
  padding: 15px 10px;
}
.postsec-list .search-form input.search-submit{
  background-color: var(--first-theme-color);
  color: #fff;
  border: 2px solid var(--first-theme-color);
}
.contentsecwrap{
  padding:35px 0;
  clear: both;
}
.contentsecwrap p{
  margin-bottom:20px;
}
#sidebar aside.widget{
  padding: 20px;
  border-radius: 5px;
}
.listarticle{
  border-radius: 5px;
}
.listarticle h2 a{
  color: #303030;
  font-size: 30px;
  text-decoration: none;
  word-wrap: break-word;
}
.listarticle h2 a:hover{
  color: var(--first-theme-color);
}
.single_title{
  margin-bottom: 15px;
  font-size: 20px;
}
.post-thumb{
  margin: 15px 0 25px !important;

  border-radius: 10px !important;

  overflow: hidden !important;
}
.post-thumb img{
  display: block !important;

  width: 100% !important;

  height: auto !important;

  max-width: 100% !important;

  object-fit: contain !important;
}
.nav-links .page-numbers{
  background-color: #303030;
  color: #fff !important;
  padding:10px 15px;
  text-decoration: none;
}
span.page-numbers.current, .nav-links .page-numbers:hover{
  background-color: var(--first-theme-color);
  color: #fff;
}

/* label css
---------------------------------------------- */
label{
  margin-bottom: 0;
}
#footer .search-form label, #sidebar .search-form label{
  width: 100%;
}
aside.widget ul, .entry-summary li{
  list-style:none;
}
.listarticle .alignfull, .listarticle .alignwide{
  margin-left: 0;
  margin-right: 0;
}
#recentcomments li{
  background-image:none !important;
}
#recentcomments li a{
  padding-left:0px !important;
}
.textwidget select,table{
  width:100%;
}
nav.navigation.pagination {
    margin: 30px auto;
}
.footer-social i, .footer-social a{
  color: #000 !important;
}
/*--------------------------------------------------------------
## Sidebar Style 
--------------------------------------------------------------*/
#sidebar input[type="text"],
#sidebar input[type="search"],
#footer input[type="search"]{
  border: solid 2px var(--first-theme-color);
  padding: 10px;
  width: 100%;
}
#footer input[type="search"]{
  margin-bottom: 10px;
}
#sidebar input.search-submit,
#footer input.search-submit,
form.woocommerce-product-search button {
  padding: 10px;
  width: 100%;
  border:none;
  background: var(--first-theme-color);
  font-size: 15px;
  text-transform: uppercase;
  color: #fff;
}
input.search-submit{
  background-color: var(--first-theme-color);
  color: #fff;
  border:none;
  padding: 16px 20px !important;
}
.widget-area .widget::after,
.widget-area .widget::before {
    clear: both;
    content: "";
    display: table;
}
#sidebar .widget-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    position: relative;
    text-align: left;
    text-transform: capitalize;
}
 .entry-title h2:before{
 content: "\f185";
    display: inline-block;
    font-family: FontAwesome;
    margin-right: 5px;
}
#sidebar ul {
    list-style: outside none none;
    padding: 0;
    margin: 0;
}
#sidebar ul ul {
    border-bottom:none;
    padding-bottom: 0;
}
#sidebar ul li {
  padding: 5px;
  padding-left: 30px;
  padding-top: 5px;
  position: relative;
  color: #303030;
}
#sidebar ul li::before {
  color: var(--first-theme-color) !important;
  content: "\f192";
  display: inline-block;
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 7px;
  left: 0;
  position: absolute;
  top: 6px;
  margin-left: 2px;
}
#sidebar .widget a,
#sidebar .widget a:visited {
  color: #303030;
  text-decoration: none;
}
#sidebar .widget a:hover,
#sidebar .widget a:active {
  color: var(--first-theme-color);
}
/* #sidebar .widget a:active {
  color: var(--first-theme-color);
}
#sidebar .widget a:hover{
  color: #000000 !important;
} */
#sidebar .widget {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 4px #cfcfcf;
    border-bottom: 3px solid var(--first-theme-color);
    margin-bottom: 30px;
}
#sidebar .widget:hover{
    box-shadow: 0 0 20px #cfcfcf;
}
#sidebar .widget_nav_menu ul li{
  padding: 3px 15px 5px 13px;
}
#sidebar .widget_nav_menu ul li a{ 
  line-height: 2.5;
}
#sidebar .wp-block-search__label{
  font-size:30px;
  color: #303030;
  font-weight: 600;
  word-wrap: break-word;
  line-height: 1.2;
  font-family: "Pridi", serif;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
#sidebar .wp-block-search__inside-wrapper .wp-block-search__button{
  background-color: var(--first-theme-color);
 }
/*Clearing floats css*/
.page-links {
  float: unset !important;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin:20px auto;
}
.page-links a, .page-links span{
  padding: 10px 15px;
  background-color: var(--first-theme-color);
  color: #fff !important;
}
.page-links .post-page-numbers.current, .page-links a:hover{
  background-color: #303030;
  color:#fff !important;
}
.page .page-links a {
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
}
/*calendar widget*/
.widget_calendar {
    text-align: center;
}
.widget_calendar caption {
    background: var(--first-theme-color) none repeat scroll 0 0;
    color: #fff;
    padding: 5px;
}
.widget_calendar .pad {
    background: #eeeeee none repeat scroll 0 0;
}
.widget_calendar #today {
    background: var(--first-theme-color) none repeat scroll 0 0;
    color: #fff;
}
.widget .tagcloud a {
    border: 1px solid #dddddd;
    color: #001837;
    display: inline-block;
    font-size: 16px !important;
    line-height: 1.5;
    margin-bottom: 5px;
    padding: 5px 15px;
}
.widget .tagcloud a:hover {
    border: 1px solid var(--first-theme-color);
    color: var(--first-theme-color);
}
.widget_categories li > a,
.widget_archive li > a {
    display: inline-block;
    min-width: 85%;
}
.search-form .search-submit:focus {
    box-shadow: inherit;
    outline: none;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 1.5em 1.5em;
}
img {
    height: auto;
    max-width: 100%;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}
td, th {
  border: 1px solid #ddd;
  padding: 5px;
  color:#252525;
}
#footer td, #footer th{
  color: #fff;
}
select {
    width: 100%;
    padding: 5px;
}
#footer .tagcloud a {
  border: solid 1px #fff;
  font-size: 12px !important;
  margin: 2px 0;
  display: inline-block;
  color: #fff;
  padding: 5px;
  font-weight: 500;
}
.tagcloud a:hover{
  background-color: var(--first-theme-color);
  border-color: var(--first-theme-color) !important;
}
#sidebar .tagcloud a:hover{
  background-color: transparent !important;
}
/*footer*/
#footer ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
#footer ul li {
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 3px 15px 3px 13px;
  position: relative;
  color: #fff;
}
#footer ul li::before {
  color: #fff;
  content: "\f105";
  display: inline-block;
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 14px;
  left: 0;
  position: absolute;
  top: 3px;
}
#footer a .footer-widget-area {
  float: left;
  padding: 0 25px;
  width: 25%;
}
#footer a,
#footer p {
  color:#fff;
}
#footer .copywrap a:hover{
  color:#fff !important;
}
#footer h6{
  color:var(--first-theme-color);
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.postsec-list article.hentry,
.postsec-list .listarticle {
    background: #ffffff none repeat scroll 0 0;
    box-shadow: 0 0 4px #cfcfcf;
    padding: 30px;
    position: relative;
    border-radius: 12px;
    margin-bottom: 30px;
}
.postsec-list article.hentry:hover,
.postsec-list .listarticle:hover{
    box-shadow: 0 0 20px #cfcfcf;
}
/* = Footer css
------------------------------------------- */
#footer input.search-submit{
  background: var(--first-theme-color);
  color: #fff;
}
#footer{
 background-color: #1B4F72 !important;
  color: #ff0000;
}
#footer h1, #footer h2,#footer h3,#footer h4,#footer h5,#footer h6 {
  color: #ff0000;
}
.ftr-4-box{
  width:21%;
  float:left;
  margin:0 4% 2% 0;
  box-sizing:border-box;
  padding:20px;
}
.widget-column-4 {
  margin-right:0px !important;
}
.ftr-4-box h5{
  font-size:28px;
  color:var(--first-theme-color);
  margin-bottom:0;
  border-bottom:1px solid #303030;
  padding-bottom:20px;
}
.ftr-4-box h5 span{
  font-weight:300;
  color: #3dd4e5;
}
.ftr-4-box ul{
  margin:0;
  padding:0;
  list-style:inside disc;
}
.ftr-4-box ul li {
  display:block;
  padding:6px 0;
  border-bottom:1px solid #303030;
}
.ftr-4-box ul li a,.ftr-4-box a.readmore span {
  color:#ff0000;
}
.ftr-4-box p{
  margin-bottom:15px;
}
.copywrap {
  font-size: 18px;
  padding: 14px 10px !important;
  background-color: #228B22;
}
.copywrap p, .copywrap p a{
  color:#ff0000 !important;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 16px;
}
#footer .copywrap a:hover{
  color:#303030;
}
.footer-widget .widget{
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.footer-widget .widget_calendar h3{
  text-align: left;
}
.entry-content .tags a{
  color:#fff !important;
}
.copywrap .copywrap-info.text-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color:#c23b22
}
.copywrap .copywrap-info.center-content {
  justify-content: center;
  text-align: center;
}
.search-no-results .search-form label{
	margin-bottom: 2px
}
.search-no-results .entry-title{
  margin-bottom: 15px;
}

#footer .widget_calendar #today {
  background: #ffffff none repeat scroll 0 0;
}
#footer .widget_calendar #today a{
  color: var(--first-theme-color);
}
/* Mobile Portrait View */
@media screen and (max-width: 767px) {
  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea {
    width: 100%;
  }
  .ftr-4-box{
    width: 100%;
  }
  .boxlayout{
    width: 270px;
  }
  .admin-bar .page-template-template-home-page .header.sticky-head, .admin-bar .sticky-head{
    top:0;
  }
  .classic-charity-ngo-logo, .toggle-nav{
   text-align: center;
  }
  .sidenav .close-button{
    margin-bottom: 20px !important; 
  }
  .admin-bar .page-template-template-home-page .header.main.sticky-head, .admin-bar .main.sticky-head{
    top: 0;
  }
  tr.wc-block-cart-items__row {
    gap: 0.4em;
  }
  td.wc-block-cart-item__total{
    padding-left: 0px !important;
  }
  li.wc-block-grid__product{
    max-width:100% !important;
    float:none;
  }
  .toggle-nav button{
    font-size: 13px;
    padding: 10px 22px;
  }
  .contact-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #slider-cat .sliderbtn{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #slider-cat .text-content{
    padding: 0 3em;
  }
  #slider-cat .text-content p{
    display: none;
  }
  #slider-cat .text-content h1 a{
    font-size: 20px;
  }
  #slider-cat .text-content h1{
    text-align: center;
    line-height: 0.7;
  }
  #slider-cat .sliderbox{
    left: 0;
    right: 0;
    top: 40%;
    padding: 5px 18px;
  }
  #slider-cat{
    height: 500px;
  }
  #slider-cat .imagebox{
    width: 200px;
    height: 212px;
  }
  #slider-cat .imagebox img{
    width: 200px !important;
    height: 205px;
  }
  .header .contact-us a, .slide-btn a{
    font-size: 12px;
    padding: 10px 20px;
  }
  #slider-cat .owl-dots{
    left: 95%;
    right: 0;
  }
  .copywrap .copywrap-info{
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .copywrap .copywrap-info p,
  .copywrap .footer-social {
    flex: 1 1 100%; 
    justify-content: center;
    align-items: center;
  }
  .copywrap .footer-social{
    margin-top: 10px;
  }
}
@media screen and (min-width: 768px) and (max-width: 999px) {
  .is-sticky-on.mobile.sticky-head{
    top: 40px;
  }
  .admin-bar .page-template-template-home-page .header.sticky-head, .admin-bar .sticky-head{
    top: 47px;
  }
  .admin-bar .page-template-template-home-page .header.main.sticky-head, .admin-bar .main.sticky-head{
    top:30px;
  }
  .boxlayout{
    width: 650px;
  }
  .ftr-4-box{
    width: 28%;
  }
  tr.wc-block-cart-items__row {
    gap: 1em;
  }
  li.wc-block-grid__product{
    max-width: 48% !important;
    float: left;
    clear: both;
    margin: 0 1% 2.992em;
    flex: 1 0 48% !important;
  }
  .toggle-nav button{
    font-size: 17px;
    padding: 10px 25px;
  }
  #slider-cat .sliderbox .text-content h1 a{
    font-size: 32px;
  }
  #slider-cat .sliderbox .text-content p{
    font-size: 12px;
  }
  #slider-cat .text-content p.slider-subhead{
    font-size: 18px;
  }
  #slider-cat{
    height: 450px;
  }
  #slider-cat .sliderbox{
    left: 5%;
    right: 5%;
    top: 40%;
  }
  #slider-cat .imagebox{
    width: 220px;
    height: 228px;
  }
  #slider-cat .imagebox img{
    width: 220px !important;
    height: 221px;
  }
  #services .service-content i.main-icon{
    font-size: 43px;
    padding: 50px;
  }
  #slider-cat .text-content{
    width: 500px;
  }
  #slider-cat .owl-dots{
    top: 45%;
  }
  .header .contact-us a, .slide-btn a{
    padding: 11px 25px;
    font-size: 15px;
  }
  #services .heart-icon.first{
    font-size: 18px;
  }
  #services .heart-icon.second{
    font-size: 32px;
  }
  #services .serv-counter{
    font-size: 40px;
  }
  #services .serv-title{
    font-size: 13px;
  }
}
@media screen and (max-width: 1000px){
  .main-nav ul ul, .main-nav .sub-menu{
    opacity: 1;
  }
  .classic-charity-ngo-logo span.site-description{
    font-size: 12px;
  }
  .page-template-template-home-page .main-nav a,.main-nav .sub-menu a, .page-template-template-home-page .header.main.sticky-head .main-nav a{
    color: #fff;
  }
  .main-nav ul{
    text-align: left;
  }
  .main-nav ul.sub-menu li a:focus, .main-nav ul ul a:focus,.main-nav a:focus{
    border:2px solid #fff;
    outline: none;
  }
  .main-nav .sub-menu{
      margin-left: 25px;
  }
  .main-nav li ul{
    border:none;
    box-shadow: none;
    border-top: none !important;
  }
  .main-nav .sub-menu li{
    border-bottom: none;
  }
  .toggle-nav button {
    font-weight: 600;
    border: none;
    margin: 10px 0;
    color: #000;
    display: inline-block;
    background-color: var(--first-theme-color);
    border-radius: 30px;
  }
  .sidenav {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 99999; 
    left: 0;
    top: -110%;
    overflow-x: hidden; 
    transition: 0.5s top ease-in-out;
    overflow-y: scroll;
    background: var(--first-theme-color);
    visibility: hidden; 
    opacity: 0.9;
  }
  .main-nav ul li a:hover{
    color: #fff;
  }
  .main-nav li {
    padding: 0 15px;
    display: block;
    border-bottom: solid 1px #fff;
  }
  body.show-main-menu .sidenav{
    visibility: visible;top: 0;transition: 0.5s top ease-in-out;
  }
  .sidenav .close-button {
    margin-bottom:30px !important;font-size: 36px; display: block !important;color: #fff; padding: 10px !important;}
  .sidenav #site-navigation {
    width: 100%; 
  }
  .toggle-nav span{
    font-size:30px; cursor:pointer; text-align: right;
  }
  .main-nav ul ul li,.menubar .nav ul li,.toggle-nav{display: block;}
  .main-nav ul li a{
    padding: 8px;text-decoration: none;font-size: 15px;color: #fff;display: block;float: none;margin: 5px 0;border-right: none; 
  }
  .main-nav ul li ul li a:before{
    content:"\00BB \00a0";
  }
  .main-nav ul.sub-menu a:hover{
    color:#303030;
  }
  .main-nav ul ul{
    position: static; width: 100%; background: transparent;border-top-width: 0px; border-bottom-width: 0px;box-shadow: none; }
  .main-nav ul ul a{
    border-bottom: none; padding-left: 40px;
  }
  .main-nav ul ul ul.sub-menu a{
    padding-left: 40px;
  }
  #mySidenav {
    text-align: left; display: inline;
  }
  .main-menu {
    padding: 0em;
  }
  .main-nav ul.sub-menu>li>a:before {
    content: unset;
  }
  .main-nav ul.sub-menu>li>a:hover:before{
    opacity: 0;left: 0px;width: 0px;
  }
  #slider-cat .text-content{
    width: 100%;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1110px) {
  .admin-bar .page-template-template-home-page .header.sticky-head, .admin-bar .sticky-head{
    top: 32px;
  }
  .admin-bar .page-template-template-home-page .header.main.sticky-head, .admin-bar .main.sticky-head{
    top: 30px;
  }
  tr.wc-block-cart-items__row {
    gap: 1em;
  }
  #slider-cat .sliderbox{
    left: 0;
    right: 0;
  }
  #slider-cat .text-content{
    width: 500px;
  }
  #slider-cat .imagebox{
    width: 300px;
    height: 310px;
  }
  #slider-cat .imagebox img{
    width: 300px !important;
    height: 305px;
  }
}
@media screen and (max-width: 320px){
  .woocommerce ul.products li{
    width: 100% !important;
  }
}
@media screen and (min-width:1700px) and (max-width:1900px){
  .container{
    max-width: 1520px;
  }
}
@media screen and (min-width:1920px) {
  .container{
    max-width: 1620px;
  }
}
/* mg-* homepage image sizing now lives in additional.css only —
   duplicate/contradictory !important rules removed from here so
   that file stays the single source of truth. */
/* =========================================================
   MUSLIM'S GUARDIAN
   FORCE WORDPRESS MENU TO ONE HORIZONTAL LINE
   ========================================================= */

/* Main menu containers */
#site-navigation,
.site-navigation,
.main-navigation,
.primary-navigation,
.menu-primary-container,
.nav-menu-container {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}


/* THE ACTUAL WORDPRESS MENU UL */
#site-navigation > ul,
#site-navigation .menu,
#site-navigation .nav-menu,
.main-navigation > ul,
.main-navigation .menu,
.main-navigation .nav-menu,
.primary-navigation > ul,
.primary-navigation .menu,
.primary-navigation .nav-menu,
.menu-primary-container > ul {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    white-space: nowrap !important;

    box-sizing: border-box !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
}


/* EVERY MENU ITEM */
#site-navigation li,
.main-navigation li,
.primary-navigation li,
.menu-primary-container li,
.menu li {
    display: flex !important;

    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;

    float: none !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    white-space: nowrap !important;
}


/* MENU LINKS */
#site-navigation li > a,
.main-navigation li > a,
.primary-navigation li > a,
.menu-primary-container li > a,
.menu li > a {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: max-content !important;

    padding: 12px 18px !important;

    margin: 0 !important;

    white-space: nowrap !important;

    word-break: keep-all !important;
    overflow-wrap: normal !important;

    text-decoration: none !important;

    line-height: 1.2 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   REMOVE OLD FLOAT / BLOCK MENU BEHAVIOR
   ========================================================= */

#site-navigation ul,
#site-navigation li,
.main-navigation ul,
.main-navigation li {
    float: none !important;
}


/* Force first-level menu into one row */
#site-navigation > ul > li,
.main-navigation > ul > li,
.primary-navigation > ul > li,
.menu-primary-container > ul > li {
    display: inline-flex !important;
    flex: 0 0 auto !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    #site-navigation > ul,
    #site-navigation .menu,
    #site-navigation .nav-menu,
    .main-navigation > ul,
    .main-navigation .menu,
    .main-navigation .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;

        overflow: visible !important;
    }

    #site-navigation li > a,
    .main-navigation li > a {
        padding: 13px 17px !important;
        font-size: 17px !important;
    }
}


/* =========================================================
   LARGE SCREEN
   ========================================================= */

@media (min-width: 1400px) {

    #site-navigation li > a,
    .main-navigation li > a {
        padding-left: 19px !important;
        padding-right: 19px !important;
        font-size: 18px !important;
    }
}


/* =========================================================
   TABLET + MOBILE
   ========================================================= */

@media (max-width: 991px) {

    #site-navigation > ul,
    #site-navigation .menu,
    #site-navigation .nav-menu,
    .main-navigation > ul,
    .main-navigation .menu,
    .main-navigation .nav-menu {
        justify-content: flex-start !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;
    }

    #site-navigation li > a,
    .main-navigation li > a {
        padding: 11px 14px !important;
        font-size: 15px !important;
    }
}


/* =========================================================
   HIDE SCROLLBAR
   ========================================================= */

#site-navigation ul::-webkit-scrollbar,
.main-navigation ul::-webkit-scrollbar,
.primary-navigation ul::-webkit-scrollbar {
    height: 0 !important;
}

#site-navigation ul,
.main-navigation ul,
.primary-navigation ul {
    scrollbar-width: none !important;
}


/* =========================================================
   PREVENT BANGLA MENU TEXT FROM BREAKING
   ========================================================= */

#site-navigation a,
.main-navigation a,
.primary-navigation a,
.menu-primary-container a {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}
/* =========================================================
   MUSLIM'S GUARDIAN
   FINAL HOME GRID + IMAGE + ONE-LINE MENU FIX
   ========================================================= */


/* =========================================================
   1. MAIN CONTENT WIDTH
   ========================================================= */

.site-main,
.main-content,
.content-area,
.home-content,
.home-container,
.news-container {
    box-sizing: border-box;
}


/* =========================================================
   2. সর্বশেষ খবর
   4 COLUMNS × 2 ROWS
   ========================================================= */

/* Common possible latest-news grid selectors */
.latest-grid,
.latest-news-grid,
.latest-posts-grid,
.latest-stories-grid,
.latest-news .news-grid,
.latest-stories .news-grid,
.section-latest .news-grid {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

    grid-auto-rows: auto !important;

    gap: 14px !important;

    width: 100% !important;

    box-sizing: border-box !important;
}


/* Latest News Cards */
.latest-grid > *,
.latest-news-grid > *,
.latest-posts-grid > *,
.latest-stories-grid > *,
.latest-news .news-grid > *,
.latest-stories .news-grid > *,
.section-latest .news-grid > * {
    width: auto !important;

    min-width: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   3. SPECIAL REPORT
   2 COLUMNS × 2 ROWS
   ========================================================= */

.special-grid,
.special-report-grid,
.special-reports-grid,
.special-posts-grid,
.special-report .news-grid,
.special-reports .news-grid,
.section-special .news-grid {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    grid-auto-rows: auto !important;

    gap: 14px !important;

    width: 100% !important;

    box-sizing: border-box !important;
}


/* Special Report Cards */
.special-grid > *,
.special-report-grid > *,
.special-reports-grid > *,
.special-posts-grid > *,
.special-report .news-grid > *,
.special-reports .news-grid > *,
.section-special .news-grid > * {
    width: auto !important;

    min-width: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   4. ALL NEWS CARD IMAGE CONTAINERS
   REMOVE BLANK SPACE
   ========================================================= */

.latest-grid .post-thumbnail,
.latest-grid .post-image,
.latest-grid .thumbnail,
.latest-grid .news-image,

.latest-news-grid .post-thumbnail,
.latest-news-grid .post-image,
.latest-news-grid .thumbnail,
.latest-news-grid .news-image,

.latest-posts-grid .post-thumbnail,
.latest-posts-grid .post-image,
.latest-posts-grid .thumbnail,
.latest-posts-grid .news-image,

.special-grid .post-thumbnail,
.special-grid .post-image,
.special-grid .thumbnail,
.special-grid .news-image,

.special-report-grid .post-thumbnail,
.special-report-grid .post-image,
.special-report-grid .thumbnail,
.special-report-grid .news-image,

.special-reports-grid .post-thumbnail,
.special-reports-grid .post-image,
.special-reports-grid .thumbnail,
.special-reports-grid .news-image {
    width: 100% !important;

    height: 150px !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: hidden !important;

    position: relative !important;

    display: block !important;

    box-sizing: border-box !important;
}


/* =========================================================
   5. ACTUAL FEATURE IMAGES
   IMAGE WILL FILL THE COVER
   ========================================================= */

.latest-grid img,
.latest-news-grid img,
.latest-posts-grid img,
.latest-stories-grid img,

.special-grid img,
.special-report-grid img,
.special-reports-grid img,
.special-posts-grid img,

.latest-grid .post-thumbnail img,
.latest-news-grid .post-thumbnail img,
.special-grid .post-thumbnail img,
.special-report-grid .post-thumbnail img {
    display: block !important;

    width: 100% !important;

    height: 100% !important;

    max-width: none !important;

    max-height: none !important;

    margin: 0 !important;

    padding: 0 !important;

    object-fit: cover !important;

    object-position: center center !important;

    box-sizing: border-box !important;
}


/* Remove image link spacing */
.latest-grid .post-thumbnail a,
.latest-grid .post-image a,
.latest-news-grid .post-thumbnail a,
.latest-news-grid .post-image a,
.special-grid .post-thumbnail a,
.special-grid .post-image a,
.special-report-grid .post-thumbnail a,
.special-report-grid .post-image a {
    display: block !important;

    width: 100% !important;

    height: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    line-height: 0 !important;
}


/* =========================================================
   6. CARD ITSELF
   ========================================================= */

.latest-grid article,
.latest-news-grid article,
.latest-posts-grid article,
.latest-stories-grid article,

.special-grid article,
.special-report-grid article,
.special-reports-grid article,
.special-posts-grid article {
    overflow: hidden !important;

    min-width: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   7. REMOVE UNWANTED IMAGE SPACING
   ========================================================= */

.latest-grid figure,
.latest-news-grid figure,
.latest-posts-grid figure,
.latest-stories-grid figure,

.special-grid figure,
.special-report-grid figure,
.special-reports-grid figure,
.special-posts-grid figure {
    width: 100% !important;

    height: 150px !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: hidden !important;

    line-height: 0 !important;
}


/* =========================================================
   8. MAKE FEATURE IMAGE HEIGHT RESPONSIVE
   ========================================================= */

@media (min-width: 1200px) {

    .latest-grid .post-thumbnail,
    .latest-grid .post-image,
    .latest-grid figure,
    .latest-news-grid .post-thumbnail,
    .latest-news-grid .post-image,
    .latest-news-grid figure {
        height: 145px !important;
    }

    .special-grid .post-thumbnail,
    .special-grid .post-image,
    .special-grid figure,
    .special-report-grid .post-thumbnail,
    .special-report-grid .post-image,
    .special-report-grid figure {
        height: 175px !important;
    }
}


/* =========================================================
   9. WORDPRESS MENU — FORCE ONE HORIZONTAL LINE
   ========================================================= */

/* Navigation wrapper */
#site-navigation,
.site-navigation,
.main-navigation,
.primary-navigation,
.nav-primary,
.primary-menu-wrap,
.menu-primary-container {
    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    min-width: 0 !important;

    float: none !important;

    clear: both !important;

    overflow: visible !important;

    box-sizing: border-box !important;
}


/* Actual WordPress UL */
#site-navigation > div > ul,
#site-navigation > ul,
#site-navigation .menu,
#site-navigation .nav-menu,

.main-navigation > div > ul,
.main-navigation > ul,
.main-navigation .menu,
.main-navigation .nav-menu,

.primary-navigation > div > ul,
.primary-navigation > ul,
.primary-navigation .menu,
.primary-navigation .nav-menu,

.nav-primary > ul,
.nav-primary .menu,

.menu-primary-container > ul {
    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    max-width: none !important;

    min-width: max-content !important;

    height: auto !important;

    margin: 0 !important;

    padding: 0 !important;

    float: none !important;

    clear: none !important;

    list-style: none !important;

    white-space: nowrap !important;

    box-sizing: border-box !important;

    overflow: visible !important;
}


/* Every menu item */
#site-navigation li,
.main-navigation li,
.primary-navigation li,
.nav-primary li,
.menu-primary-container li {
    display: inline-flex !important;

    flex: 0 0 auto !important;

    flex-direction: row !important;

    align-items: center !important;

    width: auto !important;

    max-width: none !important;

    min-width: max-content !important;

    height: auto !important;

    float: none !important;

    clear: none !important;

    margin: 0 !important;

    padding: 0 !important;

    white-space: nowrap !important;

    box-sizing: border-box !important;
}


/* Menu links */
#site-navigation li > a,
.main-navigation li > a,
.primary-navigation li > a,
.nav-primary li > a,
.menu-primary-container li > a {
    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: auto !important;

    min-width: max-content !important;

    max-width: none !important;

    height: auto !important;

    padding: 12px 16px !important;

    margin: 0 !important;

    float: none !important;

    white-space: nowrap !important;

    word-break: keep-all !important;

    overflow-wrap: normal !important;

    text-decoration: none !important;

    line-height: 1.2 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   10. REMOVE THEME'S OLD VERTICAL MENU RULES
   ========================================================= */

#site-navigation ul ul,
.main-navigation ul ul {
    flex-direction: column;
}


/*
   IMPORTANT:
   Only submenu should be vertical.
   Main menu MUST remain horizontal.
*/

#site-navigation > ul,
#site-navigation > div > ul,
.main-navigation > ul,
.main-navigation > div > ul {
    flex-direction: row !important;

    flex-wrap: nowrap !important;
}


/* =========================================================
   11. DESKTOP MENU
   ========================================================= */

@media (min-width: 1100px) {

    #site-navigation > ul,
    #site-navigation > div > ul,
    #site-navigation .menu,
    #site-navigation .nav-menu,

    .main-navigation > ul,
    .main-navigation > div > ul,
    .main-navigation .menu,
    .main-navigation .nav-menu {

        display: flex !important;

        flex-direction: row !important;

        flex-wrap: nowrap !important;

        justify-content: center !important;

        align-items: center !important;

        width: 100% !important;

        overflow: visible !important;
    }

    #site-navigation li > a,
    .main-navigation li > a {
        font-size: 17px !important;

        padding-left: 15px !important;

        padding-right: 15px !important;
    }
}


/* =========================================================
   12. VERY LARGE SCREEN
   ========================================================= */

@media (min-width: 1500px) {

    #site-navigation li > a,
    .main-navigation li > a {
        font-size: 18px !important;

        padding-left: 18px !important;

        padding-right: 18px !important;
    }
}


/* =========================================================
   13. MOBILE
   ========================================================= */

@media (max-width: 1099px) {

    #site-navigation,
    .main-navigation {
        overflow-x: auto !important;

        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;
    }

    #site-navigation > ul,
    #site-navigation > div > ul,
    .main-navigation > ul,
    .main-navigation > div > ul {
        justify-content: flex-start !important;

        width: max-content !important;

        min-width: 100% !important;

        overflow-x: visible !important;

        flex-wrap: nowrap !important;
    }

    #site-navigation li > a,
    .main-navigation li > a {
        font-size: 15px !important;

        padding: 10px 13px !important;
    }
}


/* =========================================================
   14. PREVENT HEADER FLEX FROM SHRINKING MENU
   ========================================================= */

.site-header .main-navigation,
.site-header .site-navigation,
.header-main .main-navigation,
.header-inner .main-navigation {
    flex: 0 0 100% !important;

    width: 100% !important;

    max-width: 100% !important;
}


/* =========================================================
   15. MAIN MENU TEXT
   ========================================================= */

#site-navigation a,
.main-navigation a,
.primary-navigation a {
    white-space: nowrap !important;

    word-break: keep-all !important;

    overflow-wrap: normal !important;

    hyphens: none !important;
}
/* =========================================================
   MUSLIM'S GUARDIAN — FINAL HOMEPAGE
   ========================================================= */


/* =========================================================
   LATEST NEWS
   4 COLUMNS × 2 ROWS
   ========================================================= */

.mg-latest-grid {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

    grid-template-rows: repeat(2, auto) !important;

    gap: 14px !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


.mg-latest-card {
    display: block !important;

    width: 100% !important;

    min-width: 0 !important;

    overflow: hidden !important;

    background: #fff !important;

    border-radius: 8px !important;

    box-sizing: border-box !important;

    text-decoration: none !important;
}


/* Latest image */
.mg-latest-card .mg-latest-image {
    display: block !important;

    width: 100% !important;

    height: 145px !important;

    max-width: none !important;

    margin: 0 !important;

    padding: 0 !important;

    object-fit: cover !important;

    object-position: top !important;

    border: 0 !important;

    border-radius: 0 !important;
}


/* Latest title */
.mg-latest-title {
    margin: 0 !important;

    padding: 9px 10px 11px !important;

    font-size: 15px !important;

    line-height: 1.45 !important;

    font-weight: 600 !important;

    color: #303030 !important;

    background: #fff !important;

    box-sizing: border-box !important;
}


.mg-latest-card:hover .mg-latest-title {
    color: var(--first-theme-color) !important;
}


/* =========================================================
   SPECIAL REPORT
   2 COLUMNS × 2 ROWS
   ========================================================= */

.mg-featured-grid {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    grid-template-rows: repeat(2, auto) !important;

    gap: 14px !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


.mg-featured-card {
    display: block !important;

    width: 100% !important;

    min-width: 0 !important;

    overflow: hidden !important;

    background: #fff !important;

    border-radius: 8px !important;

    box-sizing: border-box !important;

    text-decoration: none !important;
}


/* Special image */
.mg-featured-card .mg-featured-image {
    display: block !important;

    width: 100% !important;

    height: 175px !important;

    max-width: none !important;

    margin: 0 !important;

    padding: 0 !important;

    object-fit: cover !important;

    object-position: top !important;

    border: 0 !important;

    border-radius: 0 !important;
}


/* Special content */
.mg-featured-content {
    padding: 10px 12px 12px !important;

    background: #fff !important;

    box-sizing: border-box !important;
}


.mg-featured-title {
    margin: 7px 0 5px !important;

    font-size: 17px !important;

    line-height: 1.45 !important;

    color: #303030 !important;
}


.mg-featured-excerpt {
    margin: 0 !important;

    font-size: 13px !important;

    line-height: 1.5 !important;

    color: #666 !important;
}


/* =========================================================
   REMOVE IMAGE BLANK SPACE
   ========================================================= */

.mg-latest-card img,
.mg-featured-card img {
    aspect-ratio: auto !important;
}


/* =========================================================
   FINAL ONE-LINE DESKTOP MENU
   ========================================================= */

#site-navigation.main-nav {
    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    padding: 0 !important;

    margin: 0 !important;

    background: transparent !important;

    overflow: visible !important;

    box-sizing: border-box !important;
}


/* ONLY the primary menu */
#site-navigation .mg-primary-menu {
    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    max-width: 100% !important;

    min-width: 0 !important;

    height: auto !important;

    margin: 0 !important;

    padding: 0 !important;

    list-style: none !important;

    float: none !important;

    white-space: nowrap !important;

    overflow: visible !important;

    box-sizing: border-box !important;
}


/* Top-level menu items */
#site-navigation .mg-primary-menu > li {
    display: flex !important;

    flex: 0 0 auto !important;

    width: auto !important;

    min-width: 0 !important;

    float: none !important;

    margin: 0 5px !important;

    padding: 0 !important;

    list-style: none !important;

    white-space: nowrap !important;

    position: relative !important;
}


/* Menu links — each one styled as a sky-blue button */
#site-navigation .mg-primary-menu > li > a {
    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    flex: 0 0 auto !important;

    width: auto !important;

    min-width: max-content !important;

    padding: 10px 18px !important;

    margin: 6px 0 !important;

    background-color: #38b6ff !important;

    color: #ffffff !important;

    border-radius: 6px !important;

    font-size: 15px !important;

    font-weight: 600 !important;

    line-height: 1.2 !important;

    text-decoration: none !important;

    white-space: nowrap !important;

    word-break: keep-all !important;

    overflow-wrap: normal !important;

    box-sizing: border-box !important;

    transition: background-color .2s ease !important;
}


#site-navigation .mg-primary-menu > li > a:hover {
    background-color: #1a9ae6 !important;

    color: #ffffff !important;
}


/* =========================================================
   SUBMENU
   ========================================================= */

#site-navigation .mg-primary-menu .sub-menu {
    display: block !important;

    position: absolute !important;

    top: 100% !important;

    left: 0 !important;

    z-index: 99999 !important;

    min-width: 210px !important;

    width: auto !important;

    margin: 0 !important;

    padding: 5px 0 !important;

    background: #fff !important;

    list-style: none !important;

    opacity: 0 !important;

    visibility: hidden !important;

    pointer-events: none !important;

    transform: translateY(5px) !important;

    transition: all .2s ease !important;

    box-shadow: 0 5px 20px rgba(0,0,0,.15) !important;
}


#site-navigation .mg-primary-menu > li:hover > .sub-menu,
#site-navigation .mg-primary-menu > li:focus-within > .sub-menu {
    opacity: 1 !important;

    visibility: visible !important;

    pointer-events: auto !important;

    transform: translateY(0) !important;
}


#site-navigation .mg-primary-menu .sub-menu li {
    display: block !important;

    width: 100% !important;

    float: none !important;

    margin: 0 !important;

    padding: 0 !important;

    white-space: normal !important;
}


#site-navigation .mg-primary-menu .sub-menu li a {
    display: block !important;

    width: 100% !important;

    padding: 10px 14px !important;

    color: #303030 !important;

    white-space: nowrap !important;

    box-sizing: border-box !important;
}


/* =========================================================
   HEADER — MENU GETS ITS OWN FULL-WIDTH ROW
   ========================================================= */

/*
 * Your old header puts logo + menu + contact in
 * Bootstrap columns 3 + 7 + 2.
 *
 * This makes the navigation a separate full-width row.
 */

.main-header .header > .container > .row {
    display: flex !important;

    flex-wrap: wrap !important;
}


/* Logo */
.main-header .header > .container > .row > .col-lg-3 {
    flex: 0 0 100% !important;

    max-width: 100% !important;

    text-align: left !important;
}


/* Menu column */
.main-header .header > .container > .row > .col-lg-7 {
    flex: 0 0 100% !important;

    max-width: 100% !important;

    width: 100% !important;

    padding-left: 0 !important;

    padding-right: 0 !important;
}


/* Contact column */
.main-header .header > .container > .row > .col-lg-2 {
    display: none !important;
}


/* Logo — left-aligned instead of centered, pulled further to the edge */
.classic-charity-ngo-logo {
    text-align: left !important;

    margin-bottom: 8px !important;

    padding-left: 0 !important;
}

@media (min-width: 1001px) {
    .classic-charity-ngo-logo {
        margin-left: -12px !important;
    }
}


/* =========================================================
   LOGO SIZE (enlarged 20%: 74px -> 89px desktop, 58px -> 70px mobile)
   ========================================================= */

.classic-charity-ngo-logo img.custom-logo {
    max-height: 89px !important;

    width: auto !important;
}

@media (max-width: 767px) {
    .classic-charity-ngo-logo img.custom-logo {
        max-height: 70px !important;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1001px) {

    .main-header .header {
        padding-top: 10px !important;

        padding-bottom: 0 !important;
    }

    .mg-latest-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .mg-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #site-navigation .mg-primary-menu > li > a {
        padding-left: 13px !important;

        padding-right: 13px !important;

        font-size: 16px !important;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1000px) {

    .mg-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .mg-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #site-navigation .mg-primary-menu {
        justify-content: flex-start !important;

        width: max-content !important;

        min-width: 100% !important;
    }

    #site-navigation {
        overflow-x: auto !important;

        overflow-y: hidden !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mg-latest-grid {
        grid-template-columns: 1fr !important;
    }

    .mg-featured-grid {
        grid-template-columns: 1fr !important;
    }

    .mg-latest-card .mg-latest-image {
        height: 190px !important;
    }

    .mg-featured-card .mg-featured-image {
        height: 200px !important;
    }

    #site-navigation {
        overflow-x: auto !important;

        overflow-y: hidden !important;
    }

    #site-navigation .mg-primary-menu {
        justify-content: flex-start !important;

        width: max-content !important;

        min-width: 100% !important;
    }

    #site-navigation .mg-primary-menu > li > a {
        font-size: 14px !important;

        padding: 10px 13px !important;
    }
}

/* =========================================================
   MAKKAH LIVE TV — SIDEBAR WIDGET
   ========================================================= */

.mg-live-tv-widget {
    background: #fff !important;

    border-radius: 10px !important;

    overflow: hidden !important;

    margin-bottom: 25px !important;

    box-shadow: 0 0 8px rgba(0,0,0,.08) !important;
}

.mg-live-tv-widget .widget-title {
    display: flex !important;

    align-items: center !important;

    gap: 8px !important;

    background-color: #0b6e2f !important;

    color: #ffe600 !important;

    margin: 0 !important;

    padding: 12px 15px !important;

    font-size: 16px !important;
}

.mg-live-dot-badge {
    display: inline-block !important;

    width: 9px !important;

    height: 9px !important;

    border-radius: 50% !important;

    background: #ff2d2d !important;

    animation: mg-pulse 1.4s infinite !important;
}

.mg-live-tv-frame {
    position: relative !important;

    width: 100% !important;

    padding-top: 56.25% !important;

    background: #000 !important;
}

.mg-live-tv-frame iframe {
    position: absolute !important;

    top: 0 !important;

    left: 0 !important;

    width: 100% !important;

    height: 100% !important;

    border: 0 !important;
}

.mg-live-tv-caption {
    margin: 0 !important;

    padding: 10px 15px !important;

    font-size: 13px !important;

    color: #666 !important;

    text-align: center !important;
}

.mg-live-tv-caption a {
    color: #0b6e2f !important;

    font-weight: 600 !important;

    text-decoration: underline !important;
}

/* =========================================================
   HOMEPAGE PAGINATION
   Below "বিশেষ প্রতিবেদন" — page numbers + prev/next
   ========================================================= */

.mg-pagination {
    display: flex !important;

    flex-wrap: wrap !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 8px !important;

    margin: 30px 0 10px !important;

    padding-top: 20px !important;

    border-top: 1px solid #e6e6e6 !important;
}

.mg-pagination .page-numbers {
    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    min-width: 38px !important;

    height: 38px !important;

    padding: 0 12px !important;

    background-color: #303030 !important;

    color: #fff !important;

    border-radius: 6px !important;

    text-decoration: none !important;

    font-size: 14px !important;

    font-weight: 600 !important;
}

.mg-pagination .page-numbers.current,
.mg-pagination .page-numbers:hover {
    background-color: var(--first-theme-color) !important;

    color: #fff !important;
}

.mg-pagination .page-numbers.dots {
    background: transparent !important;

    color: #666 !important;
}

/* =========================================================
   POST VIEWS BADGE
   ========================================================= */

.post-views,
.mg-post-views
.mg-badge {
    display: inline-flex;
    align-items: center;
    color: { color: #595959; }
	{ background: #0b6b3a; color: #fff; }
}

.mg-latest-card .mg-post-views,
.mg-featured-card .mg-post-views {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 13px;
    color: #777;
}

.mg-featured-card .mg-post-views {
    color: rgba(255, 255, 255, 0.8);
}

.mg-latest-card .mg-post-views i,
.mg-featured-card .mg-post-views i {
    color: var(--first-theme-color, #fd9a01);
}


/* =========================================================
   FOLLOW WIDGET
   ========================================================= */

.mg-follow-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.mg-follow-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 15px;
}

.mg-follow-count i {
    color: var(--first-theme-color, #fd9a01);
}

.mg-follow-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mg-follow-form input[type="email"] {
    flex: 1 1 140px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.mg-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--first-theme-color, #fd9a01);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.mg-follow-btn:hover {
    opacity: 0.9;
}

.mg-follow-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.mg-follow-response {
    margin: 10px 0 0;
    font-size: 13px;
    color: #2a8a3e;
}

.mg-follow-response.mg-follow-error {
    color: #c0392b;
}


/* =========================================================
   END
   ========================================================= */
