/*
 Theme Name:  Intel Newsroom Theme (Genesis Child)
 Description: A newsroom theme for Intel.
 Author:      CMD Agency
 Author URI:  http://cmdagency.com
 Template:    genesis-block-theme
 Version:     1.0.0
*/

@import url("../genesis-block-theme/style.css");
@import url("css/intel-core.css");
@import url("css/editor-custom-styles.css");

/*** FONTS ***/

@font-face {
    font-family: "IntelOne";
    src: url("fonts/intelone-display-light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne";
    src: url("fonts/intelone-display-regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne";
    src: url("fonts/intelone-display-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne";
    src: url("fonts/intelone-display-bold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-bold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-italic.otf") format("opentype");
    font-weight: normal;
    font-style: italic;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-bolditalic.otf") format("opentype");
    font-weight: 600;
    font-style: italic;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-lightitalic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
    font-display: swap
}
 
@font-face {
    font-family: "IntelOne Text";
    src: url("fonts/intelone-text-mediumitalic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
    font-display: swap
}

/********** ADMIN STYLES **********/

/* Custom styles for Polylang translation fields, applied only in the admin area */
.wp-admin input[name="pll_string[about-intel]"],
.wp-admin input[name="pll_string[intel-disclaimer]"]{
    height: 100px !important; /* Increase the height of the specific translation field */
}

/********** SITE STYLES **********/

html, body {
    font-size: 16px; /* Default for desktop */
    font-family: 'IntelOne Text', Arial, sans-serif;
}

:root {
    --dark-blue: #00285A;
    --color-brand-blue-classic: #0054AE;
    /* --color-brand-blue-classic: #004A86; */
    --main-nav-blue: #005B85;
    --intel-logo: #0068B5;
    --text-brand-blue: #0046C8;
    --color-text-Breaking-Bar: #0099EC;
    --color-brand-blue-energy-blue: #0095CA;
    --text-bright-blue: #76CEFF;
    --text-highlight-blue: #aee0fb;

    --text-carbon: #262626;
    --text-grey: #595959;
    --share-grey: #525252;
    --color-disabled-grey: #AEAEAE;
    --color-neutral-carbon-tint: #E9E9E9;
    --color-light-grey-tint: #F3F3F3;
    --color-light-grey: #f7f7f7;
    

    --mobile-gutter: 1.5rem;
    --desktop-gutter: 3rem;
    --article-container-width: 750px;
    /** if you ever change desktop gutter / article width, update the oversized media query **/

    --mobile-spacer: 3rem;
    --desktop-spacer: 4rem;

    
}


h1, h2, h3, h4, h5, h6{
    -webkit-font-smoothing: antialiased;
}

h1, .site-title {
    font-family: "IntelOne";
    font-size: 40px;
    font-style: normal;
    font-weight: 300 !important;
    line-height: 48px;
    margin-top: 0;
    margin-bottom: 2rem;
}

h2 {
    font-family: "IntelOne";
    font-size: 36px;
    font-style: normal;
    font-weight: 300 !important;
    line-height: 44px;
    margin-top: 0;
    margin-bottom: 2rem;
}

h3, .h3{
    font-family: "IntelOne" !important;
    font-size: 32px;
    font-style: normal;
    font-weight: 300 !important;
    line-height: 38px;
}

h4{
    font-family: "IntelOne";
    font-size: 28px;
    font-style: normal;
    font-weight: 300 !important;
    line-height: 34px;  
}

h5, .entry-subhead{
    font-family: "IntelOne";
    font-size: 24px;
    font-style: normal;
    font-weight: 300 !important;
    line-height: 30px;
}

h6, .h6{
    font-family: "IntelOne";
    font-size: 20px;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 25px;
}

html, body, p { 
    font-family: "IntelOne Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; 
}

::selection {
    background-color: var(--text-highlight-blue); /* Highlight background color */
    color: var(--main-nav-blue);            /* Highlighted text color */
}

.wp-caption-text{
    font-size: .9rem;
    line-height: 1.2rem;
}



/***** FOOTER STYLES ********/



body button,
body a.button,
body input[type="submit"]{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    padding: .5rem 1.5rem;
    border: 1px solid var(--color-brand-blue-energy-blue);
    color: var(--main-nav-blue);
    background: transparent;
    font-family: "IntelOne Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

body button:hover,
body button:active,
body button:focus,  
body a.button:hover,
body a.button:active, 
body a.button:focus,
body input[type="submit"]:hover,
body input[type="submit"]:active,
body input[type="submit"]:focus{
    color: var(--color-brand-blue-classic);
    border: 1px solid var(--color-brand-blue-classic);
    background: transparent;
    box-shadow: none;
}

body button:disabled, 
body a.button:disabled,
body input[type="submit"]:disabled{
    color: var(--color-disabled-grey);
    border: 1px solid var(--color-disabled-grey);
}

body a,
body .entry-content p a,
body .header-text a {
    color: var(--main-nav-blue);
    box-shadow: none;
}
body a:hover,
body .entry-content p a:hover,
body .header-text a:hover {
    color: var(--dark-blue);
    text-decoration: none;
    box-shadow: none;
}
/* added due to aXe tool testing */
body .entry-content p a, body .entry-content a{
    text-decoration: underline; 
}

/** BUTTON THEMES **/

/* Theme 1 - Black */
button.black,
a.button.black,
a.black,
input[type="submit"].black {
    background-color: #000;
    color: #fff;
    border: none;
}

button.black:hover,
a.button.black:hover,
input[type="submit"].black:hover {
    background-color: var(--color-brand-blue-classic);
}

button.black:active,
a.button.black:active,
input[type="submit"].black:active {
    background-color: var(--color-brand-blue-classic);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

button.black:disabled,
a.button.black:disabled,
input[type="submit"].black:disabled {
    background-color: var(--color-disabled-grey);
}


/* Theme 3 - Outline Blue */
button.knockout,
a.button.knockout,
a.knockout,
input[type="submit"].knockout {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid var(--color-neutral-carbon-tint);
}

button.knockout:hover,
a.button.knockout:hover,
a.knockout:hover,
input[type="submit"].knockout:hover {
    border: 1px solid #fff;
    color: #ffffff;
}

button.knockout:active,
a.button.knockout:active,
a.knockout:active,
input[type="submit"].knockout:active {
    border: 1px solid #fff;
    color: #ffffff;
}

button.knockout:disabled,
a.button.knockout:disabled,
a.knockout:disabled,
input[type="submit"].knockout:disabled {
    color:var(--color-light-grey);
    border-color: var(--color-light-grey);
}

a.knockout {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    padding: .5rem 1.5rem;
    background: transparent;
    font-family: "IntelOne Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

/* Theme 4 - Outline Light Blue */
button.outline-light-blue,
a.button.outline-light-blue,
a.outline-light-blue,
input[type="submit"].outline-light-blue {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

button.outline-light-blue:hover,
a.button.outline-light-blue:hover,
a.outline-light-blue:hover,
input[type="submit"].outline-light-blue:hover {
    color: #0056b3;
    border-color: #0056b3;
}

button.outline-light-blue:active,
a.button.outline-light-blue:active,
a.outline-light-blue:active,
input[type="submit"].outline-light-blue:active {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

button.outline-light-blue:disabled,
a.button.outline-light-blue:disabled,
a.outline-light-blue:disabled,
input[type="submit"].outline-light-blue:disabled {
    color: #e0e0e0;
    border-color: #e0e0e0;
}


/**** GRAVITY FORM OVERRIDE... ****/

body .gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
body .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
body .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
body .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
body .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
body .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
body .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))
{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    padding: .5rem 1.5rem;
    border: 1px solid var(--color-brand-blue-energy-blue);
    color: var(--main-nav-blue);
    background: transparent;
    font-family: "IntelOne Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;


}

body .gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
body .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
body .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
body .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
body .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
body .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
body .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
body .gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
body .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
body .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
body .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
body .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
body .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
body .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus
{
    color: var(--color-brand-blue-classic) !important;
    border: 1px solid var(--color-brand-blue-classic) !important;
    background: transparent !important;
    box-shadow: none !important;
}



.short-link{
    cursor: pointer;
    color: var(--text-brand-blue);
}

/* PRIMARY PAGE LAYOUT */

#page{
    margin: 0 auto;
	display: block;
	width: 100%;
    padding: 0 var(--mobile-gutter);
    max-width: unset;
}

@media (min-width: 768px) {
	#page {
		padding: 0 var(--desktop-gutter);
	}
}

#primary {
	margin: 0 auto;
	display: block;
	width: 100%;
    max-width: unset;
}

hr{
    margin-bottom: 2rem;
}


/****  PAGE HEADERS *****/

.home #page{
    padding-top: var(--mobile-gutter)
}

@media screen and (min-width: 768px) {
    .home #page{
        padding-top: var(--desktop-gutter)
    }
}

/*article no bottom */
#page .entry-header{
    margin-bottom: var(--mobile-spacer)
}

@media screen and (min-width: 768px) {
    #page .entry-header{
        margin-bottom: var(--desktop-spacer)
    }
}

