/*
  Theme Name: Volume MTL 2025
  Theme URI: https://www.volumemtl.art
  Version: 8.0 / 2025

  Colors
  ------
  #935f3b
  #e4f666

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

*/

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

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

body,
#header {
  background-color: #935f3b;
}

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

body,
html {
  color: #e4f666;
  font-family: "antonia-variable";
  font-size: 16px;
  line-height: 23px;
  font-weight: 500;
}

a:link,
a:visited,
a:active {
  color: #000;
  font-weight: 700;
  text-decoration: none;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

a:hover {
  color: #e4f666;
  text-decoration: none;
}

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;
}

h1,
h2 {
  width: 100%;
  font-size: 22px;
  line-height: 28px;
}

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: 30px 0;
  padding: 0 0 1px 0;
  border: none;
}

/* -------------------[ 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;
  max-width: 1100px;
  margin: 0px auto;
  padding: 1.5rem;
  text-align: center;
}

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

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

#header .logo img {
  max-width: 240px;
  height: auto;
}

/* -----[ 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;
  padding-bottom: 20px;
  color: #e4f666;
  font-family: "antonia-variable";
  font-size: 22px;
  text-transform: lowercase;
  text-decoration: 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: #000;
}

#nav ul.sub-menu {
  background-color: #935f3b;
}

#nav ul ul {
  float: left;
  display: none;
  position: absolute;
  top: 25px;
  left: -10px;
  width: 180px;
  margin: 0;
  padding: 10px;
  text-align: left;
}

#nav ul ul li {
  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 {
  clear: both;
  display: block;
  position: relative;
  left: 0;
  bottom: 0;
  width: 160px;
  margin: 0;
  padding: 5px 0;
  color: #000 !important;
  font-size: 18px;
  font-weight: 500;
}

#nav ul ul li a:hover {
  color: #000 !important;
}

#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: 1100px) {
  #nav li {
    margin: 0 0 0 30px;
  }
  #nav a {
    font-size: 18px;
  }
}

@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: 23px;
    right: 3%;
    z-index: 9999;
  }
  .menu-link {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 14px !important;
    margin-right: 0.3em;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    font-size: 12px !important;
  }
  .menu-link:before {
    position: absolute;
    top: 6px;
    left: 0px;
    width: 100%;
    border-top: 2px solid #000;
    content: "";
  }
  .mobile-menu-panel {
    display: block;
    position: fixed;
    z-index: 500;
    width: 100%;
    max-width: 100%;
    padding: 20px 0 0 0;
    background-color: #000;
  }
  .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 {
    clear: both;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 0 12px 0;
    color: #e4f666;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    text-transform: lowercase;
    text-decoration: none;
  }
  .mobile-menu-panel ul a:hover {
    color: #000;
  }
  .mobile-menu-panel ul li.menu-item-has-children {
    margin: 20px 0;
    font-weight: 700;
  }
  .mobile-menu-panel .social {
    display: inherit;
    margin: 0;
    padding: 20px 0;
    text-align: center;
  }
  .mobile-menu-panel .social i.fa {
    margin: 0 10px;
    color: #e4f666;
    font-size: 24px;
    line-height: 24px;
  }
  .mobile-menu-panel .social i.fa:hover {
    color: #000;
  }
}

/* -------------------[ 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;
  padding: 0 0 20px 0;
}

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

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

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

#splash {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100vh;
  background-image: url("images/vol8-background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; 
}

#splash .img-otl {
  position: absolute;
  top: 15px;
  left: 15px;
  max-width: 180px;
  height: auto;
}

#splash .img-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 180px;
  height: auto;
}

#splash .img-logomark {
  position: absolute;
  top: 15px;
  right: 15px;
  max-width: 100px;
  height: auto;
}

#splash .img-date {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 200px;
  height: auto;
}

#splash .img-obl {
  position: absolute;
  bottom: 15px;
  left: 15px;
  max-width: 180px;
  height: auto;
}

#splash .img-obr {
  position: absolute;
  bottom: 15px;
  right: 15px;
  max-width: 180px;
  height: auto;
}

#splash .content-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 0 5%;
}

#splash .content-home .logo-home {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#splash .content-home .logo-home-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50vh;
  margin: auto;
  padding-bottom: 30px;
  background-image: url("images/vol8-logo.png");
  background-position: center;
  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;
  }
}

#footer-home {
  padding-top: 30px;
  text-align: center;
}

#footer-home #nav li {
  margin: 0 20px;
}

#footer-home #nav a {
  padding-bottom: 0;
  color: #e4f666;
  font-size: 22px;
  line-height: 30px;
}

#footer-home #nav a:hover {
  color: #000;
}

@media only screen and (max-width: 1200px) {
  #splash .img-title,
  #splash .img-date {
    max-width: clamp(140px, 15vw, 180px);
  }
  #splash .img-logomark {
    max-width: clamp(60px, 15vw, 100px);
  }
  #splash .img-otl,
  #splash .img-obl,
  #splash .img-obr {
    max-width: clamp(80px, 15vw, 180px);
  }
}

@media only screen and (max-width: 900px) {
  #footer-home #nav li {
    margin: 0 5px;
  }
}

@media only screen and (max-width: 700px) {
  #splash {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    background-image: url("images/vol8-background.jpg");
    background-size: cover;
  }
  #splash .img-otl {
    display: none;
  }
  #splash .img-obl,
  #splash .img-obr {
    top: 15px;
    bottom: auto;
  }
  #splash .img-title,
  #splash .img-date,
  #splash .img-logomark {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    align-self: center;
  }
  #splash .img-title {
    order: 1;
    max-width: 150px;
  }
  #splash .img-date {
    order: 2;
    max-width: 151px;
    margin-top: 20px;
  }
  #splash .img-logomark {
    order: 4;
    max-width: 60px;
    margin-bottom: 40px;
  }
  #splash .content-home {
    order: 3;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    margin: 0;
    padding: 20px 0;
  }
  #splash .content-home .logo-home {
    height: auto;
  }
  #splash .content-home .logo-home-img {
    max-width: 90%;
    height: 20vh;
    min-height: 150px;
    padding-bottom: 20px;
  }
  #footer-home {
    margin-top: 30px;
    padding: 0;
  }
  #footer-home #nav li {
    clear: both;
    display: block;
    margin: 0;
  }
}

/* -------------------[ 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: #000;
  font-family: "antonia-variable";
  font-size: 16px;
  line-height: 50px;
  text-transform: lowercase;
  text-align: center;
}

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

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

#footer .logos img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 3%;
}

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

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

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

#footer .bottom a {
  color: #000;
}

#footer .bottom a:hover {
  color: #000;
}

/* -----[ 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: #000;
  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: #e4f666;
  font-size: 26px;
  line-height: 26px;
  font-weight: 400;
  cursor: pointer;
}

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

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

@media only screen and (max-width: 850px) {
  #footer .logos img {
    clear: both;
    display: block;
    margin: 0 auto;
  }

  #footer .logos img.logo2 {
    margin: 40px auto !important;
  }

  #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;
  }
}
