/* Inter, latin and polish marks. One variable file per range, no italic. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* home-faq.css */
/* Homepage FAQ. The photo stays a frame. Opening a question does not stretch it. */

body.home .answer__wrapper {
  align-items: flex-start;
}

body.home .answer__img {
  position: sticky;
  top: 112px;
  align-self: flex-start;
  width: min(34%, 420px);
  height: auto;
  aspect-ratio: 580 / 962;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
}

body.home .answer__list {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

body.home .answer .qwestion {
  display: block;
  padding: 0;
  cursor: default;
  font-size: 18px;
}

body.home .answer .qwestion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

body.home .answer .qwestion summary::-webkit-details-marker {
  display: none;
}

body.home .answer .qwestion summary::marker {
  content: "";
}

body.home .answer .qwestion summary > div {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

body.home .answer .qwestion summary > div img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

body.home .answer .qwestion summary > div span {
  line-height: 1.35;
}

body.home .answer .qwestion__arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 0.2s ease;
}

body.home .answer .qwestion details[open] .qwestion__arrow {
  transform: rotate(90deg);
}

body.home .answer .qwestion__answer {
  padding: 0 54px 20px 62px;
  color: #7a6158;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  body.home .answer__img {
    width: min(40%, 360px);
    height: auto;
  }
}

@media (max-width: 768px) {
  body.home .answer__img {
    position: static;
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 580 / 962;
    max-height: none;
    object-fit: contain;
  }

  body.home .answer__list {
    width: 100%;
  }

  body.home .answer .qwestion summary {
    min-height: 68px;
    padding: 14px 16px;
  }

  body.home .answer .qwestion__answer {
    padding: 0 16px 16px 58px;
    font-size: 15px;
  }
}

/* home-youtube.css */
.video-wrapper .yt-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #1b1916;
  cursor: pointer;
}

.video-wrapper .yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* hystmodal.min.css */
.hystmodal__opened,.hystmodal__shadow{position:fixed;right:0;left:0;overflow:hidden}.hystmodal__shadow{border:none;display:block;width:100%;top:0;bottom:0;pointer-events:none;z-index:98;opacity:0;transition:opacity .15s ease;background-color:#000}.hystmodal__shadow--show{pointer-events:auto;opacity:.6}.hystmodal{position:fixed;top:0;bottom:0;right:0;left:0;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;opacity:1;pointer-events:none;display:flex;flex-flow:column nowrap;justify-content:flex-start;z-index:99;visibility:hidden}.hystmodal--active{opacity:1}.hystmodal--active,.hystmodal--moved{pointer-events:auto;visibility:visible}.hystmodal__wrap{flex-shrink:0;flex-grow:0;width:100%;min-height:100%;margin:auto;display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}.hystmodal__window{margin:50px 0;box-sizing:border-box;flex-shrink:0;flex-grow:0;background:#fff;width:600px;max-width:100%;overflow:visible;transition:transform .2s ease 0s,opacity .2s ease 0s;transform:scale(.9);opacity:0}.hystmodal--active .hystmodal__window{transform:scale(1);opacity:1}.hystmodal__close{position:absolute;z-index:10;top:0;right:-40px;display:block;width:30px;height:30px;background-color:transparent;background-position:50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M22 2L2 22'/%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M2 2l20 20'/%3E%3C/svg%3E");background-size:100% 100%;border:none;font-size:0;cursor:pointer;outline:none}.hystmodal__close:focus{outline:2px dotted #afb3b9;outline-offset:2px}@media (max-width:767px){.hystmodal__close{top:10px;right:10px;width:24px;height:24px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%23111' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M22 2L2 22'/%3E%3Cpath fill='none' stroke='%23111' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M2 2l20 20'/%3E%3C/svg%3E")}.hystmodal__window{margin:0}}
/* home-a11y.css */
/* Homepage accessibility. Brand orange #EA5212 with white text is 3.68:1.
   These controls need 4.5:1. The rest of the palette stays. */

.skip-link.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
  background-color: #fffdfb;
  border-radius: 12px;
  clip: auto !important;
  clip-path: none;
  color: #3b2925;
  display: block;
  font-size: 16px;
  font-weight: 600;
  height: auto;
  left: 12px;
  line-height: normal;
  padding: 12px 16px;
  text-decoration: none;
  top: 12px;
  width: auto;
  z-index: 100000;
}

#primary[tabindex="-1"]:focus {
  outline: 0;
}

body.home .btn,
body.home .tests__link,
body.home .variant__link,
body.home .form-main__btn {
  background-color: #c2410c;
  color: #fff;
}

body.home .btn:hover,
body.home .tests__link:hover,
body.home .variant__link:hover,
body.home .form-main__btn:hover {
  background-color: #9a3412;
  color: #fff;
}

body a.sign_footer.btn {
  background-color: #fffdfb;
  color: #9a3412;
}

body a.sign_footer.btn:hover {
  background-color: #fae3b1;
  color: #9a3412;
}

body.home .comment__author {
  background-color: #c2410c;
  color: #fff;
}

body.home .track > .comment:nth-child(2n) > .comment__author {
  background-color: #1a5c60;
  color: #fff;
}

