/* Family guides ("Guias para famílias"), Nov 2026. Loaded only by guide pages (src/layouts/Guide.astro).
   Everything is scoped to .g-guide so the theme (avada.css / site.css) is untouched and doesn't leak in.
   Brand (Nov 2026 palette, 5 colours + white): text, headings and dark bands #24414B, teal #5F99AF (borders, bars),
   light teal #91B6BB (lines, pills), pink #D2299A (buttons), light grey #F4F2F3 (soft backgrounds). No other colours. Poppins throughout. */
.g-guide{--teal:#24414B;--teal-d:#D2299A;--brand:#5F99AF;--accent:#D2299A;--text:#24414b;--ink:#24414B;--muted:#24414b;
  --bg-l:#f4f2f3;--pale:#f4f2f3;--pale2:#91B6BB;--line:#91b6bb;--line-d:#5f99af;
  font-family:Poppins,Arial,sans-serif;color:var(--text);background:#FFF;font-size:16px;line-height:1.7}
.g-guide *,.g-guide *::before,.g-guide *::after{box-sizing:border-box}
.g-guide h1,.g-guide h2,.g-guide h3,.g-guide p,.g-guide ul,.g-guide ol,.g-guide figure,.g-guide blockquote{margin:0}
.g-guide h1,.g-guide h2,.g-guide h3,.g-guide blockquote{font-family:Poppins,Arial,sans-serif !important;letter-spacing:0;text-transform:none}
.g-guide a{color:var(--teal);text-decoration:underline;text-underline-offset:2px}
.g-guide a:hover{color:var(--teal-d)}
.g-guide img{max-width:100%;height:auto;display:block}
.g-guide strong{font-weight:600}
.g-i{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.g-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* site.js sizes headings inline ("responsive typography"); guide heading sizes below use !important to win. */
/* Full-bleed bands: the theme's page CSS pads #main on the sides */
.g-page #main{padding-left:0 !important;padding-right:0 !important}
.g-page #main>.g-guide{width:100%}
/* Layout */
.g-guide .g-wrap{max-width:1120px;margin:0 auto;padding:56px 24px 24px}
.g-guide .g-chapter{display:flex;flex-direction:column;gap:24px}
.g-guide .g-chapter--after-band{padding-top:64px}
.g-guide .g-split{display:grid;gap:40px;align-items:start}
.g-guide .g-split--320{grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr))}
.g-guide .g-split--380{grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr))}
.g-guide .g-chapter.g-split{display:grid}
.g-guide .g-grid{display:grid;gap:20px}
.g-guide .g-grid--250{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.g-guide .g-grid--300{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.g-guide .g-grid--380{grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr))}
.g-guide .g-grid--420{grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:8px 40px}
.g-guide .g-stack{display:flex;flex-direction:column;gap:16px;min-width:0}
.g-guide .g-stack--14{gap:14px}
.g-guide .g-box{background:#FFF;border:1px solid var(--line);border-radius:6px}
.g-guide .g-center{text-align:center}

/* Type */
.g-guide .g-kicker{font-weight:600;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);line-height:1.5}
.g-guide .g-h2{font-weight:300 !important;font-size:34px !important;line-height:1.2 !important;color:var(--teal)}
.g-guide .g-h2--sm{font-size:28px !important;line-height:1.25 !important;text-wrap:balance}
.g-guide .g-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;max-width:760px;margin:0 auto}
.g-guide .g-head p{text-wrap:pretty}
.g-guide .g-small{font-size:14px;line-height:1.5}

