/*
Theme Name: Blogger Mag
Theme URI: 
Author: Themeansar
Author URI: https://themeansar.com
Description: Blogger Mag is a fast, modern, and customizable WordPress theme for news sites, magazines, and blogs. It features a mobile-friendly design, SEO optimization, multiple blog layouts, featured sections, and compatibility with Elementor and Gutenberg. Perfect for creating clean and engaging content websites. 
Version: 0.1
Tested up to: 6.9
Requires at least: 6.6
Requires PHP: 7.4
Tags: right-sidebar, flexible-header, custom-background, custom-header, custom-menu, editor-style, featured-images, footer-widgets,  theme-options, threaded-comments, rtl-language-support, translation-ready, full-width-template, custom-logo, blog, news
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl.html
Text Domain: blogger-mag
*/
/* ========= Blog ========= */
body {
  background-color: #efefef;
}
body,button,input,select,textarea {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: normal;
  text-transform: none;
  font-size: 17px;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  color: #666;
  background-color: #fff;
}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
  color: #000000;
}
textarea {
  height: 200px;
}
a {
  background-color: transparent;
  color: #ff184e;
}
a:active {
  outline: 0;
}
a:hover,a:active {
  color: #000;
}
select {
  background-clip: padding-box;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 0;
  color: #444;
  display: block;
  font-weight: 400;
  overflow: hidden;
  padding: 6px 12px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}
