@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block");
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap");

.page-footer {
  display: block;
  position: relative;
  --footer-accent: #f27f0d;
  --text-light: #101622;
  --muted-light: #6b7280;
  --border-light: #e5e7eb;
  --card-light: #ffffff;
  --shadow-sm: 0 8px 18px rgba(16, 22, 34, 0.08);
  color: var(--text-light);
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
  clear: both;
  align-self: auto;
  overflow: hidden;
  background: #f8fafc;
  isolation: isolate;
  font-family: Inter, Roboto, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-footer,
.page-footer *,
.page-footer *::before,
.page-footer *::after {
  box-sizing: border-box;
}


.page-footer .footer-shell {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: linear-gradient(180deg, rgba(249, 247, 245, 0.9), rgba(245, 246, 248, 0.95));
  border-radius: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: none;
  padding: 18px 16px 12px;
  backdrop-filter: blur(14px);
}

@media (min-width: 768px) {
  .page-footer .footer-shell {
    padding: 40px 30px 40px;
  }
}

@media (min-width: 768px) and (max-width: 1222px) {
  .page-footer {
    left: 0 !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  .page-footer .footer-shell,
  .page-footer .footer-subscribe-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body:not(.mr-index-page):not(.mr-library-page) .page-footer {
    width: max(100vw, 1223px) !important;
    min-width: 1223px !important;
    max-width: none !important;
  }
}

.page-footer .footer-top {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .page-footer .footer-top {
    grid-template-columns: 0.5fr 1.5fr 0.4fr;
    align-items: center;
    gap: 28px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .page-footer .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }

  .page-footer .footer-brand {
    grid-column: 1 / 2;
  }

  .page-footer .footer-contact {
    grid-column: 2 / 3;
    align-items: flex-end;
    text-align: right;
  }

  .page-footer .footer-links {
    grid-column: 1 / -1;
  }
}

.page-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-footer .footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--footer-accent);
  text-decoration: none;
}

.page-footer .footer-logo:hover {
  opacity: 0.9;
}

.page-footer .footer-tagline {
  color: #5c6478;
  font-size: 15px;
  line-height: 1.4;
}

.page-footer .footer-text {
  color: #5c6478;
  font-size: 15px;
  line-height: 1.4;
}

.page-footer .footer-copy {
  color: #8a93a9;
  font-size: 13px;
}

.page-footer .social-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.page-footer .social-container .btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-footer .social-container .btn-social:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 127, 13, 0.6);
  box-shadow: 0 14px 28px rgba(16, 22, 34, 0.12);
}

.page-footer .social-container img {
  width: 18px;
  height: 18px;
  display: block;
}

.page-footer .footer-links {
  width: 100%;
}

.page-footer .footer-menu {
  width: 100%;
}

.page-footer .footer-menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.page-footer .footer-menu-container li {
  list-style: none;
  min-width: 0;
}

.page-footer .footer-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-light);
  background: var(--card-light);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  min-height: 92px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.page-footer .footer-menu-item > div {
  text-align: center;
}

.page-footer .footer-menu-item .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 20px;
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.page-footer .footer-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 22, 34, 0.1);
  border-color: rgba(242, 127, 13, 0.6);
  background-color: #f2800d1f;
}

.page-footer .footer-menu-item:hover .material-symbols-outlined {
  color: var(--footer-accent);
}

.page-footer .footer-link-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
}

.page-footer .footer-link-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted-light);
}

.page-footer .footer-contact {
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .page-footer .footer-contact {
    align-items: flex-end;
    text-align: right;
  }
}

.page-footer .footer-contact .social-container {
  justify-content: flex-end;
  margin-top: 6px;
}

.page-footer .footer-email {
  color: var(--muted-light);
  font-size: 14px;
}

.page-footer .footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

.page-footer .footer-mail .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 20px;
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.page-footer .footer-mail:hover {
  color: var(--footer-accent);
}

.page-footer .footer-mail:hover .material-symbols-outlined {
  color: var(--footer-accent);
}

.page-footer .footer-bottom {
  margin-top: 40px;
  padding: 0;
  width: 100%;
  text-align: center;
}

.page-footer .footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #667085;
  line-height: 1.5;
  white-space: nowrap;
}

.page-footer .fz152_text {
  margin: 0;
  font-size: 12px;
  color: #667085;
  line-height: 1.5;
  white-space: nowrap;
}

.page-footer .footer-bottom a {
  text-decoration: none;
  color: #667085;
  font-weight: 600;
  transition: color 0.2s ease;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-footer .footer-bottom a:hover {
  color: var(--footer-accent);
  text-decoration: none;
}

.page-footer .footer-subscribe-row {
  position: relative;
  margin: 0;
  padding: 22px 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(246, 245, 242, 0.52)),
    radial-gradient(120% 140% at 0% 0%, rgba(252, 196, 59, 0.32), transparent 60%),
    radial-gradient(120% 140% at 100% 0%, rgba(242, 127, 13, 0.28), transparent 62%),
    radial-gradient(120% 140% at 100% 100%, rgba(34, 197, 94, 0.24), transparent 60%),
    radial-gradient(120% 140% at 0% 100%, rgba(59, 130, 246, 0.28), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0, rgba(255, 255, 255, 0.34) 8px, rgba(255, 255, 255, 0.16) 8px, rgba(255, 255, 255, 0.16) 16px);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 -10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.page-footer .footer-subscribe-row::before,
.page-footer .footer-subscribe-row::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.7;
  pointer-events: none;
}

