/* ==========================================================================
   About page
   ========================================================================== */

    .about-section {
        padding: 20px;
        max-width: 1000px;
        margin: 20px auto;
        box-sizing: border-box;
        width: calc(100% - 32px);
        background: var(--glass);
        border-radius: 16px;
    }

    .about-intro {
        text-align: center;
    }

    .about-intro h1 {
        font-size: 40px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .about-intro p {
        font-size: 18px;
        line-height: 1.6;
        margin: 0 auto 20px;
        max-width: 65ch;
        font-weight: 500;
    }

    .headshot-pic {
        width: 300px;
        height: auto;
        border-radius: 50%;
        border: 5px solid var(--accent);
        filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
    }

    .about-section h2, .about-skills h2, .about-experience h2 {
        font-family: video-light, sans-serif;
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .about-block {
        background: var(--glass);
        max-width: 1000px;
        margin: 20px auto;
        width: calc(100% - 32px);
        border-radius: 16px;
        /* Non-zero padding stops the nested Education panel's bottom margin from collapsing
           through and leaving no gap before this box's own rounded corner */
        padding-bottom: 20px;
    }

    .about-skills, .about-experience {
        font-family: Montserrat, sans-serif;
        flex: 1;
    }

    .about-skills {
        padding-right: 10px;
    }

    .skills-experience-divider {
        height: 300px;
        width: 1px;
        border: 1px solid var(--accent);
        border-radius: 5px;
        color: var(--accent);
        background: var(--accent);
    }

    .about-experience {
        padding-left: 10px;
    }

    .skills-list ul li, .experience-list ul li {
        line-height: 1.6;
    }

    .experience-date {
        font-style: italic;
        padding-left: 10px;
    }

    /* Education's own panel needs more room at the bottom so its text isn't cramped against the rounded corner */
    .about-education-wrap {
        padding-bottom: 40px;
    }

    .skills-experience-grid {
        display: flex;
        align-items: flex-start;
        padding: 20px;
        max-width: 1000px;
        margin: 0 auto;
        box-sizing: border-box;
        width: 100%;
    }

    /* Links in body copy stay underlined so they don't rely on colour alone */
    .about-nav-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: bold;
    }

    .about-nav-link:hover {
    color: #ffffff;
    text-decoration-thickness: 3px;
    transition: color 0.3s;
    }

    .about-line-break {
        border: 2px solid var(--panel);
        border-radius: 5px;
        color: var(--panel);
        margin: 20px 0;
    }

    .hobbies-list {
        padding: 20px;
        max-width: 1000px;
        margin: 0 auto;
        box-sizing: border-box;
        width: 100%;
    }

    .hobbies-list ul li {
        font-size: 16px;
        font-family: Montserrat, sans-serif;
        line-height: 1.6;
        list-style: disc;
        margin-left: 20px;
    }

    .about-cats p {
        padding-bottom: 20px;
    }

    .cat-gallery {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cat-pic {
        width: 280px;
        height: 280px;
        object-fit: cover;
        border-radius: 30px;
        border: 5px solid var(--accent);
        filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .cat-pic:hover {
        transform: scale(1.05);
    }

    .cat-item p {
        text-align: center;
        margin-top: 10px;
        font-family: video-light, sans-serif;
        font-size: 30px;
        border: 3px solid #92f1ff;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.15);
        padding: 5px 0px;
        filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
    }

    .pet-footer {
        text-align: center;
        font-family: Montserrat, sans-serif;
        font-size: 16px;
        font-style: italic;
        padding-top: 20px;
    }
