/*
Theme Name: Course Child
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: course
Text Domain: course-child
Tags: 
*/

/* Header icons *//*
header .wp-container-core-group-is-layout-2 {
  display: none !important;
} */

/*
[class*="wp-container-core-group-is-layout-"] > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
[class*="wp-container-core-post-content-is-layout-"] > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1350px !important;
} */

/*
@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Light.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Bold.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Medium.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Minion Pro';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//MinionPro-Regular.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//MinionPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//MinionPro-Regular_1.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//MinionPro-Regular_1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AkzidenzGrotesk';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//AkzidenzGrotesk-Black.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//AkzidenzGrotesk-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Light_1.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Light_1.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Bold_1.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Bold_1.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue_1.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue_1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Effra';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//Effra-Regular.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//Effra-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Effra';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//EffraLight-Regular.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//EffraLight-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Light_2.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Light_2.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Bold_2.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Bold_2.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue_2.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Medium_1.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//HelveticaNeue-Medium_1.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Effra';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//Effra-Medium.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//Effra-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Effra';
    src: url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//Effra-Bold.woff2') format('woff2'),
         url('https://dnzeduhubdev.wpenginepowered.com//wp-content/themes/course-child/font//Effra-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
*/



/* Reset default margins and ensure box-sizing is consistent */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base typography styles */
body {
  /*font-family: "Effra", Helvetica, sans-serif; /* Updated font stack */
  font-family: Verdana, Geneva, Helvetica, sans-serif; /* Updated font stack */
  font-size: 16px; /* Base font size for rem calculations */
  line-height: 1.6; /* Default line height for readability */
  /*color: #333; /* Soft black for text */
}

html, cite, blockquote, input, textarea {
    font-family: Verdana, Geneva, Helvetica, sans-serif; /*test*/
}

/* Headings */

h1 {
  font-size: 2.83rem; /* 34pt ≈ 45.33px */
  line-height: 1.2;
color: #0E252F;	
}

h2 {
  font-size: 2.42rem; /* 29pt ≈ 38.66px */
  line-height: 1.25;
color: #0E252F;	
}

h3 {
  font-size: 1.67rem; /* 20pt ≈ 26.67px */
  line-height: 1.3;
	color: #4c7273;
}

h4 {
  font-size: 1.5rem; /* 18pt ≈ 24px */
  line-height: 1.3;
}

h5 {
  font-size: 1.33rem; /* 16pt ≈ 21.33px */
  line-height: 1.35;
}

h6 {
  font-size: 1.17rem; /* 14pt ≈ 18.67px */
  line-height: 1.4;
}

p {
  font-size: 1rem; /* 16pt ≈ 21.33px */
  line-height: 1.6;
}






/*
h1, h2, h3, h4, h5, h6 {
  font-family: "Effra", Helvetica, sans-serif; 
  font-weight: 200; 
  line-height: 1.2; 
  margin-bottom: 0.75em;
  color: #222; 
  letter-spacing: 1px;
}

h1 {
	font-size: 2.6rem; 
	margin-top: 1.5em;
	font-weight: 500;
}

h1::after {
  margin-top: 25px;
  content: ' ';
  display: block;
  border: 1.5px solid #f78da7;
  width: 50px;
}
.home h1::after{display:none;}

h2 {
	font-size: 2rem;
	margin-top: 1.25em;
}

h3 {
	font-size: 1.75rem; 
	margin-top: 1em;
}

h4 {
  font-size: 1.5rem; 
  margin-top: 0.875em;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem; 
  margin-top: 0.75em;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  margin-top: 0.625em;
  font-weight: 600;
}
*/

/* Paragraphs */
/*
p {
 font-family: 'Helvetica Neue', Helvetica, sans-serif; 
  font-size: 1.13rem;
  line-height: 1.65em;
  margin-bottom: 1.25em; 
  max-width: 75ch; 
}
*/

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem; /* 32px */
  }
  h2 {
    font-size: 1.75rem; /* 28px */
	/*font-family: 'Effra', Helvetica, sans-serif !important;  */
  }
  h3 {
    font-size: 1.5rem; /* 24px */
  }
  h4 {
    font-size: 1.25rem; /* 20px */
  }
  h5 {
    font-size: 1.125rem; /* 18px */
  }
  h6 {
    font-size: 1rem; /* 16px */
  }
  p {
    font-size: 0.9375rem; /* 15px */
  }
}

/* Optional: Hover effects or focus for accessibility */
/*  h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
  color: #007bff; 
  transition: color 0.2s ease-in-out;
} */

p a {
  color: #007bff;
  text-decoration: underline;
}

p a:hover {
  color: #0056b3;
  text-decoration: none;
}


.wp-block-navigation .button{
	background-color: transparent; /*var(--wp--preset--color--foreground);*/
	/*border-radius: var(--wp--custom--button--radius);
	border-color:
	transparent;
	border-width:
	1px;
	border-style:
	solid;
	color: var(--wp--preset--color--background);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--custom--typography--font-sizes--button);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: inherit;
	padding:
	0.9em 1.6em;
	text-decoration:
	none;
	text-transform: uppercase;*/
}
.wp-block-navigation .button a span { 
	font-weight: 700; 
	font-weight: 500;
	font-size: 20px;
}
nav.is-responsive.wp-block-navigation.is-layout-flex.wp-container-core-navigation-is-layout-7a92790e.wp-block-navigation-is-layout-flex {
    margin-top: 28px;
}