/*article no bottom */
.single #page .entry-header{
    margin-bottom: 0px;
}

/* archives bottom */
.entry-header{
    margin: 0 calc(-1 * var(--mobile-gutter)) var(--mobile-spacer);
    padding: var(--mobile-spacer) var(--mobile-gutter);
    background: var(--color-light-grey)
}

.archive:not(.search) .entry-header, .blog .entry-header{
    margin: 0 0 var(--mobile-spacer);
}

.error404 #masthead .entry-header{
    display: none;
}


.entry-header.white{
    background: #fff;
    /* padding: var(--mobile-spacer) var(--mobile-gutter); */
}

@media screen and (min-width: 768px) {
    .entry-header{
        padding: var(--desktop-spacer);
        margin: 0 calc(-1 * var(--desktop-gutter)) var(--desktop-spacer);
    }

    .entry-header.white{
        /* padding: var(--desktop-spacer) var(--desktop-gutter); */
    }
}



.entry-content-wrapper{
    max-width: var(--article-container-width);
    margin: 0 auto;
}

.search .entry-content-wrapper{
    max-width: 100%;
    padding: 0 var(--mobile-gutter);
}

@media screen and (min-width: 768px) {
    .search .entry-content-wrapper{
        padding: 0 var(--desktop-gutter);
    }
    
}

