*, *::before, *::after{box-sizing: border-box;}

body {
    background: #fff;
    margin: 0;
    overflow-x: hidden;
}
header{
    width 100%;
    height: 100px;
    z-index: 99;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

header.zclass{z-index: 1;}

h1, h2, h3, h4{ 
    font-family: "Lato", serif;
    font-weight: 400;}
p{
    font-family: "Lato", sans-serif;
    font-weight: 300;
    letter-spacing: -0.1px;
}

a{font-family: "Lato", sans-serif;}
.page-wrap{
    padding:2rem 0;
}
header.not_fixed {
    position: relative;
}

header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 3% 5%;
}

header .container.news {
    display: flex;
    align-items: center;
    width: 98%;
    margin: 3% 1% 1%;
    padding: 0 1%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

header .container.publication_header {
    display: flex;
    align-items: center;
    width: 98%;
    margin: 3% 1% 1%;
    padding: 0 1%;
}

.aee_top_bar {
    width: 100%;
    background: #ebebeb;
    padding: 1% 2%;
}

.aee_top_menu {
    display: flex;
    flex-direction: row-reverse;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.aee_top_menu li a {
    padding: 10px 21px;
    text-decoration: none;
    font-size: 13px;
    color: #000;
    margin: 0 3px;
    transition: color 0.3s;
    font-family: "Lato", sans-serif;
    text-transform: none;
    letter-spacing: -0.3px;
}

.logo{
    width: 35%;
}

img.custom-logo {
    width: 100%;
    height: 100%;
    padding: 6px;
}

.menu-giveback-container {
    width: auto;
}

ul#menu-giveback {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}


main{z-index: 1; position: relative;}

.menu_flex {
    display: flex;
    flex-direction: row;
    width: 41%;
    align-items: flex-start;
    justify-content: flex-end;
}

button.aee_open_contacts {
    position: relative;
    display: inline-block;
    width: 30%;
    padding: 13px 10px;
    text-decoration: none;
    font-size: .9em;
    font-weight: 600;
    color: #fff;
    background-color: #ff471d;
    transition: background-color 0.3s;
    font-family: "Lato", sans-serif;
    font-style: normal;
    text-transform: none;
    letter-spacing: -0.3px;
    border: 0;
    cursor: pointer;
}

/**
.menu-top-menu-container {
    width: 60%;}
***/
.donate-menu li a {
    position: relative;
    display: inline-block;
    padding: 13px 20px;
    text-decoration: none;
    font-size: .75em;
    color: #fff;
    background-color: #ff471d;
    transition: background-color 0.3s;
    font-family: "Lato", sans-serif;
    font-style: normal;
    text-transform: none;
    letter-spacing: -0.3px;
}

.donate-menu li a:hover {
    background-color: #ee4822;
}

.donate-menu li a:active{
    background: #ee4822;
}

.menu-main-menu-container {
    width: 42%;
}

.o-main-menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}


.o-main-menu li a {
    padding: 10px 21px;
    text-decoration: none;
    font-size: 13px;
    color: #767272;
    margin: 0 3px;
    transition: color 0.3s;
    font-family: "Lato", sans-serif;
    text-transform: capitalize;
    letter-spacing: -0.3px;
}

.white li a {
    color:#fff9;
}
.o-main-menu li a:hover{
    color: #000;}

.white li a:hover{
    color: #fff;}

a[aria-current="page"] {
    color: #000 !important;}

.white li a[aria-current="page"] {
    color: #fff !important;}


header .top-menu{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header .top-menu li{
    position: relative;
    height: 22.25vh;
    width: 50%;
}

.top-menu li a{
    display: flex;
    align-items: flex-end;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    background: #282828;
    height: 100%;
    padding: 8% 6%;
}

.top-menu li a:hover{
    
}

.top-menu li:nth-child(even){
    margin-left: 50%;
}

.top-menu li a[aria-current="page"]{
    background: #ff471d;
}



header .top-menu li .sub-menu{
    display: none;
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
    background:#fff;
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 200px;
}

header .top-menu li .sub-menu a{
    color: red;
    padding: .25rem;
    text-align: center;
    display: block;
    text-decoration: none;
    
}

header .top-menu li .sub-menu a:hover{
    color: #000;
}

header .top-menu> .menu-item-has-children:hover> .sub-menu{
    display: block;
}

header .top-menu> .menu-item-has-children .sub-menu> .menu-item-has-children:hover .sub-menu{
    display: block;
}

header .top-menu .sub-menu li .sub-menu{
    top: 0;
    left: 100%;
}

/***** ae front page Heo section ***/

.aee_hero_block_new:before{
    inset: 0;
    height: 30vh;
    position: absolute;
    background: linear-gradient(0deg, transparent 50%, #073202);
}

.aee_hero_block_new:after{
    inset: 0;
    height: 100vh;
    position: absolute;
    background: linear-gradient(180deg, transparent 70%, #073202);
}
.ae_hero_block{
    display: none;
    flex-direction: row;
    position: relative;
    width: 100%;
    height: 100vh;
    background: #073202;
    padding: 0 5%;
    background-image: url('https://energyafrica.africa/wp-content/uploads/2025/09/Energy-africa-windmill.jpg');
    background-size: cover;
    background-position: top center;
}

.aee_hero_menu_container {
    background: #ff471d;
    position: absolute;
    bottom: 0;
    width: 50%;
}

.aee_hero_menu_container> .menu-main-menu-container {
    width: 100%;
} 

.aee-hero-menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 4% 0;
    
}

 .aee-hero-menu> li> a[aria-current="page"] {
    color: #fff !important;
}

.aee-hero-menu> li> a {
    padding: 10px 21px;
    text-decoration: none;
    font-size: 1rem;
    color: #fff9;
    margin: 0 16px;
    transition: color 0.3s;
    font-family: "Lato", sans-serif;
    text-transform: capitalize;
    letter-spacing: -0.1px;
    font-weight: 600;
}


.ae_hero_left {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    z-index: 1;
}

.ae_hero_title {
    font-size: 6rem;
    line-height: .94;
    text-transform: capitalize;
    color: white;
    margin-bottom: 1%;
}

.ae_hero_right {
    width: 50%;
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
}

.ae_hero_info {
    width: 95%;
    font-size: 0.9rem;
    line-height: 1.4;
    color: white;
    text-shadow: 0 0 20px black;
}

.articles_button {
    color: #fff;
    font-size: .9rem;
    text-decoration: none;
    padding: 1% 8%;
    border-bottom: 2px solid #c53514;
    font-family: 'Lato';
    font-weight: 300;
    background: #ff471d;
}




.aee_hero_block_new {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f2f1f1;
    background-image: url('https://energyafrica.africa/wp-content/uploads/2025/09/Energy-africa-windmill.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}

.aee_hero_images {
    display: flex;
    width: 100vw;
    height: 85vh;
    flex-direction: column;
    padding: 10% 0;
    position: relative;
    margin-bottom: 10vh;
}

.aee_himg_top {
    width: 100vw;
    display: flex;
    flex-direction: row;
    padding: 0 5% 0 10%;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    height: 100vh;
}

.aee_himg_bottom {
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
    margin-top: -21%;
    position: absolute;
    bottom: 0;
}

.aee_himg_top> img, .aee_himg_bottom> img {
    filter: grayscale(34%);
}

img.aee_hero_img_1 {
    width: 20vw;
    position: absolute;
    top: 0;
    left: 10%;
}

img.aee_hero_img_2 {
    width: 25vw;
    position: absolute;
    top: 0;
    right: 10%;
}

img.aee_hero_img_3 {
    width: 28vw;
    position: absolute;
    top: 0;
    left: 10%;
}

img.aee_hero_img_4 {
    width: 19vw;
    position: absolute;
    top: 0;
    right: 12%;
}


.aee_hero_intro {
    width: 70%;
    position: absolute;
    top: 25vh;
    z-index: 1;
}

h1.aee_hero_intro_h1 {
    font-size: 6.2rem;
    line-height: 1;
    text-align: center;
    font-weight: 600;
    letter-spacing: -3px;
    color: #fff;
    text-shadow: 0 0 58px #00000036;
}




/***** ae front page about section ***/

.about-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 10%;
}

.ae_about_one {
    width: 15%;
}

.aee_about_second_block {
    display: flex;
    flex-direction: column;
    width: 85%;
}
.ae_about_two {
    width: 90%;
    padding: 0 5%;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -3px;
    margin-top: 0;
}

.ae_about_three {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    padding: 0 2%;
    line-height: 1.6;
    
}
.ae_about_image {
    width: 40%;
}

.aee_home_three_right {
    width: 60%;
    padding: 0 5%;
}

.ae_p_bold {
    font-size: 1.1rem;
    font-weight: 400;
}



/** homepage issue section**/



.aee_magazine_section {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 7% 5% 7%;
    background: #073202;
    color: white;
    align-items: center;
}

h2.aee_magazine_section_h2 {
    display: none;
    font-size: 3.3rem;
    width: 100%;
    font-weight: 300;
    letter-spacing: -3px;
    text-align: left;
    margin-bottom: 5%;
}

.aee_magazine_section_block {
    /* background: #0f187d; */
    /* color: #fff; */
    width: 100%;
    padding: 0;
    border-radius: 2%;
    display: flex;
    flex-direction: row-reverse;
    overflow: hidden;
}

.aee_magazine_section_block_left {
    width: 66%;
    padding: 2% 5% 5%;
}

img.aee_mag_issue_period_logo {
    width: 80%;
}

p.aee_mag_issue_period {
    line-height: 1.8;
    font-size: 1rem;
}

.aee_mag_issue_period_logo{
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1px;
}

ul.aee_mag_issue_period_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 8%;
    font-size: 1rem;
    line-height: 1.5;
    font-family: "Lato", sans-serif;
    font-weight: 300;
}

ul.aee_mag_issue_period_list> li {
    width: 30%;
    line-height: 2;
}

.aee_magazine_section_block_right {
    width: 33%;
}

.aee_magazine_section_block_right_on_mobile{display: none;}

img.aee_mag_issue_period_cover {
    width: 100%;
}


.img_bf_pub_sec {
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

img.img_at_pub_sec {
    width: 100%;
    object-position: 50% 45%;
    object-fit: cover;
    height: 100%;
}

section.publication_block {
    width: 100%;
    padding: 0% 5% 4%;
    background: #2E8B57;
    background: #073202;
    color: white;
}

.issue_top_block {
    display: none;
    opacity: 0;
}

.issue_number {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 2%;
}

.issue_feature {
    font-size: 1.1rem;
    letter-spacing: 1.1px;
    font-style: italic;
    margin: 0;
}

.issue_feature_title {
    font-size: 3rem;
    font-weight: 600;
    margin: 1% 0 3%;
}

.issue_bottom_block {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.ae_publication_img {
    width: 20%;
    margin-right: 20%;
}

.issue_details {
    width: 40%;
    position: relative;
    background: #ff471d;
    padding: 4%;
    margin-top: -7%;
}

.issue_details:after {
    content: "1";
    font-size: 32rem;
    opacity: 0.4;
    display: block;
    height: 1px;
    right: -160%;
    top: -15%;
    position: absolute;
    width: 80px;
    letter-spacing: -101px;
}

.issue_title {
    font-size: 1rem;
}

.issue_timeline {
    font-weight: 400;
}

.issue_info {
    line-height: 1.2;
    margin-bottom: 10%;
    font-size: 2.4rem;
}

.issue_download {
    background: #ff471d;
    color: white;
    text-decoration: none;
    padding: 13px;
    border-bottom: 2px solid white;
}

.publication_link_home {
    margin-top: 8%;
    width: 100%;
}

.publication_link_home> a.issue_download {
    display: block;
    width: 60%;
    font-size: .9rem;
    background: #ff471d;
    color:white;
    text-align: center;
    transition: all 0.5s;
    border:none;
}


.footer_issue_download {
    display: block;
    width: 100%;
    padding: 4%;
    text-align: center;
    background: #ff471d;
    color: white;
    text-decoration: none;
}

.issue_ft_block {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    flex-wrap: wrap;
}

.issue_ft_ele {
    width: 20%;
    height: 300px;
    background: gainsboro;
}

.issue_ft_ele:nth-child(1), .issue_ft_ele:nth-child(2) {
    margin-left: 20%;
}

.issue_ft_ele:nth-child(3), .issue_ft_ele:nth-child(4) {
    margin-right: 20%;
}

.issue_triangle {
    position: relative;
}

.issu_tri {
    transform-origin: 50% 62.0457%;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 23.95%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 23.95%, 0% 100%);
    background-color: #073202;
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.07588);
}

.issue_triangle:after {
    content: "";
    /* grid-area: 1 / 1 / 2 / 2; */
    width: 100%;
    height: 0;
    padding-top: 21.99%;
    display: block;
}



/***** Stats Section***/

.ae_stats_block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10% 5%;
}

.ae_stats_left {
    width: 43%;
}

p.ae_s_top {
    font-weight: 400;
}

.ae_s_title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -2px;
}

.ae_stats_right {
    width: 50%;
}


.ae_stat_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f5f5f5;
    width: 50%;
    min-height: 240px;
    box-shadow: none;
    transition: box-shadow .4s;
    filter: grayscale(100%);
}

.ae_stat_box:nth-child(even) {
    margin-left: 50%;
}

.ae_stat_box:hover {
    box-shadow: 1px 1px 20px 20px #e7e6e6;
    filter: grayscale(10%);
}

.ae_stat_box_title {
    margin: 6%;
    font-size: .9rem;
    font-weight: 400;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: all .5s;
    transform: translateY(10%);
}

.ae_stat_box:hover> .ae_stat_box_title {
    opacity: 1;
    transform: translateY(0);
    cursor: pointer;
}

.ml50{
    margin-left: 50%;
}




/***** AE news section***/

.ae_news_block{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 7% 5% 9%;
    background: #f5f5f5;
}

p.ae_news_lb_p {
    font-weight: 400;
}

h1.ae_news_lb_h {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -3px;
    margin-top: 0;
}


.ae_news_left {
    width: 96%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 2% 1%;
}


.ae_news_right {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.ae_news_rb {
    display: flex;
    background: #ffffff;
    width: 46%;
    margin: 0 2%;
    padding: 0 3%;
    min-height: 390px;
    align-items: flex-end;
}

h1.ae_news_rb_h {
    font-size: 1rem;
}



/**AE Partners**/

.ae_partner_block {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 6% 0 15%;
}

.partner_top {
    width: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner_img {
    height: 150px;
    margin-top: 5%;
}


/***** AE about Page***/

.ae_about_hero {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 15% 6% 4%;
}

p.ae_about_hero_text {
    padding-left: 5%;
    color: darkgrey;
    letter-spacing: -0.9px;
    font-weight: 400;
    width: 25%;
}

h1.ae_about_hero_text {
    font-size: 4rem;
    width: 70%;
    font-weight: 600;
    letter-spacing: -3px;
    margin: 0;
}

.ae_about_small_box {
    width: 90px;
    height: 90px;
    background: #d3d3d3;
    margin-left: 72%;
}

.ae_about_info_block {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0 6% 10%;
}

.ae_about_info_block_left {width: 30%;display: flex;flex-direction: column;justify-content: space-between;margin-top: 10%;}

.ae_aibl_top {
    background: lightgray;
    width: 140px;
    padding: 4%;
}

.ae_aiblt_number {
    font-size: 4rem;
    margin: 0;
}


.ae_about_info_block_right {
    width: 40%;
    margin: 0 5%;
}

img.ae_aibl_bottom {
    width: 90%;
}

img.ae_aibr_img {
    width: 100%;
}

h2.ae_aibr_h2 {
    font-size: 1rem;
    margin: 5% 0;
}

p.ae_aibr_h2 {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

.ae_about_work_block {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    padding: 6%;
    align-items: center;
    background: #2E8B57;
    color: white;
}

.ae_about_work_block_left {
    width: 40%;
}

img.ae_about_work_block_middle {
    width: 20%;
}

.ae_about_work_block_right {
    width: 40%;
}

h3.ae_awbl_h3 {
    font-size: 3.2rem;
    text-transform: capitalize;
}

p.ae_awbr_top {
    font-size: 1rem;
    font-weight: 400;
}

p.ae_awbr_header {
    font-size: 2rem;
}

p.ae_awbr_p {
    line-height: 1.5;
}

.partnership_button {
    background: #ff471d;
    color: white;
    text-decoration: none;
    padding: 2% 7%;
}


/***** Publication page***/

.aee_actual_publication_page {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 15% 6% 4%;
}


/***** archive Publication page***/

.ae_publication_page_block {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
}

.ae_pub_left {
   display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    width: 45%;
    padding: 40vh 3% 0;
    margin-top: 0;
    font-size: 1.4rem;
    background: #f2f4f3;
}

img.aee-publication_icon {
    width: 60%;
    margin: 0 auto;
}

.ae_pub_left_h1 {
    width: 100%;
    padding: 4%;
    font-size: 5rem;
    letter-spacing: -3px;
    margin-top: 0;
    color: #000;
    border-bottom: 1px solid #f7f1f1;
}

.ae_pub_right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 55%;
    margin: 0%;
    padding: 25vh 0;
}

.ae_pubr_block {
    width: 46%;
    margin: 2% 2%;
    padding: 2%;
    display: flex;
    flex-direction: column;
}

p.ae_pubrb_p {
    font-size: .7rem;
    width: 100%;
    margin-left: 5%;
    margin-bottom: 10%;
}

img.ae_pubrb_image {
    width: 90%;
    margin: auto;
    min-height: 250px;
}

p.ae_pubrb_text {
    font-size: 1rem;
    line-height: 1.5;
    margin: 9% 5% 5%;
    font-weight: 400;
}



.aee_new_publication_page_block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.aee_npub_top {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    padding: 18% 8% 2%;
    background: #f8f8f8;
}

p.aee_npubtop_intro_p {
    font-size: 2rem;
    font-weight: 300;
    width: 30%;
    letter-spacing: -1px;
    margin: 2% 0;
}

h2.aee_npubtop_intro_h2 {
    line-height: 1;
    width: 70%;
    letter-spacing: -1px;
    font-size: 4rem;
    margin: 0;
    font-weight: 600;
}

.aee_npub_bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 90%;
    margin: 3% 5%;
    padding-top: 3%;
}

.aee_mag_cover_link {
    width: 25%;
    margin: 2% 4%;
}

img.aee_mag_cover_pub_img {
    width: 100%;
}

h3.aee_mag_title {font-size: 1rem;}

.mag_download> p> a {
    width: 60%;
    background: #ff471d;
    text-align: center;
    display: block;
    padding: 3%;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .9rem;
    transition: all 0.2s;
}

.mag_download> p> a:hover {
    background: #fff;
    color: #ff471d;
    border: 1px solid #ff471d;
}

a.mag_download {
    width: 60%;
    background: #ff471d;
    text-align: center;
    display: block;
    padding: 3%;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .9rem;
    transition: all 0.2s;
}

a.mag_download:hover {
    background: #fff;
    color: #ff471d;
    border: 1px solid #ff471d;
}



/***** archive news page***/

.ae_news_page_block {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5% 0 7%;
}

.ae_nb_left {
    width: 100%;
    padding: 0 3%;
    font-size: 1.4rem;
    border-bottom: 1px solid gainsboro;
    padding-top: 4%;
    background: #f0eff0;
    height: 77vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: -16%;
    position: relative;
    background-image: url(https://iea.imgix.net/9e69d31f-3789-4cdd-8a28-e020e81380cf/08-August.jpg?auto=compress%2Cformat&fit=min&q=80&rect=0%2C0%2C1800%2C1200&w=1280&fit=crop&fm=jpg&q=70&auto=format&h=853);
    background-size: cover;
}

.ae_nb_left:before {
    content: "";
    inset: 0;
    position: absolute;
    background: linear-gradient(180deg, transparent 50%, #000);
}

.ae_nb_right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
}

.ae_nbr_block {
    width: 31%;
    margin: 2% 1%;
    padding: 2%;
    background: #2121;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ae_nbr_block:after {
    content: "";
    inset: 0;
    position: absolute;
    background: linear-gradient(180deg, transparent 50%, #000);
}

p.ae_nbrb_p {
    border-bottom: 1px solid gainsboro;
}

img.ae_nbrb_image {
    width: 70%;
    margin: auto;
    min-height: 250px;
}

p.ae_nbrb_text {
    font-size: 1rem;
    line-height: 1.5;
    z-index: 1;
    color: white;
    position: relative;
}

.ae_nb_left_p, .ae_nb_left_h1 {color: white; z-index: 2;}
h1.ae_nb_left_h1 {
    font-size: 4rem;    
    letter-spacing: -1px;    
    margin-top: 0;}



/***** AE actuall News page***/

.ae_news_page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 90vh;
    justify-content: flex-end;
    background-image: url("https://madarplatform.com/assets/images/media/case-studies/1.hero/yamama/background@xxxl.webp");
    background-position: center;
    background-size: cover;
    padding: 2%;
}

p.ae_news_page_p {
    width: 100%;
    color: white;
    padding: 1% 0;
    border-bottom: 1px solid #dedbdb7a;
}

h1.ae_news_page_title {
    font-size: 4.2rem;
    color: white;
    width: 40%;
    line-height: 1;
    margin: 2% 0;
}

.ae_news_page_info_block {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 6% 2%;
}

.ae_news_page_info_block_left {
    width: 50%;
    display: flex;
}

.ae_news_page_info_block_right {
    width: 50%;
    line-height: 1.5;
}

.ae_news_page_info_block_right> div {
    margin-bottom: 20%;
}

.ae_news_page_info_block_left> img {
    width: 300px;
    height: 300px;
    background: #2121;
    margin: 0 auto;
}



/***** Archive Resources page ***/

.aee_resources_wide_block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.aee_resources_left {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    margin-right: 3%;
    padding: 36vh 5% 0;
    background: #f8f8f8;
}

.pd-top16{padding-top: 16vh;}


h1.aee_resources_h1 {
    font-size: 2rem;
    font-weight: 300;
    width: 30%;
    letter-spacing: -1px;
    margin: 2% 0;
}

p.aee_resources_p {
    line-height: 1.5;
    width: 70%;
    letter-spacing: -1px;
    font-size: 2rem;
    font-weight: 600;
}

.aee_resources_right {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 2% 5% 3%;
}

.gey_back {
    background: #f8f8f8;
}

.aee_resources_img:hover { cursor: pointer;}

.aee_resources_img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 23%;
    margin: 2% 1%;
    filter: grayscale(1);
    transition: filter .5s;
}

.aee_resources_img:hover {filter: grayscale(0); }



img.resources_logos {
    width: 50%;
    transition: width .5s;
}

.arch_title {
    font-size: .9rem;
    color: #575656;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: all .5s;
    transform: translateY(10%); 
}

.aee_resources_img:hover> img.resources_logos { width: 55%;}
.aee_resources_img:hover> .arch_titles {
    opacity: 1;
    transform: translateY(0);
    cursor: pointer;
}




/***** Contacts Page***/

.aee_contacts_block {
    background-color: #151515f2;
    width: 100%;
    height: 100vh;
    padding: 15% 14%;
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
    transform: translateY(10%);
    
}

.aee_contacts_block.show{
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    z-index: 999;
}

.aee_contacts_orange_ {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ff471d;
}


.aee_contacts_top{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.aee_contacts_bottom{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
}


.aee_contacts_top_left {
    display: flex;
    flex-direction: column;
    width: 38%;
    margin: -7% 0 0 5%;
    padding: 6% 5% 2%;
    background: white;
}

.aee_contacts_h1 {
    font-size: 2.6rem;
    letter-spacing: -2px;
    line-height: 1;
}

.aee_contacts_top_left> p {
    font-size: .8rem;
    line-height: 1.4;
    font-weight: 400;
    color: rgb(75 75 75);
    margin-top: 0;
}

.aee_contacts_top_right> div> h4 {
    line-height: 5.7;
    font-size: 0.7em;
}
.aee_contacts_top_right {
    width: 51%;
    padding: 5% 5%;
    color: #ffff;
}

button.aee_close_contacts {
    width: 30px;
    height: 30px;
    position: relative;
    background: #ffffff00;
    border: 0;
    margin: 1% 2%;
    cursor: pointer;
}

button.aee_close_contacts:before {
    content: '';
    width: 30px;
    border-top: 1px solid #ffffff;
    position: absolute;
    top: 22px;
    left: 0;
    transform: rotate(45deg);
}

button.aee_close_contacts:after {
    content: '';
    width: 30px;
    border-top: 1px solid #ffffff;
    position: absolute;
    top: 22px;
    left: 0;
    transform: rotate(-45deg);
}


.aee_contacts_bottom_left {
    width: 38%;
    margin: 0 0 0 5%;
    padding: 3% 5%;
    color: white;
}

.aee_contacts_bottom_right {
    background: white;
    width: 38%;
    padding: 3% 5%;
}

.aee_contacts_bottom_right> div> h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #4e4e4e;
}

.aee_contacts_bottom_right> div> p> a {
    font-size: 1rem;
    color: black;
    font-weight: 400;
    line-height: 1.1;
    text-decoration: none;
}




/***** old version of theme***/
/***** old version of theme***/
/***** old version of theme***/
/***** old version of theme***/
/***** old version of theme***/
/***** old version of theme***/





/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
}

.main-navigation ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: auto;
    position: absolute;
    left: -50vw;
    background: #1d1d1d;
    min-height: 100vh;
    z-index:2;
     -webkit-transition: left .5s ease-in;
    -moz-transition: left .5s ease-in;
    -khtml-transition: left .5s ease-in;
    -o-transition: left .5s ease-in;
    transition: left .5s ease-in;
    
    
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.menu-toggle,
.main-navigation.toggled ul {
    left:0;
}

@media screen and (min-width: 3700px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}


button.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 41px;
    width: 70px;
    background: whitesmoke;
    cursor: pointer;
    outline: 0;
    z-index: 1;
    position: relative;
    border: 0;
    color: #f5f5f5;
}

button.menu-toggle::before {
    content: "";
    display: block;
    position: relative;
    height: 2px;
    width: 25px;
    background: #000;
    top: 0px;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -khtml-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}


button.menu-toggle::after {
  content: "";
  display: block;
  position: relative;
  height: 2px;
  width: 25px;
  background: #000;
  bottom: 0px;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -khtml-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}


.toggled> button.menu-toggle::before {
-webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -khtml-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 24px;
  top: 9px;
    height: 1px;
}

.toggled> button.menu-toggle::after {
    -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -khtml-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
    left: -0.5px;
    bottom: 7px;
    width: 24px;
    height: 1px;
}

.menu-top-menu-container {
    background: whitesmoke;
    line-height: 2.9;
    font-size: 21px;
    font-weight: 500;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.top-menu.nav-menu {
    padding: 5%;
    width: 50vw;
    height: 100vh;
    top:0;
}

.menu.nav-menu li a {color: #f5f5f5;}

.main-navigation a {font-size: 26px;}

.wrapper {
    display: flex;
    flex-direction: row;
    width: 500vw;
     transform: rotate(90deg) translateY(-100vh);
    transform-origin: top left;
}

.outer-wrapper{
    width: 100vh;
    height: 100vw;
    transform: rotate(-90deg) translateX(-100vh);
    transform-origin: top left;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
}





/*****Footer****/

footer{
    width: 100%;
    background: #f3f3f3;
    
}

.fl-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0 4% 4%;
    flex-wrap: wrap;
    align-items: flex-end;
}


.top-links {
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    padding: 0 0 0 4%;
}


.abi_physical_address, .abi_physical_address_left {
        line-height: .7;
        padding: 4% 5% 4% 0;
        font-size: 1.1rem;
        width: 50%;
    color: gray;
}

.abi_physical_address_left> div> h4 { color: grey;font-weight: 700; margin-bottom: 15%;}

.abi_physical_address_left> div> p {    font-size: 1rem; color: black; font-weight: 400; line-height: 1;}
.abi_physical_address> div> p, .abi_physical_address> div> p> a {font-size: 1.1rem; color: black;font-weight: 400;line-height: 1; text-decoration: none;}

.abi_physical_address> div> h4{font-weight:600;}


.o-footer-menu {
    /* display: flex; */
    /* flex-direction: row; */
    /* align-items: center; */
    border-bottom: 1px solid hsl(0deg 2% 69.73% / 30%);
    width: 100%;
    margin: 0;
}

.footer-menu {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
    margin: 6% 0;
    justify-content: space-between;
}

.o-footer-menu> .menu-main-menu-container {
    width: 100%;
}

.footer-menu li {
    list-style: none;
    margin: 2%;
}

.footer-menu li a{
    color: #000;
    font-size: 1rem;
    letter-spacing: -0.3px;
    line-height: 1.9;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    text-transform: capitalize;
    transition: color 0.30s;
}

.footer-menu li a:hover {
    text-decoration: none;
    color: #ff471d;
}

.footer-menu li a[aria-current="page"] {
    color: #ff471d !important;
}

.middle-links {
    width: 30%;
    font-size: 1em;
    line-height: 1.5;
    margin: 2% 5% -7%;
    padding: 3%;
    background: #e1e1e1;
}

.middle-links> div> p> strong {
    font-family: "Lato", serif;
    font-weight: 400;
    font-size: 3em;
}

.bottom-links {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 1% 5%;
    border-top: 1px solid hsla(0,0%,100%,.3);
    align-items: center;
}

.abi_virutal_links {
    width: 50%;
    overflow: hidden;
}

ul.wp-block-social-links.is-layout-flex.wp-block-social-links-is-layout-flex {
    font-size: 1em;
    margin: 0;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
    font-size: 1.5em;
    border-radius: 0;
    background: none;
    color: #000;
}

.o-coptyright-information {width: 50%;}

.o-coptyright-information> div> p {
    font-weight:400;
}


.masking-container {
    background: #000000de;
    padding: 3% 2% 2%;
    width: 100%;
}

.masked-text {
    font-size: 4vw;
    text-align: center;
    margin: 2% 0 2% 37%;
    font-weight: bold;
    color: transparent;
    background-image: url('https://images.unsplash.com/photo-1732535725600-f805d8b33c9c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); 
    background-size: 200%; /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-background 5s infinite alternate linear;
}

p.aee_credit {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: end;
    padding-right: 4%;
	font-style:italic;
}



/*****mobile responsive****/

/***** Mobile responsivness***/

@media (max-width: 1220px){
    
    .aee_hero_intro {width: 75%;}
    
    h1.aee_hero_intro_h1 {font-size: 5.5rem;}
}



@media (max-width: 1107px){
    
    h2.aee_npubtop_intro_h2 {width: 65%; font-size: 3rem;}
    
    .aee_hero_menu_container {width: 58%;}
    
    .about-section {padding: 10% 2%;}
}


@media (max-width: 991px){
    
    html {
        font-size: 15px;
    }
    
    .logo {width: 48%;}
    
    .menu_flex {width: 50%;}
    
    h1.aee_hero_intro_h1 {
    font-size: 5rem;
    line-height: 1.2;
    }
    
    .aee_contacts_block {padding: 15% 15%;}
    
    .aee_contacts_top {flex-direction: column; position: relative;}
    
    .aee_contacts_top_left, .aee_contacts_top_right  {width: 80%;}
    
    button.aee_close_contacts {position: absolute; right: 0;}
    
    .aee_contacts_bottom {flex-direction: column-reverse; align-items: flex-start;}
    
    .aee_contacts_bottom_right {width: 82%; margin: 0 5%;}
    
    .aee_contacts_bottom_left { width: 82%; padding-left: 0;}
    
    /****home page settings****/
    .ae_about_one {
    width: 25%;
    }
    
    .aee_about_second_block {
        display: flex;
        flex-direction: column;
        width: 75%;
    }

    .ae_about_two {
        width: 100%;
        font-size: 2.2rem;
        padding: 0;
        margin-top: 1%;
        letter-spacing: -1px;

    }

    .ae_about_three {
        width: 100%;
    }
    
    
    .aee_home_three_right {
        width: 92%;
        padding: 5% 5% 5% 0;
    }

    .ae_about_image {
        width: 60%;
    }
    
    
    /*****home publication section****/
    
    .aee_magazine_section {padding: 7% 2% 7%;}
    
    ul.aee_mag_issue_period_list> li {width: 33%;}
    
    .issue_bottom_block {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    
    .ae_pub_left {width: 40%;}
    .ae_pub_right {width: 60%;}
    .ae_publication_img {
        width: 25%;
        margin-left: 50%;
    }
    
    .issue_details {
    width: 50%;
    }
   
    .issue_info {
        font-size: 1.8rem;
    }
    
    .issue_ft_ele {
    width: 25%;
    }
    
    .issue_ft_ele:nth-child(1), .issue_ft_ele:nth-child(2) {
        margin-left: 25%;
    }
    
    .issue_ft_ele:nth-child(3), .issue_ft_ele:nth-child(4) {
        margin-right: 25%;
    }
    
    
    /*****home reources section****/
    .ae_stats_block {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ae_stats_left {
        width: 100%;
        margin-bottom: 8%;
    }
    
    .ae_s_title {
    font-size: 2.4rem;
    }
    
    .ae_stats_right {
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    
    .ae_stat_box {
        width: 31%;
        margin: 0 1% !important;
    }
    
    
    
    
    /****about page settings****/
    /****about page settings****/
    
    p.ae_about_hero_text {
        width: 35%;
    }
    
    h1.ae_about_hero_text {
        width: 65%;
    }
    
    .ae_about_small_box {
        margin-left: 82%;
    }
    
    .ae_about_info_block_left {
        width: 45%;
        margin-right: 5%;}
    
    .ae_about_info_block_right {
        width: 50%;
        margin: 0;
    }
    
    
    /****Publication page settings****/
    
    .ae_pub_left_h1 {font-size: 4.3rem;}
    
    
    /****reseources page settings****/
    
    .aee_resources_wide_block{flex-direction: column;}
    
    .aee_resources_left{
        width: 90%;
        border-bottom: 1px solid #1515151a;
        padding: 18% 0 4%;
        margin: 0 5%; background: none;
        flex-direction: column;
    }
    
    h1.aee_resources_h1 {margin: 2% 0 0;}
    
    p.aee_resources_p {width: 100%; font-weight: 500;}
    
    
    .aee_resources_right{width: 100%; padding: 4%;}
    
    .aee_resources_img, .aee_resources_img:nth-child(even), .aee_resources_img:nth-child(odd) {
        width: 31%;
        margin:3% 1%;
    }
    
    .middle-links {margin: 0 1%;}
    

}


@media screen and (max-width: 850px) {
    
    .aee_hero_intro {width: 100%;}
    
    .aee_hero_menu_container {width: 70%;}
    
    .aee_npub_top {flex-direction: column;}
    
    h2.aee_npubtop_intro_h2 {width: 79%;}
    
    .aee_magazine_section_block {flex-direction: column-reverse;}
    
    .aee_magazine_section_block_left {width: 100%;}
    
    .aee_magazine_section_block_right {display: none;}
    
    .aee_magazine_section_block_right_on_mobile {margin-left: 0%; width: 45%; display: block;}
    
    .middle-links {display: none;}
    
    .top-links {width: 100%;}
}

@media screen and (max-width: 767px) {
    
    .menu_flex {width: 60%;}
    
    .aee_hero_menu_container {width: 80%;}
    
    .aee_contacts_block {padding: 15% 10%;}
    
    .Pub_not_fixed {
    position: relative;
    }
    
    .about-section {
        flex-direction: column;
        padding: 8% 5%;
    }
    
    .aee_about_second_block {
        width: 99%;
    }
    
    .img_bf_pub_sec {
        height: 50vh;
    }
    
    .issue_details {
        width: 90%;
        margin-bottom: 6%;
    }
    
    .ae_publication_img {
        width: 50%;
        margin-left: 0%;
        margin-bottom: 3%;
    }
    
    .issue_ft_ele {
        width: 31%;
    }
    
    .issue_ft_ele:nth-child(1), .issue_ft_ele:nth-child(3) {
        margin-left: 1%;
        margin-right: 1%;
    }
    
    .issue_ft_ele:nth-child(2){
        margin-right: 1%;
        margin-left: 1%;
    }
    
    .issue_ft_ele:nth-child(4) {
        display: none;}
    
    .ae_s_title {
        font-size: 2rem;
    }
    
    html{font-size: 14px;}
    
    
     /****about page settings****/
    
    .ae_about_hero {flex-direction: column; padding-top:20%;}
    
    p.ae_about_hero_text {padding: 0;}
    
    h1.ae_about_hero_text {width: 100%;}
    
    .ae_about_info_block {flex-direction: column;}
    
    .ae_about_info_block_left {display: none;}
    
    .ae_about_info_block_right {width: 100%;}
    
    img.ae_aibr_img {width: 82%;}
    
    .ae_about_work_block {flex-direction: column;}
    
    .ae_about_work_block_left, .ae_about_work_block_right {width: 100%;}
    
    
    /****Publication page settings****/
    .ae_publication_page_block {
        flex-direction: column;
    }
    .ae_pub_left {width: 100%; padding-top:0;}
    
    img.aee-publication_icon {
    width: 12%;
    margin: 5% auto;
    }
    
    .ae_pub_right {width: 100%; padding-top: 7vh;}
    
    h2.aee_npubtop_intro_h2 {width: 100%;}
    
    
    .pd-top16 {padding-top: 10%;}
    
    
}

@media screen and (max-width: 659px) {
    
    .logo {width: 60%;}
    
    button.aee_open_contacts {width: 36%;}
    
    .aee_hero_menu_container {width: 90%;}
    
    h1.aee_hero_intro_h1 {font-size: 4.5rem;}
    
    .aee_npub_top {padding-bottom:5%;}
    
    p.aee_npubtop_intro_p {font-size: 1.7rem; margin-bottom: 3%;}
    
    h2.aee_npubtop_intro_h2 {font-size: 2.5rem;}
    
    .aee_mag_cover_link {
    width: 46%;
    margin: 2% 2%;
    }
    
    
    
}

@media screen and (max-width: 550px) {
    html{font-size: 12px;}
    
    button.aee_open_contacts {width: 41%;}
    
    
    .top-menu.nav-menu { width: 70vw; padding: 2% 5%;}
    
    .main-navigation ul {left: -70vw;}
    
    header .top-menu li {width: 57%;}
    
    .aee_hero_menu_container {display: none;}
    
    .aee_contacts_block {padding: 15% 5%;}
	
	.aee_hero_block_new {min-height: 70vh;}
	
	.aee_hero_intro {top: 22vh;}
    
    h1.ae_about_hero_text {font-size: 3rem; letter-spacing: -1px;}
    
    .ae_about_image {width: 90%;}
    
    h1.aee_resources_h1 {font-size: 1.7rem; width: 80%;}
    
    p.aee_resources_p {
    line-height: 1.6;
    font-size: 1.7rem;
    letter-spacing: -0.7px;
    font-weight: 500;
    }
    
    .aee_resources_img, .aee_resources_img:nth-child(even), .aee_resources_img:nth-child(odd) {
        width: 41%;
        margin: 8% 2%;
    }
    
    .footer-menu {flex-wrap: wrap;}
    
    .footer-menu li {width: 45%;}
    
    .abi_physical_address, .abi_physical_address_left {width: 100%;}
    
    .abi_physical_address_left> div> h4 {margin-bottom: 6%;}
}

@media screen and (max-width: 450px) {
	
	header .container {align-items: flex-start; flex-direction: column;}
	.logo {width: 100%;    margin-bottom: 2%;}
	.menu_flex {
		width: 100%;
    	justify-content: flex-end;
    	align-items: flex-end;
	}
    button.menu-toggle {height: 37px;}
	
	.ae_about_hero {padding-top: 41%;}
	
	.aee_npub_top {padding-top: 50%;}
	
	 .aee_resources_left {padding-top: 48%;}
}
