/* TechTrantor: Mono Editorial / After Hours. Content images retain their colours. */
:root {
  color-scheme: light;
  --tt-bg: #fff;
  --tt-surface: #fff;
  --tt-surface-soft: #f5f5f5;
  --tt-bg-glow-1: transparent;
  --tt-bg-glow-2: transparent;
  --tt-text: #101114;
  --tt-text-soft: #44464c;
  --tt-muted: #65676c;
  --tt-accent: #101114;
  --tt-accent-alt: #101114;
  --tt-accent-hover: #51535b;
  --tt-accent-soft: #f2f2f2;
  --tt-border: #d8d8db;
  --tt-border-soft: #e6e6e8;
  --tt-border-strong: #a7a7ad;
  --tt-nav-bg: #fff;
  --tt-footer-bg: #101114;
  --tt-footer-text: #f5f5f5;
  --tt-panel-title: #101114;
  --tt-panel-muted: #65676c;
  --tt-chip-bg: #f2f2f2;
  --tt-chip-border: #d8d8db;
  --tt-shadow: none;
  --tt-code-bg: #f3f3f5;
  --tt-code-text: #202126;
  --tt-code-btn-bg: #e6e6e8;
  --tt-code-btn-bg-hover: #d8d8db;
  --tt-code-btn-border: #c9c9cd;
}
:root[data-tt-theme="dark"] {
  color-scheme: dark;
  --tt-bg: #0c0d10;
  --tt-surface: #0c0d10;
  --tt-surface-soft: #17181d;
  --tt-bg-glow-1: transparent;
  --tt-bg-glow-2: transparent;
  --tt-text: #fafafa;
  --tt-text-soft: #bfc0c7;
  --tt-muted: #a1a3ae;
  --tt-accent: #709aff;
  --tt-accent-alt: #315efb;
  --tt-accent-hover: #a7bfff;
  --tt-accent-soft: #1b2233;
  --tt-border: #34353d;
  --tt-border-soft: #292a31;
  --tt-border-strong: #565865;
  --tt-nav-bg: #0c0d10;
  --tt-footer-bg: #08090c;
  --tt-footer-text: #f5f5f5;
  --tt-panel-title: #fafafa;
  --tt-panel-muted: #bfc0c7;
  --tt-chip-bg: #17181d;
  --tt-chip-border: #34353d;
  --tt-shadow: none;
  --tt-code-bg: #17181d;
  --tt-code-text: #eef0f8;
  --tt-code-btn-bg: #262832;
  --tt-code-btn-bg-hover: #363947;
  --tt-code-btn-border: #565865;
}
html { scroll-padding-top: 24px; }
body#mh-mobile { background: var(--tt-bg); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 16px; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
a, button, input, summary, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--tt-accent); outline-offset: 5px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { letter-spacing: -0.04em; font-weight: 700; }
p, li { line-height: 1.65; }
a { color: var(--tt-text); }
a:hover { color: var(--tt-accent-hover); }
.mh-container-outer { max-width: 1320px; margin: 0 auto; border-radius: 0; overflow: visible; box-shadow: none; }
.mh-wrapper { background: var(--tt-bg); padding: 40px 36px 64px; }
/* Brand and navigation */
.tt-masthead { background: var(--tt-bg); color: var(--tt-text); }
.tt-masthead__inner { max-width: 1320px; margin: auto; min-height: 96px; padding: 20px 36px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--tt-border-strong); }
.tt-brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; color: var(--tt-text); text-decoration: none; font-size: 29px; font-weight: 750; letter-spacing: -1.5px; line-height: 1; }
.tt-brand:hover { color: var(--tt-text); }
.tt-brand__mark { display: block; width: 44px; height: 38px; flex-shrink: 0; }
.tt-desktop-nav { margin-left: auto; }
.tt-desktop-nav .tt-menu, .tt-desktop-nav .menu > ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 22px; margin: 0; }
.tt-desktop-nav li { position: relative; margin: 0; font-size: 12px; font-weight: 600; }
.tt-desktop-nav a { display: block; padding: 12px 0; text-decoration: none; }
.tt-desktop-nav .sub-menu, .tt-desktop-nav .children { display: none; position: absolute; z-index: 10; min-width: 200px; padding: 10px 16px; background: var(--tt-surface); border: 1px solid var(--tt-border); right: 0; }
.tt-desktop-nav li:hover > ul, .tt-desktop-nav li:focus-within > ul { display: block; }
.tt-masthead__actions { display: flex; align-items: center; gap: 12px; }
.tt-masthead .tt-theme-toggle { position: static; inset: auto; display: inline-flex; gap: 7px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--tt-border); border-radius: 3px; box-shadow: none; line-height: 1; font-size: 12px; white-space: nowrap; opacity: 1; z-index: auto; }
.tt-masthead .tt-theme-toggle[aria-pressed="true"] { border-color: var(--tt-accent); }
.tt-theme-toggle svg { flex-shrink: 0; }
.tt-mobile-nav { display: none; }
/* Full-width editorial hero */
.tt-hero { min-height: 360px; display: grid; grid-template-columns: minmax(0, 1fr) 252px; align-items: center; gap: 50px; padding: 50px 64px 50px 36px; }
.tt-hero__copy { min-width: 0; }
.tt-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--tt-muted); margin: 0 0 18px; }
.tt-hero h1 { margin: 0 0 20px; color: var(--tt-text); font-size: clamp(42px, 4.8vw, 64px); font-weight: 750; line-height: 1.03; letter-spacing: -.06em; }
.tt-hero__copy > p:not(.tt-eyebrow) { max-width: 540px; margin: 0; font-size: 17px; line-height: 1.6; color: var(--tt-text-soft); }
.tt-hero__logo { display: block; width: 100%; height: auto; color: var(--tt-text); }
.tt-topic-nav { display: flex; flex-wrap: wrap; margin: 0 36px; border-block: 1px solid var(--tt-border-strong); padding: 17px 0; gap: 0; }
.tt-topic-nav a { padding: 0 24px; border-right: 1px solid var(--tt-border); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.tt-topic-nav a:first-child { padding-left: 0; }
.tt-topic-nav a:last-child { border: 0; }
/* Main content / existing right-hand widgets */
.tt-home-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.tt-home-layout::before, .tt-home-layout::after { display: none; }
.tt-home-layout #main-content.mh-content, .tt-home-layout #tt-sidebar { float: none; width: auto; margin: 0; min-width: 0; overflow: visible; }
.tt-home-layout #tt-sidebar { border-left: 1px solid var(--tt-border); padding-left: 30px; }
.tt-section-heading { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin: 0 0 28px; letter-spacing: -.055em; }
.tt-home-featured { margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--tt-border); }
.tt-home-featured__image, .tt-home-recent__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; min-height: 0; background: var(--tt-surface-soft); overflow: hidden; border: 1px solid var(--tt-border-soft); }
.tt-home-featured__image img, .tt-home-recent__image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 0; filter: none; }
.tt-home-featured__image span, .tt-home-recent__image span { color: var(--tt-muted); min-height: 160px; }
.tt-home-featured__content { display: block; padding: 22px 0 0; }
.tt-home-section-label { color: var(--tt-accent); font-size: 10px; letter-spacing: .12em; margin: 0 0 11px; }
.tt-home-featured__content h2 { font-size: clamp(27px, 3vw, 39px); line-height: 1.1; margin: 0; }
.tt-home-featured__content h2 a, .tt-home-recent__card h3 a { color: var(--tt-text); text-decoration: none; }
.tt-home-featured__content h2 a:hover, .tt-home-recent__card h3 a:hover { color: var(--tt-accent-hover); }
.tt-home-featured__meta, .tt-home-recent__meta { color: var(--tt-muted); margin: 12px 0; font-size: 11px; font-weight: 400; }
.tt-home-featured__content > p:not(.tt-home-featured__meta):not(.tt-home-section-label) { margin: 14px 0 0; font-size: 16px; line-height: 1.6; }
.tt-home-read-more { display: inline-flex; gap: 10px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--tt-text); text-decoration: none; }
.tt-home-recent__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.tt-home-recent__card { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.tt-home-recent__card h3 { margin: 10px 0; font-size: 22px; line-height: 1.15; }
.tt-home-recent__card > p:not(.tt-home-recent__meta) { margin: 12px 0 0; font-size: 14px; }
.tt-home-standard-loop { border-top: 1px solid var(--tt-border); padding-top: 26px; }
.mh-loop-item, .entry-wrap, .post, .page .entry-content { border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 0; }
.mh-loop-item { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--tt-border); }
.mh-loop-title { font-size: 24px; line-height: 1.15; }
.mh-loop-title a { color: var(--tt-text); }
.mh-loop-thumb img, .mh-widget img, .entry-thumbnail img, .wp-post-image { border-radius: 0; }
/* Style native widget output rather than replacing its content. */
.mh-widget { padding: 0 0 28px; margin: 0 0 28px; border: 0; border-bottom: 1px solid var(--tt-border); border-radius: 0; box-shadow: none; background: transparent; }
.mh-widget-title { background: transparent; color: var(--tt-text); padding: 0; border: 0; border-radius: 0; font-size: 22px; line-height: 1.2; text-transform: none; letter-spacing: -.04em; margin: 0 0 18px; }
.mh-widget-title-inner { padding: 0; border: 0; background: transparent; }
.mh-widget p, .mh-widget li { font-size: 13px; line-height: 1.6; }
.mh-widget a { color: var(--tt-text); }
.mh-widget a:hover { color: var(--tt-accent-hover); }
.mh-widget li { border-color: var(--tt-border); padding-block: 10px; }
.mh-widget select { width: 100%; padding: 12px; font-size: 14px; color: var(--tt-text); background: var(--tt-surface-soft); border: 1px solid var(--tt-border); border-radius: 0; }
.mh-widget .search-form { background: transparent; padding: 0; }
.tt-search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.tt-search-form label { display: block; min-width: 0; }
.tt-search-form .search-field { width: 100%; min-width: 0; min-height: 44px; padding: 11px; color: var(--tt-text); border: 1px solid var(--tt-border); border-radius: 0; background: var(--tt-surface); font-size: 13px; text-transform: none; }
.tt-search-form .search-submit { display: block; min-height: 44px; padding: 11px 13px; border-radius: 0; background: var(--tt-text); color: var(--tt-bg); font-size: 12px; font-weight: 600; }
:root[data-tt-theme="dark"] .tt-search-form .search-submit { background: #315efb; color: white; }
.mh-widget iframe { max-width: 100%; }
/* Posts, archives and footer remain part of the same appearance. */
.entry-title { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.entry-content { font-size: 16px; }
.entry-content a { text-decoration: underline; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.entry-content pre { font-size: 14px; }
.tt-related-card, .tt-popular-searches { border-radius: 0; box-shadow: none; }
.mh-footer { border-top: 1px solid var(--tt-border); }
.mh-footer .mh-container-inner, .mh-copyright-wrap .mh-container-inner { max-width: 1320px; padding: 24px 36px; }
.mh-footer-widget, .mh-footer-widget p, .mh-footer-widget li { color: var(--tt-footer-text); }
.mh-copyright-wrap { border: 0; }
.mh-copyright { font-size: 11px; }
.page-numbers { border-radius: 0; }
@media (min-width: 901px) {
  body:not(.home) .mh-right-sb #main-content { padding-right: 20px; }
}
@media (max-width: 1100px) {
  .tt-desktop-nav { display: none; }
  .tt-masthead__actions { margin-left: auto; }
  .tt-mobile-nav { display: block; }
  .tt-mobile-nav summary { cursor: pointer; font-size: 13px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--tt-border); list-style-position: inside; }
  .tt-mobile-nav nav { position: absolute; top: calc(100% - 10px); right: 36px; left: 36px; z-index: 20; padding: 16px 24px; background: var(--tt-surface); border: 1px solid var(--tt-border); box-shadow: 0 10px 20px #0001; }
  .tt-masthead__inner { position: relative; }
  .tt-mobile-nav a { display: block; padding: 10px 0; }
  .tt-mobile-nav .sub-menu { padding-left: 16px; }
  .tt-home-layout { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 24px; }
  .tt-home-layout #tt-sidebar { padding-left: 24px; }
}
@media (max-width: 800px) {
  .tt-masthead__inner { min-height: 80px; padding: 16px 22px; gap: 16px; }
  .tt-brand { font-size: 25px; gap: 9px; }
  .tt-brand__mark { width: 35px; height: 32px; }
  .tt-hero { min-height: 310px; grid-template-columns: minmax(0, 1fr) 150px; gap: 30px; padding: 40px 22px; }
  .tt-hero h1 { font-size: clamp(34px, 5.6vw, 45px); }
  .tt-hero__copy > p:not(.tt-eyebrow) { font-size: 16px; }
  .tt-topic-nav { margin-inline: 22px; padding-block: 8px; row-gap: 8px; }
  .tt-topic-nav a { padding: 5px 15px; }
  .tt-home-layout { display: block; }
  .mh-wrapper { padding: 32px 22px 45px; }
  .tt-home-layout #tt-sidebar { border-left: 0; padding: 32px 0 0; margin-top: 40px; border-top: 1px solid var(--tt-border-strong); }
  .tt-mobile-nav nav { left: 22px; right: 22px; }
  .mh-content, .mh-sidebar, .mh-right-sb #main-content.mh-content { float: none; width: 100%; margin-right: 0; }
  body:not(.home) .mh-sidebar { margin-top: 36px; }
}
@media (max-width: 480px) {
  .tt-masthead__inner { padding-inline: 16px; gap: 10px; }
  .tt-brand { font-size: 22px; letter-spacing: -1.1px; gap: 7px; }
  .tt-brand__mark { width: 30px; height: 28px; }
  .tt-masthead__actions { gap: 8px; }
  .tt-masthead .tt-theme-toggle { padding: 10px; min-width: 44px; }
  .tt-theme-toggle-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tt-mobile-nav summary { padding-inline: 8px; }
  .tt-hero { min-height: 300px; grid-template-columns: minmax(0, 1fr) 65px; align-items: center; gap: 16px; padding: 32px 16px; }
  .tt-hero h1 { font-size: clamp(30px, 7.5vw, 36px); }
  .tt-hero__copy > p:not(.tt-eyebrow) { font-size: 14px; }
  .tt-eyebrow { font-size: 9px; letter-spacing: .12em; }
  .tt-topic-nav { margin-inline: 16px; }
  .tt-topic-nav a { border: 0; padding: 5px 12px 5px 0; font-size: 9px; }
  .tt-home-recent__grid { grid-template-columns: 1fr; gap: 30px; }
  .tt-home-recent__card h3 { font-size: 25px; }
  .mh-wrapper { padding-inline: 16px; }
  .mh-loop-thumb { float: none; width: 100%; max-width: none; margin: 0 0 18px; }
  .mh-loop-thumb img { width: 100%; height: auto; }
  .tt-mobile-nav nav { left: 16px; right: 16px; }
  .mh-footer .mh-container-inner, .mh-copyright-wrap .mh-container-inner { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
