/*
Theme Name: Tamimi HR — Editorial Ledger
Theme URI: https://tamimihr.com
Description: Custom child theme for Tamimi HR (Abdulaziz Al-Tamimi). Arabic-first editorial "ledger" design: ivory, teal and brass, Amiri + IBM Plex Sans Arabic.
Author: Abdulaziz Al-Tamimi
Template: twentytwentyone
Version: 1.1.0
Text Domain: tamimi-hr
*/

/* ============ Tokens ============ */
:root {
	--t-paper: #F5F1E8;
	--t-panel: #EDE6D8;
	--t-sand: #E7DFCF;
	--t-ink: #14211F;
	--t-ink-2: #3E4B48;
	--t-muted: #5E6A66;
	--t-teal: #0E3B37;
	--t-teal-2: #16504A;
	--t-brass: #A67C36;
	--t-brass-text: #7A5A1E;
	--t-brass-light: #D4B06A;
	--t-rule: #CFC5B2;
	--t-display: 'Amiri', 'Times New Roman', serif;
	--t-body: 'IBM Plex Sans Arabic', Tahoma, sans-serif;
	--t-display-en: 'Source Serif 4', Georgia, serif;
	--t-body-en: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
	--global--color-background: #F5F1E8;
	--global--color-primary: #14211F;
	--global--color-secondary: #3E4B48;
	--global--font-primary: var(--t-body);
	--global--font-secondary: var(--t-body);
	--heading--font-family: var(--t-display);
}

/* ============ Base ============ */
html, body { background: var(--t-paper) !important; }
body { font-family: var(--t-body); color: var(--t-ink); font-size: 17px; }
body.t-en { font-family: var(--t-body-en); }
a { color: var(--t-teal); text-decoration: none; }
a:hover, a:focus { color: var(--t-brass-text); text-decoration: none; }
.site { background: var(--t-paper); }
.site-main { padding: 0 !important; }
.t-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.t-display, .t h1, .t h2, .t h3 { font-family: var(--t-display) !important; color: var(--t-teal); margin: 0; font-weight: 700; letter-spacing: 0; }
.t-en .t h1, .t-en .t h2, .t-en .t h3, .t-en .t-display { font-family: var(--t-display-en) !important; font-weight: 600; }
.t p { margin: 0; }
.t img { max-width: 100%; height: auto; }
.screen-reader-text:focus { background: var(--t-paper); }

/* ============ Header ============ */
.t-header { border-bottom: 1px solid var(--t-rule); background: var(--t-paper); position: relative; z-index: 20; }
.t-header .t-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.t-brand { display: flex; align-items: center; gap: 14px; color: var(--t-ink) !important; }
.t-mark { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-mark img { width: 100%; height: 100%; display: block; }
.t-brand-name { display: block; font-family: var(--t-display); font-size: 24px; font-weight: 700; line-height: 1.15; }
.t-en .t-brand-name { font-family: var(--t-display-en); font-size: 22px; }
.t-brand-sub { display: block; font-size: 12px; letter-spacing: .04em; color: var(--t-muted); margin-top: 2px; }
.t-nav { display: flex; gap: 32px; font-size: 16px; font-weight: 500; }
.t-nav a { color: var(--t-ink-2); padding: 12px 0; border-bottom: 2px solid transparent; }
.t-nav a:hover, .t-nav a.is-current { color: var(--t-ink); border-bottom-color: var(--t-brass); }
.t-actions { display: flex; align-items: center; gap: 14px; }
.t-lang { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--t-rule); font-size: 14px; font-weight: 600; color: var(--t-ink) !important; }
.t-menu-toggle { display: none; }
.t-menu-toggle summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--t-rule); display: flex; align-items: center; justify-content: center; }
.t-menu-toggle summary::-webkit-details-marker { display: none; }

