/*
 * "The Tangier Journal": blog articles (inc/blog.php, template-parts/blog.php and blog-block.php).
 *
 * A travel magazine, unlike every other page on the site: white paper #ffffff, newsprint #f5f1eb,
 * ink #16161a, reading text #2b2a27, muted #6b665e, rules #e7e1d8, tangerine #e0692a (the fruit
 * named after Tangier) for numerals and accents, darker tangerine #b4501b for small text and links,
 * leaf green #2f5d46 for small labels. Georgia for headings and the reading text, Trebuchet for
 * labels and buttons. Square photos with credits, thin rules, no rounded cards.
 */

.tgb { background: #fff; color: #2b2a27; }
.tgb [id] { scroll-margin-top: calc(var(--header-h, 76px) + 24px); }

/* ---------------------------------------------------------------- Reading progress */

.tgb-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; height: 3px; pointer-events: none; }
.tgb-progress span { display: block; height: 100%; background: #e0692a; transform: scaleX(0); transform-origin: 0 50%; }

/* ---------------------------------------------------------------- The cover */

.tgb-head { padding: 34px 24px 0; background: #f5f1eb; border-bottom: 1px solid #e7e1d8; }
.tgb-head__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.tgb-head .tgt-crumbs { display: flex; justify-content: center; margin: 0 0 26px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; color: #6b665e; }
.tgb-head .tgt-crumbs ol { justify-content: center; }
.tgb-head .tgt-crumbs a { color: #6b665e; }
.tgb-head .tgt-crumbs a:hover { color: #b4501b; }
.tgb-mast { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; margin: 0 auto 26px; padding: 10px 0; border-top: 3px double #16161a; border-bottom: 1px solid #16161a; max-width: 560px; }
.tgb-mast__name { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #16161a; }
.tgb-mast__by { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; letter-spacing: .08em; color: #6b665e; }
.tgb-kicker { margin: 0 0 14px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #b4501b; }
.tgb-title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 3.6vw + 18px, 68px); font-weight: 400; line-height: 1.06; letter-spacing: -.01em; color: #16161a; }
.tgb-title em { font-style: italic; color: #e0692a; }
.tgb-dek { max-width: 700px; margin: 22px auto 0; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-style: italic; line-height: 1.55; color: #4a4741; }
.tgb-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin: 28px 0 40px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 14px; color: #6b665e; text-align: left; }
.tgb-byline__mono { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #16161a; font-family: Georgia, 'Times New Roman', serif; font-size: 17px; letter-spacing: .04em; color: #fff; }
.tgb-byline__who { display: flex; flex-direction: column; line-height: 1.35; }
.tgb-byline__who a { font-weight: 700; color: #16161a; text-decoration: none; }
.tgb-byline__who a:hover { color: #b4501b; }
.tgb-byline__meta { display: flex; gap: 14px; padding-left: 22px; border-left: 1px solid #d9d0c3; }
.tgb-cover { max-width: 1180px; margin: 0 auto -1px; }
.tgb-cover img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.tgb-cover figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 0; padding: 10px 14px 14px; background: #fff; }

/* ---------------------------------------------------------------- Figures */

.tgb-figure { margin: 30px 0; }
.tgb-figure img { display: block; width: 100%; height: auto; }
.tgb-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 10px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5; color: #6b665e; }
.tgb-figure__caption { color: #4a4741; }
.tgb-figure__credit { font-size: 12px; color: #8a847a; }
.tgb-figure.tgb-cover { margin: 0 auto -1px; }

/* ---------------------------------------------------------------- Body: contents rail + column */

.tgb-body { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: 72px; max-width: 1180px; margin: 0 auto; padding: 56px 24px 96px; }
.tgb-rail__stick { position: sticky; top: calc(var(--header-h, 76px) + 28px); }
.tgb-toc__label { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #16161a; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #16161a; }
.tgb-toc__list { list-style: none; margin: 0; padding: 0; }
.tgb-toc__list a { display: flex; gap: 10px; padding: 7px 0 7px 12px; border-left: 2px solid transparent; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 14px; line-height: 1.35; color: #6b665e; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.tgb-toc__list a:hover { color: #16161a; }
.tgb-toc__list a.is-here { border-left-color: #e0692a; color: #16161a; font-weight: 700; }
.tgb-toc__n { flex: none; min-width: 18px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; color: #e0692a; }
.tgb-railist { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px; border: 1px solid #e7e1d8; background: #fdf0e7; color: #16161a; text-decoration: none; }
.tgb-railist[hidden] { display: none; }
.tgb-railist:hover { border-color: #e0692a; }
.tgb-railist__count { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #e0692a; font-family: Georgia, 'Times New Roman', serif; font-size: 17px; color: #fff; }
.tgb-railist__text { display: flex; flex-direction: column; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.35; color: #6b665e; }
.tgb-railist__text strong { font-size: 14px; color: #16161a; }
.tgb-toc--inline { display: none; }

.tgb-main { min-width: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.78; color: #2b2a27; }
.tgb-main p { margin: 0 0 1.15em; }
.tgb-main a { color: #b4501b; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tgb-main a:hover { color: #16161a; }
.tgb-main strong { color: #16161a; }

/* ---------------------------------------------------------------- Section heads */

.tgb-sec { margin-top: 88px; }
.tgb-sec__head { margin-bottom: 28px; }
.tgb-sec__kicker { margin: 0 0 10px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #2f5d46; }
.tgb-sec__title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 1.6vw + 18px, 38px); font-weight: 400; line-height: 1.15; color: #16161a; }
.tgb-sec__title em { font-style: italic; color: #e0692a; }
.tgb-sec__lead { margin: 14px 0 0 !important; font-size: 19px; font-style: italic; color: #4a4741; }

/* ---------------------------------------------------------------- In short */

.tgb-summary { padding: 30px 32px 28px; border-top: 3px solid #16161a; background: #f5f1eb; }
.tgb-summary__label { margin: 0 0 8px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #b4501b; }
.tgb-summary__title { margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: 26px; font-weight: 400; line-height: 1.25; color: #16161a; }
.tgb-summary__text { font-size: 18px; }
.tgb-summary__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 8px 0 0; padding: 0; counter-reset: none; }
.tgb-summary__list a { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; padding: 9px 0; border-bottom: 1px solid #e0d8cc; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 15px; line-height: 1.35; color: #16161a; text-decoration: none; }
.tgb-summary__list a:hover .tgb-summary__name { color: #b4501b; }
.tgb-summary__n { flex: 0 0 30px; font-family: Georgia, 'Times New Roman', serif; font-size: 16px; font-style: italic; color: #e0692a; }
.tgb-summary__name { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.tgb-summary__time { margin-left: auto; font-size: 13px; color: #6b665e; text-align: right; }
.tgb-summary__note { margin: 16px 0 0 !important; font-size: 16px; color: #4a4741; }

/* ---------------------------------------------------------------- Prose */

.tgb-prose--drop > p:first-of-type::first-letter { float: left; margin: 10px 12px 0 0; font-size: 4.3em; line-height: .78; color: #e0692a; }

/* ---------------------------------------------------------------- The numbered entries */

.tgb-entry { margin-top: 96px; padding-top: 30px; border-top: 1px solid #e7e1d8; }
.tgb-entry__head { display: flex; align-items: flex-end; gap: 22px; }
.tgb-entry__no { flex: none; font-family: Georgia, 'Times New Roman', serif; font-size: 108px; line-height: .78; letter-spacing: -.04em; color: #e0692a; }
@supports (-webkit-text-stroke: 1px #000) {
	.tgb-entry__no { color: transparent; -webkit-text-stroke: 1.6px #e0692a; }
}
.tgb-entry__titles { min-width: 0; padding-bottom: 4px; }
.tgb-entry__kicker { margin: 0 0 6px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #2f5d46; }
.tgb-entry__title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(27px, 1.4vw + 18px, 36px); font-weight: 400; line-height: 1.15; color: #16161a; }
.tgb-entry__figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.tgb-entry__figure.tgb-figure--tall img { object-position: 50% 38%; }
.tgb-entry__text { margin-top: 4px; }
.tgb-entry__head + .tgb-entry__text { margin-top: 30px; } /* no photo: clear the number, which hangs below its line */

.tgb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 26px 0 0; border-top: 2px solid #16161a; border-bottom: 1px solid #e7e1d8; }
.tgb-facts__item { padding: 13px 18px 14px 0; }
.tgb-facts__item + .tgb-facts__item { padding-left: 18px; border-left: 1px solid #e7e1d8; }
.tgb-facts dt { margin: 0 0 4px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #b4501b; }
.tgb-facts dd { margin: 0; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 15px; line-height: 1.45; color: #16161a; }

.tgb-entry__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.tgb-add {
	display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 14px; border: 1.5px solid #16161a; border-radius: 999px;
	background: #fff; font: 700 14px/1 'Trebuchet MS', 'Lucida Grande', sans-serif; color: #16161a; cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.tgb-add:hover { border-color: #e0692a; color: #b4501b; }
.tgb-add:focus-visible { outline: 2px solid #e0692a; outline-offset: 2px; }
.tgb-add__icon { position: relative; width: 14px; height: 14px; }
.tgb-add__icon::before, .tgb-add__icon::after { content: ''; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; background: currentColor; transition: transform .2s ease; }
.tgb-add__icon::after { transform: rotate(90deg); }
.tgb-add__on { display: none; }
.tgb-add[aria-pressed="true"] { border-color: #e0692a; background: #e0692a; color: #fff; }
.tgb-add[aria-pressed="true"] .tgb-add__off { display: none; }
.tgb-add[aria-pressed="true"] .tgb-add__on { display: inline; }
.tgb-add[aria-pressed="true"] .tgb-add__icon::before { top: 7px; left: 1px; width: 6px; transform: rotate(45deg); }
.tgb-add[aria-pressed="true"] .tgb-add__icon::after { top: 5px; left: 4px; width: 11px; transform: rotate(-50deg); }
.tgb-main .tgb-entry__link { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; }
.tgb-main .tgb-entry__link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Pull quote */

.tgb-quote { position: relative; margin: 80px 0 0; padding: 6px 0 6px 34px; border-left: 4px solid #e0692a; }
.tgb-quote blockquote { margin: 0; }
.tgb-quote p { margin: 0 !important; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(23px, 1vw + 18px, 29px); font-style: italic; line-height: 1.45; color: #16161a; }
.tgb-quote figcaption { margin-top: 14px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6b665e; }

/* ---------------------------------------------------------------- Map */

.tgb-map__fig { margin: 0; }
.tgb-map__svg { display: block; width: 100%; height: auto; border: 1px solid #e7e1d8; }
.tgb-map__sea { fill: #e6eef0; }
.tgb-map__land { fill: #f5f1eb; stroke: #cfc5b6; stroke-width: 2; }
.tgb-map__road { fill: none; stroke: #e0692a; stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.tgb-map__label { font: italic 22px Georgia, 'Times New Roman', serif; fill: #8a847a; }
.tgb-map__label--sea { fill: #5d7f8a; }
.tgb-map__pin circle { fill: #16161a; stroke: #fff; stroke-width: 3; transition: fill .2s ease; }
.tgb-map__pin text { font: 700 17px 'Trebuchet MS', 'Lucida Grande', sans-serif; fill: #fff; text-anchor: middle; }
.tgb-map__pin:hover circle, .tgb-map__pin:focus circle { fill: #e0692a; }
.tgb-map__fig figcaption { margin-top: 10px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; color: #6b665e; }
.tgb-map__legend { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 18px 0 0; padding: 0; }
.tgb-main .tgb-map__legend a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; padding: 9px 0; border-bottom: 1px solid #e7e1d8; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; line-height: 1.35; color: #16161a; text-decoration: none; }
.tgb-map__no { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #16161a; font-size: 13px; font-weight: 700; color: #fff; }
.tgb-map__name { font-size: 15px; font-weight: 700; }
.tgb-map__where { font-size: 13px; color: #6b665e; }
.tgb-main .tgb-map__legend a:hover .tgb-map__no { background: #e0692a; }

/* ---------------------------------------------------------------- More places */

.tgb-more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.tgb-more__card { border-top: 2px solid #16161a; }
.tgb-more__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 16px; }
.tgb-more__body { padding-top: 14px; }
.tgb-more__where { margin: 0 0 4px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #2f5d46; }
.tgb-more__name { margin: 0 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 23px; font-weight: 400; line-height: 1.2; color: #16161a; }
.tgb-more__text { margin: 0 !important; font-size: 17px; line-height: 1.65; }

/* ---------------------------------------------------------------- A day plan */

.tgb-plan__steps { list-style: none; margin: 0; padding: 0; border-left: 2px solid #e7e1d8; }
.tgb-plan__steps li { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 0 0 26px 24px; }
.tgb-plan__steps li::before { content: ''; position: absolute; top: 9px; left: -7px; width: 12px; height: 12px; border: 2px solid #e0692a; border-radius: 50%; background: #fff; }
.tgb-plan__time { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 2; color: #b4501b; }
.tgb-plan__title { margin: 0 0 4px; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 400; color: #16161a; }
.tgb-plan__steps p { margin: 0 !important; font-size: 17px; line-height: 1.65; }
.tgb-plan__label { margin: 22px 0 12px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #2f5d46; }
.tgb-tours { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.tgb-main .tgb-tour { display: flex; align-items: center; gap: 16px; padding: 10px 16px 10px 10px; border: 1px solid #e7e1d8; color: #16161a; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.tgb-main .tgb-tour:hover { border-color: #e0692a; background: #fdf8f3; color: #16161a; }
.tgb-tour img { flex: none; width: 64px; height: 64px; object-fit: cover; }
.tgb-tour span:not(.tgb-tour__arrow) { display: flex; flex: 1; flex-direction: column; min-width: 0; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; }
.tgb-tour strong { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: 400; line-height: 1.3; }
.tgb-tour small { font-size: 13px; color: #6b665e; }
.tgb-tour__arrow { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 20px; color: #e0692a; }
.tgb-note { margin-top: 18px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 14px; line-height: 1.6; color: #6b665e; }

/* ---------------------------------------------------------------- The reader's list */

.tgb-mylist__box {
	padding: 26px 28px; border: 1px solid #ecd9c8;
	background-color: #fffaf4;
	background-image: repeating-linear-gradient(to bottom, transparent 0 33px, #f1e3d4 33px 34px);
	background-position: 0 14px;
}
.tgb-mylist__empty { margin: 0 !important; font-size: 18px; font-style: italic; color: #4a4741; }
.tgb-mylist__full[hidden] { display: none; }
.tgb-mylist__items { margin: 0 0 12px; padding-left: 1.4em; font-size: 19px; line-height: 34px; color: #16161a; }
.tgb-mylist__items li::marker { font-style: italic; color: #e0692a; }
.tgb-mylist__items button { margin-left: 8px; padding: 0 6px; border: 0; background: none; font: 700 13px/1 'Trebuchet MS', 'Lucida Grande', sans-serif; color: #8a847a; cursor: pointer; }
.tgb-mylist__items button:hover { color: #b4501b; }
.tgb-mylist__sum { margin: 0 0 10px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 15px; color: #4a4741; }
.tgb-mylist__fit { margin: 0 0 18px !important; padding: 12px 16px; border-left: 3px solid #e0692a; background: #fff; font-size: 17px; line-height: 1.6; }
.tgb-mylist__fit[hidden] { display: none; }
.tgb-mylist__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.tgb-mylist__clear { padding: 0; border: 0; background: none; font: 14px 'Trebuchet MS', 'Lucida Grande', sans-serif; color: #6b665e; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------------------------------------------------------------- Buttons */

.tgb-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 700 15px/1 'Trebuchet MS', 'Lucida Grande', sans-serif; text-decoration: none !important; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.tgb-btn svg { width: 20px; height: 20px; fill: currentColor; }
.tgb-main .tgb-btn--wa { background: #1f9d55; color: #fff; }
.tgb-main .tgb-btn--wa:hover { background: #17824a; color: #fff; }
.tgb-main .tgb-btn--line { border: 1.5px solid currentColor; color: #fff; }
.tgb-main .tgb-btn--line:hover { border-color: #e0692a; color: #e0692a; }

/* ---------------------------------------------------------------- Questions */

.tgb-faq__list { border-top: 2px solid #16161a; }
.tgb-faq__item { border-bottom: 1px solid #e7e1d8; }
.tgb-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; list-style: none; cursor: pointer; }
.tgb-faq__item summary::-webkit-details-marker { display: none; }
.tgb-faq__q { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 400; line-height: 1.35; color: #16161a; }
.tgb-faq__mark { position: relative; flex: none; width: 16px; height: 16px; }
.tgb-faq__mark::before, .tgb-faq__mark::after { content: ''; position: absolute; top: 7px; left: 0; width: 16px; height: 2px; background: #e0692a; transition: transform .2s ease; }
.tgb-faq__mark::after { transform: rotate(90deg); }
.tgb-faq__item[open] .tgb-faq__mark::after { transform: rotate(0deg); }
.tgb-faq__a p { margin: 0 0 20px !important; font-size: 18px; }

/* ---------------------------------------------------------------- Author */

.tgb-author { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 22px; margin-top: 88px; padding: 28px 0; border-top: 1px solid #16161a; border-bottom: 1px solid #16161a; }
.tgb-author__mono { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #e0692a; font-family: Georgia, 'Times New Roman', serif; font-size: 26px; color: #fff; }
.tgb-author__label { margin: 0 0 4px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #b4501b; }
.tgb-author__name { margin: 0 !important; font-size: 24px; line-height: 1.25; color: #16161a; }
.tgb-author__role { margin: 2px 0 10px !important; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 14px; color: #6b665e; }
.tgb-author__text { font-size: 17px; line-height: 1.65; }
.tgb-main .tgb-author__link { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; }

/* ---------------------------------------------------------------- Keep reading */

.tgb-related__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.tgb-main .tgb-related__card { display: flex; flex-direction: column; height: 100%; color: #16161a; text-decoration: none; }
.tgb-related__card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 12px; }
.tgb-related__kicker { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #2f5d46; }
.tgb-related__title { margin: 6px 0 6px; font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 400; line-height: 1.25; color: #16161a; transition: color .2s ease; }
.tgb-related__card:hover .tgb-related__title { color: #b4501b; }
.tgb-related__text { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 14px; line-height: 1.5; color: #6b665e; }

/* ---------------------------------------------------------------- The close */

.tgb-cta { margin-top: 88px; padding: 44px 40px; background: #16161a; color: #e9e5de; }
.tgb-cta .tgb-sec__kicker { color: #f0a877; }
.tgb-cta .tgb-sec__title { color: #fff; }
.tgb-cta .tgb-sec__title em { color: #f08a4b; }
.tgb-cta__text { font-size: 19px; color: #d8d3cb; }
.tgb-cta__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.tgb-cta__micro { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; color: #a9a39a; }
.tgb-cta__micro li::before { content: '\2713'; margin-right: 6px; color: #f08a4b; }

.tgb-credits { margin-top: 48px !important; padding-top: 18px; border-top: 1px solid #e7e1d8; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px !important; line-height: 1.6; color: #8a847a; }
.tgb-main .tgb-credits a { color: #6b665e; }

/* ---------------------------------------------------------------- Smaller screens */

@media (max-width: 1080px) {
	.tgb-body { grid-template-columns: minmax(0, 720px); gap: 0; padding-top: 36px; }
	.tgb-rail { display: none; }
	.tgb-toc--inline { display: block; margin: 0 0 40px; border-top: 2px solid #16161a; border-bottom: 1px solid #e7e1d8; }
	.tgb-toc--inline summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; list-style: none; cursor: pointer; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #16161a; }
	.tgb-toc--inline summary::-webkit-details-marker { display: none; }
	.tgb-toc--inline summary span { font-weight: 400; letter-spacing: .04em; text-transform: none; color: #6b665e; }
	.tgb-toc--inline .tgb-toc__list { padding-bottom: 12px; }
}
@media (max-width: 720px) {
	.tgb-head { padding: 24px 16px 0; }
	.tgb-mast { margin-bottom: 20px; }
	.tgb-mast__name { font-size: 13px; letter-spacing: .24em; }
	.tgb-dek { font-size: 19px; }
	.tgb-byline { flex-direction: column; gap: 10px; margin-bottom: 28px; text-align: center; }
	.tgb-byline__who { align-items: center; }
	.tgb-byline__meta { padding-left: 0; border-left: 0; }
	.tgb-figure.tgb-cover { margin-right: -16px; margin-left: -16px; }
	.tgb-cover figcaption { padding: 8px 16px 12px; }
	.tgb-body { padding: 28px 16px 72px; }
	.tgb-main { font-size: 18px; line-height: 1.72; }
	.tgb-summary { padding: 24px 18px 20px; }
	.tgb-summary__list, .tgb-map__legend, .tgb-more__grid { grid-template-columns: minmax(0, 1fr); }
	.tgb-sec, .tgb-author, .tgb-cta { margin-top: 64px; }
	.tgb-entry { margin-top: 72px; }
	.tgb-entry__head { gap: 14px; }
	.tgb-entry__no { font-size: 72px; }
	.tgb-facts { grid-template-columns: 1fr 1fr; }
	.tgb-facts__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.tgb-facts__item:nth-child(n+3) { border-top: 1px solid #e7e1d8; }
	.tgb-plan__steps li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.tgb-related__list { grid-template-columns: minmax(0, 1fr); }
	.tgb-mylist__box { padding: 20px 18px; }
	.tgb-cta { margin-right: -16px; margin-left: -16px; padding: 36px 20px; }
	.tgb-quote { padding-left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.tgb-add, .tgb-add__icon::before, .tgb-add__icon::after, .tgb-toc__list a, .tgb-faq__mark::after { transition: none; }
}
