/* Staff Profile Block Styles */
.staff-profile-block {
    background-color: transparent;
    color: #394A78;
    padding: 40px 20px 50px 20px;
    font-family: 'PT Mono', monospace;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    border-bottom: none;
}

.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: #394A78;
}

.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: #394A78;
}

.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: #394A78;
}

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

.staff-profile-block .fave-bake-image {
    position: absolute;
    top: -35px;
    left: -15px;
    z-index: 2;
    width: 100px;
    background: #FAFAFA;
    padding: 5px 5px 14px 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transform: rotate(5deg);
}

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

.staff-profile-block .fave-bake-image img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.staff-profile-block .fave-polaroid {
    transition: transform 0.3s ease-in-out !important;
}

.staff-profile-block .fave-polaroid:hover {
    transform: rotate(5deg) scale(1.15) !important;
    z-index: 10;
}

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

.staff-profile-block .fave-bake-button-text {
    background-color: #FF5800;
    padding: 10px 18px 10px 90px;
    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;
    transition: background-color 0.3s ease;
}

.staff-profile-block .fave-bake-button-text:hover {
    background-color: #EB540D;
}

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

/* 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: -50px;
        left: -40px;
        width: 140px;
        padding: 6px 6px 18px 6px;
    }

    .staff-profile-block .mobile-layout .fave-bake-image img {
        height: 128px;
    }
    
    .staff-profile-block .mobile-layout .fave-bake-button-text {
        padding-left: 110px;
    }
    
    .staff-profile-block .mobile-layout .fave-bake-button-text.no-image {
        padding-left: 18px;
    }
}

/* 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;
}
