/*
Theme Name: Peakytrader
Author: TechSota
Author URI: https://www.techsota.com
Description: A dense editorial finance/news WordPress theme with a centered newspaper canvas, full-width masthead/footer bands, inline search, administrator-controlled device/light/dark appearance, instant editable demo content, Elementor-ready builder zones, side drawer navigation and modular category sections.
Version: 1.3.22
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: peakytrader
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: news, blog, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, editor-style, rtl-language-support
*/

:root {
  --pt-bg: #ffffff;
  --pt-surface: #f7f7f7;
  --pt-surface-2: #efefef;
  --pt-text: #111111;
  --pt-muted: #636363;
  --pt-title-hover: #767676;
  --pt-line: #d6d6d6;
  --pt-header: #050505;
  --pt-header-text: #ffffff;
  --pt-topbar-bg: #eeeeee;
  --pt-topbar-text: #303030;
  --pt-accent: #15883e;
  --pt-danger: #c52332;
  --pt-success: #187b43;
  --pt-max: 1560px;
  --pt-logo-width: 240px;
  --pt-article-sidebar: 330px;
  --pt-radius: 0px;
  --pt-font: Arial, Helvetica, sans-serif;
  --pt-title-font: "Host Grotesk", Arial, Helvetica, sans-serif;
  --pt-condensed: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  --pt-serif: Georgia, "Times New Roman", serif;
}

html[data-pt-theme="dark"] {
  --pt-bg: #101112;
  --pt-surface: #17191b;
  --pt-surface-2: #202326;
  --pt-text: #f5f5f5;
  --pt-muted: #a9adb2;
  --pt-line: #34383d;
  --pt-header: #050505;
  --pt-header-text: #ffffff;
  --pt-topbar-bg: #17191b;
  --pt-topbar-text: #e5e5e5;
  --pt-accent: #4cc878;
}

