/* Written by Claude (Anthropic), under the guidance of Grant Gould (ggould@alum.mit.edu). */

:root {
    --green: #20865d;
    --green-dark: #1c6a4a;
    --cream: #faf7f0;
    --ink: #1f2a24;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.5;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #6a0dad;
}

header {
    background: var(--green);
    color: white;
    text-align: center;
    padding: 2rem 1rem 2.5rem;
}

header img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
}

header h1 {
    margin: 1rem 0 0.25rem;
    font-size: 1.9rem;
    letter-spacing: 0.02em;
}

header p.tagline {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.9;
}

main {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.meetup {
    background: var(--green-dark);
    color: white;
    text-align: center;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.01em;
}

.meetup span.when {
    display: block;
    font-size: 1.7rem;
}

.meetup .calendar-embed {
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    height: 260px;
}

.meetup .calendar-embed iframe {
    display: block;
    width: 100%;
    height: 300px;
    margin-top: -40px;
    border: 0;
}

.meetup span.fine-print {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    opacity: 0.8;
    margin-top: 0.25rem;
}

ul.details {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    font-size: 1.15rem;
}

ul.details li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    border-bottom: 1px solid #e0dccf;
}

ul.details li::before {
    content: "\2022";
    color: var(--green);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.4rem;
}

ul.details ul {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    font-size: 1rem;
}

ul.details ul li {
    border-bottom: none;
    padding: 0.3rem 0 0.3rem 1.6rem;
}

ul.details ul li::before {
    content: "\25E6";
    font-size: 1.1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin: 0 0 2rem;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.join {
    background: white;
    border: 2px solid var(--green);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.join h2 {
    margin-top: 0;
    color: var(--green-dark);
}

.join a.button {
    display: inline-block;
    margin: 0.75rem 0.35rem 0;
    background: var(--green);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
}

.join a.button:hover {
    background: var(--green-dark);
}

.join hr {
    border: none;
    border-top: 1px solid #e0dccf;
    margin: 1.5rem 0;
}

.safety {
    background: #fbdcdc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.safety h2 {
    margin-top: 0;
    text-align: center;
    color: #7a2222;
}

.safety p.warning {
    text-align: center;
    font-weight: bold;
}

.safety .photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.safety .photos figure {
    margin: 0;
}

.safety .photos img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.safety .photos figcaption {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.35rem;
}

footer {
    text-align: center;
    font-size: 0.85rem;
    color: #5c5c5c;
    padding: 1.5rem 1rem 2.5rem;
}

footer a {
    color: var(--green-dark);
}
