/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*//* MARRKO site palette. The blue comparison page keeps its original theme. */
body:not(.page-id-170) {
  --m-brand: #ffda02;
  --m-ink: #0b0b0d;
  --m-paper: #f6f7f7;
  --m-line: #dddede;
}
body:not(.page-id-170) :is(#hlavicka-marrko, #paticka-marrko, .mh-shell .bricks-mobile-menu-wrapper) {background:#0b0b0d;color:white}
body:not(.page-id-170) :is(.mh-shell .mh-buy, .mf-shell .mf-cta, .ml-page a.ml-link, .mr-main .mr-action, .mk-papers .mp-btn, .mk .btn:not(.outline)) {background:var(--m-brand);color:var(--m-ink)}
body:not(.page-id-170) :is(.mh-shell .mh-buy, .mf-shell .mf-cta, .ml-page a.ml-link, .mr-main .mr-action, .mk-papers .mp-btn, .mk .btn:not(.outline)):hover {background:#ffe65c;color:#0b0b0d}
body:not(.page-id-170) :is(.mh-shell .bricks-nav-menu>li>a:hover, .mh-shell .bricks-mobile-menu>li>a:hover, .mf-shell a:not(.mf-cta):hover) {color:var(--m-brand)}
body:not(.page-id-170) .mf-shell a:not(.mf-cta) {color:#eee}
body:not(.page-id-170) .mf-shell :is(.mf-base,.mf-desc) {color:#ccc}
body:not(.page-id-170) .mf-shell :is(.mf-base,.mf-col+.mf-col) {border-color:#414141}
body:not(.page-id-170) .mf-social-icon:hover {outline-color:var(--m-brand)}
body:not(.page-id-170) :is(.mk,.ed-page,.mr-info,.ml-page,.mk-papers,.mk-faq-page,.marrko-story,.marrko-videos) {--ink:var(--m-ink);--blue:var(--m-brand);color:var(--m-ink)}
body:not(.page-id-170) :is(.ed-copy,.ed-copy h2,.ed-copy h3,.law-copy h2,.law-copy h3,.marrko-question,.mk-faq-page details,.mk .mk-variant) {color:var(--m-ink)}
body:not(.page-id-170) :is(.mr-main a:not(.mr-action),.law-toc a,.ed-page .ed-back,.ed-nav .toc-link,.ed-copy a,.mk-faq-page details a,.marrko-story .ms-link,.marrko-videos a:not(.marrko-preview),.mk .inline,.mk-research a,.marrko-question a,.mk .eyebrow) {color:#28282a}
body:not(.page-id-170) :is(.mk .hero,.mk .soft,.mk .trust,.mk .shop,.mk .mk-how,.law-toc,.ed-hero,.ml-page .ml-feature,.ml-card .ml-cover,.mk-papers .mp-card,.mk-faq-page details) {background:var(--m-paper)}
body:not(.page-id-170) :is(.law-copy h2,.mr-main h1,.law-copy section:target>h3,.law-copy section:target>h2,.marrko-story .ms-tech,.mk .mk-lab-copy) {border-color:var(--m-brand)}
body:not(.page-id-170) :is(.ed-page .ed-read,.ed-page .ed-nav,.ml-page .ml-card,.mp-cover,.mk-papers .mp-card,.law-copy h3,.mr-card,.mk-faq-page>.faq-intro,.marrko-story .ms-row,.mk .mk-variant,.mk-research details,.mk-faq-page details,.mk-faq-page details>div) {border-color:var(--m-line)}
body:not(.page-id-170) :is(.ml-page .ml-date,.ed-date,.mk-papers .mp-meta,.mk-faq-page>.faq-intro) {color:#515154}
body:not(.page-id-170) .mk-faq-page details[open] {background:white;border-color:#ad9400;box-shadow:0 4px 18px #0000000a}
body:not(.page-id-170) .mk-faq-page details:hover {border-color:#ad9400}
body:not(.page-id-170) .mk-faq-page details[open] summary {color:var(--m-ink)}
body:not(.page-id-170) .mk-faq-page summary::after {background:linear-gradient(#222,#222) center/12px 2px no-repeat,linear-gradient(#222,#222) center/2px 12px no-repeat,#fff0a2}
body:not(.page-id-170) .mk-faq-page details[open] summary::after {background:linear-gradient(#222,#222) center/12px 2px no-repeat,var(--m-brand)}
body:not(.page-id-170) .marrko-preview {background:var(--m-ink)}
body:not(.page-id-170) .marrko-preview span {background:var(--m-brand);border-color:var(--m-brand);color:var(--m-ink)}
body:not(.page-id-170) .marrko-question summary::marker {color:#645600}
body:not(.page-id-170) .mk .mk-lab {background:var(--m-ink)}
@media(min-width:801px){body:not(.page-id-170) .mk .mk-lab:before {background:linear-gradient(90deg,transparent 12%,#111111de 51%,#0b0b0d 100%)}}
body:not(.page-id-170) main :is(a,button,summary):focus-visible {outline-color:#675900}
body:not(.page-id-170) :is(.mh-shell,.mf-shell) :is(a,button):focus-visible {outline-color:var(--m-brand)}
body.page-id-200 .mk-trust .mt-trial > span:last-child {display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;row-gap:3px;min-width:0}
body.page-id-200 .mk-trust .mt-trial .mt-more {margin:0}


/* Mobile reading and touch targets */
@media (max-width: 650px) {
  body:not(.page-id-170) :is(.prev-post, .next-post) .content,
  body:not(.page-id-170) :is(.prev-post, .next-post) .title {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
  }
  body:not(.page-id-170) #reply-title {
    font-size: clamp(24px, 6.2vw, 30px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  body.page-id-200 .mb-banner .button {
    padding-inline: 12px;
    font-size: 15px;
    min-height: 44px;
  }
}
/* Tablet navigation, links and touch targets on the yellow site. */
@media (min-width: 992px) and (max-width: 1280px) {
  body:not(.page-id-170) .mh-shell .mh-inner { gap: 14px; padding-inline: 22px; }
  body:not(.page-id-170) .mh-shell .mh-logo { width: 94px; }
  body:not(.page-id-170) .mh-shell .bricks-nav-menu { gap: 12px; }
  body:not(.page-id-170) .mh-shell .bricks-nav-menu > li > a {
    display: flex; align-items: center; min-height: 44px; font-size: 14px; white-space: nowrap;
  }
  body:not(.page-id-170) .mh-shell .mh-buy { padding-inline: 13px; }
}
@media (min-width: 651px) and (max-width: 1366px) {
  body.page-id-200 .mk-trust .mt-links a { min-height: 44px; }
  body:not(.page-id-170) :is(.prev-post, .next-post, .prev-post .content, .next-post .content, .prev-post .title, .next-post .title) {
    min-width: 0; white-space: normal; overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  #brxe-wdroot #brxe-wdform label {
    font-size: 15px;
    line-height: 1.45;
    text-transform: none;
  }

  .comment-list a.comment-reply-link, .brxe-post-comments a.comment-reply-link, #comments a.comment-reply-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 15px;
    text-transform: none;
  }

  .sc-checkout-container > sc-block-ui.busy-block-ui {
    left: 0;
    right: 0;
  }
}

/* SureCart in the shared header */
.mh-shell .mh-cart {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 44px; height: 44px; color: #fff;
  --sc-cart-icon-size: 23px;
  --sc-cart-icon-counter-color: #111;
  --sc-cart-icon-counter-background: #ffda02;
}
.mh-shell .mh-cart:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.mh-shell .mh-cart .sc-cart-count,
.mh-shell .mh-cart .sc-cart-icon:has(.sc-cart-count[hidden])::after {
  position: absolute; inset: -8px -10px auto auto; min-width: 17px;
  padding: 1px 3px; border-radius: 12px; background: #ffda02; color: #111;
  font: 700 11px/15px Arial,sans-serif; text-align: center;
}
.mh-shell .mh-cart .sc-cart-icon:has(.sc-cart-count[hidden])::after { content: "0"; }
@media (max-width: 850px) { .mh-shell .mh-cart { order: 2; } }
@media (max-width: 355px) {
  .mh-shell .mh-inner:has(.mh-cart) { gap: 4px; padding-inline: 8px; }
  .mh-shell .mh-inner:has(.mh-cart) .mh-logo { width: 76px; }
}
@media (min-width: 851px) and (max-width: 991px) {
  .mh-shell .mh-inner:has(.mh-cart) { gap: 10px; padding-inline: 15px; }
  .mh-shell .mh-inner:has(.mh-cart) .mh-logo { width: 86px; }
  .mh-shell .mh-inner:has(.mh-cart) .bricks-nav-menu { gap: 8px; }
  .mh-shell .mh-inner:has(.mh-cart) .bricks-nav-menu > li > a { font-size: 14px; white-space: nowrap; }
  .mh-shell .mh-inner:has(.mh-cart) .mh-buy { padding-inline: 10px; font-size: 14px; }
}
