@import url('https://fonts.googleapis.com/css2?family=Young+Serif&family=Bitter:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --color-background: #EAE6DD;
  --color-text: #2D2D2A;
  --color-teal: #7BA5A0;
  --color-teal-dark: #1C4F5A;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: 'Bitter', serif;
  font-size: 16px;
  line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Young Serif', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2em;
  color: var(--color-text);
}

h1 { font-size: 4rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.6rem; }

/* Navigation */
.site-header {
  background-color: var(--color-background);
}

/* Links */
a { color: var(--color-teal-dark); }
a:hover { color: var(--color-teal); }

/* Hide page title on front page */
.home .entry-title,
.home .page-title,
.home h1.entry-title {
  display: none;
}

/* Header background */
.site-header,
.site-header-wrap,
#masthead {
  background-color: #EAE6DD !important;
}

/* Header text color */
.site-branding .site-title,
.site-branding .site-title a {
  color: #2D2D2A;
}

/* Nav menu color */
.main-navigation a,
.nav-primary a {
  color: #2D2D2A;
}

.main-navigation a:hover,
.nav-primary a:hover {
  color: #1C4F5A;
}

/* Remove white content box */
.content-area,
.site-content,
.entry-content,
.wp-block-post-content,
article.page {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Hide site title text next to logo */
.site-title {
  display: none !important;
}

/* Constrain logo size */
.custom-logo {
  max-height: 80px !important;
  width: auto !important;
}

.custom-logo-link {
  max-width: 120px !important;
}

/* Button styles */
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
  background-color: #1C4F5A !important;
  color: #EAE6DD !important;
  border-radius: 4px !important;
  padding: 12px 24px !important;
  font-family: 'Bitter', serif !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: none !important;
}

.wp-block-button__link:hover {
  background-color: #7BA5A0 !important;
  color: #2D2D2A !important;
}

/* Content padding */
.entry-content,
.wp-block-post-content {
  padding: 0 2rem !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}

/* Hide Kadence footer credit */
.site-info a[href*="kadencewp"],
.site-info .sep,
span.kadence-credit {
  display: none !important;
}

/* Page header band background */
.kadence-inner-column-inner,
.wp-block-kadence-column,
.entry-hero,
.entry-hero-container-inner,
.kadence-hero-image,
.site-main .entry-header,
.page-hero-section,
.kadence-page-heading,
.entry-content-wrap,
.content-hero-section,
.content-bg,
.page .entry-header {
  background-color: #EAE6DD !important;
}

/* Inner header background */
.inner-link-style-boxed .site-header-inner,
.kadence-header-top,
.page-title-banner,
.hero-section {
  background-color: #EAE6DD !important;
}
