/* metodist.online — base layer of the Tilda blocks.
   The export lost the page stylesheet tilda-blocks-page*.css (and the <link> to it), which holds the
   common rules of every Tilda block. The per-element styles (positions, sizes, colours) are still inline
   in each page, so this file restores only the shared base: Zero blocks (t396), record paddings,
   typography and the standard blocks used on the site. Plus the mobile menu (see js/site.js). */

/* ==================== base ==================== */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; -webkit-font-smoothing: antialiased; }
.t-body { margin: 0; }
.t-records { overflow: hidden; }
.t-rec { position: relative; }
img { border: 0; }
.t-img { max-width: 100%; }
.t-clear { clear: both; }
a { color: inherit; }
.t-screenmin-480px, .t-screenmin-640px, .t-screenmin-1200px { display: block; }
.t-screenmax-480px, .t-screenmax-640px { display: none; }
@media screen and (max-width: 1199px) { .t-screenmin-1200px { display: none; } }
@media screen and (max-width: 639px) { .t-screenmin-640px { display: none; } .t-screenmax-640px { display: block; } }
@media screen and (max-width: 479px) { .t-screenmin-480px { display: none; } .t-screenmax-480px { display: block; } }

/* record paddings */
.t-rec_pt_0 { padding-top: 0; } .t-rec_pt_15 { padding-top: 15px; } .t-rec_pt_30 { padding-top: 30px; } .t-rec_pt_45 { padding-top: 45px; }
.t-rec_pt_60 { padding-top: 60px; } .t-rec_pt_75 { padding-top: 75px; } .t-rec_pt_90 { padding-top: 90px; } .t-rec_pt_105 { padding-top: 105px; }
.t-rec_pt_120 { padding-top: 120px; } .t-rec_pt_135 { padding-top: 135px; } .t-rec_pt_150 { padding-top: 150px; }
.t-rec_pb_0 { padding-bottom: 0; } .t-rec_pb_15 { padding-bottom: 15px; } .t-rec_pb_30 { padding-bottom: 30px; } .t-rec_pb_45 { padding-bottom: 45px; }
.t-rec_pb_60 { padding-bottom: 60px; } .t-rec_pb_75 { padding-bottom: 75px; } .t-rec_pb_90 { padding-bottom: 90px; } .t-rec_pb_105 { padding-bottom: 105px; }
.t-rec_pb_120 { padding-bottom: 120px; } .t-rec_pb_135 { padding-bottom: 135px; } .t-rec_pb_150 { padding-bottom: 150px; }
@media screen and (max-width: 640px) {
  .t-rec_pt_75, .t-rec_pt_90, .t-rec_pt_105 { padding-top: 60px; }
  .t-rec_pt_120, .t-rec_pt_135, .t-rec_pt_150 { padding-top: 75px; }
  .t-rec_pb_75, .t-rec_pb_90, .t-rec_pb_105 { padding-bottom: 60px; }
  .t-rec_pb_120, .t-rec_pb_135, .t-rec_pb_150 { padding-bottom: 75px; }
}
@media screen and (max-width: 480px) {
  .t-rec_pb-res-480_0 { padding-bottom: 0 !important; }
  .t-rec_pb-res-480_75 { padding-bottom: 75px !important; }
}

