/*
Theme Name: Astra Child - Webb Capital
Template: astra
Version: 1.1
*/

:root {
  --tidal-blue: #355978;
  --accent-grey: #8A8D8F;
  --hero-dark: #0f1419;
}

body {
  font-family: Georgia, serif;
  padding-bottom: 50px;
}

/* Headings - Tidal Blue */
h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a,
.site-title,
.site-title a,
.ast-single-post .entry-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #355978 !important;
}

/* Header border */
.site-header,
.ast-primary-header-bar,
#masthead {
  border-bottom: 4px solid #355978 !important;
}

/* Navigation links */
.main-navigation a,
.ast-header-navigation a,
.main-header-menu a,
.ast-nav-menu a {
  color: #355978 !important;
}

.main-navigation a:hover,
.ast-header-navigation a:hover {
  color: #8A8D8F !important;
}

/* Body links */
a {
  color: #355978;
}

a:hover {
  color: #8A8D8F;
}

/* Buttons */
.wp-block-button__link,
button,
input[type="submit"],
.ast-button,
.button {
  background-color: #355978 !important;
  border-color: #355978 !important;
  color: #ffffff !important;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #355978 !important;
  padding-left: 20px;
  background: #f5f7f9;
  padding: 15px 20px;
}

/* Separators */
hr, hr.wp-block-separator {
  border-color: #355978 !important;
}

/* Section heading underlines */
.entry-content h2 {
  border-bottom: 2px solid #8A8D8F;
  padding-bottom: 10px;
}

/* Footer */
.site-footer .site-info,
.ast-footer-copyright,
.ast-small-footer {
  display: none !important;
}

/* Stock ticker (inner pages only; homepage skips the embed) */
.stock-ticker-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 46px;
}

/* ------------------------------------------------------------------
   Homepage (page 5): dark statement hero, light spacious body.
   Scoped to body.home.page-id-5 so About Us / other pages are unchanged.
   ------------------------------------------------------------------ */
body.home.page-id-5 {
  background: #f7f5f1 !important;
  padding-bottom: 0 !important;
}

body.home.page-id-5 #content,
body.home.page-id-5 .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.home.page-id-5.ast-plain-container .site-content > .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home.page-id-5 article.page,
body.home.page-id-5 .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

body.home.page-id-5 .webbcap-home-hero {
  background: #0f1419;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10vh 28px 12vh;
  box-sizing: border-box;
}

body.home.page-id-5 .webbcap-hero-logo,
body.home.page-id-5 .webbcap-hero-logo img {
  max-width: min(440px, 88vw) !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto 2.6em !important;
  background: #fff;
  display: block;
}

body.home.page-id-5 .webbcap-hero-wordmark {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  color: #f3f1ec !important;
  font-size: clamp(2rem, 5.4vw, 3.5rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.6em !important;
  line-height: 1.15;
}

body.home.page-id-5 .webbcap-hero-line {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  color: #d5d0c6 !important;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  max-width: 22em;
  line-height: 1.55;
  margin: 0 auto !important;
}

body.home.page-id-5 .webbcap-statements {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

body.home.page-id-5 .webbcap-statement {
  padding: 96px 0 80px;
  text-align: center;
}

body.home.page-id-5 .webbcap-statement + .webbcap-statement {
  border-top: 1px solid #e4e0d8;
}

body.home.page-id-5 .entry-content h2,
body.home.page-id-5 .webbcap-statement h2 {
  border-bottom: none !important;
  color: #0f1419 !important;
  font-size: clamp(1.8rem, 3.2vw, 2.45rem) !important;
  letter-spacing: 0.06em;
  margin: 0 0 28px !important;
  padding-bottom: 0 !important;
}

body.home.page-id-5 .webbcap-statement p {
  font-size: 1.18rem;
  line-height: 1.8;
  color: #3a3f45;
  max-width: 38em;
  margin: 0 auto;
}

body.home.page-id-5 .webbcap-corp-note {
  background: #ece9e3;
  padding: 88px 28px;
  text-align: center;
}

body.home.page-id-5 .webbcap-corp-note p {
  max-width: 40em;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a4f55;
}

body.home.page-id-5 .stock-ticker-footer,
body.home.page-id-5 .market-data-footer,
body.home.page-id-5 .forex-bar,
body.home.page-id-5 .news-ticker-footer {
  display: none !important;
}
