/*
Theme Name: MailieEcritV2
Author: Nao Bellavia
Description: Theme for Mailie Ecrit website
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
Text Domain: mailie-ecrit-theme-v2
*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* ===== VARIABLES ===== */
/* Colors */
/* Typography */
@import url("https://fonts.googleapis.com/css2?family=Lora&family=Montserrat:ital,wght@0,400;0,600;1,400&display=swap");
/* ===== MIXINS ===== */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%; }

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0; }

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em; }

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none; }

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0; }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal; }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0; }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px; }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit; }

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }

body {
  /* Text */
  font-family: Montserrat, Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  letter-spacing: 0.075em;
  /* Background */
  background-color: #F6E1CF; }

.bottom-container {
  /* Box */
  display: flex;
  /* Flex */
  justify-content: center;
  flex-flow: column;
  align-items: center; }

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit; }

html {
  box-sizing: border-box; }

/* Breakpoints */
:root {
  --content_width: 800px;
  --page_width: 680px; }

@media screen and (max-width: 875px) {
  :root {
    --content_width: 600px;
    --page_width: 580px; } }

@media screen and (max-width: 720px) {
  :root {
    --content_width: 500px;
    --page_width: auto; } }

@media screen and (max-width: 640px) {
  :root {
    --content_width: auto; } }

