/* Visit Tanzania Tours: article layout for Blog and National Parks posts. */
body.vtt-article { background: #FBFAF9; }
body.vtt-article #content > .ast-container,
body.vtt-article .site-content > .ast-container { max-width: none !important; padding: 0 !important; display: block !important; }
body.vtt-article #primary, body.vtt-article #secondary { display: none; }

.vtt-page { --d: #1D1C1C; --b: #8A4C1B; --g: #1E4D36; --l: #ECE7E2; --s: #F6F3F0; background: #FBFAF9; font-family: Inter, system-ui, sans-serif; color: #4A4747; }
.vtt-wrap { max-width: 1288px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.vtt-page *, .vtt-page *::before, .vtt-page *::after { box-sizing: border-box; }
.vtt-eye { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--b); margin-bottom: 8px; }

/* Buttons */
.vtt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--b); color: #fff !important; height: 50px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none !important; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.vtt-btn:hover { background: #6E3C15; transform: translateY(-1px); }
.vtt-btn-sm { height: 42px; padding: 0 16px; font-size: 14px; }
.vtt-btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.6); color: #fff !important; height: 50px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s ease; }
.vtt-btn-ghost:hover { background: rgba(255,255,255,.12); }
.vtt-link { font-size: 13px; font-weight: 600; color: var(--b) !important; text-decoration: none; }

