/*
  Theme Name: Volume MTL 2026
  Theme URI: https://www.volumemtl.art
  Version: 9.0 / 2026

  Colors
  ------
  #46573b   body
  #e5cfbe   background

  Webfonts
  --------
  Antonia Variable    'antonia-variable'

*/

/* ====================================================================
   Global
   ==================================================================== */

/* -------------------[ Layout ]------------------- */

body,
#header {
  background-color: #e5cfbe;
}

/* -------------------[ Type ]------------------- */

body,
html {
  color: #46573b;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

a:link,
a:visited,
a:active {
  color: #46573b;
  padding-bottom: 1px;
  border-bottom: 1px solid #46573b;
  text-decoration: none;
}

a:focus {
  outline: 0 !important;
}

a:focus-visible {
  outline: 2px solid #ff5100 !important;
  outline-offset: 3px;
}

a:hover {
  color: #46573b;
}

p,
.p {
  text-align: justify;
}

@media only screen and (max-width: 768px) {
  p,
  .p {
    text-align: inherit;
  }
}

h1,
h2,
h4,
h3,
h5,
h6 {
  margin: 0 0 15px 0;
  font-weight: 400;
}

h1 {
  width: 100%;
  font-size: 32px;
  line-height: 32px;
}

h2 {
  width: 100%;
  font-size: 52px;
  line-height: 52px;
}

h3,
h4 {
  font-size: 18px;
  line-height: 24px;
}

h5,
h6 {
  font-size: 17px;
  line-height: 21px;
}

@media only screen and (max-width: 768px) {
  h1,
  h2 {
    font-size: 20px;
    line-height: 26px;
  }
}

span.parenthesis::before {
  content: "(";
}

span.parenthesis::after {
  content: ")";
}

/* -------------------[ Breakin' ]------------------- */

hr {
  clear: both;
  width: 100%;
  height: 0px;
  margin: 15px 0;
  padding: 0 0 1px 0;
  border: 0;
  border-top: 1px solid #ff5100;
}

/* -------------------[ Images ]------------------- */

#content img,
#content img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.wp-caption {
  width: 100% !important;
}

/* -------------------[ Header ]------------------- */

#header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  height: auto;
}

.admin-bar #header .wrap {
  top: 32px;
}

#header .wrap {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1100px;
  margin: 0px auto;
  padding: 1.5rem 5%;
  text-align: center;
}

.header-break {
  clear: both;
  display: block;
  width: 100%;
  height: 186px;
}

/* -----[ Logo ]----- */

#header .logo a {
  display: block;
  margin-top: 5px;
  border: none;
  font-size: 16px;
  line-height: 18px;
  text-decoration: none;
}

#header .logo a:hover {
  color: #46573b;
}

/* -----[ Nav ]----- */

#nav {
  position: relative;
  display: inline-block;
  width: auto;
  margin: auto 0;
  padding: 0;
}

#nav ul {
  margin: 0;
  padding: 0;
}

#nav li {
  display: inline-block;
  margin: 0 0 0 40px;
  padding: 0;
}

#nav li:first-child {
  margin: 0;
}

#nav a {
  position: relative;
  color: #46573b;
  font-size: 16px;
  line-height: 26px;
  text-transform: lowercase;
  border: none;
}

#nav a:hover,
#nav li.current_page_item a,
#nav li.current-menu-item a,
#nav li.current-page-parent a,
#nav li.current-menu-parent a,
#nav li.current-page-ancestor a,
#nav li.current-menu-ancestor a {
  color: #46573b;
  padding-bottom: 1px;
  border-bottom: 1px solid #46573b;
  text-decoration: none;
}

#nav ul.sub-menu,
#nav ul ul {
  background-color: #e5cfbe;
}

#nav ul ul {
  float: left;
  display: none;
  position: absolute;
  top: 25px;
  left: -10px;
  z-index: 1000;
  white-space: nowrap;
  margin: 0;
  padding: 10px;
  text-align: left;
}

#nav ul ul li {
  display: block;
  margin: 0;
  padding: 0;
}