/* Buttons */
.g-guide .g-btns{display:flex;flex-wrap:wrap;gap:12px}
.g-guide .g-btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:4px;font-weight:600;font-size:16px;line-height:1.4;text-decoration:none}
.g-guide .g-btn--accent,.g-guide .g-btn--accent:hover{background:var(--accent);color:#FFF}
.g-guide .g-btn--accent:hover{background:#5F99AF}
.g-guide .g-btn--light,.g-guide .g-btn--light:hover{background:#f4f2f3;color:var(--ink)}
.g-guide .g-btn--light:hover{background:#FFF}
.g-guide .g-btn--outline,.g-guide .g-btn--outline:hover{border:1px solid #FFF;color:#FFF}
.g-guide .g-btn--outline:hover{background:rgba(255,255,255,.1)}
.g-guide .g-btn:focus-visible,.g-guide a:focus-visible,.g-guide input:focus-visible{outline:3px solid #d2299a;outline-offset:2px}

/* Hero */
.g-guide .g-hero{position:relative;overflow:hidden;background:#24414b;color:#FFF}
.g-guide .g-hero__img,.g-guide .g-hero__img img{position:absolute;inset:0;width:100%;height:100%}
.g-guide .g-hero__img img{object-fit:cover;object-position:center right;max-width:none}
.g-guide .g-hero__scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(36,65,75,.92) 0%,rgba(36,65,75,.72) 42%,rgba(36,65,75,0) 78%)}
.g-guide .g-hero__in{position:relative;max-width:1120px;margin:0 auto;padding:72px 24px 88px;min-height:600px;display:flex;align-items:center}
.g-guide .g-hero__body{display:flex;flex-direction:column;gap:22px;max-width:620px}
.g-guide .g-crumbs ol{list-style:none;padding:0;display:flex;flex-wrap:wrap;font-size:14px;color:#fff}
.g-guide .g-crumbs li+li::before{content:"›";padding:0 .6em}
.g-guide .g-crumbs a{color:#fff;text-decoration:none}
.g-guide .g-crumbs a:hover{color:#FFF;text-decoration:underline}
.g-guide .g-hero__label{display:flex;align-items:center;gap:10px;font-weight:600;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.g-guide .g-hero h1{font-weight:300 !important;font-size:clamp(34px,4.2vw,50px) !important;line-height:1.15 !important;color:#FFF;text-wrap:balance}
.g-guide .g-hero h1 strong{font-weight:700 !important}
.g-guide .g-hero__intro{font-size:19px;line-height:1.6;color:#fff;max-width:540px}
.g-guide .g-hero__facts{display:flex;flex-wrap:wrap;gap:8px 28px;font-size:14px;color:#fff;padding-top:6px}
.g-guide .g-hero__facts span{display:inline-flex;align-items:center;gap:8px}
@media (max-width:820px){
  .g-guide .g-hero__scrim{background:rgba(36,65,75,.82)}
  .g-guide .g-hero__in{min-height:0;padding:48px 20px 56px}
  .g-guide .g-hero__intro{font-size:17px}
}

/* Index */
.g-guide .g-toc{padding:28px}
.g-guide .g-toc__title{font-weight:500 !important;font-size:20px !important;color:var(--teal);margin-bottom:14px}
.g-guide .g-toc ol{list-style:none;padding:0}
.g-guide .g-toc li{border-top:1px solid var(--line)}
.g-guide .g-toc a{display:flex;gap:14px;padding:11px 0;text-decoration:none}
.g-guide .g-toc a:hover span+span{text-decoration:underline}
.g-guide .g-toc__n{font-weight:600;color:var(--teal);width:22px;flex:none}

/* Tables: wide ones scroll inside their own box */
.g-guide .g-table{overflow-x:auto;overflow-y:hidden;background:#FFF;border:1px solid var(--line);border-radius:6px;-webkit-overflow-scrolling:touch}
.g-guide table{border-collapse:collapse;width:100%;margin:0;border:0}
.g-guide caption{caption-side:top;text-align:left;padding:16px 16px 4px;font-size:14px;color:var(--muted)}
.g-guide th,.g-guide td{padding:14px 16px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.5;color:var(--text);background:none}
.g-guide th{font-weight:600;font-size:14px;letter-spacing:0 !important;text-transform:none}
/* Narrow tables fit their column; only on phones do they keep a minimum width and scroll inside their box */
.g-guide .g-mw--860{min-width:860px}
@media (max-width:640px){.g-guide .g-mw--520{min-width:520px}.g-guide .g-mw--440{min-width:440px}.g-guide .g-mw--420{min-width:420px}}
.g-guide thead tr{background:var(--pale)}
.g-guide tbody tr:last-child>*{border-bottom:none}
.g-guide .g-r{text-align:right}
.g-guide .g-compare thead tr{background:var(--teal)}
.g-guide .g-compare thead th{color:#FFF}
.g-guide .g-compare tbody tr:nth-child(even){background:var(--bg-l)}

/* Chapter 1 cards */
.g-guide .g-card{overflow:hidden;display:flex;flex-direction:column}
.g-guide .g-card img{width:100%;aspect-ratio:3/2;object-fit:cover}
.g-guide .g-card__body{padding:22px;display:flex;flex-direction:column;gap:12px}
.g-guide .g-card__head{display:flex;align-items:center;gap:10px}
.g-guide .g-card h3{font-weight:500 !important;font-size:19px !important;line-height:1.25 !important;color:var(--teal)}
.g-guide .g-badge{width:40px;height:40px;border-radius:50%;background:var(--pale);color:var(--teal);display:flex;align-items:center;justify-content:center;flex:none}
.g-guide .g-card__np{font-size:14px;font-weight:600;color:var(--teal);line-height:1.5}
.g-guide .g-card__np a{color:var(--teal)}
.g-guide .g-card p{font-size:15px;line-height:1.55}

/* Chapter 3 band */
.g-guide .g-band{margin-top:56px;background:var(--teal);color:#FFF}
.g-guide .g-band>.g-wrap{padding-top:64px;padding-bottom:64px;gap:48px}
.g-guide .g-band .g-kicker,.g-guide .g-band .g-h2{color:#FFF}
.g-guide .g-moon{color:#FFF;fill:currentColor}
.g-guide .g-band__soft{color:#fff}
.g-guide .g-band__note{font-size:14px;color:#fff}
.g-guide .g-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:8px}
.g-guide .g-stat{border:1px solid var(--line-d);border-radius:6px;padding:18px}
.g-guide .g-stat__k{font-size:13px;color:#fff}
.g-guide .g-stat__v{font-weight:600;font-size:26px;line-height:1.2;padding-top:4px}
.g-guide .g-stat__t{font-size:14px;color:#fff;line-height:1.45}
.g-guide .g-stat--accent{background:var(--accent);border-color:var(--accent)}
.g-guide .g-stat--accent .g-stat__k,.g-guide .g-stat--accent .g-stat__t{color:#FFF}
.g-guide .g-timeline{list-style:none;padding:0}
.g-guide .g-timeline li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;padding:16px 0;border-top:1px solid var(--line-d)}
.g-guide .g-timeline li:last-child{border-bottom:1px solid var(--line-d)}
.g-guide .g-timeline__t{font-weight:600;font-size:18px}

/* Chapter 4 phases */
.g-guide .g-phase{padding:26px;display:flex;flex-direction:column;gap:12px;font-size:15px;line-height:1.55}
.g-guide .g-pill{font-weight:700;font-size:15px;background:var(--pale2);color:var(--text);align-self:flex-start;padding:4px 12px;border-radius:4px}
.g-guide .g-phase h3{font-weight:500 !important;font-size:21px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-phase__help{border-top:1px solid var(--line);padding-top:12px}

/* Chapter 5 */
.g-guide .g-numbered{list-style:none;padding:0;display:flex;flex-direction:column;gap:14px}
.g-guide .g-numbered li{display:flex;gap:14px}
.g-guide .g-num{width:36px;height:36px;border-radius:50%;background:var(--pale);color:var(--ink);font-weight:600;display:flex;align-items:center;justify-content:center;flex:none}
.g-guide .g-photo-wide{width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:6px}

/* Chapter 6 */
.g-guide .g-checks{list-style:none;padding:0;display:flex;flex-direction:column;gap:10px}
.g-guide .g-checks li{display:flex;gap:12px;align-items:flex-start}
.g-guide .g-checks .g-i{margin-top:4px;color:var(--teal)}

/* Chapter 7 checklist */
.g-guide .g-checklist{padding:28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:4px 40px}
.g-guide .g-checklist label{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line);margin:0;font-weight:400;cursor:pointer}
.g-guide .g-checklist label:nth-last-child(-n+2){border-bottom:none}
.g-guide .g-checklist input{width:22px;height:22px;margin:3px 0 0;flex:none;accent-color:var(--brand);cursor:pointer}
@media (max-width:899px){.g-guide .g-checklist label:nth-last-child(2){border-bottom:1px solid var(--line)}}

/* Chapter 8 */
.g-guide .g-safety{padding:28px;display:flex;flex-direction:column;gap:14px}
.g-guide .g-safety--alert{background:var(--pale);border-color:var(--brand)}
.g-guide .g-safety__head{display:flex;align-items:center;gap:12px;color:var(--teal)}
.g-guide .g-safety h3{font-weight:500 !important;font-size:21px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-safety ul{padding-left:20px;display:flex;flex-direction:column;gap:8px;list-style:disc}
.g-guide .g-safety__mum{font-size:15px;line-height:1.55}

/* FAQ */
.g-guide .g-faq>div{border-top:1px solid var(--brand);padding:18px 0}
.g-guide .g-faq h3{font-weight:500 !important;font-size:18px !important;line-height:1.35 !important;color:var(--teal);margin-bottom:6px}

/* Testimonial */
.g-guide .g-testimonial-wrap{padding-top:40px}
.g-guide .g-testimonial{background:var(--pale);border-radius:6px;padding:36px;display:flex;flex-direction:column;gap:14px}
.g-guide .g-testimonial blockquote{font-style:italic;font-weight:300 !important;font-size:22px !important;line-height:1.4;max-width:820px;border:0;padding:0;color:var(--text);background:none}
.g-guide .g-testimonial figcaption{font-size:15px;color:var(--muted)}

/* Closing block */
.g-guide .g-cta-wrap{padding-top:40px;padding-bottom:64px}
.g-guide .g-cta{background:var(--teal);color:#FFF;border-radius:6px;padding:44px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:40px;align-items:center}
.g-guide .g-cta h2{font-weight:600 !important;font-size:32px !important;line-height:1.2 !important;color:#FFF;text-wrap:balance}
.g-guide .g-steps{list-style:none;padding:0;display:flex;flex-direction:column}
.g-guide .g-steps li{display:flex;gap:16px;padding:14px 0;border-top:1px solid var(--line-d)}
.g-guide .g-steps li:last-child{border-bottom:1px solid var(--line-d)}
.g-guide .g-steps__n{font-weight:600;font-size:20px;width:24px;flex:none;line-height:1.4}
@media (max-width:600px){.g-guide .g-cta{padding:28px 22px}.g-guide .g-cta h2{font-size:26px !important}.g-guide .g-h2{font-size:28px !important}.g-guide .g-h2--sm{font-size:24px !important}}

/* Guide notes */
.g-guide .g-notes{background:var(--bg-l)}
.g-guide .g-notes__in{padding-top:36px;padding-bottom:48px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:32px;font-size:14px;line-height:1.6;color:var(--muted)}
.g-guide .g-notes strong{color:var(--text)}

/* ===== Guide No. 2 (au pair or nanny) and other reusable pieces ===== */
.g-guide .g-grid--top{align-items:start}
.g-guide .g-grid--center{align-items:center}
.g-guide .g-grid--220{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.g-guide .g-grid--280{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}
.g-guide .g-gap-12{gap:12px}.g-guide .g-gap-16{gap:16px}.g-guide .g-gap-32{gap:32px}.g-guide .g-gap-40{gap:40px}
.g-guide .g-chapter--28{gap:28px}
.g-guide .g-self-start{align-self:flex-start}
.g-guide .g-note-line{font-size:15px}
.g-guide .g-caption-note{font-size:14px;color:var(--muted)}
.g-guide .g-photo{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:6px}
.g-guide .g-photo--2x1{aspect-ratio:2/1}
.g-guide .g-aside-box{background:var(--bg-l);border-radius:6px;padding:24px 26px;font-size:16px;line-height:1.6}
.g-guide .g-aside-box strong{color:var(--teal);font-size:18px}
.g-guide .g-tip{background:var(--bg-l);border-radius:6px;padding:16px 18px;font-size:15px;line-height:1.55}
.g-guide .g-tip--pale{background:var(--pale)}
.g-guide .g-tip strong{color:var(--teal)}

/* Chapter 1: option cards with a facts list */
.g-guide .g-card--facts .g-card__body{gap:10px}
.g-guide .g-card--facts h3{font-size:21px !important}
.g-guide .g-card--facts p{margin-bottom:4px}
.g-guide .g-card--featured{border:2px solid var(--brand)}
.g-guide .g-facts{margin:0}
.g-guide .g-facts>div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.5}
.g-guide .g-facts dt{font-weight:600;color:var(--teal)}
.g-guide .g-facts dd{margin:0}

/* Chapter 2: flowchart. Desktop = 7-column grid (4 columns + 3 arrow gaps); phones = a spine on the left. */
.g-guide .g-flow{--gap:72px;--dot:radial-gradient(circle,#5F99AF 1.5px,transparent 1.7px);display:grid;
  grid-template-columns:minmax(0,1fr) var(--gap) minmax(0,1fr) var(--gap) minmax(0,1fr) var(--gap) minmax(0,1fr);
  grid-template-rows:auto 100px auto;width:100%;max-width:1070px;margin:22px auto 0}
.g-guide .g-flow__q{position:relative;background:var(--pale);border-radius:18px;min-height:140px;padding:26px 14px 12px;display:flex;align-items:center;justify-content:center;text-align:center;grid-row:1}
.g-guide .g-flow__q p{font-weight:500;font-size:16px;line-height:24px;color:var(--ink)}
.g-guide .g-flow__n{position:absolute;top:-22px;left:50%;transform:translateX(-50%);width:44px;height:44px;border-radius:50%;background:var(--accent);color:#FFF;border:3px solid #FFF;font-weight:700;font-size:18px;line-height:20px;display:flex;align-items:center;justify-content:center}
.g-guide .g-flow__q1,.g-guide .g-flow__down1,.g-guide .g-flow__o1{grid-column:1}
.g-guide .g-flow__q2,.g-guide .g-flow__down2,.g-guide .g-flow__o2{grid-column:3}
.g-guide .g-flow__q3,.g-guide .g-flow__down3,.g-guide .g-flow__o3{grid-column:5}
.g-guide .g-flow__down4,.g-guide .g-flow__o4{grid-column:7}
.g-guide .g-flow__down1,.g-guide .g-flow__down2,.g-guide .g-flow__down3,.g-guide .g-flow__down4{grid-row:2}
.g-guide .g-flow__o{grid-row:3;margin:0;display:flex;flex-direction:column}
.g-guide .g-flow__o img{width:100%;aspect-ratio:200/134;object-fit:cover;border-radius:18px 18px 0 0}
.g-guide .g-flow__o figcaption{flex:1;background:var(--bg-l);color:var(--text);border-radius:0 0 18px 18px;padding:12px;min-height:132px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:15px;line-height:22px}
.g-guide .g-flow__o figcaption b{font-weight:600}
.g-guide .g-flow__o--featured figcaption{background:var(--teal);color:#FFF}
/* connectors: dotted teal lines with a solid arrowhead */
.g-guide .g-flow__down,.g-guide .g-flow__down4,.g-guide .g-flow__next{position:relative;display:flex;align-items:center;justify-content:center}
.g-guide .g-flow__down::before,.g-guide .g-flow__down4::before{content:"";position:absolute;left:50%;top:0;bottom:6px;width:3px;transform:translateX(-50%);background:var(--dot) 50% 0/3px 9px repeat-y}
.g-guide .g-flow__down::after,.g-guide .g-flow__down4::after{content:"";position:absolute;left:50%;bottom:0;width:10px;height:8px;transform:translateX(-50%);background:var(--brand);clip-path:polygon(0 0,100% 0,50% 100%)}
.g-guide .g-flow__next{grid-row:1;align-self:center;height:22px}
.g-guide .g-flow__next1{grid-column:2}.g-guide .g-flow__next2{grid-column:4}
.g-guide .g-flow__next::before{content:"";position:absolute;left:4px;right:7px;top:50%;height:3px;transform:translateY(-50%);background:var(--dot) 0 50%/9px 3px repeat-x}
.g-guide .g-flow__next::after{content:"";position:absolute;right:0;top:50%;width:8px;height:10px;transform:translateY(-50%);background:var(--brand);clip-path:polygon(0 0,100% 50%,0 100%)}
/* Q3 "no": right, then down into column 4 */
.g-guide .g-flow__next3{grid-column:6 / 8;align-self:stretch;height:auto;justify-content:flex-start;padding-left:calc(var(--gap) / 2 - 20px)}
.g-guide .g-flow__next3::before{right:calc(50% - var(--gap) / 2)}
.g-guide .g-flow__next3::after{right:calc(50% - var(--gap) / 2);top:50%;bottom:0;width:3px;height:auto;transform:translateX(50%);clip-path:none;background:var(--dot) 50% 0/3px 9px repeat-y}
.g-guide .g-flow__next3 .g-pill{position:absolute;top:50%;left:calc(var(--gap) / 2);transform:translate(-50%,-50%)}
.g-guide .g-flow__down .g-pill{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
.g-guide .g-flow .g-pill{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:22px;padding:0 8px;border-radius:11px;border:2px solid var(--brand);font-weight:600;font-size:11px;line-height:14px;letter-spacing:.06em;text-transform:uppercase}
.g-guide .g-pill--yes{background:var(--teal);color:#FFF}
.g-guide .g-pill--no{background:#FFF;color:var(--teal)}
@media (max-width:959px){
  .g-guide .g-flow{grid-template-columns:44px minmax(0,1fr);grid-template-rows:none;max-width:460px;margin-top:22px}
  .g-guide .g-flow__q{grid-column:1 / -1;min-height:0;padding:30px 18px 18px}
  .g-guide .g-flow__q2,.g-guide .g-flow__q3{margin-top:36px}
  .g-guide .g-flow__q1{grid-row:1}.g-guide .g-flow__q2{grid-row:4}.g-guide .g-flow__q3{grid-row:7}
  .g-guide .g-flow__down1,.g-guide .g-flow__down2,.g-guide .g-flow__down3{grid-column:2;height:52px}
  .g-guide .g-flow__down1{grid-row:2}.g-guide .g-flow__down2{grid-row:5}.g-guide .g-flow__down3{grid-row:8}
  .g-guide .g-flow__o1,.g-guide .g-flow__o2,.g-guide .g-flow__o3{grid-column:2}
  .g-guide .g-flow__o1{grid-row:3}.g-guide .g-flow__o2{grid-row:6}.g-guide .g-flow__o3{grid-row:9}
  .g-guide .g-flow__o4{grid-column:1 / -1;grid-row:10;margin-top:36px}
  .g-guide .g-flow__o figcaption{min-height:0;padding:14px 16px}
  .g-guide .g-flow__down4{display:none}
  .g-guide .g-flow__next .g-pill,.g-guide .g-flow__next3 .g-pill{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
  /* the "next" connector becomes a spine on the left, alongside the outcome, ending in an arrow onto the next box */
  .g-guide .g-flow__next,.g-guide .g-flow__next3{grid-column:1;align-self:stretch;height:auto;padding:0;justify-content:center;position:relative}
  .g-guide .g-flow__next1{grid-row:2 / 4}.g-guide .g-flow__next2{grid-row:5 / 7}.g-guide .g-flow__next3{grid-row:8 / 10}
  .g-guide .g-flow__next::before,.g-guide .g-flow__next3::before{left:50%;right:auto;top:0;bottom:-30px;width:3px;height:auto;transform:translateX(-50%);background:var(--dot) 50% 0/3px 9px repeat-y}
  .g-guide .g-flow__next::after,.g-guide .g-flow__next3::after{left:50%;right:auto;top:auto;bottom:-36px;width:10px;height:8px;transform:translateX(-50%);background:var(--brand);clip-path:polygon(0 0,100% 0,50% 100%)}
}

/* Chapter 3: band with photo, three figures and the coverage table */
.g-guide .g-band>.g-wrap.g-band__col{display:flex;flex-direction:column;gap:28px}
.g-guide .g-stats--3{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));padding-top:0}
.g-guide .g-table--band{background:none;border-color:var(--line-d)}
.g-guide .g-coverage thead tr{background:none}
.g-guide .g-coverage th,.g-guide .g-coverage td{color:#FFF;border-bottom:1px solid var(--line-d)}
.g-guide .g-coverage tbody tr:last-child>*{border-bottom:1px solid var(--line-d)}
.g-guide .g-coverage thead th{font-size:16px}
.g-guide .g-coverage caption{color:#fff}
.g-guide .g-coverage__t{font-size:17px}
.g-guide .g-coverage__w{font-weight:400}
.g-guide .g-coverage__c{display:flex;gap:8px;align-items:flex-start}
.g-guide .g-coverage__c .g-i{margin-top:3px}
.g-guide .g-coverage strong{color:#FFF}

/* Chapter 4 */
.g-guide .g-terms tbody th{width:30%}

/* Chapter 5: cost chart (bars positioned in %, figures as text) */
.g-guide .g-cost{margin:0;padding:28px;display:flex;flex-direction:column;gap:18px}
.g-guide .g-cost>figcaption{font-size:14px;color:var(--muted)}
.g-guide .g-cost__row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:start}
.g-guide .g-cost__name{font-weight:600;font-size:15px;color:var(--ink)}
.g-guide .g-cost__sub{font-size:13px;color:var(--muted);line-height:1.4}
.g-guide .g-cost__col{display:flex;flex-direction:column;gap:4px}
.g-guide .g-cost__track{position:relative;height:30px;background:var(--bg-l);border-radius:4px}
.g-guide .g-cost__bar{position:absolute;top:0;bottom:0;background:var(--brand);border-radius:4px}
.g-guide .g-cost__bar--accent{background:var(--accent)}
.g-guide .g-cost__label{font-size:14px;font-weight:600;color:var(--ink)}
.g-guide .g-cost__none{min-height:30px;border:1px dashed #91b6bb;border-radius:4px;display:flex;align-items:center;padding:4px 12px;font-size:13px;color:var(--muted);line-height:1.4}
.g-guide .g-cost__axis{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:6px}
.g-guide .g-cost__foot{font-size:13px;line-height:1.5;color:var(--muted)}
@media (max-width:600px){
  .g-guide .g-cost{padding:20px}
  .g-guide .g-cost__row{grid-template-columns:1fr;gap:6px}
  .g-guide .g-cost__row--axis>div:first-child{display:none}
  .g-guide .g-cost__axis{font-size:11px}
}
.g-guide .g-tile{padding:20px;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.55}
.g-guide .g-tile__head{display:flex;align-items:center;gap:10px;color:var(--teal)}
.g-guide .g-tile h3{font-weight:500 !important;font-size:17px !important;line-height:1.35 !important;color:var(--teal)}

/* Chapter 6: one-column checklist */
.g-guide .g-checklist--single{display:block;padding:12px 28px}
.g-guide .g-checklist--single label{padding:11px 0}
.g-guide .g-checklist--single label:nth-last-child(2){border-bottom:1px solid var(--line)}

/* Family stories */
.g-guide .g-story{margin:0;background:var(--bg-l);border-radius:6px;padding:30px;display:flex;flex-direction:column;gap:12px}
.g-guide .g-story--pale{background:var(--pale)}
.g-guide .g-story blockquote{margin:0;padding:0;border:0;background:none;font-style:italic;font-weight:300 !important;font-size:19px !important;line-height:1.45 !important;color:var(--text)}
.g-guide .g-story figcaption{font-size:14px;color:var(--muted)}

/* ===== Guide No. 3 (babysitter) ===== */
.g-guide .g-nowrap{white-space:nowrap}
.g-guide .g-small-muted{font-size:14px;line-height:1.55;color:var(--muted)}
.g-guide .g-mw--820{min-width:820px}
@media (max-width:640px){.g-guide .g-mw--480{min-width:480px}}
.g-guide .g-chapter--pb56{padding-bottom:56px}
/* Chapter 1: trust tiles, the "Na Nanny Portugal" line pinned to the bottom so a row lines up */
.g-guide .g-trust{padding:22px;display:flex;flex-direction:column;gap:10px}
.g-guide .g-trust__head{display:flex;align-items:center;gap:12px}
.g-guide .g-trust h3{font-weight:500 !important;font-size:18px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-trust p{font-size:15px;line-height:1.55}
.g-guide .g-trust__np{margin-top:auto;border-top:1px solid var(--line);padding-top:10px;font-size:14px;line-height:1.5}
.g-guide .g-trust__np strong{color:var(--teal)}
/* Chapter 3: occasion cards with an itemised bill */
.g-guide .g-bill__body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:10px}
.g-guide .g-bill h3{font-weight:500 !important;font-size:19px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-bill__when{font-size:14px;color:var(--muted);line-height:1.5}
.g-guide .g-bill__line{display:flex;justify-content:space-between;gap:12px;font-size:15px;line-height:1.5;border-bottom:1px dotted #91b6bb;padding-bottom:6px}
.g-guide .g-bill__total{border-bottom:none;border-top:1px solid var(--text);padding:8px 0 0;font-weight:600;color:var(--ink)}
.g-guide .g-bill__line+.g-bill__total{margin-top:0}
.g-guide .g-bill__note{font-size:13px;line-height:1.5;color:var(--muted)}
/* Chapter 4: price table and "what's included" */
.g-guide .g-prices td{font-size:15px}
.g-guide .g-prices strong{font-weight:600}
.g-guide .g-includes{background:var(--bg-l);border-radius:6px;padding:20px 22px;display:flex;flex-direction:column;gap:10px}
.g-guide .g-includes__title{font-weight:500;font-size:17px;color:var(--teal)}
.g-guide .g-includes .g-checks{gap:8px;font-size:15px}
/* Chapter 5: numbered steps on the band + preview of the printable sheet (a picture of it, not a form) */
.g-guide .g-band>.g-wrap.g-split{padding-top:64px;padding-bottom:64px;gap:48px}
.g-guide .g-timeline--num li{grid-template-columns:40px minmax(0,1fr);gap:16px;padding:14px 0}
.g-guide .g-timeline--num .g-timeline__t{font-size:20px}
.g-guide .g-sheet{background:#FFF;color:var(--text);border-radius:6px;padding:26px;display:flex;flex-direction:column;gap:16px}
.g-guide .g-sheet__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:2px solid var(--brand);padding-bottom:10px}
.g-guide .g-sheet__title{font-weight:600;font-size:20px;color:var(--teal)}
.g-guide .g-sheet__meta{font-size:12px;color:var(--muted);white-space:nowrap}
.g-guide .g-sheet__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.g-guide .g-sheet__field{display:flex;flex-direction:column;gap:14px;font-size:12px;color:var(--muted);line-height:1.4}
.g-guide .g-sheet__rule{border-bottom:1px solid #91b6bb}
.g-guide .g-sheet__foot{font-size:13px;color:var(--muted);line-height:1.5}
/* Chapter 6: place tiles */
.g-guide .g-places{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:16px}
.g-guide .g-places li{padding:18px 20px;display:flex;align-items:center;gap:12px;font-weight:500;font-size:18px;color:var(--teal)}

/* ===== Guide No. 4 (creche, colégio ou nanny) ===== */
.g-guide .g-grid--400{grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr))}
.g-guide .g-grid--460{grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr))}
.g-guide .g-gap-24{gap:24px}
.g-guide .g-stack--12{gap:12px}
.g-guide .g-maxw-760{max-width:760px}
@media (max-width:640px){.g-guide .g-mw--460{min-width:460px}}
/* Hero: on tablets keep the text clear of the faces in the photo */
@media (min-width:600px) and (max-width:1023px){.g-guide .g-hero--creche .g-hero__body{max-width:58%}.g-guide .g-hero--creche .g-hero__img img{object-position:85% center}}
/* Chapter 1: age chart (CSS grid, real text; scrolls inside its box on phones) */
.g-guide .g-ages-box{overflow-x:auto;overflow-y:hidden;padding:24px}
.g-guide .g-ages{display:grid;grid-template-columns:190px repeat(5,minmax(120px,1fr));gap:10px 8px;min-width:860px;align-items:stretch}
.g-guide .g-ages__corner{grid-row:1;grid-column:1}
.g-guide .g-ages__col{grid-row:1;font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--teal);padding-bottom:6px;border-bottom:2px solid var(--brand);line-height:1.5}
.g-guide .g-ages__label{grid-column:1;padding:10px 0;font-weight:500;font-size:15px;line-height:1.35;color:var(--ink)}
.g-guide .g-ages__bar{border-radius:4px;padding:10px 14px;font-size:14px;line-height:1.4;display:flex;align-items:center}
.g-guide .g-ages__bar--school{background:var(--pale2);color:var(--ink)}
.g-guide .g-ages__bar--nanny{background:var(--teal);color:#FFF}
.g-guide .g-ages__bar--junior{background:var(--accent);color:#FFF}
/* Chapter 2: two option cards, visually equal */
.g-guide .g-option__img{width:100%;aspect-ratio:2/1;object-fit:cover}
.g-guide .g-option__body{padding:24px;display:flex;flex-direction:column;gap:14px;flex:1}
.g-guide .g-option__head{display:flex;align-items:center;gap:12px}
.g-guide .g-option h3{font-weight:500 !important;font-size:21px !important;line-height:1.25 !important;color:var(--teal)}
.g-guide .g-option__sub{font-size:14px;color:var(--muted);line-height:1.5}
.g-guide .g-option__k{font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);line-height:1.5}
.g-guide .g-option__k--muted{color:var(--muted)}
.g-guide .g-option__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.5}
.g-guide .g-option__list li{display:flex;gap:10px;align-items:flex-start}
.g-guide .g-option__list .g-i{margin-top:4px;color:var(--teal)}
.g-guide .g-option__list--muted .g-i{color:var(--muted)}
.g-guide .g-option__when{margin-top:auto;border-top:1px solid var(--line);padding-top:12px;font-size:15px;line-height:1.5}
.g-guide .g-option__when strong{color:var(--teal)}
/* Chapter 3: day and year charts on the band */
.g-guide .g-band--flush{margin-top:0}
.g-guide .g-band>.g-wrap.g-band__col.g-gap-32{gap:32px}
.g-guide .g-chart{margin:0;display:flex;flex-direction:column;gap:14px}
.g-guide .g-chart>figcaption{font-weight:500;font-size:18px;color:#FFF}
.g-guide .g-chart__row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;align-items:center}
.g-guide .g-chart__row--top{align-items:start}
.g-guide .g-chart__name{font-weight:600;font-size:15px;color:#FFF;line-height:1.5}
.g-guide .g-chart__sub{font-size:13px;color:#fff;line-height:1.4}
.g-guide .g-chart__track{position:relative;height:30px;background:#5f99af;border-radius:4px}
.g-guide .g-chart__bar{position:absolute;top:0;bottom:0;border-radius:4px}
.g-guide .g-chart__bar--solid{background:#FFF}
.g-guide .g-chart__bar--dashed{border:2px dashed #FFF}
.g-guide .g-chart__bar--accent{background:var(--accent)}
.g-guide .g-chart__axis{display:flex;justify-content:space-between;font-size:12px;color:#fff}
.g-guide .g-chart__col{display:flex;flex-direction:column;gap:4px}
.g-guide .g-chart__year{height:26px;background:#FFF;border-radius:4px}
.g-guide .g-chart__year--accent{background:var(--accent)}
.g-guide .g-chart__fig{font-size:14px;color:#FFF;line-height:1.5}
.g-guide .g-chart__note{font-size:13px;color:#fff;line-height:1.5}
@media (max-width:600px){
  .g-guide .g-chart__row{grid-template-columns:1fr;gap:6px}
  .g-guide .g-chart__row--axis>div:first-child{display:none}
}
/* Chapter 4: costs and the "Com mais de um filho" panel (no numbers) */
.g-guide .g-costs td{font-size:15px}
.g-guide .g-costs td.g-r{font-size:15px}
.g-guide .g-siblings{background:var(--bg-l);border-radius:6px;padding:24px 26px;display:flex;flex-direction:column;gap:6px}
.g-guide .g-siblings__title{font-weight:500;font-size:18px;color:var(--teal)}
.g-guide .g-siblings__row{display:grid;grid-template-columns:90px minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.5}
.g-guide .g-siblings__row--head{border-top:none;padding:10px 0 8px;font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--teal)}
.g-guide .g-siblings__n{font-weight:600;color:var(--ink)}
.g-guide .g-siblings__foot{font-size:14px;line-height:1.55;color:var(--muted);padding-top:8px}
/* Chapter 5: combination cards (last line pinned to the bottom) */
.g-guide .g-combo__body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.g-guide .g-combo h3{font-weight:500 !important;font-size:18px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-combo p{font-size:15px;line-height:1.55}

/* Print: no menu, buttons or footer; keep tables and photos */
@media print{
  .fusion-header-wrapper,.np-nav,header,.fusion-footer,footer,.to-top-container,.skip-link,.g-btns,.g-crumbs{display:none !important}
  .g-guide{font-size:12pt;line-height:1.5}
  .g-guide .g-hero{background:none;color:var(--text)}
  .g-guide .g-hero__img,.g-guide .g-hero__scrim{display:none}
  .g-guide .g-hero__in{min-height:0;padding:0 0 16pt}
  .g-guide .g-hero h1,.g-guide .g-hero__intro,.g-guide .g-hero__facts,.g-guide .g-hero__label{color:var(--text)}
  .g-guide .g-band,.g-guide .g-cta{background:none;color:var(--text);border:1px solid var(--line)}
  .g-guide .g-band *,.g-guide .g-cta *{color:var(--text) !important}
  .g-guide .g-stat--accent{background:none}
  .g-guide .g-table{overflow:visible}
  .g-guide table{min-width:0 !important}
  .g-guide .g-compare thead tr{background:var(--pale)}
  .g-guide .g-compare thead th{color:var(--text)}
  .g-guide .g-wrap{padding:16pt 0 0}
  .g-guide section,.g-guide .g-box,.g-guide tr{break-inside:avoid}
}

/* Guides index (/guides/, /pt-pt/guias/), Nov 2026: src/layouts/GuidesIndex.astro */
.g-index .gi-intro{background:var(--bg-l)}
.g-index .gi-intro__in{max-width:1120px;margin:0 auto;padding:48px 24px 40px;display:flex;flex-direction:column;gap:18px}
.g-index .gi-intro__top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.g-index .gi-crumbs ol{list-style:none;padding:0;display:flex;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.g-index .gi-crumbs li+li::before{content:"›";padding:0 .6em}
.g-index .gi-crumbs a{color:var(--muted);text-decoration:none}
.g-index .gi-crumbs a:hover{color:var(--teal);text-decoration:underline}
.g-index .gi-other{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:500}
.g-index h1{font-weight:300 !important;font-size:clamp(34px,4.2vw,50px) !important;line-height:1.15 !important;color:var(--teal)}
.g-index .gi-intro__text{font-size:18px;line-height:1.65;max-width:760px}
.g-index .gi-topics{display:flex;flex-wrap:wrap;gap:8px;padding-top:6px}
.g-index .gi-topics[hidden]{display:none}
.g-index .gi-topics button{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:4px;font:500 14px/1.4 Poppins,Arial,sans-serif;background:#FFF;color:var(--ink);border:1px solid var(--line);cursor:pointer;margin:0;text-transform:none;letter-spacing:0}
.g-index .gi-topics button:hover{border-color:var(--brand);color:var(--teal)}
.g-index .gi-topics button[aria-pressed="true"]{background:var(--teal);border-color:var(--brand);color:#FFF}
.g-index .gi-topics button:focus-visible{outline:3px solid #d2299a;outline-offset:2px}
.g-index [hidden]{display:none !important}
.g-index .gi-featured-wrap{padding-top:48px}
.g-index .gi-featured{background:#FFF;border:1px solid var(--line);border-radius:6px;overflow:hidden;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));align-items:stretch}
.g-index .gi-featured img{width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;object-position:82% center}
.g-index .gi-featured__body{padding:36px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.g-index .gi-featured h2{font-weight:300 !important;font-size:32px !important;line-height:1.2 !important;color:var(--teal);text-wrap:balance}
.g-index .gi-featured p{font-size:17px;line-height:1.6}
.g-index .gi-tags{display:flex;flex-wrap:wrap;gap:8px}
.g-index .gi-tag{display:inline-flex;align-items:center;background:var(--pale);color:var(--ink);border-radius:4px;padding:3px 10px;font-size:12px;font-weight:600;letter-spacing:.04em;line-height:1.6}
.g-index .gi-tag--dark{background:var(--teal);color:#FFF}
.g-index .gi-meta{font-size:13px;color:var(--muted)}
.g-index .gi-more{padding-top:40px;display:flex;flex-direction:column;gap:24px}
.g-index .gi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:20px}
.g-index .gi-card{background:#FFF;border:1px solid var(--line);border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.g-index .gi-card img{width:100%;aspect-ratio:3/2;object-fit:cover;object-position:82% center}
.g-index .gi-card__body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.g-index .gi-card h3{font-weight:500 !important;font-size:19px !important;line-height:1.3 !important;color:var(--teal)}
.g-index .gi-card p{font-size:15px;line-height:1.55}
.g-index .gi-card__link{margin-top:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:600;font-size:15px;text-decoration:none !important;align-self:flex-start}
.g-index .gi-how{padding-top:56px;display:flex;flex-direction:column;gap:24px}
.g-index .gi-how__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:32px}
.g-index .gi-how__item{display:flex;flex-direction:column;gap:10px}
.g-index .gi-how__head{display:flex;align-items:center;gap:12px}
.g-index .gi-how__icon{width:40px;height:40px;border-radius:50%;background:var(--pale);color:var(--teal);display:flex;align-items:center;justify-content:center;flex:none}
.g-index .gi-how h3{font-weight:500 !important;font-size:18px !important;line-height:1.3 !important;color:var(--teal)}
.g-index .gi-how p{font-size:15px;line-height:1.55}
.g-index .gi-cta-wrap{padding-top:48px;padding-bottom:64px}
.g-index .gi-cta{background:var(--teal);color:#FFF;border-radius:6px;padding:44px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.g-index .gi-cta__text{display:flex;flex-direction:column;gap:10px;max-width:620px}
.g-index .gi-cta h2{font-weight:600 !important;font-size:28px !important;line-height:1.25 !important;color:#FFF;text-wrap:balance}
.g-index .gi-cta p{color:#fff}
@media (max-width:600px){
  .g-index .gi-featured__body{padding:24px 20px}
  .g-index .gi-featured h2{font-size:26px !important}
  .g-index .gi-cta{padding:28px 22px}
  .g-index .gi-cta h2{font-size:24px !important}
}

/* Guide No. 5 (Portugal with young children), Nov 2026 */
.g-guide .g-tip--roomy{padding:20px 22px}
/* Chapter 2: place cards; the last line sits at the bottom so cards in a row align */
.g-guide .g-place img{width:100%;aspect-ratio:3/2;object-fit:cover}
.g-guide .g-place__body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:10px;flex:1;font-size:15px;line-height:1.55}
.g-guide .g-place__head{display:flex;align-items:center;gap:10px;color:var(--teal)}
.g-guide .g-place h3{font-weight:500 !important;font-size:20px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-place__where{margin-top:auto;border-top:1px solid var(--line);padding-top:10px;font-size:14px;line-height:1.5}
.g-guide .g-place__where strong{color:var(--teal)}
/* Chapter 3: the week, a real table on the band */
.g-guide .g-week{min-width:940px}
.g-guide .g-week caption{color:#fff}
.g-guide .g-week thead tr{background:none}
.g-guide .g-week th,.g-guide .g-week td{color:#FFF;border-bottom:1px solid var(--line-d);font-size:14px}
.g-guide .g-week tbody tr:last-child>*{border-bottom:1px solid var(--line-d)}
.g-guide .g-week__booking{background:var(--accent);color:#FFF;border-radius:4px;padding:8px 10px;font-size:13px;line-height:1.4}
.g-guide .g-week__booking strong{color:#FFF}
.g-guide .g-stat--light{background:#FFF;border-color:#FFF;color:var(--ink)}
.g-guide .g-stat--light .g-stat__k,.g-guide .g-stat--light .g-stat__t{color:var(--ink)}
/* Chapter 4: bills without a photo, and "Good to know" */
.g-guide .g-bill--plain{padding:22px;display:flex;flex-direction:column;gap:10px}
.g-guide .g-bill__head{display:flex;align-items:center;gap:10px}
.g-guide .g-bill--plain h3{font-size:18px !important}
.g-guide .g-goodtoknow{background:var(--bg-l);border-radius:6px;padding:24px 26px;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.55}
.g-guide .g-goodtoknow__title{font-weight:500;font-size:18px;color:var(--teal)}
/* Chapter 6: the sheet preview on white, with a border */
.g-guide .g-sheet--boxed{border:1px solid var(--line)}
/* Weddings and events */
.g-guide .g-wedding{background:var(--pale);border-radius:6px;padding:36px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:32px;align-items:center}
@media (max-width:600px){.g-guide .g-wedding{padding:24px 20px}}
@media print{.g-guide .g-week th,.g-guide .g-week td,.g-guide .g-week caption{color:var(--text)}}
/* Guides index: the photo and the title link to the guide too */
.g-index .gi-img{display:block;overflow:hidden}
.g-index .gi-featured .gi-img{height:100%}
.g-index .gi-img img{transition:transform .3s ease}
.g-index .gi-img:hover img{transform:scale(1.03)}
.g-index a.gi-title{color:inherit;text-decoration:none}
.g-index a.gi-title:hover{color:var(--teal-d);text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){.g-index .gi-img img{transition:none}.g-index .gi-img:hover img{transform:none}}

/* Guide No. 6 (International schools in Portugal), Nov 2026 */
.g-guide .g-chapter.g-gap-28{gap:28px}
.g-guide .g-stack--10{gap:10px}
.g-guide .g-curric{font-size:15px;line-height:1.55}
.g-guide .g-curric h3{font-size:19px !important}
/* Chapter 3: the amber draft-list box (preview only, never in production: src/lib/schools.ts) and the school tables */
.g-guide .g-draft{background:#f4f2f3;border:1px solid #d2299a;border-radius:6px;padding:18px 22px;font-size:15px;line-height:1.55;color:var(--text)}
.g-guide .g-area{display:flex;align-items:center;gap:10px;color:var(--teal)}
.g-guide .g-area h3{font-weight:500 !important;font-size:21px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-schools tbody th{font-size:15px;font-weight:600;color:var(--text)}
.g-guide .g-schools tbody th a{color:var(--teal)}
/* Chapter 6: the timeline (a list) and the questions */
.g-guide .g-when{list-style:none;margin:0;padding:0 24px;display:flex;flex-direction:column}
.g-guide .g-when li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.55}
.g-guide .g-when li:last-child{border-bottom:none}
.g-guide .g-when__t{font-weight:600;color:var(--teal)}
@media (max-width:480px){.g-guide .g-when li{grid-template-columns:1fr;gap:4px}}
.g-guide .g-checklist__title{font-weight:500 !important;font-size:20px !important;line-height:1.4 !important;color:var(--teal)}
/* Hero: the mother stands near the middle of the photo; on tablets the title would sit on her, so the photo is
   anchored right and the overlay is the even one used on phones */
@media (min-width:821px) and (max-width:1199px){.g-guide .g-hero--schools .g-hero__img img{object-position:100% center}.g-guide .g-hero--schools .g-hero__scrim{background:rgba(36,65,75,.82)}}

/* Guide No. 7 (Ensino doméstico em Portugal), Nov 2026 */
.g-guide .g-checks--16{font-size:16px;gap:10px}
/* Chapter 2: five-step stepper on the band (an ordered list; side by side on desktop, wraps, then one column) */
.g-guide .g-stepper{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:24px 20px}
.g-guide .g-stepper li{display:flex;flex-direction:column;gap:10px;flex:1 1 180px;min-width:0}
.g-guide .g-stepper__top{display:flex;align-items:center;gap:10px}
.g-guide .g-stepper__n{width:44px;height:44px;border-radius:50%;background:var(--accent);color:#FFF;font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center;flex:none}
.g-guide .g-stepper__line{flex:1;border-top:2px dotted #91b6bb}
.g-guide .g-stepper__t{font-weight:600;font-size:17px;line-height:1.3;color:#FFF}
.g-guide .g-stepper__d{font-size:14px;line-height:1.55;color:#fff}
@media (max-width:600px){.g-guide .g-stepper li{flex-basis:100%}}
/* Chapter 3: the pale teal box */
.g-guide .g-callout{background:var(--pale);border:1px solid var(--brand);border-radius:6px;padding:28px;display:flex;flex-direction:column;gap:12px;font-size:15px;line-height:1.55}
.g-guide .g-callout h3{font-weight:500 !important;font-size:21px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-callout p{font-size:16px;line-height:1.7}
/* Chapter 4: weekly timetable (mornings pale teal, afternoons magenta: the colour is explained under the table) */
.g-guide .g-timetable{min-width:860px}
.g-guide .g-timetable tbody th,.g-guide .g-timetable td{font-size:14px}
.g-guide .g-timetable tbody tr:last-child>*{border-bottom:1px solid var(--line)}
.g-guide .g-timetable__b{background:var(--pale);color:var(--ink);border-radius:4px;padding:8px 10px;font-size:13px;line-height:1.4}
.g-guide .g-timetable__b--out{background:var(--accent);color:#FFF}
.g-guide .g-timetable__b--out strong{color:#FFF}
/* Chapter 5: hard-question cards */
.g-guide .g-hard{padding:24px;gap:12px}
.g-guide .g-hard .g-trust__np{font-size:15px;line-height:1.55;padding-top:12px}

/* Guide No. 8 (Travelling with a nanny), Nov 2026 */
.g-guide .g-notworth{background:var(--bg-l);border-radius:6px;padding:22px 26px;font-size:16px;line-height:1.6}
.g-guide .g-notworth strong{color:var(--teal)}
/* Chapter 3: stage list on the band (an ordered list; on phones the three parts stack) */
.g-guide .g-stages{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.g-guide .g-stages li{display:grid;grid-template-columns:44px minmax(0,.9fr) minmax(0,1.4fr);gap:20px;padding:18px 0;border-top:1px solid var(--line-d);align-items:start;color:#FFF}
.g-guide .g-stages li:last-child{border-bottom:1px solid var(--line-d)}
.g-guide .g-stages__n{width:44px;height:44px;border-radius:50%;background:var(--accent);color:#FFF;font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center}
.g-guide .g-stages__t{font-weight:600;font-size:18px;line-height:1.3;padding-top:9px}
.g-guide .g-stages__d{display:flex;flex-direction:column;gap:6px}
.g-guide .g-stages__note{font-size:14px;color:#fff}
@media (max-width:700px){.g-guide .g-stages li{grid-template-columns:1fr;gap:8px}.g-guide .g-stages__t{padding-top:0}}
/* Chapter 4: the trip bill (the babysitter guides' bill, larger) */
.g-guide .g-tripbill{padding:28px;display:flex;flex-direction:column;gap:12px}
.g-guide .g-tripbill__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;border-bottom:2px solid var(--brand);padding-bottom:10px}
.g-guide .g-tripbill__title{font-weight:600;font-size:20px;color:var(--teal)}
.g-guide .g-tripbill__meta{font-size:13px;color:var(--muted)}
.g-guide .g-tripbill .g-bill__line{font-size:16px;gap:16px;padding-bottom:8px}
.g-guide .g-tripbill .g-bill__total{padding-top:10px}
/* Chapter 6: two boxes */
.g-guide .g-papers{border-radius:6px;padding:28px;display:flex;flex-direction:column;gap:14px}
.g-guide .g-papers--pale{background:var(--pale);border:1px solid var(--brand)}
.g-guide .g-papers__head{display:flex;align-items:center;gap:12px;color:var(--teal)}
.g-guide .g-papers h3{font-weight:500 !important;font-size:21px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-papers ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:16px}
.g-guide .g-papers__note{font-size:15px;line-height:1.55}
/* A link to another guide inside a guide (the site's .np-guide-link block, given guide spacing) */
.g-guide .g-guide-xlink{padding:48px 24px 0}

/* Guide No. 9 (Wedding childcare in Portugal), Nov 2026 */
.g-guide .g-way h3{font-size:19px !important}
/* Chapter 2: the worked example */
.g-guide .g-example{background:var(--bg-l);border-radius:6px;padding:26px 28px;display:flex;flex-direction:column;gap:12px}
.g-guide .g-example__title{font-weight:500;font-size:19px;color:var(--teal)}
.g-guide .g-example__line{display:flex;justify-content:space-between;gap:12px;font-size:16px;border-bottom:1px dotted #91b6bb;padding-bottom:8px}
.g-guide .g-example__total{font-weight:600;color:var(--ink);border-bottom:none;border-top:1px solid var(--text);padding:10px 0 0}
.g-guide .g-example__note{font-size:14px;line-height:1.55;color:var(--muted)}
/* Chapter 3: the day, hour by hour (an ordered list; on phones the three parts stack) */
.g-guide .g-dayline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.g-guide .g-dayline li{display:grid;grid-template-columns:90px minmax(0,.8fr) minmax(0,1.6fr);gap:20px;padding:16px 0;border-top:1px solid var(--line-d);align-items:start;color:#FFF}
.g-guide .g-dayline li:last-child{border-bottom:1px solid var(--line-d)}
.g-guide .g-dayline__time{font-weight:600;font-size:18px}
.g-guide .g-dayline__t{font-weight:600;font-size:17px;line-height:1.35}
.g-guide .g-dayline__d{color:#fff}
@media (max-width:700px){.g-guide .g-dayline li{grid-template-columns:1fr;gap:4px}}

/* Guide No. 10 (Hiring a nanny in Portugal), Nov 2026 */
.g-guide .g-stack--14{gap:14px}
.g-guide .g-notworth--sm{font-size:15px;padding:22px 24px}
.g-guide .g-kind h3{font-size:19px !important}
.g-guide .g-phase--plain p{font-size:15px;line-height:1.55}
/* Chapter 2: steps with a who-does-it tag (an ordered list; on phones the tag moves above the title) */
.g-guide .g-hsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.g-guide .g-hsteps li{display:grid;grid-template-columns:40px 64px minmax(0,1fr);gap:16px;padding:16px 0;border-top:1px solid var(--line);align-items:start}
.g-guide .g-hsteps li:last-child{border-bottom:1px solid var(--line)}
.g-guide .g-hsteps__n{width:40px;height:40px;border-radius:50%;background:var(--accent);color:#FFF;font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center}
.g-guide .g-hsteps__tag{border-radius:4px;padding:4px 0;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-align:center;margin-top:8px}
.g-guide .g-hsteps__tag--you{background:var(--pale);color:var(--ink)}
.g-guide .g-hsteps__tag--us{background:var(--teal);color:#FFF}
.g-guide .g-hsteps__tag--both{background:var(--pale2);color:var(--ink)}
.g-guide .g-hsteps__t{font-weight:600;font-size:17px;line-height:1.35;color:var(--ink)}
.g-guide .g-hsteps__d{font-size:15px;line-height:1.55}
@media (max-width:600px){
  .g-guide .g-hsteps li{grid-template-columns:40px minmax(0,1fr);row-gap:8px}
  .g-guide .g-hsteps__tag{grid-column:2;justify-self:start;padding:3px 10px;margin-top:9px}
  .g-guide .g-hsteps li>div{grid-column:2}
}
/* Chapter 3: the cost sum on the band */
.g-guide .g-costsum{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:48px;align-items:start;color:#FFF}
.g-guide .g-costsum .g-stats{padding-top:6px}
.g-guide .g-costsum__title{font-weight:500;font-size:18px}
.g-guide .g-costsum__line{display:flex;justify-content:space-between;gap:16px;font-size:16px;line-height:1.5;border-bottom:1px dotted #91b6bb;padding-bottom:8px}
.g-guide .g-costsum__total{border-bottom:none;border-top:1px solid #FFF;padding:10px 0 0;font-weight:600}
.g-guide .g-costsum__note{font-size:14px;color:#fff;line-height:1.55}
/* Chapter 4 */
.g-guide .g-who__note{font-size:13px;color:var(--muted)}
.g-guide .g-warn{padding:20px 22px;font-size:15px;line-height:1.6}
.g-guide .g-warn strong{color:var(--teal)}

/* Guide No. 11 (Primeiros socorros pediátricos), Nov 2026. Every instruction stays visible at every width. */
.g-guide .g-grid--240{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.g-guide .g-grid--320{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))}
.g-guide .g-fs-15{font-size:15px}
.g-guide .g-maxw-620{max-width:620px}
.g-guide .g-band--mt40{margin-top:40px}
.g-guide .g-draft-wrap{padding-top:32px}
.g-guide .g-badge--44{width:44px;height:44px}
/* Short answer: the three numbers */
.g-guide .g-numbers td{font-size:15px}
.g-guide .g-numbers td.g-numbers__n{white-space:nowrap;font-weight:700;font-size:20px}
.g-guide .g-numbers__n a{color:var(--teal);text-decoration:none}
.g-guide .g-numbers__n a:hover{text-decoration:underline}
.g-guide .g-numbers tbody tr:last-child td{border-bottom:none}
/* Chapter 1: the four questions on the band */
.g-guide .g-askbox{border:1px solid var(--line-d);border-radius:6px;padding:18px;display:flex;flex-direction:column;gap:6px}
.g-guide .g-askbox__t{font-weight:600;font-size:18px}
.g-guide .g-askbox__d{font-size:15px;color:#fff;line-height:1.5}
/* Chapters 2 and 4: numbered steps (order is part of the instruction) */
.g-guide .g-aid{padding:28px;display:flex;flex-direction:column;gap:16px}
.g-guide .g-aid__head{display:flex;align-items:center;gap:12px}
.g-guide .g-aid h3{font-weight:500 !important;font-size:21px !important;line-height:1.3 !important;color:var(--teal)}
.g-guide .g-aid__sub{font-size:14px;color:var(--muted)}
.g-guide .g-numsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.g-guide .g-numsteps li{display:flex;gap:14px;align-items:flex-start;font-size:16px;line-height:1.55}
.g-guide .g-numsteps__n{width:30px;height:30px;border-radius:50%;background:var(--teal);color:#FFF;font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:center;flex:none}
/* Chapter 3 */
.g-guide .g-situation h3{font-size:19px !important}
/* Chapter 5: the kit, three columns on desktop */
.g-guide .g-checklist--kit{padding:20px 28px;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:0 40px}
.g-guide .g-checklist--kit label{padding:10px 0;border-bottom:1px solid var(--line) !important}
/* The card block */
.g-guide .g-cartao-wrap{padding-top:56px;padding-bottom:24px}
.g-guide .g-cta .g-cartao__h{font-weight:300 !important;font-size:34px !important;color:#FFF}
.g-guide .g-cardrow{display:flex;justify-content:space-between;gap:12px;font-size:16px}
.g-guide .g-sheet__grid--card{padding-top:4px;gap:16px 20px}
/* Closing block, light grey variant */
.g-guide .g-cta--light{background:var(--bg-l);color:var(--text);display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px}
.g-guide .g-cta--light h2{color:var(--teal) !important;font-size:28px !important;line-height:1.25 !important}
.g-guide .g-btn--outline-teal{border:1px solid var(--brand);color:var(--teal)}
.g-guide .g-btn--outline-teal:hover{background:var(--teal);color:#FFF}
.g-guide .g-cta .g-kicker{color:#FFF}

/* ===== Guide No. 12: A child emergency in Portugal (EN) ===== */
/* Hero: the photo's subjects are on the right; on tablets the title would sit on them, so even out the scrim */
@media (min-width:821px) and (max-width:1199px){.g-guide .g-hero--emergency .g-hero__img img{object-position:100% center}.g-guide .g-hero--emergency .g-hero__scrim{background:rgba(36,65,75,.82)}}
/* Chapter 1: sentences table and address box, on the teal band */
.g-guide .g-say-grid{gap:40px}
.g-guide .g-band__h3{font-weight:500 !important;font-size:21px !important;line-height:1.3 !important;color:#FFF;margin:0}
.g-guide .g-say thead tr{background:none}
.g-guide .g-say th,.g-guide .g-say td{border-bottom:1px solid var(--line-d)}
.g-guide .g-say th{color:#FFF}
.g-guide .g-say td{color:#fff;font-size:15px}
.g-guide .g-say td[lang]{color:#FFF;font-weight:600;font-size:16px}
.g-guide .g-addr{border:1px solid var(--line-d);border-radius:6px;padding:20px;display:flex;flex-direction:column;gap:10px}
.g-guide .g-addr__l{font-size:13px;color:#fff}
.g-guide .g-addr__a{font-weight:600;font-size:18px;line-height:1.4;color:#FFF}
.g-guide .g-addr__d{font-size:15px;line-height:1.5;color:#fff}
/* Chapter 2: "where to go" table, links in it */
.g-guide .g-doors a{color:var(--teal)}
@media print{.g-guide .g-say td,.g-guide .g-say th,.g-guide .g-addr *{color:var(--text) !important}}
.g-guide .g-say td,.g-guide .g-say th{padding:12px 14px}
