/*
Theme Name: MusicFonts
Description: GeneratePress child theme for the existing MusicFonts site.
Version: 0.2.2
Template: generatepress
Text Domain: musicfonts
*/

/* Local OFL fonts: Literata for reading, Golos Text for interface text. */
@font-face { font-family: Literata; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/literata-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Literata; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/literata-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Literata; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/literata-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Literata; font-style: italic; font-weight: 300 700; font-display: swap; src: url('fonts/literata-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Literata; font-style: italic; font-weight: 300 700; font-display: swap; src: url('fonts/literata-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Literata; font-style: italic; font-weight: 300 700; font-display: swap; src: url('fonts/literata-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/golos-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/golos-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/golos-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --mf-accent: #176f8a; --mf-dark: #202225; }
html { scroll-behavior: smooth; }
body { color: #252525; font-family: Literata, Georgia, serif; font-size: 17px; line-height: 1.72; font-optical-sizing: auto; }
body .grid-container { max-width: 1120px; }
a { color: var(--mf-accent); }
a:hover, a:focus { color: #0a4f65; }
.site-header, .main-navigation { background: var(--mf-dark); }
.site-header .inside-header { padding: 12px 30px; }
.site-header .main-title { font-family: Literata, Georgia, serif; font-size: 24px; font-weight: 450; }
.site-header .main-title a, .site-header .main-title a:hover { color: #fff; }
.main-navigation { font-family: 'Golos Text', Arial, sans-serif; font-size: 15px; }
.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-item > a { color: #f5f5f5; }
.main-navigation .main-nav ul li:hover > a, .main-navigation .main-nav ul li:focus > a, .main-navigation .main-nav ul li.current-menu-item > a { color: #fff; background: #35383b; }
.main-navigation .main-nav ul ul { background: #252729; }
.main-navigation .main-nav ul ul li a { color: #fff; }
.main-navigation .main-nav ul ul li:hover > a { background: #3a3d40; }
.main-navigation .inside-navigation { justify-content: center; }
.site-content { padding-top: 0; }
.inside-article { padding: 42px 50px; }
.entry-title, .entry-content h2, .entry-content h3 { font-family: Literata, Georgia, serif; font-optical-sizing: auto; }
.entry-title { font-size: clamp(1.8rem, 3.6vw, 2.4rem); line-height: 1.25; font-weight: 500; }
.entry-content { max-width: 900px; margin-inline: auto; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content h2, .entry-content h3 { line-height: 1.3; }
.entry-content p { margin-bottom: 1.35em; }
.site-info { background: #252b2e; color: #dce3e4; padding: 36px 20px 30px; font-family: 'Golos Text', Arial, sans-serif; }
.site-info a { color: #eaf2f3; text-decoration: none; }
.site-info a:hover, .site-info a:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-info .inside-site-info { display: flex; flex-direction: column; gap: 25px; max-width: 1080px; margin-inline: auto; }
.mf-footer-menu .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 25px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; }
.mf-footer-menu .sub-menu { display: none; }
.copyright-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; border-top: 1px solid rgba(255,255,255,.17); padding-top: 21px; font-size: 13.5px; line-height: 1.55; text-align: center; }

/* Home copy comes from the existing WordPress widget options. */
.home .site-content { display: block; padding: 0; }
.home #page.grid-container { max-width: none; }
.home .content-area, .home .site-main { width: 100%; margin: 0; }
.mf-section { position: relative; padding: clamp(58px, 8vw, 110px) 28px; scroll-margin-top: 35px; }
.mf-section__inner { position: relative; max-width: 1080px; margin: 0 auto; }
.mf-section h1, .mf-section h2, .mf-section h3, .mf-section h4 { font-family: Literata, Georgia, serif; line-height: 1.22; font-optical-sizing: auto; }
.mf-section h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400; max-width: 780px; margin: 0 0 34px; }
.mf-section h2 { font-size: clamp(1.85rem, 3.7vw, 2.65rem); font-weight: 400; margin: 0 0 24px; }
.mf-section h3 { font-size: 1.35rem; margin: 0 0 12px; }
.mf-section p { margin-bottom: 1.15em; }
.mf-section img { max-width: 100%; height: auto; }
.mf-hero, .mf-audience, .mf-download { background-color: #363536; background-position: center; background-size: cover; color: #fff; }
.mf-hero::before, .mf-audience::before, .mf-download::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.58); }
.mf-hero { min-height: 590px; display: flex; align-items: center; }
.mf-hero .mf-section__inner { width: 100%; }
.mf-hero .small-disclaimer { display: block; max-width: 670px; margin-top: 32px; font-size: 1.05rem; }
.mf-section a.button { display: inline-block; padding: 10px 22px; border: 1px solid #fff; background: #fff; color: var(--mf-dark); font-family: 'Golos Text', Arial, sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; margin: 5px 10px 5px 0; }
.mf-section a.button:hover, .mf-section a.button:focus { background: #e7eff1; color: #111; }
.mf-section a.button.clear { width: auto; height: auto; overflow: visible; clear: none; visibility: visible; background: transparent; color: #fff; }
.mf-section a.button.clear:hover, .mf-section a.button.clear:focus { background: #fff; color: var(--mf-dark); }
.mf-principles { text-align: center; background: #f5f5f2; }
.mf-principles h4 { font-size: 1.05rem; font-weight: 400; }
.mf-principles .bottom-image { margin: 35px auto 0; max-width: 650px; }
.mf-audience .mf-section__inner > h2 { text-align: center; margin-bottom: 45px; }
.mf-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 58px; }
.mf-audience-item { min-width: 0; }
.mf-audience-item .dashicons { display: block; width: auto; height: auto; font-size: 29px; margin-bottom: 13px; }
.mf-license { background: #fff; }
.mf-license .mf-section__inner { max-width: 850px; }
.mf-license img { max-height: 110px; width: auto; margin-top: 10px; }
.mf-download { text-align: center; }
.mf-download .mf-section__inner { max-width: 700px; }
.mf-download a.button { margin-top: 18px; }
.page-id-53 .page-header-image, .page-id-80 .page-header-image { text-align: center; padding-top: 30px; }
.page-id-53 .page-header-image img, .page-id-80 .page-header-image img { width: min(220px, 100%); height: auto; }

@media (max-width: 768px) {
  .site-header .inside-header { padding: 12px 18px; }
  .main-navigation .inside-navigation { justify-content: space-between; }
  .inside-article { padding: 30px 22px; }
  .mf-hero { min-height: 480px; }
  .mf-audience-grid { grid-template-columns: 1fr; gap: 28px; }
  .mf-section { padding: 55px 20px; }
  .site-info { padding: 30px 20px 26px; }
  .mf-footer-menu .menu { gap: 9px 18px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .mf-hero { min-height: 430px; }
  .mf-section a.button { margin-right: 6px; }
  .mf-principles .bottom-image { margin-top: 25px; }
}
