/*
 Theme Name:  Becoming Us
 Description:  Child Theme
 Author:       Sam Woods
 Author URI:   https://outofthewoods.com.au
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/


/** ===== HEADER ===== **/

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding: 37px 0 31px 0;
}

.et_pb_sticky--top .et_pb_menu__logo a img {
    content: url(https://ootw.au/becomingus/wp-content/uploads/2025/05/BU_Logo_Long_Dark.png);
}

/** ===== MAIN ===== **/

/** == FONTS == **/

@font-face {
  font-family: 'Rastanty Cortez';
  src: url(https://ootw.au/becomingus/wp-content/uploads/et-fonts/28271883299.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {	
font-family: 'Galano Grotesque';
  src: url(https://ootw.au/becomingus/wp-content/uploads/et-fonts/GalanoGrotesque-Regular.otf) format('opentype');
  font-weight: normal;
  font-style: normal;
}

strong, p a {
	font-family: 'Galano Grotesque Bold', Helvetica, Arial, Lucida, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	padding: 10px 0;
}

::marker {
    font-family: 'Galano Grotesque Bold';
}

ul {
	list-style: disc;
}

/*p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}*/

/** ® **/

.FP h1.et_pb_module_header::after {
  content: "®";
  font-family: 'Rastanty Cortez', Helvetica, Arial, sans-serif !important;
}

.learndash-wrapper .ld-focus .ld-tab-content ol:not(.blocks-gallery-grid):not(.wp-block-gallery), .learndash-wrapper .ld-focus .ld-tab-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery) {
    margin: 0;
}

/** ===== PAGE TITLES ===== **/
.entry-title .first-word {
    font-family: 'Northwell';
    font-size: 300%;
}

/** ===== POSTS ===== **/
.et_pb_text_inner ol, .et_pb_text_inner ul {
    padding-left: 30px !important;
}

.et_pb_text_inner ol li, .et_pb_text_inner ul li {
    padding-bottom: 5px;
}


/** ===== LEARN DASH ===== */
 
.learndash-wrapper .ld-login-modal {
    margin: 35% 50% 20px;
}

span.ld-text.ld-user-welcome-text {
    line-height: normal;
}

.learndash-wrapper.learndash-wrapper--topic {
    /*max-width: 1080px;*/
    margin-left: auto;
    margin-right: auto;
}

.learndash-wrapper .et_pb_row.et_pb_row_0 {
    width: 100% !important;
    max-width: 1080px;
}

@media only screen and (max-width: 767px) {
.learndash-wrapper .ld-focus .et-boc,
.learndash-wrapper .ld-focus .et-boc .ld-focus-main .ld-focus-content {
	width: 100%;
}
}

.learndash-wrapper .ld-modal {
	z-index: 100001;
}

/*.ld_course_category-on-demand img {
    display: none;
}*/

/** == HIDE SCREEN READER TEXT == **/

.learndash-wrapper .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}




/** ===== ICON SWAP =====*/

/* FOR IDEAS */

h5 {
    display: flex;
    align-items: center;
    background: #2c495b;
    padding: 15px 15px 15px 10px;
    color: #ffffff !important;
    margin-bottom: 20px;
    gap: 15px;
}

h5::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 86px;
    background-image: url(https://ootw.au/becomingus/wp-content/uploads/2025/06/BU_Idea-WH@2x.png);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    margin-left: 5px;
}


/* FOR SEEDS (change image and colour) */

.h5-has-strong-only {
  background: #8a964e;
}

.h5-has-strong-only::before {
  background-image: url(https://ootw.au/becomingus/wp-content/uploads/2025/06/BU_Seed-WH@2x.png);
}

/* FOR HANDOUTS (change image and colour) */

.h5-has-italic-only {
  background: #f5907c; 
}

.h5-has-italic-only::before {
  background-image: url(https://ootw.au/becomingus/wp-content/uploads/2025/06/BU_Handout-WH@2x.png);
}

/* FOR BONOCULARS (change image and colour) */

.h5-has-bold-italic-only {
  background: #8ebeac;
}
.h5-has-bold-italic-only::before {
  background-image: url(https://ootw.au/becomingus/wp-content/uploads/2025/07/BU_Couples-WH@2x.png);
}

/** ===== VIDEOS ===== **/

.ld-video {
    margin-bottom: 20px;
}

a.ytp-impression-link {
    display: none;
}

/** ===== NOTE ICON ===== **/

h5 .pdf-icon {
  margin-right: 0.4em;
  color: #ffffff;
  font-size: 1em;
  vertical-align: middle;
}

h5 a.has-pdf-icon:hover .pdf-icon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
opacity: 0.5;
}

h5 a:hover {
	color: #ffffff50;
}

.pdf-icon {
  margin-right: 0.4em;
  color: #2c495b;
  font-size: 1em;
  vertical-align: middle;
}

a.has-pdf-icon:hover .pdf-icon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
  opactiy: 0.5;
}

a:hover {
	opacity: 0.5;
}

/* Hide the second icon if two are present in a row */
/* Hide duplicate PDF icon if it immediately follows another inside the same link */
a.has-pdf-icon .pdf-icon:first-of-type + .pdf-icon {
  display: none;
}

/** ===== FOOTER ===== **/

#footer-links ul {
    display: block;
}
