/* Footer, back-to-top, phone tab bar. */
.tnt-footer { position: relative; z-index: 1; margin-top: 56px; background: var(--tnt-bg-deep); border-top: 6px solid var(--tnt-gold); font-family: var(--tnt-font-ui); font-weight: 700; text-transform: uppercase; }
.tnt-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-top: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tnt-footer__brand { display: flex; align-items: center; gap: 18px; color: var(--tnt-white); }
.tnt-footer__brand img { width: 80px; height: 80px; object-fit: contain; }
.tnt-footer__brand b { display: block; font-family: var(--tnt-font-display); font-weight: 400; font-size: 36px; line-height: .95; text-transform: uppercase; }
.tnt-footer__brand span span { display: block; margin-top: 8px; font-family: var(--tnt-font-body); font-weight: 400; font-style: italic; font-size: 13px; color: var(--tnt-gold); text-transform: none; }
.tnt-footer__follow { display: flex; flex-direction: column; gap: 10px; }
.tnt-footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.tnt-footer__social a { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--tnt-bg-3); border-bottom: 3px solid var(--tnt-gold); color: var(--tnt-gold-2); transition: transform .2s, background-color .2s; }
.tnt-footer__social a:hover { transform: translateY(-2px); background: #262626; color: var(--tnt-white); }
.tnt-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 32px; }
.tnt-footer__cols ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tnt-footer__cols a { color: #d1d5db; font-size: 13px; letter-spacing: 0.04em; }
.tnt-footer__cols a:hover { color: var(--tnt-gold-2); }
.tnt-footer__nums { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-top: 3px solid var(--tnt-gold); background: var(--tnt-bg-2); }
.tnt-footer__nums div { padding: 12px 14px; border-right: 1px solid var(--tnt-line-soft); border-bottom: 1px solid var(--tnt-line-soft); }
.tnt-footer__nums b { display: block; font-family: var(--tnt-font-display); font-weight: 400; font-size: 28px; color: var(--tnt-white); }
.tnt-footer__nums b.accent { color: var(--tnt-accent-text); }
.tnt-footer__nums span { font-size: 11px; color: var(--tnt-muted); }
.tnt-footer__bar { background: var(--tnt-bg-2); border-top: 1px solid var(--tnt-line-soft); }
.tnt-footer__bar-in { min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 12px; color: var(--tnt-muted); }
.tnt-footer__legal { display: flex; gap: 18px; }
.tnt-footer__legal a { color: var(--tnt-muted); }

.tnt-totop { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 52px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--tnt-gold); color: var(--tnt-gold-ink); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.2); font-family: var(--tnt-font-ui); font-weight: 700; font-size: var(--tnt-ui-small); letter-spacing: 0.04em; text-transform: uppercase; transition: transform .2s, opacity .2s; }
.tnt-totop:hover { transform: translateY(-3px); color: var(--tnt-gold-ink); }
.tnt-totop[hidden] { display: flex; opacity: 0; pointer-events: none; transform: translateY(10px); }

.tnt-tabs { display: none; }

@media (max-width: 760px) {
	.tnt-footer { margin-top: 44px; border-top-width: 4px; padding-bottom: calc(var(--tnt-bottom-clearance) + 30px); }
	.tnt-footer__top { padding-top: 34px; padding-bottom: 22px; gap: 20px; }
	.tnt-footer__brand img { width: 48px; height: 48px; }
	.tnt-footer__brand b { font-size: 22px; }
	.tnt-footer__follow, .tnt-footer__social { width: 100%; }
	.tnt-footer__social { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.tnt-footer__social a { width: auto; height: 44px; }
	.tnt-footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
	.tnt-footer__cols > div:last-child { grid-column: 1 / -1; }
	.tnt-footer__bar-in { flex-direction: column; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; font-size: var(--tnt-ui-small); }
	.tnt-totop { right: 14px; bottom: calc(var(--tnt-bottom-clearance) + 14px); width: 48px; height: 48px; }

	.tnt-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 88; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 4px var(--tnt-safe-bottom); background: rgba(9, 9, 9, 0.97); border-top: 1px solid rgba(197, 160, 89, 0.45); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5); }
	.tnt-tabs a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: var(--tnt-tabs-h); color: var(--tnt-text-2); font-family: var(--tnt-font-ui); font-weight: 700; font-size: var(--tnt-ui-small); letter-spacing: 0.04em; text-transform: uppercase; }
	.tnt-tabs a::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 3px; background: var(--tnt-gold); transform: scaleX(0); transition: transform .2s; }
	.tnt-tabs a[aria-current="page"] { color: var(--tnt-gold-2); }
	.tnt-tabs a[aria-current="page"]::before { transform: scaleX(1); }
	body:not(.tnt-is-article) .tnt-footer { padding-bottom: calc(var(--tnt-bottom-clearance) + 30px); }
}
@media (max-width: 760px) { .tnt-footer .tnt-footer__cols { display: none !important; } .tnt-footer__follow > .tnt-meta { display: none; } }

/* Labels remain readable without forcing the five-tab bar wider than a narrow phone. */
@media (max-width: 760px) {
	.tnt-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-left: 0; padding-right: 0; }
	.tnt-tabs a { min-width: 0; font-size: clamp(10px, 2.8vw, 12px); letter-spacing: 0; color: var(--tnt-text-2); }
	.tnt-tabs a[aria-current="page"] { color: var(--tnt-gold-2); }
}

@media (max-width: 760px) {
	/* Give the longest label more room while retaining all five destinations. */
	.tnt-tabs { grid-template-columns: .9fr 1.1fr 1fr 1.35fr .95fr; }
	.tnt-tabs a { font-size: clamp(12px, 3.05vw, 14px); }
}
