/* ============================================================
   GWW CONTACT / SUMMARY / PRESS FINAL V1.23.3.35
   ============================================================ */

/* ---------- MODERN SUMMARY — TRUE BOTTOM POSITION ---------- */

@supports selector(body:has(.gww-tier-basic)) {

    body:has(.gww-profile-tier.gww-tier-basic)
    [data-gww-summary-position="true-bottom-contact-v1-23-3-35"],
    body:has(.gww-profile-tier.gww-tier-intermediate)
    [data-gww-summary-position="true-bottom-contact-v1-23-3-35"] {
        display:block !important;
        grid-column:1 / -1 !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        margin:18px 0 !important;
    }
}

/* ---------- BUSINESS MODERN PRESS ---------- */

@supports selector(body:has(.gww-profile-tier--business.gww-tier-basic)) {

    body:has(.gww-profile-tier--business.gww-tier-basic)
    .gww335-modern-press,
    body:has(.gww-profile-tier--business.gww-tier-intermediate)
    .gww335-modern-press {
        grid-column:1 / -1 !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
    }

    body:has(.gww-profile-tier--business.gww-tier-basic)
    .gww335-press-layout,
    body:has(.gww-profile-tier--business.gww-tier-intermediate)
    .gww335-press-layout {
        display:grid !important;
        grid-template-columns:140px minmax(0,1fr) !important;
        gap:18px !important;
        align-items:start !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
    }

    body:has(.gww-profile-tier--business.gww-tier-basic)
    .gww335-press-body,
    body:has(.gww-profile-tier--business.gww-tier-intermediate)
    .gww335-press-body {
        display:block !important;
        grid-column:2 !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        float:none !important;
    }

    body:has(.gww-profile-tier--business.gww-tier-basic)
    .gww335-press-body
    :is(
        .gww-business-press-item,
        [class*="press-copy"],
        [class*="press-content"],
        [class*="press-text"]
    ),
    body:has(.gww-profile-tier--business.gww-tier-intermediate)
    .gww335-press-body
    :is(
        .gww-business-press-item,
        [class*="press-copy"],
        [class*="press-content"],
        [class*="press-text"]
    ) {
        display:block !important;
        grid-template-columns:none !important;
        grid-column:auto !important;
        float:none !important;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
    }

    body:has(.gww-profile-tier--business.gww-tier-basic)
    .gww335-press-body
    :is(h1,h2,h3,h4,p,a,strong,span,div),
    body:has(.gww-profile-tier--business.gww-tier-intermediate)
    .gww335-press-body
    :is(h1,h2,h3,h4,p,a,strong,span,div) {
        width:auto !important;
        min-width:0 !important;
        max-width:100% !important;
        word-break:normal !important;
        overflow-wrap:normal !important;
        hyphens:none !important;
        white-space:normal !important;
    }
}

/* ---------- BASIC BUSINESS GALLERY ---------- */

@supports selector(body:has(.gww-profile-tier--business.gww-tier-basic)) {
    body:has(.gww-profile-tier--business.gww-tier-basic)
    :is(
        .gww-business-gallery-thumb,
        .gww-business-photo-gallery a,
        .gww-photo-gallery a,
        .gww-gallery a
    ) img {
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }
}

/* ---------- ADVANCED BUSINESS PRESS CTA ---------- */

@supports selector(body:has(#gww-advanced-business-root)) {

    body:has(#gww-advanced-business-root)
    .gww-business-card.gww-adv212-press
    .gww-business-press-item {
        width:100% !important;
        min-width:0 !important;
    }

    body:has(#gww-advanced-business-root)
    .gww-business-card.gww-adv212-press
    .gww-adv231-business-press-readmore {
        justify-self:start !important;
        width:auto !important;
        min-width:190px !important;
        max-width:max-content !important;
        white-space:nowrap !important;
        margin-top:10px !important;
    }
}

@media(max-width:720px) {

    .gww335-press-layout {
        grid-template-columns:1fr !important;
    }

    .gww335-press-body {
        grid-column:1 !important;
    }

    @supports selector(body:has(#gww-advanced-business-root)) {
        body:has(#gww-advanced-business-root)
        .gww-business-card.gww-adv212-press
        .gww-business-press-item {
            grid-template-columns:1fr !important;
        }

        body:has(#gww-advanced-business-root)
        .gww-business-card.gww-adv212-press
        .gww-adv231-business-press-readmore {
            grid-column:1 !important;
        }
    }
}
