/*
Theme Name: Basis Block Child
Theme URI: https://www.ninjacmareview.com/
Author: Mushi
Author URI: https://www.ninjacmareview.com/
Description: Child theme of Basis Block
Requires at least: 6.0
Tested up to: 6.4.3
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: basis-blocks-theme
Text Domain: basisblockchild
Tags: full-site-editing, 
*/


/* ==========================================================================
   ROOT VARIABLES & GLOBAL STYLES
   ========================================================================== */
h1, h2, h3, h4, h5, h6{font-family: "Roboto Condensed", sans-serif;font-display: auto;font-weight: 400;}
.home h4 { font-size: 1.25rem }
/* ==========================================================================
   LAYOUT & GUTENBERG ALIGNMENT
   ========================================================================== */
/* Ensure full-width alignment for Gutenberg blocks */
.alignfull {width: 100vw;margin-left: calc(50% - 50vw);margin-right: calc(50% - 50vw);overflow-x: hidden;box-sizing: border-box;}
/* Optional: To make sure the entire page doesn't scroll horizontally */
html, body {overflow-x: hidden;font-family: "Roboto Condensed", sans-serif;}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-family: var(--wp--preset--font-family--roboto);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--wp--preset--color--dark);
    background-color: var(--wp--preset--color--white);
    border: 1px solid #CED4DA;
    border-radius: 0.375rem;
    padding: 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--wp--preset--color--primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Checkboxes and Radio Buttons */
input[type="checkbox"],
input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: var(--wp--preset--color--primary);
}

/* Form Labels */
label {
    font-family: var(--wp--preset--font-family--roboto);
    font-weight: 500;
    color: var(--wp--preset--color--dark);
    margin-bottom: 0.5rem;
    display: block;
}

/* ==========================================================================
   THEME SPECIFIC STYLES
   ========================================================================== */
.wp-block-table a {
    text-decoration: none;
    color: #181818
}

