/*
Theme Name: Superfast Render Theme
Theme URI: https://aiprolab.ee/
Author: AIPROLAB OÜ
Author URI: https://aiprolab.ee/
Description: Thin shell theme for Superfast Render WP
Version: 3.1.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: superfast-render-theme
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: minimal, blank, framework
*/

/* Blog layout */

.sfr-blog-layout {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}
.sfr-blog-content {
  min-width: 0;
}
.sfr-sidebar {
  min-width: 0;
}
.sfr-post-title,
.sfr-archive-title {
  margin: 0 0 8px;
}
.sfr-archive-description{
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.sfr-post-meta {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
}
.sfr-post-featured img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin: 16px 0 0;
}
.sfr-post-featured--solo{
  width: 50%;
}
.sfr-post-intro-row{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.sfr-post-intro-excerpt p:first-child{
  margin-top: 0;
}
.sfr-post-intro-excerpt p:last-child{
  margin-bottom: 0;
}
.sfr-post-intro-excerpt p{
  margin: 0 0 1em;
}
.sfr-post-intro-excerpt{ padding: 0; }
.sfr-post-body{
  padding: 50px 0;
}
.sfr-post-body p{
  margin: 0 0 1em;
}
.sfr-post-body p:last-child{
  margin-bottom: 0;
}
.sfr-post-card {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.sfr-post-card-title {
  margin: 0 0 6px;
  width: 100%;
}
.sfr-post-card-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.sfr-post-card-row.is-no-thumb{
  grid-template-columns: 1fr;
}
.sfr-post-card-media{
  min-height: 10px;
}
.sfr-post-card-thumb-link,
.sfr-post-card-thumb{
  display: block;
  width: 100%;
}
.sfr-post-card-thumb{
  height: auto;
  border-radius: 12px;
}
.sfr-post-excerpt p {
  margin: 0 0 1em;
}
.sfr-post-excerpt p:last-child {
  margin-bottom: 0;
}
.sfr-post-extra-images{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.sfr-post-extra-figure{
  margin: 0;
  display: flex;
  justify-content: flex-start;
}
.sfr-post-extra-image{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.sfr-post-zoom-wrap{
  position: relative;
  display: inline-block;
}
.sfr-post-zoom-btn{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,32,58,.78);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.sfr-post-zoom-btn:hover{
  background: rgba(15,32,58,.92);
}
.sfr-image-zoom-modal{
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
}
.sfr-image-zoom-modal.open{
  display: block;
}
.sfr-image-zoom-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}
.sfr-image-zoom-modal__box{
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 960px);
  height: min(86vh, 720px);
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.sfr-image-zoom-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,32,58,.82);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.sfr-image-zoom-modal__nav{
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15,32,58,.82);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.sfr-image-zoom-modal__nav.is-prev{ left: 10px; }
.sfr-image-zoom-modal__nav.is-next{ right: 10px; }
.sfr-image-zoom-modal__iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.sfr-blog-tags{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sfr-blog-tag{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}
.sfr-blog-tag:hover{
  background: rgba(0,0,0,.06);
}
.widget .widget-title {
  margin: 0 0 10px;
}
.widget ul {
  margin: 0;
  padding-left: 18px;
}
@media (max-width: 980px) {
  .sfr-blog-layout {
    grid-template-columns: 1fr;
  }
  .sfr-post-card-row,
  .sfr-post-intro-row,
  .sfr-post-extra-images{
    grid-template-columns: 1fr;
  }
  .sfr-post-featured--solo{ width: 100%; }
  .sfr-post-extra-image{ max-width: 100%; }
  .sfr-post-body{ padding: 18px; }
}

@media (max-width: 700px) {
  .sfr-post-extra-images{
    grid-template-columns: 1fr;
  }
  .sfr-post-extra-image{
    width: 100%;
    max-width: 100%;
  }
  .sfr-post-zoom-btn{
    display: none;
  }
  .sfr-image-zoom-modal{
    display: none !important;
  }
}

/* Page layout (optional sidebar) */
.sfr-page-layout{
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas: "content sidebar";
  gap: 28px;
}
.sfr-page-content{
  min-width: 0;
  grid-area: content;
}
.sfr-page-layout > .sfr-sidebar{
  min-width: 0;
  grid-area: sidebar;
}
.sfr-page-layout.is-left{
  grid-template-columns: 320px minmax(0, 1fr);
  grid-template-areas: "sidebar content";
}
@media (max-width: 980px) {
  .sfr-page-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "sidebar";
  }
}


/* =========================================================
   THEME CORE FROM PLUGIN (RESET/BASE/HEADER/FOOTER/OVERRIDES)
   ========================================================= */

/* =========================================================
   Superfast Render WP — layout.css (ONE FILE / CANONICAL)
   ========================================================= */


/* =========================================================
   0) RESET + BASE
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body{
  margin:0;
  font-family:"Inter","Roboto",sans-serif;
  font-size:16px;
  line-height:1.6;
  color:#111;
  background:#FFFFFF;
  -webkit-font-smoothing:antialiased;
}

/* Desktop: ensure content area has minimum height */
@media (min-width:1025px){
  main#main.sfr-shell--content{
    min-height:700px;
  }
}

/* Disable tap highlight */
*{ -webkit-tap-highlight-color:transparent; }

/* Media */
img, picture, video, canvas, svg{
  display:block;
  max-width:100%;
}
img.emoji{
  width:1em;
  height:1em;
  display:inline-block;
  vertical-align:-0.1em;
}

/* Inputs inherit font */
input, button, textarea, select{ font:inherit; }

button{
  cursor:pointer;
  border:none;
  background:none;
}

/* Links */
a{
  transition:opacity .25s ease;
}
a:hover{ opacity:.8; }

a.dark {
    color: #111111 !important;
}

/* Breadcrumb */
.sfr-breadcrumb{
  max-width:1200px;
  margin: 12px auto 35px;
  padding: 0 20px;
  font-size: 13px;
  color: rgba(0,0,0,.65);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.sfr-breadcrumb a{
  color: inherit;
  text-decoration:none;
}
.sfr-breadcrumb-sep{
  opacity:.55;
}
/* =========================================================
   1) TYPOGRAPHY
   ========================================================= */

@font-face{
  font-family:'Outfit';
  src:url('../../plugins/superfast-render-wp/assets/fonts/outfit-700.woff2') format('woff2');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

h1, h2{
  font-family:'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height:1.1;
  margin-bottom:20px;
}

h1{ font-size:40px; }
h2{ font-size:30px; }

.home h1{ font-size:95px; }
.home h2{ font-size:42px; }

h3, h4, h5{
  margin:0 0 15px;
  font-weight:600;
}
p {
    margin: 0;
}
/* =========================================================
   2) CONTAINER + UTILITIES
   ========================================================= */

.sfr-inner{
  max-width:1200px;
  width:100%;
  margin:0 auto;
  padding:0 20px;
}

/* Utility classes */
.text-center{ text-align:center; }
.text-left{ text-align:left; }
.text-right{ text-align:right; }

.mt-20{ margin-top:20px; }
.mb-20{ margin-bottom:20px; }
.mt-40{ margin-top:40px; }
.mb-40{ margin-bottom:40px; }

.d-flex{ display:flex; }
.flex-column{ flex-direction:column; }
.flex-between{ justify-content:space-between; }
.flex-center{ justify-content:center; align-items:center; }

.w-100{ width:100%; }
.maxw-600{ max-width:600px; }


/* =========================================================
   5) HEADER 
   ========================================================= */

header.sfr-shell--header{
  color:#fff;
  padding:6px 0 12px;
  position:relative;
  z-index:20;
}

/* Two rows: top + main */
header.sfr-shell--header > .sfr-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  gap:20px;
}

/* Top row: contacts + language */
header.sfr-shell--header > .sfr-row:first-child{
  font-size:14px;
  padding-top:6px;
  padding-bottom:6px;
}
header.sfr-shell--header .sfr-phone a, 
header.sfr-shell--header .sfr-email a {
    color: #111111;
    text-decoration: none;
}
/* Main row: logo + burger + menu */
header.sfr-shell--header > .sfr-row:last-child{
  padding-top:12px;
  padding-bottom:12px;
}

/* Contacts */
.sfr-contacts{
  display:flex;
  align-items:center;
  gap:14px;
}
.sfr-phone, 
.sfr-email{
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}

/* Language switcher */
.sfr-lang-switcher{
  position:relative;
  cursor:pointer;
}
.sfr-lang-current{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-weight:600;
}
.sfr-lang-current::after{
  content:"▼";
  font-size:10px;
}
.sfr-lang-dropdown{
  position:absolute;
  top:22px;
  right:0;
  background:#fff;
  color:#000;
  border-radius:6px;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  display:none;
  flex-direction:column;
  min-width:80px;
  z-index:9999;
}
.sfr-lang-dropdown.open{ display:flex; }
.sfr-lang-dropdown a{
  padding:6px 12px;
  color:#000;
  text-decoration:none;
  font-weight:500;
}
.sfr-lang-dropdown a.active{ font-weight:700; }
.sfr-lang-dropdown a:hover{ background:#f2f2f2;border-radius: 6px; }

/* Logo */
header.sfr-shell--header img.sfr-logo{
  /*width:175px;*/
  flex-shrink:0;
  min-width:75px;
}

/* Menu (desktop) */
.sfr-menu-wrapper[data-sfr-menu-kind="primary"] ul{
  display:flex;
  gap:80px;
  list-style:none;
  margin:0;
  padding:0;
}
.sfr-menu-wrapper[data-sfr-menu-kind="primary"] a{
  color:#fff;
  font-size:20px;
  text-decoration:none;
}
/* Hamburger */
.sfr-hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:28px;
  height:22px;
  cursor:pointer;
  flex-shrink:0;
}
.sfr-hamburger span{
  display:block;
  width:100%;
  height:3px;
  background:#fff;
  transition:.25s ease;
}
.sfr-hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.sfr-hamburger.open span:nth-child(2){ opacity:0; }
.sfr-hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* Mobile menu */
@media (max-width:1024px){
  .sfr-hamburger{
    display:flex;
    z-index:99999;
  }

  .sfr-menu-wrapper[data-sfr-menu-kind="primary"]{
    position:fixed;
    top:0;
    right:0;
    width:260px;
    height:100vh;
    padding:80px 24px;
    transform:translateX(100%);
    transition:transform .3s ease;
    z-index:9999;
    overflow:auto;
  }

  .sfr-menu-wrapper[data-sfr-menu-kind="primary"].open{ transform:translateX(0); }

  .sfr-menu-wrapper[data-sfr-menu-kind="primary"] ul{
    flex-direction:column;
    gap:20px;
  }

  /* Top menu should live inside the off-canvas on mobile */
  .sfr-shell--header .sfr-top-menu-wrapper{
    display:none;
  }
  .sfr-menu-wrapper[data-sfr-menu-kind="primary"] .sfr-top-menu-wrapper{
    display:block;
  }

  /* Merged top-menu items appended to primary <ul> */
  .sfr-menu-wrapper[data-sfr-menu-kind="primary"] li.sfr-top-merged-sep{
    padding:0;
    margin:10px 0;
    list-style:none;
  }
  .sfr-menu-wrapper[data-sfr-menu-kind="primary"] .sfr-top-merged-sep__line{
    display:block;
    height:1px;
    width:100%;
    background:rgba(0,0,0,.15);
  }
  .sfr-menu-wrapper[data-sfr-menu-kind="primary"] li.sfr-top-merged{
    list-style:none;
  }
}

/* Top menu (always inline, including mobile) */
.sfr-top-menu-wrapper{
	  display:block;
}
.sfr-top-menu{
	  list-style:none;
	  margin:0;
	  padding:0;
	  display:flex;
	  gap:16px;
	  font-size:13px;
	  opacity:.9;
}


/* top-menu pill buttons (not in overrides block) */
.wp-theme-superfast-render-theme nav.sfr-top-menu-wrapper ul{
  margin:8px;
}
.wp-theme-superfast-render-theme .sfr-top-menu li{
  padding:5px 15px;
  background:#0141d8;
  color:#fff;
  border-radius:15px;
  display:flex;
  align-items:center;
}
.wp-theme-superfast-render-theme .sfr-top-menu a{
	  color:#fff;
  text-transform:uppercase;
  text-decoration:none;
  font-weight:600;
  display:flex;
  align-items:center;
  line-height:1;
}
.wp-theme-superfast-render-theme .sfr-top-menu img{
  width:20px;
  height:20px;
  display:inline-block;
  flex:0 0 20px;
  object-fit:contain;
}
 
@media (max-width:1024px){
	  .sfr-top-menu{
	    flex-wrap:wrap;
	    gap:12px;
	  }
}
/* =========================================================
   5.1) FOOTER
   ========================================================= */
.sfr-footer-bottom .sfr-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.sfr-footer-note a {
  color: white;
  font-weight: 600;
}

.sfr-row.sfr-footer-botto {
  background:#4b4b4b;
    color: white;
    padding: 15px 0;
}

footer.sfr-shell.sfr-shell--footer {
    background: #ebebeb;
}

@media (max-width: 600px) {
  .sfr-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
.sfr-shell--footer h2 {
    font-style: normal;
    font-size: 25px;
}
.sfr-row.sfr-footer-bottom {
    background: #c7c7c7;
    padding: 10px 0;
}

/* =========================================================
   99) PROJECT OVERRIDES 
   Keep at the end so it wins
   ========================================================= */

.wp-theme-superfast-render-theme header.sfr-shell--header{
  background:#fff;
  color:#111;
  padding:0 0 12px;
}

.wp-theme-superfast-render-theme header.sfr-shell--header > .sfr-row:first-child{
  font-size:14px;
  padding-top:0;
  padding-bottom:6px;
}

.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-hamburger span{ background:#111; }

/* Primary menu colors: black on desktop header, white in mobile off-canvas */
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] a{ color:#111; }

/* Header search (place between logo and menu via [search] atom) */
.wp-theme-superfast-render-theme header.sfr-shell--header form.sfr-search{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 25%;
  min-width:260px;
  max-width:420px;
  margin:0 20px;
  position:relative;
}
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__input{
  flex:1 1 auto;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(17,17,17,.2);
  padding:0 52px 0 14px;
  background:rgba(255,255,255,.92);
  color:#111;
}
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__btn{
  height:42px;
  width:44px;
  padding:0;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#111;
  font-weight:700;
  border:1px solid rgba(17,17,17,.2);
  position:absolute;
  right:0;
  top:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-indent:-9999px;
  overflow:hidden;
}
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__btn svg{
  width:22px;
  height:22px;
  display:block;
}
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__btn::before{ content:none !important; }
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__input,
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__btn{
  outline:0;
  box-shadow:none;
  -webkit-appearance:none;
  appearance:none;
}
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__input:focus,
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__btn:focus{
  outline:0;
  box-shadow:none;
}
@media (max-width:1024px){
  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"]{
    background:#fff;
  }
  /* Off-canvas: white background, black text */
  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] a{
    color:#000;
    text-decoration:none;
    font-size:20px;
  }

  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] ul,
  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] li{
    list-style:none;
    margin:0;
    padding:0;
  }

  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] ul{
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    gap:20px;
    width:100%;
  }

  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] li{
    width:100%;
  }

  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] a{
    display:block;
    padding:6px 0;
  }

  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] li.sfr-search-merged{
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid rgba(0,0,0,.12);
  }

  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] form.sfr-search{
    width:100%;
    display:flex;
    gap:10px;
  }

  .wp-theme-superfast-render-theme .sfr-menu-wrapper[data-sfr-menu-kind="primary"] .sfr-search__input{
    flex:1 1 auto;
  }

  /* Override any desktop-forcing header rules inside the off-canvas */
  .wp-theme-superfast-render-theme header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] ul{
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:20px !important;
  }
}