@media (prefers-color-scheme: dark) {
  html[data-pt-theme="device"] {
    --pt-bg: #101112;
    --pt-surface: #17191b;
    --pt-surface-2: #202326;
    --pt-text: #f5f5f5;
    --pt-muted: #a9adb2;
    --pt-line: #34383d;
    --pt-header: #050505;
    --pt-header-text: #ffffff;
    --pt-topbar-bg: #17191b;
    --pt-topbar-text: #e5e5e5;
    --pt-accent: #4cc878;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pt-bg);
  color: var(--pt-text);
  font-family: var(--pt-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pt-accent); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.pt-container { width: min(calc(100% - 36px), var(--pt-max)); margin-inline: auto; }
body.pt-fluid-layout .pt-container { width: 100%; max-width: none; padding-inline: clamp(20px, 2.2vw, 42px); }
body.pt-fluid-layout .pt-home > .pt-container,
body.pt-fluid-layout .pt-content-wrap > .pt-container { max-width: none; }
.pt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.pt-site-header { position: relative; z-index: 80; }
.pt-site-header.is-sticky { position: sticky; top: 0; }
.pt-network-bar { background: var(--pt-topbar-bg); color: var(--pt-topbar-text); border-top: 2px solid #4a403b; }
.pt-network-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pt-network-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.pt-network-nav a, .pt-network-right { font-size: 16px; line-height: 1; color: inherit; }
.pt-network-nav a:hover, .pt-network-right:hover { color: var(--pt-text); text-decoration: underline; }

.pt-main-masthead { background: var(--pt-header); color: var(--pt-header-text); border-bottom: 1px solid #171717; }
.pt-header-row { min-height: 68px; display: grid; grid-template-columns: 44px auto minmax(0,1fr) auto; align-items: center; gap: 10px 22px; position: relative; }
.pt-menu-toggle { grid-column: 1; grid-row: 1; }
.pt-brand { grid-column: 2; grid-row: 1; }
.pt-primary-nav { grid-column: 3; grid-row: 1; transition: opacity .22s ease, transform .26s ease, visibility .22s ease; }
.pt-header-row.pt-search-open .pt-primary-nav { opacity: 0; visibility: hidden; transform: translateX(-14px); pointer-events: none; }
.pt-inline-search { grid-column: 3; grid-row: 1; justify-self: end; width: 0; max-width: 780px; opacity: 0; overflow: hidden; pointer-events: none; transform: translateX(14px); transition: width .34s cubic-bezier(.2,.8,.2,1), opacity .2s ease, transform .34s cubic-bezier(.2,.8,.2,1); z-index: 3; }
.pt-header-row.pt-search-open .pt-inline-search { width: 100%; opacity: 1; pointer-events: auto; transform: translateX(0); }
.pt-inline-search form { width: 100%; display: flex; align-items: center; border-bottom: 2px solid #fff; background: transparent; color: #fff; }
.pt-inline-search input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 10px 8px 9px 2px; background: transparent; color: #fff; font-size: 17px; }
.pt-inline-search input::placeholder { color: #aaa; }
.pt-inline-search button { flex: 0 0 auto; border: 0; background: transparent; color: #fff; cursor: pointer; padding: 8px 4px 8px 12px; font-size: 19px; }
.pt-search-toggle svg { transition: transform .25s ease, opacity .2s ease; }
.pt-header-row.pt-search-open .pt-search-toggle svg { transform: rotate(90deg); }
.pt-menu-toggle, .pt-search-toggle { border: 0; background: transparent; padding: 8px; cursor: pointer; display: inline-grid; place-items: center; color: #fff; }
.pt-menu-toggle { width: 44px; height: 44px; }
.pt-menu-icon, .pt-menu-icon::before, .pt-menu-icon::after { display: block; width: 23px; height: 2px; background: currentColor; content: ''; position: relative; border-radius: 1px; }
.pt-menu-icon::before { position: absolute; top: -7px; }
.pt-menu-icon::after { position: absolute; top: 7px; }

.pt-brand { display: inline-flex; align-items: center; min-width: 0; margin-right: 18px; }
.pt-brand .custom-logo-link { display: flex; align-items: center; }
.pt-brand .custom-logo { width: min(var(--pt-logo-width), 42vw); max-height: 46px; object-fit: contain; }
.pt-wordmark { font-size: clamp(29px, 2.4vw, 37px); font-weight: 900; line-height: 1; letter-spacing: -2px; white-space: nowrap; }
.pt-wordmark span { color: var(--pt-accent); }

.pt-primary-nav { min-width: 0; display: flex; justify-content: center; overflow: visible; }
.pt-primary-nav ul { list-style: none; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0; margin: 0; padding: 0; white-space: nowrap; }
.pt-primary-nav li { position: relative; margin: 0; }
.pt-primary-nav .pt-menu-separator { margin-left: 8px; padding-left: 8px; border-left: 1px solid #8a8a8a; }
.pt-primary-nav a { color: #f7f7f7; display: block; padding: 14px 9px; font-family: var(--pt-condensed); font-size: clamp(16px, 1.45vw, 23px); line-height: 1; font-weight: 900; letter-spacing: -0.7px; text-transform: uppercase; }
.pt-primary-nav a:hover, .pt-primary-nav .current-menu-item > a { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.pt-primary-nav .menu-item-has-children > .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #111; border: 1px solid #2d2d2d; padding: 6px 0; z-index: 90; }
.pt-primary-nav .menu-item-has-children:hover > .sub-menu, .pt-primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.pt-primary-nav .sub-menu a { font-family: var(--pt-font); font-size: 14px; letter-spacing: 0; text-transform: none; padding: 11px 14px; }

.pt-header-tools { grid-column: 4; grid-row: 1; justify-self: end; align-self: center; display: flex; flex-wrap: nowrap; align-items: center; gap: 9px; margin-left: 12px; white-space: nowrap; }
.pt-header-icon { border: 0; background: transparent; width: 42px; height: 42px; padding: 6px; cursor: pointer; display: inline-grid; place-items: center; color: #fff; }
.pt-header-icon:hover { color: #fff; opacity: .82; }



/* Builder/market zone */
.pt-market-zone { border-bottom: 1px solid var(--pt-line); background: var(--pt-bg); }
.pt-market-zone-inner { min-height: 128px; padding: 18px 0; }
.pt-market-placeholder { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; border: 1px solid var(--pt-line); background: var(--pt-bg); }
.pt-market-placeholder > div { min-height: 90px; padding: 14px 16px; border-right: 1px solid var(--pt-line); }
.pt-market-placeholder > div:last-child { border-right: 0; }
.pt-market-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--pt-muted); font-weight: 800; }
.pt-market-title { font-size: 19px; font-weight: 800; margin-top: 6px; }
.pt-market-value { font-size: 23px; font-weight: 800; margin-top: 4px; }
.pt-market-meta { font-size: 12px; color: var(--pt-muted); margin-top: 2px; }

/* Latest news rail */
.pt-latest-rail { border-bottom: 1px solid var(--pt-line); background: var(--pt-surface); }
.pt-latest-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: stretch; min-height: 48px; }
.pt-latest-label { display: flex; align-items: center; gap: 8px; padding: 0 14px 0 0; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .045em; white-space: nowrap; }
.pt-live-dot { width: 7px; height: 7px; background: var(--pt-danger); border-radius: 50%; box-shadow: 0 0 0 3px rgba(197,35,50,.14); }
.pt-ticker-window { overflow: hidden; border-left: 1px solid var(--pt-line); border-right: 1px solid var(--pt-line); }
.pt-ticker-track { display: flex; width: max-content; align-items: center; min-height: 48px; animation: ptTicker var(--pt-ticker-speed, 70s) linear infinite; }
.pt-ticker-window:hover .pt-ticker-track { animation-play-state: paused; }
.pt-ticker-item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 0 22px; font-size: 13px; font-weight: 650; border-right: 1px solid var(--pt-line); }
.pt-ticker-time { color: var(--pt-muted); font-size: 12px; font-weight: 500; }
.pt-latest-more { display: flex; align-items: center; padding-left: 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
@keyframes ptTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pt-ticker-track { animation: none; } }

/* Homepage */
.pt-home { padding: 28px 0 56px; }
.pt-home-top { display: grid; grid-template-columns: minmax(0, 1.63fr) minmax(300px, .85fr); gap: 30px; align-items: start; }
.pt-lead-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(230px, .82fr); gap: 22px; }
.pt-card { min-width: 0; }
.pt-card-media { display: block; aspect-ratio: 16 / 9; background: var(--pt-surface-2); overflow: hidden; }
.pt-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pt-card:hover .pt-card-media img { transform: scale(1.018); }
.pt-eyebrow { color: var(--pt-danger); text-transform: uppercase; letter-spacing: .055em; font-size: 11px; font-weight: 900; margin: 10px 0 6px; }
.pt-headline { margin: 0; font-family: var(--pt-title-font); letter-spacing: -.035em; line-height: 1.06; font-weight: 800; }
.pt-headline-lg { font-size: clamp(30px, 4vw, 50px); }
.pt-headline-md { font-size: clamp(21px, 2.2vw, 29px); }
.pt-headline-sm { font-size: 18px; line-height: 1.18; }
.pt-excerpt { margin: 10px 0 0; color: var(--pt-muted); font-size: 15px; }
.pt-meta { margin-top: 9px; color: var(--pt-muted); font-size: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.pt-secondary-stack { border-left: 1px solid var(--pt-line); padding-left: 22px; }
.pt-secondary-stack .pt-card { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--pt-line); }
.pt-secondary-stack .pt-card:last-child { border-bottom: 0; margin-bottom: 0; }
.pt-secondary-stack .pt-card-media { margin-bottom: 8px; }
.pt-home-sidebar { border-left: 1px solid var(--pt-line); padding-left: 26px; }
.pt-side-title { margin: 0 0 12px; font-family: var(--pt-title-font); font-size: 20px; line-height: 1; font-weight: 800; }
.pt-news-list { border-top: 2px solid var(--pt-text); }
.pt-news-row { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--pt-line); }
.pt-news-time { color: var(--pt-muted); font-size: 12px; padding-top: 2px; }
.pt-news-title { margin: 0; font-size: 15px; line-height: 1.25; font-weight: 760; }
.pt-sidebar-builder { margin-top: 28px; }

.pt-builder-zone { margin: 30px 0; min-height: 1px; }
.pt-builder-zone:empty { display: none; }

.pt-section { margin-top: 42px; border-top: 3px solid var(--pt-text); padding-top: 12px; }
.pt-section-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 16px; }
.pt-section-title { font-family: var(--pt-title-font); font-size: 24px; line-height: 1; margin: 0; font-weight: 800; letter-spacing: -.02em; }
.pt-section-link { font-size: 12px; text-transform: uppercase; font-weight: 850; letter-spacing: .04em; }
.pt-section-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.pt-section-grid .pt-card:not(:first-child) { border-left: 1px solid var(--pt-line); padding-left: 20px; }
.pt-section-grid .pt-card-media { aspect-ratio: 16/10; }
.pt-section-grid .pt-headline { margin-top: 8px; }

/* Archive and content */
.pt-content-wrap { padding: 34px 0 70px; }
.pt-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--pt-article-sidebar); gap: 52px; align-items: start; }
.pt-content-grid.pt-no-sidebar { grid-template-columns: minmax(0, 1fr); }
.pt-archive-title { margin: 0 0 24px; font-family: var(--pt-title-font); font-size: clamp(34px,5vw,58px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.pt-archive-list { border-top: 2px solid var(--pt-text); }
.pt-archive-card { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--pt-line); }
.pt-archive-card .pt-card-media { aspect-ratio: 16/10; }
.pt-archive-card .pt-headline { font-size: clamp(22px,2.5vw,31px); }
.pt-pagination { margin-top: 30px; }
.pt-pagination .nav-links { display: flex; gap: 7px; flex-wrap: wrap; }
.pt-pagination a, .pt-pagination span { border: 1px solid var(--pt-line); min-width: 38px; height: 38px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pt-pagination .current { background: var(--pt-text); color: var(--pt-bg); border-color: var(--pt-text); }

.pt-article-shell { min-width: 0; }
.pt-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; color: var(--pt-muted); font-size: 12px; font-weight: 700; }
.pt-breadcrumbs a { color: inherit; }
.pt-breadcrumbs a:hover { color: var(--pt-text); text-decoration: underline; }
.pt-breadcrumbs-sep { opacity: .55; }

.pt-article { max-width: 900px; }
.pt-article-header { margin-bottom: 18px; }
.pt-article-kicker { margin-bottom: 10px; color: var(--pt-muted); font-size: 13px; font-weight: 800; }
.pt-article-title { max-width: 900px; font-family: var(--pt-title-font); font-size: clamp(42px,5.25vw,64px); line-height: 1.01; letter-spacing: -.045em; margin: 0 0 16px; font-weight: 800; }
.pt-article-deck { max-width: 830px; color: var(--pt-muted); font-family: var(--pt-serif); font-size: clamp(19px,1.7vw,23px); line-height: 1.38; margin: 0 0 18px; }
.pt-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--pt-muted); font-size: 13px; }
.pt-article-author { color: var(--pt-text); font-weight: 700; }
.pt-article-actions { min-height: 48px; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--pt-line); border-bottom: 1px solid var(--pt-line); margin: 22px 0 24px; }
.pt-action-btn { border: 0; background: transparent; color: var(--pt-text); cursor: pointer; padding: 8px 9px; font-size: 13px; font-weight: 700; }
.pt-action-btn:hover { text-decoration: underline; }
.pt-action-sep { width: 1px; height: 20px; background: var(--pt-line); }
.pt-reading-time { margin-left: auto; color: var(--pt-muted); font-size: 12px; white-space: nowrap; }
.pt-feature-image { margin: 0 0 10px; }
.pt-feature-image img { width: 100%; height: auto; }
.pt-image-caption { margin-top: 7px; color: var(--pt-muted); font-size: 11px; line-height: 1.45; }
.pt-entry-content { font-family: var(--pt-serif); font-size: 19px; line-height: 1.68; }
.pt-entry-content > * { max-width: 760px; }
.pt-entry-content > p:first-child { font-size: 20px; }
.pt-entry-content > .alignwide { max-width: 980px; }
.pt-entry-content h2, .pt-entry-content h3, .pt-entry-content h4 { font-family: var(--pt-font); line-height: 1.12; letter-spacing: -.02em; }
.pt-entry-content h2 { font-size: 30px; margin-top: 38px; }
.pt-entry-content h3 { font-size: 24px; margin-top: 32px; }
.pt-entry-content a { color: var(--pt-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.pt-entry-content blockquote { border-left: 4px solid var(--pt-text); margin-left: 0; padding-left: 20px; font-size: 1.08em; }
.pt-entry-content figcaption { color: var(--pt-muted); font-size: 12px; }

.pt-content-sidebar { min-width: 0; }
.pt-content-sidebar.is-sticky { position: sticky; top: 108px; }
.pt-article-sidebar-builder { margin-bottom: 26px; }
.pt-sidebar-box { border-top: 3px solid var(--pt-text); padding-top: 12px; margin-bottom: 28px; }
.pt-sidebar-box h3 { margin: 0 0 12px; font-size: 18px; }
.pt-sidebar-box ul { margin: 0; padding: 0; list-style: none; }
.pt-sidebar-box li { padding: 10px 0; border-bottom: 1px solid var(--pt-line); }

/* Drawer */
.pt-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; z-index: 995; }
.pt-drawer { position: fixed; z-index: 1000; top: 0; left: 0; width: min(390px, 92vw); height: 100dvh; background: var(--pt-bg); color: var(--pt-text); transform: translateX(-102%); transition: transform .25s ease; overflow-y: auto; box-shadow: 12px 0 34px rgba(0,0,0,.16); }
body.pt-drawer-open { overflow: hidden; }
body.pt-drawer-open .pt-drawer { transform: translateX(0); }
body.pt-drawer-open .pt-drawer-backdrop { opacity: 1; visibility: visible; }
.pt-drawer-head { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--pt-line); }
.pt-drawer-brand { font-size: 26px; font-weight: 900; letter-spacing: -1px; }
.pt-drawer-brand span { color: var(--pt-accent); }
.pt-drawer-close { border: 0; background: transparent; font-size: 32px; line-height: 1; cursor: pointer; padding: 7px; }
.pt-drawer-body { padding: 18px; }
.pt-drawer-search { margin-bottom: 20px; }
.pt-drawer-search form { display: flex; border: 1px solid var(--pt-line); }
.pt-drawer-search input { width: 100%; border: 0; background: transparent; color: inherit; padding: 11px 12px; outline: none; }
.pt-drawer-search button { border: 0; border-left: 1px solid var(--pt-line); background: transparent; cursor: pointer; padding: 0 14px; }
.pt-drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.pt-drawer-nav > ul > li { border-bottom: 1px solid var(--pt-line); }
.pt-drawer-nav a { display: block; padding: 13px 2px; font-weight: 790; }
.pt-drawer-nav .sub-menu { padding: 0 0 10px 14px; }
.pt-drawer-nav .sub-menu a { padding: 7px 2px; color: var(--pt-muted); font-size: 14px; }
.pt-drawer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pt-social-link { border: 1px solid var(--pt-line); width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; }
.pt-social-link .dashicons { width: 18px; height: 18px; font-size: 18px; }
.pt-drawer-builder { margin-top: 24px; }

/* Footer */
.pt-footer { background: #050505; color: #f2f2f2; padding: 42px 0 20px; }
.pt-footer a { color: inherit; }
.pt-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pt-footer-top { display: grid; grid-template-columns: minmax(330px,1.45fr) repeat(3,minmax(180px,1fr)); gap: clamp(28px,4vw,76px); align-items: start; }
.pt-footer-brand { font-size: clamp(29px,2vw,38px); font-weight: 900; font-style: italic; letter-spacing: -1.7px; line-height: 1; margin-bottom: 7px; }
.pt-footer-brand span { color: var(--pt-accent); }
.pt-footer-desc { color: #d1d1d1; max-width: 430px; font-size: 14px; margin-bottom: 12px; }
.pt-footer-copyright { color: #e2e2e2; font-size: 13px; margin: 10px 0 7px; }
.pt-footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.pt-footer-legal li { margin: 0; color: #f1f1f1; font-size: 12px; font-family: var(--pt-condensed); font-weight: 750; text-transform: uppercase; letter-spacing: .035em; }
.pt-footer-legal li:not(:last-child)::after { content: " | "; color: #8a8a8a; padding-inline: 6px; }
.pt-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pt-footer-social .pt-social-link { border: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #050505; }
.pt-footer-social .pt-social-link:hover,
.pt-footer-social .pt-social-link:focus-visible {
  color: #050505;
  background: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.pt-footer-social .pt-social-link:hover .dashicons,
.pt-footer-social .pt-social-link:focus-visible .dashicons {
  color: #050505;
  opacity: 1;
  visibility: visible;
}
.pt-footer-social .pt-social-link .dashicons { width: 19px; height: 19px; font-size: 19px; }
.pt-footer h4 { margin: 0 0 15px; font-family: var(--pt-condensed); font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }
.pt-footer ul { list-style: none; margin: 0; padding: 0; }
.pt-footer > .pt-container > .pt-footer-top > div:not(:first-child) li { margin: 10px 0; color: #e4e4e4; font-family: var(--pt-condensed); font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .03em; }
.pt-footer-bottom { border-top: 1px solid #2f2f2f; margin-top: 38px; padding-top: 17px; display: flex; justify-content: flex-end; gap: 20px; color: #a7a7a7; font-size: 12px; }

/* Widgets + forms */
.widget { margin-bottom: 26px; }
.widget-title { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; border-top: 3px solid var(--pt-text); padding-top: 10px; }
.wp-block-search__inside-wrapper { border-color: var(--pt-line) !important; }

/* Responsive */
@media (max-width: 1180px) {
  .pt-footer-top { grid-template-columns: 1.25fr repeat(3, 1fr); gap: 28px; }
  .pt-header-row { gap: 10px 14px; }
  .pt-brand { margin-right: 4px; }
  .pt-primary-nav a { padding-inline: 7px; font-size: 17px; }
  .pt-content-grid { gap: 34px; }
}

@media (max-width: 1050px) {
  .pt-home-top { grid-template-columns: 1fr; }
  .pt-home-sidebar { border-left: 0; border-top: 1px solid var(--pt-line); padding-left: 0; padding-top: 24px; }
  .pt-section-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pt-section-grid .pt-card:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pt-content-grid { grid-template-columns: 1fr; }
  .pt-content-sidebar { border-top: 1px solid var(--pt-line); padding-top: 28px; }
  .pt-content-sidebar.is-sticky { position: static; }
  .pt-market-placeholder { grid-template-columns: repeat(2,1fr); }
  .pt-market-placeholder > div:nth-child(2) { border-right: 0; }
  .pt-market-placeholder > div:nth-child(-n+2) { border-bottom: 1px solid var(--pt-line); }
}

@media (max-width: 980px) {
  .pt-network-inner { min-height: 34px; }
  .pt-network-nav a, .pt-network-right { font-size: 13px; }
  .pt-header-row { min-height: 70px; grid-template-columns: 44px minmax(0,1fr) auto; gap: 8px 12px; }
  .pt-brand { margin-right: 0; grid-column: 2; grid-row: 1; transition: opacity .2s ease, transform .25s ease; }
  .pt-primary-nav { display: none; }
  .pt-inline-search { grid-column: 2; grid-row: 1; max-width: none; justify-self: stretch; }
  .pt-header-row.pt-search-open .pt-brand { opacity: 0; visibility: hidden; transform: translateX(-10px); pointer-events: none; }
  .pt-header-tools { margin-left: 0; grid-column: 3; grid-row: 1; }
  .pt-wordmark { font-size: 31px; }
}

@media (max-width: 760px) {
  .pt-container { width: min(calc(100% - 24px), var(--pt-max)); }
  body.pt-fluid-layout .pt-container { width: 100%; padding-inline: 16px; }
  .pt-network-nav ul { gap: 14px; }
  .pt-network-nav li:nth-child(n+4) { display: none; }
  .pt-network-right { white-space: nowrap; }
  .pt-header-row { min-height: 64px; }
  .pt-brand .custom-logo { max-height: 42px; }
  .pt-wordmark { font-size: 28px; }
  .pt-header-icon { width: 38px; height: 38px; }
  .pt-header-icon svg { width: 24px; height: 24px; }
  .pt-market-zone-inner { padding: 12px 0; }
  .pt-market-placeholder { grid-template-columns: 1fr 1fr; }
  .pt-market-placeholder > div { min-height: 78px; padding: 10px; }
  .pt-market-title { font-size: 15px; }
  .pt-market-value { font-size: 18px; }
  .pt-latest-inner { grid-template-columns: auto 1fr; }
  .pt-latest-more { display: none; }
  .pt-latest-label { padding-right: 10px; font-size: 11px; }
  .pt-ticker-item { padding: 0 14px; }
  .pt-home { padding-top: 20px; }
  .pt-lead-grid { grid-template-columns: 1fr; }
  .pt-secondary-stack { border-left: 0; padding-left: 0; border-top: 1px solid var(--pt-line); padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .pt-secondary-stack .pt-card { border-bottom: 0; margin: 0; padding: 0; }
  .pt-section { margin-top: 34px; }
  .pt-section-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pt-section-grid .pt-card { border-left: 0 !important; padding-left: 0 !important; }
  .pt-headline-lg { font-size: 34px; }
  .pt-archive-card { grid-template-columns: 120px 1fr; gap: 15px; }
  .pt-archive-card .pt-headline { font-size: 20px; }
  .pt-archive-card .pt-excerpt { display: none; }
  .pt-content-wrap { padding-top: 24px; }
  .pt-breadcrumbs { margin-bottom: 20px; }
  .pt-article-title { font-size: 43px; line-height: 1.03; }
  .pt-article-deck { font-size: 19px; }
  .pt-entry-content { font-size: 18px; }
  .pt-entry-content > p:first-child { font-size: 19px; }
  .pt-reading-time { display: none; }
  .pt-footer-top { grid-template-columns: 1fr 1fr; }
  .pt-footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .pt-network-bar { display: none; }
  .pt-header-row { grid-template-columns: 40px 1fr auto; }
  .pt-menu-toggle { width: 40px; padding-left: 2px; }
  .pt-wordmark { font-size: 25px; letter-spacing: -1.3px; }
  .pt-account-link { display: none; }
  .pt-market-placeholder { grid-template-columns: 1fr; }
  .pt-market-placeholder > div { border-right: 0; border-bottom: 1px solid var(--pt-line); }
  .pt-market-placeholder > div:last-child { border-bottom: 0; }
  .pt-secondary-stack { grid-template-columns: 1fr; }
  .pt-section-grid { grid-template-columns: 1fr; }
  .pt-section-grid .pt-card { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: start; }
  .pt-section-grid .pt-card .pt-card-media { aspect-ratio: 1.1/1; }
  .pt-section-grid .pt-card .pt-eyebrow { margin-top: 0; }
  .pt-section-grid .pt-card .pt-excerpt { display: none; }
  .pt-news-row { grid-template-columns: 48px 1fr; }
  .pt-article-title { font-size: 36px; }
  .pt-article-actions { gap: 2px; }
  .pt-action-btn { font-size: 12px; padding-inline: 6px; }
  .pt-footer-top { grid-template-columns: 1fr; }
}

/* News archive page */
.pt-archive-page-head { max-width: 940px; margin-bottom: 34px; }
.pt-archive-intro { max-width: 800px; }
.pt-archive-directory { margin-top: 34px; }
.pt-archive-directory > h2 { border-top: 3px solid var(--pt-text); margin: 0 0 18px; padding-top: 11px; font-size: 24px; line-height: 1; }
.pt-archive-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: var(--pt-line); border: 1px solid var(--pt-line); }
.pt-archive-category { display: flex; flex-direction: column; gap: 4px; min-height: 86px; padding: 16px; background: var(--pt-bg); }
.pt-archive-category strong { font-size: 17px; }
.pt-archive-category span { color: var(--pt-muted); font-size: 12px; }
.pt-archive-recent { margin-top: 48px; }
@media (max-width: 900px) { .pt-archive-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .pt-archive-category-grid { grid-template-columns: 1fr; } }

@media (max-width: 1280px) and (min-width: 981px) {
  .pt-header-row { gap: 8px 12px; }
  .pt-brand { margin-right: 0; }
  .pt-primary-nav a { font-size: 16px; padding-inline: 6px; letter-spacing: -.45px; }
  .pt-header-tools { gap: 4px; margin-left: 4px; }
}

/* =========================================================
   Peakytrader 1.3.1 — centered MarketWatch-style editorial canvas
   Full-width bands remain on the header/footer; the news grid stays
   intentionally constrained so cards and sidebars never stretch apart.
   ========================================================= */

:root {
  --pt-max: 1280px;
  --pt-logo-width: 195px;
  --pt-home-sidebar: 300px;
  --pt-editorial-gap: 28px;
}

/* The black/gray bands are naturally full viewport width. The content inside
   them and all editorial modules share one controlled canvas. */
.pt-container,
body.pt-fluid-layout .pt-container {
  width: min(calc(100% - 40px), var(--pt-max));
  max-width: var(--pt-max);
  margin-inline: auto;
  padding-inline: 0;
}
body.pt-fluid-layout .pt-home > .pt-container,
body.pt-fluid-layout .pt-content-wrap > .pt-container { max-width: var(--pt-max); }

/* Header proportions */
.pt-network-inner { min-height: 32px; }
.pt-network-nav a, .pt-network-right { font-size: 13px; }
.pt-header-row {
  min-height: 62px;
  grid-template-columns: 36px auto minmax(0,1fr) auto;
  gap: 8px 14px;
}
.pt-menu-toggle { width: 36px; height: 38px; padding-left: 0; }
.pt-menu-icon, .pt-menu-icon::before, .pt-menu-icon::after { width: 21px; }
.pt-brand { margin-right: 12px; }
.pt-brand .custom-logo { max-height: 39px; }
.pt-wordmark { font-size: clamp(27px,2vw,34px); letter-spacing: -1.7px; }
.pt-primary-nav { justify-content: flex-end; }
.pt-primary-nav ul { justify-content: flex-end; }
.pt-primary-nav a {
  padding: 13px 8px;
  font-size: clamp(14px,1.08vw,17px);
  letter-spacing: -.48px;
}
.pt-header-tools { margin-left: 5px; gap: 3px; }
.pt-header-icon { width: 36px; height: 38px; padding: 6px; }
.pt-header-icon svg { width: 22px; height: 22px; }
.pt-inline-search { max-width: 660px; }
.pt-inline-search input { font-size: 15px; padding-block: 8px; }

/* Homepage master canvas */
.pt-home { padding: 18px 0 52px; }
.pt-home-canvas { min-width: 0; }
.pt-home-market-news {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr);
  gap: 26px;
  align-items: start;
  border-bottom: 1px solid var(--pt-line);
  padding: 0 0 18px;
  margin-bottom: 20px;
}
.pt-home-market-panel,
.pt-home-latest-panel { min-width: 0; }
.pt-home-latest-panel { border-left: 1px solid var(--pt-line); padding-left: 25px; display: flex; flex-direction: column; min-height: 0; }
.pt-home-panel-title {
  margin: 0 0 8px;
  font-family: var(--pt-condensed);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.pt-home-market-builder .widget { margin-bottom: 0; }
.pt-market-demo-space {
  min-height: 112px;
  border-top: 1px solid var(--pt-line);
  border-bottom: 1px solid var(--pt-line);
  display: grid;
  grid-template-columns: minmax(150px,.75fr) minmax(180px,1.25fr);
  align-items: center;
  gap: 18px;
  padding: 13px 0;
}
.pt-market-demo-copy { display: flex; flex-direction: column; gap: 4px; }
.pt-market-demo-copy strong { font-size: 14px; }
.pt-market-demo-copy span { max-width: 230px; color: var(--pt-muted); font-size: 11px; line-height: 1.35; }
.pt-market-demo-chart { width: 100%; height: 76px; color: #1781c2; opacity: .78; }
.pt-home-latest-window { min-height: 112px; max-height: none; overflow: hidden; border-top: 1px solid var(--pt-line); flex: 1 1 auto; }
.pt-home-latest-list { display: flex; flex-direction: column; will-change: transform; }
.pt-home-latest-set { display: flex; flex-direction: column; flex: 0 0 auto; }
.pt-home-latest-item {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid var(--pt-line);
  font-size: 12px;
  line-height: 1.22;
}
.pt-home-latest-item time { color: var(--pt-muted); font-size: 10px; white-space: nowrap; }
.pt-home-latest-item a { font-weight: 700; }

.pt-home-banner-zone,
.pt-home-banner-placeholder,
.pt-home-mid-builder {
  width: min(100%, 970px);
  margin: 18px auto 28px;
}
.pt-home-banner-zone { min-height: 1px; }
.pt-home-banner-placeholder {
  min-height: 112px;
  display: grid;
  place-items: center;
  background: var(--pt-surface);
  border: 1px solid #ededed;
  color: var(--pt-muted);
  font-size: 11px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.pt-home-mid-builder { margin-block: 38px; }
.pt-home-mid-builder:empty { display: none; }

.pt-home-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) var(--pt-home-sidebar);
  gap: var(--pt-editorial-gap);
  align-items: start;
}
.pt-home-main-column { min-width: 0; }
.pt-home-sidebar-column {
  min-width: 0;
  border-left: 1px solid var(--pt-line);
  padding-left: 20px;
}

/* Lead mosaic */
.pt-lead-mosaic { border-top: 0; }
.pt-lead-primary-row {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(220px,.72fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 20px;
}
.pt-lead-primary-row .pt-lead-side-story {
  border-left: 1px solid var(--pt-line);
  padding-left: 20px;
  min-height: 100%;
}
.pt-lead-card .pt-eyebrow { margin-top: 0; }
.pt-lead-card .pt-headline { margin-bottom: 12px; }
.pt-lead-media { aspect-ratio: 1.55 / 1; margin-top: 5px; }
.pt-headline-lg { font-size: clamp(34px,3.25vw,46px); line-height: .99; letter-spacing: -.047em; }
.pt-lead-card .pt-excerpt { font-size: 13px; line-height: 1.4; margin-top: 9px; }
.pt-lead-side-story .pt-headline-md { font-size: clamp(22px,2vw,29px); }
.pt-lead-side-story .pt-excerpt { font-size: 14px; line-height: 1.34; margin: 12px 0 0; }
.pt-lead-side-feature { padding-bottom: 8px; }
.pt-live-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: #b3212b;
  font-family: var(--pt-condensed);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.pt-live-label > span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: currentColor;
}
.pt-lead-side-list { margin-top: 6px; border-top: 1px solid var(--pt-line); }
.pt-lead-side-list-item { padding: 11px 0; border-bottom: 1px solid var(--pt-line); }
.pt-lead-side-list-item:last-child { border-bottom: 0; }
.pt-lead-side-list-item h3 {
  margin: 0;
  font-family: var(--pt-title-font);
  font-size: 15px;
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 600;
}
.pt-lead-side-list-item a:hover { text-decoration: underline; text-underline-offset: 2px; }

.pt-lead-story-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--pt-line);
}
.pt-lead-story-grid .pt-card + .pt-card { border-left: 1px solid var(--pt-line); padding-left: 16px; }
.pt-lead-story-grid .pt-card-media { aspect-ratio: 1.45 / 1; }
.pt-lead-story-grid .pt-eyebrow { margin: 7px 0 4px; font-size: 9px; }
.pt-lead-story-grid .pt-headline-sm { font-size: 26px; line-height: 1.08; letter-spacing: -.025em; }
.pt-lead-story-grid .pt-meta { margin-top: 6px; font-size: 10px; }
.pt-lead-story-grid-second { padding-bottom: 24px; }

/* Section pattern from the reference: two visual cards plus a compact link stack. */
.pt-editorial-section {
  border-top: 1px solid #a8a8a8;
  padding-top: 9px;
  margin-top: 24px;
}
.pt-editorial-section .pt-section-head { margin-bottom: 12px; }
.pt-editorial-section .pt-section-title {
  font-family: var(--pt-condensed);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.pt-editorial-section .pt-section-link { font-size: 10px; }
.pt-editorial-section-grid {
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(190px,.78fr);
  gap: 20px;
  align-items: start;
}
.pt-editorial-featured-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.pt-editorial-featured-cards .pt-card + .pt-card { border-left: 1px solid var(--pt-line); padding-left: 16px; }
.pt-editorial-featured-cards .pt-card-media { aspect-ratio: 1.42 / 1; }
.pt-editorial-featured-cards .pt-eyebrow { font-size: 9px; margin: 7px 0 4px; }
.pt-editorial-featured-cards .pt-headline-sm { font-size: 17px; line-height: 1.08; }
.pt-editorial-featured-cards .pt-meta { font-size: 10px; }
.pt-editorial-link-list { border-left: 1px solid var(--pt-line); padding-left: 16px; }
.pt-editorial-link-item { padding: 0 0 10px; margin-bottom: 10px; border-bottom: 1px solid var(--pt-line); }
.pt-editorial-link-item:last-child { margin-bottom: 0; }
.pt-editorial-link-item h3 { margin: 0; font-size: 13px; line-height: 1.18; letter-spacing: -.01em; }
.pt-editorial-link-item .pt-meta { margin-top: 4px; font-size: 9px; }

/* Homepage sidebar — Elementor can replace this entire stack. */
.pt-sidebar-builder-zone > *:first-child { margin-top: 0; }
.pt-sidebar-ad-placeholder {
  min-height: 300px;
  border: 1px solid var(--pt-line);
  background: linear-gradient(180deg,var(--pt-surface),var(--pt-bg));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  color: var(--pt-muted);
  margin-bottom: 28px;
}
.pt-sidebar-ad-placeholder span { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.pt-sidebar-ad-placeholder strong { color: var(--pt-text); font-size: 14px; }
.pt-sidebar-module { border-top: 2px solid var(--pt-text); padding-top: 9px; margin-bottom: 28px; }
.pt-sidebar-module > h2 { margin: 0 0 10px; font-size: 15px; line-height: 1.05; text-transform: uppercase; font-family: var(--pt-condensed); }
.pt-most-read { margin: 0; padding: 0; list-style: none; counter-reset: pt-most-read; }
.pt-most-read li { counter-increment: pt-most-read; display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--pt-line); }
.pt-most-read li::before { content: counter(pt-most-read); font-size: 17px; line-height: 1; font-weight: 900; color: var(--pt-muted); }
.pt-most-read a { font-size: 12px; line-height: 1.18; font-weight: 750; }
.pt-newsletter-module { background: var(--pt-surface); padding: 15px; border-top-width: 3px; }
.pt-newsletter-module h2 { text-transform: none; font-family: var(--pt-font); font-size: 18px; line-height: 1.05; }
.pt-newsletter-module p { margin: 8px 0 0; color: var(--pt-muted); font-size: 11px; line-height: 1.35; }

/* Footer remains a full black band but aligns exactly to the editorial canvas. */
.pt-footer { padding-top: 34px; }
.pt-footer-top { grid-template-columns: minmax(300px,1.45fr) repeat(3,minmax(160px,1fr)); gap: clamp(24px,3.5vw,64px); }
.pt-footer-brand { font-size: clamp(26px,2vw,35px); }
.pt-footer-desc { font-size: 12px; }
.pt-footer-copyright { font-size: 11px; }
.pt-footer h4 { font-size: 15px; }
.pt-footer > .pt-container > .pt-footer-top > div:not(:first-child) li { font-size: 11px; margin: 8px 0; }

/* Inner articles/archive keep the same editorial canvas; Elementor sidebars remain intact. */
.pt-content-grid { grid-template-columns: minmax(0,1fr) var(--pt-article-sidebar); gap: 38px; }
.pt-article { max-width: 850px; }
.pt-article-title { font-size: clamp(39px,4.5vw,60px); }

@media (max-width: 1120px) {
  :root { --pt-home-sidebar: 270px; --pt-editorial-gap: 22px; }
  .pt-primary-nav a { font-size: 14px; padding-inline: 6px; }
  .pt-header-row { gap: 7px 10px; }
  .pt-lead-primary-row { grid-template-columns: minmax(0,1.45fr) minmax(205px,.7fr); }
  .pt-editorial-section-grid { grid-template-columns: minmax(0,1.5fr) minmax(175px,.72fr); gap: 16px; }
}

@media (max-width: 980px) {
  .pt-container, body.pt-fluid-layout .pt-container { width: min(calc(100% - 30px), var(--pt-max)); }
  .pt-home-layout { grid-template-columns: 1fr; }
  .pt-home-sidebar-column { border-left: 0; padding-left: 0; border-top: 1px solid var(--pt-line); padding-top: 24px; }
  .pt-sidebar-builder-zone, .pt-home-sidebar-column { max-width: 680px; }
  .pt-sidebar-ad-placeholder { min-height: 180px; }
}

@media (max-width: 760px) {
  .pt-container, body.pt-fluid-layout .pt-container { width: min(calc(100% - 24px), var(--pt-max)); padding-inline: 0; }
  .pt-home { padding-top: 12px; }
  .pt-home-market-news { grid-template-columns: 1fr; gap: 16px; }
  .pt-home-latest-panel { border-left: 0; padding-left: 0; }
  .pt-home-latest-window { flex: 0 0 130px; min-height: 130px; max-height: 130px; }
  .pt-home-banner-placeholder { min-height: 86px; }
  .pt-lead-primary-row { grid-template-columns: 1fr; }
  .pt-lead-primary-row .pt-lead-side-story { border-left: 0; padding-left: 0; border-top: 1px solid var(--pt-line); padding-top: 16px; }
  .pt-headline-lg { font-size: 36px; }
  .pt-lead-story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pt-lead-story-grid .pt-card + .pt-card { border-left: 0; padding-left: 0; }
  .pt-lead-story-grid .pt-card:nth-child(even) { border-left: 1px solid var(--pt-line); padding-left: 14px; }
  .pt-editorial-section-grid { grid-template-columns: 1fr; }
  .pt-editorial-link-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--pt-line); padding-top: 12px; }
  .pt-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .pt-container, body.pt-fluid-layout .pt-container { width: min(calc(100% - 20px), var(--pt-max)); }
  .pt-header-row { grid-template-columns: 36px 1fr auto; min-height: 58px; }
  .pt-brand .custom-logo { max-height: 35px; }
  .pt-wordmark { font-size: 24px; }
  .pt-market-demo-space { grid-template-columns: 1fr; }
  .pt-market-demo-chart { height: 55px; }
  .pt-lead-story-grid { grid-template-columns: 1fr; }
  .pt-lead-story-grid .pt-card:nth-child(even) { border-left: 0; padding-left: 0; }
  .pt-editorial-featured-cards { grid-template-columns: 1fr; }
  .pt-editorial-featured-cards .pt-card + .pt-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--pt-line); padding-top: 14px; }
  .pt-footer-top { grid-template-columns: 1fr; }
}

/* Peakytrader 1.3.21 — Latest News height + native slim loop scroll.
   Desktop height is synchronized to the adjacent Markets panel in theme.js.
   Native overflow keeps a real scrollbar while JS performs the seamless loop. */
.pt-home-market-panel,
.pt-home-latest-panel { box-sizing: border-box; }
.pt-home-latest-window {
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(90,90,90,.58) transparent;
}
.pt-home-latest-window::-webkit-scrollbar { width: 5px; }
.pt-home-latest-window::-webkit-scrollbar-track { background: transparent; }
.pt-home-latest-window::-webkit-scrollbar-thumb {
  background: rgba(90,90,90,.58);
  border-radius: 999px;
}
.pt-home-latest-window::-webkit-scrollbar-thumb:hover { background: rgba(55,55,55,.78); }
.pt-home-latest-list {
  animation: none !important;
  transform: none !important;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .pt-home-latest-window { scroll-behavior: auto; }
}


/* ============================================================
   Peakytrader 1.3.3 — hard masthead alignment fix
   The header tools are removed from grid flow so they can never
   generate an accidental second row on desktop or mobile.
   ============================================================ */
.pt-header-row {
  position: relative;
  grid-template-columns: 36px auto minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  grid-auto-rows: 0 !important;
  padding-right: 50px;
}
.pt-header-row.pt-has-account { padding-right: 92px; }
.pt-menu-toggle { grid-column: 1 !important; grid-row: 1 !important; align-self: center; }
.pt-brand { grid-column: 2 !important; grid-row: 1 !important; align-self: center; }
.pt-primary-nav { grid-column: 3 !important; grid-row: 1 !important; min-width: 0; justify-content: flex-end !important; }
.pt-primary-nav > ul, .pt-primary-nav .menu { justify-content: flex-end !important; margin-left: auto !important; }
.pt-inline-search { grid-column: 3 !important; grid-row: 1 !important; min-width: 0; }
.pt-header-tools {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;
  align-self: auto !important;
  margin: 0 !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  z-index: 20;
}
.pt-header-icon { flex: 0 0 auto; }

@media (max-width: 980px) {
  .pt-header-row {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    padding-right: 50px;
  }
  .pt-header-row.pt-has-account { padding-right: 92px; }
  .pt-brand,
  .pt-inline-search { grid-column: 2 !important; grid-row: 1 !important; }
  .pt-primary-nav { display: none !important; }
}

@media (max-width: 520px) {
  .pt-header-row {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    padding-right: 44px;
  }
  .pt-header-row.pt-has-account { padding-right: 82px; }
}

/* Peakytrader 1.3.5 — Host Grotesk main-title tuning */
.pt-headline,
.pt-section-title,
.pt-archive-title,
.pt-article-title {
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: bold;
}


/* Peakytrader 1.3.7 — populated lead-story side rail */
@media (max-width: 980px) {
  .pt-lead-side-list-item h3 { font-size: 16px; }
}
@media (max-width: 760px) {
  .pt-lead-side-story { min-height: 0 !important; }
  .pt-live-label { margin-top: 2px; }
  .pt-lead-side-list-item { padding: 12px 0; }
}

/* Peakytrader 1.3.6 — linked author byline, profile, socials and author archive */
.pt-article-author a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.pt-article-author a:hover { color: var(--pt-accent); }

.pt-author-card {
  max-width: 760px;
  margin-top: 48px;
  padding: 24px 0;
  border-top: 2px solid var(--pt-text);
  border-bottom: 1px solid var(--pt-line);
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  gap: 22px;
  align-items: start;
  font-family: var(--pt-font);
}
.pt-author-avatar-image,
.pt-author-archive-avatar img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.pt-author-card-label,
.pt-author-archive-eyebrow,
.pt-author-stories-heading {
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.pt-author-card-name {
  margin: 6px 0 9px;
  font-family: var(--pt-title-font);
  font-size: 24px;
  line-height: 1;
  letter-spacing: .01em;
  font-weight: bold;
}
.pt-author-card-name a:hover { color: var(--pt-accent); }
.pt-author-bio,
.pt-author-archive-bio {
  margin: 0;
  color: var(--pt-muted);
  font-size: 14px;
  line-height: 1.5;
}
.pt-author-bio p,
.pt-author-archive-bio p { margin: 0 0 8px; }
.pt-author-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin-top: 13px;
}
.pt-author-social-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--pt-text);
  font-size: 12px;
  font-weight: 600;
}
.pt-author-social-link .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}
.pt-author-social-link:hover { color: var(--pt-accent); }
.pt-author-all-posts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pt-author-archive-header {
  margin-bottom: 30px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--pt-text);
}
.pt-author-archive-eyebrow { margin-bottom: 14px; color: var(--pt-muted); }
.pt-author-archive-profile {
  display: grid;
  grid-template-columns: 132px minmax(0,1fr);
  gap: 26px;
  align-items: start;
}
.pt-author-archive-title { margin-bottom: 12px; }
.pt-author-archive-bio { max-width: 720px; font-size: 15px; }
.pt-author-archive-socials { margin-top: 14px; }
.pt-author-stories-heading {
  margin: 0 0 12px;
  padding-top: 3px;
}

@media (max-width: 620px) {
  .pt-author-card { grid-template-columns: 76px minmax(0,1fr); gap: 15px; }
  .pt-author-archive-profile { grid-template-columns: 84px minmax(0,1fr); gap: 16px; }
  .pt-author-social-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}


/* Peakytrader 1.3.9 — body post-title hover underline only + dedicated category archive */
.pt-home .pt-headline a,
.pt-home .pt-lead-side-list-item h3 a,
.pt-home .pt-news-title a,
.pt-home .pt-editorial-link-item h3 a,
.pt-content-wrap .pt-headline a,
.pt-category-page .pt-category-feature-title a,
.pt-category-page .pt-category-story-title a {
  transition: none;
}
.pt-home .pt-headline a:hover,
.pt-home .pt-lead-side-list-item h3 a:hover,
.pt-home .pt-news-title a:hover,
.pt-home .pt-editorial-link-item h3 a:hover,
.pt-content-wrap .pt-headline a:hover,
.pt-category-page .pt-category-feature-title a:hover,
.pt-category-page .pt-category-story-title a:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pt-category-page { padding-top: 28px; }
.pt-category-header {
  margin: 0 0 26px;
  padding: 0 0 17px;
  border-bottom: 3px solid var(--pt-text);
}
.pt-category-kicker {
  margin-bottom: 7px;
  color: var(--pt-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pt-category-title {
  margin: 0;
  font-family: var(--pt-title-font);
  font-size: clamp(46px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: .01em;
  font-weight: bold;
}
.pt-category-description {
  max-width: 760px;
  margin-top: 12px;
  color: var(--pt-muted);
  font-size: 15px;
  line-height: 1.45;
}
.pt-category-description p { margin: 0; }
.pt-category-content-grid { gap: 42px; }
.pt-category-feed { border-top: 1px solid var(--pt-line); }
.pt-category-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, .9fr);
  gap: 25px;
  padding: 22px 0 26px;
  border-bottom: 2px solid var(--pt-text);
  align-items: start;
}
.pt-category-feature-media {
  display: block;
  overflow: hidden;
  background: var(--pt-surface);
}
.pt-category-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.pt-category-feature-copy { min-width: 0; }
.pt-category-feature-title {
  margin: 5px 0 12px;
  font-size: clamp(30px, 3.2vw, 46px);
}
.pt-category-feature .pt-excerpt { font-size: 15px; line-height: 1.45; }
.pt-category-story {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid var(--pt-line);
  align-items: start;
}
.pt-category-story-media-wrap { min-width: 0; }
.pt-category-story-media { aspect-ratio: 16 / 10; }
.pt-category-story-title {
  margin: 0 0 8px;
  font-size: clamp(23px, 2.4vw, 32px);
}
.pt-category-story .pt-excerpt {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.42;
}
.pt-category-empty {
  padding: 34px 0;
  border-top: 1px solid var(--pt-line);
  border-bottom: 1px solid var(--pt-line);
}
.pt-category-empty h2 { margin: 0 0 5px; }
.pt-category-empty p { margin: 0; color: var(--pt-muted); }

@media (max-width: 980px) {
  .pt-category-content-grid { grid-template-columns: 1fr; }
  .pt-category-feature { grid-template-columns: minmax(0,1.1fr) minmax(230px,.9fr); }
}
@media (max-width: 700px) {
  .pt-category-page { padding-top: 20px; }
  .pt-category-header { margin-bottom: 18px; }
  .pt-category-title { font-size: clamp(38px, 12vw, 56px); }
  .pt-category-feature,
  .pt-category-story { grid-template-columns: 1fr; gap: 13px; }
  .pt-category-feature { padding-top: 14px; }
  .pt-category-story-media { aspect-ratio: 16 / 9; }
}


/* Peakytrader 1.3.10 — keep footer social glyphs visible on hover */
.pt-footer-social .pt-social-link,
.pt-footer-social .pt-social-link .dashicons {
  transition: transform .18s ease, opacity .18s ease;
}
.pt-footer-social .pt-social-link:hover,
.pt-footer-social .pt-social-link:focus-visible {
  color: #050505;
}
.pt-footer-social .pt-social-link:hover .dashicons,
.pt-footer-social .pt-social-link:focus-visible .dashicons {
  color: currentColor;
  opacity: 1;
}

/* Peakytrader 1.3.11 — compact category side-story title hover */
.pt-home .pt-editorial-link-list .pt-editorial-link-item h3 a:hover,
.pt-home .pt-editorial-link-list .pt-editorial-link-item h3 a:focus-visible {
  color: inherit !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Peakytrader 1.3.12 — larger More Posts grid headlines */
.pt-lead-story-grid .pt-headline-sm { font-size: 26px; }

/* ============================================================
   Peakytrader 1.3.16 — mobile footer columns
   Keep the footer brand/about block full width, then show the
   three navigation groups beside one another on phones.
   ============================================================ */
@media (max-width: 520px) {
  .pt-footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 28px;
  }
  .pt-footer-about {
    grid-column: 1 / -1;
  }
  .pt-footer h4 {
    font-size: 13px;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .pt-footer > .pt-container > .pt-footer-top > div:not(:first-child) li {
    margin: 9px 0;
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .pt-footer > .pt-container > .pt-footer-top > div:not(:first-child) a {
    display: inline;
  }
}


/* ============================================================
   Peakytrader 1.3.17 — responsive layout hardening
   Final cascade layer: mobile/tablet content must never inherit
   the desktop article/sidebar columns from later desktop rules.
   ============================================================ */

/* Keep media and embeds from widening any content column. */
.pt-article-shell,
.pt-article,
.pt-entry-content,
.pt-content-sidebar,
.comments-area,
.comment-respond,
.comment-form {
  min-width: 0;
}
.pt-entry-content img,
.pt-entry-content video,
.pt-entry-content iframe,
.pt-entry-content embed,
.pt-entry-content object,
.comments-area img {
  max-width: 100%;
}
.pt-entry-content iframe,
.pt-entry-content video {
  width: 100%;
}
.pt-entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Comment form should follow the article width instead of browser defaults. */
.comments-area {
  max-width: 760px;
}
.comment-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.comment-list .children {
  margin-left: 22px;
  padding-left: 0;
  list-style: none;
}
.comment-form p {
  margin: 0 0 14px;
}
.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--pt-line);
  background: var(--pt-bg);
  color: var(--pt-text);
  padding: 10px 11px;
}
.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.comment-form-cookies-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}
.comment-form-cookies-consent label {
  display: inline;
  margin: 0;
  font-weight: 400;
}
.form-submit .submit {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--pt-text);
  background: var(--pt-text);
  color: var(--pt-bg);
  cursor: pointer;
}

@media (max-width: 980px) {
  /* Critical fix: force the article/sidebar grid back to one column
     after every desktop declaration in this stylesheet. */
  .pt-content-grid,
  body.pt-fluid-layout .pt-content-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    width: min(calc(100% - 30px), var(--pt-max)) !important;
    max-width: var(--pt-max) !important;
  }
  .pt-content-grid.pt-no-sidebar {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .pt-article-shell,
  .pt-article,
  .pt-entry-content,
  .comments-area {
    width: 100% !important;
    max-width: none !important;
  }
  .pt-entry-content > * {
    max-width: 100% !important;
  }
  .pt-entry-content > .alignwide,
  .pt-entry-content > .alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .pt-content-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 2px solid var(--pt-text);
    border-left: 0 !important;
  }
  .pt-content-sidebar.is-sticky {
    position: static !important;
    top: auto !important;
  }
  .pt-article-sidebar-builder,
  .pt-sidebar-box,
  .widget {
    max-width: 100%;
  }

  /* Archive/category pages use the same one-column mobile canvas. */
  .pt-category-content-grid,
  .pt-archive-layout,
  .pt-author-archive-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .pt-content-wrap {
    padding: 18px 0 46px;
  }
  .pt-content-grid,
  body.pt-fluid-layout .pt-content-grid {
    width: min(calc(100% - 24px), var(--pt-max)) !important;
  }
  .pt-breadcrumbs {
    margin-bottom: 14px;
    gap: 5px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .pt-article-header {
    margin-bottom: 14px;
  }
  .pt-article-kicker {
    margin-bottom: 7px;
    font-size: 12px;
  }
  .pt-article-title {
    max-width: none;
    font-size: clamp(34px, 9.5vw, 46px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    margin-bottom: 13px;
  }
  .pt-article-deck {
    max-width: none;
    font-size: 18px;
    line-height: 1.38;
    margin-bottom: 14px;
  }
  .pt-article-meta {
    font-size: 12px;
    line-height: 1.4;
  }
  .pt-article-actions {
    min-height: 44px;
    margin: 17px 0 20px;
    flex-wrap: wrap;
  }
  .pt-feature-image {
    margin-bottom: 14px;
  }
  .pt-feature-image img {
    width: 100%;
  }
  .pt-entry-content {
    font-size: 17px !important;
    line-height: 1.62;
    overflow-wrap: break-word;
  }
  .pt-entry-content > p:first-child {
    font-size: 18px !important;
  }
  .pt-entry-content h2 {
    margin-top: 30px;
    font-size: 27px;
  }
  .pt-entry-content h3 {
    margin-top: 26px;
    font-size: 22px;
  }
  .pt-entry-content blockquote {
    margin-right: 0;
    padding-left: 14px;
  }
  .pt-content-sidebar {
    margin-top: 32px;
  }
  .pt-sidebar-box h3,
  .widget-title {
    font-size: 15px;
  }
  .pt-sidebar-box li {
    font-size: 14px;
    line-height: 1.35;
  }

  /* The horizontal ticker remains one line and clips safely. */
  .pt-latest-rail,
  .pt-latest-inner,
  .pt-ticker-window {
    min-width: 0;
  }
  .pt-latest-inner {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) !important;
  }
  .pt-ticker-window {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .pt-content-grid,
  body.pt-fluid-layout .pt-content-grid {
    width: min(calc(100% - 20px), var(--pt-max)) !important;
  }
  .pt-content-wrap {
    padding-top: 14px;
  }
  .pt-article-title {
    font-size: clamp(31px, 10vw, 39px) !important;
  }
  .pt-article-deck {
    font-size: 17px;
  }
  .pt-entry-content {
    font-size: 16.5px !important;
    line-height: 1.6;
  }
  .pt-entry-content > p:first-child {
    font-size: 17px !important;
  }
  .pt-article-actions {
    justify-content: flex-start;
  }
  .pt-action-btn {
    min-height: 38px;
    padding: 7px 8px;
  }
  .pt-author-card {
    max-width: 100%;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 13px;
    margin-top: 36px;
    padding: 18px 0;
  }
  .pt-author-card-name {
    font-size: 18px;
  }
  .pt-author-bio {
    font-size: 13px;
  }
  .pt-author-socials {
    gap: 6px;
  }
  .pt-author-social-link {
    min-width: 34px;
    min-height: 34px;
  }
  .comments-area {
    margin-top: 34px;
  }
  .comments-area .pt-section-title {
    font-size: 24px;
  }
  .comment-list .children {
    margin-left: 12px;
  }
  .comment-form textarea {
    min-height: 135px;
  }
  .pt-content-sidebar {
    margin-top: 28px;
  }

  /* Preserve the requested three footer columns, but make them fit phones. */
  .pt-footer {
    padding-top: 28px;
  }
  .pt-footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 10px;
    row-gap: 24px;
  }
  .pt-footer-about {
    grid-column: 1 / -1;
  }
  .pt-footer h4 {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .pt-footer > .pt-container > .pt-footer-top > div:not(:first-child) li {
    font-size: 9.5px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

/* Extra-narrow safety for embedded previews and small devices. */
@media (max-width: 340px) {
  .pt-container,
  body.pt-fluid-layout .pt-container,
  .pt-content-grid,
  body.pt-fluid-layout .pt-content-grid {
    width: calc(100% - 16px) !important;
  }
  .pt-header-row {
    min-height: 54px;
  }
  .pt-wordmark {
    font-size: 20px;
  }
  .pt-article-title {
    font-size: 29px !important;
  }
  .pt-entry-content {
    font-size: 16px !important;
  }
  .pt-footer-top {
    column-gap: 7px;
  }
  .pt-footer > .pt-container > .pt-footer-top > div:not(:first-child) li {
    font-size: 8.5px;
  }
}


/* Peakytrader 1.3.18 — uploaded author photo + related stories replacing comments */
.pt-author-avatar,
.pt-author-archive-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pt-surface-2);
}
.pt-author-avatar-image,
.pt-author-archive-avatar .pt-author-avatar-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.pt-author-avatar-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pt-surface-2);
  color: var(--pt-muted);
  font-family: var(--pt-title-font);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.pt-related-posts {
  max-width: 900px;
  margin-top: 48px;
  padding-top: 15px;
  border-top: 3px solid var(--pt-text);
  font-family: var(--pt-font);
}
.pt-related-posts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}
.pt-related-posts-title {
  margin: 0;
  font-family: var(--pt-title-font);
  font-size: 25px;
  line-height: 1;
  letter-spacing: .01em;
  font-weight: bold;
}
.pt-related-posts-link {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}
.pt-related-posts-link:hover,
.pt-related-posts-link:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pt-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pt-related-posts .pt-card {
  min-width: 0;
}
.pt-related-posts .pt-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 9px;
}
.pt-related-posts .pt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pt-related-posts .pt-headline-sm {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.05;
}
.pt-related-posts .pt-headline a:hover,
.pt-related-posts .pt-headline a:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .pt-related-posts {
    margin-top: 38px;
  }
  .pt-related-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .pt-related-posts .pt-headline-sm {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .pt-related-posts-head {
    align-items: flex-start;
  }
  .pt-related-posts-title {
    font-size: 22px;
  }
  .pt-related-posts-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pt-related-posts .pt-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pt-line);
  }
  .pt-related-posts .pt-card-media {
    margin: 0;
    aspect-ratio: 4 / 3;
  }
  .pt-related-posts .pt-headline-sm {
    font-size: 17px;
  }
  .pt-related-posts .pt-eyebrow {
    margin-top: 0;
  }
}


