/* REMOVE negative offset that moves the column off-center */
.t452__col_center,
.t452__col_mobile {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Force social links wrapper to be a centered flex row */
#t-footer_1227438618 .t-sociallinks,
#t-footer_1227438618 .t-sociallinks__wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

#t-footer_1227438618 .t452__maincontainer,
#t-footer_1227438618 .t452__maincontainer .t-sociallinks__wrapper {
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* Mobile typography tweaks: make key headings smaller */
@media screen and (max-width: 959px) {
  /* "Kaip tai veikia?" / "How does it work?" (override Tilda + JS-injected styles) */
  #rec1227372333 .tn-elem[data-elem-id="1470210011265"] .tn-atom[field="tn_text_1470210011265"],
  #rec1227372333 .tn-elem[data-elem-id="1470210011265"] .tn-atom[field="tn_text_1470210011265"] strong {
    font-size: 34px !important;
  }
}

@media screen and (max-width: 639px) {
  /* "Kaip tai veikia?" / "How does it work?" tighter on small phones */
  #rec1227372333 .tn-elem[data-elem-id="1470210011265"] .tn-atom[field="tn_text_1470210011265"],
  #rec1227372333 .tn-elem[data-elem-id="1470210011265"] .tn-atom[field="tn_text_1470210011265"] strong {
    font-size: 30px !important;
  }
  /* Hero headline: "Taupykite maistą, taupykite pinigus" */
  #rec1220624698 .tn-elem[data-elem-id="1470233923389"] .tn-atom {
    font-size: 22px !important;
  }

  /* Make the "Siųsti" button not full-width on mobile */
  #rec1217660238 .t-form__submit { text-align: center !important; }
  #rec1217660238 .t-form__submit .t-btnflex.t-btnflex_type_submit {
    display: inline-flex !important;
    width: auto !important;
    max-width: 240px !important; /* cap width on phones */
    margin: 0 auto !important;
  }
  #rec1217660238 .t-form__submit .t-btnflex.t-btnflex_type_submit .t-btnflex__text {
    white-space: nowrap !important;
  }
}

@media screen and (max-width: 479px) {
  /* "Kaip tai veikia?" / "How does it work?" even smaller on very small screens */
  #rec1227372333 .tn-elem[data-elem-id="1470210011265"] .tn-atom[field="tn_text_1470210011265"],
  #rec1227372333 .tn-elem[data-elem-id="1470210011265"] .tn-atom[field="tn_text_1470210011265"] strong {
    font-size: 28px !important;
  }
  /* Hero headline smaller on very small screens */
  #rec1220624698 .tn-elem[data-elem-id="1470233923389"] .tn-atom {
    font-size: 14px !important;
  }

  /* Even narrower cap on very small phones */
  #rec1217660238 .t-form__submit .t-btnflex.t-btnflex_type_submit {
    max-width: 200px !important;
  }
}
