/* ===========================================================================
   guestetica.fr «Guestetica» — premium cosmetic-surgery / medical-travel theme
   over Spectre.css
   Tokens from design/specs.md:
   surface #F7F3F1 / accent blush #CFA6B4 / dark #1F1D22
   text #4F4A4E / subtle #E6D9DE
   Headings: Cormorant Garamond · Body: Manrope
   =========================================================================== */
:root {
  --gst-surface: #F7F3F1;
  --gst-card: #FFFFFF;
  --gst-blush: #CFA6B4;
  --gst-blush-deep: #B5879A;
  --gst-dark: #1F1D22;
  --gst-ink: #4F4A4E;
  --gst-muted: #8A8189;
  --gst-subtle: #E6D9DE;
  --gst-radius: 12px;
  --gst-shadow: 0 6px 22px rgba(31,29,34,0.07);
  --gst-shadow-hover: 0 14px 34px rgba(31,29,34,0.14);
}
body { background: var(--gst-surface); color: var(--gst-ink); font-family: "Manrope", Arial, sans-serif; font-size: 17px; font-weight: 500; line-height: 1.65; }
h1,h2,h3,h4,h5,h6 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--gst-dark); font-weight: 600; line-height: 1.2; }
/* Typographic scale (design/specs.md): h1 56/600 · h2 40/600 · h3 28/600 · h4 20/600 · body 17/500 · small 13/500 */
h1 { font-size: 56px; font-weight: 600; }
h2 { font-size: 40px; font-weight: 600; }
h3 { font-size: 28px; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
small { font-size: 13px; font-weight: 500; }
@media (max-width: 768px) { h1 { font-size: 40px; } h2 { font-size: 30px; } h3 { font-size: 24px; } }

/* header */
.gst-header { position: sticky; top: 0; z-index: 60; background: rgba(247,243,241,0.92); backdrop-filter: blur(8px); color: var(--gst-dark); box-shadow: 0 1px 0 var(--gst-subtle); }
.gst-header__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1.25rem; flex-wrap: wrap; }
.gst-brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.gst-brand__title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.7rem; color: var(--gst-dark); letter-spacing: 0.03em; }
.gst-brand__sub { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gst-blush-deep); }
.gst-nav { display:flex; }
.gst-nav ul { display: flex; flex-wrap: wrap; gap: 0.1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.gst-nav li { margin: 0; position: relative; }
.gst-nav a { display: block; padding: 0.45rem 0.8rem; border-radius: 6px; color: var(--gst-ink); text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; transition: color .2s, background .2s; }
.gst-nav a:hover, .gst-nav a.active { color: var(--gst-blush-deep); background: var(--gst-subtle); }
.gst-nav .has-children > .submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--gst-card); border: 1px solid var(--gst-subtle); border-radius: var(--gst-radius); box-shadow: var(--gst-shadow); padding: 0.3rem; z-index: 70; flex-direction: column; }
.gst-nav .has-children:hover > .submenu, .gst-nav .has-children:focus-within > .submenu { display: flex; }
.gst-nav .submenu a { color: var(--gst-ink); white-space: nowrap; font-weight: 500; }
.gst-nav .submenu a:hover { background: var(--gst-surface); color: var(--gst-blush-deep); }
.gst-toggle { display: none; background: none; border: 1px solid var(--gst-subtle); color: var(--gst-dark); border-radius: 6px; padding: 0.25rem 0.6rem; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 980px) {
  .gst-toggle { display: block; }
  .gst-nav { display: none; flex-basis: 100%; }
  #gst-nav-toggle:checked ~ .gst-nav { display: block; }
  .gst-nav ul { flex-direction: column; align-items: stretch; }
  .gst-nav .has-children > .submenu { position: static; box-shadow: none; border: none; padding-left: 1rem; }
}

