/* About page typography: AIWeb-inspired reading rhythm using the site's fonts. */
body.page-id-60 .entry-content {
    color: #bdbdc5 !important;
    font-size: clamp(1rem, calc(0.95rem + 0.3vw), 1.08rem) !important;
    line-height: 1.72 !important;
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
}

body.page-id-60 .entry-content > p,
body.page-id-60 .entry-content > ul {
    max-width: 780px;
}

body.page-id-60 .entry-content > p {
    margin: 0 0 1rem !important;
    line-height: 1.72 !important;
}

body.page-id-60 .entry-content > p.has-medium-font-size {
    color: #d0d0d7 !important;
    font-size: 1.08rem !important;
}

body.page-id-60 .entry-content > h4 {
    margin: 2rem 0 0.7rem !important;
    color: #e8e8ec !important;
    font-size: 1.22rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.3 !important;
}

body.page-id-60 .entry-content > ul {
    margin: 0.8rem 0 1.35rem !important;
    padding-left: 1.35rem !important;
}

body.page-id-60 .entry-content > ul > li {
    margin: 0 0 0.48rem !important;
    padding-left: 0.18rem !important;
    line-height: 1.66 !important;
}

body.page-id-60 .entry-content > hr {
    margin: 1.8rem 0 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.page-id-60 .entry-content > .wp-block-image {
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
}

body.page-id-60 .entry-content > .wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
}

/* The final list is the About page's social directory. */
body.page-id-60 .entry-content > ul:last-of-type {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    max-width: 780px !important;
    padding: 0 !important;
    list-style: none !important;
}

body.page-id-60 .entry-content > ul:last-of-type > li {
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-60 .entry-content > ul:last-of-type a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0.65rem 0.8rem !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    color: #c8c8d0 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    box-shadow: inset 0 -1px transparent !important;
}

body.page-id-60 .entry-content > ul:last-of-type a:hover,
body.page-id-60 .entry-content > ul:last-of-type a:focus {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #f0f0f3 !important;
    box-shadow: inset 0 -1px #ff1616 !important;
}

body.page-id-60 .entry-content img[src*="email-contact"] {
    max-width: min(100%, 420px) !important;
    height: auto !important;
}

@media (max-width: 640px) {
    body.page-id-60 .entry-content {
        font-size: 1rem !important;
        line-height: 1.72 !important;
    }

    body.page-id-60 .entry-content > p.has-medium-font-size {
        font-size: 1.03rem !important;
    }

    body.page-id-60 .entry-content > h4 {
        margin-top: 1.7rem !important;
        font-size: 1.16rem !important;
    }

    body.page-id-60 .entry-content > ul {
        padding-left: 1.15rem !important;
    }

    body.page-id-60 .entry-content > ul:last-of-type {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
    }

    body.page-id-60 .entry-content > .wp-block-image {
        margin-top: 1.2rem !important;
        margin-bottom: 1.6rem !important;
    }
}
