/*!
Theme Name: indigefitkids
Theme URI: http://underscores.me/
Author: SMSC Marketing
Author URI: https://smscmarketing.org
Description: A custom theme for the new SMSC philanthropic campaign \"IndigeFit Kids\".
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: indigefitkids
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

indigefitkids is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('css/colors.css');
@import url('css/oocss.css');
:root {
  --site-width: 1920px;
  --navigation-width: 1500px;
  --content-width: 1200px;
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Normalize
  - Box sizing
# Base
  - Typography
  - Elements
  - Links
  - Forms
## Layouts
# Components
  - Navigation
  - Posts and pages
  - Comments
  - Widgets
  - Media
  - Captions
  - Galleries
# plugins
  - Jetpack infinite scroll
# Utilities
  - Accessibility
  - Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
     ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
     ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
     ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
     ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--text-primary);
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  font-style: normal;
  margin-top: 0;
  clear: both;
  line-height: 1;
  margin-bottom: 1rem;
}

h1 { font-family: p22-nudgewink-pro, sans-serif; }

h2,
h3,
h4,
h5,
h6 {
  font-family: brandon-grotesque, sans-serif; font-weight: bold;
}

h1 { font-size: 40pt; font-family: p22-nudgewink-pro, sans-serif; }
h2 { font-size: 24pt; }
h3 { font-size: 18pt; }
h4 { font-size: 1rem; }
h5 { font-size: 1rem; font-weight: 400; }
h6 { font-size: 1rem; font-weight: 400; }

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a,
a:visited {
  color: var(--pacific);
}

a:hover,
a:focus,
a:active {
  color: var(--sapphire);
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
form {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 16px;
  padding: 7px 15px;
  height: 40px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select,
.nf-field-element select {
  border: 1px solid #ccc;
  padding: 7px 15px;
  font-size: 16px;
  height: 40px !important;
}

textarea {
  width: 100%;
}

@media screen and (min-width: 37.5rem) {
  h1 { font-size: 60pt; }
  h2 { font-size: 36pt; }
  h3 { font-size: 24pt; }
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.main-navigation > div {
  opacity: 0;
  list-style: none;
  margin: 0;
  padding-left: 0;
  position: absolute;
  left: 0;
  transform: translateY(-100%);
  transition: transform 0.25s ease-in-out;
  z-index: -1;
}
.main-navigation.toggled > div {
  top: calc(100% + 1px);
  background-color: #fff;
  width: 100%;
  transform: translateY(0);
  opacity: 1;
  border-bottom: 1px solid var(--bright);
}

.main-navigation ul li.menu-item-has-children {
  display: flex;
  flex-direction: column;
}
.main-navigation ul ul {
  height: 0;
  overflow: hidden;
  width: 100%;
  margin-left: 0;
  padding-left: 0;

}
.main-navigation ul li.open-dropdown ul {
  height: auto;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 100%;
  padding-left: 40px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

.dropdown-toggle {
  margin-left: 10px;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 4px;
}
.dropdown-toggle i {
  transition: transform 0.25s ease-in-out;
}
.menu-link.open-dropdown .dropdown-toggle i {
  transform: rotate(180deg);
  transform-origin: center;
}
.menu-link.open-dropdown + .sub-menu {
  height: auto;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled > div {
  display: block;
}
.menu-toggle {
  position: relative;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  outline: none;
}

#hamburger {
  position: relative;
  height: 18px;
  width: 22px;
  cursor: pointer;
}
#hamburger div {
  position: absolute;
  width: 22px;
  height: 2px;
  left: 0;
  background-color: var(--text-primary);
  transform: rotate(0);
  transition: .25s ease-in-out;
}
#hamburger div.first { top: 0; }
#hamburger div.second { top: calc(50% - 2px); }
#hamburger div.third { top: calc(100% - 4px); }
.main-navigation.toggled #hamburger div.first {
  top: calc(50% - 2px);
  transform: rotate(135deg);
}
.main-navigation.toggled #hamburger div.second { opacity: 0; }
.main-navigation.toggled #hamburger div.third {
  top: calc(50% - 2px);
  transform: rotate(-135deg);
}

@media screen and (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
  .main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
    background-color: #fcfcfc;
    flex-direction: column;
  }
  .main-navigation ul ul li {
    border-left: 4px solid transparent;
    transition: all 0.2s ease-in-out;
  }
  .main-navigation ul ul li:hover {
    border-left-color: var(--bright);
  }
  .main-navigation ul ul li a {
    border-bottom: 0;
  }
  .dropdown-toggle {
    margin-left: 0px;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 4px;
  }
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.entry-meta {
  display: flex;
  gap: 20px;
}
.entry-meta a {
  text-decoration: none;
}
.entry-meta i {
  margin-right: 7px;
}

.news-list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-list-pagination__container {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.news-list-pagination__container button {
  cursor: pointer;
  outline: none;
  border: 1px solid var(--pacific);
  border-radius: 0;
  background: none;
  color: var(--pacific);
  width: 50px;
  height: 50px;
  transition: all 0.3s ease-in-out;
}
.news-list-pagination__container button:disabled {
  cursor: default;
  opacity: 0.5;
}
.news-list-pagination__container button.currentPage {
  background-color: var(--pacific);
  color: #fff;
  cursor: default;
}
.news-list-pagination__container button:not(:disabled):not(.currentPage):hover {
  background-color: rgba(var(--pacific-rgb), 0.1);
}

.breadcrumbs {
  display: flex;
  gap: 7px;
  font-size: 1rem;
  align-items: center;
}
.breadcrumbs > * {
  line-height: 1;
}
.breadcrumbs i {
  font-size: 10px;
}

/* Blocks
--------------------------------------------- */
.wp-block-cover,
.wp-block-cover-image {
  min-height: 1px;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: flex;
  align-items: center;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {

  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Site Specific Styles
--------------------------------------------------------------*/
.placeholder-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #F3F3F3;
}

section {
  padding: 1rem 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
section:first-of-type {
  margin-top: 0;
}
section:last-of-type {
  margin-bottom: 0;
}

/* Body
--------------------------------------------- */
html, body {
  height: 100%;
  font-size: 16pt;
}
.site {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Header
--------------------------------------------- */
.site-header {
  position: relative;
}
.site-header__inner-container {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
  transition: background 0.3s ease-in-out;
  background-color: #fff;
  border-bottom: 1px solid var(--bright);
  height: 80px;
}
.site-header__background {
  position: absolute;
  z-index: -1;
  width: 100%;
  margin-top: 80px;
  height: 350px;
  display: flex;
  background-image:
    url('/wp-content/themes/indigefitkids/assets/PinkPNG.png'),
    url('/wp-content/themes/indigefitkids/assets/BluePNG.png'),
    url('/wp-content/themes/indigefitkids/assets/OrangePNG.png'),
    url('/wp-content/themes/indigefitkids/assets/GreenPNG.png');
  background-position:
    left center,
    25% center,
    75% center,
    right center;
  background-repeat:
    no-repeat;
  background-size:
    30%,
    40%,
    40%,
    40%;
  opacity: 0.4;
}
body.single-post .site-header__background {
  height: 200px;
}
.site-branding {
  width: 300px;
}
.site-branding span {
  display: block;
  font-size: 1em;
  font-weight: 700;
  color: #3d3d3d;
  height: 100%;
  display: flex;
  align-items: center;
}
#primary-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 0;
  margin-bottom: 0;
}
#primary-menu li {
  width: 100%;
}
#primary-menu a {
  display: block;
  width: 100%;
  color: var(--pacific);
  padding: 10px 20px;
  transition: color 0.3s ease-in-out;
}
#primary-menu a:hover {
  background-color: #fafafa;
}
#primary-menu a.menu-link.open-dropdown {
  background: #ececec;
}
#primary-menu .sub-menu a {
  padding: 10px 20px 10px 30px;
}

