/* Staff Profile Block Styles */
.staff-profile-block {
    background-color: #4C62A9;
    color: white;
    padding: 40px 20px 50px 20px;
    font-family: 'PT Mono', monospace;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-bottom: 3px dotted white;
}

.staff-profile-block .desktop-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.staff-profile-block .mobile-layout {
    display: none;
    text-align: center;
}

.staff-profile-block .desktop-image {
    position: relative;
}

.staff-profile-block .profile-image-container {
    background-color: #FFB6C1;
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    border: 15px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.staff-profile-block .profile-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    object-fit: cover;
}

.staff-profile-block .profile-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-profile-block .profile-caption p {
    margin: 0;
    font-size: 0.9rem;
    font-family: 'PT Mono', monospace;
    color: #333;
}

.staff-profile-block .text-content h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Mindset', 'Arial Black', sans-serif;
    color: white;
}

.staff-profile-block .text-content h1 {
    font-size: var(--subHeadingFontSize, 3rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-family: 'Mindset', 'Arial Black', sans-serif;
    color: white;
}

.staff-profile-block .text-content p {
    font-size: var(--baseFontSize, 1rem);
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'PT Mono', monospace;
    color: white;
}

.staff-profile-block .fave-bake-container {
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

.staff-profile-block .fave-bake-image {
    position: absolute;
    top: -30px;
    left: -15px;
    z-index: 2;
    overflow: hidden;
    width: 80px;
    height: 80px;
    border-radius: 10%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.staff-profile-block .fave-bake-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.staff-profile-block .fave-bake-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.3s ease-in-out;
}

.staff-profile-block .zoom-image:hover {
    transform: scale(1.1);
}

.staff-profile-block .fave-bake-button {
    text-decoration: none;
    color: white;
    display: block;
}

.staff-profile-block .fave-bake-button-text {
    background-color: #E05C33;
    padding: 15px 25px 15px 70px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-family: 'Mindset', 'Arial Black', sans-serif;
    position: relative;
    z-index: 1;
}

.staff-profile-block .fave-bake-button-text.no-image {
    padding-left: 25px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .staff-profile-block .desktop-layout {
        display: none !important;
    }
    
    .staff-profile-block .mobile-layout {
        display: block !important;
    }
    
    .staff-profile-block .mobile-layout .fave-bake-image {
        top: -45px;
        left: -35px;
        width: 120px;
        height: 120px;
    }
    
    .staff-profile-block .mobile-layout .fave-bake-button-text {
        padding-left: 90px;
    }
    
    .staff-profile-block .mobile-layout .fave-bake-button-text.no-image {
        padding-left: 25px;
    }
}

/* Ensure proper font loading */
@font-face {
    font-family: 'Mindset';
    src: url('../../assets/fonts/mindset/mindset.woff2') format('woff2'),
         url('../../assets/fonts/mindset/mindset.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Mono';
    src: url('../../assets/fonts/ptmono/pt-mono_regular.woff2') format('woff2'),
         url('../../assets/fonts/ptmono/pt-mono_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Mono';
    src: url('../../assets/fonts/ptmono/pt-mono_bold.woff2') format('woff2'),
         url('../../assets/fonts/ptmono/pt-mono_bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
