/*
Theme Name: Thailand Medicierge
Description: Responsive, editable medical concierge homepage for Thailand Medicierge.
Version: 1.7.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: thailand-medicierge
License: GPL-2.0-or-later (theme code). See README.txt for image credits.
*/
:root{--ink:#183f36;--green:#103d34;--paper:#fbfaf4;--gold:#f2c785;--line:#d4dbcf;color:var(--ink);font:100%/1.55 'DM Sans','Segoe UI',Arial,sans-serif;background:var(--paper);scroll-behavior:smooth;scroll-padding-top:18px}*{box-sizing:border-box}body,figure,h1,h2,h3,p{margin:0}a{color:inherit;text-underline-offset:4px}button,input{font:inherit}button,summary,input{cursor:pointer}.wrap{width:min(1280px,90%);margin:auto}.nav,.brand,nav,.hero-inner,.filters,.cat,.eyebrow{display:flex;align-items:center}.nav{justify-content:space-between;min-height:80px}.brand{text-decoration:none;gap:10px;font:600 1.45rem Georgia,serif;letter-spacing:-.05em}.brand b{font-weight:500}.brand img{width:2.5rem;height:2.5rem}nav{gap:2rem}nav a,.btn{font-weight:600;font-size:.94rem;text-decoration:none}nav a:hover,.guides a:hover,footer a:hover{text-decoration:underline}.navcta{padding:.52rem 1rem;border:1px solid var(--ink);border-radius:5px}.hero{background:var(--green);color:#fffbee}.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:4%;padding-block:clamp(2rem,4vw,3.5rem)}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.76rem;font-weight:700;gap:.65rem}.eyebrow i{height:2px;width:30px;background:#c4935e}.hero .eyebrow{color:#f6d5a6}.hero h1,h2,h3{font-family:'Baskervville',Georgia,serif;font-weight:400;line-height:1.05;letter-spacing:-.045em}.hero h1{font-size:clamp(3.1rem,5.3vw,5.4rem);margin:1.25rem 0}.hero em{font-weight:400;color:#f5cc8e}.intro>p{max-width:460px;font-size:1.09rem;color:#e0e9de}.btn{display:inline-block;margin-top:1.6rem;color:#183c32;background:var(--gold);padding:.8rem 1.3rem;border-radius:5px}.btn:hover{background:#ffe0ad}.hero figure{position:relative;overflow:hidden;border-radius:100px 8px 8px 8px;height:clamp(340px,29vw,440px)}.hero figure img{width:100%;height:100%;object-fit:cover}.hero figcaption{position:absolute;bottom:14px;left:18px;background:#102e2bdb;border-radius:24px;color:white;padding:4px 12px;font-size:.82rem}.section{padding-block:clamp(3rem,5.5vw,5rem)}h2{font-size:clamp(2.35rem,3.6vw,3.8rem);margin:.85rem 0 1rem}.lede,.planner p,.travel p{max-width:660px;color:#4d6158}.filters{gap:.5rem;flex-wrap:wrap;margin:1.65rem 0 1.25rem}.filters button{background:transparent;padding:.42rem .95rem;border:1px solid #b9c6ba;color:var(--ink);border-radius:24px;font-size:.9rem}.filters [aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}article{border:1px solid var(--line);border-radius:12px;padding:clamp(1.25rem,2vw,2rem);background:#fffef9}.cat{gap:.6em;font-size:.83rem;font-weight:650}.ico{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font:1.5rem Georgia;background:#e3efe4}.cards article:nth-child(2) .ico{background:#f7e7cd}.cards article:nth-child(3) .ico{background:#e4e7ed}h3{font-size:1.7rem;margin:1.2rem 0 .45rem}article>p,.unit,.note{color:#54665c}.price{font:2.4rem Georgia,serif;letter-spacing:-.045em;margin:1.7rem 0 .1rem}.price small{font:normal .85rem 'Segoe UI',sans-serif;letter-spacing:0}.unit,.note{font-size:.9rem}.note{margin-top:1.1rem}article details{border-top:1px solid var(--line);margin-top:1.3rem;padding-top:1rem}summary{font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:1.2rem}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:1.25rem}details[open]>summary:after{content:'−'}details p{margin:.7rem 0}details a{font-weight:600}.split{display:grid;grid-template-columns:1fr 1.2fr;gap:8%}.travel{background:#e8efe4;padding:4rem 0}.guides details,#checks label{border-top:1px solid #b9c7b8;padding:1.05rem 0}.guides summary{font:1.45rem Georgia,serif}#checks label{display:flex;align-items:center;gap:1rem}#checks input{width:19px;height:19px;accent-color:var(--green);flex:none}#progress{display:inline-block;margin:1rem 0;font-weight:600}.planner p{max-width:380px}footer{background:#103d34;color:#ebf3e6;padding:2.5rem 0}footer .footer-name{font:1.45rem Georgia,serif}footer p{margin:.65rem 0;font-size:.96rem}footer .fine-print{color:#cfddce}.skip{position:absolute;left:-10000px}.skip:focus{left:8px;top:8px;background:white;padding:8px;z-index:5}:focus-visible{outline:3px solid #b46c1a;outline-offset:4px}@media(max-width:850px){.cards{grid-template-columns:1fr}.hero-inner{gap:1.5rem}.brand{font-size:1.15rem}nav{gap:1rem}.hero h1{font-size:3.25rem}}@media(max-width:680px){.hero-inner,.split{grid-template-columns:1fr}.hero-inner{padding-block:2.2rem 1.25rem}.hero figure{height:240px;border-top-left-radius:64px}.nav{align-items:flex-start;flex-direction:column;gap:.7rem;padding-block:.8rem}.brand img{width:30px;height:30px}.nav nav{width:100%;justify-content:space-between;gap:.4rem}nav a{font-size:.84rem}.navcta{padding:.25rem .6rem}.split{gap:1.6rem}.travel{padding:3rem 0}.hero h1{font-size:clamp(2.85rem,10vw,4.25rem)}.intro>p{font-size:1rem}.cards h3{margin-top:.8rem}.price{margin-top:1rem}.section{padding-block:2.7rem}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
.proof{background:#e9eee2;border-bottom:1px solid var(--line)}.numbers{display:grid;grid-template-columns:repeat(3,1fr);padding-block:1.65rem}.numbers>div{border-left:1px solid #bdcabc;padding-left:clamp(1rem,4vw,4rem)}.numbers>div:first-child{border:0;padding-left:0}.numbers .metric,.numbers .metric-label{display:block}.numbers .metric{font:normal clamp(2rem,3.6vw,3.6rem)/1.1 Georgia,serif;letter-spacing:-.05em}.numbers .metric-label{font-weight:550;margin-top:.3rem}.catalog{margin-top:1.8rem;align-items:stretch}.catalog article{display:flex;flex-direction:column;border-top:3px solid #387764}.catalog article:nth-child(3n + 2){border-top-color:#ab8043}.catalog article:nth-child(3n){border-top-color:#71817b}.catalog h3{margin-top:.2rem}.catalog article>p{flex:1}.steps>div{padding:0 0 1.2rem;border-bottom:1px solid #bfccbc}.steps h3{font-size:1.5rem;margin-top:1.25rem}.steps>div:first-child h3{margin-top:0}.contact h2{max-width:740px}.hero h1{font-size:clamp(3rem,4.65vw,5rem)}@media(max-width:680px){.numbers{gap:.5rem}.numbers .metric{font-size:clamp(1.35rem,5.7vw,2.1rem)}.numbers .metric-label{font-size:.81rem}.numbers>div{padding-left:.6rem}}

.nav {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
}
.parent-brand {
  display: grid;
  justify-items: end;
  gap: .18rem;
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 2vw, 2rem);
}
.parent-brand p { font-size: .8rem; color: #445c51; }
.parent-brand img { display: block; width: 6.5rem; height: auto; }
@media (max-width: 760px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem .5rem; padding-block: .7rem; }
  .nav .brand { gap: .35rem; line-height: 1.1; }
  .nav nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .parent-brand { grid-column: 2; grid-row: 1; border: 0; padding: 0; }
  .parent-brand img { width: 5rem; }
}

.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.wp-block-group, .wp-block-image, .wp-block-buttons, .wp-block-details, .wp-element-caption { box-sizing: border-box; }
.wp-block-image { margin: 0; }
.brand figure, .parent-brand figure { line-height: 0; }
.brand a { color: inherit; text-decoration: none; }
nav .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 5px; padding: .52rem 1rem; font: inherit; font-weight: 600; font-size: .94rem; }
.explore-button .wp-block-button__link { margin-top: 1.6rem; color: #183c32; background: var(--gold); padding: .8rem 1.3rem; border-radius: 5px; font-size: .94rem; font-weight: 600; }
.explore-button .wp-block-button__link:hover { background: #ffe0ad; }
.intro > .eyebrow, .eyebrow { font-size: .76rem; }
.eyebrow:before { content: ''; height: 2px; width: 30px; flex: none; background: #c4935e; }
.hero .wp-block-image img { height: 100%; object-fit: cover; }
.hero .wp-block-image figcaption { margin: 0; color: white; font-size: .82rem; }
.parent-brand .wp-block-image img, .brand .wp-block-image img { display: block; }
footer p.fine-print { font-size: .833rem; color: #cfddce; margin: 0; }
footer .footer-name { margin: 0; }
@media(max-width:680px) { nav .wp-block-button__link { padding: .25rem .6rem; font-size: .84rem; } }
.wp-site-blocks h2.wp-block-heading { margin: .85rem 0 1rem; }
.wp-site-blocks h3.wp-block-heading { margin: 1.2rem 0 .45rem; }
.wp-site-blocks .catalog h3 { margin-top: .2rem; }
.wp-site-blocks .steps h3 { margin-top: 1.25rem; }
.wp-site-blocks .steps > div:first-child h3 { margin-top: 0; }
.wp-site-blocks .intro .wp-block-heading { margin: 1.25rem 0; }
.wp-site-blocks article details { margin-top: 1.3rem; }
.wp-site-blocks .catalog { margin-top: 1.8rem; }
.wp-site-blocks .hero figcaption { text-align: left; }
.wp-site-blocks footer .footer-name, .wp-site-blocks footer .fine-print { display: inline; }
.wp-site-blocks footer .footer-name + p { margin: .65rem 0; }
.wp-site-blocks footer .fine-print + .fine-print::before { content: "\a"; white-space: pre; }

.catalog .service-list { margin: .65rem 0 0; padding-inline-start: 1.2rem; color: #43594e; }
.service-list li + li { margin-top: .38rem; }
.service-list li::marker { color: #387764; }

.evidence { border-top: 1px solid var(--line); }
.evidence p { max-width: 88ch; margin-block: .75rem; }
.evidence h3 { margin-block: 2rem .7rem; }
.evidence .evidence-prices { height: auto; border-radius: 0; overflow-x: auto; margin: 1rem 0; }
.evidence-prices table { border-collapse: collapse; width: 100%; }
.evidence-prices td,.evidence-prices th { text-align: left; padding: .65rem; border: 1px solid var(--line); }
.evidence-prices th { background: var(--green); color: white; }
@media(max-width:680px){.evidence-prices table{min-width:490px}}

.evidence .price-disclaimer {border-inline-start:3px solid #b79747;padding:.6rem 1rem;background:#f5f3ec;color:#283b35;font-size:.95rem;line-height:1.55;}

.benefits {border-bottom:1px solid var(--line)}
.benefits .benefit-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1.6rem 2rem;list-style:none;margin:1.65rem 0 0;padding:0}
.benefit-list li {position:relative;padding-inline-start:2rem;color:#43594e}
.benefit-list li::before {content:"";position:absolute;inset-inline-start:.2rem;top:.35rem;width:.45rem;height:.85rem;transform:rotate(42deg);border:solid #387764;border-width:0 2px 2px 0}
.benefit-list strong {display:block;margin-bottom:.25rem;color:var(--ink);font-size:1.1rem}
