/*
Theme Name: Miriam Fayad Blog
Author: Ali Alaa El Dine
Version: 1.0.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


@font-face {
	font-family: 'ProximaNova';
	src: url('assets/fonts/ProximaNovaA-Regular.eot');
	src: url('assets/fonts/ProximaNovaA-Regular.eot?#iefix') format('embedded-opentype'),
		url('assets/fonts/ProximaNovaA-Regular.woff2') format('woff2'),
		url('assets/fonts/ProximaNovaA-Regular.woff') format('woff'),
		url('assets/fonts/ProximaNovaA-Regular.ttf') format('truetype'),
		url('assets/fonts/ProximaNovaA-Regular.svg#ProximaNovaA-Regular') format('svg');
	font-weight: 400;
	font-stretch: normal;
	font-style: normal;
}

* {
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
	box-sizing: border-box !important;
}

:root {
	/*--main-pad-horiz: 120px;
  --blks-pad-horiz: 30px;
  --blks-margin-fix: -30px;*/
}

/*html{
  scroll-behavior: smooth;
}*/

body {
	padding: 0;
	margin: 0;
	font-size: 16px;
	line-height: 22px;
	color: #282828;
	font-family: "ProximaNova", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	background-color: #ffffff;
}

p {
	margin: 0;
}

a,
input,
button,
textarea {
	outline: none !important;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 400;
}

.mobile-only {
	display: none;
}

a,
input,
textarea,
button {
	outline: none !important;
}

.first-sec .sec-wrap {
  padding-top: 155px;
	transition: all 300ms ease;
}

.scrolling .first-sec .sec-wrap{
	padding-top: 110px;
}

.pad-horiz {
	padding: 0 30px;
}

.pad-vertical {
	padding: 45px 0;
}

.no-pad-bottom {
	padding-bottom: 0 !important;
}

.no-pad-top {
	padding-top: 0 !important;
}

.extra-pad-top{
	padding-top: 90px !important;
}

.extra-pad-bottom{
	padding-bottom: 90px !important;
}

.maxed-container {
	max-width: 1366px;
}

.centered-container {
	margin: 0 auto;
}

.centered-content {
	text-align: center;
}

.miriam-fayad-logo{
	padding: 16px 0;
	top: 0;
	position: relative;
	transition: all 400ms ease;
	z-index: 1;
}

.scrolling .miriam-fayad-logo{
	padding: 3px 0 6px;
}

.hide-header .miriam-fayad-logo{
	margin-top: -59px;
}

.miriam-fayad-logo a{
	display: inline-block;
	text-decoration: none;
	color: #000;
	height: 65px;
	width: auto;
	transition: all 400ms ease;
}

.scrolling .miriam-fayad-logo a {
	height: 45px;
}

.miriam-fayad-logo a svg{
	height: 100%;
	width: auto;
	display: block;
}

.mf-menu {
    width: 100%;
}

.mf-menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0;
    padding: 0;
    list-style: none;
}

.mf-menu ul li {
    margin: 0;
    padding: 0;
		text-align: center;
}

.mf-menu ul li a {
    display: inline-block;

    font-size: 16px;
		line-height: 16px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;

    letter-spacing: 4px;
    white-space: nowrap;
		position: relative;
		transition: all 300ms ease;
}

.mf-menu ul li a:after{
	height: 1px;
	content: "";
	width: 0;
	background-color: #000;
	position: absolute;
	bottom: -5px;
	left: 0;
	transition: all 300ms ease;
}

.mf-menu ul li a:hover:after,
.mf-menu ul li a.active:after{
	width: 100%;
}

.miriam-fayad-header {
  /* border: 7px solid #d2a37d; */
	position: fixed;
	width: 100%;
	height: auto;
	background-color: #fff;
	top: 0;
	left: 0;
	z-index: 30;
	transition: all 400ms ease;
}

/* .scrolling .miriam-fayad-header{
	border: 5px solid #d2a37d;
} */

.miriam-fayad-header .header-wrapper {
	transition: all 300ms ease;
	overflow: hidden;
}

/* .scrolling .miriam-fayad-header .header-wrapper {
	padding: 20px 0;
} */

.miriam-fayad-hblk.miriam-fayad-menu {
  padding: 15px 0;
  background-color: #fff;
  position: relative;
  z-index: 2;
	transition: padding 400ms ease;
}

.scrolling .miriam-fayad-hblk.miriam-fayad-menu{
	padding: 10px 0;
}

.article-banner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-banner.with-image {
  aspect-ratio: 16/8;
}

