/* ==========================================================================
   PODSTRANI
   Kontakt, Politika zasebnosti, Piškotki, 404, …
   Nalaga se povsod razen na domači strani.
   ========================================================================== */


/* ==========================================================================
   01 — SPLOŠNE PODSTRANI
   ========================================================================== */

.mb-page {
  padding: clamp(56px, 8vw, 110px) 0 clamp(70px, 9vw, 130px);

  background: var(--mb-ivory);
  color: var(--mb-text);
}

.mb-page__inner {
  width: min(760px, calc(100% - 36px));
  margin-inline: auto;
}

.mb-page .mb-page__title {
  margin-bottom: 40px;

  font-size: clamp(36px, 5vw, 56px);
}

.mb-page .mb-eyebrow {
  margin-bottom: 27px;
}


/* ==========================================================================
   BESEDILO PODSTRANI / GUTENBERG
   ========================================================================== */

.mb-page__content {
  font-family: var(--mb-font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;

  color: var(--mb-text-soft);
}

.mb-page__content > * + * {
  margin-top: 1.2em;
}

.mb-page__content h2,
.mb-page__content h3 {
  margin-top: 2em;

  font-family: var(--mb-font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.015em;

  color: var(--mb-ink);
}

.mb-page__content h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.mb-page__content h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.mb-page__content ul,
.mb-page__content ol {
  padding-left: 1.3em;
}

.mb-page__content li + li {
  margin-top: .4em;
}

.mb-page__content a {
  color: var(--mb-oxblood);
  text-underline-offset: 3px;
}

.mb-page__content strong {
  font-weight: 500;
  color: var(--mb-ink);
}



/* ==========================================================================
   02 — KONTAKT
   ========================================================================== */

.mb-contact {
  padding: 0;

  background: #F3EEE6;
  color: #211F1D;
}


/* ==========================================================================
   KONTAKT — GLAVNI LAYOUT
   ========================================================================== */

.mb-contact__inner {
  width: min(1380px, calc(100% - 112px));
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(420px, .78fr);

  gap: clamp(90px, 9vw, 150px);

  align-items: start;

  padding: 90px 0 100px;
}



/* ==========================================================================
   03 — KONTAKT / LEVA STRAN
   ========================================================================== */

.mb-contact__intro {
  min-width: 0;
  max-width: 680px;
}


/* EYEBROW */

.mb-contact .mb-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;

  margin: 0 0 38px;

  font-family: var(--mb-font-body, "Montserrat", sans-serif);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .22em;
  text-transform: uppercase;

  color: rgba(33,31,29,.55);
}

.mb-contact .mb-eyebrow img {
  display: block;

  width: 15px;
  height: 15px;

  object-fit: contain;
}


/* NASLOV */

.mb-contact__title {
  margin: 0;

  font-family: var(--mb-font-display, "Fenoom Light", serif);
  font-size: clamp(58px, 5.2vw, 82px);
  font-weight: 300;
  line-height: .98;

  letter-spacing: -.035em;

  color: #211F1D;
}


/* UVOD */

.mb-contact__lead {
  max-width: 600px;

  margin-top: 38px;
}

.mb-contact__lead p {
  margin: 0 0 8px;

  font-family: var(--mb-font-body, "Montserrat", sans-serif);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;

  color: rgba(33,31,29,.68);
}

.mb-contact__lead p:last-child {
  margin-bottom: 0;
}


/* EDITORIALNI POUDARJEN STAVEK */

.mb-contact__lead strong {
  font-family: var(--mb-font-display, "Fenoom Light", serif);

  font-size: 1.18em;
  font-weight: 300;
  font-style: italic;

  color: #7A2638;
}



/* ==========================================================================
   04 — EMAIL / GLAVNI CTA
   ========================================================================== */

.mb-contact__email-wrap {
  margin-top: 64px;
}

.mb-contact__email-label {
  margin-bottom: 12px;

  font-family: var(--mb-font-body, "Montserrat", sans-serif);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .20em;
  text-transform: uppercase;

  color: #7A2638;
}

.mb-contact__email {
  display: inline-block;

  padding-bottom: 6px;

  font-family: var(--mb-font-display, "Fenoom Light", serif);
  font-size: clamp(34px, 2.8vw, 46px);
  font-weight: 300;
  line-height: 1.08;

  letter-spacing: -.025em;

  color: #211F1D;
  text-decoration: none;

  border-bottom: 1px solid #7A2638;

  transition:
    color .25s ease,
    border-color .25s ease;
}

.mb-contact__email:hover {
  color: #7A2638;
  border-bottom-color: #7A2638;
}

.mb-contact__note {
  margin: 14px 0 0;

  font-family: var(--mb-font-body, "Montserrat", sans-serif);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;

  color: rgba(33,31,29,.48);
}



/* ==========================================================================
   05 — OBRAZEC
   ========================================================================== */

.mb-contact__form {
  margin-top: 60px;
}

.mb-contact__form input,
.mb-contact__form textarea,
.mb-contact__form select {
  width: 100%;

  font-family: var(--mb-font-body, "Montserrat", sans-serif);

  color: #211F1D;
  background: transparent;
}

.mb-contact__form input,
.mb-contact__form textarea {
  border: 0;
  border-bottom: 1px solid rgba(33,31,29,.22);

  border-radius: 0;
}

.mb-contact__form input:focus,
.mb-contact__form textarea:focus {
  outline: none;

  border-bottom-color: #7A2638;
}



/* ==========================================================================
   06 — KONTAKT / DESNA STRAN
   ========================================================================== */

.mb-contact__aside {
  min-width: 0;

  padding-top: 6px;
}

.mb-contact__aside-label {
  font-family: var(--mb-font-body, "Montserrat", sans-serif);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .22em;
  text-transform: uppercase;

  color: rgba(33,31,29,.50);
}



/* ==========================================================================
   07 — KAJ SLEDI
   ========================================================================== */

.mb-contact__steps {
  margin: 26px 0 0;
  padding: 0;

  list-style: none;
}

.mb-contact__steps li {
  display: grid;

  grid-template-columns:
    38px
    minmax(0, 1fr);

  gap: 22px;

  padding: 25px 0;

  border-top: 1px solid rgba(33,31,29,.14);
}

.mb-contact__steps li:last-child {
  border-bottom: 1px solid rgba(33,31,29,.14);
}

/* ==========================================================
   KONTAKT — IKONE KORAKOV
========================================================== */

.mb-contact__step-icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;

  width: 46px;
  padding-top: 1px;
}