/* ============ Buttons & links ============ */
.t-btn { display: inline-flex !important; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; background: var(--t-teal); color: var(--t-paper) !important; font-weight: 600; font-size: 16px; border: 0; }
.t-btn:hover { background: var(--t-teal-2); }
.t-btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.t-btn-outline { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--t-teal); color: var(--t-teal) !important; font-weight: 600; }
.t-link { font-weight: 600; color: var(--t-teal) !important; border-bottom: 1px solid var(--t-brass); padding-bottom: 4px; display: inline-flex; gap: 8px; align-items: center; }
.t-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--t-brass-text); font-weight: 600; font-size: 14px; }
.t-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--t-brass); display: block; }
.t-en .t-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.t-num { font-family: var(--t-display); font-size: 20px; color: var(--t-brass-text); display: block; margin-bottom: 12px; }
.t-en .t-num { font-family: var(--t-display-en); font-style: italic; font-size: 18px; }
.t-h2 { font-size: 44px !important; line-height: 1.3 !important; }
.t-en .t-h2 { line-height: 1.15 !important; }

/* ============ Sections ============ */
.t-sec { padding: 88px 0; }
.t-rule-top { border-top: 1px solid var(--t-rule); }
.t-panel { background: var(--t-panel); border-top: 1px solid var(--t-rule); border-bottom: 1px solid var(--t-rule); }
.t-split { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 80px; }
.t-split-intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.t-split-intro p { font-size: 17px; line-height: 1.9; color: var(--t-ink-2); }
.t-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }

/* Hero */
.t-hero { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 80px; align-items: center; padding-top: 80px; padding-bottom: 72px; }
.t-hero-text { display: flex; flex-direction: column; gap: 26px; }
.t-hero h1 { font-size: 76px !important; line-height: 1.2 !important; }
.t-en .t-hero h1 { font-size: 70px !important; line-height: 1.08 !important; letter-spacing: -.015em; }
.t-hero-lead { font-size: 20px; line-height: 1.85; color: var(--t-ink-2); max-width: 620px; }
.t-hero-ctas { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.t-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--t-rule); border-bottom: 1px solid var(--t-rule); margin-top: 16px; }
.t-stats > div { padding: 18px 24px; display: flex; flex-direction: column; gap: 4px; }
.t-stats > div + div { border-inline-start: 1px solid var(--t-rule); }
.t-stats > div:first-child { padding-inline-start: 0; }
.t-stats b { font-family: var(--t-display); font-size: 34px; color: var(--t-teal); line-height: 1.2; }
.t-en .t-stats b { font-family: var(--t-display-en); font-weight: 600; }
.t-stats span { font-size: 14px; color: var(--t-muted); }
.t-portrait { position: relative; }
.t-portrait img { display: block; width: 100%; height: 580px; object-fit: cover; object-position: center top; background: var(--t-sand); }
.t-portrait::before, .t-portrait::after { content: ''; position: absolute; width: 110px; height: 110px; pointer-events: none; }
.t-portrait::before { top: -16px; inset-inline-end: -16px; border-top: 1px solid var(--t-brass); border-inline-end: 1px solid var(--t-brass); }
.t-portrait::after { bottom: -16px; inset-inline-start: -16px; border-bottom: 1px solid var(--t-brass); border-inline-start: 1px solid var(--t-brass); }

/* Ledger table */
.t-ledger-head, .t-ledger-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 24px; align-items: baseline; }
.t-ledger-head { padding-bottom: 14px; border-bottom: 2px solid var(--t-ink); font-size: 13px; font-weight: 600; color: var(--t-muted); letter-spacing: .04em; }
.t-ledger-row { padding: 20px 0; border-bottom: 1px solid var(--t-rule); }
.t-ledger-row b { font-family: var(--t-display); font-size: 24px; }
.t-en .t-ledger-row b { font-family: var(--t-display-en); font-weight: 600; font-size: 22px; }
.t-ledger-row .r { font-size: 17px; }
.t-ledger-row .s { font-size: 15px; color: var(--t-muted); }
.t-note { font-size: 15px; line-height: 1.8; color: var(--t-muted); margin-top: 18px !important; }

