/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Old */
.single.single-post .content_wrapper p,  .single.single-post .content_wrapper ul { margin-bottom:35px; }
.single.single-post .content_wrapper a.button { margin-bottom:40px !important; }
.single.single-post .content_wrapper ul li { margin-bottom:20px; }
.single.single-post .content_wrapper h3 { margin-top: 40px; }
.single.single-post .the_content_wrapper em {
    text-align: center;
    display: inherit; }

.single-post .section-post-comments {
    display: none;
}

#text-2 { text-align:right; }

@media (max-width:767px) {
.custom-sec { padding-top:50px !important; padding-bottom:140px !important;}
}

/* --------------------------------------------------- */

body.mobile-side-slide { overflow-x: hidden; } /* body-gradient fix */

.wrapper { position: relative; box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: 0 30px; }

.envato-logo-text { margin: 0 5px; vertical-align: middle; top: -1px; position: relative; }

p.xsmall-text { font-size:12px; line-height: 1.5; }
p.small-text { font-size:14px; line-height: 1.5; }
p.big-text,
p.large-text { font-size:19px; line-height: 1.5; font-weight: 300; }
p.xlarge-text { font-size:22px; line-height: 1.5; }
strong{font-weight:600}
em{font-style:italic;font-weight:300}

.text-primary { color: #0089f7 !important; }
.text-gradient-primary { color: #0089f7 !important; background: linear-gradient(to top right, #0089F7 0%, #09B4FD 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.be{ color: #0089f7; }


/* Header */
a.logo-link { display: block; line-height: 0; }
.mfn-header-scrolled .mfn-header-tmpl { box-shadow: 0px 10px 10px 0px rgba(58, 63, 67, 0.12); }

.single-post .mfn-header-tmpl:hover { background-color: #fff; }
.single-post:not(.mfn-header-scrolled) .mfn-header-tmpl:not(:hover) .logo-blog { fill: #FFF; }
.single-post:not(.mfn-header-scrolled) .mfn-header-tmpl:not(:hover) .mcb-section .mcb-wrap .mfn-header-menu .mfn-menu-li > .mfn-menu-link { color: #fff; }
.single-post:not(.mfn-header-scrolled) .mfn-header-tmpl:not(:hover) .mcb-section .mcb-wrap .mcb-item-982b1cdc4 .icon-wrapper i { color: #fff; }

.page-id-2384 .mfn-header-tmpl:hover { background-color: #fff; }
.page-id-2384:not(.mfn-header-scrolled) .mfn-header-tmpl:not(:hover) .logo-blog { fill: #FFF; }
.page-id-2384:not(.mfn-header-scrolled) .mfn-header-tmpl:not(:hover) .mcb-section .mcb-wrap .mfn-header-menu .mfn-menu-li > .mfn-menu-link { color: #fff; }
.page-id-2384:not(.mfn-header-scrolled) .mfn-header-tmpl:not(:hover) .mcb-section .mcb-wrap .mcb-item-982b1cdc4 .icon-wrapper i { color: #fff; }

@media only screen and (min-width: 778px) {
  .single-post:not(.mfn-header-scrolled) .mfn-header-tmpl:not(:hover) .logo-theme {
    fill: #fff;
  }
}

@media only screen and (max-width: 767px) {
  #Intro .intro-inner {
    padding: 150px 30px 100px !important;
  }
}

/* Subheader */
#Subheader { display: none; }
body.category-wordpress #Subheader,
body.category-web-design #Subheader{ display: block; }


/* Body gradient */
.body-gradient { width: clamp(500px, 50vw, 1000px); height: clamp(500px, 50vw, 1000px); border-radius: 100%; position: absolute; z-index: -1; }
.body-gradient1 { background: radial-gradient(#008AFA 0%, transparent 70%); filter: blur(180px); left: 0%; top: 0%; transform: translate(-50%,-50%); opacity: .3; }
.body-gradient2 { background: radial-gradient(#98C3D8 0%, transparent 70%); filter: blur(180px); right: 0%; top: 0%; transform: translate(60%,-44%) }
.single-post .body-gradient { display: none; }

/* Hero */
.hero { display: none; padding: 260px 0 170px; position: relative; overflow: hidden; }
.hero .wrapper { max-width: 900px; text-align: center; z-index: 2; }
.hero .wrapper .mfn-badge-group { margin-bottom: 30px; }
.hero .wrapper h1 { font-size: clamp(26px, 5vw, 60px); line-height: 1.2; margin-bottom: 0; }
.hero .hero-icon { display: inline-block; }
.hero .hero-icon:before{ content: ""; display: inline-flex; height: clamp(26px, 5vw, 50px); width: clamp(26px, 5vw, 50px); background-color: #fff; border-radius: 8px; vertical-align: middle; transform: translateY(-10%); margin: 0 0.5vw; background-size: 55%; background-repeat: no-repeat; background-position: center; }
.hero .hero-icon.icon1 { color: #2D4B8B; font-weight: 600; }
.hero .hero-icon.icon2 { color: #008AFA; font-weight: 600; }
.hero .hero-icon.icon3 { color: #10C7E8; font-weight: 600; }
.hero .hero-icon.icon1:before { background-color: #2D4B8B; background-image: url("images/hero-icon1.svg"); }
.hero .hero-icon.icon2:before { background-color: #008AFA; background-image: url("images/hero-icon2.svg"); }
.hero .hero-icon.icon3:before { background-color: #10C7E8; background-image: url("images/hero-icon3.svg"); }

body.home.blog #blog-muffin {
    display: block !important;
}

@media only screen and (max-width: 767px) {
  .hero { padding: 190px 0 60px; }
  .hero .wrapper h1 { line-height: 1.5; }
}



/* Badge group */
.mfn-badge-group { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 1; padding: 4px 12px; border-radius: 8px; border: 1px solid #E4E4E4; font-size: 14px; }
.mfn-badge-group .info-icon { content: ""; display: inline-block; position: relative; width: 8px; height: 8px; flex-shrink: 0; background: #0089F7; margin-right: 6px; border-radius: 100%; }
.mfn-badge-group .info-icon:before,
.mfn-badge-group .info-icon:after { content: ""; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background: inherit; border-radius: 50%; transform: translate(-50%, -50%); animation: mfn-badge-group-icon 2s infinite linear; opacity: 0.3; background-color: #008AFA; }
.mfn-badge-group .info-icon:after { animation-delay: 1s; }
.mfn-badge-group a { color: #667085; }
.mfn-badge-group a:hover { color: #101828; }
.mfn-badge-group a:after { content: "\00BB"; display: inline-block; margin-left: 10px; color: #008AFA; }

@keyframes mfn-badge-group-icon {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@media only screen and (max-width: 767px) {
  .mfn-badge-group { flex-direction: column; padding: 10px 20px; background-color: unset; box-shadow: unset; border: unset; }
}

/* Blog */
.photo2 .post-item { display: flex; align-items: center; gap: 60px; overflow: unset; }
.photo2 .post-item:not(:last-child) { margin-bottom: 100px; }
.photo2 .post-item::before { display: none; }
.photo2 .post-item::after { display: none; }
.photo2 .post-item .post-photo-wrapper { order: 2; width: 65%; border-radius: 16px; box-shadow: 0px 4px 6px -2px rgba(16,24,40,.03); box-shadow: 0px 12px 16px -4px rgba(16,24,40,.08); }
.photo2 .post-item .post-desc-wrapper { order: 1; width: 35%; top: 0; }
.photo2 .post-item .post-desc-wrapper .post-desc { padding: 0; }
.photo2 .post-item .button-love { display: none; }
.photo2 .post-item .post-footer { border: 0; margin-top: 25px; padding-top: 0; }
.photo2 .post-item .post-footer .post-author { display: flex; align-items: center; gap: 6px; }
.photo2 .post-item .post-footer .post-author .avatar { width: 40px; top: 0; }
.photo2 .post-item .post-footer .post-author a { color: #344054; }

.pager_lm{margin-top:50px}

@media only screen and (max-width: 1239px) {
  .photo2 .post-item { flex-direction: column; gap: 30px; }
  .photo2 .post-item .post-photo-wrapper { order: 1; width: 100%; }
  .photo2 .post-item .post-desc-wrapper { order: 2; width: 100%; }
}

@media only screen and (max-width: 767px) {
  .photo2 .post-item { flex-direction: column; gap: 20px; }
  .photo2 .post-item:not(:last-child) { margin-bottom: 50px; }
  .photo2 .post-item .post-photo-wrapper { border-radius: 8px; }
}


/* Single post */
.single-post #Content .section_wrapper { max-width: 940px; }


/* Blog categories */
#Intro .intro-meta .author { display: none; }
#Intro .intro-meta .categories .icon-docs { display: none; }
#Intro .intro-meta .categories a { display: inline-block; text-decoration: none; }

.photo2 .category .cat-wrapper ul li a,
#Intro .intro-meta .categories a { border-radius: 6px; transition: all 0.2s ease-in-out; padding: 6px 12px; font-size: 14px; line-height: 1; }
.photo2 .category .cat-wrapper ul li a[href*="web-design"],
 #Intro .intro-meta .categories a[href*="web-design"] { color: #2974B1; background-color: #DCEDFA !important; }
.photo2 .category .cat-wrapper ul li a[href*="web-design"]:hover,
#Intro .intro-meta .categories a[href*="web-design"]:hover { background-color: #C5DDF0 !important; }
.photo2 .category .cat-wrapper ul li a[href*="wordpress"],
#Intro .intro-meta .categories a[href*="wordpress"] { color: #3858E9; background-color: #DAE1FF !important; }
.photo2 .category .cat-wrapper ul li a[href*="wordpress"]:hover,
#Intro .intro-meta .categories a[href*="wordpress"]:hover { background-color: #C4CDF5 !important; }


/* Author page */
.author #Wrapper { padding-top: 100px; }


/* Footer */
.mfn-footer-tmpl { margin-top: 150px; }
.mfn-footer-menu li a:hover { text-decoration: underline; }
.footer-logo-be { transform: translateY(-50%); }

@media only screen and (max-width: 767px) {
  .mfn-footer-tmpl { margin-top: 50px; }
}