/* Ensure primary menu stays horizontal on desktop and has no bullets/underlines */
@media (min-width:1025px){
  .wp-theme-superfast-render-theme header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] ul{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:80px !important;
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    padding-left:0 !important;
  }
  .wp-theme-superfast-render-theme header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
  }
  .wp-theme-superfast-render-theme header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] a{
    text-decoration:none !important;
    white-space:nowrap !important;
  }
}

/* Hard fallback (in case body_class filter is missing): keep desktop primary menu horizontal */
@media (min-width:1025px){
  header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] ul{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:80px !important;
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    padding-left:0 !important;
  }
  header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
  }
  header.sfr-shell--header .sfr-menu-wrapper[data-sfr-menu-kind="primary"] a{
    text-decoration:none !important;
    white-space:nowrap !important;
  }
}

.wp-theme-superfast-render-theme nav.sfr-top-menu-wrapper li{ list-style:none; }
.wp-theme-superfast-render-theme nav.sfr-top-menu-wrapper ul{ margin:0; }

.wp-theme-superfast-render-theme .sfr-features-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}

.wp-theme-superfast-render-theme .sfr-feature{ position:relative; }

.wp-theme-superfast-render-theme .sfr-feature h3{
  padding-left:58px;
  min-height:auto;
  line-height:1.3;
  text-align:left;
}