.blog .header-text{
    display: block;
}


/** article styles **/

.date-category{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.featured-image-wrapper{
    position:relative;
}

.featured-image{
    position: relative;
    background: var(--color-neutral-carbon-tint);
    overflow: hidden;
    max-height: 1800px;
    transition: max-height 0.5s;
    margin-bottom: 3.5rem;
}

.featured-image.download{
    margin-bottom: 4.5rem;
}

.featured-image.whiteBg{
    background: #fff;
}

.featured-image .wp-caption-text{
    background: #fff;
}

.featured-image-collapsed-overlay{
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    z-index: 9;
    transition: opacity 0.5s;
    pointer-events: none;
}

.show-overlay{
    opacity: 1;
    pointer-events: all;
}

#imageToggle{
    position: absolute;
    z-index: 99;
    top: 0;
    right: 0;
    color: #fff;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.5);
    border: none;
}

#imageToggle span{
    margin-right: 0.25rem;
}

#imageToggle .hidden{
    display:none;
}
/*** Featured carousel styles **/

.featured-image .wpcp-swiper-dots{
    text-align: left;
}


.audio-share{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin: 2rem auto;
}

@media screen and (min-width: 768px) {
    .audio-share{
        flex-direction: row;
        align-items: center;
    }
    
}

.audio-share .ssplayer_content{
    padding: .5rem 1rem !important;
}

.audio-share .ssplayer_wrapper.ssplayer_button {
    border-radius: 0px !important;
    background: none !important;
    height: unset;
    border: 1px solid var(--color-brand-blue-energy-blue) !important;
}

.audio-share .ssplayer_wrapper.ssplayer_button:hover{
    border-color: var(--color-brand-blue-classic)!important;
}

.audio-share .ssplayer_wrapper .ssplayer_txt_wrapper{
    color: var(--main-nav-blue) !important;
}

.audio-share .ssplayer_button .ssp_txt{
    text-transform: none;
}

.audio-share .ssplayer_button .ssplayer_options_block {
    left: 100%;
    margin-left: 0.5rem;
}

.audio-share .ssplayer_button .ssplayer_options_block .ss_opts_ic{
    transform: rotate(90deg) translateX(-50%);
}

