.product-view {
  background-image: url(../images/product_background.svg);
  background-position: top center;
  background-repeat: no-repeat;
}

.product.full-width .content.h1 {
  min-height: auto;
}

.product h1 {
  font-weight: 600;
  font-size: 144px;
  line-height: 74%;
  padding-top: 0px;
  margin-top: 50px;
  letter-spacing: -5px;
  margin-bottom: 0;
  z-index: 1;
  position: relative;
}

.product.full-width h1 {
  max-width: 100%;
  font-size: 96px;
  margin-top: 96px;
}

.product .to-download h1 {
  text-align: center;
  margin: 96px 0;
  font-size: 32px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  max-width: 100%;
}

.product h1 span {
  font-weight: 600;
  font-size: 96px;
  line-height: 100%;
  color: var(--primary-font-color);
  display: block;
}

.product.full-width h1 span {
  font-size: 48px;
}

.product h1 span.small {
  font-weight: 600;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: -0.04em;
  max-width: 70%;
  display: block;
  margin-top: 16px;
  margin-bottom: 32px;
}

.product .content-box {
  padding-top: 18px;
}

.product .content-box.bottom-128 {
  margin-bottom: 128px;
}

.product .content-box p.product-top-info {
  font-weight: normal;
  font-size: 18px;
  line-height: 160%;
  color: var(--comment-font-color);
  width: 485px;
}

.product .content-box p.product-top-promo:empty {
  display: none;
}

.product .content-box p.product-top-promo {
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  color: var(--primary-font-color);
  margin-top: 40px;
}

.product .content-box p.product-top-promo span {
  color: var(--secondary-font-color);
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  display: block;
}

.produkt-cover {
  position: absolute;
  top: 0;
  right: -160px;
  width: 640px;
  height: 800px;
  background-position-y: -36px;
  background-repeat: no-repeat;
  z-index: 0;
  height: 680px;
  border-radius: 0 0 0 250px;
}

.product-mask {
  right: 235px;
  position: absolute;
  top: 314px;
}

.product.full-width .product-mask {
  display: none;
}

.more-buttons-box {
  z-index: 1;
  display: flex;
  width: 609px;
  margin-top: 40px;
  justify-content: space-between;
}

.product.full-width .more-buttons-box {
  margin-top: 20px;
}

.more-buttons-box .more a {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  padding: 22px 48px;
}

.more-buttons-box .more {
  z-index: 2;
}

.more-buttons-box .more.more-invert a {
  color: var(--secondary-font-color);
  background-color: #fff;
  background-image: none;
}

.chart-wrapper {
  width: 100%;
  margin: 52px 0 0;
}

.product-section {
  margin-bottom: 64px;
  border-bottom: 1px solid #e2e4e9;
}

.product-section.no-border {
  border-bottom: none;
}

.product-section.element-switch {
  border-bottom: none;
}

.product-section.element-switch .ac {
  background-color: transparent;
}

.product-section.no-margin {
  margin-bottom: 0;
  border-bottom: none;
}

.product-section.no-border {
  border-bottom: none;
}

.product-section.bottom-128 {
  margin-bottom: 64px;
}

.product-header {
  margin-bottom: 32px;
}

.tfi .product-header {
  margin-top: 125px;
}

.tfi .tab-content-view .product-header {
  margin-top: 75px;
}

.tfi .product-section {
  border-bottom: none;
}

.tfi .product-slider-wrapper {
  background-color: transparent;
}

.product-subheader {
  text-align: center;
  margin-top: 32px;
  margin-bottom: -32px;
}

.product-header h3 {
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  text-align: center;
  padding: 0;
  margin: 0;
}

.product-header h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
  color: var(--primary-font-color);
  text-align: center;
  padding: 0;
  margin: 0;
}

.tfi .product-header p {
  max-width: 733px;
  width: 100%;
  margin: 35px auto 0 auto;
  text-align: center;
  color: var(--comment-font-color);
  font-size: 18px;
  font-weight: 400;
}

.product-header.aligncenter {
  margin-top: 96px;
  margin-bottom: 63px !important;
}

.product-header.big-header h3 {
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
}

.product-section .product-description {
  font-weight: normal;
  font-size: 18px;
  line-height: 160%;
  color: var(--comment-font-color);
  text-align: center;
  width: 100%;
  max-width: 733px;
  margin: 0 auto 70px;
}

.product-section .product-description * {
  font-size: 18px;
  line-height: 160%;
  color: var(--comment-font-color);
  text-align: center;
}