/* Articles: featured + list */
.t-articles { display: grid; grid-template-columns: 540px minmax(0, 1fr); gap: 64px; align-items: stretch; }
.t-feature { display: flex; flex-direction: column; background: var(--t-teal); color: var(--t-paper) !important; }
.t-feature-img { height: 300px; background: #0B312E; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.t-feature-img img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.t-feature-img .q { font-family: var(--t-display); font-size: 200px; line-height: 1; color: var(--t-brass); opacity: .55; }
.t-feature-body { padding: 34px 38px 38px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.t-feature-body .k { font-size: 13px; font-weight: 600; color: var(--t-brass-light); letter-spacing: .03em; }
.t-feature-body h3 { color: var(--t-paper) !important; font-size: 34px !important; line-height: 1.35 !important; }
.t-feature-body p { color: #D3DCD9; font-size: 16px; line-height: 1.85; }
.t-feature-body .more { margin-top: auto; padding-top: 10px; font-weight: 600; }
.t-feature:hover .more { text-decoration: underline; }
.t-list { border-top: 2px solid var(--t-ink); }
.t-list-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) 24px; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--t-rule); color: var(--t-ink) !important; }
.t-list-item .n { font-family: var(--t-display); font-size: 32px; color: var(--t-brass); line-height: 1; }
.t-list-item .k { display: block; font-size: 13px; font-weight: 600; color: var(--t-brass-text); margin-bottom: 6px; }
.t-list-item .t { display: block; font-family: var(--t-display); font-size: 25px; font-weight: 700; line-height: 1.4; }
.t-list-item .a { font-size: 20px; color: var(--t-muted); }
.t-list-item:hover .t { color: var(--t-teal); }

/* Themes */
.t-themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--t-ink); }
.t-theme { display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; color: var(--t-ink) !important; }
.t-theme + .t-theme { border-inline-start: 1px solid var(--t-rule); }
.t-theme:first-child { padding-inline-start: 0; }
.t-theme em { font-style: normal; font-family: var(--t-display); font-size: 18px; color: var(--t-brass-text); }
.t-theme strong { font-family: var(--t-display); font-size: 25px; line-height: 1.35; }
.t-en .t-theme strong { font-family: var(--t-display-en); font-weight: 600; font-size: 23px; }
.t-theme span { font-size: 15px; line-height: 1.8; color: var(--t-muted); }
.t-theme:hover strong { color: var(--t-teal); }

/* Quote */
.t-quote { padding: 0 0 88px; }
.t-quote figure { margin: 0; padding: 6px 40px 6px 0; border-inline-start: 3px solid var(--t-brass); max-width: 900px; }
[dir="ltr"] .t-quote figure, .t-en .t-quote figure { padding: 6px 0 6px 40px; }
.t-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--t-display); font-size: 44px; line-height: 1.5; color: var(--t-teal); }
.t-en .t-quote blockquote { font-family: var(--t-display-en); font-style: italic; font-size: 40px; line-height: 1.3; }
.t-quote figcaption { font-size: 15px; color: var(--t-muted); margin-top: 16px; }

/* Photo wall */
.t-photos { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; margin-bottom: 64px; }
.t-photos-side { display: flex; flex-direction: column; gap: 20px; }
.t-photo { margin: 0; position: relative; overflow: hidden; background: var(--t-sand); }
.t-photo img { display: block; width: 100%; object-fit: cover; }
.t-photo figcaption { position: absolute; bottom: 0; inset-inline-start: 0; padding: 10px 16px; background: var(--t-teal); color: var(--t-paper); font-size: 14px; font-weight: 500; }

/* Engagement rows */
.t-rows { border-top: 2px solid var(--t-ink); }
.t-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 130px; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--t-rule); }
.t-row .y { font-family: var(--t-display); font-size: 26px; font-weight: 700; color: var(--t-teal); }
.t-row .t { display: block; font-family: var(--t-display); font-size: 25px; font-weight: 700; }
.t-en .t-row .y, .t-en .t-row .t { font-family: var(--t-display-en); font-weight: 600; }
.t-row .d { display: block; font-size: 15px; line-height: 1.7; color: var(--t-muted); margin-top: 6px; }
.t-row .k { font-size: 13px; font-weight: 600; color: var(--t-brass-text); }

