html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  text-underline-offset: 0.22em;
}

.yugin-header {
  border-bottom: 1px solid rgba(49, 39, 30, 0.10);
  backdrop-filter: blur(12px);
}

.yugin-logo-text {
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.yugin-eyebrow {
  color: var(--wp--preset--color--olive);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.yugin-card {
  border: 1px solid rgba(49, 39, 30, 0.12);
  border-radius: 1.4rem;
  box-shadow: 0 20px 60px rgba(49, 39, 30, 0.06);
  overflow: hidden;
}

.yugin-soft-card {
  border: 1px solid rgba(49, 39, 30, 0.10);
  border-radius: 1.2rem;
}

.yugin-meta {
  color: var(--wp--preset--color--muted-ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yugin-footer {
  border-top: 1px solid rgba(49, 39, 30, 0.10);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: currentColor;
}

.wp-block-image img {
  border-radius: inherit;
}

@media (max-width: 780px) {
  .yugin-header .wp-block-group {
    gap: 1rem;
  }

  .yugin-hero {
    min-height: auto;
  }
}

/* Page option: Masquer le titre */
body.yugin-hide-title .yugin-page-title {
    display: none !important;
}
