/* Senator Links Styles */

.block-psrc-senator-links {
    width: 100%;
    max-width: 800px !important;
    margin: 40px auto;
}

.psrc-senator-links-header {
    position: relative;
    text-align: center;
}

.psrc-senator-links-background {
    position: relative;
    z-index: 1;
}

.psrc-senator-links-profile {
    position: relative;
    z-index: 2;
    margin-top: -90px; /* Adjust to 50% of the profile image size */
}

.psrc-senator-links-profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #fff;
}

h2.psrc-senator-links-name {
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 5px 0;
    overflow-wrap: break-word;
    text-align: center;
}

.psrc-senator-links-title {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.psrc-senator-links-bio {
    font-size: 1.125rem;
    margin: 20px 0;
}

.psrc-senator-links-social {
    display: block;
    margin: 20px auto;
    text-align: center;
}

.psrc-senator-links-social ul li {
    margin-right: 12px;
}

.psrc-senator-links-profile-buttons {
    margin-top: 40px;;
}

.psrc-senator-links-profile-button {
    display: block;
    margin: 0px auto 15px;
    padding: 16px;
    text-transform: none;
    width: 100%;
}

.psrc-senator-links-profile-button span {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.28, 1.39, 1, 1.08);
}

.psrc-senator-links-profile-button:hover span {
    transform: scale(1.2);
}


/* Responsive Styles */
@media (max-width: 800px) {
    .block-psrc-senator-links {
        max-width: 96% !important;
        margin: 0px auto 40px;
    }
}