/* Talk to Arya: blog, article and shared header/footer for inner pages */
:root {
  --tta-ink: #121A26; --tta-paper: #F5F4F0; --tta-white: #FFFFFF;
  --tta-muted: #4A5361; --tta-muted-dark: #C9CED6; --tta-muted-dark-2: #9AA3AF;
  --tta-gold: #C8A46E; --tta-gold-text: #6E5530;
  --tta-rule: #CFCBC0; --tta-rule-soft: #E2DFD6; --tta-rule-dark: #2A3444;
  --tta-wa: #128C4A;
  --tta-serif: Newsreader, Georgia, serif;
  --tta-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body:not(.home) { padding: 0 !important; margin: 0; background: var(--tta-paper); color: var(--tta-ink); font-family: var(--tta-sans); -webkit-font-smoothing: antialiased; }
body:not(.home) .wp-site-blocks { padding: 0 !important; }
body:not(.home) .wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.tta-top *, .tta-hero *, .tta-filter *, .tta-page *, .tta-foot * { box-sizing: border-box; }
.tta-top :focus-visible, .tta-hero :focus-visible, .tta-filter :focus-visible, .tta-page :focus-visible, .tta-foot :focus-visible { outline: 2px solid var(--tta-gold); outline-offset: 3px; }

/* Header */
.tta-top { background: var(--tta-ink); color: var(--tta-paper); }
.tta-in { max-width: 1120px; margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.tta-logo { font-family: var(--tta-serif); font-size: 24px; letter-spacing: .01em; color: var(--tta-paper); text-decoration: none; }
.tta-logo:hover { color: var(--tta-paper); }
.tta-nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-size: 14px; letter-spacing: .04em; }
.tta-nav a { color: var(--tta-muted-dark); text-decoration: none; }
.tta-nav a:hover { color: var(--tta-paper); }
.tta-nav a.tta-btn-o { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--tta-gold); color: var(--tta-paper); font-weight: 500; }
.tta-nav a.tta-btn-o:hover { background: rgba(200,164,110,.15); }

/* Blog hero */
.tta-hero { background: var(--tta-ink); color: var(--tta-paper); border-top: 1px solid var(--tta-rule-dark); }
.tta-hero-in { max-width: 1120px; margin: 0 auto; padding: 72px 24px 80px; }
.tta-crumbs { font-size: 13px; color: var(--tta-muted-dark-2); margin: 0 0 28px; }
.tta-crumbs a { color: var(--tta-muted-dark); text-decoration: none; }
.tta-crumbs a:hover { color: var(--tta-paper); }
.tta-eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--tta-gold); }
.tta-hero h1, .tta-hero .tta-h1 { font-family: var(--tta-serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 60px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 20px; color: var(--tta-paper); text-wrap: balance; }
.tta-hero p.tta-sub { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--tta-muted-dark); }

/* Category pills */
.tta-filter { background: var(--tta-white); border-bottom: 1px solid var(--tta-rule-soft); }
.tta-pills { max-width: 1120px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.tta-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--tta-rule); border-radius: 999px; color: var(--tta-ink); text-decoration: none; font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.tta-pills a:hover { background: var(--tta-ink); color: var(--tta-paper); border-color: var(--tta-ink); }
.tta-pills a.is-active { background: var(--tta-ink); color: var(--tta-paper); border-color: var(--tta-ink); }