.mb-contact__step-icon svg {
  display: block;
  width: 42px;
  height: auto;

  overflow: visible;
}

.mb-contact__step-icon svg path {
  fill: none;
  stroke: #7A2638;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mb-contact__step-icon svg path.soft {
  opacity: .45;
}

.mb-contact__step-icon svg circle {
  fill: #7A2638;
  stroke: none;
}


/* VSEBINA KORAKA */

.mb-contact__step-content {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.mb-contact__step-content strong {
  display: block;

  font-family: var(--mb-font-display, "Fenoom Light", serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.15;

  letter-spacing: -.015em;

  color: #211F1D;
}

.mb-contact__step-content > span {
  display: block;

  max-width: 390px;

  font-family: var(--mb-font-body, "Montserrat", sans-serif);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;

  color: rgba(33,31,29,.62);
}



/* ==========================================================================
   08 — MATEJIN PODPIS
   ========================================================================== */

.mb-contact__signature-block {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    125px;

  width: 100%;
  height: 155px;

  margin-top: 38px;

  overflow: hidden;

  background: #D6C6B5;
}


/* FOTOGRAFIJA */

.mb-contact__signature-visual {
  min-width: 0;
  height: 195px;

  overflow: hidden;
}

.mb-contact__signature-block {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 125px !important;

  width: 100%;
  height: 190px;

  margin-top: 38px;

  overflow: hidden;
  background: #D6C6B5;
}

.mb-contact__signature-visual {
  height: 155px;
  overflow: hidden;
}

.mb-contact__signature-visual img {
  display: block;
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center 27% !important;

  margin: 0 !important;
}

.mb-contact__signature-block {
  display: grid !important;
  grid-template-columns: 170px 145px !important;

  width: 315px;
  height: 170px;

  margin-top: 38px;
  margin-left: 0;

  overflow: hidden;
  background: #D6C6B5;
}

.mb-contact__signature-visual {
  width: 170px;
  height: 170px;
  overflow: hidden;
}

.mb-contact__signature-visual img {
  display: block;
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: 45% 25% !important;

  margin: 0 !important;
}

.mb-contact__signature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 20px 18px;
  background: #D6C6B5;
}

.mb-contact__signature-dot {
  width: 9px;
  height: 9px;
}

.mb-contact__signature-block {
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) !important;

  width: 100%;
  height: 170px;

  margin-top: 38px;

  overflow: hidden;
  background: #D6C6B5;
}