.audio-share .ssplayer_icon_pp_wrapper, .audio-share .ssplayer_icon_spk{
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.audio-share .ssplayer_icon_spk svg{
    display: none;
}

.audio-share .ssplayer_icon_spk:before{
    content: url(/wp-content/themes/genesis-child-theme/images/audio-wave.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
}

.audio-share .ssplayer_options_block,
.audio-share .ssplayer_icon_ldg,
.audio-share .ssplayer_icon_pp
{
    display: none !important;
}


.audio-share .ellipsis {
    display: inline-flex;
    margin-left: 5px;
}

.audio-share .ellipsis span {
    display: inline-block;
    animation: dance 1.5s infinite ease-in-out;
    font-size: inherit;
    color: var(--main-nav-blue);
}

/* Animating each dot with a slight delay */
.audio-share .ellipsis span:nth-child(1) {
    animation-delay: 0s;
}
.audio-share .ellipsis span:nth-child(2) {
    animation-delay: 0.3s;
}
.audio-share .ellipsis span:nth-child(3) {
    animation-delay: 0.6s;
}


@keyframes dance {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    20% {
        transform: translateY(-10px);
        opacity: 0.7;
    }
    40% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}

.audio-share .share{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

@media screen and (min-width: 768px) {
    .audio-share .share{
        margin-top: 0;
    }
    
}

.audio-share .share img{
    margin-right: 0.5rem;
}

.audio-share .share button{
    border-right: 0;
    height: 40px;
}

.audio-share .share:hover button, .audio-share .share:hover .share-menu{
    border-color: var(--color-brand-blue-classic);
}

.audio-share .share .addtoany_list{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.audio-share .share .share-menu{
    border-color: var(--color-brand-blue-energy-blue);
    border-style: solid;
    border-width: 1px 1px 1px 0;
    height: 40px;
    width: 0;
    overflow: hidden;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-share .share .share-menu.open{
    width: 100%;
}

.a2a_button_copy_link svg {
  transform: rotate(45deg); /* Rotates the SVG 45 degrees */
}

.meta-list{
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--color-neutral-carbon-tint);
    padding: 3rem 0 !important;
    margin: 4rem 0 0 !important;
    list-style: none;
}

.meta-list li{
    background: var(--text-carbon);
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.meta-list li a{
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.469rem 1rem;
    white-space: nowrap;
}

.meta-list li a:hover,
.meta-list li a:focus,
.meta-list li a:active{
    background-color: var(--color-brand-blue-classic);
    outline: thin dotted var(--text-brand-blue);
}

.meta-list .meta-title{
    display: none;
}


.download-copy {
    display: flex;
    justify-content: space-between; 
    gap: 10px; 
    /* margin-top: 1rem; */
}

.download-copy .download-wrapper.hidden{
    display: none;
}

.download-copy .download-wrapper,
.download-copy .copy-wrapper {
    flex: 1; 
    display: flex; 
    justify-content: center; 
}

.download-copy .copy-wrapper {
    margin-left: 0; 
}

/* Ensure buttons stretch fully within their wrappers. If only one button is visible, it will take up the whole width */
.download-copy button {
    width: 100%; 
    text-align: center; 
    padding: 10px 20px;
    cursor: pointer; 
}

.download-copy .copy-wrapper {
    justify-content: flex-start; /* Align the single button to the left per designer's request */
}

.download-copy #download-media:before{
    display:inline-block;
    content: url(/wp-content/themes/genesis-child-theme/images/download-blue.svg);
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    position: relative;
    top: -3px;
}
.download-copy #copy-article-text:before{
    content: url(/wp-content/themes/genesis-child-theme/images/copy-text.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    position: relative;
    top: -3px;
}
/*** download icons for carousel and non carousel ***/


.download{
    position: relative;
}



@media (min-width: 1001px) {
    .download.alignright, .wp-caption.alignright{
        margin-right: -100px !important;
    }
}

/* not actually pulling left due to sticky article nav in left gutter */
/* .download.alignleft, .wp-caption.alignleft{
    margin-left: -100px !important;
} */

body button.download-button,
body button.download::after, 
body a.download-button::after{
    display: block;
    background-color: var(--text-carbon);
    background-image: url(/wp-content/themes/genesis-child-theme/images/download.svg);
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 0px;
    border: 0px;
}

.download-button .download-size{
    opacity: 0;
    position: absolute;
    top: 100%;
    color: var(--text-carbon);
    font-size: 10px;
    white-space: nowrap;
    margin-left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.5s;
}

.download-button:focus-visible {
    background-image: url(/wp-content/themes/genesis-child-theme/images/download.svg) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.download-button:hover .download-size,
.download-button:focus .download-size,
.download-button:focus-visible .download-size{
    opacity: 1;
}

body a.download-button{
    position: relative;
    display: flex;
}

body a.download-button img{
    width: 100%;
}

body a.download-button + .wp-caption-text{
    padding-right: 45px;
}

body a.download-button::after{
    
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    top: 100%;
    margin-top: 1rem;
}

body button.download-button:hover,
body button.download-button:focus,
body button.download-button:focus-visible,
body a.download-button:hover::after{
    background-color: var(--color-brand-blue-classic);
}

body button.download-button:focus-visible{
    outline-offset: -2px;
}



.carousel-download{
    position: absolute;
    right: 0;
    bottom: -1rem;
    transform: translateY(100%);
    z-index: 999;
}

.button-wrapper{
    position: relative;
    height: 0;
}

p.attachment{
    display: inline-block !important;
    position: relative;
}

.download + .wp-caption-text, 
.button-wrapper + .wp-caption-text, 
.featured-image-download + .wp-caption-text{
    padding-right: 45px;
}

.inline-download{
    position: relative;
}

.image-download{
    position: absolute;
    right: 0;
    top: 1rem;
}

.video-embed.download{
    margin-bottom: 4rem;
}

.embedded-video{
    position: relative;
    padding-top: 56.25%;
}

.embedded-video iframe, .embedded-video video{
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%; 
    height: 100%;
}

.video-download{
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(calc(100% + 1rem));
}

.featured-image-download{
    position: absolute;
    right: 0;
    margin-top: 1rem;
    top: 100%;
    z-index: 9999;
}

a.download{
    display: inline-block;
    position: relative;
    margin-bottom: 60px !important;
}

.wp-caption a.download{
    margin-bottom: 0 !important;
}

.wpcp-carousel-wrapper.download{
    margin-bottom: 60px;
}

a.download img{
    margin: 0 !important;
}

.download img{
    display: block;
    /* width: 100%; */
}

.wpcp_icon_overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.wpcp_icon_overlay:hover{
    opacity: 1;
}


/*****   basic responsive columns for inline use *****/

.flex-row{
    display: flex;
    flex-wrap: wrap;
}

.flex-row [class^="flex-col"] {
    padding-right: 1rem;
}

.flex-row [class^="flex-col"]:last-child {
    padding-right: 0;
}

.flex-row .flex-col-xs-1 {
    flex: 0 0 100%;
    max-width: 100%;
}
.flex-row .flex-col-xs-2 {
    flex: 0 0 50%;
    max-width: 50%;
}
.flex-row .flex-col-xs-3 {
    flex: 0 0 33.222%;
    max-width: 33.222%;
}
.flex-row .flex-col-xs-4 {
    flex: 0 0 25%;
    max-width: 25%;
}
.flex-row .flex-col-xs-5 {
    flex: 0 0 20%;
    max-width: 20%;
}
.flex-row .flex-col-xs-6 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
}
.flex-row .flex-col-xs-7 {
    flex: 0 0 14.28571428%;
    max-width: 14.28571428%;
}
.flex-row .flex-col-xs-8 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
}


/* News Authors */
.author-info{
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
    margin-top: .5rem;
}
.home .author-info{
    margin-top: 15px;
}
.author-paragraph{
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: normal;
}
.author-headshot{
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    margin-right: 15px;
}
.author-name{
    color: var(--text-carbon);
    font-weight: 500;
}
.author-title{
    color: var(--text-grey);  
}

@media (min-width: 576px) {
	.flex-row .flex-col-sm-1 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.flex-row .flex-col-sm-2 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.flex-row .flex-col-sm-2-5 {
		flex: 0 0 75%;
		max-width: 75%;
	}
	.flex-row .flex-col-sm-3 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}
	.flex-row .flex-col-sm-4 {
		flex: 0 0 25%;
		max-width: 25%;
	}
	.flex-row .flex-col-sm-5 {
		flex: 0 0 20%;
		max-width: 20%;
	}
	.flex-row .flex-col-sm-6 {
		flex: 0 0 16.66666666666667%;
		max-width: 16.66666666666667%;
	}
	.flex-row .flex-col-sm-7 {
		flex: 0 0 14.28571428%;
		max-width: 14.28571428%;
	}
	.flex-row .flex-col-sm-8 {
		flex: 0 0 12.5%;
		max-width: 12.5%;
	}
}

@media (min-width: 768px) {
	.flex-row .flex-col-md-1 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.flex-row .flex-col-md-2 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.flex-row .flex-col-md-2-5 {
		flex: 0 0 75%;
		max-width: 75%;
	}
	.flex-row .flex-col-md-3 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}
	.flex-row .flex-col-md-4 {
		flex: 0 0 25%;
		max-width: 25%;
	}
	.flex-row .flex-col-md-5 {
		flex: 0 0 20%;
		max-width: 20%;
	}
	.flex-row .flex-col-md-6 {
		flex: 0 0 16.66666666666667%;
		max-width: 16.66666666666667%;
	}
	.flex-row .flex-col-md-7 {
		flex: 0 0 14.28571428%;
		max-width: 14.28571428%;
	}
	.flex-row .flex-col-md-8 {
		flex: 0 0 12.5%;
		max-width: 12.5%;
	}
}
@media (min-width: 1028px) {
	.flex-row .flex-col-lg-1 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.flex-row .flex-col-lg-2 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.flex-row .flex-col-lg-3 {
		flex: 0 0 33.222%;
		max-width: 33.222%;
	}
	.flex-row .flex-col-lg-4 {
		flex: 0 0 25%;
		max-width: 25%;
	}
	.flex-row .flex-col-lg-5 {
		flex: 0 0 20%;
		max-width: 20%;
	}
	.flex-row .flex-col-lg-6 {
		flex: 0 0 16.6667%;
		max-width: 16.6667%;
	}
	.flex-row .flex-col-lg-7 {
		flex: 0 0 14.28571428%;
		max-width: 14.28571428%;
	}
	.flex-row .flex-col-lg-8 {
		flex: 0 0 12.5%;
		max-width: 12.5%;
	}
}
@media (min-width: 1280px) {
	.flex-row .flex-col-xl-1 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.flex-row .flex-col-xl-2 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.flex-row .flex-col-xl-3 {
		flex: 0 0 33.22222222%;
		max-width: 33.22222222%;
	}
	.flex-row .flex-col-xl-4 {
		flex: 0 0 25%;
		max-width: 25%;
	}
	.flex-row .flex-col-xl-5 {
		flex: 0 0 20%;
		max-width: 20%;
	}
	.flex-row .flex-col-xl-6 {
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.flex-row .flex-col-xl-7 {
		flex: 0 0 14.28571428%;
		max-width: 14.28571428%;
	}
	.flex-row .flex-col-xl-8 {
		flex: 0 0 12.5%;
		max-width: 12.5%;
	}
}

@media (max-width:380px) {
    a.button{
        text-align: center !important;
        display: inline-block;
    }
    .see-all-wrapper {
        padding: 1rem !important;
    }
}

/* Parent theme overwrites */

.entry-content::before,
.entry-content::after,
.comment-content::before,
.comment-content::after,
.site-header::before,
.site-header::after,
.site-content::before,
.site-content::after,
.site-footer::before,
.site-footer::after {
	content: unset;
	display: unset;
}

.site-content {
    margin-top: -5px;
}

span.h6{
    font-weight: 100 !important;
}
p.h3, span.h3{
    font-weight: 100 !important;
}
#site-navigation > ul > li.subscribe {
    display: flex;
    align-items: center;
    justify-items: center;
}
#site-navigation > ul > li.subscribe a.button{
    max-height: 40px;
}

.bio-title{
    margin-top: -1.5rem;
    color: var(--text-grey);
    font-size: 1rem !important;
    font-weight: 400 !important;
}
img.intel-card-fallback{
    width: 100% !important;
}

.hr{
    height: 0;
    border-bottom: 2px solid #AEAEAE;
    margin-bottom: 1.5rem;
}

h3:has(+p){
    margin-bottom: 1rem;
}