.articles-gallery-page{box-sizing:border-box;max-width:1480px;margin:0 auto;padding:42px 32px 72px;color:#eee7db;direction:rtl}.articles-gallery-heading{text-align:center;margin:0 0 32px}.articles-gallery-heading h1{font-size:38px;font-weight:400;color:#dec28b;margin:0 0 14px}.articles-gallery-heading p{font-size:18px;line-height:1.7;margin:0;color:#c9c1b4}.articles-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.article-card{min-width:0;margin:0;border:1px solid #b9945560;border-radius:10px;overflow:hidden;background:#12110f;box-shadow:0 8px 24px #0003;transition:background .2s,border-color .2s}.article-card>a{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none!important}.article-card-image{aspect-ratio:4/3;overflow:hidden;background:#080808}.article-card-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.article-card:first-child img{object-position:left center}.article-card-copy{padding:22px 18px;display:flex;flex:1;flex-direction:column}.article-card h2{font-size:22px;line-height:1.5;font-weight:500;color:#dec28b;margin:0 0 12px}.article-card p{font-size:16px;line-height:1.75;color:#d2cbbf;margin:0 0 22px}.article-card-cta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;font-size:16px;color:#dec28b}.article-card:hover,.article-card:focus-within{background:#211c14;border-color:#d8bd89}.article-card>a:focus-visible{outline:2px solid #dec28b;outline-offset:-4px}.article-card:active{background:#30271a}@media(max-width:999px){.articles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.articles-gallery-page{padding:30px 22px 50px}}@media(max-width:540px){.articles-grid{grid-template-columns:minmax(0,1fr);gap:22px}.articles-gallery-page{padding:28px 18px 46px}.articles-gallery-heading h1{font-size:30px}.articles-gallery-heading p{font-size:17px}.article-card h2{font-size:23px}.article-card-copy{padding:20px}.article-card-cta{min-height:36px}}

/* Larger titles and shallower gallery thumbnails. */
.articles-gallery-heading h1{font-size:46px;font-weight:600}
.article-card-image{aspect-ratio:16/9}
.article-card h2{font-size:27px;font-weight:600;line-height:1.4}
@media(max-width:540px){.articles-gallery-heading h1{font-size:36px}.article-card h2{font-size:26px}.article-card-image{aspect-ratio:16/9}}

body:has(main.articles-gallery-page),main.articles-gallery-page{background:#050505!important;color:#eee7db}



/* Uniform typography throughout article card descriptions. */
.articles-gallery-page .article-card-copy,.articles-gallery-page .article-card-copy p,.articles-gallery-page .article-card-copy p strong,.articles-gallery-page .article-card-copy p b{font-family:Arial,sans-serif!important;font-size:19px!important;font-weight:400!important;line-height:1.6!important}
.articles-gallery-page .article-card h2{font-family:Arial,sans-serif!important;font-weight:400!important}
@media(max-width:650px){.articles-gallery-page .article-card-copy,.articles-gallery-page .article-card-copy p,.articles-gallery-page .article-card-copy p strong,.articles-gallery-page .article-card-copy p b{font-size:18px!important}}

/* Consistent four-line summaries and aligned links across article cards. */
.articles-gallery-page .article-card-copy>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;line-height:1.6!important;height:6.4em;min-height:6.4em;max-height:6.4em;margin:0 0 22px}


/* Bold headings with a compact, natural gap before each summary. */
.articles-gallery-page .article-card h2{font-weight:700!important;min-height:0!important;height:auto;margin:0 0 10px;line-height:1.35}
.articles-gallery-page .article-card-copy{padding-top:18px}

/* Separate article topics while preserving the existing card grid. */
.article-topic+.article-topic{margin-top:56px;padding-top:32px;border-top:1px solid #d8bd8938}.article-topic-title{font-family:Arial,sans-serif;font-size:28px;font-weight:700;line-height:1.4;color:#dec28b;margin:0 0 24px}.article-card img{object-position:center}.article-card a[href="ketubah-art.html"] img{object-position:left center}@media(max-width:540px){.article-topic+.article-topic{margin-top:40px;padding-top:26px}.article-topic-title{font-size:25px;margin-bottom:20px}}

/* Framed SVG topic headings and a white ketubah article section. */
.articles-gallery-page{max-width:none;padding-inline:0;padding-bottom:0;overflow:hidden}
.articles-gallery-heading,.article-topic[aria-labelledby="torah-articles-title"]{max-width:1416px;margin-inline:auto;padding-inline:32px;box-sizing:border-box}
.article-ornament-heading{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;padding:0 30px 17px;min-height:94px;margin:0 0 32px}
.article-ornament-heading .article-topic-title{position:relative;z-index:1;font-size:clamp(30px,3.2vw,48px);font-weight:500;line-height:1.3;text-align:center;border:1.5px solid #bc9b5d;border-radius:6px 6px 30px 30px;padding:12px 34px 17px;box-shadow:0 4px 13px #a98d4e16,inset 0 0 0 4px #11100e;margin:0 0 -19px;max-width:100%;box-sizing:border-box;background:#11100e;color:#dec28b}
.article-heading-gold{position:absolute;inset-inline:0;bottom:0;width:100%;height:52px;z-index:0;overflow:visible}
.article-topic[aria-labelledby="ketubah-articles-title"]{position:relative;background:#fff;color:#29251e;margin-top:64px;padding:54px max(32px,calc((100% - 1352px)/2)) 72px;border-top:0;box-shadow:inset 0 18px 22px -16px #0009}
.article-topic[aria-labelledby="ketubah-articles-title"] .article-topic-title{background:#fff;color:#80602c;box-shadow:0 4px 13px #a98d4e16,inset 0 0 0 4px #fff}
.article-topic[aria-labelledby="ketubah-articles-title"] .article-card{background:#fff;border-color:#e6ddcd;box-shadow:0 8px 24px #00000012}
.article-topic[aria-labelledby="ketubah-articles-title"] .article-card h2{color:#76592c}
.article-topic[aria-labelledby="ketubah-articles-title"] .article-card p{color:#4b463e}
.article-topic[aria-labelledby="ketubah-articles-title"] .article-card-cta{color:#80602c}
.article-topic[aria-labelledby="ketubah-articles-title"] .article-card:hover{background:#fff;border-color:#bc9b5d}
@media(max-width:650px){.articles-gallery-heading,.article-topic[aria-labelledby="torah-articles-title"]{padding-inline:18px}.article-ornament-heading{padding-inline:10px;min-height:78px;margin-bottom:26px}.article-ornament-heading .article-topic-title{font-size:27px;padding:10px 18px 15px;border-radius:5px 5px 24px 24px}.article-heading-gold{height:42px}.article-topic[aria-labelledby="ketubah-articles-title"]{padding:42px 18px 46px;margin-top:44px}}
