/*
Theme Name: StockMarketRead Kadence Child
Theme URI: https://stockmarketread.com/
Description: Kadence child theme styling for StockMarketRead.
Author: StockMarketRead
Template: kadence
Version: 1.0.0
*/

:root {
  --smr-navy: #0b1f33;
  --smr-blue: #1d5f91;
  --smr-sky: #eaf3f9;
  --smr-ink: #172433;
  --smr-muted: #5f6f7d;
  --smr-border: #d9e2e8;
  --smr-white: #ffffff;
}

body {
  color: var(--smr-ink);
  background: #f7f9fb;
}

.site-container,
.content-container {
  max-width: 1180px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-title,
.page-title {
  color: var(--smr-navy);
  letter-spacing: -0.02em;
}

.entry-content p,
.entry-content li {
  line-height: 1.75;
}

.smr-hero {
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 1.25rem;
  color: var(--smr-white);
  background: linear-gradient(135deg, var(--smr-navy), #164c73 70%, var(--smr-blue));
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.16);
}

.smr-hero h1,
.smr-hero h2,
.smr-hero p {
  color: var(--smr-white);
}

.smr-hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.smr-hero p {
  max-width: 700px;
  font-size: 1.12rem;
  opacity: 0.9;
}

.smr-button,
.wp-block-button__link {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.smr-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 95, 145, 0.24);
}

.smr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.smr-card {
  padding: 1.5rem;
  border: 1px solid var(--smr-border);
  border-radius: 1rem;
  background: var(--smr-white);
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.06);
}

.smr-card h3 {
  margin-top: 0;
  color: var(--smr-navy);
}

.smr-card p {
  color: var(--smr-muted);
}

.smr-section {
  margin: clamp(2.5rem, 7vw, 5rem) 0;
}

.smr-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--smr-border);
  border-radius: 1rem;
  background: var(--smr-white);
}

.smr-table-wrap table {
  min-width: 720px;
  margin: 0;
}

.smr-table-wrap th {
  color: var(--smr-white);
  background: var(--smr-navy);
}

.smr-table-wrap td,
.smr-table-wrap th {
  padding: 0.9rem 1rem;
  border-color: var(--smr-border);
}

.smr-note {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--smr-blue);
  color: var(--smr-muted);
  background: var(--smr-sky);
}

@media (max-width: 800px) {
  .smr-card-grid {
    grid-template-columns: 1fr;
  }

  .smr-hero {
    border-radius: 0.85rem;
  }
}
