/*
Theme Name: Stock Market Read — Kadence Child
Theme URI: https://stockmarketread.com/
Description: Lightweight editorial finance design built on the Kadence parent theme.
Author: Stock Market Read
Template: kadence
Version: 1.4.0
Text Domain: stock-market-read
*/

:root{
  --smr-ink:#17232d;
  --smr-ink-2:#263642;
  --smr-muted:#657580;
  --smr-muted-2:#87949c;
  --smr-bg:#ffffff;
  --smr-surface:#f7faf9;
  --smr-surface-2:#f1f6f4;
  --smr-border:#dce6e2;
  --smr-border-strong:#cbd9d4;
  --smr-teal:#087f68;
  --smr-teal-dark:#056650;
  --smr-teal-soft:#e9f5f1;
  --smr-max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:auto}
body{margin:0;background:var(--smr-bg);color:var(--smr-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6}
a{color:var(--smr-teal-dark);text-decoration:none}
a:hover{color:var(--smr-teal)}
img{max-width:100%;height:auto}
.smr-wrap{width:min(calc(100% - 48px),var(--smr-max));margin-inline:auto}

/* Kadence shell */
.site-header{border-bottom:1px solid var(--smr-border)}
.site-header .site-container{max-width:1240px!important}
.site-header .header-navigation a{font-size:13px;font-weight:700;color:var(--smr-ink-2)}
.site-header .header-navigation a:hover{color:var(--smr-teal)}
.site-footer{border-top:1px solid var(--smr-border)}
.site-footer .site-container{max-width:1240px!important}

/* Shared headings */
.smr-kicker{margin:0 0 10px;color:var(--smr-teal-dark);font-size:10px;line-height:1.2;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.smr-kicker:before{content:"";display:inline-block;width:18px;height:2px;margin:0 8px 3px 0;background:var(--smr-teal);vertical-align:middle}
.smr-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}
.smr-head h2,.smr-section-head h2{margin:5px 0 7px;color:var(--smr-ink);font-size:36px;line-height:1.08;letter-spacing:-.045em;font-weight:760}
.smr-head p,.smr-section-head p{margin:0;color:var(--smr-muted);font-size:13px;line-height:1.7}
.smr-head-link{font-size:11px;font-weight:850;white-space:nowrap}

/* Homepage hero */
.smr-block-home{width:100%;margin:0!important;padding:0!important}
.smr-block-home .smr-wrap{width:min(calc(100% - 48px),var(--smr-max));margin-inline:auto}
.smr-block-hero{background:linear-gradient(180deg,#f8fbfa 0%,#f3f7f6 100%);border-bottom:1px solid var(--smr-border);padding:48px 0 38px}
.smr-block-hero .smr-eyebrow{margin-bottom:12px}
.smr-block-hero h1{max-width:790px;margin:0 0 14px;color:var(--smr-ink);font-size:clamp(44px,5.2vw,68px);line-height:1.02;letter-spacing:-.06em;font-weight:780}
.smr-block-hero h1 em{font-style:normal;color:var(--smr-teal)}
.smr-hero-copy{max-width:710px!important;margin:0!important;color:#566873!important;font-size:16px!important;line-height:1.75!important}
.smr-block-hero .smr-hero-actions{display:flex;gap:9px;margin:22px 0 0}
.smr-block-hero .wp-block-button__link{border-radius:6px;padding:11px 16px;font-size:11px;font-weight:850;line-height:1.2}
.smr-block-hero .smr-btn-primary .wp-block-button__link{background:var(--smr-teal);color:#fff;border:1px solid var(--smr-teal)}
.smr-block-hero .smr-btn-primary .wp-block-button__link:hover{background:var(--smr-teal-dark)}
.smr-block-hero .is-style-outline .wp-block-button__link{background:#fff;color:var(--smr-ink);border:1px solid var(--smr-border-strong)}
.smr-block-hero .is-style-outline .wp-block-button__link:hover{color:var(--smr-teal-dark);border-color:#9fc8bb}
.smr-hero-note{margin:17px 0 0!important;color:#819099!important;font-size:9px!important;letter-spacing:.04em}
.smr-hero-note strong{color:var(--smr-ink-2)}

/* Dashboard */
.smr-block-dashboard{padding:44px 0 48px;background:#fff;border-bottom:1px solid var(--smr-border)}
.smr-block-dashboard h2{margin:5px 0 7px;color:var(--smr-ink);font-size:34px;line-height:1.08;letter-spacing:-.045em}
.smr-block-dashboard>.smr-wrap>p:not(.smr-kicker):not(.smr-note){margin:0;color:var(--smr-muted);font-size:13px;line-height:1.7}
.smr-block-dashboard .dashboard-wrap{margin-top:20px;border:1px solid var(--smr-border);border-radius:8px;overflow:auto;box-shadow:none}
.dashboard-wrap{overflow:auto}
.market-table{width:100%;min-width:940px;border-collapse:collapse;background:#fff}
.market-table th{padding:11px 12px;background:#f5f8f7;border-bottom:1px solid var(--smr-border);color:#687983;text-align:left;font-size:9px;line-height:1.2;font-weight:900;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.market-table td{padding:13px 12px;border-bottom:1px solid #edf1ef;color:#4e5d67;font-size:11px;line-height:1.5;vertical-align:top}
.market-table tr:last-child td{border-bottom:0}
.market-table td strong,.market-table .number{color:var(--smr-ink);font-weight:800;white-space:nowrap}
.market-read-link{font-weight:900;white-space:nowrap;color:var(--smr-teal-dark)}
.smr-note{margin:9px 0 0;color:#849199;font-size:9px!important;line-height:1.5}
.smr-note strong{color:#596a74}

/* Editorial feed */
.smr-block-section{padding:54px 0;background:#fff}
.smr-block-alt{background:var(--smr-surface);border-top:1px solid #edf2ef;border-bottom:1px solid #edf2ef}
.smr-section-head{align-items:flex-end;margin:0 0 22px!important}
.smr-section-head .wp-block-column:last-child{text-align:right}
.smr-section-head a,.smr-topic-block a,.smr-learn-block a,.smr-block-about a{color:var(--smr-teal-dark);font-weight:850;text-decoration:none}
.smr-editorial-feed{margin-top:0}
.smr-story-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px}
.smr-story{min-height:230px;display:flex;flex-direction:column;padding:20px;border:1px solid var(--smr-border);border-radius:8px;background:#fff}
.smr-story.featured{background:var(--smr-navy);border-color:var(--smr-navy);color:#fff}
.smr-story-meta{display:flex;justify-content:space-between;gap:12px;color:#7d8b94;font-size:9px;line-height:1.4;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.smr-story.featured .smr-story-meta{color:#aab9bd}
.smr-story h3{margin:18px 0 9px;color:var(--smr-ink);font-size:22px;line-height:1.16;letter-spacing:-.035em}
.smr-story.featured h3{color:#fff}
.smr-story p{margin:0;color:#687781;font-size:11px;line-height:1.7}
.smr-story.featured p{color:#c4d0d3}
.smr-story .read{margin-top:auto;padding-top:17px;color:var(--smr-teal-dark);font-size:10px;font-weight:900}
.smr-story.featured .read{color:#77d2b9}

/* Topics */
.smr-topic-block{border-top:1px solid var(--smr-border);padding:14px 0}
.smr-topic-block:last-child{border-bottom:1px solid var(--smr-border)}
.smr-topic-block .wp-block-columns{align-items:center;margin:0!important}
.smr-topic-block h3{margin:0;color:var(--smr-ink);font-size:14px;line-height:1.35}
.smr-topic-block p{margin:0;color:#74838c;font-size:11px;line-height:1.55}
.smr-topic-block .wp-block-column:last-child{text-align:right}

/* Learn cards */
.smr-learn-grid{gap:12px;margin-top:22px!important}
.smr-learn-block{min-height:180px;padding:18px!important;border:1px solid var(--smr-border);border-radius:8px;background:#fff}
.smr-learn-block h3{margin:11px 0 7px;color:var(--smr-ink);font-size:18px;line-height:1.2;letter-spacing:-.025em}
.smr-learn-block p{margin:0;color:#6f7e87;font-size:10.5px;line-height:1.65}
.smr-card-num{color:#89969e!important;font-size:9px!important;font-weight:900!important;letter-spacing:.1em}
.smr-learn-block a{font-size:9px}

/* About + newsletter */
.smr-block-about{padding:42px 0;background:#f4f8f6;color:var(--smr-ink);border-top:1px solid var(--smr-border);border-bottom:1px solid var(--smr-border)}
.smr-block-about h2{margin:5px 0 0;color:var(--smr-ink);font-size:38px;line-height:1.08;letter-spacing:-.045em}
.smr-block-about p{margin:0 0 14px;color:var(--smr-muted);font-size:12px;line-height:1.75}
.smr-block-about .smr-kicker{color:var(--smr-teal-dark)}
.smr-block-about a{color:var(--smr-teal-dark)}
.smr-block-news{padding:42px 0;background:var(--smr-surface-2);border-top:1px solid var(--smr-border)}
.smr-block-news h2{margin:5px 0 7px;color:var(--smr-ink);font-size:32px;line-height:1.1;letter-spacing:-.04em}
.smr-block-news p{margin:0;color:var(--smr-muted);font-size:12px;line-height:1.7}
.smr-block-news .wp-block-columns{align-items:end}
.smr-form{display:flex;gap:7px}
.smr-form input{min-width:0;flex:1;height:42px;padding:10px 12px;border:1px solid var(--smr-border-strong);border-radius:6px;background:#fff;color:var(--smr-ink);font-size:12px}
.smr-form button{height:42px;padding:0 16px;border:1px solid var(--smr-teal);border-radius:6px;background:var(--smr-teal);color:#fff;font-size:11px;font-weight:850;cursor:pointer}
.smr-form button:hover{background:var(--smr-teal-dark)}
.smr-form-note{margin-top:7px;color:#89969e;font-size:9px}
.smr-form-msg{margin-bottom:8px;padding:10px 12px;border-radius:6px;font-size:10px}
.smr-form-msg.success{background:#e7f4ef;color:#176a56}
.smr-form-msg.error{background:#faeceb;color:#8a302d}

/* Internal pages */
.smr-page-hero{padding:46px 0 34px;background:var(--smr-surface);border-bottom:1px solid var(--smr-border)}
.smr-page-hero h1{max-width:900px;margin:5px 0 10px;color:var(--smr-ink);font-size:clamp(40px,5vw,58px);line-height:1.05;letter-spacing:-.055em}
.smr-page-hero p{max-width:760px;margin:0;color:var(--smr-muted);font-size:14px;line-height:1.75}
.smr-category-nav{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.smr-category-nav a{padding:7px 10px;border:1px solid var(--smr-border);border-radius:999px;background:#fff;color:#53636d;font-size:9px;font-weight:850}
.smr-category-nav a:hover,.smr-category-nav a.current{border-color:#a7cabf;background:var(--smr-teal-soft);color:var(--smr-teal-dark)}
.smr-section{padding:58px 0}
.smr-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.smr-archive-card{min-height:245px;display:flex;flex-direction:column;padding:20px;border:1px solid var(--smr-border);border-radius:8px;background:#fff}
.smr-archive-card .meta{color:#7c8a93;font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.smr-archive-card h2{margin:16px 0 9px;color:var(--smr-ink);font-size:21px;line-height:1.18;letter-spacing:-.035em}
.smr-archive-card h2 a{color:inherit}
.smr-archive-card p{margin:0;color:#687781;font-size:11px;line-height:1.7}
.smr-archive-card .read{margin-top:auto;padding-top:17px;color:var(--smr-teal-dark);font-size:10px;font-weight:900}

.smr-learn-hub{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.smr-learn-panel{padding:24px;border:1px solid var(--smr-border);border-radius:8px;background:#fff}
.smr-learn-panel h2{margin:6px 0 8px;color:var(--smr-ink);font-size:25px;line-height:1.15;letter-spacing:-.03em}
.smr-learn-panel p{margin:0 0 15px;color:#687781;font-size:12px;line-height:1.75}
.smr-learn-panel ul{margin:0 0 14px;padding-left:18px;color:#596973;font-size:11px;line-height:1.85}
.smr-learn-panel a{font-size:10px;font-weight:900}

/* Article */
.smr-article{max-width:820px;margin:0 auto;padding:58px 0 80px}
.smr-article .meta{display:flex;flex-wrap:wrap;gap:10px;color:#7a8992;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.smr-article h1{margin:14px 0 14px;color:var(--smr-ink);font-size:clamp(40px,5vw,60px);line-height:1.04;letter-spacing:-.055em}
.smr-article .dek{margin:0 0 25px;color:#5e6d77;font-size:17px;line-height:1.7}
.smr-article .article-body{color:#34434d;font-size:16px;line-height:1.85}
.smr-article .article-body h2{margin:42px 0 12px;color:var(--smr-ink);font-size:29px;line-height:1.2;letter-spacing:-.03em}
.smr-article .article-body h3{margin:30px 0 10px;color:var(--smr-ink);font-size:21px}
.smr-article .article-body p{margin:0 0 18px}
.smr-article .article-body ul{margin:0 0 20px;padding-left:24px}
.smr-article .article-body li{margin:7px 0}
.smr-article .takeaways{margin:25px 0;padding:16px 18px;border-left:3px solid var(--smr-teal);background:var(--smr-teal-soft);color:#4d625e;font-size:12px;line-height:1.7}
.smr-article .takeaways strong{display:block;margin-bottom:5px;color:var(--smr-teal-dark);font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.smr-share{display:flex;gap:7px;margin-top:34px;padding-top:17px;border-top:1px solid var(--smr-border)}
.smr-share a{padding:7px 10px;border:1px solid var(--smr-border);border-radius:6px;color:#52636d;font-size:9px;font-weight:850}
.smr-share a:hover{border-color:#a8cabf;color:var(--smr-teal-dark)}

/* Contact */
.smr-contact-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:18px}
.smr-contact-card{padding:24px;border:1px solid var(--smr-border);border-radius:8px;background:#fff}
.smr-contact-card h2{margin:0 0 9px;color:var(--smr-ink);font-size:25px;line-height:1.2}
.smr-contact-card p{margin:0 0 16px;color:#687781;font-size:12px;line-height:1.75}
.smr-contact-card p:last-child{margin-bottom:0}
.smr-contact-form{display:grid;gap:12px}
.smr-contact-form label{display:block;margin-bottom:5px;color:#596a74;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.smr-contact-form input,.smr-contact-form textarea{width:100%;border:1px solid var(--smr-border-strong);border-radius:6px;background:#fff;color:var(--smr-ink);padding:11px 12px;font-size:12px}
.smr-contact-form textarea{min-height:155px;resize:vertical}
.smr-contact-form button{justify-self:start;padding:11px 16px;border:1px solid var(--smr-teal);border-radius:6px;background:var(--smr-teal);color:#fff;font-size:11px;font-weight:850;cursor:pointer}
.smr-contact-form button:hover{background:var(--smr-teal-dark)}

/* Homepage editor: match frontend */
.editor-styles-wrapper .smr-block-home{width:100%!important;max-width:none!important;margin:0!important}
.editor-styles-wrapper .smr-block-home .smr-wrap{width:min(calc(100% - 48px),var(--smr-max))!important;max-width:var(--smr-max)!important;margin-inline:auto!important}

@media(max-width:980px){
  .smr-story-grid{grid-template-columns:1fr 1fr}
  .smr-story.featured{grid-column:1/-1}
  .smr-learn-grid{grid-template-columns:repeat(3,1fr)}
  .smr-archive-grid{grid-template-columns:1fr 1fr}
  .smr-contact-grid,.smr-learn-hub{grid-template-columns:1fr}
}
@media(max-width:760px){
  .smr-wrap,.smr-block-home .smr-wrap,.editor-styles-wrapper .smr-block-home .smr-wrap{width:calc(100% - 30px)!important}
  .smr-block-hero{padding:38px 0 32px}
  .smr-block-hero h1{font-size:44px}
  .smr-section-head .wp-block-column:last-child{text-align:left}
  .smr-topic-block .wp-block-columns,.smr-block-about .wp-block-columns,.smr-block-news .wp-block-columns{display:block}
  .smr-topic-block .wp-block-column:last-child{text-align:left;margin-top:6px}
  .smr-block-news .smr-form{display:grid;grid-template-columns:1fr}
  .smr-article{padding-top:42px}
}
@media(max-width:600px){
  .smr-head{display:block}
  .smr-head-link{display:inline-block;margin-top:10px}
  .smr-story-grid,.smr-archive-grid{grid-template-columns:1fr}
  .smr-story.featured{grid-column:auto}
  .smr-learn-grid{display:grid!important;grid-template-columns:1fr 1fr}
  .smr-page-hero h1{font-size:39px}
  .smr-article h1{font-size:40px}
  .smr-article .article-body{font-size:15px}
}
@media(max-width:430px){.smr-learn-grid{grid-template-columns:1fr}.smr-block-dashboard h2,.smr-block-section h2{font-size:31px}}

/* Kadence page-title cleanup: the homepage already has its own editorial hero. */
.home .entry-hero,
.home .entry-hero-container,
.home .page-title,
.home .entry-header.page-title {display:none!important}
.home .content-area{padding-top:0!important}
.home .site-main{margin-top:0!important}
.home .entry-content{margin-top:0!important}

/* Keep the page visually unified: no dark content bands on the light publication design. */
.smr-block-home section,.smr-block-home .wp-block-group{box-shadow:none}
.smr-block-about .wp-block-columns{align-items:center}
.smr-block-about a{font-weight:850}

/* Kadence footer: clean, quiet, publication-style presentation. */
.site-footer .site-footer-wrap{border-top:0}
.site-footer .footer-navigation a{font-size:11px;font-weight:700}

@media (max-width: 768px){
  .smr-wrap,.smr-block-home .smr-wrap{width:min(calc(100% - 32px),var(--smr-max))}
  .smr-block-hero{padding:34px 0 30px}
  .smr-block-hero h1{font-size:clamp(38px,11vw,52px)}
  .smr-block-dashboard{padding:34px 0 38px}
  .smr-block-section{padding:42px 0}
  .smr-block-about{padding:36px 0}
}

/* Unified light Market Reads cards — featured card must match the light publication theme. */
.smr-story.featured,
.smr-story.featured:hover{
  background:#fff !important;
  color:var(--smr-ink) !important;
  border:1px solid var(--smr-border) !important;
  border-top:3px solid var(--smr-teal) !important;
  box-shadow:0 8px 24px rgba(20,45,55,.06);
}
.smr-story.featured .smr-story-meta,
.smr-story.featured h3,
.smr-story.featured p,
.smr-story.featured .read{
  color:inherit !important;
}
.smr-story.featured .smr-story-meta{color:#71818a !important;}
.smr-story.featured h3{color:var(--smr-ink) !important;}
.smr-story.featured p{color:#687781 !important;}
.smr-story.featured .read{color:var(--smr-teal-dark) !important;}

/* =========================================================
   STOCK MARKET READ — COMPLETE FOOTER
   ========================================================= */
.smr-site-footer{
  margin-top:0;
  background:#fff;
  border-top:1px solid var(--smr-border,#dbe5e3);
  color:#31465f;
}
.smr-footer-inner{
  width:min(calc(100% - 48px),1180px);
  margin:0 auto;
  padding:48px 0 38px;
  display:grid;
  grid-template-columns:minmax(0,1.8fr) minmax(150px,.65fr) minmax(190px,.85fr);
  gap:70px;
}
.smr-footer-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#10233f!important;
  text-decoration:none!important;
}
.smr-footer-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#10233f;
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:-.04em;
  box-shadow:0 3px 10px rgba(16,35,63,.08);
}
.smr-footer-name{font-size:19px;font-weight:850;letter-spacing:-.035em}
.smr-footer-brand>p{
  max-width:450px;
  margin:15px 0 0;
  color:#68798c;
  font-size:11px;
  line-height:1.75;
}
.smr-footer-brand .smr-footer-tagline{
  margin-top:8px;
  color:#078a72;
  font-size:10px;
  font-weight:800;
  letter-spacing:.02em;
}
.smr-footer-label{
  margin:3px 0 14px;
  color:#10233f;
  font-size:10px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.smr-footer-menu{list-style:none;margin:0;padding:0}
.smr-footer-menu li{margin:0 0 10px;padding:0}
.smr-footer-menu a{
  color:#68798c!important;
  font-size:11px;
  font-weight:600;
  text-decoration:none!important;
  transition:color .15s ease;
}
.smr-footer-menu a:hover{color:#006b5a!important}
.smr-footer-bottom{
  width:min(calc(100% - 48px),1180px);
  margin:0 auto;
  padding:17px 0 20px;
  border-top:1px solid #e7eeec;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#84919b;
  font-size:10px;
}
.smr-footer-disclaimer{text-align:right}
@media(max-width:700px){
  .smr-footer-inner{grid-template-columns:1fr;gap:26px;padding:36px 0 28px}
  .smr-footer-bottom{display:block;line-height:1.7}
  .smr-footer-disclaimer{text-align:left;margin-top:5px}
}
