/* Weerstation Kaulille - "Over mij" page (over-mij.html): intro, text cards and equipment timeline */

main {
    padding-bottom: 48px;
}

.intro {
    margin: 4px 0 20px;
}

.intro h2 {
    margin: 0 0 14px;
    font-size: 1.5rem;
    font-weight: 650;
    color: var(--blue-dark);
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.facts li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    background: var(--card);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.facts b {
    font-size: 1.1rem;
    font-weight: 650;
}

.facts span {
    font-size: .74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
}

.cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}

.card {
    padding: 20px 24px 22px;
}

.card.wide {
    grid-column: 1 / -1;
}

.th {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.th h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue-dark);
}

.ico {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
}

.ico svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card p {
    margin: 0 0 12px;
    line-height: 1.6;
    max-width: 78ch;
}

.card p:last-child {
    margin-bottom: 0;
}

/* equipment history */
.timeline {
    position: relative;
    margin: 4px 0 0;
    padding: 0 0 0 22px;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line);
}

.timeline li {
    position: relative;
    padding-bottom: 18px;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--blue-soft);
}

.timeline .when {
    display: inline-block;
    margin-bottom: 4px;
    font-size: .8rem;
    font-weight: 650;
    color: var(--blue-dark);
    text-transform: uppercase;
    letter-spacing: .6px;
}

@media (max-width: 860px) {
    .cols {
        grid-template-columns: 1fr;
    }
}