.product-section .product-description-to-left * {
  text-align: left;
}

.product-section .product-description ul {
  font-weight: normal;
}

.product-section .product-description li {
  text-align: justify;
  font-weight: normal;
}

.product-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.product-grid.no-content {
  margin-bottom: 64px;
}

.product-grid.product-description {
  max-width: none;
  text-align: left;
  margin-bottom: 0;
}

.product-grid.product-description p {
  flex: 1 1 0px;
}

.product-grid.product-description p:first-child {
  padding-left: 0;
}

.product-grid.product-description p:last-child {
  padding-right: 0;
}

.product-grid > div {
  text-align: center;
  flex: 1 1 0px;
}

.product-grid .cover-grid {
  margin-bottom: 38px;
}

.product-grid .title-grid {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
  padding: 0 10px;
}

.product-grid p {
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  color: var(--comment-font-color);
  margin-bottom: 64px;
  padding: 0 10px;
}

.product-grid li {
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  color: var(--comment-font-color);
}

.product-grid.home-grid-row {
  margin-top: 64px;
}

.product-grid.home-grid-row .home-comment {
  text-align: left;
  padding: 32px 0;
}

.product-grid.home-grid-row .home-comment > div {
  padding: 0 32px;
}

.product-grid.home-grid-row .home-comment .home-comment-content {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 32px;
}

.product-grid.home-grid-row .home-comment .author-description div:first-of-type {
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
}

.product-grid.home-grid-row .home-comment .author-description div:last-of-type {
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  color: var(--primary-font-color);
}

.product-section .more-buttons-box {
  width: 100%;
  margin-top: 0;
  justify-content: center;
}

.product-section .more-buttons-box.bottom-109 .more a {
  margin-bottom: 109px;
}

.product-grid .product-header h3,
.product-grid .product-header h4 {
  text-align: left;
}

.product-grid > div.to-left {
  max-width: 50%;
  text-align: left;
  /*border-right: 1px solid #e2e4e9;*/
}

.product-grid > div.to-left.no-border {
  border-right: none;
}

.product-grid > div.to-left p {
  padding-left: 0;
  margin-bottom: 16px;
  padding-right: 64px;
  text-align: left;
}

.product-grid > div.to-left ul {
  margin-left: 16px;
  margin-top: 32px;
}

.product-grid > div.to-left ul li {
  text-align: left;
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  margin-bottom: 8px;
}