body.home .price__wrapper {
  background-color: #c2410c;
}

body.home .comment__name {
  color: #9a3412;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.home .about-us__card_main {
  background-image: url("assets/img/about.webp");
}

.footer .footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 6px 0;
  line-height: 1.2;
  color: #fff;
}

.footer__label {
  color: #fffdfb;
  display: block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer__legal {
  color: #fffdfb;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  margin-top: 16px;
  max-width: 280px;
}

body.home .test__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  align-items: center;
  gap: 28px 40px;
  padding: 36px 36px 36px 48px;
}

body.home .test__text {
  max-width: none;
}

body.home .test .tests__paragraph {
  margin-top: 16px;
}

body.home .test .tests__link {
  width: fit-content;
  margin-top: 24px;
}

body.home .test__img > img {
  display: block;
  width: 100%;
  max-width: 640px;
  max-height: none;
  height: auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  body.home .test__wrapper {
    grid-template-columns: 1fr;
    padding: 28px 22px 32px;
    gap: 8px;
  }

  body.home .test__img > img {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* page-heading.css */
/* Inner page titles. Same block as Wyniki kursantów. Hero titles stay on the photo. */

body h1.entry-title,
body h1.team__title,
body h1.blog__title,
body article.post > h1.post__title,
body h1.tutor-course-details-title,
body .contact_page h1.contact__title,
body h1.results__title {
  color: #3b2925;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 12px;
  margin-bottom: 0;
  text-align: center;
}

body .contact_page h1.contact__title {
  text-align: left;
}

.entry-header::before,
.team .container::before,
.blog > .container::before,
article.post::before,
.tutor-course-details-header::before,
.courses-archive-heading .results__eyebrow {
  color: #9a3412;
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.entry-header::before,
.team .container::before,
.blog > .container::before,
article.post::before,
.tutor-course-details-header::before {
  content: "Akademia FlexPro";
}

.entry-header,
.team .container,
.blog > .container,
.courses-archive-heading {
  padding-top: 12px;
}

.courses-archive-heading {
  margin-bottom: 8px;
}

.team__title.margin-block,
.blog__title {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  body h1.entry-title,
  body h1.team__title,
  body h1.blog__title,
  body article.post > h1.post__title,
  body h1.tutor-course-details-title,
  body .contact_page h1.contact__title,
  body h1.results__title {
    font-size: 40px;
  }
}

/* header-bar.css */
/* Header bar. Labels stay on one line. Narrow screens open a menu card. */

body .header > .container {
  max-width: 1780px;
  width: 100%;
}

.header__wrapper {
  align-items: center;
  background: rgba(32, 20, 16, 0.94);
  border: 1px solid rgba(255, 253, 251, 0.16);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(21, 12, 10, 0.18);
  gap: 12px;
  padding: 6px 8px 6px 18px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header__logo {
  color: #fffdfb;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header__buttons {
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  position: relative;
  z-index: 6;
}

.header__logo {
  position: relative;
  z-index: 6;
}

.header .signin-btn.btn_header_light {
  background: #fffdfb;
  border-radius: 12px;
  color: #3b2925;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  padding: 12px 16px;
  white-space: nowrap;
}

.header .signin-btn.btn_header_light:hover {
  background: #fae3b1;
  color: #3b2925;
}

.header .acount-btn.btn_header_dark {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 253, 251, 0.32);
  border-radius: 12px;
  box-shadow: none;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.header .acount-btn.btn_header_dark:hover {
  background: rgba(255, 253, 251, 0.12);
  border-color: rgba(255, 253, 251, 0.7);
}

@media (min-width: 1320px) {
  .header__nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
  }

  .header__links {
    align-items: center;
    gap: 2px;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .header__link {
    border-radius: 999px;
    color: rgba(255, 253, 251, 0.92);
    font-size: 14px;
    font-weight: 550;
    line-height: 1;
    padding: 8px 10px;
    text-decoration: none;
    white-space: nowrap;
  }

  .header__link:hover {
    background: rgba(255, 253, 251, 0.1);
    color: #fffdfb;
  }
}

@media (max-width: 1319px) {
  .header {
    z-index: 30;
  }

  .header__wrapper {
    position: relative;
  }

  .header .burger-btn,
  .header .burger-btn.active {
    align-items: center;
    background: transparent;
    background-image: none;
    border: 1px solid rgba(255, 253, 251, 0.32);
    border-radius: 12px;
    box-shadow: none;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    max-width: 42px;
    padding: 0;
    position: relative;
    width: 42px;
  }

  .header .burger-btn::before,
  .header .burger-btn::after {
    background: #fffdfb;
    border-radius: 1px;
    content: "";
    height: 2px;
    position: absolute;
    width: 16px;
  }

  .header .burger-btn::before {
    box-shadow: 0 -6px 0 #fffdfb, 0 6px 0 #fffdfb;
  }

  .header .burger-btn.active::before,
  .header .burger-btn.active::after {
    box-shadow: none;
  }

  .header .burger-btn.active::before {
    transform: rotate(45deg);
  }

  .header .burger-btn.active::after {
    transform: rotate(-45deg);
  }

  .header .burger-btn:hover {
    background: rgba(255, 253, 251, 0.12);
    border-color: rgba(255, 253, 251, 0.7);
  }

  .header .signin-btn.btn_header_light {
    display: inline-flex !important;
    font-size: 13px;
    padding: 10px 12px;
  }

  .header__nav,
  .header__nav.active {
    background: #201410;
    background-color: #201410;
    border: 1px solid rgba(255, 253, 251, 0.16);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(21, 12, 10, 0.28);
    height: auto;
    left: auto;
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(360px, 100%);
    z-index: 7;
  }

  .header__nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    visibility: hidden;
  }

  .header__nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .header__links {
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
  }

  .header__link {
    border-radius: 12px;
    color: #fffdfb;
    display: flex;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.2;
    min-height: 44px;
    padding: 10px 14px;
    text-decoration: none;
  }

  .header__link:hover {
    background: rgba(255, 253, 251, 0.1);
    color: #fffdfb;
  }
}

/* cta.css */
/* Primary actions. White on #C2410C is 5.18:1. Links and prices stay. */

a.btn,
button.btn,
a.hero__link {
  align-items: center;
  background-color: #c2410c;
  border: 0;
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-weight: 650;
  gap: 10px;
  justify-content: center;
  line-height: 1.25;
  min-height: 48px;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
}

a.btn:hover,
button.btn:hover,
a.hero__link:hover {
  background-color: #9a3412;
  color: #fff;
}

a.hero__link {
  width: auto;
}

a.hero__link img {
  display: block;
  height: 18px;
  margin: 0;
  width: 18px;
}

a.variant__link.btn {
  display: flex !important;
  margin: 0 auto;
  max-width: 100%;
  padding: 14px 18px;
  width: 100%;
}

body a.sign_footer.btn,
body a.sign_footer.btn:hover {
  background-color: #fffdfb;
  color: #9a3412;
}

body a.sign_footer.btn:hover {
  background-color: #fae3b1;
}

body.page-template-page-instructor .hero__btn.btn_light {
  background: #c2410c;
  border-radius: 14px;
  color: #fff;
}

body.page-template-page-instructor .hero__btn.btn_light:hover {
  background: #9a3412;
  color: #fff;
}

body.page-template-page-instructor .hero__btn.btn_dark {
  background: #fffdfb;
  border-radius: 14px;
  color: #3b2925;
}

body.page-template-page-instructor .hero__btn.btn_dark:hover {
  background: #fae3b1;
  color: #3b2925;
}

.tutor-add-to-cart-button.tutor-btn-primary,
.tutor-course-card .tutor-btn-primary {
  background: #c2410c !important;
  border-color: #c2410c !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-weight: 650;
}

.tutor-add-to-cart-button.tutor-btn-primary:hover,
.tutor-course-card .tutor-btn-primary:hover {
  background: #9a3412 !important;
  border-color: #9a3412 !important;
  color: #fff !important;
}

/* Reading text. Photo heroes, cards and buttons stay as they are. */

.entry-content,
.post__content {
  color: #3b2925;
  font-size: 17px;
  line-height: 1.7;
}

.post__content {
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.post__content > p,
.post__content > ul,
.post__content > ol,
.post__content > h2,
.post__content > h3 {
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
}

.entry-header + .entry-content,
article.post > .post__content {
  margin-top: 22px;
}

.entry-content > p,
.post__content p {
  line-height: 1.7;
  margin: 0 auto 0.95em;
  text-wrap: pretty;
}

.entry-content > h2,
.entry-content > h3,
.post__content h2,
.post__content h3 {
  color: #3b2925;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 1.75em auto 0.4em;
}

.entry-content > h2,
.post__content h2 {
  font-size: 22px;
}

.entry-content > h3,
.post__content h3 {
  font-size: 19px;
}

.entry-content > ul > li,
.entry-content > ol > li,
.post__content li {
  line-height: 1.7;
  margin-top: 0.35em;
}

.post__content ul,
.post__content ol {
  margin: 0 auto 1em;
  padding-left: 1.25em;
}

.post__content ul {
  list-style: disc;
}

.post__content ol {
  list-style: decimal;
}

.team__bio,
.post__excerpt {
  font-size: 17px;
  line-height: 1.7;
  max-width: 36em;
  text-wrap: pretty;
}

.post__meta {
  line-height: 1.45;
  margin-top: 10px;
}

.about-us__paragraph,
.explore__paragraph,
.tests__paragraph,
.section-lead,
.split__text p,
.price__pragraph,
body.home .contact__paragraph {
  line-height: 1.65;
  text-wrap: pretty;
}

.about-us__paragraph,
.explore__paragraph,
.section-lead,
body.home .contact__paragraph {
  max-width: 40rem;
}

.split__text p {
  font-size: 18px;
  max-width: 36em;
}

.tutor-course-content p,
.tutor-course-details-content p,
.tutor-course-content-content p {
  line-height: 1.7;
  margin-bottom: 0.95em;
  max-width: 40rem;
  text-wrap: pretty;
}
