/* =========================================================
   MIC 32 custom fonts for YOOtheme child theme
   ---------------------------------------------------------
   Place your font files in:
   /wp-content/themes/yootheme-mic32/fonts/
   ========================================================= */

/* ===== MIC 32 NEW ===== */
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Light_Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Medium_Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New";
  src: url("../fonts/Mic_32_New_Bold_Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ===== MIC 32 NEW ROUNDED ===== */
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Light_Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Medium_Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mic 32 New Rounded";
  src: url("../fonts/Mic_32_New_Rounded_Bold_Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* =========================================================
   TYPOGRAPHY SETUP
   Cabin = body
   Mic 32 New Rounded = headings + navbar
   Mic 32 New = optional utility
   ========================================================= */

/* Body / brødtekst beholdes som Cabin */
body,
.uk-text-lead,
.uk-text-meta,
.uk-article-meta,
.uk-text-small,
.uk-text-default,
.uk-panel,
.uk-card,
.uk-comment-body,
.uk-description-list,
.uk-list,
.uk-table,
.uk-form,
input,
textarea,
select,
button {
  font-family: "Cabin", sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6,
.uk-heading-small,
.uk-heading-medium,
.uk-heading-large,
.uk-heading-xlarge,
.uk-heading-2xlarge,
.uk-article-title,
.uk-card-title,
.uk-modal-title,
.uk-legend {
  font-family: "Mic 32 New Rounded", sans-serif;
}

/* Navbar / header / logo / menu */
.tm-header,
.tm-headerbar,
.tm-header .uk-logo,
.uk-logo,
.uk-navbar-nav > li > a,
.uk-navbar-item,
.uk-navbar-toggle,
.uk-nav-default > li > a,
.uk-nav-default .uk-nav-header,
.uk-nav-primary > li > a,
.uk-nav-secondary > li > a,
.uk-subnav > * > a,
.uk-breadcrumb > * > * {
  font-family: "Mic 32 New Rounded", sans-serif;
}

/* Knapper må gerne få Mic også */
.uk-button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  font-family: "Mic 32 New Rounded", sans-serif;
}

/* Utility classes til manuel override i YOOtheme elementer */
.font-mic {
  font-family: "Mic 32 New", sans-serif !important;
}

.font-mic-rounded {
  font-family: "Mic 32 New Rounded", sans-serif !important;
}

.font-cabin {
  font-family: "Cabin", sans-serif !important;
}

/* Vægt-klasser hvis du vil styre det mere præcist */
.font-light {
  font-weight: 300 !important;
}

.font-regular {
  font-weight: 400 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-bold {
  font-weight: 700 !important;
}
