@import url("https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@500;600;700;800&family=Heebo:wght@400;500;600;700&display=swap");

:root {
  --h-bg-page: #fbf7ed;
  --h-bg-page-soft: #f8f1e3;
  --h-surface: #fffdf8;
  --h-surface-warm: #fcf7ec;
  --h-navy-950: #031827;
  --h-navy-900: #061f31;
  --h-navy-850: #08263a;
  --h-navy-800: #0b2d43;
  --h-gold-700: #8f6819;
  --h-gold-600: #a98028;
  --h-gold-500: #c59a37;
  --h-gold-400: #dbb65c;
  --h-gold-300: #ead38a;
  --h-gold-200: #f2e2ad;
  --h-text-primary: #071d2d;
  --h-text-secondary: #746c61;
  --h-text-muted: #9a9183;
  --h-text-on-dark: #f7edce;
  --h-border-gold: rgba(169, 128, 34, 0.36);
  --h-border-soft: rgba(115, 88, 30, 0.15);
  --h-radius-sm: 10px;
  --h-radius-md: 14px;
  --h-radius-lg: 18px;
  --h-radius-xl: 24px;
  --h-shadow-sm: 0 2px 4px rgba(55, 39, 8, 0.05), 0 5px 14px rgba(55, 39, 8, 0.06);
  --h-shadow-card: 0 3px 7px rgba(55, 39, 8, 0.06), 0 10px 25px rgba(55, 39, 8, 0.07);
  --h-shell-width: 1500px;
  --h-content-width: 1240px;
  --h-sidebar-width: 280px;
  --h-layout-gap: 34px;
}