a{color: #000; text-decoration: none;}
a:where(:not(.wp-element-button)) {
    text-decoration: none !important;
  }

ul li a {
    color: #5d5d5d;
}

ul li,
ol li {
    line-height: 25px
}

.custom-logo {
    max-width: 240px !important
}

.site-footer {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* Specific full-width banner image adjustments */
.banner-full-width img {width: 100%;height: auto;display: block;}
#rank-math-faq{background: #F5F7FB;padding: 1px 17px;border-radius: 13px;}
#rank-math-faq mark{background: none}
.rank-math-list-item{background: #fff;padding: 0 15px 14px;border-radius: 10px;}
.rank-math-question {font-size: 22px !important;color: #000;padding-top: 16px;margin-bottom: 0;}
#faq-question-1665611321519{margin-bottom: 20px}
footer{max-width: 1140px;margin: 0 auto;}
footer .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content, .footer-nav .wp-block-navigation-item__content{color: inherit;/* border-right: 1px solid #CED3DB;padding-right: 17px; */line-height: 100%;}
footer ul li:last-child a , .footer-nav ul li:last-child a{border: none !important;}
.site-footer form{display: none}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.nav-seperator {border-top: 0 !important;}
.top-icons {gap: 5px !important;}
.footer-menu a,.top-navigation a{font-weight:bold}
header .wp-block-group {padding-top: 5px !important;}

/* Sticky Header Fix for Inner Pages - Desktop Only */
@media (min-width: 769px) {
    /* Target the element immediately after header tag for inner pages */
    /* body:not(.home) header + * {
        margin-top: 138px;
    } */
}

/* ==========================================================================
   CONTENT & LAYOUT
   ========================================================================== */
#h-of-the-cma-exam {margin: 0;}
.wp-block-separator{border-bottom: 0}
.home .wp-block-group.is-layout-flow.wp-block-group-is-layout-flow{margin: 0}
.table td, .table th {padding: .75rem;vertical-align: top;border-top: 1px solid #dee2e6;}
h3.aagb__accordion_title{font-size: 1rem !important;}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
:where(.wp-block-button__link) {border-radius: 0.375rem !important;}

.btn-primary.show-quiz-button{background: var(--wp--preset--color--primary);color: var(--wp--preset--color--white);border: none;}
.btn-primary.show-quiz-button:hover {opacity: 0.9;}
.show-quiz-button {border-radius: 0.375rem;font-family: var(--wp--preset--font-family--roboto);font-weight: 600;font-size: 1rem;padding: 0.75rem 1.5rem;text-transform: none;}

.btn:not(:disabled):not(.disabled) {cursor: pointer;}
.progo-accordion .btn{background: transparent;border: 1px solid #ddd;}
.progo-accordion .btn:focus, .progo-accordion .btn:hover {color: inherit;border: 1px solid var(--wp--preset--color--primary);}

/* ==========================================================================
   CARD COMPONENTS
   ========================================================================== */
.card-header .btn-link::after{content: '' !important}
.card {position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;min-width: 0;word-wrap: break-word;background-color: #fff;background-clip: border-box;border: 1px solid rgba(0,0,0,.125);border-radius: .25rem;}
.faq .card-header {background: #F0F4F7;}
.card-header {padding: .75rem 1.25rem;margin-bottom: 0;background-color: rgba(0,0,0,.03);border-bottom: 1px solid rgba(0,0,0,.125);}
.progo-accordion.faq .btn {border: none !important;font-size: 14px;font-weight: normal;}
.card-header .btn-link.collapsed::after {font-family: "FontAwesome";content: "\f106";display: inline-block;padding-right: 3px;vertical-align: middle;font-weight: 900;position: absolute;right: 8px;top: 14px;}
.card-header .btn-link::after {content: '' !important;}
.card-body {-ms-flex: 1 1 auto;flex: 1 1 auto;min-height: 1px;padding: 1.25rem;}
.card-header h2 {margin: 0;}

/* ==========================================================================
   GRAVITY FORMS
   ========================================================================== */
.gform_button {
    cursor: pointer;
    background: var(--wp--preset--color--primary) !important;
    border-radius: 0.375rem !important;
    color: var(--wp--preset--color--white) !important;
    font-family: var(--wp--preset--font-family--roboto);
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    padding: 0.75rem 1.5rem;
    align-items: center;
    text-align: center;
    text-transform: none;
    border: none !important;
    box-shadow: none !important;
}

.gfq-panel input[type="submit"], #gform_wrapper_22 input[type="submit"] {
    width: 60%;
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
    cursor: pointer;
    background: var(--wp--preset--color--primary) !important;
    border-radius: 0.375rem !important;
    color: var(--wp--preset--color--white) !important;
    font-family: var(--wp--preset--font-family--roboto);
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    padding: 0.75rem 1.5rem;
    text-transform: none;
    border: none !important;
    box-shadow: none !important;
}

#gform_wrapper_27 .gform_next_button.gform-theme-button, #gform_wrapper_27 .gform_previous_button.gform-theme-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--white) !important;
    border-width: 0;
    border-radius: 0.375rem;
    font-family: var(--wp--preset--font-family--roboto);
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    text-transform: none;
}

.gquiz-field .gfield_label.gform-field-label{font-size:18px !important;}
.gquiz-field .gquiz-correct-choice{color:#03b360 !important;font-size:16px !important;}
.gquiz-field .gquiz-incorrect-choice{color:#d20606 !important;font-size:16px !important;}
.gquiz-incorrect-choice .gquiz-indicator{height: 20px !important;margin-inline-start: 15px;vertical-align: middle;width: 20px;margin-top: -10px;}
.gquiz-answer-explanation.gfield_description{color:#605f5f;font-weight: 600 !important;font-size: 16px !important;}
#gquiz_confirmation_message p {font-size: 18px;font-style: normal;font-weight: 500;}
.gform_legacy_markup_wrapper .gform_footer {padding: 0; margin: 0}

/* ==========================================================================
   MODALS & POPUPS
   ========================================================================== */
.exit-intent-popup h3{text-align: center;margin-bottom: 20px;font-size: 1.65rem;font-weight: 600;line-height: 1.2;}
.exit-intent-popup h4{font-size: 1.45rem;font-weight: 500;line-height: 1.2;}
.exit-intent-popup .modal-dialog {background: #1d45ef;padding: 20px;top: 25%;position: relative;}
.pum-container, .pum-theme-lightbox .pum-container{border:0px solid #000000 !important;box-shadow: none !important;border-radius: 8px !important;}
.pum-close{font-weight: 500 !important;}
#popmake-33047 .gform_button{background-color: var(--wp--preset--color--primary-100) !important;cursor:pointer !important;}
html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {overflow-y: auto !important;}

/* ==========================================================================
   STICKY ELEMENTS & ANIMATIONS
   ========================================================================== */
.sticky-ask-now {
  position: fixed;
  top: 48%;
  padding: 0;
  border: none;
  cursor: pointer;
  transform-origin: left top;
  right: 0;
  z-index:2;
}
.sticky-ask-now .wp-block-button__link{background-color: transparent !important;}
.sticky-ask-now .wp-block-button__link{cursor:pointer !important;}
.sticky-ask-now .wp-block-button__link:hover{animation: pulse 1.5s ease;}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  33% {
    transform: scale(1.2);
  }
  66% {
    transform: scale(1.4);
  }
  90% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.checkout-copy-right {border-top: 1px solid #dddddd;}
.progo-addtocart .btn-primary{color: #fff;border: none;}
.progo-addtocart select{border: none;margin: 0 auto 5px;}
table {border-collapse: collapse;}
table thead th {vertical-align: bottom;border-bottom: 2px solid #dee2e6;}
.collapse:not(.show) {display: none;}
.progo-accordion table{width: 100%}
.rounded-pill {border-radius: 50rem !important;}
.mb-3, .my-3 {margin-bottom: 1rem !important;}
.container {max-width: 1140px;margin: 0 auto;}
.gpls-limit-message{font-style: normal;font-weight: normal;font-size: 1.6rem;line-height: 140%;color: #99908A!important;font-family: Signika;margin-bottom:40px;}
.wp-block-navigation-is-layout-flex form{overflow: visible;margin-top: -14px;}
.wp-block-navigation-is-layout-flex form button{padding: 5px}
.equal-height-columns {display: flex;justify-content: space-between;}
.equal-height-columns > .wp-block-column {display: flex;flex-direction: column;justify-content: space-between;}
.equal-height-columns .wp-block-button {margin-top: auto;}
footer form {display: none !important;}
.wp-block-separator{border-top: 1px solid !important}
.order-again a {padding: 5px 10px}
.back-to-top{position: fixed;  bottom: 5px;  right: 5px;z-index: 9999 !important;cursor: pointer;}
.footer-nav .wp-block-navigation-item__content {border-right: none;padding-right: 0px;line-height: 100%;}
.google-profile a {line-height: 100%;vertical-align: text-bottom;font-weight: 400 !important;}
.google-profile a img {vertical-align: middle;display: inline;text-align: center;}

/* ==========================================================================
   POST & PAGE LAYOUTS
   ========================================================================== */
.postid-2938829 .entry-content {max-width: 730px !important;margin: 0 auto;color: #141F44;}
.postid-2938829 p{color: #141F44}
.my-grid-layout .listing-item img.wp-post-image{height:10rem;object-fit:cover;width: 100%;}
.my-grid-layout h2.wp-block-post-title{font-size:clamp(0.901rem, 0.901rem + ((1vw - 0.2rem) * 0.876), 1.25rem) !important;margin-top: 10px !important;margin-bottom: 10px !important;}
.my-grid-layout.main h2.wp-block-post-title{font-size:clamp(0.901rem, 0.901rem + ((1vw - 0.2rem) * 0.876), 1.35rem) !important;margin-top: 10px !important;margin-bottom: 10px !important;}
.my-grid-layout.main h1.wp-block-post-title{font-size: 34px !important;line-height: 1.15 !important;color: #414b5a;text-align: center !important;font-weight: 600;margin-bottom: 15px !important;}
.my-grid-layout .excerpt-more{font-weight:500;}
.wp-block-group.breadcrumb{gap: 0.5rem !important;margin-block-start:0 !important;}
.breadcrumb h6.wp-block-post-title,.breadcrumb p a{font-weight: 400 !important;font-size: 14px !important;letter-spacing: 0.5px !important;font-family: "Roboto Condensed", sans-serif;font-display: auto;}
.breadcrumb .wp-block-image img{vertical-align: middle;}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media(max-width: 500px){
.custom-logo-link {max-width: 200px;}
.form-container #input_22_2 .gchoice, .form-container #input_22_7 .gchoice {width: 48%;display: inline-block;margin: 10px auto;}
#gform_wrapper_22 .gfield {text-align: center;margin: 0 5% !important;}
}

@media (max-width: 781px) {
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {flex-basis: 100% !important;}
}

@media (max-width: 900px) {
.form-container .gfield {text-align: center;margin: 0 5% !important;}
}

@media(max-width: 760px) {
    .top-navigation {
        justify-content: space-evenly !important;
    }
    .how-help{padding: 0 20px;}
    .site-footer p{text-align: center;}
    .site-header .wp-block-group{margin-top: var(--wp--preset--spacing--2) !important;}
}