/* Listing layout */
.tta-layout { max-width: 1120px; margin: 0 auto; padding: 64px 24px 112px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.tta-feed > .wp-block-query { margin: 0; }
.tta-feed .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.tta-feed .wp-block-post-template > li { margin: 0; }

/* Cards */
.tta-card { background: var(--tta-white); border: 1px solid var(--tta-rule-soft); }
.tta-card .wp-block-post-featured-image { margin: 0; }
.tta-card .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.tta-card-body { padding: 28px 32px 32px; }
.tta-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 13px; color: var(--tta-muted); margin: 0 0 12px; }
.tta-meta > * { margin: 0; }
.tta-meta > * + *::before { content: "·"; margin: 0 10px; color: var(--tta-rule); }
.tta-meta .wp-block-post-terms a { color: var(--tta-gold-text); text-decoration: none; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.tta-meta .wp-block-post-terms a:hover { color: var(--tta-ink); }
.tta-meta .wp-block-post-terms .wp-block-post-terms__separator { margin-right: 4px; }
.tta-card .wp-block-post-title { font-family: var(--tta-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
.tta-card .wp-block-post-title a { color: var(--tta-ink); text-decoration: none; }
.tta-card .wp-block-post-title a:hover { color: var(--tta-gold-text); }
.tta-card .wp-block-post-excerpt { margin: 0 0 18px; }
.tta-card .wp-block-post-excerpt__excerpt { margin: 0; color: var(--tta-muted); font-size: 16px; line-height: 1.65; }
.tta-card .wp-block-read-more { color: var(--tta-gold-text); font-weight: 600; text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.tta-card .wp-block-read-more::after { content: "\2192"; margin-left: 8px; transition: transform .15s; }
.tta-card .wp-block-read-more:hover { color: var(--tta-ink); }
.tta-card .wp-block-read-more:hover::after { transform: translateX(3px); }
.tta-empty { background: var(--tta-white); border: 1px solid var(--tta-rule-soft); padding: 40px 32px; color: var(--tta-muted); font-size: 17px; }

/* Pagination */
.tta-feed .wp-block-query-pagination { margin-top: 40px; gap: 8px; font-size: 15px; font-weight: 500; justify-content: flex-start; }
.tta-feed .wp-block-query-pagination a, .tta-feed .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--tta-rule); color: var(--tta-ink); text-decoration: none; background: var(--tta-white); }
.tta-feed .wp-block-query-pagination a:hover { background: var(--tta-ink); color: var(--tta-paper); border-color: var(--tta-ink); }
.tta-feed .wp-block-query-pagination .current { background: var(--tta-ink); color: var(--tta-paper); border-color: var(--tta-ink); }
.tta-feed .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 8px; }

/* Sidebar */
.tta-side h3 { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--tta-gold-text); font-family: var(--tta-sans); }
.tta-side ul { list-style: none; margin: 0 0 44px; padding: 0; }
.tta-side li { border-top: 1px solid var(--tta-rule); padding: 12px 0; margin: 0; font-size: 15px; line-height: 1.45; }
.tta-side li:last-child { border-bottom: 1px solid var(--tta-rule); }
.tta-side li a { color: var(--tta-ink); text-decoration: none; font-weight: 500; }
.tta-side li a:hover { color: var(--tta-gold-text); }
.tta-side .wp-block-latest-posts__post-date { display: block; margin-top: 2px; font-size: 13px; color: var(--tta-muted); }
.tta-ask { background: var(--tta-ink); color: var(--tta-paper); padding: 28px; }
.tta-ask h3 { color: var(--tta-gold); }
.tta-ask p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--tta-muted-dark); }
.tta-ask a.tta-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--tta-gold); color: var(--tta-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.tta-ask a.tta-btn:hover { opacity: .88; }

/* Article */
.tta-article { max-width: 760px; margin: 0 auto; padding: 72px 24px 56px; }
.tta-article .tta-meta { margin-bottom: 18px; }
.tta-article h1.wp-block-post-title { font-family: var(--tta-serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 32px; text-wrap: balance; color: var(--tta-ink); }
.tta-article .wp-block-post-featured-image { margin: 0 0 40px; }
.tta-article .wp-block-post-featured-image img { width: 100%; height: auto; display: block; }
.tta-article .wp-block-post-content { font-size: 18px; line-height: 1.75; color: #1F2733; }
.tta-article .wp-block-post-content > * { max-width: none; }
.tta-article .wp-block-post-content p { margin: 0 0 1.25em; }
.tta-article .wp-block-post-content h2 { font-family: var(--tta-serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 2em 0 .6em; }
.tta-article .wp-block-post-content h3 { font-size: 20px; font-weight: 600; margin: 1.8em 0 .5em; }
.tta-article .wp-block-post-content a { color: var(--tta-gold-text); text-decoration: underline; text-underline-offset: 3px; }
.tta-article .wp-block-post-content a:hover { color: var(--tta-ink); }
.tta-article .wp-block-post-content ul, .tta-article .wp-block-post-content ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.tta-article .wp-block-post-content li { margin-bottom: .5em; }
.tta-article .wp-block-post-content blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--tta-gold); font-family: var(--tta-serif); font-size: 24px; line-height: 1.4; }
.tta-article .wp-block-post-content blockquote p { margin: 0; }
.tta-article .wp-block-post-content img { max-width: 100%; height: auto; }
.tta-back { max-width: 760px; margin: 0 auto; padding: 0 24px 72px; }
.tta-back a { color: var(--tta-gold-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.tta-back a:hover { color: var(--tta-ink); }
.tta-cta { background: var(--tta-ink); color: var(--tta-paper); }
.tta-cta-in { max-width: 1120px; margin: 0 auto; padding: 88px 24px; display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; }
.tta-cta-in > div { flex: 999 1 460px; min-width: 0; }
.tta-cta h2 { font-family: var(--tta-serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 12px; color: var(--tta-paper); text-wrap: balance; }
.tta-cta p { margin: 0; font-size: 17px; color: var(--tta-muted-dark); }
.tta-cta a.tta-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 28px; background: var(--tta-gold); color: var(--tta-ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.tta-cta a.tta-btn:hover { opacity: .88; }

/* Footer */
.tta-foot { background: var(--tta-ink); color: var(--tta-muted-dark-2); border-top: 1px solid var(--tta-rule-dark); font-size: 13px; }
.tta-foot-in { max-width: 1120px; margin: 0 auto; padding: 24px 24px 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.tta-foot a { color: var(--tta-muted-dark); }
.tta-foot a:hover { color: var(--tta-paper); }

@media (max-width: 900px) {
  .tta-layout { grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 40px 24px 80px; }
}
@media (max-width: 720px) {
  .tta-nav { gap: 18px; }
  .tta-nav a.tta-hide-m { display: none; }
  .tta-hero-in { padding: 48px 24px 56px; }
  .tta-card-body { padding: 22px 20px 24px; }
  .tta-article { padding: 48px 24px 40px; }
  .tta-article .wp-block-post-content { font-size: 17px; }
  .tta-cta-in { padding: 64px 24px; }
}