#nav ul ul li a,
#nav ul ul li.current_page_item a,
#nav ul ul li.current-menu-item a,
#nav ul ul li.current-page-parent a,
#nav ul ul li.current-menu-parent a,
#nav ul ul li.current-page-ancestor a,
#nav ul ul li.current-menu-ancestor a {
  display: inline-block;
  position: relative;
  left: 0;
  bottom: 0;
  margin: 0;
  color: #46573b !important;
  font-size: 16px;
  line-height: 18px;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

#nav ul ul li a:hover {
  color: #46573b !important;
  padding-bottom: 1px;
  border-bottom: 1px solid #46573b;
  text-decoration: none;
}

#nav ul li:hover > ul {
  display: block;
}

#nav .menu ul {
  list-style: none;
}

#nav .menu li {
  position: relative;
}

.mobile-menu-panel {
  display: none;
}

@media only screen and (max-width: 960px) {
  #header #nav,
  #header .social {
    display: none;
  }
  #header {
    position: relative;
    height: auto;
  }
  .header-break {
    display: none;
  }
  #click-menu {
    display: block;
    position: absolute;
    top: 25px;
    right: 3%;
    z-index: 9999;
  }
  #click-menu .menu-link {
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    width: 28px;
    height: 22px !important;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0;
    line-height: 0;
  }
  #click-menu .menu-link:before {
    position: absolute;
    top: 2px;
    left: 0px;
    width: 100%;
    height: 2px;
    background-color: #46573b;
    box-shadow: 0 8px 0 #46573b, 0 16px 0 #46573b;
    content: "";
  }
  .mobile-menu-panel {
    display: block;
    position: fixed;
    z-index: 500;
    width: 100%;
    max-width: 100%;
    padding: 20px 0 0 0;
    background-color: #FFF;
  }
  .mobile-menu-panel ul {
    clear: both;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
  }
  .mobile-menu-panel ul a {
    border: none;
  }
  .mobile-menu-panel ul a:hover {
    padding-bottom: 1px;
    border-bottom: 1px solid #46573b;
    text-decoration: none;
  }
  .mobile-menu-panel ul li.menu-item-has-children {
    margin: 20px 0;
  }
  .mobile-menu-panel .social {
    display: inherit;
    margin: 0;
    padding: 20px 0;
    text-align: center;
  }
  .mobile-menu-panel .social a {
    border: none;
  }
  .mobile-menu-panel .social i.fa {
    margin: 0 10px;
    color: #46573b;
    font-size: 24px;
    line-height: 24px;
  }
  .mobile-menu-panel .social i.fa:hover {
    color: #46573b;
  }
}

/* -------------------[ Content ]------------------- */

#content {
  position: relative;
  overflow: inherit;
  width: 90%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  padding: 0 5%;
}

.wrap {
  max-width: 1500px;
}

.custom-columns {
  column-count: 2;
  gap: 50px;
  padding: 20px 0;
  text-align: justify;
}

@media only screen and (max-width: 900px) {
  .custom-columns {
    column-count: 1;
  }
}

/* -------------------[ Bootstarp - Form ]------------------- */

#content .form-control {
  background-color: #e5cfbe;
  border: 1px solid #46573b;
  color: #46573b;
}

#content input.form-control::placeholder,
#content textarea.form-control::placeholder {
  color: #46573b;
  opacity: 1;
}

#content input.form-control::-webkit-input-placeholder,
#content textarea.form-control::-webkit-input-placeholder {
  color: #46573b;
}

#content input.form-control::-moz-placeholder,
#content textarea.form-control::-moz-placeholder {
  color: #46573b;
  opacity: 1;
}

#content input.form-control:-ms-input-placeholder,
#content textarea.form-control:-ms-input-placeholder {
  color: #46573b;
}

#content #subscribeForm .btn {
  color: #ffffff;
  background-color: #46573b;
  border-color: #46573b;
}

#content #subscribeForm {
    margin-bottom: 100px;
}

/* -------------------[ Home ]------------------- */

body.volume-home .header-break,
body.volume-home #footer {
  display: none;
}

body.volume-home #header {
  position: relative;
  border-bottom: 1px solid #46573b;
  background-color: #e5cfbe;
}

#splash {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-image: url("images/vol9-background.png");
  background-position: center -11px;
  background-size: cover;
  background-repeat: no-repeat; 
}

