/* Site-specific food guide layouts. Design craft: unslop by @heydamir, CC BY 4.0. */
.tfg-guide .tfg-card-image .tfg-photo{aspect-ratio:auto;overflow:visible;background:transparent}
.tfg-guide .tfg-card-image .tfg-generated{position:static;display:inline-block;margin-top:8px;max-width:100%;font-size:11px;line-height:1.6;text-align:left;overflow-wrap:anywhere}
.tfg-guide .tfg-card-body{min-width:0;overflow-wrap:anywhere}
.tfg-guide .tfg-card .tfg-local-name{letter-spacing:0}

/* hotelnavis: a quiet reading list, with photographs at the outer edge. */
.tfg-guide--hotelnavis .tfg-intro{grid-template-columns:minmax(0,1fr) 360px;gap:48px;margin-bottom:24px}
.tfg-guide--hotelnavis .tfg-lead{font-family:Georgia,'Yu Mincho','Hiragino Mincho ProN',serif;font-size:30px;line-height:1.7}
.tfg-guide--hotelnavis .tfg-cover{gap:12px}
.tfg-guide--hotelnavis .tfg-cover figure:nth-child(2){margin-top:0}
.tfg-guide--hotelnavis .tfg-cover .tfg-photo{aspect-ratio:3/4;border-radius:2px}
.tfg-guide--hotelnavis .tfg-selection{border-width:1px 0;border-radius:0;background:transparent;padding:16px 0;margin-bottom:32px}
.tfg-guide--hotelnavis .tfg-layout{grid-template-columns:144px minmax(0,1fr);gap:40px}
.tfg-guide--hotelnavis .tfg-country-link{border-radius:0;padding:8px}
.tfg-guide--hotelnavis .tfg-country-group{display:grid;grid-template-columns:104px minmax(0,1fr);gap:24px;border-top:1px solid var(--tfg-line);padding-top:24px}
.tfg-guide--hotelnavis .tfg-country-heading{display:block;border:0;margin:0;padding:0}
.tfg-guide--hotelnavis .tfg-country-heading h2{font-family:Georgia,'Yu Mincho','Hiragino Mincho ProN',serif;font-size:28px!important;font-weight:500}
.tfg-guide--hotelnavis .tfg-group-count{display:block;margin-top:12px}
.tfg-guide--hotelnavis .tfg-cards{display:block}
.tfg-guide--hotelnavis .tfg-card{display:grid;grid-template-columns:minmax(0,1fr) 144px;gap:24px;border:0;border-bottom:1px solid var(--tfg-line);border-radius:0;background:transparent;padding:0 0 24px;margin:0 0 24px;align-items:start;overflow:visible}
.tfg-guide--hotelnavis .tfg-card-image{grid-column:2;grid-row:1;margin:0;padding-top:4px}
.tfg-guide--hotelnavis .tfg-card-image .tfg-photo img{height:112px;width:144px;border-radius:2px}
.tfg-guide--hotelnavis .tfg-number{top:8px;left:4px;font-size:12px;border-radius:0;box-shadow:none;padding:2px 6px}
.tfg-guide--hotelnavis .tfg-card-body{grid-column:1;grid-row:1;padding:0}
.tfg-guide--hotelnavis .tfg-card h3{font-size:20px!important;font-weight:500;line-height:1.7!important}
.tfg-guide--hotelnavis .tfg-card .tfg-shop{margin-top:12px}
.tfg-guide--hotelnavis .tfg-references{border:0;padding-top:0;margin-top:12px}