/*--------------------------------------------------------------
# Partials
--------------------------------------------------------------*/
.site-header {
  /* Background */
  background-color: #3F2021;
  /* Text */
  color: whitesmoke;
  font-size: 12px; }
  .site-header .site-branding .site-title {
    /* Box */
    margin-left: 48px;
    margin-top: 0;
    padding-top: 2em; }
    .site-header .site-branding .site-title .first-line {
      /* Box */
      display: block;
      /* Text */
      font-weight: 600;
      font-size: 2em; }
    .site-header .site-branding .site-title .second-line {
      /* Box */
      display: block;
      margin-top: 0.4em;
      margin-left: 3.8em;
      /* Text */
      font-weight: 300;
      font-size: 1.8em; }
    @media screen and (max-width: 720px) {
      .site-header .site-branding .site-title {
        margin-left: 24px;
        padding-top: 1em; }
        .site-header .site-branding .site-title .first-line {
          font-size: 1em; }
        .site-header .site-branding .site-title .second-line {
          font-size: 0.9em; } }
  .site-header .site-navigation {
    /* Box */
    display: flex;
    /* Flex */
    justify-content: end;
    /* Text */
    font-size: 1.3em; }
    @media screen and (max-width: 875px) {
      .site-header .site-navigation {
        justify-content: space-evenly; } }
    .site-header .site-navigation .menu {
      /* Box */
      display: flex;
      margin-bottom: 0;
      padding-left: 0;
      /* Flex */
      flex-flow: row;
      /* List */
      list-style: none; }
      @media screen and (max-width: 640px) {
        .site-header .site-navigation .menu {
          flex-flow: column; } }
      .site-header .site-navigation .menu .menu-item {
        /* Box */
        margin: 0 10px;
        /* Background */
        background-color: #3F2021;
        /* Text */
        color: whitesmoke; }
        .site-header .site-navigation .menu .menu-item a {
          /* Box */
          display: block;
          padding: 1em 2em;
          margin-bottom: 8px;
          min-width: 100px;
          /* Flex */
          flex: 1 1 0px;
          /* Text */
          text-align: center; }
        .site-header .site-navigation .menu .menu-item:hover > a,
        .site-header .site-navigation .menu .menu-item.focus > a,
        .site-header .site-navigation .menu .menu-item.current-menu-ancestor > a {
          /* Box */
          margin-bottom: 1px; }
          .site-header .site-navigation .menu .menu-item:hover > a::after,
          .site-header .site-navigation .menu .menu-item.focus > a::after,
          .site-header .site-navigation .menu .menu-item.current-menu-ancestor > a::after {
            content: '';
            /* Box */
            display: block;
            margin-top: 5px;
            height: 2px;
            width: 100%;
            /* Background */
            background-color: whitesmoke; }
        .site-header .site-navigation .menu .menu-item.current-menu-item {
          /* Background */
          background-color: #F6E1CF;
          /* Text */
          color: #3F2021; }
          .site-header .site-navigation .menu .menu-item.current-menu-item a {
            /* Box */
            margin-bottom: 1px; }
            .site-header .site-navigation .menu .menu-item.current-menu-item a::after {
              content: '';
              /* Box */
              display: block;
              margin-top: 5px;
              height: 2px;
              width: 100%;
              /* Background */
              background-color: #3F2021; }
        .site-header .site-navigation .menu .menu-item .sub-menu {
          /* Position */
          position: absolute;
          /* Box */
          display: none;
          padding-left: 0;
          /* Flex */
          flex-flow: column;
          align-items: stretch;
          /* List */
          list-style: none;
          /* Misc */
          box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); }
          .site-header .site-navigation .menu .menu-item .sub-menu .menu-item {
            /* Box */
            margin: 0; }
        .site-header .site-navigation .menu .menu-item:hover > .sub-menu,
        .site-header .site-navigation .menu .menu-item.focus > .sub-menu {
          /* Box */
          display: flex; }
  .site-header a {
    /* Text */
    color: inherit;
    text-decoration: inherit; }

.site-main {
  /* Box */
  padding: 20px;
  padding-bottom: 100px;
  /* Background */
  background-color: #F6E1CF; }

.site-footer {
  /* Box */
  min-height: 200px;
  display: flex;
  padding: 40px 80px;
  /* Flex */
  flex-flow: row;
  justify-content: space-evenly;
  align-items: start;
  /* Shadow */
  box-shadow: inset 0px 5px 5px 0 rgba(0, 0, 0, 0.8);
  /* Background */
  background-color: #261507; }
  @media screen and (max-width: 640px) {
    .site-footer {
      flex-flow: column-reverse; } }
  .site-footer .footer-column {
    /* Box */
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    /* Flex */
    flex: 1; }
    .site-footer .footer-column .footer-column__title {
      margin: 0;
      margin-bottom: 1rem;
      color: whitesmoke;
      font-size: 1.2em; }
    .site-footer .footer-column .footer-column__section {
      /* Box */
      margin-bottom: 1em; }
  .site-footer a {
    color: whitesmoke;
    text-decoration: none; }
    .site-footer a:hover {
      text-decoration: underline; }
  .site-footer .footer-social-link {
    display: flex;
    align-items: center; }
    .site-footer .footer-social-link .footer-social-icon {
      height: 30px;
      margin-right: 5px; }

.big-button {
  /* Box */
  margin: auto;
  padding: 1em 2em;
  background-color: #3F2021;
  /* Text */
  color: whitesmoke;
  font-size: 1.1em;
  text-decoration: none;
  /* Transition */
  transition: all 0.2s ease-in-out; }
  .big-button:hover {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5); }

.posts-pagination .page-numbers {
  /* Box */
  display: inline-block;
  width: 2.2em;
  height: 2.2em;
  margin: 0 0.25em;
  /* Text */
  text-align: center;
  line-height: 2.2em;
  font-size: 1.1em;
  color: #3F2021;
  text-decoration: none;
  /* Border */
  border: 2px solid #3F2021;
  border-radius: 50%;
  /* Transition */
  transition: all 0.2s ease-in-out; }
  .posts-pagination .page-numbers.prev, .posts-pagination .page-numbers.next, .posts-pagination .page-numbers.dots {
    /* Box */
    width: auto;
    font-size: 1.5em;
    /* Border */
    border: none; }
    .posts-pagination .page-numbers.prev:not(.dots):hover, .posts-pagination .page-numbers.next:not(.dots):hover, .posts-pagination .page-numbers.dots:not(.dots):hover {
      background-color: initial;
      color: initial;
      transform: scale(1.1); }
  .posts-pagination .page-numbers:not(.dots):hover, .posts-pagination .page-numbers.current {
    /* Background */
    background-color: #3F2021;
    /* Text */
    color: whitesmoke; }

/*--------------------------------------------------------------
# Template Parts
--------------------------------------------------------------*/
.page-header {
  /* Box */
  margin-left: 3em; }
  .page-header .page-title {
    /* Text */
    font-size: 3em;
    font-weight: 400;
    font-family: Lora, Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    letter-spacing: 0.1ex; }

article.small-post {
  /* Box */
  display: flex;
  width: var(--content_width);
  margin: auto;
  margin-bottom: 4em;
  padding: 1.5em;
  padding-bottom: 0.8em;
  /* Flex */
  flex-flow: row;
  align-items: stretch;
  /* Border */ }
  article.small-post {
    position: relative; }
  article.small-post:before, article.small-post:after, article.small-post > :first-child:before, article.small-post > :first-child:after {
    position: absolute;
    width: 120px;
    height: 120px;
    border-color: #3F2021;
    border-style: solid;
    content: ' '; }
  article.small-post:before {
    top: 0;
    left: 0;
    border-width: 6px 0 0 6px; }
  article.small-post:after {
    top: 0;
    right: 0;
    border-width: 0 0 0 0; }
  article.small-post > :first-child:before {
    bottom: 0;
    right: 0;
    border-width: 0 6px 6px 0; }
  article.small-post > :first-child:after {
    bottom: 0;
    left: 0;
    border-width: 0 0 0 0; }
  @media screen and (max-width: 720px) {
    article.small-post {
      flex-flow: column; } }
  article.small-post.small-post-excerpt .thumbnail-container {
    /* Box */
    min-width: 200px;
    /* Flex */
    flex: 1; }
    article.small-post.small-post-excerpt .thumbnail-container a, article.small-post.small-post-excerpt .thumbnail-container img {
      /* Box */
      width: 100%;
      height: 100%;
      object-fit: cover;
      border: 1px solid #3F2021; }
    @media screen and (max-width: 720px) {
      article.small-post.small-post-excerpt .thumbnail-container {
        min-width: none;
        max-height: 300px;
        margin-bottom: 10px; }
        article.small-post.small-post-excerpt .thumbnail-container a, article.small-post.small-post-excerpt .thumbnail-container img {
          max-height: 300px;
          display: block; } }
  article.small-post.small-post-full .thumbnail-container {
    /* Box */
    float: left;
    min-width: 200px;
    max-width: 45%;
    margin: 0 1.5em 0.5em 0; }
    article.small-post.small-post-full .thumbnail-container a, article.small-post.small-post-full .thumbnail-container img {
      /* Box */
      width: 100%;
      height: 100%;
      object-fit: cover;
      border: 1px solid #3F2021; }
    @media screen and (max-width: 720px) {
      article.small-post.small-post-full .thumbnail-container {
        float: none;
        min-width: none;
        margin: 0;
        max-height: 300px;
        max-width: none;
        margin-bottom: 10px; }
        article.small-post.small-post-full .thumbnail-container a, article.small-post.small-post-full .thumbnail-container img {
          max-height: 300px;
          display: block; } }
  article.small-post .content-container {
    /* Box */
    margin-left: 1em; }
    article.small-post .content-container .entry-header .entry-details {
      /* Text */
      font-size: 0.8em;
      text-align: center; }
      article.small-post .content-container .entry-header .entry-details .cat-links a {
        /* Text */
        color: inherit;
        text-decoration: inherit; }
    article.small-post .content-container .entry-header .entry-title {
      /* Box */
      margin: 0;
      /* Text */
      text-align: center;
      font-weight: normal;
      line-height: 150%; }
      article.small-post .content-container .entry-header .entry-title a {
        /* Text */
        font-size: 1.5em;
        text-decoration: none;
        color: #3F2021; }
        article.small-post .content-container .entry-header .entry-title a:hover {
          text-decoration: underline; }
    article.small-post .content-container .entry-content {
      /* Text */
      font-size: 1.1em;
      line-height: 150%;
      text-align: justify; }
      article.small-post .content-container .entry-content p {
        margin-top: 0.5em;
        margin-bottom: 0.5em; }
  article.small-post.small-post-full .content-container {
    /* Box */
    margin-left: 0; }
    @media screen and (max-width: 720px) {
      article.small-post.small-post-full .content-container .entry-content {
        display: flex;
        flex-flow: column; } }
  article.small-post .moretag {
    /* Text */
    color: #3F2021;
    font-weight: bold;
    text-decoration: none; }
    article.small-post .moretag:hover {
      text-decoration: underline; }

article.full-post .entry-header {
  /* Box */
  margin-left: 3em; }
  article.full-post .entry-header .entry-title {
    /* Text */
    font-size: 3em;
    font-weight: 400;
    font-family: Lora, Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    letter-spacing: 0.1ex; }

article.full-post .entry-content {
  /* Box */
  width: var(--page_width);
  margin: auto;
  /* Text */
  font-size: 1.1em;
  line-height: 150%;
  font-family: Montserrat, Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  text-align: justify; }
  @media screen and (max-width: 720px) {
    article.full-post .entry-content {
      width: auto;
      margin: 5%; } }

article.full-post .wp-block-image img {
  border: 2px solid #3F2021;
  margin: 2em auto; }

article.full-post .post-thumbnail img {
  max-width: 200px; }

article.full-post .entry-meta {
  text-align: right; }

article.full-post .author {
  font-style: italic;
  color: inherit;
  text-decoration: inherit; }

article.full-post .entry-footer {
  margin-top: 5em;
  font-size: 0.8em; }

article.full-post .posted-on a, article.full-post .cat-links a, article.full-post .tags-links a {
  /* Text */
  color: inherit;
  text-decoration: inherit; }

article.full-post .cat-links a {
  font-weight: bold; }

article.full-post .tags-links a {
  /* Text */
  font-size: 1.05em;
  font-family: monospace;
  display: inline-block;
  padding: 0.25em 0.8em;
  margin-top: 0.5em;
  margin-right: 0.5em;
  border-radius: 5px;
  background-color: #e9c7a9; }
  article.full-post .tags-links a:hover {
    text-decoration: underline; }
  article.full-post .tags-links a::before {
    content: '#'; }

.full-page {
  /* Box */
  width: var(--content_width);
  margin: auto;
  /* Text */
  font-size: 1.1em;
  line-height: 150%;
  font-family: Montserrat, Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  text-align: justify; }
  @media screen and (max-width: 720px) {
    .full-page {
      width: auto;
      margin: 5%; } }

.contact-form {
  /* Box */
  width: var(--content_width);
  padding: 20px;
  /* Border */
  border: 2px solid #3F2021; }
  .contact-form p {
    margin: 0 !important; }
  .contact-form .contact-form__title {
    /* Text */
    font-size: 1.1em; }
  .contact-form .contact-form__content {
    /* Box */
    padding: 20px 50px 0 50px; }
    @media screen and (max-width: 720px) {
      .contact-form .contact-form__content {
        padding: 15px 25px 0 25px; } }
  .contact-form .contact-form__content-row {
    /* Box */
    display: flex;
    /* Flex */
    justify-content: space-between; }
    @media screen and (max-width: 720px) {
      .contact-form .contact-form__content-row {
        flex-flow: column; } }
  .contact-form .contact-form__content__field {
    /* Box */
    margin-bottom: 20px;
    flex: 1; }
    .contact-form .contact-form__content__field:not(:first-of-type) {
      /* Box */
      margin-left: 20px; }
      @media screen and (max-width: 720px) {
        .contact-form .contact-form__content__field:not(:first-of-type) {
          margin-left: 0; } }
    .contact-form .contact-form__content__field input {
      /* Box */
      min-width: 20ch;
      width: 100%;
      padding: 0.5em 0.5em; }
    .contact-form .contact-form__content__field textarea {
      /* Box */
      padding: 0.5em 0.5em;
      width: 100%;
      resize: vertical;
      min-height: 10ch; }
  .contact-form .contact-form__footer {
    /* Box */
    padding: 0 50px;
    display: flex;
    /* Flex */
    justify-content: end; }
  .contact-form .contact-form__submit {
    /* Box */
    float: left;
    padding: 0.8em 1.7em;
    background-color: #3F2021;
    /* Text */
    color: whitesmoke;
    text-decoration: none;
    /* Borders */
    border: none;
    /* Transition */
    transition: all 0.2s ease-in-out; }
    .contact-form .contact-form__submit:hover {
      box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3); }
  .contact-form form.submitting .wpcf7-spinner {
    display: inline-block; }
  .contact-form .wpcf7-spinner {
    display: none; }

.children-container {
  /* Box */
  display: grid;
  /* Grid */
  grid-template-columns: 1fr 1fr;
  gap: 20px; }
  @media screen and (max-width: 640px) {
    .children-container {
      display: flex;
      flex-flow: column; } }

.child-page {
  /* Box */
  position: relative;
  aspect-ratio: 1; }
  .child-page .child-title {
    /* Box */
    position: absolute;
    display: flex;
    bottom: 0;
    width: 100%;
    height: 30%;
    /* Flex */
    flex-flow: column;
    justify-content: center;
    /* Text */
    text-align: center;
    color: whitesmoke;
    font-size: 1.7em;
    /* Background */
    background-color: rgba(63, 32, 33, 0.8);
    /* Transition */
    transition: height 0.2s ease-in-out; }
    @media screen and (max-width: 640px) {
      .child-page .child-title {
        font-size: 1.1em; } }
  .child-page:hover .child-title {
    /* Box */
    height: 50%; }
  .child-page .child-image {
    /* Box */
    height: 100%;
    width: 100%; }
    .child-page .child-image img {
      /* Box */
      width: 100%;
      height: 100%;
      object-fit: cover; }
