/*
 * The Tangier Journal's front pages (2026-09-27): the blog index, the topic pages, and "More from
 * the Journal" under an article. Same paper as the articles (blog.css): white #ffffff, newsprint
 * #f5f1eb, ink #16161a, reading text #2b2a27, muted #6b665e, rules #e7e1d8, tangerine #e0692a /
 * #b4501b. Square photos, thin rules, no rounded cards.
 */

.tgj { background: #fff; color: #2b2a27; }
.tgj-wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }

/* ---------------------------------------------------------------- The masthead */

.tgj-head { padding: 34px 24px 0; background: #f5f1eb; border-bottom: 1px solid #e7e1d8; }
.tgj-head__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.tgj-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; }
.tgj-head .tgt-crumbs ol { justify-content: center; }
.tgj-head .tgt-crumbs a { color: #6b665e; }
.tgj-head .tgt-crumbs a:hover { color: #b4501b; }
.tgj-title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(40px, 3.8vw + 18px, 72px); font-weight: 400; line-height: 1.04; letter-spacing: -.012em; color: #16161a; text-wrap: balance; }
.tgj-title em { font-style: italic; color: #e0692a; }
.tgj-dateline { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 26px 0 0; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6b665e; }
.tgj-dateline span + span::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 14px 2px; border-radius: 50%; background: #e0692a; }

/* Topics, like the section tabs of a newspaper. */
.tgj-topics { display: flex; justify-content: center; gap: 0; max-width: 1180px; margin: 34px auto 0; padding: 0; border-top: 1px solid #16161a; }
.tgj-topic {
	display: inline-flex; align-items: center; gap: 8px; padding: 15px 20px 14px; border-bottom: 3px solid transparent;
	font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: #16161a; text-decoration: none; white-space: nowrap; transition: color .2s ease, border-color .2s ease;
}
.tgj-topic span { font-weight: 400; letter-spacing: 0; color: #6b665e; }
.tgj-topic:hover { color: #b4501b; }
.tgj-topic.is-on { border-bottom-color: #e0692a; color: #b4501b; }

/* ---------------------------------------------------------------- The lead story */

.tgj-lead { padding: 56px 0 0; }
.tgj-lead__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid #e7e1d8; }
.tgj-lead__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #efe9df; }
.tgj-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tgj-lead__img:hover img { transform: scale(1.03); }
.tgj-lead__flag { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #b4501b; }
.tgj-lead__flag span { padding: 5px 9px; background: #16161a; color: #fff; letter-spacing: .16em; }
.tgj-lead__title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 1.8vw + 22px, 50px); font-weight: 400; line-height: 1.1; color: #16161a; text-wrap: balance; }
.tgj-lead__title a { color: inherit; text-decoration: none; }
.tgj-lead__title a:hover { color: #b4501b; }
.tgj-lead__title em { font-style: italic; color: #e0692a; }
.tgj-lead__dek { margin: 18px 0 0; font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-style: italic; line-height: 1.6; color: #4a4741; }
.tgj-lead__meta { margin: 18px 0 0; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13.5px; color: #6b665e; }
.tgj-lead__meta span { margin: 0 6px; }
.tgj-lead__read { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding-bottom: 3px; border-bottom: 2px solid #e0692a; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #16161a; text-decoration: none; }
.tgj-lead__read span { transition: transform .2s ease; }
.tgj-lead__read:hover { color: #b4501b; }
.tgj-lead__read:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------- The list */

.tgj-list { padding: 48px 0 72px; }
.tgj-rule { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #16161a; }
.tgj-rule::after { content: ''; flex: 1; border-top: 3px double #16161a; }
.tgj-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; margin: 0; padding: 0; }
.tgj-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.tgj-card__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #efe9df; }
.tgj-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tgj-card__link:hover .tgj-card__img img { transform: scale(1.04); }
.tgj-card__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 16px 0 8px; padding-bottom: 8px; border-bottom: 1px solid #e7e1d8; }
.tgj-card__label { font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #b4501b; }
.tgj-card__n { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; line-height: .8; color: transparent; -webkit-text-stroke: 1px #e0692a; }
.tgj-card__title { margin: 4px 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 24px; line-height: 1.22; color: #16161a; transition: color .2s ease; }
.tgj-card__title em { font-style: italic; color: #e0692a; }
.tgj-card__link:hover .tgj-card__title { color: #b4501b; }
.tgj-card__dek { flex: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: 16px; line-height: 1.6; color: #4a4741; }
.tgj-card__meta { display: flex; flex-wrap: wrap; gap: 8px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 13px; color: #6b665e; }
.tgj-empty { padding: 40px 0; text-align: center; }
.tgj-empty__title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 26px; color: #16161a; }

/* ---------------------------------------------------------------- Who writes it */

.tgj-guide { padding: 0 0 64px; }
.tgj-guide__grid { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 820px; padding: 30px 0; border-top: 3px double #16161a; border-bottom: 1px solid #16161a; }
.tgj-guide__grid--text { grid-template-columns: 1fr; }
.tgj-guide__photo { display: block; width: 130px; height: 130px; overflow: hidden; border-radius: 50%; background: #efe9df; }
.tgj-guide__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.1); transform-origin: 69% 34%; }
.tgj-guide__kicker { margin: 0 0 8px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #b4501b; }
.tgj-guide__text { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 20px; line-height: 1.55; color: #16161a; }
.tgj-guide .tgj-lead__read { margin-top: 14px; }

/* ---------------------------------------------------------------- Closing call */

.tgj-cta { padding: 68px 0 72px; background: #16161a; color: #fff; text-align: center; }
.tgj-cta__kicker { margin: 0 0 12px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #f0925c; }
.tgj-cta__title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 2vw + 20px, 50px); font-weight: 400; line-height: 1.12; color: #fff; }
.tgj-cta__title em { font-style: italic; color: #f0925c; }
.tgj-cta__text { max-width: 560px; margin: 16px auto 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.tgj-cta__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; }
.tgj-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.tgj-btn > svg { width: 19px; height: 19px; fill: currentColor; }
.tgj-btn--wa { background: #25d366; color: #fff; }
.tgj-btn--wa:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }
.tgj-btn--line { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.tgj-btn--line:hover { background: #fff; color: #16161a; transform: translateY(-2px); }

/* ---------------------------------------------------------------- More from the Journal (under an article) */

.tgj-more { padding: 56px 0 64px; border-top: 1px solid #e7e1d8; background: #f5f1eb; }
.tgj-more .tgj-grid { gap: 36px 28px; }
.tgj-more .tgj-card__title { font-size: 22px; }
.tgj-more__all { margin: 34px 0 0; text-align: center; }

/* ---------------------------------------------------------------- Smaller screens */

@media (max-width: 1024px) {
	.tgj-lead__grid { grid-template-columns: 1fr; gap: 28px; }
	.tgj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tgj-topics { justify-content: flex-start; margin: 30px -24px 0; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
	.tgj-topics::-webkit-scrollbar { display: none; }
}

@media (max-width: 760px) {
	.tgj-wrap { width: calc(100% - 40px); }
	.tgj-head { padding: 26px 20px 0; }
	.tgj-dateline { font-size: 11px; letter-spacing: .12em; }
	.tgj-dateline span + span::before { margin: 0 9px 2px; }
	.tgj-topics { margin: 26px -20px 0; padding: 0 8px; }
	.tgj-topic { padding: 13px 12px 12px; font-size: 12px; }
	.tgj-lead { padding-top: 32px; }
	.tgj-lead__grid { padding-bottom: 36px; }
	.tgj-lead__dek { font-size: 17.5px; }
	.tgj-list { padding: 36px 0 56px; }
	.tgj-grid { grid-template-columns: 1fr; gap: 36px; }
	.tgj-card__title { font-size: 22px; }
	.tgj-guide__grid { grid-template-columns: 1fr; justify-items: center; gap: 18px; text-align: center; }
	.tgj-guide__text { font-size: 18px; }
	.tgj-btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.tgj-card__img img, .tgj-lead__img img, .tgj-btn, .tgj-lead__read span { transition: none; }
}

/* The masthead on an article links back to the blog index. */
a.tgb-mast__name { text-decoration: none; transition: color .2s ease; }
a.tgb-mast__name:hover { color: #b4501b; }