.article-banner.with-color {
  aspect-ratio: 16/6;
}

.article-banner .article-title-overlay {
  display: flex;
  width: 100%;
  height: 100%;
	align-items: center;
	justify-content: center;
	padding: 9vh 0;
}

.article-title.en h1{
	font-family: "Baskervville", serif;
	font-weight: 700;
	font-style: italic;
	font-size: 34px;
	line-height: 34px;
}

.article-title.ar h1{
	font-family: "Amiri", serif;
	font-weight: 700;
	font-size: 44px;
	line-height: 48px;
}

.miriam-fayad-body-text p{
	padding: 0 0 20px;
}

.miriam-fayad-body-text p:last-child{
	padding: 0;
}

.article-footer-flex {
  display: flex;
  align-items: center;
	gap: 40px;
}

.article-footer-flex .miriam-fayad-sec-label h3{
	font-family: "Baskervville", serif;
	font-weight: 700;
	font-size: 15px;
}

.article-footer-flex .article-footer-blk.tags-blk{
	flex: 1;
}

.article-footer-flex-wrap{
	border-top: 1px solid #d2a37d;
	border-bottom: 1px solid #d2a37d;
	padding: 15px 0;
}

.article-footer-flex .article-footer-blk .article-tags-flex .article-tags-blk,
.article-footer-flex .article-footer-blk .article-share-flex{
	display: flex;
	align-items: center;
	gap: 10px;
}

.article-tags-blk .miriam-fayad-btn{
	border: 1px solid #000;
	padding: 3px 6px;
	border-radius: 4px;
	color: #000;
	font-size: 14px;
	line-height: 18px;
}

.article-footer-blk.share-blk .heateor_sss_sharing_container a {
  margin-left: 5px;
}