/* yadonavi: two columns of horizontal food-and-shop entries. */
.tfg-guide--yadonavi .tfg-intro{grid-template-columns:1.1fr 1fr;gap:40px}
.tfg-guide--yadonavi .tfg-cover{grid-template-columns:1.2fr 1fr;gap:12px;align-items:start}
.tfg-guide--yadonavi .tfg-cover figure:first-child{grid-row:span 2}
.tfg-guide--yadonavi .tfg-cover figure:nth-child(2){margin-top:0}
.tfg-guide--yadonavi .tfg-cover .tfg-photo{aspect-ratio:2/1;border-radius:12px}
.tfg-guide--yadonavi .tfg-cover figure:first-child .tfg-photo{aspect-ratio:3/4}
.tfg-guide--yadonavi .tfg-layout{display:block}
.tfg-guide--yadonavi .tfg-sidebar{position:static;max-height:none;overflow:auto;padding:0 0 12px;margin-bottom:24px}
.tfg-guide--yadonavi .tfg-sidebar nav{display:flex;gap:8px;width:max-content}
.tfg-guide--yadonavi .tfg-region{display:none}
.tfg-guide--yadonavi .tfg-country-link{gap:16px;border:1px solid var(--tfg-line);background:#fff;white-space:nowrap;padding:8px 16px;border-radius:8px}
.tfg-guide--yadonavi .tfg-country-link[aria-current]{background:var(--tfg-soft);border-color:var(--tfg-accent)}
.tfg-guide--yadonavi .tfg-toolbar{padding:20px;border:1px solid var(--tfg-line);background:var(--tfg-soft);border-radius:12px}
.tfg-guide--yadonavi .tfg-country-heading{border-bottom:1px solid var(--tfg-line)}
.tfg-guide--yadonavi .tfg-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.tfg-guide--yadonavi .tfg-card{display:grid;grid-template-columns:128px minmax(0,1fr);gap:20px;align-items:start;padding:20px;border-radius:12px}
.tfg-guide--yadonavi .tfg-card-image{margin:0}
.tfg-guide--yadonavi .tfg-card-image .tfg-photo img{height:104px;width:128px;border-radius:8px}
.tfg-guide--yadonavi .tfg-number{top:4px;left:4px;border-radius:4px;font-size:12px;box-shadow:none}
.tfg-guide--yadonavi .tfg-card-body{padding:0}
.tfg-guide--yadonavi .tfg-card h3{font-size:19px!important;line-height:1.6!important}
.tfg-guide--yadonavi .tfg-card .tfg-shop{font-size:14px;margin-top:12px}
.tfg-guide--yadonavi .tfg-references{margin-top:12px;padding-top:8px}

/* tripchoo: large food photographs, framed like travel postcards. */
.tfg-guide--tripchoo .tfg-intro{display:block;margin-bottom:24px}
.tfg-guide--tripchoo .tfg-intro>div:first-child{max-width:720px;margin-bottom:24px}
.tfg-guide--tripchoo .tfg-cover{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tfg-guide--tripchoo .tfg-cover figure:nth-child(2){margin-top:0}
.tfg-guide--tripchoo .tfg-cover .tfg-photo{aspect-ratio:3/1;border-radius:8px}
.tfg-guide--tripchoo .tfg-selection{border:0;border-left:3px solid var(--tfg-accent);border-radius:0;padding:12px 20px;background:var(--tfg-soft)}
.tfg-guide--tripchoo .tfg-layout{grid-template-columns:minmax(0,1fr) 160px;gap:32px}
.tfg-guide--tripchoo .tfg-sidebar{grid-column:2;grid-row:1;padding-right:0}
.tfg-guide--tripchoo .tfg-main{grid-column:1;grid-row:1;min-width:0}
.tfg-guide--tripchoo .tfg-country-heading{border-bottom:1px solid var(--tfg-line);border-top:3px solid var(--tfg-accent);padding-top:16px}
.tfg-guide--tripchoo .tfg-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.tfg-guide--tripchoo .tfg-card{display:block;padding:12px;border-radius:12px;background:#fffdf9}
.tfg-guide--tripchoo .tfg-card-image{margin:0}
.tfg-guide--tripchoo .tfg-card-image .tfg-photo img{width:100%;height:auto;aspect-ratio:4/3;border-radius:8px}
.tfg-guide--tripchoo .tfg-number{top:8px;left:8px;border-radius:4px;box-shadow:none;color:var(--tfg-accent)}
.tfg-guide--tripchoo .tfg-card-body{padding:20px 8px 8px}
.tfg-guide--tripchoo .tfg-card h3{font-size:21px!important;font-weight:500}
.tfg-guide--tripchoo .tfg-card .tfg-shop{margin-top:16px}

/* jalantrip: a numbered travel notebook, with a separate image column. */
.tfg-guide--jalantrip .tfg-intro{grid-template-columns:1.4fr 1fr;gap:48px}
.tfg-guide--jalantrip .tfg-cover{display:grid;grid-template-columns:1fr;gap:12px;border-left:1px solid var(--tfg-line);padding-left:24px}
.tfg-guide--jalantrip .tfg-cover figure{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center}
.tfg-guide--jalantrip .tfg-cover figure:nth-child(2){margin-top:0}
.tfg-guide--jalantrip .tfg-cover .tfg-photo{aspect-ratio:1;border-radius:4px}
.tfg-guide--jalantrip .tfg-cover figcaption{margin:0;font-size:14px}
.tfg-guide--jalantrip .tfg-selection{border:0;border-left:3px solid var(--tfg-accent);background:transparent;border-radius:0;padding:8px 20px;margin-bottom:32px}
.tfg-guide--jalantrip .tfg-layout{display:block}
.tfg-guide--jalantrip .tfg-sidebar{position:static;max-height:none;overflow:visible;padding:0;margin-bottom:24px}
.tfg-guide--jalantrip .tfg-sidebar nav{display:flex;flex-wrap:wrap;gap:4px 16px}
.tfg-guide--jalantrip .tfg-region{display:none}
.tfg-guide--jalantrip .tfg-country-link{gap:8px;padding:4px 0;border-radius:0;border-bottom:2px solid transparent}
.tfg-guide--jalantrip .tfg-country-link[aria-current]{background:transparent;border-color:var(--tfg-accent)}
.tfg-guide--jalantrip .tfg-country-group{display:grid;grid-template-columns:160px minmax(0,1fr);gap:32px;border-top:2px solid var(--tfg-ink);padding-top:20px}
.tfg-guide--jalantrip .tfg-country-heading{display:block;padding:0;margin:0;border:0}
.tfg-guide--jalantrip .tfg-group-count{display:block;margin-top:12px}
.tfg-guide--jalantrip .tfg-cards{display:block}
.tfg-guide--jalantrip .tfg-card{display:grid;grid-template-columns:48px minmax(0,1fr) 128px;gap:20px;padding:20px 0;border:0;border-bottom:1px dashed var(--tfg-line);border-radius:0;background:transparent;overflow:visible;align-items:start}
.tfg-guide--jalantrip .tfg-card-image{display:contents}
.tfg-guide--jalantrip .tfg-card-image>.tfg-photo{grid-column:3;grid-row:1}
.tfg-guide--jalantrip .tfg-card-image .tfg-photo img{height:96px;width:128px;border-radius:4px}
.tfg-guide--jalantrip .tfg-number{position:static;grid-column:1;grid-row:1;padding:0;background:transparent;color:var(--tfg-accent);box-shadow:none;font-size:24px;line-height:1.4;font-weight:500}
.tfg-guide--jalantrip .tfg-card-body{grid-column:2;grid-row:1;padding:0}
.tfg-guide--jalantrip .tfg-card h3{font-size:20px!important;font-weight:500}
.tfg-guide--jalantrip .tfg-card .tfg-shop{margin-top:12px}
.tfg-guide--jalantrip .tfg-references{border:0;padding:0;margin-top:12px}

@media(max-width:1100px){
 .tfg-guide--hotelnavis .tfg-layout{grid-template-columns:128px minmax(0,1fr);gap:24px}
 .tfg-guide--hotelnavis .tfg-country-group{grid-template-columns:80px minmax(0,1fr);gap:16px}
 .tfg-guide--hotelnavis .tfg-card{grid-template-columns:minmax(0,1fr) 112px;gap:16px}
 .tfg-guide--hotelnavis .tfg-card-image .tfg-photo img{width:112px;height:96px}
 .tfg-guide--yadonavi .tfg-card{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px}
 .tfg-guide--yadonavi .tfg-card-image .tfg-photo img{width:96px;height:88px}
 .tfg-guide--tripchoo .tfg-layout{grid-template-columns:minmax(0,1fr) 128px;gap:24px}
 .tfg-guide--jalantrip .tfg-country-group{grid-template-columns:120px minmax(0,1fr);gap:24px}
}
@media(max-width:768px){
 .tfg-guide--hotelnavis .tfg-intro,.tfg-guide--yadonavi .tfg-intro,.tfg-guide--jalantrip .tfg-intro{grid-template-columns:1fr;gap:24px}
 .tfg-guide--hotelnavis .tfg-lead{font-size:24px}
 .tfg-guide--hotelnavis .tfg-cover{max-width:400px}
 .tfg-guide--hotelnavis .tfg-cover .tfg-photo{aspect-ratio:4/3}
 .tfg-guide--hotelnavis .tfg-layout,.tfg-guide--tripchoo .tfg-layout{display:block}
 .tfg-guide--hotelnavis .tfg-country-group,.tfg-guide--jalantrip .tfg-country-group{display:block}
 .tfg-guide--hotelnavis .tfg-country-heading,.tfg-guide--jalantrip .tfg-country-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
 .tfg-guide--hotelnavis .tfg-group-count,.tfg-guide--jalantrip .tfg-group-count{margin:0}
 .tfg-guide--yadonavi .tfg-cover{max-width:400px}
 .tfg-guide--yadonavi .tfg-sidebar{display:block}
 .tfg-guide--yadonavi .tfg-cards{grid-template-columns:1fr}
 .tfg-guide--yadonavi .tfg-toolbar{padding:16px}
 .tfg-guide--tripchoo .tfg-cover{gap:8px}
 .tfg-guide--tripchoo .tfg-cover .tfg-photo{aspect-ratio:1}
 .tfg-guide--tripchoo .tfg-cards{gap:12px}
 .tfg-guide--tripchoo .tfg-card{padding:8px}
 .tfg-guide--tripchoo .tfg-card-body{padding:12px 4px 4px}
 .tfg-guide--tripchoo .tfg-card h3{font-size:16px!important}
 .tfg-guide--tripchoo .tfg-card .tfg-shop{font-size:14px;margin-top:12px}
 .tfg-guide--tripchoo .tfg-local-name{font-size:12px}
 .tfg-guide--tripchoo .tfg-references summary{font-size:12px}
 .tfg-guide--jalantrip .tfg-cover{border-left:0;border-top:1px solid var(--tfg-line);padding:20px 0 0}
 .tfg-guide--jalantrip .tfg-card{grid-template-columns:32px minmax(0,1fr) 80px;gap:12px;padding:16px 0}
 .tfg-guide--jalantrip .tfg-card-image .tfg-photo img{width:80px;height:80px}
 .tfg-guide--jalantrip .tfg-number{font-size:20px}
 .tfg-guide--jalantrip .tfg-card h3{font-size:17px!important}
 .tfg-guide--jalantrip .tfg-card .tfg-shop{font-size:14px}
}
@media(max-width:480px){
 .tfg-guide--hotelnavis .tfg-card{grid-template-columns:minmax(0,1fr) 88px;gap:16px}
 .tfg-guide--hotelnavis .tfg-card-image .tfg-photo img{width:88px;height:88px}
 .tfg-guide--hotelnavis .tfg-card h3{font-size:17px!important}
 .tfg-guide--hotelnavis .tfg-card .tfg-shop{font-size:14px}
 .tfg-guide--hotelnavis .tfg-number{top:8px;left:4px}
}
@media(max-width:359px){.tfg-guide--tripchoo .tfg-cards{grid-template-columns:1fr}}