/* CTA band */
.t-cta { background: var(--t-teal); color: var(--t-paper); padding: 80px 0; }
.t-cta .t-wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.t-cta .t-eyebrow { color: var(--t-brass-light); }
.t-cta .t-eyebrow::before { background: var(--t-brass-light); }
.t-cta h2 { color: var(--t-paper) !important; font-size: 52px !important; line-height: 1.25 !important; margin-top: 14px !important; }
.t-cta p { color: #D3DCD9; font-size: 18px; line-height: 1.8; margin-top: 12px !important; max-width: 560px; }
.t-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.t-cta .t-btn { background: var(--t-brass); color: var(--t-ink) !important; }
.t-cta .t-btn:hover { background: var(--t-brass-light); }
.t-ghost { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--t-brass-light); color: var(--t-paper) !important; font-weight: 600; }
.t-ghost:hover { background: rgba(255,255,255,.06); }

/* Footer */
.t-footer { border-top: 1px solid var(--t-rule); padding: 64px 0 36px; background: var(--t-paper); }
.t-footer-top { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.t-footer-about { max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.t-footer-about b { font-family: var(--t-display); font-size: 30px; color: var(--t-teal); }
.t-en .t-footer-about b { font-family: var(--t-display-en); font-weight: 600; font-size: 28px; }
.t-footer-about span { font-size: 15px; line-height: 1.8; color: var(--t-muted); }
.t-footer-cols { display: flex; gap: 88px; }
.t-footer-cols nav, .t-footer-cols div { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.t-footer-cols .h { font-size: 13px; font-weight: 600; color: var(--t-brass-text); }
.t-footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; margin-top: 48px; border-top: 1px solid var(--t-rule); font-size: 14px; color: var(--t-muted); }
.t-footer-bottom a { color: var(--t-muted); }

/* About page */
.t-about-hero { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 88px; align-items: center; padding-top: 88px; padding-bottom: 80px; }
.t-about-hero h1 { font-size: 72px !important; line-height: 1.25 !important; }
.t-creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--t-ink); border-bottom: 1px solid var(--t-rule); }
.t-creds > div { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.t-creds > div + div { border-inline-start: 1px solid var(--t-rule); }
.t-creds > div:first-child { padding-inline-start: 0; }
.t-creds span { font-size: 13px; font-weight: 600; color: var(--t-brass-text); }
.t-creds b { font-family: var(--t-display); font-size: 25px; line-height: 1.4; }
.t-story { display: grid; grid-template-columns: 320px minmax(0, 760px); gap: 96px; }
.t-story-body { display: flex; flex-direction: column; gap: 26px; font-size: 19px; line-height: 2; color: #1F2D2A; }
.t-story-body figure { margin: 8px 0; padding: 4px 32px 4px 0; border-inline-start: 3px solid var(--t-brass); }
.t-story-body blockquote { margin: 0; padding: 0; border: 0; font-family: var(--t-display); font-size: 32px; line-height: 1.6; color: var(--t-teal); }
.t-timeline-head, .t-timeline-row { display: grid; grid-template-columns: 180px 260px minmax(0, 1fr); gap: 32px; align-items: baseline; }
.t-timeline-head { padding-bottom: 14px; border-bottom: 2px solid var(--t-ink); font-size: 13px; font-weight: 600; color: var(--t-muted); }
.t-timeline-row { padding: 24px 0; border-bottom: 1px solid var(--t-rule); }
.t-timeline-row .p { font-family: var(--t-display); font-size: 22px; font-weight: 700; color: var(--t-teal); }
.t-timeline-row .o { font-family: var(--t-display); font-size: 24px; font-weight: 700; }
.t-timeline-row .r { display: block; font-size: 17px; font-weight: 600; }
.t-timeline-row .d { display: block; font-size: 15px; line-height: 1.8; color: var(--t-muted); margin-top: 6px; }
.t-expertise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 2px solid var(--t-ink); }
.t-expertise > div { padding: 22px 0; border-bottom: 1px solid var(--t-rule); display: flex; flex-direction: column; gap: 6px; }
.t-expertise b { font-family: var(--t-display); font-size: 24px; }
.t-expertise span { font-size: 15px; color: var(--t-muted); }
.t-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.t-gallery .t-photo img { height: 420px; }

/* Single article */
.t-article-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-top: 80px; padding-bottom: 52px; }
.t-crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--t-muted); flex-wrap: wrap; justify-content: center; }
.t-crumbs a { color: var(--t-muted); }
.t-crumbs .c, .t-crumbs .c a { color: var(--t-brass-text); font-weight: 600; }
.t-article-head h1 { font-size: 62px !important; line-height: 1.3 !important; max-width: 980px; }
.t-dek { font-size: 20px; line-height: 1.85; color: var(--t-ink-2); max-width: 720px; }
.t-meta { display: flex; align-items: center; gap: 24px; padding: 14px 30px; border-top: 1px solid var(--t-rule); border-bottom: 1px solid var(--t-rule); font-size: 15px; color: var(--t-muted); flex-wrap: wrap; justify-content: center; }
.t-meta .by { display: flex; align-items: center; gap: 10px; color: var(--t-ink); font-weight: 600; }
.t-meta .by img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 12%; }
.t-meta .sep { width: 1px; height: 20px; background: var(--t-rule); display: block; }
.t-cover { margin: 0 auto; max-width: 1152px; }
.t-cover img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.t-article-body { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 96px; padding-top: 72px; padding-bottom: 88px; justify-content: start; }
.t-aside { display: flex; flex-direction: column; gap: 28px; }
.t-aside-box { padding-top: 16px; border-top: 2px solid var(--t-ink); display: flex; flex-direction: column; gap: 12px; }
.t-aside-box + .t-aside-box { border-top-width: 1px; border-top-color: var(--t-rule); }
.t-aside-box .h { font-size: 13px; font-weight: 600; color: var(--t-brass-text); }
.t-share { display: flex; gap: 8px; flex-wrap: wrap; }
.t-share a { min-height: 44px; padding: 0 14px; border: 1px solid var(--t-rule); display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--t-ink) !important; }
.t-content { font-size: 20px; line-height: 2; color: #1F2D2A; }
.t-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.t-content p { margin: 0 0 26px; }
.t-content h2 { font-family: var(--t-display) !important; font-size: 34px !important; line-height: 1.4; color: var(--t-teal); margin: 40px 0 16px !important; }
.t-content h3 { font-family: var(--t-display) !important; font-size: 26px !important; color: var(--t-teal); margin: 32px 0 12px !important; }
.t-content blockquote, .t-content .wp-block-quote { border: 0 !important; border-inline-start: 3px solid var(--t-brass) !important; padding: 4px 32px 4px 0 !important; margin: 32px 0 !important; font-family: var(--t-display); font-size: 30px; line-height: 1.6; color: var(--t-teal); }
.t-content img { height: auto; }
.t-content ul, .t-content ol { padding-inline-start: 1.4em; }
.t-content .sharedaddy, .t-content .jp-relatedposts, .t-content .wpcnt { display: none !important; }
.t-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.t-tags a { font-size: 14px; padding: 8px 14px; border: 1px solid var(--t-rule); color: var(--t-ink-2) !important; }
.t-author { display: grid; grid-template-columns: minmax(0, 1fr) 1px 460px; gap: 64px; padding-top: 64px; padding-bottom: 64px; }
.t-author-card { display: flex; gap: 24px; align-items: flex-start; }
.t-author-card img { width: 96px; height: 120px; object-fit: cover; object-position: center top; border-bottom: 2px solid var(--t-brass); flex-shrink: 0; }
.t-author-card .h { font-size: 13px; font-weight: 600; color: var(--t-brass-text); }
.t-author-card b { display: block; font-family: var(--t-display); font-size: 28px; color: var(--t-teal); margin: 6px 0 8px; }
.t-author-card p { font-size: 16px; line-height: 1.85; color: var(--t-ink-2); }
.t-vrule { background: var(--t-rule); }
.t-pn { display: flex; flex-direction: column; gap: 20px; }
.t-pn a { display: flex; flex-direction: column; gap: 6px; color: var(--t-ink) !important; }
.t-pn .h { font-size: 13px; font-weight: 600; color: var(--t-brass-text); }
.t-pn .t { font-family: var(--t-display); font-size: 24px; font-weight: 700; line-height: 1.4; }
.t-pn hr { border: 0; height: 1px; background: var(--t-rule); margin: 0; width: 100%; }

/* Blog archive (/main/, categories) — cards */
.blog .site-main, .archive .site-main, .search .site-main { max-width: 1200px; margin: 0 auto; padding: 56px 24px 88px !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; box-sizing: border-box; }
.archive .page-header, .search .page-header { grid-column: 1 / -1; max-width: none !important; margin: 0 !important; padding: 0 0 18px !important; border-bottom: 2px solid var(--t-ink) !important; }
.archive .page-title, .search .page-title { font-family: var(--t-display) !important; font-size: 44px !important; color: var(--t-teal); }
.blog .site-main > article, .archive .site-main > article, .search .site-main > article { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--t-rule) !important; margin: 0 !important; padding: 0 0 24px !important; max-width: none !important; }
.blog .site-main > article::after, .archive .site-main > article::after { display: none !important; }
.blog .site-main > article .entry-header, .archive .site-main > article .entry-header, .search .site-main > article .entry-header { display: flex; flex-direction: column-reverse; padding: 0 !important; margin: 0 !important; max-width: none !important; }
.blog .entry-title, .archive .entry-title, .search .entry-title { font-family: var(--t-display) !important; font-size: 26px !important; line-height: 1.4 !important; font-weight: 700; padding: 0 28px; margin: 0 0 12px !important; }
.blog .entry-title a, .archive .entry-title a, .search .entry-title a { color: var(--t-ink) !important; text-decoration: none !important; }
.blog .post-thumbnail, .blog .post-thumbnail-inner, .archive .post-thumbnail, .archive .post-thumbnail-inner, .search .post-thumbnail { width: 100% !important; max-width: 100% !important; margin: 0 0 20px !important; position: static; display: block; }
.blog .post-thumbnail img, .archive .post-thumbnail img, .search .post-thumbnail img { display: block; width: 100% !important; max-width: 100% !important; height: 220px !important; object-fit: cover; margin: 0 !important; }
.blog .entry-content, .archive .entry-content, .search .entry-content, .blog .entry-summary, .archive .entry-summary { max-width: none !important; padding: 0 28px; font-size: 16px; line-height: 1.9; color: var(--t-ink-2); }
.blog .entry-footer, .archive .entry-footer, .search .entry-footer { max-width: none !important; margin-top: auto !important; padding: 12px 28px 0 !important; border: 0 !important; font-size: 13px; color: var(--t-brass-text); }
.blog .sharedaddy, .archive .sharedaddy, .blog .jp-relatedposts, .archive .jp-relatedposts { display: none !important; }
.blog .pagination, .archive .pagination, .search .pagination, .blog .navigation, .archive .navigation { grid-column: 1 / -1; max-width: none !important; border-top: 1px solid var(--t-rule) !important; }

