/*
Theme Name: Menopauza Coach
Author: Kiss Krisztina
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: menopauza-coach
*/

.admin-bar header.sticky { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar header.sticky { top: 46px; }
}

.mc-prose > * + * { margin-top: 1rem; }
.mc-prose h2 { font-family: var(--font-serif, "Playfair Display", serif); font-size: 1.5rem; font-weight: 700; color: #3e3a36; margin-top: 2rem; }
.mc-prose h3 { font-family: var(--font-serif, "Playfair Display", serif); font-size: 1.25rem; font-weight: 600; color: #3e3a36; margin-top: 1.5rem; }
.mc-prose p { line-height: 1.75; }
.mc-prose ul { list-style: disc; padding-left: 1.25rem; }
.mc-prose ol { list-style: decimal; padding-left: 1.25rem; }
.mc-prose li + li { margin-top: .35rem; }
.mc-prose a { color: #9b5568; text-decoration: underline; }
.mc-prose strong { color: #3e3a36; }
.mc-prose img { border-radius: 1rem; }
.mc-prose blockquote { border-left: 3px solid #c5d3c6; padding-left: 1rem; font-style: italic; color: #5a554e; }

.mc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.mc-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.25rem; height: 2.25rem; padding: 0 .6rem;
  border-radius: .75rem; border: 1px solid #ecdcc0;
  font-size: .8rem; font-weight: 600; color: #5a554e; background: #fff;
  text-decoration: none; transition: all .15s ease;
}
.mc-pagination .page-numbers:hover { background: #f5f1e9; }
.mc-pagination .page-numbers.current { background: #5c7a5e; border-color: #5c7a5e; color: #fff; }
.mc-pagination .page-numbers.dots { border: 0; background: transparent; }

:root {
  --mc-green-1:        #bfd4b2;
  --mc-green-2:        #a3bf96;
  --mc-green-3:        #88a87c;
  --mc-green-ink:      #2c3e2e;

  --mc-green-ink-soft: #3c4a36;
  --mc-green-ink-card: #46583f;
  --mc-green-accent:   #4a6b4c;
}

.mc-green-panel {
  background: radial-gradient(120% 120% at 50% 0%, var(--mc-green-1) 0%, var(--mc-green-2) 52%, var(--mc-green-3) 100%);
  color: var(--mc-green-ink);
}

.mc-green-footer {
  background: radial-gradient(120% 120% at 50% 0%, var(--mc-green-1) 0%, var(--mc-green-2) 100%);
  color: var(--mc-green-ink-soft);
}

.mc-glow-white { background: rgba(255, 255, 255, .35); }
.mc-glow-blush { background: rgba(217, 169, 160, .18); }

.mc-green-title      { color: var(--mc-green-ink); }
.mc-green-lead       { color: var(--mc-green-ink-soft); }
.mc-green-card-title { color: var(--mc-green-ink); }
.mc-green-card-text  { color: var(--mc-green-ink-card); }
.mc-green-quote      { color: var(--mc-green-ink); }

.mc-green-card {
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .3s ease, border-color .3s ease;
}
.mc-green-card:hover {
  background: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .8);
}
.mc-green-icon {
  background: rgba(44, 62, 46, .12);
  color: var(--mc-green-accent);
  transition: background .3s ease, color .3s ease;
}
.mc-green-card:hover .mc-green-icon {
  background: rgba(44, 62, 46, .2);
  color: var(--mc-green-ink);
}

.mc-green-deco { color: rgba(255, 255, 255, .45); }

.mc-green-divider { border-color: rgba(44, 62, 46, .22); }
.mc-green-cta     { color: var(--mc-green-accent); transition: color .2s ease; }
.mc-green-cta:hover { color: var(--mc-green-ink); }

.mc-green-footer h4 { color: var(--mc-green-ink); }
.mc-green-footer a  { color: var(--mc-green-ink-soft); transition: color .2s ease; }
.mc-green-footer a:hover { color: var(--mc-green-ink); }
.mc-green-chip {
  background: rgba(44, 62, 46, .12);
  color: var(--mc-green-ink);
  transition: background .2s ease;
}
.mc-green-chip:hover { background: rgba(44, 62, 46, .2); }

.mc-slides { position: relative; }
.mc-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.mc-slide.is-active {
  position: relative;
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease, visibility 0s;
}

.mc-dot {
  width: .5rem; height: .5rem; border-radius: 9999px;
  background: rgba(62, 58, 54, .22);
  border: 0; padding: 0; cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.mc-dot.is-active { background: #5c7a5e; width: 1.35rem; }

@media (prefers-reduced-motion: reduce) {
  .mc-slide, .mc-slide.is-active { transition: none; }
}

.mc-contact-form label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #47433d;
  margin-bottom: .35rem;
}
.mc-contact-form input[type="text"],
.mc-contact-form input[type="email"],
.mc-contact-form input[type="tel"],
.mc-contact-form input[type="url"],
.mc-contact-form input[type="number"],
.mc-contact-form input[type="date"],
.mc-contact-form select,
.mc-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .7rem .9rem;
  border: 1px solid #ecdcc0;
  border-radius: .75rem;
  background: #fff;
  color: #3e3a36;
  font-family: inherit;
  font-size: .875rem;
  line-height: 1.5;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mc-contact-form textarea { min-height: 8rem; resize: vertical; }
.mc-contact-form input:focus,
.mc-contact-form select:focus,
.mc-contact-form textarea:focus {
  outline: none;
  border-color: #5c7a5e;
  box-shadow: 0 0 0 3px rgba(92, 122, 94, .15);
}
.mc-contact-form ::placeholder { color: #a8a29e; }

.mc-contact-form input[type="submit"],
.mc-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .95rem 2rem;
  border: 0;
  border-radius: .75rem;
  background: #5c7a5e;
  color: #fff;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mc-contact-form input[type="submit"]:hover,
.mc-contact-form button[type="submit"]:hover { background: #445c46; }
.mc-contact-form input[type="submit"]:disabled,
.mc-contact-form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }

.mc-contact-form input[type="checkbox"],
.mc-contact-form input[type="radio"] {
  width: auto;
  margin-right: .45rem;
  accent-color: #5c7a5e;
}
.mc-contact-form label:has(input[type="checkbox"]) {
  font-weight: 400;
  font-size: .75rem;
  color: #6f6a62;
  line-height: 1.6;
}

.mc-contact-form form > * + * { margin-top: 1rem; }

.mc-contact-form .fluent-form .error {
  color: #9b5568;
  font-size: .75rem;
  margin-top: .3rem;
}
.mc-contact-form .ff-message-success {
  font-size: .85rem;
  margin: 1rem 0 0 !important;
}

.mc-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.mc-about-photo { order: 1; }
.mc-about-main  { order: 2; }
.mc-about-side  { order: 3; }

@media (min-width: 1024px) {
  .mc-about-grid {
    grid-template-columns: 7fr 5fr;
    column-gap: 3rem;
    row-gap: 1.5rem;
  }

  .mc-about-main { grid-column: 1; grid-row: 1 / -1; }

  .mc-about-side { grid-column: 2; grid-row: 1; }

  .mc-about-grid.has-photo .mc-about-photo { grid-column: 2; grid-row: 1; }
  .mc-about-grid.has-photo .mc-about-side  { grid-column: 2; grid-row: 2; }

  .mc-about-grid.has-photo { grid-template-rows: auto 1fr; }
}

#booking-section,
#services-view section[id],
#home-view section[id] {
  scroll-margin-top: 6rem;
}

.admin-bar #booking-section {
  scroll-margin-top: 8rem;
}
@media screen and (max-width: 782px) {
  .admin-bar #booking-section { scroll-margin-top: 9rem; }
}

.mc-contact-form .ff-el-form-control,
.mc-contact-form .frm-fluent-form input[type="text"],
.mc-contact-form .frm-fluent-form input[type="email"],
.mc-contact-form .frm-fluent-form input[type="tel"],
.mc-contact-form .frm-fluent-form select,
.mc-contact-form .frm-fluent-form textarea {
  padding: .7rem .9rem !important;
  border: 1px solid #ecdcc0 !important;
  border-radius: .75rem !important;
  background-color: #fff !important;
  color: #3e3a36 !important;
  font-family: inherit !important;
  font-size: .875rem !important;
  line-height: 1.5 !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}
.mc-contact-form .ff-el-form-control:focus,
.mc-contact-form .frm-fluent-form select:focus,
.mc-contact-form .frm-fluent-form textarea:focus {
  border-color: #5c7a5e !important;
  box-shadow: 0 0 0 3px rgba(92, 122, 94, .15) !important;
  outline: none !important;
}

.mc-contact-form select,
.mc-contact-form .ff-el-form-control select,
.mc-contact-form select.ff-el-form-control {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c7a5e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .9rem center !important;
  background-size: 1rem 1rem !important;
  padding-right: 2.6rem !important;
  cursor: pointer;
}

.mc-contact-form select[multiple] { background-image: none !important; padding-right: .9rem !important; }

.mc-contact-form .ff-el-input--label label,
.mc-contact-form .frm-fluent-form label {
  font-size: .8rem !important;
  font-weight: 600 !important;
  color: #47433d !important;
  margin-bottom: .35rem !important;
}

.mc-contact-form .ff-el-is-required.asterisk-right label:after,
.mc-contact-form .ff-el-is-required.asterisk-left label:before,
.mc-contact-form .ff-el-is-required label:after {
  color: #b06577 !important;
}

.mc-contact-form a,
.mc-contact-form .ff-el-form-check-label a,
.mc-contact-form label a {
  color: #9b5568 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  transition: color .15s ease;
}
.mc-contact-form a:hover,
.mc-contact-form label a:hover { color: #854457 !important; }

.mc-contact-form .ff-el-form-check-label,
.mc-contact-form .ff-el-form-check label {
  font-size: .78rem !important;
  font-weight: 400 !important;
  color: #6f6a62 !important;
  line-height: 1.6 !important;
}
.mc-contact-form .ff-el-form-check input[type="checkbox"] { accent-color: #5c7a5e; }

.mc-contact-form .ff-btn-submit,
.mc-contact-form .ff_btn_style {
  width: 100% !important;
  padding: .95rem 2rem !important;
  border: 0 !important;
  border-radius: .75rem !important;
  background: #5c7a5e !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .2s ease !important;
}
.mc-contact-form .ff-btn-submit:hover,
.mc-contact-form .ff_btn_style:hover { background: #445c46 !important; }

.mc-contact-form .ff-el-group { margin-bottom: 1.1rem !important; }
.mc-contact-form .ff-t-cell { padding-left: .4rem; padding-right: .4rem; }

.mc-contact-form .ff-el-is-error .ff-el-form-control { border-color: #b06577 !important; }
.mc-contact-form .error.text-danger,
.mc-contact-form .ff-el-error { color: #9b5568 !important; font-size: .75rem !important; }
.mc-contact-form .ff-message-success {
  border: 1px solid #c5d3c6 !important;
  background: #f1f5f1 !important;
  border-radius: .75rem !important;
  padding: 1rem !important;
  color: #2f4031 !important;
}

.mc-legal-body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  font-size: .9rem;
  line-height: 1.75;
  color: #44403c;
  overflow-wrap: anywhere;
}
.mc-legal-body > * + * { margin-top: .85rem; }
.mc-legal-body h2 {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 1.3rem; font-weight: 700; color: #3e3a36; line-height: 1.35;
  margin-top: 2.5rem; padding-bottom: .5rem; border-bottom: 1px solid #ecdcc0;
}
.mc-legal-body h2.mc-legal-part {
  font-size: 1.55rem; margin-top: 3.5rem; padding: 1rem 1.25rem;
  border: 0; border-radius: 1rem; background: #f5f1e9;
}
.mc-legal-body h3 {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 1.08rem; font-weight: 700; color: #3e3a36; margin-top: 1.75rem;
}
.mc-legal-body h4 { font-size: .9rem; font-weight: 700; color: #3e3a36; margin-top: 1.25rem; }
.mc-legal-body h2:first-child { margin-top: 0; }
.mc-legal-body strong { color: #3e3a36; }
.mc-legal-body a { color: #9b5568; text-decoration: underline; text-underline-offset: 2px; }
.mc-legal-body a:hover { color: #854457; }
.mc-legal-body ul { list-style: disc; padding-left: 1.4rem; }
.mc-legal-body ol { list-style: decimal; padding-left: 1.6rem; }
.mc-legal-body ol[type="a"] { list-style: lower-alpha; }
.mc-legal-body li + li { margin-top: .3rem; }
.mc-legal-body ul.mc-legal-plain { list-style: none; padding-left: 0; }
.mc-legal-body [id] { scroll-margin-top: 6rem; }
.mc-legal-body .mc-legal-free { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.mc-legal-free > * + * { margin-top: .85rem; }
.mc-legal-free > h2:first-child { margin-top: 3.5rem; }
.mc-legal-cards { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 768px) {
  .mc-legal-cards { grid-template-columns: 1fr 1fr; }
}
.mc-legal-card {
  background: #fff; border: 1px solid #ecdcc0; border-radius: .9rem;
  padding: 1rem 1.1rem; font-size: .78rem; line-height: 1.65;
}
@media print {
  .mc-legal-body { font-size: 10.5pt; color: #000; }
  .mc-legal-card { break-inside: avoid; }
}

.mc-faq > * + * { margin-top: .75rem; }
.mc-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; cursor: pointer; list-style: none;
}
.mc-faq summary::-webkit-details-marker { display: none; }
.mc-faq summary:focus-visible { outline: 2px solid #5c7a5e; outline-offset: 2px; border-radius: 1rem; }
.mc-faq .mc-faq-icon { transition: transform .2s ease; }
.mc-faq details[open] .mc-faq-icon { transform: rotate(45deg); }
.mc-faq details > p { padding: 0 1.4rem 1.25rem; }

.mc-lotus {
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url(assets/lotus-mask.svg) center / contain no-repeat;
  mask: url(assets/lotus-mask.svg) center / contain no-repeat;
}
