/*
Theme Name: Magezix Child
Theme URI:  https://themexriver.com/wp/magezix
Author: cmsmasters
Author URI: https://themeforest.net/user/themexriver
Description: Magezix - Child Theme
Template: magezix
Version: 1.0.5
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: magezix-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.header .dark-logo img{
    width: 220px;
    margin-top: -20px;
}
.theme-switch-box-wrap{
    display: none;
}
.footer__logo img{
    width: 80%;
}
.max-400{
    max-width: 400px;
}
.max-450{
    max-width: 450px;
}
.term-description,
.post-information{
    margin: 0;
    background-color: #ffebeb;
    padding: 20px;
    padding-left: 100px;
    position: relative;
    height: auto;
}
.term-description:only-child,
.post-information:only-child { 
    height: 100%; 
}
.term-description h3:before,
.post-information:before{
    position: absolute;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: "\f05a";
    top: 25px;
    left: 20px;
    font-size: 4em;
    color: #cf2e2e;
}
.term-description{
    padding-left: 20px;
}
.term-description p,
.post-information p{
    margin-bottom: 5px !important;
}
.term-description h3{
    margin-top: 0.2em;
    margin-bottom: 1em;
    padding-left: 55px;
}
.term-description h3:before{
    font-size: 40px;
    top: 20px;
}
.term-description strong{
    margin-top: 0.2em;
    display: inline-block;
}
.post-information .highlight{
    color: #cf2e2e;
    background: #fff6f6;
    padding: 3px 10px;
    box-shadow: inset 0 0 2px #790c0c;
}
.post-thumb{
    text-align: center;
}
.ad-container{
    background-color: #FF01750D;
}
.category__icon{
    color: #cb72f0;
}
a.category__search{
    background: #cb72f0; 
    color: #ffffff;
}
#custom_html-2{
    margin-left: -13px;
}
.header__main{
    justify-content: center !important;
}
.header__right{
    margin-left: 30px !important;
}
.header--2 .header__social{
    display: block !important;
    margin-left: 25px;
}
.home .post-cat{
    display: none;
}
.featured__post .post-title a{
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    background-size: 0% 0% !important;
}
.featured__post .post-content{
    padding: 10px 30px;
}
.featured__post-single .post-meta{
    margin-top: 10px;
}
.post-meta__author .avatar img{
    background-color: transparent;
}
.max-width {
    max-width: 1690px;
}
.tx-section-heading.title-center{
    max-width: 600px;
}
#secondary.blog-sidebar.mt-50{
    margin-top: 30px;
}
.hlg-350{
    height: auto !important;
    min-height: 300px;
}
.featured__post .post-thumb::before{
    height: calc(100% - 60%) !important;
}
body:not(.single) .breadcrumb-area{
    padding: 0;
    text-align: center;
}
.full-height{
    min-height: calc(100vh - 350px);
}
.full-height .widget{
    border: none;
    display: flex;
    justify-content: center;
    margin-top: 5%;
}
.full-height .widget-title{
    display: none;
}
.full-height .widget form{
    width: 100%;
    max-width: 600px;
}
.full-height .widget__search input{
    border: 2px solid var(--color-primary);
    background-color: #f9e9ff;
    color: var(--color-primary);
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-size: 1em;
    line-height: 1.4;
    height: auto;
    width: 100%;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-shadow: 0 8px 8px -4px rgb(203, 114, 240, 0.2);
}
.full-height .widget__search input:focus, 
.full-height .widget__search input:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgb(203, 114, 240, 0.2);
}
.full-height .widget__search input::placeholder {
    color: var(--color-primary);
    text-align: center;
}
.full-height .widget__search button{
    color: var(--color-primary);
    right: 0.5rem;
    font-size: 1.3rem;
}
.full-height .elementor-heading-title{
    font-size: 1.5rem;
    color: var(--color-primary) !important;
    margin-bottom: 2rem;
}
.full-height .thm-btn__main{
    font-size: 1.5rem;
}
.magezix-single-post .wp-block-buttons .wp-block-button__link{
    max-width: 300px;
}
@media (max-width: 991px){
    .header__right .header__btn{
        display: none;
    }
    .header__right {
        margin-left: 0px !important;
        margin-top: 25px !important;
    }
}
@media (max-width: 767px){
    #elementor_page_builder{
        max-width: 540px;
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
        overflow: hidden;
    }
}
@only screen and (min-width: 1200px) and (max-width: 1500px){
    .ad-container{
        margin-left: 40px;
    }
}



/**
** Search
**/
:root {
      --fsb-accent: #2563eb;
      --fsb-surface: #ffffff;
      --fsb-text: #0b0c0f;
      --fsb-muted: #6b7280;
      --fsb-outline: #e5e7eb;
      --fsb-shadow: 0 10px 30px rgba(0,0,0,.2), 0 6px 12px rgba(0,0,0,.08);
      --fsb-focus: rgba(37,99,235,.35);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --fsb-surface: #0f1115;
        --fsb-text: #e5e7eb;
        --fsb-outline: #1f2430;
        --fsb-shadow: 0 20px 40px rgba(0,0,0,.55), 0 6px 12px rgba(0,0,0,.35);
      }
    }

