* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Fira Sans', sans-serif;
  background-color: #fcf8e5;
  color: #000000;
  line-height: 1.6;
}

.container {
  max-width: 67rem;
  margin: 0 auto;
  padding: 1rem;
}

.container-header {
  max-width: 80rem;
}

.site-header {
  padding: 0.3125rem 0.5rem;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 500;
  gap: 0.4375rem;
}

.logo-icon {
  width: 2.5rem;
  height: auto;
}

.nav-selected {
  font-weight: 500 !important;
  color: #000000 !important;
}

nav a {
  margin-left: 2rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 400;
  text-decoration: none;
  color: #757575;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.visually-hidden {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero-title {
  pointer-events: none;
  user-select: none;
  margin-bottom: 2.1rem;
  max-width: 31.4375rem;
  width: 100%;
  height: auto;
}

.hero blockquote {
  position: relative;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2.1875rem;
  letter-spacing: 0;
  text-align: left;
  margin: 2.5rem auto;
  max-width: 27.875rem;
  color: black;
}

.hero blockquote cite {
  display: inline;
  font-style: normal;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.375rem;
  color: #717171;
}

.quote-mark {
  width: 2.25rem;
  height: auto;
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.quote-mark.open {
  top: 0;
  left: 0;
  transform: translate(-180%, -100%);
}

.quote-mark.close {
  bottom: 0;
  right: 0;
  transform: translate(110%, 70%);
}

@media (max-width: 32rem) {
  .hero {
    padding: 4rem 1rem 2rem 1.5rem;
  }

  .hero blockquote {
    font-size: 1.1rem;
    line-height: 1.7875rem;
    max-width: 21rem;
    margin: 1.5rem auto;
  }

  .hero blockquote cite {
    font-size: 0.8rem;
    line-height: 1.175rem;
  }

  .hero-title {
    max-width: 27rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 58rem) {
  .quote-mark {
    display: none;
  }
}

/* Letter image section */
.letter-section {
  position: relative;
  max-width: 58.75rem;
  width: 100%;
  margin: 2rem auto 1rem auto;
  padding: 0 3rem;
}

.letter-wrapper {
  background-color: #fff;
  padding: 4.4375rem 6.5625rem 22rem;
  /* bottom padding for space */
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.letter-title {
  max-width: 26.375rem;
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.letter-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 400;
}

.quote-wrapper {
  display: inline-block;
  position: relative;
  padding: 0.6rem 2.7rem 0.3rem 1.95rem;
  align-self: flex-start;
  max-width: 100%;
}

.quote-wrapper--adjusted {
  padding: 1.9rem 2rem 2rem 1.95rem;
  margin: -1rem 0rem;
}

.quote-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.quote-wrapper blockquote {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 500;
  font-style: normal;
  margin: 0;
  padding: 1rem 0rem;
  text-align: left;
  display: inline-block;
}

.quote-wrapper cite {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 300;
}

.envelope-image {
  position: absolute;
  bottom: -1rem;
  width: 109%;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}


.envelope-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 68.75rem) {
  .envelope-image {
    width: 98%;
  }
}


@media (min-width: 22.001rem) and (max-width: 23.75rem) {
  .quote-wrapper-1 {
    padding: 1.3rem 0.7rem 0.7rem 1.3rem !important
  }
}

@media (max-width: 32rem) {
  .letter-section {
    margin: 1rem auto 1rem auto;
    padding: 0 1rem;
  }

  .letter-wrapper {
    padding: 1.5rem 1.3rem 10rem 1.8rem;
  }

  .letter-content {
    gap: 1.2rem;
    font-size: 1rem;
    line-height: 1.333rem;
  }

  .quote-wrapper blockquote {
    font-size: 1rem;
    line-height: 1.333rem;
  }

  .quote-wrapper cite {
    font-size: 0.875rem;
    line-height: 1.167rem;
  }

  .quote-wrapper-1 {
    max-width: 20rem;
  }

  .quote-wrapper-2 {
    max-width: 17rem;
  }

  .quote-wrapper-3 {
    max-width: 17rem;
  }

  .quote-wrapper-4 {
    max-width: 20rem;
    padding: 0.6rem 2.7rem 0.3rem 2.95rem !important;
    margin: 0rem 0rem 0rem -1rem !important;
  }

  .quote-wrapper-5 {
    max-width: 19rem;
  }

  .letter-title {
    max-width: 85%;
    margin-top: 0.5rem;
  }

  .br-desktop {
    display: none;
  }
}

@media (min-width: 32.001rem) and (max-width:40rem) {
  .letter-wrapper {
    padding: 2rem 1.3rem 13rem 2rem;
  }
}

@media (min-width:40.01rem) and (max-width:58rem) {
  .letter-wrapper {
    padding: 2rem 3.5rem 18rem 4.5rem;
  }
}

@media (min-width: 32.001rem) and (max-width:58rem) {
  .letter-section {
    margin: 1rem auto 1rem auto;
    max-width: 48rem;
    padding: 0 1.5rem;
  }

  .letter-title {
    max-width: 75%;
    margin-top: 0.5rem;
  }

  .br-no-tablet {
    display: none;
  }


  .quote-wrapper-1 {
    max-width: 27.875rem;
  }

  .quote-wrapper-2 {
    max-width: 27.875rem;
  }

  .quote-wrapper-3 {
    max-width: 27.875rem;
  }

  .quote-wrapper-4 {
    max-width: 27.875rem;
    /* padding: 0.6rem 2.7rem 0.3rem 2.95rem !important; */
    margin: 0rem !important;
  }

  .quote-wrapper-5 {
    max-width: 27.875rem;
    margin: 0rem !important;
  }
}

/* Shared */

.section-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.section-content h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.section-content ul {
  list-style: none;
  padding-right: 2rem;
}

.section-content li {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.section-icon img {
  height: 3rem;
  width: auto;
  display: block;
}

.section-text {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 400;
}

.section-text strong {
  font-weight: 600;
}

.section-right-mobile {
  display: none;
}

/* Gift section */
.gift-section {
  background-color: #F0E4D4;
  padding: 7.75rem 3rem;
}

.gift-bible {
  max-width: 17.0625rem;
}

.gift-new-testament {
  max-width: 14.5625rem;
  margin-left: 1.875rem;
}

.gift-get-button {
  display: block;
  width: 100%;
  height: 3.125rem;
  margin-top: 3.5rem;
  font-size: 1.125rem;
  line-height: 3.125rem;
  /* vertical centering */
  font-weight: 700;
  background-color: #323232;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

/* YouTube section */
.youtube-section {
  background-color: #333;
  color: #fff;
  padding: 7.75rem 3rem;
}

.youtube-heading {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.youtube-heading img {
  height: 2.375rem;
  width: auto;
  display: block;
}

.youtube-heading-resposive {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.youtube-heading-resposive img {
  height: 2.375rem;
  width: auto;
  display: block;
}

.youtube-section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.link-with-icon {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.625rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: #5E83FF;
}

.link-with-icon .link-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.video-section-wrapper {
  width: 100%;
  max-width: 39.625rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 39.625rem;
  /* Your converted value */
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  top: 0;
  left: 0;
}

@media (max-width: 32rem) {
  .gift-section {
    padding: 4rem 1rem;
  }

  .youtube-section {
    padding: 4rem 1rem;
  }

  .gift-new-testament {
    margin-left: 1rem;
  }
}

@media (max-width: 65rem) {
  .section-content {
    flex-direction: column;
  }

  .section-right-mobile {
    margin-bottom: 3.5rem;
    display: inline-block;
  }

  .gift-new-testament {
    max-width: 40% !important;
  }

  .gift-bible {
    max-width: 50% !important;
  }

  .section-right {
    display: none;
  }

  .section-left {
    display: flex;
    flex-direction: column;
  }

  .section-content h2 {
    margin-bottom: 1.5rem;
  }
}

.youtube-heading-resposive {
  display: none;
}

@media (max-width: 68.9rem) {
  .youtube-heading {
    display: none;
  }

  .youtube-heading-resposive {
    display: inline-flex;
  }
}

/* FAQ section */
.faq {
  background-color: #FCF8E5;
  padding: 7.75rem 3rem;
}

.faq h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

#faq-section {
  max-width: 39.625rem;
  width: 100%;
  border-style: solid;
  border-right: none;
  border-left: none;
  border-top: none;
}

#question {
  display: none !important;
}

.question {
  border-style: solid;
  border-right: none;
  border-left: none;
  border-bottom: none;
}

#question-summary {
  display: none !important;
}

.question-summary {
  width: 100%;
  padding: 1rem 2.5rem 1rem 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 500;
  cursor: pointer;
}

.question p {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 400;
  margin: 0rem 0.5rem 1rem 0.5rem;
}

summary {
  position: relative;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: bold;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '−';
}

.faq-contact {
  position: relative;
  max-width: 20.5rem;
  font-family: sans-serif;
  margin-top: 5rem;
  margin-left: 1rem;
}

.stamp-border {
  width: 100%;
  height: auto;
  display: block;
}

.stamp-content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-size: 1.125rem;
  line-height: 1.625rem;
}

.stamp-content p {
  margin: 0 0 0.5rem 0;
}

.stamp-content-link {
  color: #000292;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.arrow-icon {
  width: 0.8rem;
  height: 0.8rem;
  user-select: none;
  pointer-events: none;
}


@media (max-width: 32rem) {
  .faq {
    padding: 4rem 1rem;
  }
}

@media (max-width: 26rem) {
  .faq-contact {
    max-width: 18.5rem;
  }

  .stamp-content {
    font-size: 1rem;
    line-height: 1.333rem;
  }
}

/* Footer */
.footer {
  background-color: #F0ECD7;
  padding: 2.5rem 3rem 4rem 3rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-main {
  flex: 4 1 46rem;
}

.footer-main h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 500;
  margin: 1.5rem 0;
}

.footer-verses {
  display: flex;
  gap: 1rem;
}

.footer-verses-first {
  min-width: 19rem;
}

.footer-verses p {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 400;
}

.footer-verses p strong {
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
}

.footer-contacts {
  flex: 1 1 250px;
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 400;
  padding-top: 4.875rem;
}

.footer-contacts h3 {
  margin-bottom: 0.875rem;
  font-weight: 500;
}

.footer-contacts p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.footer-contacts a {
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}

.viber-link {
  color: #7360f2;
}

.telegram-link {
  color: #26A4E3;
}

.mail-link {
  color: #000;
}

@media (max-width: 72.625rem) {
  .footer-contacts {
    padding-top: 1rem;
  }

  .footer-contacts a {
    margin-right: 1rem;
  }

  .footer-contacts p {
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-content {
    gap: 1rem;
  }
}

@media (max-width: 44.5rem) {
  .footer-verses {
    flex-direction: column;
  }

  .footer-contacts {
    max-width: 20rem;
  }
}



@media (max-width: 32rem) {
  .footer {
    background-color: #F0ECD7;
    padding: 2.5rem 1rem 2rem 1rem;
  }
}

@media (max-width: 23.9rem) {
  .footer-verses-first {
    min-width: 10rem;
  }

  .br-no-ultra-small {
    display: none;
  }

  .footer {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }

  .faq {
    padding: 2rem 0.5rem;
  }

  .faq-contact {
    margin-left: 0rem;
  }

  .stamp-content {
    font-size: 0.9rem;
    line-height: 1.1rem;
  }

  .gift-section {
    padding: 3rem 0.5rem;
  }

  .youtube-section {
    padding: 3rem 0.5rem;
  }

  .section-content h2 {
    font-size: 1.6rem;
  }

  .letter-section {
    padding: 0 0.8rem;
  }

  .letter-wrapper {
    padding: 1.5rem 1rem 8rem 1.2rem;
  }

  .letter-content {
    gap: 1rem;
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  .quote-wrapper blockquote {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  .quote-wrapper-1 {
    max-width: 17.5rem;
    padding: 1.3rem 0.7rem 0.7rem 1.6rem !important;
  }

  .quote-wrapper-2 {
    max-width: 17rem;
  }

  .quote-wrapper-3 {
    max-width: 16rem;
  }

  .quote-wrapper-4 {
    max-width: 16rem;
    padding: 1.9rem 1.5rem 2rem 1.95rem !important;
    margin: 0rem !important;
  }

  .quote-wrapper-5 {
    padding: 1rem 1.7rem 1rem 1.95rem;
    max-width: 18rem;
    margin: 0rem !important;
  }

  .quote-wrapper cite {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  .logo-icon {
    width: 1.9rem;
  }

  .logo {
    font-size: 1rem;
    line-height: 1.25rem;
  }

}

@media (max-width: 22rem) {
  .letter-section {
    padding: 0 0.5rem;
  }

  .letter-wrapper {
    padding: 1.5rem 0.9rem 7rem 1rem;
  }

  .letter-content {
    gap: 1rem;
    font-size: 0.8rem;
    line-height: 1.1rem;
  }

  .quote-wrapper blockquote {
    font-size: 0.8rem;
    line-height: 1.1rem;
  }

  .quote-wrapper-1 {
    max-width: 15.7rem;
  }

  .quote-wrapper-2 {
    max-width: 15rem;
  }

  .quote-wrapper-3 {
    max-width: 15rem;
  }

  .quote-wrapper-4 {
    max-width: 15.9rem;
    padding: 1.9rem 1.5rem 2rem 1.95rem !important;
    margin: 0rem !important;
  }

  .quote-wrapper-5 {
    padding: 1.9rem 1rem 2rem 1.95rem;
    max-width: 15.85rem;
  }
}