.homepage-header h1,
.homepage-header h2 {
  margin: 0;
}

/* Content Area
--------------------------------------------- */
.content-area {
  flex-grow: 1;
  margin-top: 80px;
}

/* Pages
--------------------------------------------- */
.page-header {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.single-post .page-header {
  height: 200px;
}

/* News
--------------------------------------------- */
.news-category-filter {
  gap: 20px;
}
.news-category-filter a {
  text-decoration: none;
  color: var(--text-primary);
}
.news-category-filter a.active {
  font-weight: 500;
  border-bottom: 1px solid var(--text-primary);
}
.news-category-filter a:hover {
  font-weight: 500;
}
.media-contact {
  position: relative;
}
.media-contact > div {
  position: sticky;
  top: calc(76px + 1rem);
}
.media-contact a {
  text-decoration: none;
  color: var(--text-primary);
}

/* Facts
--------------------------------------------- */
.fact-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.fact-container {
  position: relative;
  flex: 1 0 auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fact-container:nth-child(1) { background-color: var(--rose); }
.fact-container:nth-child(2) { background-color: var(--pacific); }
.fact-container:nth-child(3) { background-color: var(--tiger); }
.fact-container:nth-child(4) { background-color: var(--sapphire); }
.fact-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #fff;
  text-shadow: 0 0 1rem black;
}
.fact-copy > img {
  width: 45%;
  height: auto;
}

/* Partners
--------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.partner-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-radius: 4px;
  padding: 1rem;
}
.partner-logo {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.partner-logo > img {
  object-fit: contain;
  max-height: 100%;
}
.partner-content {
  flex-grow: 1;
}
.partner-content span.h3 {
  font-weight: bold;
  font-size: 20px;
}
.partner-link {
  width: 100%;
}

/* Footer
--------------------------------------------- */
.site-footer {
  background-color: #EBEBEB;
}
.site-footer__inner-container {
  display: flex;
  justify-content: space-between;
}
.site-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-social__list a {
  font-size: 16pt;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media screen and (min-width: 600px) {
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fact-copy {
    flex-direction: row;
  }
}
@media screen and (min-width: 640px) {}
@media screen and (min-width: 768px) {
  section {
    padding: 2rem 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  #primary-menu {
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    height: 100%;
    align-items: center;
  }
  #primary-menu a {
    width: auto;
    text-wrap: nowrap;
    position: relative;
    overflow: hidden;
    padding: 7px 5px;
  }
  #primary-menu > li > a:hover {
    background-color: transparent;
  }
  #primary-menu > li > a::after {
    content: '';
    border-bottom: 2px solid var(--pacific);
    transform: translateX(-101%);
    transition: transform 0.25s ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  #primary-menu ul {
    width: 300px;
    height: auto;
  }
  #primary-menu > li:hover ul {
    left: 0;
  }
  #primary-menu li:hover a::after,
  #primary-menu li.current_page_item > a::after {
    transform: translateX(0);
  }
  .main-navigation > div {
    height: 100%;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
    top: unset;
    left: unset;
  }
  .main-navigation ul li.menu-item-has-children {
    flex-direction: row;
  }
  #primary-menu .sub-menu a {
    padding: 10px 20px;
    width: 100%;
  }

  .site-header__background {
    height: 350px;
    background-position:
      left top,
      25% top,
      75% top,
      right top;
    background-size:
      30%,
      40%,
      40%,
      40%;
  }
  .page-header {
    height: 350px;
  }

  .fact-row {
    grid-template-columns: 1fr 1fr;
  }
  body:not(.home) .fact-container:last-child {
    grid-column: span 2;
  }
  .fact-container {
    flex: 0 0 auto;
    aspect-ratio: initial;
    height: 400px;
  }
  .fact-copy {
    font-size: 18pt;
    flex-direction: column;
  }
  body:not(.home) .fact-container:last-child .fact-copy {
    flex-direction: row;
  }
}
@media screen and (min-width: 1024px) {
  
  body.home .site-header__background,
  body.home .page-header {
    height: 600px;
  }
  .partners-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  body:not(.home) .fact-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .fact-container {
    flex: 1 0 0%;
    aspect-ratio: initial;
  }
  body:not(.home) .fact-container:last-child {
    grid-column: span 1;
  }
  body:not(.home) .fact-container:last-child .fact-copy {
    flex-direction: column;
  }
}
@media screen and (min-width: 1200px) {
  body:not(.home) .fact-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  body.home .fact-row {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media screen and (min-width: 1400px) {
  .partners-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media screen and (min-width: 1536px) {}