/* hero */
.gst-hero { background: linear-gradient(120deg, rgba(31,29,34,0.55), rgba(181,135,154,0.55)), url("/assets/images/img_fec44ce0d0a6.png") center/cover no-repeat; color: #fff; border-radius: 0 0 18px 18px; padding: 4.5rem 1.5rem; text-align: center; margin-bottom: 2.2rem; }
.gst-hero h1 { color: #fff; font-size: clamp(2.2rem,5vw,3.5rem); margin: 0 0 0.5rem; }
.gst-hero p { color: #fbeef2; max-width: 62ch; margin: 0 auto; font-size: 1.05rem; }
.gst-hero::after { content:""; display:block; width:90px; height:3px; background:#fff; opacity:0.7; margin:1.2rem auto 0; border-radius:4px; }

/* layout */
.gst-wrap { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.gst-cols { display: grid; grid-template-columns: 1fr 300px; gap: 2.4rem; align-items: start; }
@media (max-width: 980px) { .gst-cols { grid-template-columns: 1fr; } }
.gst-section-title { font-size: 2.2rem; margin: 0 0 1.1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--gst-blush); display: inline-block; }

/* sidebar */
.gst-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.gst-panel { background: var(--gst-card); border: 1px solid var(--gst-subtle); border-radius: var(--gst-radius); box-shadow: var(--gst-shadow); padding: 1.2rem 1.35rem; }
.gst-panel h3 { font-size: 1.4rem; margin: 0 0 0.7rem; color: var(--gst-dark); }
.gst-panel ul { list-style: none; margin: 0; padding: 0; }
.gst-panel li { margin: 0 0 0.45rem; }
.gst-panel a { color: var(--gst-ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.gst-panel a:hover { color: var(--gst-blush-deep); }

/* content */
.content-prose { max-width: 100%; }
.content-copy { margin: 0 0 1rem; }
.content-heading { margin: 1.8rem 0 0.7rem; }
.content-prose a, .content-copy a, .content-mini-card h3 a { color: var(--gst-blush-deep); text-decoration: underline; text-decoration-color: rgba(207,166,180,0.55); text-underline-offset: 2px; }
.content-prose a:hover, .content-copy a:hover { color: var(--gst-dark); }
.content-figure { margin: 1rem 0; }
.content-figure img, .content-gallery img { max-width: 100%; height: auto; border-radius: 10px; }
.content-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 0.8rem; margin: 1rem 0; }
.content-gallery__item { margin: 0; }
.content-gallery__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
figcaption { font-size: 0.82rem; color: var(--gst-muted); margin-top: 0.25rem; }
.content-list { padding-left: 1.2rem; margin: 0 0 1rem; }
.content-table-wrap { overflow-x: auto; margin: 1rem 0; }
.content-table { width: 100%; border-collapse: collapse; background: var(--gst-card); }
.content-table td, .content-table th { padding: 0.5rem 0.7rem; border: 1px solid var(--gst-subtle); text-align: left; vertical-align: top; }
.content-table th { background: var(--gst-subtle); color: var(--gst-dark); }

/* cards */
.gst-card-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.2rem; }
.content-mini-card { background: var(--gst-card); border: 1px solid var(--gst-subtle); border-radius: var(--gst-radius); box-shadow: var(--gst-shadow); padding: 1.2rem 1.3rem; transition: transform .2s, box-shadow .2s; }
.content-mini-card:hover { transform: translateY(-3px); box-shadow: var(--gst-shadow-hover); }
.content-mini-card h3 { font-size: 1.35rem; margin: 0 0 0.3rem; }
.content-mini-card p { margin: 0; color: var(--gst-muted); font-size: 0.9rem; }

/* breadcrumbs */
.gst-breadcrumbs { margin: 0 0 1rem; font-size: 0.85rem; }
.gst-breadcrumbs ul { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.gst-breadcrumbs li::after { content: "›"; margin-left: 0.35rem; color: var(--gst-muted); }
.gst-breadcrumbs li:last-child::after { content: ""; }
.gst-breadcrumbs a { color: var(--gst-blush-deep); text-decoration: none; }

/* article */
.gst-article { background: var(--gst-card); border: 1px solid var(--gst-subtle); border-radius: var(--gst-radius); box-shadow: var(--gst-shadow); padding: 1.8rem 2rem; }
.gst-article__meta { color: var(--gst-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.gst-article__summary { border-left: 4px solid var(--gst-blush); background: var(--gst-surface); padding: 0.9rem 1.2rem; border-radius: 0 8px 8px 0; margin: 0 0 1.4rem; }
.gst-article__image { float: right; max-width: 40%; margin: 0 0 1rem 1.4rem; border-radius: 10px; }
@media (max-width: 600px) { .gst-article__image { float: none; max-width: 100%; margin: 0 0 1rem; } }
.gst-toc { background: var(--gst-surface); border: 1px solid var(--gst-subtle); border-radius: 8px; padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; }
.gst-toc ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.gst-toc a { color: var(--gst-blush-deep); }

/* category grid */
.gst-cat-grid { display: grid; gap: 1.4rem; }
.gst-cat-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.gst-cat-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
@media (max-width: 800px) { .gst-cat-grid.cols-2, .gst-cat-grid.cols-3 { grid-template-columns: 1fr; } }
.gst-cat-card { display: flex; flex-direction: column; overflow: hidden; }
.gst-cat-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.gst-cat-card__body { padding: 1.1rem 1.2rem; }
.gst-cat-card__body h3 a { color: var(--gst-dark); text-decoration: none; }
.gst-cat-card__body h3 a:hover { color: var(--gst-blush-deep); }
.gst-readmore { display: inline-block; margin-top: 0.5rem; color: var(--gst-blush-deep); font-weight: 600; text-decoration: none; }
.gst-readmore:hover { text-decoration: underline; }

/* footer */
.gst-footer { background: var(--gst-dark); color: #d8cdd2; margin-top: 3rem; padding: 2.8rem 1.25rem; border-top: 3px solid var(--gst-blush); }
.gst-footer__inner { max-width: 1200px; margin: 0 auto; }
.gst-footer h2 { color: #fff; margin: 0 0 0.5rem; font-size: 1.6rem; }
.gst-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1rem 0; }
.gst-footer__links a { color: #d8cdd2; text-decoration: none; font-size: 0.85rem; }
.gst-footer__links a:hover { text-decoration: underline; color: #fff; }
.gst-footer__copy { color: #9b8e95; font-size: 0.8rem; margin-top: 1rem; }