@media (min-width: 1024px) {
  html:has(.heichal-site-wrap),
  body:has(.heichal-site-wrap) {
    margin: 0;
    min-height: 100%;
    background: var(--h-bg-page) !important;
  }

  body:has(.heichal-site-wrap),
  body:has(.heichal-site-wrap) button,
  body:has(.heichal-site-wrap) input {
    font-family: "Heebo", Arial, sans-serif;
  }

  body:has(.heichal-site-wrap) .site-header,
  body:has(.heichal-site-wrap) #site-header,
  body:has(.heichal-site-wrap) .site-footer:not(.heichal-home-footer),
  body:has(.heichal-site-wrap) #site-footer {
    display: none !important;
  }

  .heichal-site-wrap {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--h-text-primary);
    background:
      linear-gradient(rgba(251, 247, 237, 0.94), rgba(251, 247, 237, 0.94)),
      url("../images/heichal-paper-texture.webp") center / cover fixed;
  }

  .heichal-site-shell,
  .heichal-home-desktop {
    width: 100%;
    max-width: none;
  }

  .heichal-site-desktop {
    display: none !important;
  }

  .heichal-home-desktop {
    display: block;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
  }

  .heichal-home-desktop,
  .heichal-home-desktop * {
    box-sizing: border-box;
  }

  .heichal-home-desktop::before,
  .heichal-home-desktop::after {
    content: "";
    position: fixed;
    z-index: 0;
    top: 250px;
    bottom: 110px;
    width: 170px;
    opacity: 0.05;
    pointer-events: none;
    background: url("../decor/heichal-side-decor-left.svg") center / contain no-repeat;
  }

  .heichal-home-desktop::before {
    left: 0;
  }

  .heichal-home-desktop::after {
    right: 0;
    background-image: url("../decor/heichal-side-decor-right.svg");
  }

  .heichal-home-shell {
    width: min(calc(100% - 24px), var(--h-shell-width));
    margin-inline: auto;
  }

  .dedication-hero {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    height: 154px;
    min-height: 154px;
    margin-top: 12px;
    padding: 0 46px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 200px;
    grid-template-areas: "candle title action";
    align-items: center;
    overflow: hidden;
    direction: ltr;
    border: 1px solid rgba(217, 183, 94, 0.52);
    border-radius: var(--h-radius-xl);
    background: url("../images/heichal-header-without-candle.webp") center / cover no-repeat var(--h-navy-950);
    box-shadow: 0 8px 24px rgba(3, 24, 39, 0.2);
  }

  .dedication-hero__candle {
    grid-area: candle;
    position: relative;
    align-self: end;
    justify-self: center;
    width: 150px;
    height: 126px;
  }

  .dedication-hero__glass {
    position: absolute;
    left: 50%;
    bottom: -17px;
    width: 112px;
    height: auto;
    transform: translateX(-50%);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.44));
  }

  .dedication-hero__flame {
    position: absolute;
    z-index: 2;
    top: -1px;
    left: 50%;
    width: 23px;
    height: 42px;
    object-fit: contain;
    transform-origin: 50% 90%;
    animation: heichal-home-flame 1.75s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 206, 81, 0.8));
  }

  .dedication-hero__title-wrap {
    grid-area: title;
    direction: rtl;
    text-align: center;
  }

  .dedication-hero__title {
    margin: 0;
    color: var(--h-gold-300);
    font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 700;
  }

  .dedication-hero__ornament {
    width: 420px;
    height: 36px;
    margin: 10px auto 0;
    background: url("../decor/title-divider.svg") center / contain no-repeat;
  }

  .dedication-hero__button {
    grid-area: action;
    justify-self: center;
    min-width: 156px;
    height: 46px;
    padding-inline: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    color: var(--h-text-on-dark);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--h-gold-400);
    border-radius: 999px;
    background: #061f31;
  }

  .main-nav {
    position: sticky;
    z-index: 100;
    top: 0;
    width: 100%;
    height: 64px;
    direction: ltr;
    border-bottom: 1px solid var(--h-border-soft);
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(9px);
  }

  .main-nav__inner {
    width: min(calc(100% - 48px), 1380px);
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 180px;
    align-items: center;
    direction: ltr;
  }

  .main-nav__tools {
    display: flex;
    justify-content: center;
    gap: 22px;
  }

  .main-nav__tools a {
    width: 22px;
    height: 22px;
    display: block;
  }

  .main-nav__tools img,
  .category-card__icon img,
  .weekly-parasha__icon img,
  .sidebar-item__icon img,
  .zmanim-row__icon img,
  .smart-card__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }

  .main-nav__links {
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 72px;
    padding-inline-start: 90px;
    direction: rtl;
  }

  .main-nav__link {
    position: relative;
    min-width: 82px;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--h-text-primary);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
  }

  .main-nav__link.is-active::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 3px;
    background: var(--h-gold-500);
  }

  .home-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 48px), var(--h-content-width));
    margin-inline: auto;
  }

  .home-layout {
    display: grid;
    grid-template-columns: var(--h-sidebar-width) minmax(0, 1fr);
    column-gap: var(--h-layout-gap);
    row-gap: 18px;
    align-items: start;
    direction: ltr;
  }

  .home-sidebar,
  .home-main {
    direction: rtl;
  }

  .home-sidebar {
    width: var(--h-sidebar-width);
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .home-main {
    min-width: 0;
    text-align: center;
  }

  .brand-section {
    min-height: 172px;
    height: 208px;
    padding-top: 18px;
    padding-bottom: 16px;
    box-sizing: border-box;
    text-align: center;
  }

  .brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand-lockup__image {
    width: auto;
    height: 122px;
    max-width: min(560px, 86%);
    object-fit: contain;
  }

  .brand-tagline {
    margin-top: 4px;
    color: var(--h-gold-700);
    font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
  }

  .brand-divider {
    width: 420px;
    height: 36px;
    margin: 8px auto 0;
    background: url("../decor/title-divider.svg") center / contain no-repeat;
  }

  .weekly-parasha {
    height: 64px;
    padding-inline: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    direction: rtl;
    color: var(--h-text-primary);
    text-decoration: none;
    border: 1px solid var(--h-border-gold);
    border-radius: var(--h-radius-md);
    background: var(--h-surface);
    box-shadow: var(--h-shadow-sm);
    overflow: hidden;
  }

  .weekly-parasha__icon {
    width: 32px;
    height: 32px;
  }

  .weekly-parasha__value {
    font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
  }

  .weekly-parasha__label {
    color: var(--h-text-secondary);
    font-size: 17px;
    font-weight: 500;
    text-align: center;
  }

  .home-search {
    height: 58px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    direction: ltr;
    border: 1px solid rgba(169, 128, 34, 0.18);
    border-radius: var(--h-radius-md);
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(55, 39, 8, 0.035);
    overflow: hidden;
  }

  .home-search__icon {
    flex: 0 0 50px;
    width: 50px;
    height: 100%;
    padding: 16px 12px;
  }

  .home-search input {
    width: 100%;
    height: 100%;
    flex: 1;
    padding: 0 18px;
    direction: rtl;
    color: var(--h-text-primary);
    font-size: 17px;
    text-align: right;
    border: 0 !important;
    outline: 0;
    background: #ffffff;
    text-decoration: none;
  }

  .home-search:focus-within {
    border-color: var(--h-gold-500);
    box-shadow: 0 0 0 2px rgba(197, 154, 55, 0.08), 0 2px 4px rgba(55, 39, 8, 0.05);
  }

  .home-search input:focus {
    border: 0;
    outline: 0;
    box-shadow: none !important;
  }

  .smart-card {
    height: 82px;
    margin-top: 12px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 120px;
    align-items: center;
    color: var(--h-text-primary);
    text-decoration: none;
    border: 1px solid var(--h-border-gold);
    border-radius: var(--h-radius-lg);
    background: var(--h-surface);
    box-shadow: var(--h-shadow-card);
  }

  .smart-card__icon {
    width: 38px;
    height: 38px;
  }

  .smart-card__content {
    text-align: right;
  }

  .smart-card__eyebrow {
    display: block;
    color: var(--h-gold-700);
    font-size: 14px;
    font-weight: 600;
  }

  .smart-card__title {
    display: block;
    font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 700;
  }

  .smart-card__meta {
    color: var(--h-text-secondary);
    font-size: 14px;
  }

  .smart-card__action {
    color: var(--h-gold-700);
    font-weight: 600;
  }

  .category-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .category-card {
    height: 70px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 0;
    direction: rtl;
    color: var(--h-text-primary);
    text-decoration: none;
    border: 1px solid var(--h-border-gold);
    border-radius: var(--h-radius-md);
    background: var(--h-surface);
    box-shadow: var(--h-shadow-sm);
  }

  .category-card__icon {
    width: 34px;
    height: 34px;
    justify-self: center;
  }

  .category-card__title {
    direction: rtl;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 600;
    text-align: center;
  }

  .category-card {
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  }

  .category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(169, 128, 34, 0.5);
    box-shadow: 0 5px 14px rgba(55, 39, 8, 0.08);
  }

  .sidebar-card {
    overflow: hidden;
    border: 1px solid var(--h-border-gold);
    border-radius: var(--h-radius-lg);
    background: var(--h-surface);
    box-shadow: var(--h-shadow-sm);
  }

  .recent-card {
    min-height: 242px;
    padding: 18px 18px 14px;
  }

  .recent-card .sidebar-title {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .recent-card .sidebar-link {
    width: max-content;
    min-height: 32px;
    margin-top: 8px;
    padding-inline: 13px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(169, 128, 34, 0.46);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.7);
  }

  .sidebar-title {
    margin: 0 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--h-gold-700);
    font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
    font-size: 20px;
    font-weight: 700;
  }

  .sidebar-title img {
    width: 24px;
    height: 24px;
  }

  .recent-item {
    min-height: 74px;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    direction: rtl;
    border-bottom: 1px solid var(--h-border-soft);
  }

  .sidebar-item__icon {
    width: 32px;
    height: 32px;
  }

  .sidebar-item__content {
    direction: rtl;
    text-align: right;
  }

  .sidebar-item-title {
    display: block;
    font-size: 17px;
    font-weight: 600;
  }

  .sidebar-item-meta {
    display: block;
    color: var(--h-text-secondary);
    font-size: 13px;
    font-weight: 400;
  }

  .sidebar-link {
    min-height: 39px;
    display: flex;
    align-items: end;
    color: var(--h-gold-700);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }

  .zmanim-card {
    min-height: 302px;
    padding: 20px 18px;
    color: var(--h-text-on-dark);
    border: 1px solid rgba(218, 183, 91, 0.32);
    border-radius: var(--h-radius-lg);
    background: linear-gradient(180deg, var(--h-navy-900), var(--h-navy-950));
    box-shadow: var(--h-shadow-card);
  }

  .zmanim-card .sidebar-title {
    color: var(--h-gold-300);
    font-size: 21px;
  }

  .zmanim-row {
    height: 54px;
    display: grid;
    grid-template-columns: 64px 1fr 34px;
    align-items: center;
    direction: ltr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .zmanim-list {
    max-height: 176px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(217, 183, 94, 0.72) transparent;
  }

  .zmanim-list::-webkit-scrollbar {
    width: 6px;
  }

  .zmanim-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(217, 183, 94, 0.72);
  }

  .zmanim-row__time {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
  }

  .zmanim-row__label {
    direction: rtl;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
  }

  .zmanim-row__icon {
    width: 30px;
    height: 30px;
  }

  .zmanim-card .sidebar-link {
    color: var(--h-gold-300);
  }

  .zmanim-card .sidebar-link {
    gap: 8px;
    align-items: center;
  }

  .sidebar-link__arrow {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
  }

  .featured-prayer {
    grid-column: 1 / -1;
    width: 100%;
    height: 150px;
    margin-top: 0;
    display: grid;
    grid-template-columns: 46% minmax(0, 1fr) 70px;
    overflow: hidden;
    direction: ltr;
    border: 1px solid var(--h-border-gold);
    border-radius: var(--h-radius-lg);
    background: var(--h-surface);
    box-shadow: var(--h-shadow-card);
  }

  .featured-prayer__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .featured-prayer__image-wrap {
    position: relative;
    min-width: 0;
    overflow: hidden;
  }

  .featured-prayer__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 253, 248, 0) 0%, rgba(255, 253, 248, 0.08) 65%, #fffdf8 100%);
  }

  .featured-prayer__content {
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    direction: rtl;
    text-align: right;
  }

  .featured-prayer__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--h-gold-700);
    font-size: 15px;
    font-weight: 700;
  }

  .featured-prayer__eyebrow img {
    width: 18px;
    height: 18px;
  }

  .featured-prayer__title {
    margin: 4px 0 3px;
    color: var(--h-text-primary);
    font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
    font-size: 28px;
    line-height: 1.1;
  }

  .featured-prayer__text {
    margin: 0;
    color: var(--h-text-secondary);
    font-size: 14px;
  }

  .featured-prayer__button {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    right: 46px;
    left: auto;
    height: 42px;
    padding-inline: 24px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    color: var(--h-text-on-dark);
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    background: var(--h-navy-900);
  }

  .featured-prayer__bookmark {
    display: grid;
    place-items: center;
    direction: rtl;
  }

  .featured-prayer__bookmark img {
    width: 28px;
    height: 28px;
  }

  .heichal-home-footer {
    min-height: 98px;
    margin-top: 18px;
    padding: 20px 52px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    direction: ltr;
    color: var(--h-text-on-dark);
    background: linear-gradient(180deg, var(--h-navy-900), var(--h-navy-950));
  }

  .heichal-home-footer__social {
    display: flex;
    justify-self: start;
    gap: 18px;
  }

  .heichal-home-footer__social img {
    width: 25px;
    height: 25px;
  }

  .heichal-home-footer__brand {
    justify-self: center;
    direction: rtl;
    color: var(--h-gold-300);
    font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
    font-size: 25px;
    text-align: center;
  }

  .heichal-home-footer__brand small {
    display: block;
    color: var(--h-text-on-dark);
    font-family: "Heebo", Arial, sans-serif;
    font-size: 13px;
  }

  .heichal-home-footer__links {
    justify-self: end;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    direction: rtl;
  }

  .heichal-home-footer a {
    color: var(--h-text-on-dark);
    font-size: 14px;
    text-decoration: none;
  }

  .heichal-home-footer__links a {
    padding-inline: 18px;
    border-inline-start: 1px solid rgba(234, 211, 138, 0.28);
  }

  .heichal-home-footer__links a:first-child {
    border-inline-start: 0;
  }

  .heichal-home-desktop a,
  .heichal-home-desktop button,
  .heichal-home-desktop .main-nav__link,
  .heichal-home-desktop .category-card,
  .heichal-home-desktop .category-card__title,
  .heichal-home-desktop .weekly-parasha,
  .heichal-home-desktop .weekly-parasha__value,
  .heichal-home-desktop .smart-card,
  .heichal-home-desktop .featured-prayer__button,
  .heichal-home-desktop .heichal-home-footer a {
    text-decoration: none !important;
  }

  @keyframes heichal-home-flame {
    0%, 100% { transform: translateX(-50%) rotate(-1deg) scaleY(1); }
    50% { transform: translateX(-50%) rotate(2deg) scaleY(1.06); }
  }
}

