/* Targeted Minnella Masonry enhancements: Client Hub and social link buttons. */
header {
    position: relative;
}

header .client-login {
    position: absolute;
    top: 20px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    color: #FFD700 !important;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid #FFD700;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

header .client-login:hover,
header .client-login:focus-visible {
    color: #111111 !important;
    background: #FFD700;
    transform: translateY(-2px);
    outline: none;
}

#follow-us ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#follow-us ul li {
    display: block;
    margin: 0;
}

#follow-us ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    color: #FFD700 !important;
    background: rgba(255, 215, 0, 0.06);
    border: 2px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    font-size: 1.05rem !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#follow-us ul li a:hover,
#follow-us ul li a:focus-visible {
    color: #111111 !important;
    background: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
    outline: none;
}

/* Center the fifth image in two-column service-page galleries. */
.photos > img:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 11px);
}

@media (max-width: 700px) {
    header .client-login {
        position: static;
        margin: 14px auto 0;
    }

    #follow-us ul {
        align-items: stretch;
        flex-direction: column;
        max-width: 320px;
        margin: 0 auto;
    }

    #follow-us ul li a {
        width: 100%;
        box-sizing: border-box;
    }

    .photos > img:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }
}
