:root {
    --profile-max-width: 1000px;
    --profile-gap: 20px;
    --profile-radius: 14px;
    --profile-border: 1px solid #e5e7eb;
    --profile-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    --profile-bg: #ffffff;
    --profile-muted: #6b7280;
}

h1 {
    color: var(--primary);
}

.sponsorProfile {
    max-width: var(--profile-max-width);
    margin: 0 auto;
    padding: 9px;
}

.sponsorProfileVideo {
    border-radius: var(--profile-radius);
    overflow: hidden;
    box-shadow: var(--profile-shadow);
    margin-bottom: 18px;
}

/* make embeds behave */
.sponsorProfileVideo iframe,
.sponsorProfileVideo video
{
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/*.sponsorProfileVideo::after
{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin: 0.5rem auto 0;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.6;
}*/

@media (max-width: 700px)
{
    .sponsorProfileVideo iframe,
    .sponsorProfileVideo video
    {
        height: 260px;
    }
}

.sponsorProfileHeader
{
    text-align: center;
    margin-top: 1em;
    margin-bottom: 18px;
}

.sponsorProfileName
{
    margin: 0 0 12px 0;
    font-size: clamp(1.2rem, 1.1vw + 1rem, 2.1rem);
    line-height: 1.15;
}

.sponsorProfileLogoWrap
{
    display: flex;
    justify-content: center;
}

.sponsorProfileLogo
{
    max-width: 520px;
    max-height: 180px;
    width: auto;
    height: auto;
    display: block;
}

.sponsorProfileGrid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--profile-gap);
    align-items: start;
}

@media (max-width: 900px)
{
    .sponsorProfileGrid
    {
        grid-template-columns: 1fr;
    }
}

.sponsorProfileCard
{
    background: var(--profile-bg);
    /*border: var(--profile-border);
    border-radius: var(--profile-radius);
    box-shadow: var(--profile-shadow);*/
}

.sponsorProfileH2
{
    margin: 0 0 12px 0;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.sponsorProfileH3
{
    margin: 18px 0 10px 0;
    font-size: 0.95rem;
}

.sponsorProfileAddress
{
    font-style: normal;
}

.sponsorProfileBlock
{
    margin: 0 0 12px 0;
}

.sponsorProfileLabel
{
    font-weight: 700;
}

.sponsorProfileMuted
{
    color: var(--profile-muted);
    margin: 0;
}

.sponsorProfileBio
{
    line-height: 1.65;
}

.sponsorProfileLinks
{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
}

@media (max-width: 480px)
{
    .sponsorProfileLinks {
        gap: 10px;
        justify-content: center;
        margin: 0 auto;
    }

    .sponsorProfileLinks a {
        padding-left: 0px !important;
    }

    ul {
        padding: 0px !important;
    }
}

.sponsorProfileLinks a
{
    position: relative;
    padding-left: 1.6rem;
    text-decoration: none;
}

.sponsorProfileLinks a:hover
{
    text-decoration: underline;
}

.sponsorProfileCta
{
    margin: 16px 0 0 0;
}

.sponsorProfileButton
{
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    background: #2563eb;
    color: #ffffff;
}

.sponsorProfileLinks a::before
{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-color: var(--primary);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;

    /* Safari */
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    vertical-align: middle;
}


/* Website */
.sponsorProfileLinks a[data-website-icon]::before
{
    mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/solid/globe.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/solid/globe.svg");
}

/* Facebook */
.sponsorProfileLinks a[data-facebook-icon]::before
{
    background-color: #1877F2;
    mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/facebook-f.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/facebook-f.svg");
}

/* Twitter / X */
.sponsorProfileLinks a[data-x-icon]::before
{
    background-color: #1DA1F2;
    mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/twitter.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/twitter.svg");
}

/* Instagram */
.sponsorProfileLinks a[data-instagram-icon]::before
{
    background-color: #E4405F;
    mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/instagram.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/instagram.svg");
}

/* LinkedIn */
.sponsorProfileLinks a[data-linkedin-icon]::before
{
    background-color: #0A66C2;
    mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/linkedin-in.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/linkedin-in.svg");
}

/* YouTube */
.sponsorProfileLinks a[data-youtube-icon]::before
{
    background-color: #FF0000;
    mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/youtube.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/brands/youtube.svg");
}

/* Video (generic) */
.sponsorProfileLinks a[data-video-icon]::before
{
    background-color: #6B7280; /* neutral gray */
    mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/solid/video.svg");
    -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/svgs/solid/video.svg");
}

footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}

footer > div {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 768px)
{
    footer {
        flex-direction: column;
        gap: 1rem;
    }

    footer > div {
       width: 100%;
    }

}