/* typography (Tilda scale; the site font is Montserrat) */
.t-title, .t-name, .t-descr, .t-text, .t-uptitle, .t-heading { font-family: 'Montserrat', Arial, sans-serif; }
.t-title { font-weight: 600; color: #000; margin: 0; }
.t-title_xxl { font-size: 80px; line-height: 1.23; }
.t-title_xl { font-size: 72px; line-height: 1.17; }
.t-title_lg { font-size: 64px; line-height: 1.23; }
.t-title_md { font-size: 52px; line-height: 1.23; }
.t-title_sm { font-size: 38px; line-height: 1.23; }
.t-title_xs { font-size: 30px; line-height: 1.23; }
.t-title_xxs { font-size: 26px; line-height: 1.23; }
.t-descr { font-weight: 400; color: #000; }
.t-descr_xxl { font-size: 32px; line-height: 1.45; }
.t-descr_xl { font-size: 24px; line-height: 1.5; }
.t-descr_lg { font-size: 22px; line-height: 1.5; }
.t-descr_md { font-size: 20px; line-height: 1.55; }
.t-descr_sm { font-size: 18px; line-height: 1.55; }
.t-descr_xs { font-size: 16px; line-height: 1.55; }
.t-descr_xxs { font-size: 14px; line-height: 1.55; }
.t-text { font-weight: 300; color: #000; }
.t-text_lg { font-size: 22px; line-height: 1.55; }
.t-text_md { font-size: 20px; line-height: 1.55; }
.t-text_sm { font-size: 18px; line-height: 1.55; }
.t-text_xs { font-size: 16px; line-height: 1.55; }
.t-text_xxs { font-size: 14px; line-height: 1.55; }
.t-name { font-weight: 600; color: #000; }
.t-name_xl { font-size: 24px; line-height: 1.35; }
.t-name_lg { font-size: 22px; line-height: 1.35; }
.t-name_md { font-size: 20px; line-height: 1.35; }
.t-name_sm { font-size: 18px; line-height: 1.35; }
.t-name_xs { font-size: 16px; line-height: 1.35; }
.t-uptitle { font-weight: 600; color: #000; }
.t-uptitle_xxl { font-size: 24px; line-height: 1.35; }
.t-uptitle_xl { font-size: 22px; line-height: 1.35; }
.t-uptitle_lg { font-size: 20px; line-height: 1.35; }
.t-uptitle_md { font-size: 18px; line-height: 1.35; }
.t-uptitle_sm { font-size: 16px; line-height: 1.35; }
.t-uptitle_xs { font-size: 14px; line-height: 1.35; }
@media screen and (max-width: 1200px) {
  .t-title_xxl { font-size: 70px; } .t-title_xl { font-size: 60px; } .t-title_lg { font-size: 54px; } .t-title_md { font-size: 44px; } .t-title_sm { font-size: 34px; }
}
@media screen and (max-width: 640px) {
  .t-title_xxl { font-size: 44px; } .t-title_xl { font-size: 38px; } .t-title_lg { font-size: 34px; } .t-title_md { font-size: 30px; }
  .t-title_sm { font-size: 26px; } .t-title_xs { font-size: 24px; } .t-title_xxs { font-size: 22px; }
  .t-descr_xxl { font-size: 24px; } .t-descr_xl { font-size: 20px; } .t-descr_lg { font-size: 18px; } .t-descr_md { font-size: 18px; } .t-descr_sm { font-size: 16px; }
  .t-text_lg { font-size: 18px; } .t-text_md { font-size: 17px; } .t-text_sm { font-size: 16px; } .t-text_xs { font-size: 15px; }
  .t-name_xl { font-size: 20px; } .t-name_lg { font-size: 19px; } .t-name_md { font-size: 18px; }
}
.t-align_center { text-align: center; } .t-align_left { text-align: left; } .t-align_right { text-align: right; }
.t-valign_middle { vertical-align: middle; } .t-valign_top { vertical-align: top; }

/* buttons */
.t-btn {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 60px; padding: 0 30px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 16px; font-weight: 700; color: #fff; background: #0f4c81;
  transition: background-color .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out, opacity .2s;
}
.t-btn_md { height: 60px; font-size: 16px; padding: 0 30px; }
.t-btn_sm { height: 45px; font-size: 14px; padding: 0 30px; }
.t-btn:hover { opacity: .9; }
.t-submit { cursor: pointer; }

/* ==================== Zero block (t396) ==================== */
.t396 { -webkit-text-size-adjust: none; }
.t396__artboard { position: relative; height: 550px; overflow: hidden; background-color: transparent; }
/* artboard "Overflow" setting: hidden by default, visible / scroll only when chosen in the editor */
.t396__artboard[data-artboard-ovrflw="visible"] { overflow: visible; }
.t396__artboard[data-artboard-ovrflw="auto"] { overflow-x: auto; overflow-y: hidden; }
.t396__carrier { position: absolute; top: 0; left: 0; width: 100%; height: 550px; z-index: 0; background-size: cover; background-position: center; background-repeat: no-repeat; pointer-events: none; }
.t396__filter { position: absolute; top: 0; left: 0; width: 100%; height: 550px; z-index: 0; pointer-events: none; }
.t396__elem { position: absolute; box-sizing: border-box; display: table; }
.t396 .tn-atom { box-sizing: border-box; display: table-cell; vertical-align: middle; -webkit-text-size-adjust: none; word-wrap: break-word; }
.t396 .tn-atom a { color: inherit; text-decoration: none; }
.t396 .tn-atom a:hover { opacity: .85; }
.t396 .tn-elem[data-elem-type="text"] .tn-atom { display: block; }
.t396 .tn-elem[data-elem-type="text"] .tn-atom strong, .t396 .tn-elem[data-elem-type="text"] .tn-atom b { font-weight: 700; }
.t396 .tn-elem[data-elem-type="button"] .tn-atom {
  display: table-cell; width: 100%; height: 100%; text-align: center; white-space: nowrap; cursor: pointer;
  border-style: solid; transition: background-color .2s, color .2s, border-color .2s;
}
.t396 .tn-elem[data-elem-type="button"] a.tn-atom { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.t396 .tn-elem[data-elem-type="shape"] { display: block; }
.t396 .tn-elem[data-elem-type="shape"] .tn-atom { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-size: cover; }
.t396 .tn-elem[data-elem-type="image"] { display: block; }
.t396 .tn-elem[data-elem-type="image"] .tn-atom { display: block; }
.t396 .tn-atom__img { display: block; width: 100%; height: auto; }
.t396 .tn-elem[data-elem-type="html"], .t396 .tn-elem[data-elem-type="form"], .t396 .tn-elem[data-elem-type="gallery"],
.t396 .tn-elem[data-elem-type="video"], .t396 .tn-elem[data-elem-type="vector"], .t396 .tn-elem[data-elem-type="tooltip"] { display: block; }
.t396 .tn-elem[data-elem-type="html"] .tn-atom, .t396 .tn-elem[data-elem-type="form"] .tn-atom,
.t396 .tn-elem[data-elem-type="video"] .tn-atom, .t396 .tn-elem[data-elem-type="vector"] .tn-atom { display: block; width: 100%; height: 100%; }
.t396 .tn-atom__vector svg { display: block; width: 100%; height: 100%; }
.t396 .tn-elem[data-elem-type="video"] iframe { width: 100%; height: 100%; border: 0; }

/* ==================== standard Tilda blocks used on the site ==================== */

/* redirect block (t303) — the redirects are disabled, keep the block itself out of the layout */
.t303 { display: none; }

/* t026 — name + caption above video reviews */
.t026__title { font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.35; color: #072138; letter-spacing: .5px; }
.t026__descr { margin-top: 4px; color: #5d6a77; letter-spacing: .5px; }

/* t121 — YouTube video; fixed 540px height becomes a 16:9 box */
.t121 center { display: block; }
.t121 .t-video-lazyload { position: relative; max-width: 960px; margin: 0 auto; height: auto !important; aspect-ratio: 16 / 9; background: #0b1f33; border-radius: 6px; overflow: hidden; }
.t121 .t-video-lazyload iframe { position: absolute; inset: 0; width: 100%; height: 100% !important; border: 0; }

/* t142 — single centred button */
.t142 { text-align: center; }
.t142__wrapone, .t142__wraptwo { display: inline-block; }
.t142 a { text-decoration: none; }
.t142__submit { background: transparent; color: #072138; padding: 0 40px; font-weight: 600; transition: background-color .2s, color .2s; }
.t142 a:hover .t142__submit { background: #072138; color: #fff !important; }

/* t585 — FAQ accordion (tilda-scripts toggles the [hidden] content) */
.t585__wrapper { }
.t585__header { position: relative; }
.t585__trigger-button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.t585__title { flex: 1; }
.t585__icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; }
.t585__icon-hover { display: none; }
.t585__circle { position: absolute; inset: 0; border-radius: 50%; transition: background-color .2s; }
.t585__lines { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.t585__lines svg { width: 24px; height: 24px; }
.t585__trigger-button[aria-expanded="true"] .t585__lines { transform: rotate(45deg); }
.t585__trigger-button:hover .t585__circle { background-color: #eee !important; }
.t585__content { overflow: hidden; }
/* older t585 markup (no <button>, no [hidden]): collapsed until the wrapper gets .t585__opened */
.t585__header:not(:has(.t585__trigger-button)) { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; }
.t585__wrapper:not(:has(.t585__trigger-button)) > .t585__content { display: none; }
.t585__wrapper.t585__opened > .t585__content { display: block; }
.t585__wrapper.t585__opened .t585__lines { transform: rotate(45deg); }
.t585__header:not(:has(.t585__trigger-button)):hover .t585__circle { opacity: .9; }
.t585__textwrapper { padding: 0 54px 28px 0; }
.t585__border { border-top: 2px solid #cdcdcd; }
.t585 .t585__wrapper:last-child .t585__content + * { }

/* t530 — interview bubbles on the case pages */
.t530__col { display: flex; align-items: flex-start; gap: 18px; }
.t530__col > .t-cell:first-child { flex-shrink: 0; }
.t530__bgimg { position: relative; border-radius: 50%; background-size: cover; background-position: center; }
.t530__cell { flex: 1; min-width: 0; }
.t530__bubble { position: relative; padding: 20px 24px; background: #fff; }
.t530__bubble_right { background: #e9eef3; }
.t530__name { margin-bottom: 6px; }
.t530__descr:empty, .t530__descr > div:empty { display: none; }
.t530__text { line-height: 1.6; }
.t530__separator { height: 30px; }
.t530__cell_right { order: -1; }

/* t943 — fixed button on phones */
.t943__buttonwrapper { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 9990; display: flex; justify-content: center; pointer-events: none; }
.t943__btn { pointer-events: auto; height: 54px; padding: 0 34px; font-weight: 700; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: opacity .3s, transform .3s; }
.t943__btn_hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* t004 / t017 — text pages (privacy policy) */
.t004 .t-text, .t017 .t-title, .t017 .t-uptitle { font-family: 'Montserrat', Arial, sans-serif; color: #1c2733; }
.t004 .t-text { font-weight: 400; font-size: 16px; line-height: 1.7; }
.t004 a { color: #0f4c81; }
.t017__title { margin-bottom: 10px; }
.t017__uptitle { margin-top: 10px; }

/* t001 / t164 — text on cover blocks */
.t001__wrapper { position: relative; z-index: 2; }
.t001__uptitle, .t001__title, .t001__descr, .t164 .t-title, .t164 .t-descr { color: #fff; }
.t001__title { margin: 14px 0; }
.t001__descr { max-width: 760px; margin: 0 auto; }
.t-cover__wrapper { display: flex; flex-direction: column; justify-content: center; }
.t164 { position: relative; z-index: 2; }

/* t512 — icon + text list */
.t512 .t-item { display: flex; align-items: flex-start; gap: 24px; }
.t512__bgimg { width: 64px; height: 64px; flex-shrink: 0; background-size: contain; background-repeat: no-repeat; background-position: center; }
.t512__textwrapper { flex: 1; min-width: 0; }
.t512__separator { height: 34px; }

/* t560 — social links */
.t-sociallinks__wrapper { display: flex; justify-content: center; gap: 14px; }
.t-sociallinks__item a { display: block; width: 36px; height: 36px; }
.t-sociallinks__item svg { width: 100%; height: 100%; }

/* t229 — fixed top menu (workshop page) */
.t229 { position: relative; z-index: 990; width: 100%; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.t229__positionfixed { position: fixed; top: 0; left: 0; }
.t229__maincontainer { display: flex; align-items: center; justify-content: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.t229__padding40px { display: none; }
.t229__centerside ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; margin: 0; padding: 0; list-style: none; }
.t229__list_item { margin: 0; }
.t-menu__link-item { font-family: 'Montserrat', Arial, sans-serif; text-decoration: none; letter-spacing: .5px; transition: opacity .2s; }
.t-menu__link-item:hover { opacity: .65; }

/* popups (form / video / smartsender): tilda-popup.css has the base, these are the inner parts */
.t702__wrapper, .t868__code-wrap { padding: 40px; background: #fff; box-sizing: border-box; }
.t702__title { margin-bottom: 24px; }
.t331__video-carier { max-width: 100%; height: auto !important; aspect-ratio: 16 / 9; }
.t331__video-carier iframe { width: 100%; height: 100%; }
@media screen and (max-width: 640px) {
  .t702__wrapper, .t868__code-wrap { padding: 30px 20px; }
  .t530__col { gap: 12px; }
  .t530__bgimg { width: 54px !important; height: 54px !important; }
  .t530__bubble { padding: 16px 18px; }
  .t585__textwrapper { padding-right: 0; }
  .t585__trigger-button { padding: 20px 0; }
  .t585__title { font-size: 17px !important; }
  .t512 .t-item { gap: 16px; }
  .t512__bgimg { width: 48px; height: 48px; }
}

/* ==================== mobile menu (built by js/site.js) ==================== */
.mm-burger { display: none; }
.mm-panel { display: none; }
@media screen and (max-width: 639px) {
  .mm-header { position: relative; }
  .mm-header.fixed { position: fixed; }
  .mm-burger {
    position: absolute; top: 50%; right: 14px; z-index: 50; transform: translateY(-50%);
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 11px 10px; border: 0; border-radius: 8px; box-sizing: border-box;
    background: rgba(255, 255, 255, .12); cursor: pointer;
  }
  .t229.mm-header .mm-burger { background: rgba(0, 0, 0, .06); }
  .mm-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .t229.mm-header .mm-burger span { background: #072138; }
  .mm-burger_open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mm-burger_open span:nth-child(2) { opacity: 0; }
  .mm-burger_open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* on phones the header keeps only the logo + burger; its links live in the panel */
  .t396.mm-header .tn-elem:has(a), .mm-header .t396 .tn-elem:has(a) { display: none !important; }
  .t229.mm-header .t229__centerside { display: none; }
  .t229.mm-header .t229__maincontainer { justify-content: flex-start; }
  .mm-panel {
    position: fixed; left: 0; right: 0; z-index: 100000; display: flex; flex-direction: column;
    max-height: calc(100vh - 70px); overflow-y: auto; padding: 8px 20px 22px; box-sizing: border-box;
    background: #072138; box-shadow: 0 16px 30px rgba(0, 0, 0, .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .mm-panel_open { opacity: 1; visibility: visible; transform: none; }
  .mm-panel a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font: 500 17px/1.3 'Montserrat', Arial, sans-serif; }
  .mm-panel a:last-child { border-bottom: 0; }
  .mm-panel a.mm-panel__cta { margin-top: 14px; padding: 14px; border: 1px solid #fff; border-radius: 4px; text-align: center; font-weight: 600; }
  .mm-panel a.mm-panel__cta + a.mm-panel__cta { margin-top: 8px; }
}

/* cover blocks (t-cover): background layers sit under the content, the content starts at the top of the cover */
.t-cover { position: relative; }
.t-cover > .t-cover__carrier, .t-cover > .t-cover__filter { position: absolute !important; top: 0; left: 0; width: 100%; }
.t-cover > .t-cover__carrier { z-index: 0; }
.t-cover > .t-cover__filter { z-index: 1; }
.t-cover > .t-container, .t-cover > .t164, .t-cover > .t001 { position: relative; z-index: 2; }
.t-cover .t-cover__wrapper { display: flex; flex-direction: column; justify-content: center; width: auto; }
.t-cover .t-text, .t-cover .t-title, .t-cover .t-descr, .t-cover .t-uptitle { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
@media screen and (max-width: 640px) {
  .t-cover, .t-cover .t-cover__wrapper { height: auto !important; }
  .t-cover > .t-cover__carrier, .t-cover > .t-cover__filter { height: 100% !important; }
  .t-cover .t-container { position: relative !important; top: auto !important; left: auto !important; }
  .t-cover .t-cover__wrapper { padding: 60px 0; }
  .t164__text > div { font-size: 17px !important; }
}
