@font-face { font-family: "Vekibel Text"; src: url("/assets/Inter-Variable-d09d67ef.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Vekibel Hebrew"; src: url("/assets/FrankRuhlLibre-Variable-f11434e3.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
.vh-body { margin: 0; background: #fffdf8; color: #172c30; font-family: "Vekibel Text", sans-serif; font-size: 16px; }
.vh-page [lang="he"] { font-family: "Vekibel Hebrew", serif; }
.vh-page { --vh-ink: #172f33; --vh-gold: #efc778; --vh-paper: #fffdf8; --vh-muted: #596764; font-size: 16px; line-height: 1.65; }
.vh-page *, .vh-page *::before, .vh-page *::after { box-sizing: border-box; }
.vh-page h1, .vh-page h2, .vh-page h3, .vh-page h4, .vh-page p, .vh-page figure { margin: 0; }
.vh-page h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.09; font-weight: 700; letter-spacing: -0.04em; }
.vh-page a, .vh-page button { -webkit-tap-highlight-color: transparent; }
.vh-page button, .vh-page select { font: inherit; }
.vh-page button, .vh-page select, .vh-page summary { cursor: pointer; }
.vh-page button:disabled { cursor: default; opacity: 0.35; }
.vh-page :focus-visible { outline: 3px solid #b48b3d; outline-offset: 4px; }
.vh-page [id] { scroll-margin-top: 110px; }
.vh-container { max-width: 1240px; margin-inline: auto; padding-inline: 40px; }
.vh-hero { color: var(--vh-paper); background: var(--vh-ink); overflow: hidden; }
.vh-hero-inner { max-width: 1240px; margin: auto; padding: 54px 40px 52px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 68px; align-items: end; }
.vh-kicker { display: flex; align-items: center; gap: 18px; color: var(--vh-gold); font-size: 17px; line-height: 1.3; }
.vh-century { font-size: 106px; line-height: 0.85; font-weight: 800; letter-spacing: -0.08em; }
.vh-hero-copy h1 { margin: 34px 0 22px; font-family: "Vekibel Hebrew", serif; font-size: clamp(80px, 8.5vw, 128px); line-height: 0.88; font-weight: 900; letter-spacing: -0.045em; text-align: left; }
.vh-hero-copy h1 span { display: block; }
.vh-hero-english { font-size: clamp(22px, 2.5vw, 31px); line-height: 1.25; font-weight: 600; letter-spacing: -0.035em; }
.vh-hero-description { margin-top: 20px !important; color: #d3dad7; font-size: 17px; line-height: 1.6; }
.vh-hero-actions, .vh-shturem-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.vh-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 22px; font-size: 16px; font-weight: 600; line-height: 1.4; border: 1px solid transparent; border-radius: 3px; text-decoration: none; transition: background-color 150ms, border-color 150ms; }
.vh-button-gold { color: var(--vh-ink); background: var(--vh-gold); }
.vh-button-gold:hover { background: #ffdb96; }
.vh-button-outline { border-color: #91a19c; color: var(--vh-paper); background: transparent; }
.vh-button-outline:hover { background: #28464b; border-color: var(--vh-paper); }
.vh-button-dark { background: var(--vh-ink); color: white; }
.vh-button-dark:hover { background: #2d5355; }
.vh-button span { font-size: 14px; font-weight: 400; opacity: 0.8; }
.vh-hero-portrait { position: relative; }
.vh-hero-portrait::before { position: absolute; content: ""; inset: -14px -14px 44px 14px; border: 1px solid #b79c68; pointer-events: none; }
.vh-hero-portrait img { position: relative; display: block; width: 100%; height: auto; }
.vh-hero-portrait figcaption { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; font-size: 14px; color: #d4dcd8; }
.vh-year-band { border-top: 1px solid #62716b; max-width: 1160px; margin: auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--vh-gold); font-size: 24px; }
.vh-year-band strong { font-family: "Vekibel Hebrew", serif; font-size: 30px; font-weight: 500; }
.vh-year-band small { margin-inline-start: 8px; font-family: "Vekibel Text", sans-serif; font-size: 14px; }
.vh-section-nav { position: sticky; top: 3rem; z-index: 30; display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); padding: 17px 20px; border-bottom: 1px solid #dedfd4; background: var(--vh-paper); overflow-x: auto; white-space: nowrap; font-size: 14px; font-weight: 600; }
.vh-section-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.vh-introduction { padding-block: 78px; }
.vh-section-label { margin-bottom: 20px !important; font-size: 14px; font-weight: 600; color: #62716a; }
.vh-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.vh-intro-grid p { font-size: 17px; }
.vh-intro-grid p + p { margin-top: 18px; }
.vh-anniversary { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-top: 20px; font-size: 16px !important; font-weight: 600; }
.vh-anniversary span { font-family: "Vekibel Hebrew", serif; font-size: 22px; }
.vh-anniversary time { align-self: center; }
.vh-maamar-section { background: #e9ede5; padding-block: 76px; }
.vh-maamar-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 76px; align-items: start; }
.vh-maamar-copy { padding-top: 22px; }
.vh-maamar-copy h2 { font-family: "Vekibel Hebrew", serif; text-align: left; font-size: clamp(38px, 4vw, 56px); letter-spacing: -0.03em; }
.vh-maamar-copy > p:not(.vh-section-label) { margin-top: 20px; font-size: 17px; }
.vh-maamar-copy .vh-button { margin-top: 28px; flex-direction: column; align-items: start; gap: 4px; }
.vh-text-link { display: block; margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; font-size: 16px; }
.vh-credit { color: var(--vh-muted); font-size: 14px !important; }
.vh-reader { min-width: 0; background: #fff; border: 1px solid #c6cdc1; border-radius: 5px; box-shadow: 0 9px 22px #20372a0a; }
.vh-reader-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px; border-bottom: 1px solid #dee1d8; font-size: 14px; }
.vh-reader-toolbar button { padding: 5px 8px; border-radius: 3px; }
.vh-reader-toolbar button:hover:not(:disabled) { background: #eef0e9; }
.vh-reader-toolbar select { max-width: 155px; background-color: white; border: 1px solid #c6cdc1; border-radius: 3px; padding: 5px 24px 5px 6px; font-size: 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23172f33' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: right 7px center; background-repeat: no-repeat; }
.vh-reader-zoom { margin-left: auto; text-decoration: underline; text-underline-offset: 4px; }
.vh-reader-paper { height: 620px; height: min(620px, 72vh); overflow: auto; overscroll-behavior: contain; background: #fff; }
.vh-reader-paper img { display: block; width: 100%; height: auto; max-width: none; }
.vh-reader-paper.is-zoomed img { width: 170%; }
.vh-reader-status { padding: 10px 16px; border-top: 1px solid #dee1d8; color: var(--vh-muted); font-size: 14px; }
.vh-shiurim { padding-block: 90px; }
.vh-section-heading { display: flex; gap: 35px; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.vh-section-heading > p { font-size: 16px; color: var(--vh-muted); flex-shrink: 0; }
.vh-language-tabs { display: flex; gap: 10px; margin-bottom: 40px; }
.vh-language-tabs button { padding: 8px 18px; font-size: 14px; border: 1px solid #cbd2c8; border-radius: 24px; }
.vh-language-tabs button[aria-pressed="true"] { background: var(--vh-ink); color: white; border-color: var(--vh-ink); }
.vh-page [hidden] { display: none !important; }
.vh-teacher-heading h3 { font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; }
.vh-teacher-heading h3 span { display: inline-block; font-size: 22px; margin-inline-start: 12px; font-family: "Vekibel Hebrew", serif; }
.vh-teacher-heading p, .vh-resource-note { margin-top: 10px !important; font-size: 14px; color: var(--vh-muted); }
.vh-shiur-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid #d4d9d0; }
.vh-play { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #e9ede5; color: var(--vh-ink); }
.vh-play:hover, .vh-play[aria-pressed="true"] { background: var(--vh-ink); color: var(--vh-gold); }
.vh-play svg { width: 25px; height: 25px; }
.vh-shiur-title > p { font-size: 14px; color: var(--vh-muted); }
.vh-shiur-title h4 { font-size: 25px; line-height: 1.25; font-weight: 600; letter-spacing: -0.025em; margin-top: 6px; }
.vh-shiur-title > span { display: block; margin-top: 6px; font-size: 16px; color: var(--vh-muted); }
.vh-class-source { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.vh-audio-player { background: #eef1e9; padding: 22px 24px 12px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px 26px; border-radius: 4px; margin-top: 24px; }
.vh-audio-player > div > span { font-size: 14px; color: var(--vh-muted); }
.vh-audio-player > div > p { font-size: 17px; font-weight: 600; line-height: 1.4; }
.vh-audio-player audio { width: 100%; min-width: 0; }
.vh-audio-status { grid-column: 1 / -1; font-size: 14px; }
.vh-audio-status:empty { display: none; }
.vh-overview-link { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 30px; padding: 22px 0; font-size: 16px; border-bottom: 1px solid #d4d9d0; }
.vh-overview-link > span:last-child { font-size: 14px; text-decoration: underline; white-space: nowrap; }
.vh-hebrew-shiurim { margin-top: 58px; }
.vh-hebrew-classes { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 25px; gap: 10px; }
.vh-hebrew-classes a { display: flex; flex-direction: column; padding: 15px 18px; border: 1px solid #d4d9d0; border-radius: 3px; }
.vh-hebrew-classes a:hover { background: #eef1e9; }
.vh-hebrew-classes span:first-child { font-family: "Vekibel Hebrew", serif; font-size: 24px; text-align: left; }
.vh-hebrew-classes span:last-child { font-size: 14px; color: var(--vh-muted); }
.vh-story { padding-block: 76px; background: var(--vh-ink); color: var(--vh-paper); }
.vh-story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 76px; }
.vh-story-date { display: flex; flex-direction: column; padding-top: 8px; color: var(--vh-gold); }
.vh-story-date > span { font-size: 16px; }
.vh-story-date strong { font-size: clamp(80px, 10vw, 142px); line-height: 1.15; letter-spacing: -0.08em; font-weight: 700; }
.vh-story .vh-section-label { color: #b6c5bf; }
.vh-story h2 { color: var(--vh-paper); }
.vh-story p:not(.vh-section-label) { margin-top: 22px; color: #d3dad7; font-size: 17px; }
.vh-story-source { display: block; margin-top: 26px; text-decoration: underline; text-underline-offset: 5px; color: var(--vh-gold); font-size: 14px; }
.vh-rebbe { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 85px; }
.vh-rebbe > div > p:not(.vh-section-label) { font-size: 17px; }
.vh-rebbe p + p { margin-top: 20px; }
.vh-letter-links { display: grid; gap: 10px; margin-top: 24px; font-size: 16px; }
.vh-letter-links a { text-decoration: underline; text-underline-offset: 5px; }
.vh-shturem { text-align: center; padding: 70px 0 65px; color: var(--vh-paper); background: #234d45; }
.vh-shturem .vh-section-label { color: #c8d5c9; }
.vh-shturem h2 { font-family: "Vekibel Hebrew", serif; font-size: clamp(46px, 6.5vw, 88px); letter-spacing: -0.035em; }
.vh-shturem-english { margin: 18px 0 !important; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; letter-spacing: -0.035em; font-weight: 600; }
.vh-shturem p:not(.vh-section-label, .vh-shturem-english) { color: #d9e2d8; font-size: 17px; }
.vh-shturem-actions { justify-content: center; }
.vh-share-status { margin-top: 18px !important; font-size: 14px !important; min-height: 24px; }
.vh-further { padding-block: 64px; }
.vh-further h2 { font-size: 26px; letter-spacing: -0.02em; }
.vh-further > div { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-top: 28px; }
.vh-further a { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid #cbd2c8; }
.vh-further strong { font-size: 19px; font-weight: 600; }
.vh-further span { font-size: 16px; color: var(--vh-muted); }
.vh-footer { border-top: 1px solid #d4d9d0; padding-block: 28px; }
.vh-footer p { color: var(--vh-muted); font-size: 14px; }
.vh-footer p + p { margin-top: 12px; }
.vh-footer-brand { font-size: 21px; font-weight: 700; margin-right: 20px; color: var(--vh-ink); }
.vh-footer a:not(.vh-footer-brand) { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .vh-hero-inner { gap: 38px; padding: 46px 30px; }
  .vh-hero-copy h1 { font-size: 98px; }
  .vh-hero-english { font-size: 24px; }
  .vh-year-band { margin-inline: 30px; }
  .vh-year-band strong { font-size: 25px; }
  .vh-container { padding-inline: 30px; }
  .vh-intro-grid, .vh-rebbe { gap: 40px; }
  .vh-maamar-grid, .vh-story-grid { gap: 40px; }
  .vh-shiur-row { grid-template-columns: 48px 1fr; gap: 18px; }
  .vh-class-source { grid-column: 2; }
  .vh-section-heading { align-items: start; flex-direction: column; gap: 20px; }
}
@media (max-width: 680px) {
  .vh-container { padding-inline: 22px; }
  .vh-hero-inner { grid-template-columns: 1fr; padding: 32px 24px 30px; gap: 38px; }
  .vh-kicker { font-size: 15px; }
  .vh-century { font-size: 85px; }
  .vh-hero-copy h1 { font-size: clamp(78px, 22vw, 115px); margin-block: 28px 20px; }
  .vh-hero-description { font-size: 16px; }
  .vh-hero-portrait { max-width: 340px; margin: auto !important; width: calc(100% - 20px); }
  .vh-hero-portrait figcaption { font-size: 14px; }
  .vh-hero-actions { gap: 10px; }
  .vh-hero-actions .vh-button { flex: 1; padding-inline: 12px; white-space: nowrap; font-size: 15px; }
  .vh-year-band { margin-inline: 22px; gap: 12px; padding-block: 17px; font-size: 20px; }
  .vh-year-band strong { font-size: 20px; max-width: 145px; text-align: center; line-height: 1.1; }
  .vh-year-band > span { display: flex; flex-direction: column; }
  .vh-year-band small { margin: 0; font-size: 14px; }
  .vh-section-nav { justify-content: flex-start; gap: 22px; padding: 13px 20px; }
  .vh-introduction, .vh-shiurim, .vh-rebbe { padding-block: 48px; }
  .vh-section-label { margin-bottom: 15px !important; }
  .vh-intro-grid, .vh-maamar-grid, .vh-story-grid, .vh-rebbe { grid-template-columns: 1fr; gap: 28px; }
  .vh-maamar-section { padding-block: 45px; }
  .vh-maamar-copy { padding-top: 0; }
  .vh-maamar-copy h2 { font-size: 42px; }
  .vh-reader-toolbar { gap: 2px; padding: 8px 5px; }
  .vh-reader-toolbar button { padding-inline: 5px; font-size: 14px; }
  .vh-reader-toolbar select { max-width: 135px; padding-left: 3px; }
  .vh-reader-paper { height: 65vh; }
  .vh-section-heading h2 { max-width: 330px; }
  .vh-teacher-heading h3 { font-size: 24px; }
  .vh-shiur-title h4 { font-size: 22px; }
  .vh-play { width: 44px; height: 44px; }
  .vh-shiur-row { padding-block: 24px; column-gap: 14px; grid-template-columns: 44px 1fr; row-gap: 12px; }
  .vh-class-source { margin-top: 0; }
  .vh-shiur-title > span { font-size: 15px; }
  .vh-audio-player { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .vh-overview-link { align-items: start; flex-direction: column; gap: 10px; }
  .vh-hebrew-classes { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .vh-hebrew-classes a { padding: 11px 12px; }
  .vh-story { padding-block: 45px; }
  .vh-story-date strong { font-size: 85px; }
  .vh-shturem { padding-block: 48px 36px; }
  .vh-shturem h2 { font-size: clamp(38px, 10vw, 60px); }
  .vh-shturem br { display: none; }
  .vh-further { padding-block: 45px; }
  .vh-further > div { grid-template-columns: 1fr; gap: 25px; }
}
@media (prefers-reduced-motion: reduce) { .vh-document, .vh-page * { scroll-behavior: auto !important; transition: none !important; } }