.mb-contact__signature-visual {
  width: 170px;
  height: 170px;
  overflow: hidden;
}

.mb-contact__signature-visual img {
  display: block;
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center 28% !important;

  margin: 0 !important;
}

.mb-contact__signature-copy {
  position: relative;
  display: flex;
  flex-direction: column;

  padding: 25px 30px 23px;
  background: #D6C6B5;
}

.mb-contact__signature-kicker {
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(33,31,29,.52);
}

.mb-contact__signature-dot {
  width: 9px;
  height: 9px;
  margin-top: 14px;
}

.mb-contact__aside-signature {
  margin: auto 0 0 auto;

  font-family: "Fenoom Light", serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.08;
  text-align: right;

  color: #211F1D;
}

.mb-contact__signature-name {
  margin-top: 13px;

  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .20em;
  text-transform: uppercase;
  text-align: right;

  color: rgba(33,31,29,.5);
}

/* STARA ČRTA — NI VEČ POTREBNA */

.mb-contact__aside-rule {
  display: none;
}



/* ==========================================================================
   09 — TABLET
   ========================================================================== */

@media (max-width: 1024px) {

  .mb-contact__inner {
    width: calc(100% - 64px);

    grid-template-columns:
      minmax(0, 1fr)
      minmax(340px, .8fr);

    gap: 60px;

    padding: 75px 0 85px;
  }


  .mb-contact__title {
    font-size: clamp(54px, 6.5vw, 70px);
  }


  .mb-contact__email {
    font-size: clamp(30px, 3.8vw, 40px);
  }


  .mb-contact__signature-block {
    grid-template-columns:
      minmax(0, 1fr)
      120px;
  }

}



/* ==========================================================================
   10 — MOBILE
   ========================================================================== */

@media (max-width: 767px) {

  .mb-page {
    padding:
      48px
      0
      70px;
  }


  /* GLAVNI LAYOUT */

  .mb-contact__inner {
    width: calc(100% - 40px);

    grid-template-columns: 1fr;

    gap: 68px;

    padding: 58px 0 70px;
  }


  /* LEVO */

  .mb-contact__intro {
    max-width: none;
  }

  .mb-contact .mb-eyebrow {
    margin-bottom: 30px;
  }

  .mb-contact__title {
    font-size: clamp(50px, 14vw, 66px);

    line-height: 1;
  }

  .mb-contact__lead {
    margin-top: 30px;
  }

  .mb-contact__lead p {
    font-size: 14px;
    line-height: 1.7;
  }


  /* EMAIL */

  .mb-contact__email-wrap {
    margin-top: 48px;
  }

  .mb-contact__email {
    font-size: clamp(27px, 8vw, 36px);
  }


  /* DESNO */

  .mb-contact__aside {
    padding-top: 0;
  }

  .mb-contact__steps {
    margin-top: 20px;
  }

  .mb-contact__steps li {
    grid-template-columns:
      34px
      minmax(0, 1fr);

    gap: 17px;

    padding: 22px 0;
  }

  .mb-contact__step-content strong {
    font-size: 21px;
  }


  /* PODPIS */

  .mb-contact__signature-block {
    grid-template-columns:
      minmax(0, 1fr)
      120px;

    height: 150px;

    margin-top: 34px;
  }

  .mb-contact__signature-visual {
    height: 150px;
  }

  .mb-contact__aside-signature {
    font-size: 19px;
  }

}