/* Neutralise parent-theme defaults inside our layouts */
.site-main > .t { margin: 0 !important; max-width: none !important; }
.t blockquote::before, .t blockquote::after, .t-content blockquote::before { content: none !important; display: none !important; }
.t blockquote p { margin: 0 !important; font-size: inherit !important; font-family: inherit !important; }
.t figure { margin-left: 0; margin-right: 0; }
.t .t-photo figcaption { margin: 0 !important; line-height: 1.4; }
.t-pn hr { border: 0 !important; }
.t a:not(.t-btn):not(.t-ghost):not(.t-btn-outline) { text-decoration: none !important; }
.t-header a, .t-footer a { text-decoration: none !important; }
.t-list-item, .t-theme, .t-feature { text-decoration: none !important; }

/* Hide parent widget area (we use our own footer) */
.widget-area { display: none; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
	.t-nav { gap: 20px; font-size: 15px; }
	.t-hero, .t-about-hero { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
	.t-articles { grid-template-columns: 1fr; }
	.t-split { grid-template-columns: 1fr; gap: 40px; }
	.t-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.t-theme, .t-theme:first-child { padding: 24px 0; border-inline-start: 0 !important; border-bottom: 1px solid var(--t-rule); }
	.t-article-body { grid-template-columns: 1fr; gap: 40px; }
	.t-aside { order: 2; }
	.t-story { grid-template-columns: 1fr; gap: 32px; }
	.t-author { grid-template-columns: 1fr; gap: 32px; }
	.t-vrule { display: none; }
}
@media (max-width: 820px) {
	.t-header .t-wrap { padding-top: 14px; padding-bottom: 14px; }
	.t-brand-sub { display: none; }
	.t-brand-name { font-size: 20px; }
	.t-mark { width: 42px; height: 42px; }
	.t-nav, .t-actions .t-btn { display: none !important; }
	.t-menu-toggle { display: block; }
	.t-menu-toggle[open] .t-mobile-nav { display: flex; }
	.t-mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--t-paper); border-bottom: 1px solid var(--t-rule); flex-direction: column; padding: 8px 20px 16px; }
	.t-mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--t-rule); font-size: 17px; font-weight: 500; color: var(--t-ink); }
	.t-wrap { padding: 0 20px; }
	.t-sec { padding: 56px 0; }
	.t-hero, .t-about-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 44px; }
	.t-hero h1, .t-about-hero h1 { font-size: 46px !important; }
	.t-en .t-hero h1 { font-size: 44px !important; }
	.t-hero-lead { font-size: 17px; }
	.t-portrait img { height: 440px; }
	.t-stats b { font-size: 26px; }
	.t-stats > div { padding: 14px 12px; }
	.t-stats span { font-size: 12px; }
	.t-h2 { font-size: 32px !important; }
	.t-ledger-head { display: none; }
	.t-ledger-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
	.t-ledger-row b { font-size: 21px; }
	.t-feature-img { height: 180px; }
	.t-feature-body { padding: 24px; }
	.t-feature-body h3 { font-size: 28px !important; }
	.t-list-item { grid-template-columns: 36px minmax(0, 1fr); }
	.t-list-item .a { display: none; }
	.t-list-item .t { font-size: 21px; }
	.t-themes { grid-template-columns: 1fr; }
	.t-quote blockquote { font-size: 28px; }
	.t-photos { grid-template-columns: 1fr; }
	.t-photos .t-photo img { height: 234px !important; }
	.t-row { grid-template-columns: 1fr; gap: 4px; }
	.t-cta h2 { font-size: 38px !important; }
	.t-footer-top, .t-footer-cols { flex-direction: column; gap: 32px; }
	.t-footer-bottom { flex-direction: column; }
	.t-creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.t-creds > div, .t-creds > div:first-child { padding: 18px 12px; }
	.t-timeline-head { display: none; }
	.t-timeline-row { grid-template-columns: 1fr; gap: 6px; }
	.t-expertise { grid-template-columns: 1fr; }
	.t-gallery { grid-template-columns: 1fr; }
	.t-gallery .t-photo img { height: 280px; }
	.t-article-head { padding-top: 40px; }
	.t-article-head h1 { font-size: 36px !important; }
	.t-content { font-size: 18px; }
	.blog .site-main, .archive .site-main, .search .site-main { grid-template-columns: 1fr; padding: 32px 16px !important; }
}
