/*
 * Cresco Fonts
 * Self-hosted webfonts for Cresco Greystone.
 */

@font-face {
  font-family: 'NanumSquare';
  src: url('../fonts/NanumSquareR.woff2') format('woff2'),
       url('../fonts/NanumSquareR.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'NanumSquare';
  src: url('../fonts/NanumSquareB.woff2') format('woff2'),
       url('../fonts/NanumSquareB.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'MaruBuri';
  src: url('../fonts/MaruBuri-Regular.woff2') format('woff2'),
       url('../fonts/MaruBuri-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'MaruBuri';
  src: url('../fonts/MaruBuri-SemiBold.woff2') format('woff2'),
       url('../fonts/MaruBuri-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Default interface/body font */
html, body,
button, input, select, textarea,
.ast-container, .site-content,
.main-header-menu, .ast-header-navigation,
.widget, .entry-content,
.wp-block-post-content {
  font-family: 'NanumSquare', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

/* Editorial / headline font */
h1, h2, h3,
.entry-title, .page-title,
.wp-block-post-title,
.wp-block-heading,
blockquote,
.cresco-maru {
  font-family: 'MaruBuri', 'NanumSquare', 'Apple SD Gothic Neo', serif;
}

/* Utility classes */
.cresco-nanum {
  font-family: 'NanumSquare', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif !important;
}

.cresco-maru {
  font-family: 'MaruBuri', 'NanumSquare', 'Apple SD Gothic Neo', serif !important;
}
