/* Mobile First - Typography Styles */

/* Font imports */
@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700&display=swap");

/* Local Eudoxus Sans font faces */
@font-face {
  font-family: "Eudoxus Sans";
  src: url("../fonts/EudoxusSans-ExtraLight-BF659b6cb1e7092.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eudoxus Sans";
  src: url("../fonts/EudoxusSans-Light-BF659b6cb2036b5.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eudoxus Sans";
  src: url("../fonts/EudoxusSans-Regular-BF659b6cb1d4714.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eudoxus Sans";
  src: url("../fonts/EudoxusSans-Medium-BF659b6cb1c14cb.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eudoxus Sans";
  src: url("../fonts/EudoxusSans-Bold-BF659b6cb1408e5.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eudoxus Sans";
  src: url("../fonts/EudoxusSans-ExtraBold-BF659b6cb1b96c9.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Mobile Base typography */
body {
  font-family: "Eudoxus Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: -0.14px;
  color: #ffffff;
}

/* Mobile Headings */
h1,
.wp-block-heading.has-xx-large-font-size {
  font-family: "Unbounded", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: #ffffff;
}

h2,
.wp-block-heading.has-x-large-font-size {
  font-family: "Unbounded", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: #ffffff;
}

h3,
.wp-block-heading.has-large-font-size {
  font-family: "Unbounded", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: #ffffff;
}

h4,
.wp-block-heading.has-medium-font-size {
  font-family: "Unbounded", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: #ffffff;
}

h5,
h6,
.wp-block-heading.has-small-font-size {
  font-family: "Eudoxus Sans", sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: -0.14px;
  color: #ffffff;
}

/* Mobile Paragraphs */
p {
  font-family: "Eudoxus Sans", sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: -0.14px;
  color: #ffffff;
}

/* Mobile Links */
a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Mobile Post titles */
.wp-block-post-title a {
  font-family: "Unbounded", sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.75rem;
}

.wp-block-post-title a:hover {
  text-decoration: underline;
}

/* Mobile Post excerpts */
.wp-block-post-excerpt {
  font-family: "Eudoxus Sans", sans-serif;
  font-size: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.44px;
  text-transform: capitalize;
  color: #ffffff;
}

/* Mobile Post meta */
.wp-block-post-date,
.wp-block-post-author {
  font-family: "Eudoxus Sans", sans-serif;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Site title */
.wp-block-site-title a {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-decoration: none;
}

.wp-block-site-title a:hover {
  text-decoration: underline;
}

/* Mobile Site tagline */
.wp-block-site-tagline {
  font-family: "Eudoxus Sans", sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile Navigation */
.wp-block-navigation a {
  font-family: "Eudoxus Sans", sans-serif;
  font-size: 0.75rem;
  letter-spacing: -0.14px;
  color: #ffffff;
  text-decoration: none;
}

.wp-block-navigation a:hover {
  text-decoration: underline;
}

/* Mobile Buttons */
.wp-block-button__link {
  font-family: "Eudoxus Sans", sans-serif;
  font-size: 0.625rem;
  letter-spacing: -0.14px;
  color: #ffffff;
}

/* Mobile Lists */
.wp-block-list {
  font-family: "Eudoxus Sans", sans-serif;
}

.wp-block-list a {
  font-size: 0.75rem;
  color: #ffffff;
  text-decoration: none;
}

.wp-block-list a:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* Tablet and up (768px+) */
@media (min-width: 768px) {
  body {
    font-size: 0.875rem;
  }

  h1,
  .wp-block-heading.has-xx-large-font-size {
    font-size: 2rem;
  }

  h2,
  .wp-block-heading.has-x-large-font-size {
    font-size: 1.25rem;
  }

  h3,
  .wp-block-heading.has-large-font-size {
    font-size: 1rem;
  }

  h4,
  .wp-block-heading.has-medium-font-size {
    font-size: 0.875rem;
  }

  h5,
  h6,
  .wp-block-heading.has-small-font-size {
    font-size: 0.75rem;
  }

  p {
    font-size: 0.875rem;
  }

  .wp-block-post-title a {
    font-size: 0.875rem;
  }

  .wp-block-post-excerpt {
    font-size: 1rem;
  }

  .wp-block-post-date,
  .wp-block-post-author {
    font-size: 0.75rem;
  }

  .wp-block-site-title a {
    font-size: 1.5rem;
  }

  .wp-block-site-tagline {
    font-size: 1rem;
  }

  .wp-block-navigation a {
    font-size: 1rem;
  }

  .wp-block-button__link {
    font-size: 0.75rem;
  }

  .wp-block-list a {
    font-size: 0.875rem;
  }
}

/* Desktop and up (1024px+) */
@media (min-width: 1024px) {
  h1,
  .wp-block-heading.has-xx-large-font-size {
    font-size: 2.875rem;
  }

  .wp-block-button__link {
    font-size: 0.875rem;
  }
}
