/*
Theme Name: HorusSignals
Theme URI: https://horussignals.com
Author: HorusSignals
Description: Bilingual WordPress theme for HorusSignals trading analysis, supported-broker tools, and shop products.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: horussignals
*/

:root {
  --bg: #050506;
  --panel: #0d0f14;
  --panel-2: #151924;
  --text: #f4f6ff;
  --muted: #a8afc0;
  --gold: #061cff;
  --teal: #3f63ff;
  --rose: #ff4f7a;
  --line: rgba(244, 246, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 18, 255, 0.14);
  --logo-height: 54px;
  --logo-max-width: 216px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(18px);
}

.site-header-static {
  position: relative;
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(6, 28, 255, 0.54);
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle, rgba(6, 28, 255, 0.34), rgba(63, 99, 255, 0.08) 58%, transparent);
}

.brand-logo,
.brand-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.brand-logo {
  width: var(--logo-max-width) !important;
  max-width: min(var(--logo-max-width), 42vw) !important;
  height: var(--logo-height) !important;
  max-height: var(--logo-height) !important;
  overflow: hidden;
  flex: 0 1 auto;
}

.brand-logo .custom-logo-link {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.brand-logo img,
.brand-logo .custom-logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.brand-name {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.social-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.social-button:hover {
  border-color: rgba(63, 99, 255, 0.72);
  background: rgba(63, 99, 255, 0.18);
  transform: translateY(-1px);
}

.social-buttons-footer {
  max-width: 260px;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  min-width: 96px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.lang-switch button.is-active {
  color: #ffffff;
  background: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.button-primary {
  color: #ffffff;
  background: var(--gold);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.74) 44%, rgba(5, 5, 6, 0.2) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 126px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.lead {
  max-width: 680px;
  color: #d8e7e1;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.broker-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.broker-buttons-header {
  max-width: 260px;
}

.broker-buttons-header .button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.82rem;
}

.broker-summary {
  display: grid;
  gap: 10px;
}

.broker-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
}

.broker-summary-text {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.55;
}

.broker-summary-text strong {
  color: var(--text);
  font-weight: 900;
}

.broker-summary-item .button {
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

.earn-mini-steps .broker-summary {
  margin-top: 10px;
}

.earn-mini-steps .broker-summary-item,
.step-card .broker-summary-item {
  grid-template-columns: 1fr;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 0;
}

.earn-mini-steps .broker-summary-item .button,
.step-card .broker-summary-item .button {
  width: 100%;
  border-radius: 6px;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: #0b0d13;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 32px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(63, 99, 255, 0.3);
  border-radius: 999px;
  color: #dfe5ff;
  background: rgba(6, 28, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
}

.analysis-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.analysis-table th,
.analysis-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.analysis-table th {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.analysis-table tr:last-child td {
  border-bottom: 0;
}

.analysis-hero .section-inner {
  max-width: 1080px;
}

.analysis-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 720px;
  margin-top: 26px;
}

.analysis-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 14px;
}

.analysis-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.analysis-toolbar h2 {
  margin-bottom: 0;
}

.symbol-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.symbol-filter a,
.analysis-symbol {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 800;
}

.symbol-filter a.is-active,
.symbol-filter a:hover {
  border-color: rgba(6, 28, 255, 0.78);
  color: #ffffff;
  background: var(--gold);
}

.analysis-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.analysis-feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
}

.analysis-feature-card:first-child {
  grid-column: span 2;
}

.analysis-feature-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(6, 28, 255, 0.42), transparent 42%),
    linear-gradient(315deg, rgba(244, 246, 255, 0.12), transparent 45%),
    #11131a;
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  font-weight: 900;
}

.analysis-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analysis-feature-body {
  padding: 18px;
}

.analysis-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.analysis-list-panel {
  margin-top: 42px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.analysis-list {
  display: grid;
  gap: 10px;
}

.analysis-list-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.analysis-list-thumb {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  color: var(--gold);
  background: #11131a;
  font-size: 0.88rem;
  font-weight: 900;
}

.analysis-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ad-slot {
  width: min(970px, calc(100% - 32px));
  min-height: 120px;
  margin: 34px auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ad-slot ins {
  min-height: 90px;
}

.ad-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.ad-in-article {
  width: 100%;
  margin: 30px 0;
}

.ad-after-grid,
.ad-before-tools {
  width: 100%;
}

.product-grid-ad {
  grid-column: 1 / -1;
}

.product-grid-ad .ad-slot {
  width: 100%;
  margin: 10px 0;
}

.post-card h3 a,
.tool-card h3 a,
.text-link {
  text-decoration: none;
}

.post-card h3 a:hover,
.tool-card h3 a:hover,
.text-link:hover {
  color: var(--gold);
}

.post-date,
.product-type {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  color: var(--gold);
  font-weight: 800;
}

.analysis-snapshot {
  margin-top: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.step-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--gold);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.045);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.earn-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(6, 28, 255, 0.34);
  border-radius: 8px;
  background: rgba(6, 28, 255, 0.1);
}