.product-grid > div.to-left ul li::before {
  content: '\2022';
  color: var(--primary-font-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.product-grid > div.to-left p a,
.product-grid > div.to-left ul li a {
  font-size: inherit;
  font-weight: inherit;
  color: var(--primary-font-color);
  text-decoration: none;
}

.product-grid > div.to-left .more-buttons-box {
  justify-content: left;
  margin-top: 40px;
}

.product-grid > div.to-left .more-buttons-box .more {
  text-align: left;
}

.product-grid > div.to-left .more-buttons-box .more a {
  margin-bottom: 0;
}

.product-grid .product-grid-column > div {
  padding-left: 70px;
  margin-bottom: 50px;
  display: flex;
}

.product-grid .product-grid-column > div:last-child {
  margin-bottom: 0;
}

.product-grid-column .product-list {
  text-align: left;
  padding-left: 30px;
}

.product-grid-column .product-list .title {
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
  margin-bottom: 8px;
}

.product-grid-column .product-list p {
  padding: 0;
  margin-bottom: 6px;
  margin-top: 0;
}

.product-grid-column .product-list p:nth-of-type(2) {
  color: var(--secondary-font-color);
}

.product-grid-column .product-list a {
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: var(--primary-font-color);
  text-decoration: none;
}

.product-grid-column .product-list a .fa {
  color: inherit;
}

.product-grid-column .product-list a img {
  vertical-align: middle;
  margin-top: -3px;
}

.product-grid.two-columns {
  margin-bottom: 64px;
}

.product-section .listing-table tr td:first-of-type {
  border-left: none;
}

.product-section .listing-table tr:nth-child(odd) {
  background-color: transparent;
}

.product-section .owner {
  display: flex;
  padding: 33px 0;
}

.product-section .owner .owner-desc-box {
  display: flex;
}

.product-section .owner:last-child {
  padding-bottom: 0;
}

.product-section .owner:first-child,
.product-section .owner:first-of-type {
  border-top: none;
}

.product-section .owner .info-owner {
  display: flex;
}

.product-section .owner .info-owner a,
.product-section .owner .info-owner label,
section .owner .info-owner button {
  display: block;
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  color: var(--primary-font-color);
  text-decoration: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

.product-section .owner .info-owner p.more-content a {
  display: inline;
}

section .owner .info-owner .show-area button {
  display: none;
}

.product-section .owner .owner-img {
  background-position: center;
  background-repeat: no-repeat;
  width: 96px;
  height: 96px;
  border-radius: 80px;
  min-width: 96px;
  margin-right: 32px;
  background-size: contain;
}

.product-section .owner .info-owner .owner-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
}

.product-section .owner .info-owner .owner-subtitle {
  font-weight: 600;
  font-size: 16px;
  line-height: 170%;
  color: var(--primary-font-color);
  display: block;
}

.product-section .owner .info-owner p {
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  color: var(--comment-font-color);
  margin-bottom: 0;
  max-height: 6.5em;
  overflow: hidden;
  transition: all 0.2s linear;
}

.product-section .owner .info-owner .show-area p {
  max-height: none;
}

.product-section .owner .contact-owner ul {
  list-style: none;
  padding-left: 0;
  margin-top: 79px;
}

.product-section .owner .owner-desc-box .contact-owner ul {
  margin-top: 15px;
}

.product-section .owner .owner-desc-box .show-more-box {
  padding-right: 75px;
}

.product-section .owner .owner-desc-box .contact-owner li {
  padding-left: 0;
}

.product-section .owner .contact-owner ul li {
  white-space: nowrap;
  padding-left: 130px;
  margin-bottom: 15px;
}

.product-section .owner .contact-owner ul li span {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-right: 3px;
}

.product-section .owner-box .owner:last-of-type {
  margin-bottom: 96px;
}

.risko-o-meter {
  width: 343.7px;
  height: 343.7px;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  text-align: center;
}

.risko-o-meter div {
  position: absolute;
  left: auto;
  top: 208px;
  width: 100%;
  text-align: center;
}

.risko-o-meter-1 {
  background-image: url(../images/risk-o-meter/risk-o-meter-1.svg);
}

.risko-o-meter-2 {
  background-image: url(../images/risk-o-meter/risk-o-meter-2.svg);
}

.risko-o-meter-3 {
  background-image: url(../images/risk-o-meter/risk-o-meter-3.svg);
}

.risko-o-meter-4 {
  background-image: url(../images/risk-o-meter/risk-o-meter-4.svg);
}

.risko-o-meter-5 {
  background-image: url(../images/risk-o-meter/risk-o-meter-5.svg);
}

.risko-o-meter-6 {
  background-image: url(../images/risk-o-meter/risk-o-meter-6.svg);
}

.risko-o-meter-7 {
  background-image: url(../images/risk-o-meter/risk-o-meter-7.svg);
}

.product-grid .risk-o-meter-content {
  text-align: left;
  padding-top: 73px;
}

.risk-o-meter-content .title {
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  margin-bottom: 1px;
}

.risk-o-meter-content .subtitle {
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
  color: var(--primary-font-color);
}

.risk-o-meter-content p {
  font-weight: normal;
  font-size: 18px;
  line-height: 160%;
  color: var(--comment-font-color);
  margin-top: 33px;
  padding: 0;
}

.risk-wrapper {
  padding-top: 53px;
  padding-bottom: 40px;
}

.one-column-to-left {
  margin-top: 64px;
}

.one-column-to-left h3,
.one-column-to-left h4 {
  text-align: left;
}

.under-header-data .header {
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  margin-right: 8px;
}

.under-header-data .header div {
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
  color: #009b47;
  display: inline;
  white-space: nowrap;
}

.under-header-data .content {
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  color: var(--comment-font-color);
}

.product-grid .product-grid-column > div > div:first-child {
  max-width: 100px;
  min-width: 62px;
}

.product-grid .product-grid-column.no-img > div > div:first-child {
  max-width: none;
  min-width: 0;
}

.product-grid .product-grid-column.no-img > div > div.product-list {
  padding-left: 0;
}

.chart-menu {
  margin-bottom: 64px;
}

.chart-menu ul {
  display: flex;
}

.chart-menu li {
  margin-right: 32px;
}

.chart-menu li img {
  margin-right: 8px;
  vertical-align: middle;
}

.chart-menu li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
}

.product-grid-column ul {
  list-style: none;
  margin-left: 64px;
  padding-left: 0;
  margin-top: 2px;
}

.product-grid-column ul li::before {
  content: '\2022';
  color: var(--primary-font-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.product-grid-column ul li {
  text-align: left;
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  margin-bottom: 24px;
}

.product-grid-column ul li:empty {
  display: none;
}

.grid-item .title {
  font-weight: 600;
  font-size: 18px;
  line-height: 160%;
  margin-bottom: 8px;
  padding-right: 32px;
}

.grid-item p {
  font-weight: normal;
  font-size: 16px;
  line-height: 170%;
  color: var(-comment-font-color);
  margin-bottom: 64px;
  padding-right: 32px;
}

.img-wrapper {
  width: 100%;
  margin-bottom: 64px;
}

.img-wrapper img {
  width: auto;
  max-width: 100%;
  height: auto;
}

@media only screen and (min-width: 1025px) {
  .product h1 {
    max-width: 78%;
  }

  .risko-o-meter {
    margin-left: 50px;
  }

  .product-section .owner .contact-owner ul li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-grid.three-columns > div {
    width: 33.33%;
  }

  .product-grid.three-columns.left > div {
    text-align: left;
  }

  .product-section .tab,
  .product-section .tab-no-js {
    margin-top: 30px;
  }

  .under-header-data {
    margin-bottom: -30px;
    margin-top: 64px;
    display: flex;
  }

  .under-header-data .switch-buttons {
    margin-top: 8px;
  }

  .product h1 span {
    margin-top: 21px;
    margin-bottom: 8px;
    padding-right: 60px;
  }

  .product-section.bottom-128 {
    margin-bottom: 128px;
  }

  .product-section ul.downloadable li span.title {
    width: calc(90% - 194px);
  }

  .product-section ul.downloadable {
    margin-bottom: 95px;
  }

  .to-left .more-buttons-box .more a {
    margin-bottom: 0;
  }

  .product-page-list.home-products .product-item .product-picture img {
    border-radius: 128px 19px;
  }

  .product-page-list.home-products .product-item .product-description {
    padding: 9px 0 0 128px;
    text-align: left;
    margin-bottom: 0;
  }

  .product-page-list.home-products .product-item {
    margin-bottom: 96px;
  }

  .tab-content-view ul.product-page-list.home-products {
    margin-top: 96px;
  }

  .product-page-list .product-item .product-description .product-header {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 0;
  }

  .product-page-list .product-item .product-description .product-subheader {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    text-align: left;
  }

  .product-page-list .product-item .product-description .product-content {
    font-weight: normal;
    font-size: 18px;
    line-height: 160%;
    margin: 32px 0;
  }

  .product-page-list .product-item .product-description .more a {
    margin-bottom: 0;
  }

  .product-page-list.home-products li.product-item:nth-child(even) .product-description {
    padding: 9px 128px 0 0;
  }

  .product-header.pin-header h3,
  .product-header.pin-header h4 {
    margin: 0 auto;
    max-width: 70%;
  }

  .product-header.pin-header {
    margin-bottom: 96px;
  }
}

@media only screen and (max-width: 1024px) {
  .produkt-cover,
  .product-mask {
    display: none;
  }

  .product .content-box p.product-top-info {
    width: 100%;
  }

  .product .content-box p.product-top-promo {
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
    color: var(--primary-font-color);
    margin-top: 40px;
    text-align: center;
  }

  .product .content-box p.product-top-promo span {
    color: var(--secondary-font-color);
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
    display: block;
  }

  .product h1 {
    font-size: 100px;
    margin-top: 60px;
  }

  .product h1 span {
    font-size: 70px;
  }

  .more-buttons-box {
    width: auto;
  }

  .product-grid > div.to-left p {
    padding-right: 0;
  }

  .to-left .more-buttons-box .more {
    text-align: center;
  }

  .product-grid .product-grid-column > div {
    padding-left: 0;
  }

  .product-grid-column .product-list .content {
    margin: 0;
  }

  .product-section .owner {
    flex-direction: column;
    padding: 0;
    border-top: none;
    margin-bottom: 25px;
  }

  .product-section .owner:last-of-type {
    margin-bottom: 32px !important;
  }

  .product-section .owner .owner-img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    margin-right: 10px;
  }

  .product-section .owner .contact-owner ul {
    margin-top: 40px;
  }

  .product-section .owner .contact-owner ul li {
    padding-left: 0;
  }

  .product-grid.home-grid-row {
    margin-top: 16px;
  }

  .product h1 span.small {
    font-size: 52px;
    max-width: none;
  }

  .under-header-data {
    margin-top: 32px;
  }

  .under-header-data .content {
    margin: 0;
  }

  .chart-menu {
    margin-bottom: 16px;
  }
}

@media only screen and (max-width: 768px) {
  .listing-table.simple-view tr {
    border-bottom: none;
  }

  .more-buttons-box {
    display: block;
  }

  .product h1 {
    font-size: 54px !important;
    margin-top: 24px;
    line-height: 95%;
    text-align: left;
  }

  .product h1 span {
    font-size: 42px;
  }

  .product .content-box p.product-top-promo {
    text-align: left;
  }

  .product-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .product-section {
    margin-bottom: 16px;
  }

  .product-section .tab-content-view {
    margin-bottom: 16px;
  }

  .risko-o-meter {
    margin: 0 auto;
    width: 100%;
  }

  .product-grid .risk-o-meter-content {
    padding-top: 0;
  }

  .risk-wrapper {
    padding-top: 0;
    padding-bottom: 0;
  }

  .product h1 span.small {
    font-size: 36px;
    max-width: none;
  }

  .one-column-to-left {
    margin-top: 16px;
  }

  .product-grid > div.to-left {
    width: 100%;
    max-width: none;
    border-right: none;
  }

  .product .content-box.bottom-128 {
    margin-bottom: 64px;
  }

  .product-grid.product-description p {
    padding-left: 0;
    padding-right: 0;
  }

  .chart-menu ul {
    flex-direction: column;
  }

  .chart-menu ul li {
    margin-bottom: 25px;
    text-align: center;
    margin-right: 0;
  }

  .product-section ul.downloadable .checkbox-container {
    padding-left: 0;
    position: absolute;
    z-index: 1;
  }

  .product-page-list.home-products .product-item .product-description .more,
  .product-page-list.home-products .product-item .product-description .more a {
    margin-bottom: 0;
  }

  .product-page-list.home-products .product-item:last-child .product-description {
    margin-bottom: 0;
  }

  .product-grid > div.no-img ul {
    margin-top: 32px;
  }

  .product-grid > div.product-grid-column {
    margin-top: 16px;
  }

  .more-buttons-box .more a {
    display: block;
  }

  .product-header.aligncenter {
    margin-top: 16px;
    margin-bottom: 16px !important;
  }

  .product-section.bottom-128 {
    margin-bottom: 32px;
  }
}

/*
 * Landingi „Spokój to przewaga" (klasa .tfi-landing — lista ID w tfi_landing_page_ids()).
 * Tylko desktop: poniżej 1025 px grafika hero jest ukryta, więc nic tu nie jest potrzebne.
 */
@media only screen and (min-width: 1025px) {
  /* Sekcja nie niższa niż grafika (680 px), inaczej następna sekcja zasłania jej dół
     z zaokrągleniem. !important, bo blok tfi-product-top ma inline min-height: 1px. */
  .tfi-landing .main.product:has(.produkt-cover) {
    min-height: 700px !important;
  }

  /* Tytuł łamie się przed grafiką zamiast na nią wchodzić. */
  .tfi-landing .product .content.h1 h1 {
    max-width: 600px;
  }

  /* Grafika wypełnia pole zamiast wklejenia 1:1 z przesunięciem. */
  .tfi-landing .produkt-cover {
    background-size: cover;
    background-position: center top;
  }
}

/* Od 1100 px jest miejsce na 640 px tytułu — „to przewaga." (podtytuł 96 px) mieści się
   w jednej linii. Między 1025 a 1099 px zostaje 600 px, bo 640 wchodziłoby na grafikę. */
@media only screen and (min-width: 1100px) {
  .tfi-landing .product .content.h1 h1 {
    max-width: 640px;
  }
}

/* Landingi: filmy YouTube (blok „Osadzenie") — szerokie, 16:9, zaokrąglone. Blok zapisuje
   iframe z twardym 500×281, więc proporcję trzyma wrapper, a iframe go wypełnia. */
.tfi-landing .wp-block-embed.is-provider-youtube {
  max-width: 960px;
  width: calc(100% - 32px);
  margin: 0 auto 40px;
}

.tfi-landing .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(31, 54, 94, 0.18);
  background: var(--secondary-font-color);
}

.tfi-landing .wp-block-embed.is-provider-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tfi-landing .wp-block-embed.is-provider-youtube:last-of-type {
  margin-bottom: 120px;
}

@media only screen and (max-width: 768px) {
  .tfi-landing .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper {
    border-radius: 16px;
  }

  .tfi-landing .wp-block-embed.is-provider-youtube:last-of-type {
    margin-bottom: 64px;
  }
}