/* header */
/* header */
/* header */
.wp-site-blocks header.wp-block-template-part {
    /*background: linear-gradient(
	  90deg,
	  hsl(0deg 0% 0%) 0%,
	  hsl(179deg 55% 10%) 16%,
	  hsl(179deg 55% 14%) 30%,
	  hsl(179deg 55% 17%) 44%,
	  hsl(179deg 55% 20%) 57%,
	  hsl(179deg 55% 22%) 69%,
	  hsl(179deg 55% 20%) 79%,
	  hsl(179deg 55% 17%) 88%,
	  hsl(179deg 55% 14%) 95%,
	  hsl(179deg 55% 10%) 100%,
	  hsl(0deg 0% 0%) 100%
	) !important;*/
	background-color: #4c7273;
}
header #modal-1-content > ul.wp-block-navigation__container.is-responsive.wp-block-navigation {
	column-gap: 29px;
}
:root :where(a:where(:not(.wp-element-button)):active) {
    background-color: unset !important;
}
body:not(.logged-in) .wp-block-navigation-item.logged-in-only {
	display: none;
}
body header .is-layout-flex {
	gap: 40px;
}


/* footer */
/* footer */
/* footer */
footer.wp-block-template-part{
	background-color: #4c7273;
    /*background: linear-gradient(
	  50deg,
	  hsl(187deg 80% 8%) 0%,
	  hsl(180deg 62% 14%) 26%,
	  hsl(177deg 60% 18%) 43%,
	  hsl(176deg 59% 22%) 56%,
	  hsl(176deg 59% 25%) 66%,
	  hsl(176deg 59% 27%) 74%,
	  hsl(176deg 57% 25%) 80%,
	  hsl(176deg 55% 22%) 86%,
	  hsl(176deg 51% 18%) 91%,
	  hsl(177deg 43% 14%) 95%,
	  hsl(323deg 89% 4%) 100%
	);*/
    clear: both;
}
footer .wp-block-heading { color: #fff; }
















/** Home page **/
/** Home page **/

/* Cover block - make full width - home */
body.page-id-62 .wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100vw !important;
}
/*.entry-content.wp-block-post-content.is-layout-constrained.wp-block-post-content-is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.wp-container-core-group-is-layout-7 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100vw !important;
}*/
.home .wp-site-blocks .has-global-padding {
    padding-right: 0px;
    padding-left: 0px;
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0rem;
}
div.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-5.wp-block-group-is-layout-constrained{
	padding-top: 0px !important;
}


/* Home - popular-courses */
.home-popular-courses ul.wp-block-post-template > li.wp-block-post {
    width: 31%;
    float: left;
    /*margin-right: 30px;*/
}
.home-popular-courses ul.wp-block-post-template > li.wp-block-post:not(:last-child){
	margin-right: 30px;
} 
.home-popular-courses h2.wp-block-post-title a {
	font-size: 20px;
	font-weight: 700;
	font-family: Verdana, Geneva, Helvetica, sans-serif;
}


.wp-block-post-content .wp-block-post-title > h2 { 
	/*padding-top: 0;*/
}
body .wp-block-post-content h2 { 
	/*padding-top: 0 !important;*/
	margin-block-start: 0em !important; 
}
h1, h2 {
    line-height: 1.4;
}

.logged-in-text, .logged-out-text {
	color: #fff;
	margin-block-start: 0.5rem;
}
body:not(.logged-in) .logged-in-text {
	display: none;
}
body.logged-in .logged-out-text {
	display: none;
}

body > div > main > div > p.section-intro-text{
	max-width: 1020px !important;
	padding-left: 10px;
	padding-right: 10px;
	/* background-color: green */
}
body > div > main .green-background {
	background-color: rgba(76, 114, 115, 0.85);
	border-radius: 30px;
	padding: 20px 30px;
}

:root .wp-block-sensei-lms-course-categories>a {
    background-color: #4c7273;
}

body.member-logged-in .woocommerce.wc-memberships.wc-memberships-frontend-banner.admin-restricted-content-notice{
	display: none !important;
}

.wp-block-buttons.is-content-justification-left.wp-block-buttons-is-layout-flex {
    gap: 1.5rem;
}

/** Home page **/
/** Home page - end **/

/** General pages **/
/** General pages **/
body:not(.home) main.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-top: 40px;
}

/** General pages **/

/** Course pages **/
/** Course pages **/
body.course-template-default > .wp-site-blocks > main.wp-block-group.is-layout-flow{
	margin-top: 40px;
}
/** Course pages **/

/** Course archive page **/
.wp-block-sensei-lms-course-list-filter > select { display: none; }
body .wp-block-post.course.type-course/*.user-status-active*/ > .wp-block-group.aligncenter.is-layout-flow.wp-block-group-is-layout-flow > .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex { flex-direction: column; }

.wp-block-sensei-lms-course-list--is-list-view .sensei-cta .wp-block-button__link{ float: left; }
.wp-block-sensei-lms-course-list--is-list-view .wp-block-sensei-lms-button-continue-course{ text-align: left; }
button.wp-block-button__link { font-size: 20px; font-weight: 500; text-transform: uppercase; }
/*button.wp-block-button__link span.woocommerce-Price-amount.amount,
button.wp-block-button__link span.woocommerce-Price-amount.amount span { display: none; }*/
/** Course archive page **/

/** login page **/
.woocommerce-privacy-policy-text{
	margin-bottom: 1em;
}

