/**
 * Schoolyard St Marys base styles.
 */

body,
button,
input,
textarea,
select {
  color: #2b2a29;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

#primary > #main p,
.site-main p,
.entry-content p,
.hentry p,
.woocommerce p,
.woocommerce-page p {
  color: #2b2a29;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

h1,
.entry-title,
.page-title,
.woocommerce-products-header__title,
.woocommerce h1.page-title {
  color: #2b2a29;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2,
.entry-content h2,
.site-main h2,
.woocommerce h2 {
  color: #2b2a29;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h3,
.entry-content h3,
.site-main h3,
.woocommerce h3 {
  color: #2b2a29;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

a {
  color: #2b2a29;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #6f6b68;
  text-decoration: none;
}

.entry-content ul,
.entry-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.entry-content li {
  margin-bottom: 0.35rem;
}

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 6px;
  font-weight: 700;
}

/* Schoolyard standard: hide breadcrumbs */

body .storefront-breadcrumb,
body .woocommerce-breadcrumb,
body nav.woocommerce-breadcrumb,
body .site-content .woocommerce-breadcrumb,
body .col-full .woocommerce-breadcrumb {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Schoolyard standard: normal content typography */

body .entry-content p,
body .site-main p,
body .page .entry-content p,
body .post .entry-content p,
body .hentry .entry-content p {
  color: #2b2a29 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin-bottom: 1rem !important;
}

/* Ordered and unordered lists */

body .entry-content ul,
body .entry-content ol,
body .site-main ul,
body .site-main ol,
body .page .entry-content ul,
body .page .entry-content ol,
body .post .entry-content ul,
body .post .entry-content ol {
  color: #2b2a29 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

/* List items */

body .entry-content li,
body .site-main li,
body .page .entry-content li,
body .post .entry-content li,
body .hentry .entry-content li {
  color: #2b2a29 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin-bottom: 0.35rem !important;
}

/* Keep nested lists tidy */

body .entry-content li ul,
body .entry-content li ol,
body .site-main li ul,
body .site-main li ol {
  margin-top: 0.35rem !important;
  margin-bottom: 0.35rem !important;
}

/* Woo product cards should keep their specific product title sizing */

body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

/**
 * Branda cookie notice.
 *
 * Do not apply Schoolyard button styling to the Branda cookie accept button.
 * Branda should control the cookie notice/button styling itself.
 */
.branda-cn-container button,
.branda-cn-container .button,
.branda-cn-container input[type="button"],
.branda-cn-container input[type="submit"],
.branda-cn-container a.button,
.branda-cn-container .branda-cn-accept,
.branda-cn-container .branda-cn-button,
.branda-cookie-notice button,
.branda-cookie-notice .button,
.branda-cookie-notice input[type="button"],
.branda-cookie-notice input[type="submit"],
.branda-cookie-notice a.button,
.branda-cookie-notice .branda-cn-accept,
.branda-cookie-notice .branda-cn-button,
#branda-cookie-notice button,
#branda-cookie-notice .button,
#branda-cookie-notice input[type="button"],
#branda-cookie-notice input[type="submit"],
#branda-cookie-notice a.button,
#branda-cookie-notice .branda-cn-accept,
#branda-cookie-notice .branda-cn-button {
  all: revert !important;
}
