@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');
yc-section{
  --reading-mode-width:min(60ch, 100%);
}
yc-section:has(.page[data-page-width=reading-mode]) yc-section-head, yc-section:has(form) yc-section-head{
  width:var(--reading-mode-width);
  margin-inline:auto;
}
yc-section .page[data-page-width=full-width]{
  width:100%;
}
yc-section .page[data-page-width=reading-mode]{
  width:var(--reading-mode-width);
  margin-inline:auto;
}
yc-section .page form{
  width:var(--reading-mode-width);
  margin-inline:auto;
  display:grid;
  grid-gap:var(--gap-lg);
  gap:var(--gap-lg);
}
yc-section .page form .form-group{
  display:flex;
  gap:var(--gap-lg);
}
yc-section .page form .form-group > *{
  flex:1;
}
yc-section .page form button{
  order:2;
}
yc-section .page form textarea{
  max-height:300px;
}
yc-section .page form [data-captcha]{
  order:1;
  display:flex;
  justify-content:center;
  min-height:85px;
}
yc-section .page .success,
yc-section .page .error{
  display:flex;
  align-items:center;
  gap:var(--gap-md);
  font-size:var(--text-sm);
}
yc-section .page .success{
  margin-block-end:2em;
}
yc-section .page .success .icon{
  color:var(--color-success-500);
}
yc-section .page .error .icon{
  color:var(--color-error-500);
}
yc-section .page .errors{
  display:flex;
  flex-direction:column;
  gap:var(--gap-sm);
  list-style:disc;
  list-style-position:inside;
  padding-inline-start:1em;
  font-size:var(--text-sm);
  color:var(--color-error-500);
}
yc-section .page div,
yc-section .page figure,
yc-section .page picture,
yc-section .page img{
  max-width:100% !important;
}

@media (max-width: 640px){
  yc-section .page form{
    gap:var(--gap-xl);
  }
  yc-section .page form .form-group{
    flex-direction:column;
    gap:var(--gap-xl);
  }
}

/* =========================================
   MORONOVA — PREMIUM EDITORIAL PAGE STYLE
   ========================================= */

/* Load elegant editorial fonts */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* Main page title */
yc-section:has(.page) > yc-section-head h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* Main page content */
yc-section .page {
  color: #272522;
}

/* Paragraphs and ordinary text */
yc-section .page p,
yc-section .page li {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.65;
}

/* Section headings within pages */
yc-section .page h2,
yc-section .page h3,
yc-section .page h4 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

yc-section .page h2 {
  font-size: 29px;
}

yc-section .page h3 {
  font-size: 24px;
}

/* Links within informational pages */
yc-section .page a {
  color: #272522;
  text-underline-offset: 4px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  yc-section .page p,
  yc-section .page li {
    font-size: 19px;
  }

  yc-section .page h2 {
    font-size: 25px;
  }

  yc-section .page h3 {
    font-size: 22px;
  }
}
/* =========================================
   MORONOVA — PREMIUM EDITORIAL PAGES
   ========================================= */

/* Page container: ivory background and soft corners */
yc-section:has(> .page) {
  background-color: #F8F6F2 !important;
  border-radius: 18px;
  max-width: 1100px;
  width: calc(100% - 40px);
  margin: 35px auto 55px;
  padding: 45px 55px 60px;
  box-sizing: border-box;
}

/* Elegant main page title */
yc-section:has(> .page)>yc-section-head h1 {
  font-family: "Bodoni Moda", Georgia, serif !important;
  font-size: clamp(32px, 4vw, 44px) !important;
  font-weight: 500 !important;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
}

/* Decorative divider beneath page title */
yc-section:has(> .page)>yc-section-head {
  padding-bottom: 25px;
  margin-bottom: 35px;
  border-bottom: 1px solid #D8D1C6;
}

/* Comfortable reading width */
yc-section:has(> .page)>.page {
  max-width: 850px;
  width: 100%;
  margin-inline: auto;
  color: #272522;
}

/* Paragraph spacing */
yc-section:has(> .page) .page p {
  margin-bottom: 18px;
  line-height: 1.8;
}

/* Headings inside page content */
yc-section:has(> .page) .page h2,
yc-section:has(> .page) .page h3 {
  color: #171614;
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Refined links */
yc-section:has(> .page) .page a {
  color: #272522;
  text-underline-offset: 4px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  yc-section:has(> .page) {
    width: calc(100% - 24px);
    margin: 18px auto 35px;
    padding: 28px 20px 40px;
    border-radius: 14px;
  }

  yc-section:has(> .page)>yc-section-head {
    padding-bottom: 18px;
    margin-bottom: 24px;
  }

  yc-section:has(> .page)>yc-section-head h1 {
    font-size: 30px !important;
  }

  yc-section:has(> .page) .page p {
    margin-bottom: 15px;
    line-height: 1.7;
  }
}
/* =========================================
   MORONOVA — EDITORIAL CONTACT PAGE
   ========================================= */

.moronova-contact-intro {
  text-align: center;
  margin: 0 auto 55px;
  max-width: 750px;
}

.moronova-contact-eyebrow {
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 2px;
  color: #82776A;
  margin-bottom: 20px;
}

.moronova-contact-intro h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 400;
  color: #171614;
  margin: 0 0 15px;
}

.moronova-contact-tagline {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 23px !important;
  font-style: italic;
  color: #60584F;
}

.moronova-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.moronova-contact-info h3 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 22px;
}

.moronova-contact-info p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.6;
  color: #60584F;
  margin-bottom: 18px;
}

.moronova-contact-info .moronova-contact-signature {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 35px;
  color: #171614;
}

.moronova-contact-form {
  background: #FFFFFF;
  padding: 30px;
  border: 1px solid #E7E0D7;
  border-radius: 12px;
  min-width: 0;
}

.moronova-contact-form form {
  width: 100% !important;
}

.moronova-contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.moronova-contact-form .field {
  min-width: 0;
}

.moronova-contact-form input,
.moronova-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
}

.moronova-contact-form button[type="submit"] {
  background: #171614;
  color: #FFFFFF;
  border-radius: 6px;
  padding: 14px 24px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .moronova-contact-intro {
    margin-bottom: 35px;
  }

  .moronova-contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .moronova-contact-info h3 {
    font-size: 28px;
  }

  .moronova-contact-form {
    padding: 20px;
  }
}
/* Hide duplicate native heading on Contact page only */
yc-section:has(.moronova-contact-grid)>yc-section-head {
  display: none;
}

/* Allow the two-column contact layout to use the page width */
yc-section:has(.moronova-contact-grid)>.page {
  max-width: 1000px;
  width: 100%;
}