.earn-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
}

.earn-mini-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.earn-form {
  position: sticky;
  top: 96px;
}

.earn-form label {
  display: block;
  margin: 16px 0 7px;
  color: var(--text);
  font-weight: 800;
}

.earn-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.earn-form button {
  width: 100%;
  margin-top: 18px;
}

.form-message {
  border-radius: 6px;
  padding: 11px 13px;
  font-weight: 800;
}

.form-message.success {
  color: #dfe5ff;
  background: rgba(6, 28, 255, 0.16);
}

.form-message.error {
  color: #ffe0e5;
  background: rgba(224, 91, 114, 0.16);
}

.mql-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mql-card .button,
.card-actions .button {
  align-self: flex-start;
  margin-top: auto;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-image,
.product-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
}

.product-image {
  border: 1px solid var(--line);
  background: #11131a;
}

.card .wp-post-image,
.post-card .wp-post-image,
.tool-card .wp-post-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-footer strong {
  color: var(--gold);
  white-space: nowrap;
}

.post-content {
  max-width: 860px;
}

.post-content figure,
.post-content .wp-block-image {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
}

.post-content img,
.post-content .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.post-content .wp-block-cover img,
.post-content .wp-block-media-text__media img {
  height: 100%;
  object-fit: cover;
}

.post-content p,
.post-content li {
  color: #d8e7e1;
  font-size: 1.06rem;
}

.post-content a {
  color: var(--gold);
}

.signal-buy {
  color: var(--teal);
  font-weight: 800;
}

.signal-watch {
  color: var(--gold);
  font-weight: 800;
}

.signal-sell {
  color: var(--rose);
  font-weight: 800;
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 18px 20px;
  color: #eef1ff;
  background: rgba(6, 28, 255, 0.12);
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-meta.stacked {
  align-items: flex-start;
  flex-direction: column;
}

.tool-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.tool-detail-panel {
  position: sticky;
  top: 96px;
}

.product-media {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(6, 28, 255, 0.42), transparent 42%),
    linear-gradient(315deg, rgba(244, 246, 255, 0.12), transparent 44%),
    #11131a;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  text-align: center;
}

.page-hero {
  padding: 96px 0 56px;
  background: linear-gradient(180deg, #0b0d13, var(--bg));
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  max-width: 920px;
}

.contact-layout {
  display: grid;
  gap: 18px;
}

.contact-signal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-signal-copy h2,
.contact-social-panel h2 {
  margin: 0 0 10px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-qr-wrap {
  display: flex;
  justify-content: center;
}

.contact-qr {
  width: min(100%, 280px);
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.contact-qr-empty {
  display: grid;
  place-items: center;
  width: min(100%, 280px);
  aspect-ratio: 1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
}

.contact-social-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.social-buttons-contact {
  margin-top: 16px;
}

.download-gate-body {
  min-height: 100vh;
  background: var(--bg);
}

.download-gate {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 180px);
  padding: 28px;
}

.download-gate-card {
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.download-gate-card form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.download-gate-card input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.download-gate-error {
  margin: 14px 0;
  border-color: rgba(255, 79, 122, 0.45);
  color: #ffd9e2;
}

.download-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #030304;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-copy {
  max-width: 720px;
}

.footer-widgets {
  display: grid;
  gap: 16px;
  width: min(360px, 100%);
}

.footer-widget h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.footer-widget p {
  margin-bottom: 0;
}

.footer-inner a {
  color: var(--text);
}

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 20, 0.98);
  box-shadow: var(--shadow);
}

.cookie-consent-text {
  color: var(--muted);
}

.cookie-consent-text p {
  margin-bottom: 0;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

[data-lang-content] {
  display: none;
}

html[data-lang="en"] [data-lang-content="en"],
html[data-lang="vi"] [data-lang-content="vi"] {
  display: block;
}

@media (max-width: 900px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-head,
  .grid-2,
  .grid-3,
  .grid-4,
  .post-grid,
  .analysis-feature-grid,
  .product-grid,
  .steps-grid,
  .earn-flow,
  .earn-mini-steps,
  .tool-detail-layout,
  .contact-signal-card {
    grid-template-columns: 1fr;
  }

  .earn-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .earn-form {
    position: static;
  }

  .broker-summary-item {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .analysis-toolbar,
  .analysis-list-item {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .analysis-toolbar {
    flex-direction: column;
  }

  .symbol-filter {
    justify-content: flex-start;
  }

  .analysis-feature-card:first-child {
    grid-column: auto;
  }

  .tool-detail-panel {
    position: static;
  }

  .hero-content {
    padding-top: 76px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .cookie-consent {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .analysis-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .analysis-search {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }
}