.page-footer .footer-subscribe-row::before {
  background: radial-gradient(circle, rgba(252, 196, 59, 0.35), transparent 60%);
  top: -120px;
  left: -80px;
}

.page-footer .footer-subscribe-row::after {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.32), transparent 60%);
  bottom: -140px;
  right: -80px;
}

.page-footer .footer-subscribe-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 1180px) !important;
  min-width: 0 !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0;
}

.page-footer .footer-subscribe-row .subscript {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

.page-footer .subscribe-visual {
  width: clamp(44px, 6vw, 64px);
  height: clamp(44px, 6vw, 64px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
  filter: drop-shadow(0 10px 18px rgba(59, 130, 246, 0.25)) drop-shadow(0 8px 14px rgba(242, 127, 13, 0.18));
  flex: 0 0 auto;
}

.page-footer .subscribe-visual__icon {
  width: 100%;
  height: 100%;
  display: block;
}

.page-footer .subscribe-visual__icon path {
  stroke: none;
}

.page-footer .subscribe-text {
  font-size: 15px;
  color: #344054;
  font-weight: 700;
  line-height: 1.4;
  flex: 0 1 390px;
}

.page-footer .mailing-subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  flex: 1 1 360px;
}

.page-footer .footer-subscribe-row form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  flex: 1 1 360px;
  margin: 0;
}

.page-footer .mailing-subscribe-form input[type="text"],
.page-footer .mailing-subscribe-form input[type="email"],
.page-footer .mailing-subscribe-form input[name="sbs_mail"],
.page-footer .footer-subscribe-row input[type="email"],
.page-footer .footer-subscribe-row input[name="sbs_mail"] {
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08), 0 10px 18px rgba(15, 23, 42, 0.08);
  min-width: 220px;
  font-size: 14px;
  flex: 1 1 220px;
  color: #1f2937;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-footer .mailing-subscribe-form input[type="text"]::placeholder,
.page-footer .mailing-subscribe-form input[type="email"]::placeholder,
.page-footer .mailing-subscribe-form input[name="sbs_mail"]::placeholder,
.page-footer .footer-subscribe-row input[type="email"]::placeholder,
.page-footer .footer-subscribe-row input[name="sbs_mail"]::placeholder {
  color: #9aa3b2;
}

.page-footer .mailing-subscribe-form input[type="text"]:focus,
.page-footer .mailing-subscribe-form input[type="email"]:focus,
.page-footer .mailing-subscribe-form input[name="sbs_mail"]:focus,
.page-footer .footer-subscribe-row input[type="email"]:focus,
.page-footer .footer-subscribe-row input[name="sbs_mail"]:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18), 0 12px 20px rgba(15, 23, 42, 0.12);
}

.page-footer .mailing-subscribe-form input[type="submit"],
.page-footer .mailing-subscribe-form button,
.page-footer .mailing-subscribe-form input[name="sbs_submit"],
.page-footer .footer-subscribe-row input[type="submit"],
.page-footer .footer-subscribe-row input[name="sbs_submit"],
.page-footer .footer-subscribe-row button {
  padding: 10px 30px;
  margin-left: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, #facc15 0%, #f97316 55%, #fb923c 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 20px 38px rgba(242, 127, 13, 0.38);
  width: 6em;
  flex: 0 0 auto;
  font-size: 15px;
  letter-spacing: 0.2px;
}

.page-footer .mailing-subscribe-form input[type="submit"]:hover,
.page-footer .mailing-subscribe-form button:hover,
.page-footer .mailing-subscribe-form input[name="sbs_submit"]:hover,
.page-footer .footer-subscribe-row input[type="submit"]:hover,
.page-footer .footer-subscribe-row input[name="sbs_submit"]:hover,
.page-footer .footer-subscribe-row button:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px rgba(242, 127, 13, 0.44);
  background: linear-gradient(135deg, #fde047 0%, #fdba74 55%, #f97316 100%);
}

@media (max-width: 680px) {
  .page-footer .subscribe-visual {
    width: 44px;
    height: 44px;
  }
}

.page-footer .btn-hide-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5c6478;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.page-footer .btn-hide-subscribe:hover {
  color: var(--footer-accent);
}

@media (max-width: 680px) {
  .page-footer .footer-menu-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 520px) {
  .page-footer .footer-menu-container {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .page-footer .footer-bottom {
    margin-top: 16px;
  }

  .page-footer .mailing-subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .page-footer .footer-contact .social-container {
    justify-content: flex-start;
  }
  
  .page-footer .subscribe-visual {
    display: none;
  }


  .page-footer .btn-hide-subscribe {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-footer .footer-bottom p,
  .page-footer .fz152_text {
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .page-footer .footer-menu-container {
    grid-template-columns: 1fr;
  }
}
