/* Design craft informed by unslop — https://heydamir.design/unslop (CC BY 4.0). */
.tfg-guide{--tfg-ink:#14283f;--tfg-muted:#576574;--tfg-line:#dce2e8;--tfg-accent:#2458a6;color:var(--tfg-ink);padding-bottom:32px}
.tfg-guide [hidden]{display:none!important}
.tfg-guide h2,.tfg-guide h3,.tfg-guide p,.tfg-guide ul{margin:0;padding:0}
.tfg-guide a{color:inherit;text-decoration:none}
.tfg-intro{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:48px;margin-bottom:32px}
.tfg-guide .tfg-lead{font-size:28px;line-height:1.5;font-weight:600;letter-spacing:-.025em;margin-bottom:16px}
.tfg-intro p:not(.tfg-lead){font-size:16px;color:var(--tfg-muted);line-height:1.85}
.tfg-guide .tfg-updated{font-size:14px!important;margin-top:20px}
.tfg-cover{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tfg-cover figure,.tfg-teaser figure{margin:0;min-width:0}
.tfg-photo{overflow:hidden;aspect-ratio:4/3;background:#f3f5f7;border-radius:12px;position:relative}
.tfg-generated{position:absolute;right:8px;bottom:8px;background:#fffef2ee;color:#384557;font-size:12px;line-height:1.5;border:1px solid #e1dccb;border-radius:4px;padding:2px 6px}
.tfg-photo img{display:block;width:100%;height:100%;object-fit:cover}
.tfg-cover .tfg-photo{aspect-ratio:3/4}
.tfg-cover figure:nth-child(2){margin-top:24px}
.tfg-cover figcaption{font-size:13px;color:var(--tfg-muted);margin-top:8px;line-height:1.6}
.tfg-selection{padding:16px 24px;border:1px solid var(--tfg-line);border-radius:12px;margin-bottom:40px;background:var(--tfg-soft)}
.tfg-selection summary{font-size:14px;font-weight:500;line-height:1.9}
.tfg-selection p{font-size:14px!important;color:var(--tfg-muted);line-height:1.9;margin-top:12px!important}
.tfg-layout{display:grid;grid-template-columns:192px minmax(0,1fr);gap:40px;align-items:start}
.tfg-sidebar{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;padding:0 12px 12px 0;scrollbar-width:thin}
.tfg-sidebar nav{display:grid;gap:4px}
.tfg-country-link{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:8px;font-size:15px;line-height:1.6;min-height:40px}
.tfg-country-link small{font-size:13px;color:var(--tfg-muted);font-variant-numeric:tabular-nums}
.tfg-country-link[aria-current]{background:var(--tfg-soft);color:var(--tfg-accent);font-weight:600}
.tfg-country-link:hover{background:#f1f5f9}
.tfg-guide .tfg-region{font-size:13px;color:var(--tfg-muted);padding:16px 12px 4px}
.tfg-toolbar{display:flex;align-items:end;gap:12px;border-bottom:1px solid var(--tfg-line);padding-bottom:24px;margin-bottom:24px}
.tfg-toolbar label{display:grid;gap:8px;font-size:14px;font-weight:500}
.tfg-search{flex:1;min-width:0}
.tfg-select{width:176px}
.tfg-toolbar input,.tfg-toolbar select{height:48px;width:100%;min-width:0;border:1px solid #aebac8;border-radius:8px;padding:8px 12px;background:#fff;color:var(--tfg-ink);font-size:16px}
.tfg-toolbar select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23576574' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px;background-position:right 12px center;padding-right:36px}
.tfg-reset,.tfg-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #aebac8;border-radius:8px;background:#fff;padding:8px 16px;font-size:15px;font-weight:500;color:var(--tfg-ink);white-space:nowrap;text-decoration:none}
.tfg-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:32px;scroll-margin-top:24px}
.tfg-results-head h2{font-size:18px!important;font-weight:500!important}
.tfg-results-head p{font-size:14px!important;color:var(--tfg-muted)}
.tfg-country-group{margin-bottom:48px;scroll-margin-top:24px}
.tfg-country-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid var(--tfg-ink)}
.tfg-country-heading p{font-size:13px!important;color:var(--tfg-muted);margin-bottom:4px!important}
.tfg-country-heading h2{font-size:26px!important;line-height:1.4}
.tfg-group-count{font-size:14px;color:var(--tfg-muted);padding-bottom:4px}
.tfg-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.tfg-card{min-width:0;border:1px solid var(--tfg-line);border-radius:12px;overflow:hidden;background:#fff;scroll-margin-top:24px}
.tfg-card-image{position:relative}
.tfg-card-image .tfg-photo{border-radius:0}
.tfg-number{position:absolute;top:12px;left:12px;background:#fff;color:var(--tfg-ink);font-size:14px;font-weight:600;border-radius:6px;padding:4px 8px;box-shadow:0 1px 4px #14283f12;font-variant-numeric:tabular-nums}
.tfg-card-body{padding:20px}
.tfg-card h3{font-size:18px!important;line-height:1.6!important;letter-spacing:-.02em}
.tfg-card .tfg-local-name{font-size:13px;color:var(--tfg-muted);line-height:1.5;margin-top:8px;overflow-wrap:anywhere}
.tfg-card .tfg-shop{font-size:15px;line-height:1.75;margin-top:20px}
.tfg-shop>span{display:block;font-size:13px;color:var(--tfg-muted);margin-bottom:4px}
.tfg-missing{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#667483;background:#f0f3f6}
.tfg-missing svg{margin-top:8px;color:#9ba8b5}
.tfg-missing span{font-size:14px;font-weight:500}
.tfg-missing small{font-size:12px}
.tfg-references{margin-top:20px;border-top:1px solid var(--tfg-line);padding-top:12px}
.tfg-references summary{font-size:14px;color:var(--tfg-accent);display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none}
.tfg-references summary::-webkit-details-marker{display:none}
.tfg-references summary:after{content:'+';font-size:18px}
.tfg-references[open] summary:after{content:'−'}
.tfg-references summary>span{color:var(--tfg-muted);margin-left:auto;font-size:13px}
.tfg-references ul{list-style:none;margin-top:12px!important;display:grid;gap:12px}
.tfg-guide .tfg-references a{font-size:14px;line-height:1.7;color:var(--tfg-accent);text-decoration:underline;text-underline-offset:3px}
.tfg-references small{display:block;font-size:12px;color:var(--tfg-muted);line-height:1.6;margin-top:4px}
.tfg-notes{border-top:1px solid var(--tfg-line);padding-top:32px;margin-top:16px}
.tfg-notes h2{font-size:20px!important;margin-bottom:16px!important}
.tfg-notes p{font-size:14px!important;color:var(--tfg-muted);line-height:1.9;margin-bottom:12px!important}
.tfg-notes details{border-top:1px solid var(--tfg-line);padding:16px 0;font-size:14px}
.tfg-notes summary{font-size:15px;font-weight:500}
.tfg-notes ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;margin-top:16px!important}
.tfg-notes a{color:var(--tfg-accent);text-decoration:underline;text-underline-offset:3px}
.tfg-credits li>span{display:block;font-size:12px;color:var(--tfg-muted);overflow-wrap:anywhere}
.tfg-notes details>p{margin-top:16px!important}
.tfg-empty{padding:40px 24px;background:#f5f7fa;border-radius:12px;text-align:center}
.tfg-empty h2{font-size:22px!important;margin-bottom:12px!important}
.tfg-empty p{margin-bottom:20px!important;color:var(--tfg-muted)}
.tfg-teaser{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:32px;border:1px solid #dce2e8;border-radius:14px;background:#fff}
.tfg-teaser h2{font-size:28px;line-height:1.5}
.tfg-teaser p:not(.tfg-eyebrow){font-size:16px;color:#576574;margin:16px 0 24px!important}
.tfg-primary{background:var(--tfg-accent);color:#fff!important;border-color:var(--tfg-accent);border-radius:14px}
.tfg-primary:hover{background:#02001c;border-color:#02001c}
.tfg-teaser-photos{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tfg-teaser-photos .tfg-photo{aspect-ratio:1}
.tfg-teaser figcaption{font-size:14px;color:#576574;margin-top:8px}
@media(max-width:1100px){.tfg-layout{grid-template-columns:160px minmax(0,1fr);gap:24px}.tfg-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tfg-intro{gap:32px}.tfg-cover{gap:8px}}
@media(max-width:768px){.tfg-intro{grid-template-columns:1fr;gap:24px}.tfg-guide .tfg-lead{font-size:24px}.tfg-cover{gap:12px;max-width:560px}.tfg-cover .tfg-photo{aspect-ratio:1}.tfg-cover figure:nth-child(2){margin-top:0}.tfg-selection{display:block;padding:16px;margin-bottom:24px}.tfg-selection strong{display:block;margin-bottom:8px}.tfg-layout{display:block}.tfg-sidebar{display:none}.tfg-toolbar{gap:12px;flex-wrap:wrap}.tfg-search{flex-basis:100%}.tfg-select{flex:1}.tfg-results-head{margin-bottom:24px}.tfg-cards{gap:16px}.tfg-card-body{padding:16px}.tfg-card h3{font-size:17px!important}.tfg-country-group{margin-bottom:40px}.tfg-notes ul{grid-template-columns:repeat(2,minmax(0,1fr))}.tfg-teaser{grid-template-columns:1fr;gap:24px;padding:24px}.tfg-teaser h2{font-size:24px}}
@media(max-width:480px){.tfg-cards{grid-template-columns:1fr}.tfg-card{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start}.tfg-card-image{margin:16px 0 16px 16px}.tfg-card-image .tfg-photo{aspect-ratio:1;border-radius:8px}.tfg-card-body{padding:16px}.tfg-card .tfg-local-name{font-size:12px;margin-top:4px}.tfg-card .tfg-shop{font-size:14px;margin-top:12px}.tfg-card h3{font-size:16px!important}.tfg-number{top:6px;left:6px;font-size:12px;padding:2px 6px}.tfg-missing svg{width:28px;height:28px}.tfg-missing{gap:4px}.tfg-missing span{font-size:12px}.tfg-missing small{font-size:10px}.tfg-notes ul{grid-template-columns:1fr}.tfg-cover figcaption{font-size:12px}.tfg-references{margin-top:12px;padding-top:8px}.tfg-references small{font-size:12px}.tfg-country-heading h2{font-size:24px!important}}
@media(prefers-reduced-motion:reduce){.tfg-guide *,.tfg-teaser *{scroll-behavior:auto!important;transition:none!important}}

/* Scoped to the new guide; existing pages and article templates retain their styles. */
.tfg-guide,.tfg-teaser{font-family:inherit;line-height:1.8;font-size:16px;box-sizing:border-box}
.tfg-guide *,.tfg-teaser *{box-sizing:border-box}
.tfg-guide a,.tfg-teaser a{text-decoration:none}
.tfg-guide img,.tfg-teaser img{max-width:100%}
.tfg-guide .tfg-photo img,.tfg-teaser .tfg-photo img{width:100%;height:100%;object-fit:cover}
.tfg-guide button.tfg-reset,.tfg-guide button.tfg-reset:hover,.tfg-guide button.tfg-reset:focus{color:var(--tfg-ink);background:#fff;box-shadow:none;margin:0}
.tfg-guide :focus-visible,.tfg-teaser :focus-visible{outline:3px solid var(--tfg-accent);outline-offset:4px}
.tfg-teaser{max-width:1200px;margin:32px auto 48px;border-color:var(--tfg-line);background:var(--tfg-soft);color:var(--tfg-ink)}
.tfg-teaser h2{margin:0 0 16px;font-size:28px;line-height:1.5;color:var(--tfg-ink)}
.tfg-teaser .tfg-eyebrow{font-size:14px;color:var(--tfg-accent);margin:0 0 12px}
.tfg-teaser p:not(.tfg-eyebrow),.tfg-teaser figcaption{color:var(--tfg-muted)}
.tfg-teaser .tfg-primary{color:white;border-color:var(--tfg-accent);background:var(--tfg-accent);white-space:normal;text-align:center;line-height:1.6}
.tfg-guide .tfg-country-heading h2{color:var(--tfg-ink)}
.tfg100-page .yn-page-heading>p,.tfg100-page .tc-page-heading>p,.tfg100-page .jt-page-heading>p{display:none}
@media(max-width:768px){.tfg-toolbar{align-items:end}.tfg-reset{white-space:normal;max-width:42%;line-height:1.5}.tfg-select{min-width:0}.tfg-teaser{margin:24px auto 32px}.tfg-teaser h2{font-size:24px}.tfg-generated{font-size:11px;right:4px;bottom:4px;max-width:calc(100% - 8px)}}
