body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #111;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #bbb;
    text-underline-offset: 2px;
}

a:hover {
    text-decoration-color: currentColor;
}

.photosheader {
    padding: 48px 20px 0;
}

.photosheader #name {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.photosheader .subhead {
    margin-top: 8px;
    color: #555;
}

#content {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px 40px;
    box-sizing: border-box;
}

#indent,
#news,
#help {
    max-width: 640px;
    margin: 0 auto;
}

#indent p {
    font-size: 18px;
}

.section-header {
    margin: 48px 0 16px;
    font-size: 20px;
    font-weight: 600;
}

#news ul {
    margin: 0;
    padding-left: 20px;
    text-align: left;
    text-wrap: pretty;
}

#news li {
    margin: 0 0 16px;
}

.news-headline {
    font-weight: 600;
}

#tree-map {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto 32px;
}

#tree-dots circle {
    fill: #d40000;
    fill-opacity: 0.8;
}

.site-footer {
    padding: 0 20px 24px;
    font-size: 12px;
    color: #888;
}

#rig {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

#rig li {
    margin: 0;
}

.rig-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.rig-caption {
    padding: 6px 2px 12px;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.rig-caption a {
    text-decoration: none;
}

.rig-caption a:hover {
    text-decoration: underline;
}

.rig-caption-label {
    display: block;
    color: #111;
    font-size: 13px;
    overflow-wrap: anywhere;
}

@media screen and (max-width: 768px) {
    #rig {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .photosheader #name {
        font-size: 26px;
    }

    #rig {
        grid-template-columns: repeat(2, 1fr);
    }
}