input[type="submit"],button {
  padding: 5px 35px;
  line-height: 30px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  transition: all 0.4s ease-in-out 0s;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  color: #ff184e;
  border-color: #ff184e;
}
input[type="submit"]:hover,button:hover,input[type="submit"]:focus,button:focus {
  transition: all 0.3s ease 0s;
  outline: none;
  background-color: #ff184e;
  color: #fff;
}
img,svg {
  vertical-align: middle;
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
/*---------------------------------------
	2.2.Typography        
-----------------------------------------*/
h1,.h1 {
  font-size: 34px;
  line-height: 1.3;
}
h2,.h2 {
  font-size: 32px;
  line-height: 1.3;
}
h3,.h3 {
  font-size: 28px;
  line-height: 1.3;
}
h4,.h4 {
  font-size: 24px;
  line-height: 1.3;
}
h5,.h5 {
  font-size: 20px;
  line-height: 1.3;
}
h6,.h6 {
  font-size: 16px;
  line-height: 1.3;
}
img.alignnone {
  width: 100%;
  height: auto;
}
img.size-large {
  width: 100%;
  height: auto;
}
.wpcf7-form label {
  display: inherit;
}
mark,.mark {
  padding: 2px 5px;
  border-radius: 3px;
}
.alignright {
  text-align: right;
}
.alignleft {
  text-align: left;
}
.aligncenter {
  text-align: center;
}
blockquote {
  position: relative;
  width: 100%;
  border-width: 0 0 0 5px;
  border-style: solid;
  padding: 20px;
}
blockquote::before {
  content: "\f122";
  display: table;
  float: left;
  font-family: "dashicons";
  font-size: 28px;
  margin-top: 6px;
  font-weight: normal;
  width: 6%;
}
blockquote p {
  font-style: italic;
  width: 94%;
  display: table;
  font-weight: normal;
  line-height: 1.5;
  font-size: 20px;
}
img {
  height: auto;
  max-width: 100%;
}
.comment-meta .avatar {
  float: left;
  margin-right: 10px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
ol.comment-list {
  list-style: none;
}
.wrapper {
  margin: 0 auto;
}
/* -------------------------- Main Header -------------------------- */
.main_nav div ul {
  display: flex;
  padding: 0;
  list-style-type: none;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px;
}
.blogger-mag-header {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding-block-start: 1rem;
  padding-block-end: 1rem;
  position: relative;
}
.blogger-mag-header-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30%;
}
.blogger-mag-header-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
}
.blogger-mag-header-menu ul.blogger-magnu {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.blogger-mag-header-menu ul.blogger-mag-menu li {
  position: relative;
  display: flex;
}
.blogger-mag-header-menu ul.blogger-mag-menu li a {
  display: block;
  padding: 8px 15px;
  width: 100%;
  font-weight: 500;
  color: #111;
}
.blogger-mag-header-menu ul.blogger-mag-menu li ul {
  background: #fff;
  display: none;
  min-width: 150px;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 100%;
}
.blogger-mag-header-menu ul.blogger-mag-menu li.menu-item-has-children:after {
  display: block;
  content: "▾";
  font-size: 1.2rem;
  align-items: center;
  color: #666;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
}
.blogger-mag-header-menu ul.blogger-mag-menu li ul li.menu-item-has-children:after {
  transform: translateY(-50%) rotate(-90deg);
  right: 10px;
}
.blogger-mag-header-menu ul.blogger-mag-menu li.menu-item-has-children {
  padding-inline-end: 10px;
}
.blogger-mag-header-menu ul.blogger-mag-menu li:hover>ul {
  display: block;
}
.blogger-mag-header-menu ul.blogger-mag-menu li:focus-within>ul {
  display: block;
}
.blogger-mag-header .blogger-mag-header-menu {
  justify-content: flex-end;
}
.blogger-mag-header-menu ul.blogger-mag-menu li ul ul {
  left: 100%;
  top: 0;
}
/* ----- Blog Post ----- */
.blogger-mag-blog-post {
  margin-bottom: 50px;
  overflow: hidden;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 30px;
}
.blogger-mag-blog-post a:has(.wp-post-image) {
  display: block;
  flex: 0 0 40%;
}
.blogger-mag-blog-post .wp-post-image {
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.blogger-mag-blog-post .blogger-mag-title a {
  color: #000000;
}
.blogger-mag-blog-category a {
  font-size: 13px;
  padding: 4px 10px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  border-radius: 16px;
  border-width: 1px;
  border-style: solid;
  position: relative;
  z-index: 1;
  transition: 0.35s;
  color: #4c4c4c;
  border-color: #ccc;
}
.post-meta a {
  font-size: 15px;
  color: #4c4c4c;
  font-weight: 500;
}
.blogger-mag-blog-category {
  margin-top: 0px;
  margin-bottom: 20px;
}
.blogger-mag-blog-post .blogger-mag-title,
.blogger-mag-title.single {
  margin-bottom: 1rem;
  margin-top: 0.25rem;
  font-size: 1.8rem;
}
.blogger-mag-blog-navigation {
  text-align: center;
}
.blogger-mag-footer {
  text-align: center;
  padding: 15px 0;
}
.blogger-mag-blog-post .post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0;
  margin-top: 25px;
}
.blogger-mag-blog-post .read-more {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid;
  text-transform: capitalize;
  border-radius: 50px;
  color: #000000;
  border-color: #ccc;
}
.site-logo a,.blogger-mag-blog-post .read-more a,.blogger-mag-blog-post .blogger-mag-title a {
  text-decoration: none;
}
.single-section .blogger-mag-blog-post-box .post-meta {
  margin-bottom: 1.5rem;
}
.single-section .blogger-mag-blog-post-box>.wp-post-image {border-radius: 12px;}
/* Dromdown menu Depth */
.blogger-mag-menu>.menu-item>.sub-menu>.menu-item>.sub-menu>.menu-item>.sub-menu {
  top: 100%;
  left: 0;
}
.blogger-mag-menu>.menu-item>.sub-menu>.menu-item>.sub-menu>.menu-item>.sub-menu>.menu-item .sub-menu {
  left: unset;
  right: 100%;
}
/* Width All Devices like Container */
.blogger-mag-footer:not(.dynamic-footer),.blogger-mag-header:not(.dynamic-header),body:not([class*=elementor-page-]) .main-section {
  margin-inline-start: auto;
  margin-inline-end: auto;
}
/* footer */
footer .copyright p,footer .copyright a {
  font-size: 15px;
  line-height: 20px;
}
@media (max-width: 991px) {
  .blogger-mag-header {
    flex-direction: column;
  }
    .blogger-mag-header-menu ul.blogger-mag-menu {
    justify-content: center;
  }
    .site-title {
    text-align: center;
  }
    /*  */
  .blogger-mag-blog-post {
    flex-direction: column;
  }
}
@media (max-width: 575px) {
    .blogger-mag-footer:not(.dynamic-footer),  .blogger-mag-header:not(.dynamic-header),  body:not([class*=elementor-page-]) .main-section {
    padding-inline-start: 10px;
    padding-inline-end: 10px
  }
    .blogger-mag-blog-post .post-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
    .blogger-mag-blog-post .read-more {
    margin-top: 20px;
  }
}
@media (min-width: 576px) {
    .blogger-mag-footer:not(.dynamic-footer),  .blogger-mag-header:not(.dynamic-header),  body:not([class*=elementor-page-]) .main-section,  .wrapper {
    max-width: 500px
  }
    .site-footer.footer-full-width .footer-inner,  .site-header.header-full-width .header-inner {
    max-width: 100%
  }
}
@media (min-width: 768px) {
    .blogger-mag-footer:not(.dynamic-footer),  .blogger-mag-header:not(.dynamic-header),  body:not([class*=elementor-page-]) .main-section,  .wrapper {
    max-width: 600px
  }
    .site-footer.footer-full-width,  .site-header.header-full-width {
    max-width: 100%
  }
}
@media (min-width: 992px) {
    .blogger-mag-footer:not(.dynamic-footer),  .blogger-mag-header:not(.dynamic-header),  body:not([class*=elementor-page-]) .main-section,  .wrapper {
    max-width: 800px
  }
    .site-footer.footer-full-width,  .site-header.header-full-width {
    max-width: 100%
  }
}
@media (min-width: 1200px) {
    .blogger-mag-footer:not(.dynamic-footer),  .blogger-mag-header:not(.dynamic-header),  body:not([class*=elementor-page-]) .main-section,  .wrapper {
    max-width: 1140px;
  }
    .site-footer.footer-full-width,  .site-header.header-full-width {
    max-width: 100%
  }
}