/* Header */
.vtt-head { padding-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.vtt-crumbs { font-size: 13px; color: #8A8686; display: flex; gap: 8px; flex-wrap: wrap; }
.vtt-crumbs a { color: #8A8686; text-decoration: none; }
.vtt-crumbs a:hover { color: var(--b); }
.vtt-crumb-t { color: var(--d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 560px; }
.vtt-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.vtt-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--l); color: #4A4747 !important; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; }
a.vtt-chip:hover { border-color: var(--b); }
.vtt-title { font-family: 'Playfair Display', Georgia, serif !important; font-size: 50px !important; font-weight: 600 !important; line-height: 1.12 !important; color: var(--d) !important; margin: 0 !important; max-width: 940px; }
.vtt-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.vtt-meta-r { display: flex; align-items: center; gap: 18px; }
.vtt-by { display: flex; align-items: center; gap: 12px; }
.vtt-by strong { display: block; font-size: 14px; color: var(--d); }
.vtt-by small { display: flex; gap: 8px; font-size: 13px; color: #8A8686; margin-top: 2px; }
.vtt-by i { font-style: normal; }
.vtt-av { width: 42px; height: 42px; border-radius: 50%; background: var(--d); color: #E9C08E; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none; }
.vtt-av-lg { width: 64px; height: 64px; font-size: 22px; }
.vtt-share { display: flex; align-items: center; gap: 8px; }
.vtt-share > span { font-size: 13px; color: #8A8686; margin-right: 4px; }
.vtt-share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #DCD6D0; color: var(--d) !important; display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.vtt-share a:hover, .vtt-share a.ok { background: var(--b); border-color: var(--b); color: #fff !important; }
.vtt-share a:hover svg, .vtt-share a.ok svg { stroke: #fff; }

/* Featured image hero: full width, title on the image */
.vtt-ahero { position: relative; min-height: 480px; display: flex; flex-direction: column; background: var(--d); overflow: hidden; color: #fff; }
.vtt-ahero.no-img { min-height: 420px; background: linear-gradient(135deg, #2A2523, #1D1C1C); }
.vtt-ahero-bg { position: absolute; inset: 0; }
.vtt-ahero-bg img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.vtt-ahero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,18,.45) 0%, rgba(20,18,18,0) 26%, rgba(20,18,18,.15) 45%, rgba(20,18,18,.8) 100%); }
.vtt-ahero.is-low::after { background: linear-gradient(180deg, rgba(20,18,18,.5) 0%, rgba(20,18,18,.2) 30%, rgba(20,18,18,.35) 50%, rgba(20,18,18,.88) 100%); }
.vtt-ahero-in { position: relative; z-index: 1; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 24px; padding-bottom: 32px; gap: 28px; }
.vtt-ahero .vtt-crumbs { align-self: flex-start; max-width: 100%; padding: 7px 14px; border-radius: 999px; background: rgba(20,18,18,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); line-height: 1.3; }
.vtt-ahero .vtt-crumbs, .vtt-ahero .vtt-crumbs a { color: rgba(255,255,255,.85); }
.vtt-ahero .vtt-crumbs a:hover, .vtt-ahero .vtt-crumb-t { color: #fff; }
.vtt-ahero-txt { display: flex; flex-direction: column; gap: 18px; }
.vtt-ahero .vtt-chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff !important; }
.vtt-ahero a.vtt-chip:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.5); }
.vtt-ahero .vtt-title { color: #fff !important; font-size: 42px !important; line-height: 1.15 !important; max-width: 860px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.vtt-hpills { display: flex; gap: 10px; flex-wrap: wrap; }
.vtt-hpill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(20,18,18,.45); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; }
.vtt-under { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 22px; }
.vtt-dek { font-size: 19px; line-height: 1.55; color: #4A4747; max-width: 820px; margin: 0 !important; }
.vtt-under .vtt-meta-r { margin-left: auto; }

/* Body */
.vtt-body { display: flex; gap: 48px; align-items: flex-start; padding-top: 30px; padding-bottom: 80px; }
.vtt-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 28px; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.vtt-side { flex: 0 0 360px; width: 360px; position: static; }

/* Contents box */
.vtt-toc { background: #fff; border: 1px solid var(--l); border-left: 4px solid var(--b); border-radius: 14px; padding: 4px 20px 14px; }
.vtt-toc-h, .vtt-toc-h:hover, .vtt-toc-h:focus { all: unset; box-sizing: border-box; width: 100%; display: flex !important; justify-content: space-between; align-items: center; padding: 12px 0 !important; cursor: pointer; background: transparent !important; color: var(--d) !important; border: 0 !important; box-shadow: none !important; }
.vtt-toc-t { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--d); }
.vtt-toc-n { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8A8686; }
.vtt-toc-n svg { transition: transform .25s ease; transform: rotate(180deg); }
.vtt-toc.is-closed .vtt-toc-n svg { transform: none; }
.vtt-toc.is-closed { padding-bottom: 4px; }
.vtt-toc.is-closed .vtt-toc-l, .vtt-toc.is-closed .vtt-toc-more { display: none; }
.vtt-toc-l { list-style: none; margin: 4px 0 0 !important; padding: 0 !important; columns: 2; column-gap: 28px; }
.vtt-toc-l li { break-inside: avoid; margin: 0 !important; }
.vtt-toc-l li::before { display: none !important; }
.vtt-toc:not(.is-all) .vtt-more { display: none; }
.vtt-toc-l a { display: flex; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--d) !important; text-decoration: none !important; transition: background .2s ease; }
.vtt-toc-l a:hover { background: var(--s); color: var(--b) !important; }
.vtt-toc-l a span { font-family: 'Playfair Display', Georgia, serif; color: #C9A98A; font-weight: 600; min-width: 18px; }
.vtt-toc-more, .vtt-toc-more:hover { all: unset; cursor: pointer; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--b) !important; background: transparent !important; }
.vtt-toc-more:hover { text-decoration: underline; }

/* Content */
.vtt-content { font-size: 17px; line-height: 1.8; color: #4A4747; }
.vtt-content > *:first-child { margin-top: 0 !important; }
.vtt-content p { margin: 0 0 20px; text-align: justify; }
.vtt-content p.vtt-lead { font-size: 18.5px; color: var(--d); }
.vtt-content h2, .vtt-content h1.vtt-h1, .vtt-content .vtt-sec { font-family: 'Playfair Display', Georgia, serif !important; font-size: 26px !important; font-weight: 600 !important; line-height: 1.25 !important; color: var(--d) !important; margin: 40px 0 14px !important; scroll-margin-top: 110px; }
.vtt-content h3 { font-family: Inter, system-ui, sans-serif !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.35 !important; color: var(--d) !important; margin: 30px 0 10px !important; scroll-margin-top: 110px; }
.vtt-content h4 { font-family: Inter, system-ui, sans-serif !important; font-size: 17px !important; font-weight: 600 !important; color: var(--d) !important; margin: 22px 0 8px !important; scroll-margin-top: 110px; }
.vtt-content a { color: var(--b) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vtt-content a.vtt-btn { color: #fff !important; text-decoration: none !important; }
.vtt-content ul, .vtt-content ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.vtt-content ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.vtt-content ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--b); }
.vtt-content ol { counter-reset: vo; }
.vtt-content ol li { position: relative; padding-left: 36px; margin-bottom: 12px; counter-increment: vo; }
.vtt-content ol li::before { content: counter(vo); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: var(--s); color: var(--b); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.vtt-content img { border-radius: 14px; height: auto; max-width: 100%; }
.vtt-content figure { margin: 26px 0; }
.vtt-content figcaption { font-size: 13px; color: #8A8686; text-align: center; margin-top: 8px; }
.vtt-content blockquote { margin: 26px 0; background: #EEF4F0; border: 0; border-left: 4px solid var(--g); border-radius: 0 14px 14px 0; padding: 18px 22px; font-style: normal; color: var(--d); }
.vtt-content blockquote p:last-child { margin-bottom: 0; }
.vtt-content iframe { max-width: 100%; border-radius: 14px; }

/* Tables */
.vtt-content figure.wp-block-table { margin: 24px 0; }
.vtt-table { margin: 24px 0; border: 1px solid var(--l); border-radius: 16px; overflow-x: auto; background: #fff; -webkit-overflow-scrolling: touch; }
.vtt-table table { width: 100%; border-collapse: collapse; margin: 0 !important; border: 0 !important; font-size: 14.5px; line-height: 1.5; }
.vtt-table th, .vtt-table td { padding: 12px 14px !important; border: 0 !important; border-top: 1px solid var(--l) !important; vertical-align: top; text-align: left; }
.vtt-table thead th, .vtt-table thead td, .vtt-table tr.vtt-thead > * { background: var(--d) !important; color: #fff !important; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; border-top: 0 !important; }
.vtt-table tr:nth-child(even):not(.vtt-thead) td { background: #FBF8F5; }
.vtt-table td:first-child { font-weight: 600; color: var(--d); }
.vtt-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.vtt-g { background: #E7EFEA; color: var(--g); }
.vtt-y { background: #FFF3D6; color: #8A5A12; }
.vtt-r { background: #F8E8E4; color: #B5452D; }

/* Mid-article card */
.vtt-cta { position: relative; border-radius: 18px; overflow: hidden; background: var(--d); margin: 34px 0; }
.vtt-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.vtt-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,28,28,.96) 38%, rgba(29,28,28,.35)); }
.vtt-cta-in { position: relative; z-index: 1; padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.vtt-cta .vtt-eye { color: #D9A574; }
.vtt-cta strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 600; color: #fff; line-height: 1.25; }
.vtt-cta p { margin: 8px 0 0 !important; font-size: 14.5px; color: #D5D2D2; text-align: left !important; max-width: 430px; line-height: 1.55; }

/* End of article */
.vtt-end { padding-top: 26px; border-top: 1px solid var(--l); display: flex; flex-direction: column; gap: 22px; }
.vtt-endrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.vtt-endq { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 600; color: var(--d); }
.vtt-author { background: #fff; border: 1px solid var(--l); border-radius: 18px; padding: 22px 24px; display: flex; gap: 18px; align-items: center; }
.vtt-author > div { flex: 1; }
.vtt-author strong { font-size: 16px; color: var(--d); }
.vtt-author p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: #4A4747; }
.vtt-talk { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--g); color: var(--g) !important; height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.vtt-talk:hover { background: var(--g); color: #fff !important; }

/* Sections under the article */
.vtt-band-light { background: #F3EFEB; padding: 72px 0; }
.vtt-related { background: #FBFAF9; padding: 72px 0; }
.vtt-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.vtt-sechead h2 { font-family: 'Playfair Display', Georgia, serif !important; font-size: 34px !important; font-weight: 600 !important; color: var(--d) !important; margin: 0 !important; line-height: 1.2 !important; }
.vtt-sechead > a { font-size: 14px; font-weight: 600; color: var(--b) !important; text-decoration: none; white-space: nowrap; }
.vtt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vtt-card { background: #fff; border: 1px solid var(--l); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--d) !important; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.vtt-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(29,28,28,.10); }
.vtt-card-img { position: relative; display: block; height: 210px; overflow: hidden; background: var(--s); }
.vtt-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.vtt-card:hover .vtt-card-img img { transform: scale(1.04); }
.vtt-days { position: absolute; left: 14px; top: 14px; background: rgba(20,19,19,.62); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; display: flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); }
.vtt-card-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vtt-card-b h3, .vtt-card-b strong { font-family: 'Playfair Display', Georgia, serif !important; font-size: 19px !important; font-weight: 600 !important; line-height: 1.3 !important; margin: 0 0 8px !important; color: var(--d); display: block; }
.vtt-card-b h3 a { color: var(--d) !important; text-decoration: none; }
.vtt-card-btns { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--l); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vtt-guide .vtt-link { margin-top: auto; }

/* Closing band */
.vtt-band { position: relative; background: var(--d); overflow: hidden; }
.vtt-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(138,76,27,.28); }
.vtt-band-in { position: relative; padding-top: 72px; padding-bottom: 72px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.vtt-band .vtt-eye { color: #D9A574; }
.vtt-band h2 { font-family: 'Playfair Display', Georgia, serif !important; font-size: 38px !important; font-weight: 600 !important; line-height: 1.2 !important; color: #fff !important; margin: 0 0 10px !important; }
.vtt-band p { font-size: 15px; color: #D5D2D2; line-height: 1.6; margin: 0; max-width: 560px; }
.vtt-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tablet */
@media (max-width: 1024px) {
	.vtt-title, .vtt-ahero .vtt-title { font-size: 34px !important; }
	.vtt-ahero { min-height: 420px; }
	.vtt-body { flex-direction: column; align-items: stretch; }
	.vtt-side { position: static; flex: 1 1 auto; width: 100%; }
	.vtt-grid { grid-template-columns: repeat(2, 1fr); }
	.vtt-band-in { flex-direction: column; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 767px) {
	.vtt-wrap { padding-left: 16px; padding-right: 16px; }
	.vtt-head { padding-top: 22px; gap: 14px; }
	.vtt-crumb-t { max-width: 160px; }
	.vtt-meta-r .vtt-share { display: none; }
	.vtt-meta-r .vtt-btn-sm { width: 100%; }
	.vtt-meta-r { width: 100%; }
	.vtt-ahero { min-height: 330px; }
	.vtt-ahero-in { padding-top: 16px; padding-bottom: 18px; gap: 24px; }
	.vtt-ahero-txt { gap: 12px; }
	.vtt-ahero .vtt-title { font-size: 24px !important; line-height: 1.2 !important; }
	.vtt-ahero .vtt-crumbs { font-size: 11px; padding: 5px 10px; flex-wrap: nowrap; white-space: nowrap; }
	.vtt-ahero .vtt-crumb-t { max-width: 120px; }
	.vtt-ahero .vtt-chip { padding: 5px 10px; font-size: 12px; }
	.vtt-hpills { gap: 8px; }
	.vtt-hpill { padding: 7px 11px; font-size: 12px; gap: 6px; }
	.vtt-hpill svg { width: 14px; height: 14px; }
	.vtt-under { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 20px; }
	.vtt-dek { font-size: 15px; }
	.vtt-body { padding-top: 26px; padding-bottom: 48px; gap: 36px; }
	.vtt-toc-l { columns: 1; }
	.vtt-content { font-size: 16px; }
	.vtt-content p.vtt-lead { font-size: 17px; }
	.vtt-content h2, .vtt-content h1.vtt-h1, .vtt-content .vtt-sec { font-size: 22px !important; margin-top: 32px !important; }
	.vtt-table.is-wide table { min-width: 680px; }
	.vtt-table.is-wide::after { content: "Swipe to see all columns \2192"; position: sticky; left: 0; display: block; font-size: 12px; color: #8A8686; text-align: right; padding: 6px 10px; }
	.vtt-cta-in { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
	.vtt-author { flex-direction: column; align-items: flex-start; }
	.vtt-grid { grid-template-columns: 1fr; }
	.vtt-sechead { flex-direction: column; align-items: flex-start; }
	.vtt-sechead h2 { font-size: 28px !important; }
	.vtt-band-light, .vtt-related { padding: 48px 0; }
	.vtt-band h2 { font-size: 28px !important; }
	.vtt-band-in { padding-top: 48px; padding-bottom: 48px; }
}

/* Mobile sticky action bar (posts and packages) */
.vtt-mbar { display: none; }
@media (max-width: 767px) {
	.vtt-mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px rgba(29,28,28,.12); border-radius: 18px 18px 0 0; }
	.vtt-mbar a { flex: 1; height: 50px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: Inter, system-ui, sans-serif; font-size: 15px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
	.vtt-mbar .vtt-mb-plan { flex: 1.25; background: #8A4C1B; color: #fff !important; }
	.vtt-mbar .vtt-mb-wa { background: #1E4D36; color: #fff !important; }
	.vtt-mbar .vtt-mb-plan:active, .vtt-mbar .vtt-mb-wa:active { transform: scale(.98); }
	body.vtt-article, body.vtt-package { padding-bottom: 74px; }
	body.vtt-article #vtt-wa, body.vtt-package #vtt-wa { display: none !important; }
	body.vtt-pop-open .vtt-mbar { display: none; }
}
