/**
 * Communications page (page_id 28) — enqueued from controller.page.communications.
 */

/* Highlights heading — match News / Features / Video column titles */
.pg-Communications-Highlights .md-Widget_Title.md-ListPosts-NewsFeatures_Title {
    color: #cf2f2f;
    text-transform: uppercase;
}

.pg-Communications-Highlights .md-PageContent_Aside {
    margin-bottom: 2rem;
}

/* Newsletter — separate section below main content row */
.page-id-28 #ly-CommunicationsSection-Newsletter,
body.page-communications #ly-CommunicationsSection-Newsletter {
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding: 2.5rem 0;
    clear: both;
}

/* Global main.css sets all iframes to 455px; reset inside newsletter band */
.page-id-28 #ly-CommunicationsSection-Newsletter iframe,
body.page-communications #ly-CommunicationsSection-Newsletter iframe {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border: none !important;
}

/* Hidden Mailchimp / campaign iframes should not reserve space */
.page-id-28 #ly-CommunicationsSection-Newsletter iframe[aria-hidden="true"],
.page-id-28 #ly-CommunicationsSection-Newsletter iframe[style*="left: -5000"],
body.page-communications #ly-CommunicationsSection-Newsletter iframe[aria-hidden="true"],
body.page-communications #ly-CommunicationsSection-Newsletter iframe[style*="left: -5000"] {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

.page-id-28 #ly-CommunicationsSection-Newsletter .md-SidebarAd,
.page-id-28 #ly-CommunicationsSection-Newsletter .md-SidebarAd-NewsletterSubscribe,
.page-id-28 #ly-CommunicationsSection-Newsletter .md-SidebarAd-NewsletterSubscribe_Wrapper,
body.page-communications #ly-CommunicationsSection-Newsletter .md-SidebarAd,
body.page-communications #ly-CommunicationsSection-Newsletter .md-SidebarAd-NewsletterSubscribe,
body.page-communications #ly-CommunicationsSection-Newsletter .md-SidebarAd-NewsletterSubscribe_Wrapper {
    min-height: 0 !important;
    height: auto !important;
}

.page-id-28 #ly-CommunicationsSection-Newsletter .md-SidebarAd-NewsletterSubscribe_Wrapper,
body.page-communications #ly-CommunicationsSection-Newsletter .md-SidebarAd-NewsletterSubscribe_Wrapper {
    float: none;
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.page-id-28 #ly-CommunicationsSection-Newsletter #mc_embed_signup,
body.page-communications #ly-CommunicationsSection-Newsletter #mc_embed_signup {
    clear: left;
}