/* Peakytrader 1.3.19 — preserve uploaded author-photo quality */
.pt-author-avatar-image,
.pt-author-archive-avatar .pt-author-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}


/* ============================================================
   Peakytrader 1.3.22 — exact Markets/Latest News height matching
   + bidirectional auto-scroll.
   The grid items no longer stretch each other. JavaScript measures
   the intrinsic Markets panel height and applies exactly that height
   to Latest News on desktop. The news viewport keeps a native slim
   scrollbar for mouse/touch/manual scrolling.
   ============================================================ */
@media (min-width: 761px) {
  .pt-home-market-news { align-items: start; }
  .pt-home-market-panel { align-self: start; }
  .pt-home-latest-panel {
    align-self: start;
    overflow: hidden;
  }
  .pt-home-latest-window {
    min-height: 0;
    height: auto;
    flex: 1 1 0;
  }
}
.pt-home-latest-window {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(90,90,90,.56) transparent;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
.pt-home-latest-window::-webkit-scrollbar { width: 4px; }
.pt-home-latest-window::-webkit-scrollbar-track { background: transparent; }
.pt-home-latest-window::-webkit-scrollbar-thumb {
  background: rgba(90,90,90,.56);
  border-radius: 999px;
}
.pt-home-latest-window::-webkit-scrollbar-thumb:hover { background: rgba(45,45,45,.76); }
