/* =========================
   GLOBAL RESET / BASE
   ========================= */

* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    margin: 0;
    padding: 0;
}

p {
    text-align: center;
    margin: 0.6em 0;
}

/* =========================
   HEBREW SUPPORT
   ========================= */

.heb {
    direction: rtl;
    font-family: Arial, David, sans-serif;
}

/* =========================
   IMAGES
   ========================= */

img {
    border: none;
    display: block;
    margin: 0 auto 1em auto;
    max-width: 100%;
    height: auto;
}

/* =========================
   PROMO HEADLINES
   ========================= */

.promoline1 {
    margin: 1.5em 0 0.3em;
    color: #0a8f3c;
    font-size: 2.2em;
    font-weight: 600;
}

.promoline1 a {
    display: inline-block;
    background: #2b5fd9;
    color: white;
    padding: 0.4em 0.6em;
    border-radius: 8px;
    line-height: 1.35;
    text-decoration: none;
    max-width: 100%;
}


@media (max-width: 480px) {
    .promoline1 {
        font-size: 1.7em;
        line-height: 1.35;
    }
}

/* .promoline1 a {
    color: white;
    background: #2b5fd9;
    padding: 0.5em .9em;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1.25;
} */
.promoline2 {
    margin: 0 0 1.5em;
    font-size: 1.3em;
    font-weight: 500;
    color: #444;
}

/* =========================
   SECTION TITLES
   ========================= */

.titlepurim,
.titlepesach {
    font-size: 1.6em;
    font-weight: 600;
    margin: 1.2em 0 0.4em;
    letter-spacing: 0.3px;
    text-align: center;
}

.titlepurim {
    color: #2b5fd9;
}

.titlepesach {
    color: #2f8f4e;
}

.titlepurimheb,
.titlepesachheb {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
}

.titlepurimheb { color: #2b5fd9; }
.titlepesachheb { color: #2f8f4e; }

/* =========================
   TOPICS INTRO
   ========================= */

.topics {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 1em;
}

/* =========================
   TOPIC LIST (MODERNIZED)
   ========================= */

ul {
    list-style: none;
    margin: 1.5em auto;
    padding: 0;
    max-width: 620px;
}

li {
    background: #f7f9fc;
    margin-bottom: 0.8em;
    padding: 0.9em 1.2em;
    border-left: 4px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

/* Topic text */

.purimtopics,
.pesachtopics {
    font-size: 1em;
    line-height: 1.4;
    font-weight: 400;
}

.purimtopics { color: #2b5fd9; }
.pesachtopics { color: #2f8f4e; }

/* Accent bars (modern browsers) */

li:has(.purimtopics) {
    border-left-color: #2b5fd9;
}

li:has(.pesachtopics) {
    border-left-color: #2f8f4e;
}

/* Hebrew list adjustments */

.heb ul {
    padding: 0;
}

.heb li {
    border-left: none;
    border-right: 4px solid #ccc;
    padding: 0.9em 1.2em;
}

.heb li:has(.purimtopicsheb) {
    border-right-color: #2b5fd9;
}

.heb li:has(.pesachtopicsheb) {
    border-right-color: #2f8f4e;
}

/* =========================
   CALL TO ACTION
   ========================= */

.getnow {
    margin-top: 2em;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 2.7;
}

.getnow a {
    color: white;
    background: #2b5fd9;
    padding: 0.5em .9em;
    border-radius: 6px;
    text-decoration: none;
}

.getnow a:hover {
    background: #1f4bc4;
}

/* =========================
   LEGACY SECTIONS (SOFTENED)
   ========================= */

/* Links */

div#content a,
section.resources a {
    color: #2b5fd9;
    text-decoration: none;
}

div#content a:hover,
section.resources a:hover {
    text-decoration: underline;
}

/* Nav links */

div.navlinks {
    margin-top: 1.5em;
    font-size: 1em;
    text-align: center;
}

/* Footer */

footer {
    margin: 2em auto 0;
    font-size: 0.95em;
    text-align: center;
    color: #666;
}

footer a {
    color: #2b5fd9;
    text-decoration: none;
    padding: 0 5px;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================
   EOF
   ========================= */