.progress-wrap{
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff; 
}
.fsb-fab,
#fsb-dialog,
#fsb-dialog * { box-sizing: border-box; }

/* Visually hidden utility */
.fsb-visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* --------------------- Floating Action Button --------------------- */
.fsb-fab {
    position: fixed;
    inset: auto 30px 80px auto;
    z-index: 99990;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-primary);
    border-radius: 9999px;
    background: #fff; 
    color: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px rgba(255, 24, 78, 0.15);
    transition: transform .12s ease, box-shadow .2s ease, opacity .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.fsb-fab svg { width: 26px; height: 26px; pointer-events: none; }
.fsb-fab:hover { transform: translateY(-1px); }
.fsb-fab:active { transform: translateY(0) scale(.98); }
.fsb-fab:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--fsb-focus), var(--fsb-shadow); }

/* -------------------------- Overlay Root -------------------------- */
#fsb-dialog[hidden] { display: none !important; }
#fsb-dialog {
  position: fixed; inset: 0;
  z-index: 99999;
  display: grid; grid-template-rows: auto 1fr;
}

/* Backdrop */
#fsb-dialog .fsb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: contain;
}

/* Panel */
#fsb-dialog .fsb-panel {
  position: relative; z-index: 1;
  width: 100%;
  padding-top: min(9vh, 80px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  animation: fsb-panel-in .22s ease both;
}
@keyframes fsb-panel-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  #fsb-dialog .fsb-panel { animation: none; }
}

/* --------------------------- Search Bar --------------------------- */
.fsb-search {
  position: relative;
  width: min(760px, calc(100vw - 32px));
}
.fsb-search input[type="search"] {
  width: 100%;
  appearance: none; outline: none;
  font-size: clamp(18px, 3.5vw, 22px);
  font-weight: 520;
  padding: 18px 56px 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--fsb-outline);
  background: var(--fsb-surface);
  color: var(--fsb-text);
  box-shadow: var(--fsb-shadow);
}
.fsb-search input::placeholder { color: var(--fsb-muted); font-weight: 450; }

/* Close button */
.fsb-search .fsb-close {
  position: absolute; right: 6px; top: 12px;
  height: 44px; width: 44px; border-radius: 10px;
  border: 1px solid var(--fsb-outline);
  background: transparent; color: inherit; cursor: pointer;
}
.fsb-search .fsb-close:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--fsb-focus); }
.fsb-search .fsb-close svg { width: 22px; height: 22px; margin-top: -2px; }

/* --------------------------- Results Box -------------------------- */
.fsb-results {
  width: min(760px, calc(100vw - 32px));
  max-height: 70vh;
  overflow: auto;
}
.fsb-hint { margin: 6px 2px 0; color: #fff; font-size: 14px; }

/* Optional: style links if you add them later */
.fsb-results a.fsb-result-item {
  display: block;
  padding: 10px 12px;
  margin: 8px 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--fsb-outline);
  border-radius: 12px;
  transition: transform .08s ease;
}
.fsb-results a.fsb-result-item:hover { transform: translateY(-1px); }

