/*
Theme Name: BUV eLearning Child
Description: Custom BUV-branded child theme for the learning portal.
Author: BUV
Version: 1.0.0
Template: elearning
*/

/* Custom BUV styles will go below this line. */

/* colours */

:root {
    --e-global-typography-77edde0-font-size: 20px;
    --e-global-color-elearningcolor1: #df212b;
    --masteriyo-color-primary: #df212b;
    --masteriyo-color-primary-light: #f0444d;
    --masteriyo-color-primary-dark: #b91b23;
    --e-global-color-elearningcolor2: #b91b23;
    --masteriyo-color-primary-ink: #450a0d;
    --masteriyo-color-btn-blue-hover: #c51d26;
    --masteriyo-button-primary: #df212b;
    --masteriyo-button-primary-hover: #b91b23;
    --color-text-secondary: #606060;
    --color-neutral-50: #f4f4f5;
}

html {
    font-size: 20px !important;
}

.wp-child-theme-eLearning-child .elementor .e-flexbox-base {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5.88vw, 112px);
    box-sizing: border-box;
}

/* Buttons */
button,
input[type="button"],
input[type="submit"],
.wp-element-button,
.masteriyo-button,
a.button {
    border-radius: 0 !important;
}

/* Course cards and content containers */
.masteriyo-course,
.masteriyo-course-card,
.masteriyo-single-course,
.masteriyo-course-category--item {
    border-radius: 0 !important;
}

/* Form fields */
input,
select,
textarea {
    border-radius: 0 !important;
}

/* Images */
.masteriyo-course img {
    border-radius: 0 !important;
}

/* BUV Brandon Grotesque Bold */
@font-face {
    font-family: 'Brandon Grotesque';
    src: url('/wp-content/fonts/SVN-BrandonGrotesque-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Grotesque';
    src: url('/wp-content/fonts/SVN-BrandonGrotesque-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('/wp-content/fonts/WorkSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('/wp-content/fonts/WorkSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}

h1 {
    font-family: 'Brandon Grotesque', sans-serif;
    font-size: 4em;
    font-weight: 900;
}


h2, h2.masteriyo-course-list-display-section .masteriyo-course--content__title {
    font-family: 'Brandon Grotesque', sans-serif;
    font-weight: 700;
    font-size: 3rem;
}



/* Double the size of all headings */

h3 {
    font-size: 2.4em;
}

h4 {
    font-size: 2em;
}

h5 {
    font-size: 1.6em;
}

h6 {
    font-size: 1.4em;
}

body, p, li {
    font-family: 'Work Sans', sans-serif;
}

/* Work Sans Bold for smaller headings */
h5,
h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
}


 .masteriyo-archive-card {
  display: flex;
  padding: 0px;
  flex-direction: column;
  border-radius: 0px;
  background: var(--masteriyo-color-white);
  gap: 30px;
  box-shadow: none !important;;
  height: -moz-max-content;
  height: max-content;
}

.masteriyo-single-header {
      border: 1px solid black;
      box-shadow: none !important;;
}


.uppercase {
    text-transform: uppercase;
}

.masteriyo-course-category .masteriyo-course-category--item {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: 'Brandon Grotesque', sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.4;

    text-transform: uppercase;


    color: #4b5563;
    border: none;
    padding: 0;
    transform: none;

     letter-spacing: 0.1em;
    -webkit-font-smoothing: auto;
}

.masteriyo-course-author-rating-wrapper {
    display: none !important;
}