#splash .content-home {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 32px 5% 5vh;
}

#splash .content-home .logo-home {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 0 1 auto;
  width: 100%;
  max-width: 1200px;
  height: clamp(320px, calc(100vh - 140px), 760px);
  margin: 0 auto;
}

#splash .content-home .vol9-logo-fr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 1110px;
  background-image: url("images/vol9-logo-fr.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

#splash .content-home .vol9-logo-en {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  background-image: url("images/vol9-logo-en.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 800px) {
  #splash .content-home {
    order: 3;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 24px 20px 32px;
  }
  #splash .content-home .logo-home {
    flex: 0 1 auto;
    width: 100%;
    height: clamp(280px, 58vh, 520px);
    margin-top: 20px;
  }
  #splash .content-home .vol9-logo-fr,
  #splash .content-home .vol9-logo-en {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
}

/* -------------------[ Blog ]------------------- */

.post-excerpts-blog {
  position: relative;
  display: inline-block;
  max-width: 600px;
  text-align: left;
}

.post-excerpt-blog {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 45%;
  margin: 0 20px 20px 0;
  padding: 0;
}

.post-box {
  margin-bottom: 3rem;
}

@media only screen and (max-width: 600px) {
  .post-box {
    display: flex;
    flex-flow: column wrap;
  }
}

/* -------------------[ Footer ]------------------- */

#footer .bottom {
  position: relative;
  width: 100%;
  height: auto;
  margin: 40px auto;
  padding: 0;
  color: #46573b;
  font-size: 16px;
  line-height: 50px;
  text-transform: lowercase;
  text-align: center;
}

#footer .bottom a {
  border: none;
}

#footer .bottom a:hover {
  padding-bottom: 1px;
  border-bottom: 1px solid #46573b;
  text-decoration: none;
}

/* -----[ Logos ]----- */

#footer .logos {
  position: relative;
  margin: 0 auto;
  padding: 50px 2% 0 2%;
  text-align: center;
}

#footer .logos img {
  width: auto;
  height: 50px;
  margin: 0 3%;
  filter: brightness(0) saturate(100%) invert(29%) sepia(11%) saturate(765%) hue-rotate(52deg) brightness(91%) contrast(88%);
}

/* -----[ Links / Social ]----- */

#footer .bottom span {
  margin: 0 10px;
}

#footer .bottom a i {
  position: relative;
  bottom: -2px;
  margin: 0 7px;
  font-size: 22px;
}

/* -----[ Mailchimp ]----- */

.mailinglist_miniform {
  margin: auto;
  text-align: center;
}

#mc_embed_signup {
  display: inline-block;
  overflow: auto;
  margin: auto;
  padding: 0 0 10px 0;
  text-align: center;
}

#mc_embed_signup label {
  float: left;
  margin: 0;
  font-weight: 400;
}

#mc_embed_signup input[type="email"] {
  float: left;
  width: 150px;
  margin: 12px;
  padding: 5px 10px;
  border: none;
  background-color: #eee;
  color: #46573b;
  font-size: 13px;
  line-height: normal;
}

#mc_embed_signup input.submit {
  float: left;
  width: auto;
  margin: 12px 0 0 0;
  padding: 0;
  border: none;
  background: none !important;
  color: #46573b;
  font-size: 26px;
  line-height: 26px;
  font-weight: 400;
  cursor: pointer;
}

#mc_embed_signup input.submit:hover {
  background: none !important;
  color: #46573b;
}

#mc_embed_signup .response {
  font-size: 13px;
  color: #46573b;
  text-transform: inherit;
}

@media only screen and (max-width: 850px) {
  #footer .logos img {
    clear: both;
    display: block;
    margin: 0 auto 30px auto;
  }
  #footer .bottom {
    padding: 20px 0;
    font-size: 13px;
    line-height: 30px;
    padding-bottom: 0px;
  }
  #footer .bottom span {
    clear: both;
    display: block;
    height: 0px;
    font-size: 0;
  }
  #mc_embed_signup {
    padding: 20px 0;
  }
  #mc_embed_signup label {
    display: block;
    float: none;
  }
  #mc_embed_signup input[type="email"] {
    display: block;
    float: none;
    margin: auto;
  }
}
