﻿/* PRAISe modern footer */

.modern-footer,
.modern-footer * {
    box-sizing: border-box;
}

.modern-footer {
    padding: 28px 20px 18px;
    background: #ffffff;
    font-family: "Nunito Sans", "Nunito", sans-serif;
}

.modern-footer span {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.modern-footer__shell {
    position: relative;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 28px 34px 16px;
    background: #0d0e09;
    border: 1px solid rgba(207, 185, 125, 0.22);
    border-radius: 17px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.11),
    0 3px 9px rgba(0, 0, 0, 0.045);
}

.modern-footer__accent {
    position: absolute;
    top: 0;
    left: 34px;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #cfb97d, #6a7113);
    border-radius: 0 0 5px 5px;
}

/* Brand and social links */

.modern-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.modern-footer__title {
    display: inline-block;
    margin: 0 0 4px;
    color: #ffffff !important;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
    text-decoration: none !important;
}

.modern-footer__title:hover,
.modern-footer__title:focus {
    color: #cfb97d !important;
}

.modern-footer__tagline {
    margin: 0;
    color: #cfb97d;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.modern-footer__socials {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.modern-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(207, 185, 125, 0.4);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: #cfb97d !important;
    font-size: 14px;
    line-height: 1;
    text-decoration: none !important;
    transition: background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.modern-footer__socials a:hover,
.modern-footer__socials a:focus {
    border-color: #cfb97d;
    background: #cfb97d;
    color: #0d0e09 !important;
    transform: translateY(-2px);
}

/* Navigation and address */

.modern-footer__middle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-footer__navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.modern-footer__navigation a {
    color: #c8c8bf !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none !important;
}

.modern-footer__navigation a:hover,
.modern-footer__navigation a:focus {
    color: #cfb97d !important;
}

.modern-footer__address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: #929289;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    text-align: right;
}

.modern-footer__address span {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.modern-footer__address i {
    width: 14px;
    color: #9b9b93;
    font-size: 14px;
    text-align: center;
}

/* Copyright and map link */

.modern-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
}

.modern-footer__bottom p,
.modern-footer__bottom a {
    margin: 0;
    color: #85857d !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none !important;
}

.modern-footer__bottom a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modern-footer__bottom a i {
    color: #9b9b93;
    font-size: 11px;
}

.modern-footer__bottom a:hover,
.modern-footer__bottom a:focus {
    color: #cfb97d !important;
}

/* Tablet and mobile */

@media (max-width: 760px) {

    .modern-footer__middle {
      grid-template-columns: 1fr;
      gap: 14px;
  }

    .modern-footer__address {
      text-align: left;
  }

    .modern-footer__address span {
      justify-content: flex-start;
  }
}

@media (max-width: 560px) {

    .modern-footer {
      padding: 22px 10px 12px;
  }

    .modern-footer__shell {
      padding: 27px 22px 16px;
  }

    .modern-footer__accent {
      left: 22px;
  }

    .modern-footer__top {
      flex-direction: column;
      gap: 18px;
  }

    .modern-footer__navigation {
      gap: 9px 18px;
  }

    .modern-footer__bottom {
      align-items: flex-start;
      flex-direction: column;
      gap: 3px;
  }

    .modern-footer__title {
      font-size: 28px;
  }
}

/* =========================================================
   Edit-this-page control
   ========================================================= */

.page-edit,
.page-edit * {
    box-sizing: border-box;
}

.page-edit {
    padding: 14px 24px;
    background: #f5f5f1;
    border-top: 1px solid #e0e1dc;
    font-family: "Nunito Sans",
    "Nunito",
    Arial,
    sans-serif;
}

.page-edit__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: min(1160px, calc(100% - 16px));
    margin: 0 auto;
}

.page-edit__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 13px;
    background: #ffffff;
    border: 1px solid #d4c17e;
    border-radius: 9px;
    color: #4e431c !important;
    font-family: "Nunito Sans",
    "Nunito",
    Arial,
    sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.055);
    transition: background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

/* Prevent legacy span and icon rules from enlarging the text. */

.page-edit__button span,
.page-edit__button i {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: inherit !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.page-edit__button i {
    font-size: 15px !important;
}

.page-edit__button:hover,
.page-edit__button:focus-visible {
    background: #1c1d08;
    border-color: #1c1d08;
    color: #cfb97d !important;
    box-shadow: 0 7px 17px rgba(0, 0, 0, 0.12);
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 700px) {

    .page-edit {
      padding: 12px 16px;
  }

    .page-edit__inner {
      justify-content: center;
      width: 100%;
  }

    .page-edit__button {
      min-height: 38px;
      padding: 8px 13px;
      font-size: 13px !important;
  }
}

/* Align Edit this page control with footer content */

.page-edit {
  padding-right: 20px;
  padding-left: 20px;
}

.page-edit__inner {
  width: min(1120px, 100%) !important;
  padding-right: 34px;
  padding-left: 34px;
}

/* Match the footer's mobile shell and inner spacing */

@media (max-width: 560px) {
  .page-edit {
    padding-right: 10px;
    padding-left: 10px;
  }

  .page-edit__inner {
    justify-content: flex-end !important;

    width: 100% !important;
    padding-right: 22px;
    padding-left: 22px;
  }
}

/* Center Edit this page button on phones */

@media (max-width: 560px) {
  .page-edit__inner {
    justify-content: center !important;
  }
}

/* Remove legacy back-to-top button */

#toTop {
  display: none !important;
}
