/*
 * Nav bar: this template late-inlines style-index-rtl.css, which flips
 * `.my-plugin-nav-bar.rtl { direction }` the wrong way. Restore source rules.
 */
body.page-template-app-download .my-plugin-nav-bar.rtl {
  direction: rtl !important;
}

@media (max-width: 768px) {
  body.page-template-app-download .my-plugin-nav-bar.rtl {
    direction: ltr !important;
  }
}

.app-download {
  direction: rtl;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  color: #1a1a1a;
}

.app-download__title {
  font-family: 'Hadassah Friedlaender', serif;
  font-size: 42px;
  font-weight: normal;
  letter-spacing: 1.5px;
  margin: 0 0 16px;
  color: #1a1a1a;
}

.app-download__subtitle {
  font-family: 'Almoni', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.6;
  margin: 0 auto 48px;
  max-width: 520px;
  color: #444;
}

.app-download__stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.app-download__store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid #ececec;
}

.app-download__store-name {
  font-family: 'Almoni', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin: 0;
}

.app-download__qr {
  width: 180px;
  height: 180px;
  display: block;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}

.app-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  background: #ba1f26;
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Almoni', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border: 0;
  transition: background-color 0.2s ease;
}

.app-download__button:hover,
.app-download__button:focus {
  background: #96181e;
  color: #fff !important;
}

@media (max-width: 700px) {
  .app-download {
    padding: 48px 16px 72px;
  }

  .app-download__title {
    font-size: 28px;
  }

  .app-download__stores {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