/* ==========================================================================
   11 — SMALL MOBILE
   ========================================================================== */

@media (max-width: 430px) {

  .mb-contact__inner {
    width: calc(100% - 36px);
  }


  /* EMAIL */

  .mb-contact__email {
    font-size: clamp(25px, 7.6vw, 32px);
  }


  /* PODPIS GRE V DVE VRSTI */

  .mb-contact__signature-block {
    grid-template-columns: 1fr;

    height: auto;
  }

  .mb-contact__signature-visual {
    height: 190px;
  }

  .mb-contact__signature-copy {
    min-height: 115px;

    padding: 18px 20px;
  }

}



/* ==========================================================================
   12 — REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .mb-contact__email {
    transition: none;
  }

}


/* ==========================================================
   KONTAKT — ODSTRANI PRAZEN PROSTOR PRED FOOTERJEM
========================================================== */

.page-id-182 .mb-page {
  padding-bottom: 0 !important;
}

.page-id-182 .mb-contact__inner {
  padding-bottom: 55px !important;
}


.page-id-182 .mb-footer-light__inner {
    padding-top: 0;
}



/* ==========================================================
   CONTACT FORM 7 — MATEJA BOLČINA
========================================================== */

.mb-contact__form {
  margin-top: 54px;
}

.mb-cf {
  width: 100%;
  margin: 0;
}


/* ==========================================================
   GRID
========================================================== */

.mb-cf__row--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}


/* ==========================================================
   FIELD
========================================================== */

.mb-cf__field {
  margin: 0 0 27px;
}


/* ==========================================================
   LABELS
========================================================== */

.mb-cf__field label {
  display: block;
  margin: 0 0 8px;

  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;

  letter-spacing: .19em;
  text-transform: uppercase;

  color: rgba(33, 31, 29, .68);
}

.mb-cf__field label > span {
  color: #7A2638;
}


/* ==========================================================
   CF7 WRAPPERS
========================================================== */

.mb-cf .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}


/* ==========================================================
   INPUTS / SELECT / TEXTAREA
========================================================== */

.mb-cf input[type="text"],
.mb-cf input[type="email"],
.mb-cf input[type="url"],
.mb-cf select,
.mb-cf textarea {
  display: block;
  width: 100%;

  margin: 0;
  padding: 8px 0 11px;

  border: 0;
  border-bottom: 1px solid rgba(33, 31, 29, .32);
  border-radius: 0;

  background: transparent;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;

  color: #211F1D;

  outline: none;
  box-shadow: none;

  transition:
    border-color .2s ease,
    color .2s ease;
}


/* ==========================================================
   PLACEHOLDERS
========================================================== */

.mb-cf input::placeholder,
.mb-cf textarea::placeholder {
  color: rgba(33, 31, 29, .50);
  opacity: 1;
}


/* ==========================================================
   FOCUS
========================================================== */

.mb-cf input[type="text"]:focus,
.mb-cf input[type="email"]:focus,
.mb-cf input[type="url"]:focus,
.mb-cf select:focus,
.mb-cf textarea:focus {
  border-bottom-color: #7A2638;
}


/* ==========================================================
   SELECT
========================================================== */

.mb-cf select {
  cursor: pointer;
  color: #211F1D;
}


/* ==========================================================
   TEXTAREA
========================================================== */

.mb-cf textarea {
  height: 82px;
  min-height: 82px;
  max-height: 160px;

  resize: vertical;
}


/* malo več zraka po sporočilu */

.mb-cf__field--message {
  margin-bottom: 20px;
}


/* ==========================================================
   PRIVACY / CHECKBOX
========================================================== */

.mb-cf__privacy {
  margin: 0;

  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.55;

  color: rgba(33, 31, 29, .62);
}

.mb-cf__privacy .wpcf7-list-item {
  margin: 0;
}

.mb-cf__privacy label {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin: 0;

  cursor: pointer;
}

.mb-cf__privacy input[type="checkbox"] {
  flex: 0 0 auto;

  width: 14px;
  height: 14px;

  margin: 1px 0 0;

  accent-color: #7A2638;
  cursor: pointer;
}