.wp-theme-superfast-render-theme .sfr-feature__icon{
  position:absolute;
  top:-5px;
  left:5px;
  width:36px;
  height:36px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.wp-theme-superfast-render-theme .sfr-feature__icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.wp-theme-superfast-render-theme .sfr-feature{ text-align:justify; }

.sfr-section--section.promo-banners .sfr-media{
  margin:0 !important;
}

.sfr-section--section.promo-banners .sfr-inner .sfr-row{
  display:flex;
  flex-wrap:nowrap;
  gap:20px;
  align-items:flex-start;
}

.sfr-section--section.promo-banners .sfr-inner .sfr-row > .sfr-block{
  flex:1 1 50%;
  min-width:0;
}

.sfr-section--section.promo-banners .sfr-media img{
  width:100%;
  height:auto !important;
  object-fit:contain;
  aspect-ratio:auto;
}

@media (max-width:900px){
  .sfr-section--section.promo-banners .sfr-inner .sfr-row{
    flex-wrap:wrap;
  }
  .sfr-section--section.promo-banners .sfr-inner .sfr-row > .sfr-block{
    flex:1 1 100%;
  }

  .wp-theme-superfast-render-theme .sfr-features-grid{
    grid-template-columns:auto;
    gap:22px;
  }
}
h2.screen-reader-text {
    display: none;
}

.sfr-feature__icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* фон под иконкой */
.sfr-feature__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(121 165 255 / 87%);
  border-radius: 10px; /* можно 50% для круга */
}