.article-footer-blk.share-blk .heateor_sss_sharing_container a span {
  background-color: transparent !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.article-footer-blk.share-blk .heateor_sss_sharing_container a span svg {
  max-width: 20px !important;
  max-height: 20px !important;
}

.article-footer-blk.share-blk .heateor_sss_sharing_container a span svg path{
	fill: #000;
	transition: all 300ms ease;
}

.article-footer-blk.share-blk .heateor_sss_sharing_container a:hover span svg path{
	fill: #d2a37d;
}

.article-footer-blk.share-blk .heateor_sss_sharing_container a.heateor_sss_whatsapp span svg path {
  stroke: #000;
	transition: all 300ms ease;
}

.article-footer-blk.share-blk .heateor_sss_sharing_container a.heateor_sss_whatsapp:hover span svg path {
  stroke: #d2a37d;
}

.articles-list .articles-list-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.articles-list .article-blk{
	width: calc(33.333333333% - 7px);
}

.articles-list .article-blk .article-cont {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.articles-list .article-blk .article-title-wrap {
  padding: 15px;
}

.articles-list .article-blk .article-title-wrap .article-title.en h2{
	font-family: "Baskervville", serif;
	font-weight: 700;
	font-style: italic;
	font-size: 21px;
	line-height: 21px;
}

.articles-list .article-blk .article-title-wrap .article-title.ar h2{
	font-family: "Amiri", serif;
	font-weight: 700;
	font-size: 23px;
	line-height: 25px;
}

.miriam-fayad-fblk.social-channnels .social-channels-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

.miriam-fayad-fblk.social-channnels .social-channels-menu .mf-fsm a{
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
	transition: all 300ms ease;
	position: relative;
	font-size: 18px;
	line-height: 18px;
	letter-spacing: 0.5px;
}

.miriam-fayad-fblk.social-channnels .social-channels-menu .mf-fsm a:after{
	height: 1px;
	content: "";
	width: 0;
	background-color: #000;
	position: absolute;
	bottom: -5px;
	left: 0;
	transition: all 300ms ease;
}

.miriam-fayad-fblk.social-channnels .social-channels-menu .mf-fsm a:hover:after{
	width: 100%;
}

.miriam-fayad-footer .footer-wrapper {
  padding: 30px 0;
}

.article-blk .article-blk-wrap{
	position: relative;
	z-index: 1;
	transition: all 300ms ease;
}

.atricle-link-overlay{
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

.article-blk .article-blk-wrap:hover{
	opacity: 0.8;
}

.super-featured-article .article-title-txts{
	padding-top: 40px;
}

.sarticle-summary{
	padding-top: 30px;
}

.sarticle-summary .exp-body{
	max-width: 800px;
	margin: 0 auto;
}

.cinf-attrs .cinf-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.cinf-attrs .cinf-flex .c-inf{
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cinf-attrs .cinf-flex .c-inf .cinf-wrap{
	padding: 40px 0;
}

.cinf-attrs .cinf-flex .c-inf .cinf-lbl {
  font-family: "Baskervville", serif;
  font-weight: 700;
  font-size: 24px;
  line-height: normal;
  font-style: italic;
}

.cinf-attrs .cinf-flex .c-inf .cinf-val{
	padding: 15px 0 0;
}

.cinf-attrs .cinf-flex .c-inf .cinf-val a{
	font-size: 18px;
	line-height: normal;
	text-decoration: none;
	color: #000;
	position: relative;
}

.cinf-attrs .cinf-flex .c-inf .cinf-val a:after{
	height: 1px;
	content: "";
	width: 0;
	background-color: #000;
	position: absolute;
	bottom: -5px;
	left: 0;
	transition: all 300ms ease;
}

.cinf-attrs .cinf-flex .c-inf .cinf-val a:hover:after{
	width: 100%;
}

.cinf-attrs{
	max-width: 1024px;
	margin: 0 auto;
}

.c-intro {
  padding: 0 0 40px;
}

.c-intro .cintro-txt{
	font-size: 20px;
	line-height: 27px;
	max-width: 700px;
	margin: 0 auto;
}

.writer-attributes-list {
  font-size: 0;
	padding: 20px 0 0;
}

.writer-attributes-list .writer-attribute{
	display: inline-block;
	vertical-align: middle;
	position: relative;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 18px;
	letter-spacing: 4px;
}

.writer-attributes-list .writer-attribute:after{
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #000;
	display: inline-block;
	vertical-align: middle;
	margin: -2px 15px 0;
}

.writer-attributes-list .writer-attribute:last-child:after{
	display: none;
}

.abt-manifesto-body{
	max-width: 1024px;
	margin: 0 auto;
}

/*
.about-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  background: none;
}

.story-image {
  height: 40vh;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.story-image:only-child {
  grid-column: span 3;
}


.story-image:first-child:nth-last-child(2) {
  grid-column: span 2;
}

.story-image:first-child:nth-last-child(2) + .story-image {
  grid-column: span 1;
}


.story-image:first-child:nth-last-child(3) {
  grid-column: span 2;
}

.story-image:first-child:nth-last-child(3) + .story-image {
  grid-column: span 1;
}

.story-image:first-child:nth-last-child(3) + .story-image + .story-image {
  grid-column: span 3;
}


.story-image:first-child:nth-last-child(4) {
  grid-column: span 2;
}

.story-image:first-child:nth-last-child(4) + .story-image {
  grid-column: span 1;
}

.story-image:first-child:nth-last-child(4) + .story-image + .story-image {
  grid-column: span 1;
}

.story-image:first-child:nth-last-child(4) + .story-image + .story-image + .story-image {
  grid-column: span 2;
}


@media (max-width: 768px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .story-image {
    grid-column: span 1 !important;
    height: 40vh;
  }
}
*/

.about-story-grid {
  display: grid;

  /* 60 / 40 split */
  grid-template-columns: 3fr 1fr 3fr;

  gap: 0;
  padding: 0;
  background: none;
}

.story-image {
  height: 40vh;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 1 image */
.story-image:only-child {
  grid-column: span 3;
}

/* 2 images */
.story-image:first-child:nth-last-child(2) {
  grid-column: span 2;
}

.story-image:first-child:nth-last-child(2) + .story-image {
  grid-column: span 1;
}

/* 3 images */
.story-image:first-child:nth-last-child(3) {
  grid-column: span 2;
}

.story-image:first-child:nth-last-child(3) + .story-image {
  grid-column: span 1;
}

.story-image:first-child:nth-last-child(3)
+ .story-image
+ .story-image {
  grid-column: span 3;
}

/* 4 images */
.story-image:first-child:nth-last-child(4) {
  grid-column: span 2;
}

.story-image:first-child:nth-last-child(4)
+ .story-image {
  grid-column: span 1;
}

.story-image:first-child:nth-last-child(4)
+ .story-image
+ .story-image {
  grid-column: span 1;
}

.story-image:first-child:nth-last-child(4)
+ .story-image
+ .story-image
+ .story-image {
  grid-column: span 2;
}

/* Mobile */
@media (max-width:640px){
	.story-image{
		height: 25vh;
	}
}

/* @media (max-width:560px){

  .about-story-grid{
    grid-template-columns:1fr;
  }

  .story-image{
    grid-column:span 1 !important;
    height:40vh;
  }

} */

.blog-categories .blog-categories-flex{
	display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-categories .blog-categories-flex .blog-categ{
	flex: 1;
}

.blog-categories .blog-categories-flex .blog-categ .categ-title-wrap{
	padding: 40px 10px;
}

.blog-categories .blog-categories-flex .blog-categ .categ-name{
  font-family: "Baskervville", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 23px;
  line-height: 23px;
}

.blog-categories .blog-categories-flex .blog-categ .categ-name-ar{
	font-family: "Amiri", serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 28px;
}

.blog-categories .blog-categories-flex .blog-categ .blog-categ-flex{
	height: 30vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.blog-categories .blog-categories-flex .blog-categ .blog-categ-wrap{
	position: relative;
	transition: all 300ms ease;
}

.blog-categories .blog-categories-flex .blog-categ .blog-categ-wrap:hover{
	opacity: 0.8;
}

.miriam-fayad-sec.abt-connect .personal-image img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: center center;
}

.miriam-fayad-sec.abt-connect .personal-image{
	padding: 0 0 40px;
}

.connect-wrapper {
  max-width: 768px;
  margin: 0 auto;
}

.connect-wrapper .connect-text {
  font-size: 20px;
  line-height: 26px;
	padding: 0 0 30px;
}

.mfd-btn{
	background-color: #CAF420;
  font-size: 26px;
  display: inline-block;
  color: #000;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 300ms ease;
  font-family: "Baskervville", serif;
  font-style: italic;
  font-weight: 700;
	text-transform: lowercase;
	padding: 5px 3px;
}

.mfd-btn:hover{
	background-color: #000;
	color: #CAF420;
}

.super-featured-article .article-banner.with-image {
  aspect-ratio: 16/6;
}

.sfeature-button{
	padding: 30px 0 0;
}

.mdf-post-body{
	max-width: 800px;
	margin: 0 auto;
}

.wp-block-embed.is-type-video iframe {
  width: 100%;
  display: block;
  height: 100%;
  aspect-ratio: 16/8;
}

.miriam-fayad-body-text > figure {
  margin: 0;
  padding: 0 0 20px;
}

.miriam-fayad-body-text > figure:last-child{
	padding: 0;
}

.articles-list .article-blk .article-title-wrap .article-categ {
  padding: 7px 0 0;
	text-transform: uppercase;
	font-size: 14px;
}

.articles-list .article-blk .article-date {
  position: absolute;
  bottom: 18px;
  text-align: center;
  font-size: 13px;
	text-transform: uppercase;
}

.page-title-overlay {
  padding: 30px 0 40px;
}

.categ-title-overlay {
  padding: 45px 0 50px;
}

header.miriam-fayad-header .mobile_menu_cta {
	cursor: pointer;
	height: 22px;
	text-decoration: none;
	width: 22px;
	z-index: 22;
	position: absolute;
	display: block;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	transition: 300ms ease-in-out;
	display: none;
}

/*header.miriam-fayad-header .mobile_menu_cta.open{
	right:10px;
}*/

header.miriam-fayad-header .mobile_menu_cta span {
	background: #3C3232;
	border-radius: 0;
	display: block;
	height: 1.5px;
	left: 0;
	opacity: 1;
	position: absolute;
	width: 100%;

	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);

	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-ms-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

header.miriam-fayad-header .mobile_menu_cta span:nth-child(1) {
	top: 4px;
}

header.miriam-fayad-header .mobile_menu_cta span:nth-child(2),
header.miriam-fayad-header .mobile_menu_cta span:nth-child(3) {
	top: 10px;
}

header.miriam-fayad-header .mobile_menu_cta span:nth-child(4) {
	top: 16px;
}

header.miriam-fayad-header .mobile_menu_cta.open span:nth-child(1) {
	top: 11px;
	width: 0%;
	left: 50%;
}

header.miriam-fayad-header .mobile_menu_cta.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

header.miriam-fayad-header .mobile_menu_cta.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

header.miriam-fayad-header .mobile_menu_cta.open span:nth-child(4) {
	top: 11px;
	width: 0%;
	left: 50%;
}

.miriam-fayad-header .menu-logo-wrap {
  position: relative;
}

.contact-banner {
	padding: 30px 0 0;
}

.contact-banner.after-intro{
	padding: 0;
}

.contact-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5;
  object-fit: cover;
  object-position: center center;
}