/* Keep the complete desktop home view visible on normal tall desktop screens. */
@media (min-width: 1280px) and (min-height: 850px) {
  .heichal-home-desktop {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .dedication-hero {
    height: 122px;
    min-height: 122px;
    margin-top: 8px;
    padding-inline: 36px;
    grid-template-columns: 220px minmax(0, 1fr) 180px;
  }

  .dedication-hero__candle {
    width: 128px;
    height: 104px;
  }

  .dedication-hero__glass {
    width: 94px;
    bottom: -13px;
  }

  .dedication-hero__flame {
    width: 20px;
    height: 36px;
  }

  .dedication-hero__title {
    font-size: 34px;
  }

  .dedication-hero__ornament {
    width: 330px;
    height: 28px;
    margin-top: 6px;
  }

  .dedication-hero__button {
    min-width: 142px;
    height: 40px;
    padding-inline: 20px;
    font-size: 14px;
  }

  .main-nav,
  .main-nav__inner {
    height: 56px;
  }

  .main-nav__link {
    min-width: 72px;
    font-size: 15px;
  }

  .main-nav__tools a {
    width: 20px;
    height: 20px;
  }

  .home-sidebar {
    padding-top: 12px;
    gap: 10px;
  }

  .brand-section {
    height: 170px;
    min-height: 170px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .brand-lockup__image {
    height: 102px;
  }

  .brand-tagline {
    margin-top: 2px;
    font-size: 18px;
  }

  .brand-divider {
    width: 330px;
    height: 28px;
    margin-top: 4px;
  }

  .weekly-parasha {
    height: 54px;
    gap: 12px;
    padding-inline: 16px;
  }

  .weekly-parasha__value {
    font-size: 20px;
  }

  .weekly-parasha__label {
    font-size: 15px;
  }

  .weekly-parasha__icon {
    width: 28px;
    height: 28px;
  }

  .home-search {
    height: 50px;
    margin-top: 8px;
  }

  .home-search__icon {
    flex-basis: 44px;
    width: 44px;
    padding: 13px 10px;
  }

  .home-search input {
    font-size: 15px;
  }

  .category-grid {
    margin-top: 10px;
    gap: 10px;
  }

  .category-card {
    height: 60px;
    padding-inline: 12px;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }

  .category-card__icon {
    width: 28px;
    height: 28px;
  }

  .category-card__title {
    font-size: 17px;
  }

  .recent-card {
    min-height: 218px;
    padding: 12px 14px 10px;
  }

  .recent-card .sidebar-title,
  .zmanim-card .sidebar-title {
    font-size: 18px;
  }

  .recent-item {
    min-height: 58px;
    grid-template-columns: 40px 1fr;
  }

  .sidebar-item__icon {
    width: 26px;
    height: 26px;
  }

  .sidebar-item-title {
    font-size: 15px;
  }

  .sidebar-item-meta {
    font-size: 11px;
  }

  .zmanim-card {
    min-height: 236px;
    padding: 14px;
  }

  .zmanim-row {
    height: 42px;
    grid-template-columns: 56px 1fr 28px;
  }

  .zmanim-list {
    max-height: 130px;
  }

  .zmanim-row__time {
    font-size: 15px;
  }

  .zmanim-row__label {
    font-size: 13px;
  }

  .zmanim-row__icon {
    width: 25px;
    height: 25px;
  }

  .sidebar-link {
    min-height: 30px;
    font-size: 12px;
  }

  .featured-prayer {
    height: 120px;
  }

  .featured-prayer__content {
    padding: 14px 20px;
  }

  .featured-prayer__eyebrow {
    font-size: 13px;
  }

  .featured-prayer__title {
    font-size: 22px;
  }

  .featured-prayer__text {
    font-size: 12px;
  }

  .featured-prayer__button {
    right: 14px;
    left: auto;
    bottom: 12px;
    height: 36px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .featured-prayer__bookmark img {
    width: 24px;
    height: 24px;
  }

  .heichal-home-footer {
    min-height: 76px;
    margin-top: auto;
    padding: 14px 40px;
  }

  .heichal-home-footer__social img {
    width: 20px;
    height: 20px;
  }

  .heichal-home-footer__brand {
    font-size: 20px;
  }

  .heichal-home-footer__brand small,
  .heichal-home-footer a {
    font-size: 11px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .home-content { width: min(calc(100% - 32px), 1080px); }
  .home-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
  .home-sidebar { width: 250px; }
  .main-nav__links { gap: 34px; padding-inline-start: 20px; }
  .dedication-hero { grid-template-columns: 300px minmax(0, 1fr) 180px; }
}

@media (max-width: 1023px) {
  .heichal-home-desktop { display: none; }
}
