:root {
    color: #293b36;
    background: #f8f8f5;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }

.activity-page {
    width: min(1120px, 100% - 64px);
    min-height: calc(100vh - 112px);
    margin: 0 auto;
}

.activity-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    padding: clamp(58px, 9vw, 112px) 0 52px;
    border-bottom: 1px solid #dfe6dc;
}

.activity-eyebrow {
    margin: 0 0 16px;
    color: #829187;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.activity-hero h1 {
    margin: 0;
    color: #293b36;
    font: 400 clamp(4rem, 11vw, 8rem)/.95 Georgia, "Times New Roman", serif;
    letter-spacing: -.065em;
}

.activity-hero h1 span { color: #bd7854; }

.activity-intro {
    max-width: 470px;
    margin: 20px 0 0;
    color: #738178;
    font-size: .98rem;
    line-height: 1.75;
}

.activity-manage {
    flex: none;
    margin-bottom: 7px;
    padding: 11px 15px;
    border: 1px solid #d6dfd5;
    border-radius: 999px;
    color: #526a5b;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.activity-manage:hover { border-color: #9fb3a1; background: #edf2eb; }
.activity-manage span { margin-left: 8px; color: #bd7854; }

.activity-section { padding: 58px 0 92px; }

.activity-section__heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 26px;
}

.activity-section__heading .activity-eyebrow { margin-bottom: 9px; }

.activity-section__heading h2 {
    margin: 0;
    font: 400 clamp(1.7rem, 4vw, 2.45rem)/1.1 Georgia, "Times New Roman", serif;
    letter-spacing: -.035em;
}

.activity-count {
    padding-bottom: 5px;
    color: #929e93;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    white-space: nowrap;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.activity-card {
    min-height: 190px;
    padding: 25px 27px;
    border: 1px solid #e0e7df;
    background: rgba(255, 255, 255, .54);
}

.activity-card__date {
    color: #9a806f;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.activity-card h3 {
    margin: 14px 0 6px;
    color: #344a3c;
    font: 400 1.55rem/1.2 Georgia, "Times New Roman", serif;
}

.activity-card__place,
.activity-card__notes,
.activity-card__route {
    margin: 0;
    color: #7f8e83;
    font-size: .78rem;
    line-height: 1.7;
}

.activity-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 20px;
    color: #849187;
    font-size: .72rem;
}

.activity-metrics strong { color: #526a5b; font-size: .94rem; font-weight: 600; }
.activity-card__notes { margin-top: 17px; }
.activity-card__route { margin-top: 15px; color: #718e79; font-weight: 600; }

.activity-empty {
    display: grid;
    grid-template-columns: 58px minmax(0, 560px);
    gap: 22px;
    padding: 36px 30px;
    border: 1px solid #e0e7df;
    background: rgba(255, 255, 255, .5);
}

.activity-empty__mark { color: #d3ddd1; font: 400 1.9rem Georgia, serif; }
.activity-empty h3 { margin: 0 0 9px; color: #394d3f; font: 400 1.45rem Georgia, serif; }
.activity-empty p { margin: 0; color: #7b8b80; font-size: .82rem; line-height: 1.7; }
.activity-empty a { display: inline-block; margin-top: 18px; color: #53725e; font-size: .78rem; font-weight: 700; text-decoration: none; }
.activity-empty a:hover { color: #a45f41; }
.activity-empty a span { margin-left: 5px; }

.activity-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 23px max(32px, calc((100% - 1120px) / 2));
    border-top: 1px solid #e1e8df;
    color: #87948a;
    font-size: .63rem;
}

.activity-footer span:first-child { font-weight: 700; letter-spacing: .12em; }

@media (max-width: 650px) {
    .activity-page { width: min(100% - 36px, 520px); }
    .activity-hero { align-items: start; flex-direction: column; gap: 25px; padding: 58px 0 36px; }
    .activity-intro { margin-top: 15px; font-size: .9rem; }
    .activity-manage { margin: 0; }
    .activity-section { padding: 42px 0 64px; }
    .activity-grid { grid-template-columns: 1fr; }
    .activity-card { min-height: auto; padding: 22px; }
    .activity-empty { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 25px 20px; }
    .activity-footer { flex-direction: column; padding: 20px 18px; }
}
