/*
Theme Name: QLOLP Clinic
Description: Minimal responsive theme for the LINE clinic booking site.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: qlolp-clinic
*/

:root {
    --ql-bg: #f4f4f1;
    --ql-surface: #ffffff;
    --ql-ink: #202124;
    --ql-muted: #686b70;
    --ql-border: #dedfdb;
    --ql-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ql-bg);
    color: var(--ql-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
.ql-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    color: #fff;
    background: rgba(32, 33, 36, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.ql-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}
.ql-site-header .ql-shell {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.ql-brand {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.ql-nav { display: flex; align-items: center; gap: 8px; }
.ql-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #e7e7e7;
    font-weight: 650;
}
.ql-nav a:hover, .ql-nav a:focus-visible { background: #34363a; color: #fff; outline: none; }
.ql-main { width: min(1540px, calc(100% - 40px)); min-height: calc(100vh - 220px); padding: 64px 0 88px; }
.ql-main > article > h1 { margin: 0 0 30px; font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1.05; letter-spacing: -.05em; }
.ql-content > *:first-child { margin-top: 0; }
.ql-site-footer { background: var(--ql-ink); color: #fff; }
.ql-site-footer .ql-shell {
    min-height: 140px;
    padding-block: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.ql-footer-copy strong { display: block; font-size: 1.05rem; }
.ql-footer-copy span { color: #b8bbc0; font-size: .9rem; }
.ql-footer-link { color: #fff; text-underline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
    .ql-shell { width: min(100% - 24px, 1180px); }
    .ql-site-header .ql-shell { min-height: 64px; }
    .ql-brand { font-size: .98rem; }
    .ql-nav a { padding: 0 12px; font-size: .88rem; }
    .ql-nav a:first-child { display: none; }
    .ql-main { padding: 36px 0 60px; }
    .ql-site-footer .ql-shell { align-items: flex-start; flex-direction: column; }
}
