/* ============================================================
   CUSTOM HERO + PHOTO + SPACING FIXES (REM + PX BREAKPOINTS)
============================================================ */

/* ------------------------------
   PERSONAL PHOTO
------------------------------ */
.personal-photo {
    width: 17.5rem;              /* 280px */
    max-width: 90vw;
    height: auto;
    aspect-ratio: 280 / 330;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    /* keep shadows in px for crisp rendering */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
}

.personal-photo:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

/* ------------------------------
   HERO INNER LAYOUT
------------------------------ */
#header .content .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2em;                  
    text-align: center;
    padding: 2.25rem 1.25rem;     /* 36px 20px */
}

#header .inner p {
    margin-bottom: 1.5rem;        /* 24px */
}

/* ------------------------------
   INTRO IMAGES
------------------------------ */
.intro-images {
    display: flex;
    gap: 0.75rem;                 /* 12px */
    margin-bottom: 1.25rem;       /* 20px */
    justify-content: center;
    flex-wrap: wrap;
}

.intro-images img {
    border-radius: 0.25rem;       /* 4px */
    max-width: 100%;
    height: auto;
}

/* Mobile stack */
@media (max-width: 480px) {
    .intro-images {
        flex-direction: column;
        gap: 0.75rem;
    }

    .intro-images img {
        width: 100%;
    }
}

/* ============================================================
   SPACING FIXES FOR FIXED #site-header
============================================================ */

/* ------------------------------
   MOBILE (≤ 767px)
------------------------------ */
@media screen and (max-width: 767px) {

    #wrapper {
        justify-content: flex-start !important;
        padding-top: 0 !important;
    }

    #header > * {
        margin-top: 1rem !important;
    }

    #header > *:before {
        display: none !important;
    }

    #header .content .inner {
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }

    #header {
        margin-top: 0 !important;
        position: relative;
        top: -1.5rem;
    }
}

/* ------------------------------
   TABLET (768px – 1024px)
------------------------------ */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    #wrapper {
        justify-content: flex-start !important;
        padding-top: 0 !important;
    }

    #header > * {
        margin-top: 1.25rem !important;
    }

    #header > *:before {
        display: none !important;
    }

    #header .content .inner {
        padding-top: 1.25rem !important;
        padding-bottom: 2rem !important; 
    }
}

/* ============================================================
   UNIVERSAL OVERRIDES (≤ 1024px)
============================================================ */
@media screen and (max-width: 1024px) {

    #header > * {
        margin-top: 0.5rem !important;
    }

    #header > *:before {
        display: none !important;
    }

    #header .content .inner {
        padding-top: 0.75rem !important;
        padding-bottom: 1.25rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    #wrapper {
        padding-top: 3.75rem !important; /* 60px */
    }
}