/* ==========================================================
   SUBMIT AREA
========================================================== */

.mb-cf__submit {
  margin-top: 28px;
}


/* ==========================================================
   BUTTON
========================================================== */

.mb-cf input[type="submit"],
.mb-cf .wpcf7-submit {
  display: inline-block !important;

  width: auto !important;
  min-width: 220px;

  margin: 0;
  padding: 14px 22px;

  border: 1px solid #7A2638;
  border-radius: 0;

  background: #7A2638;

  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .17em;
  text-transform: uppercase;

  color: #F3EEE6;

  cursor: pointer;
  box-shadow: none;

  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease;
}


/* BUTTON HOVER */

.mb-cf input[type="submit"]:hover,
.mb-cf .wpcf7-submit:hover {
  background: transparent;
  color: #7A2638;
  border-color: #7A2638;
}


/* BUTTON FOCUS */

.mb-cf input[type="submit"]:focus,
.mb-cf .wpcf7-submit:focus {
  outline: 1px solid #7A2638;
  outline-offset: 3px;
}


/* ==========================================================
   TEXT UNDER BUTTON
========================================================== */

.mb-cf__submit p {
  margin: 11px 0 0;

  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 300;
  line-height: 1.5;

  color: rgba(33, 31, 29, .50);
}


/* ==========================================================
   CF7 SPINNER
========================================================== */

.mb-cf .wpcf7-spinner {
  margin: 0 0 0 12px;
  vertical-align: middle;
}


/* ==========================================================
   VALIDATION
========================================================== */

.mb-cf .wpcf7-not-valid {
  border-bottom-color: #7A2638 !important;
}

.mb-cf .wpcf7-not-valid-tip {
  display: block;

  margin-top: 6px;

  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;

  color: #7A2638;
}


/* ==========================================================
   RESPONSE MESSAGE
========================================================== */

.mb-contact__form .wpcf7 form .wpcf7-response-output {
  margin: 26px 0 0;
  padding: 14px 16px;

  border: 1px solid rgba(122, 38, 56, .35);

  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;

  color: #211F1D;
}


/* SUCCESS */

.mb-contact__form .wpcf7 form.sent .wpcf7-response-output {
  border-color: #7A2638;
}


/* ==========================================================
   AUTOFILL
   prepreči rumeno/belo ozadje browserja
========================================================== */

.mb-cf input:-webkit-autofill,
.mb-cf input:-webkit-autofill:hover,
.mb-cf input:-webkit-autofill:focus {
  -webkit-text-fill-color: #211F1D;
  -webkit-box-shadow: 0 0 0 1000px #F3EEE6 inset;
  transition: background-color 9999s ease-out;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

  .mb-contact__form {
    margin-top: 44px;
  }


  /* NAME + EMAIL STACK */

  .mb-cf__row--2 {
    grid-template-columns: 1fr;
    gap: 0;
  }


  /* FIELDS */

  .mb-cf__field {
    margin-bottom: 27px;
  }


  /* INPUTS
     16px prepreči iPhone auto zoom
  */

  .mb-cf input[type="text"],
  .mb-cf input[type="email"],
  .mb-cf input[type="url"],
  .mb-cf select,
  .mb-cf textarea {
    font-size: 16px;
  }


  /* LABEL */

  .mb-cf__field label {
    font-size: 9px;
  }


  /* TEXTAREA */

  .mb-cf textarea {
    height: 95px;
    min-height: 95px;
  }

  .mb-cf__field--message {
    margin-bottom: 20px;
  }


  /* PRIVACY */

  .mb-cf__privacy {
    font-size: 10px;
  }


  /* BUTTON */

  .mb-cf__submit {
    margin-top: 26px;
  }

  .mb-cf input[type="submit"],
  .mb-cf .wpcf7-submit {
    width: auto !important;
    min-width: 210px;

    padding: 14px 20px;

    font-size: 9px;
  }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

  .mb-cf input[type="submit"],
  .mb-cf .wpcf7-submit {
    min-width: 0;
    width: 100% !important;
  }

}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .mb-cf input,
  .mb-cf select,
  .mb-cf textarea {
    transition: none;
  }

}