/* emoji поверх */
.sfr-feature__icon img.emoji {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  filter: grayscale(1) contrast(2.2); /* опционально */
}
.wp-theme-superfast-render-theme .sfr-feature__icon img {
    z-index: 1;
}
.promo-banners {
    opacity: 1;
    transform: none;
    transition: none;
}
time.sfr-post-date {
    display: none;
}
h2.sfr-post-card-title a {
    text-decoration: none;
    color: #222;
}
li.sfr-search-merged {
    display: none;
}
@media (max-width: 720px){
header.sfr-shell--header>.sfr-row {
	gap: inherit;
}
.wp-theme-superfast-render-theme header.sfr-shell--header form.sfr-search {
    min-width: 50%;
}
.wp-theme-superfast-render-theme header.sfr-shell--header .sfr-search__input {
  width: -webkit-fill-available;
}
}
figure.sfr-media.sfr-media--image {
    margin: 0;
}
.sfr-phone a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.11-.27 11.36 11.36 0 003.55.57 1 1 0 011 1v3.5a1 1 0 01-1 1A16 16 0 014 5a1 1 0 011-1h3.5a1 1 0 011 1 11.36 11.36 0 00.57 3.55 1 1 0 01-.27 1.11z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.11-.27 11.36 11.36 0 003.55.57 1 1 0 011 1v3.5a1 1 0 01-1 1A16 16 0 014 5a1 1 0 011-1h3.5a1 1 0 011 1 11.36 11.36 0 00.57 3.55 1 1 0 01-.27 1.11z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sfr-email a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6.75A1.75 1.75 0 015.75 5h12.5A1.75 1.75 0 0120 6.75v10.5A1.75 1.75 0 0118.25 19H5.75A1.75 1.75 0 014 17.25V6.75zm1.8-.25L12 11.02l6.2-4.52H5.8zm12.7 1.86l-5.76 4.2a1.25 1.25 0 01-1.48 0L5.5 8.36v8.89c0 .14.11.25.25.25h12.5a.25.25 0 00.25-.25V8.36z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6.75A1.75 1.75 0 015.75 5h12.5A1.75 1.75 0 0120 6.75v10.5A1.75 1.75 0 0118.25 19H5.75A1.75 1.75 0 014 17.25V6.75zm1.8-.25L12 11.02l6.2-4.52H5.8zm12.7 1.86l-5.76 4.2a1.25 1.25 0 01-1.48 0L5.5 8.36v8.89c0 .14.11.25.25.25h12.5a.25.25 0 00.25-.25V8.36z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sfr-email a, .sfr-phone a {
  display: inline-flex;
  align-items: center;
}