/*
Theme Name: Mediaprenuer - Kaya child theme
Author: Anphira, LLC
Template: kaya
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaya
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Creatorprenuer HQ Specific Constants
# Typography
# Elements
# Forms
# Header
# Footer
# Home
# Newsletter Page
# Single Newsletter Post
# Popup
--------------------------------------------------------------*/

/*******************
 * 
 * Creatorprenuer HQ Specific Constants
 * 
 *******************/
:root {
    --media-heading-font: "Poppins";
    --media-purple: #8f47de;
    --media-light-purple: #aa6cf7;
    --media-beige: #F2ECDC;
    --media-link: #076aa3;
    --media-border-radius: 5px;
    --media-white: #fff;
    --media-green: #097a21;
    --media-black: #000;
    --media-gray: #999;
    --media-gray-border: #777;
    --media-almost-black: #191919;
}








/*******************
 * 
 * Typography
 * 
 *******************/

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 200;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-ExtraLight.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-Light.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-Medium.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-Bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 200;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-LightItalic.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-Italic.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-MediumItalic.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/kaya-child/fonts/Poppins-BoldItalic.ttf') format('truetype');
    font-display: swap;
}







/*******************
 * 
 * Elements
 * 
 *******************/

/* bold */
body strong,
body b {
    font-weight: 500;
}

/* hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}

.gray-text,
#colophon .site-info .gray-text p {
    color: var(--media-gray);
}


/* button */
a.button {
    padding-left: 25px;
    padding-right: 25px;
}



/* accordion */
.e-n-accordion-item {
    margin-bottom: 30px !important;
}
body .elementor-widget-n-accordion .e-n-accordion-item-title {
    border: 1px solid var(--media-purple) !important;
    border-radius: var(--media-border-radius);
    min-height: 90px;
    padding-right: 10px;
}
.e-n-accordion-item-title-icon .e-opened svg,
.e-n-accordion-item-title-icon .e-closed svg,
.e-n-accordion-item-title-icon .e-opened,
.e-n-accordion-item-title-icon .e-closed {
    width: 68px !important;
    height: 68px !important;
}

/* icon list in 2 columns */
@media (min-width: 768px) {
    .two-column-list .elementor-icon-list-items {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    .two-column-list .elementor-icon-list-items .elementor-icon-list-item {
        width: calc(50% - 10px);
    }
}
.two-column-list .elementor-icon-list-items .elementor-icon-list-item {
    font-weight: bold;
}

/* secondary button */
body .secondary-button .elementor-button.elementor-size-sm {
    border: 2px solid var(--media-white);
}

/* large white arrow */
@media (min-width: 1024px) {
    .large-white-arrow .elementor-heading-title {
        display: inline-block;
        position: relative;
    }
    .large-white-arrow .elementor-heading-title:after {
        position: absolute;
        content: '';
        background: url(/wp-content/uploads/2025/02/Arrow-72.png) no-repeat;
        background-size: contain;
        width: 60px;
        height: 60px;
        top: 30px;
        right: -90px;
    }
}

@media (min-width: 768px) {
    :is(.elementor-section-wrap,[data-elementor-id])>.e-con.gray-row {
        margin-left: 50px;
        margin-right: 50px;
        max-width: calc(100% - 100px);
    }
}
.gray-row.gray-row {
    overflow: hidden;
}






/*******************
 * 
 * Forms
 * 
 *******************/

/* convert kit newsletter form */
.formkit-field{
    width: 65%;
}
.formkit-submit {
    width: 35%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.formkit-form .formkit-fields {
    flex-direction: row;
    display: flex;
}
.formkit-form .formkit-input {
    padding: 12px 15px;
    border-color: var(--media-gray-border);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-width: 1px;
    background: var(--media-almost-black);
    color: var(--media-white);
}

.white-form-border .formkit-fields {
    border: 2px solid var(--media-white);
    border-radius: var(--media-border-radius);
}

/* sidebar form */
#secondary .formkit-submit {
    padding: 7px;
}

/* fluent forms dark fields */
input[type=text],
input[type=email],
input[type=tel],
textarea {
    background: var(--media-almost-black);
    color: white;
}
body .fluentform .ff-el-form-control {
    border-width: 1px;
}
body .ff-default .ff_btn_style {
    padding: 12px 24px;
}


/* success message */
body .fluentform ul.ff_coupon_responses .ff_success {
    color: var(--media-green);
}

/* credit card field */
.ff_stripe_card_element {
    background: var(--media-white);
}





/*******************
 * 
 * Header
 * 
 *******************/

#page:after {
    width: calc(100vw - 20px);
    height: 100vw;
    top: -50vw;
    left: 0;
    position: absolute;
    content: '';
    z-index: 1;
    background: radial-gradient(circle,rgba(73, 39, 109, 1) 0%, rgba(62, 5, 122, 1) 19%, rgba(0, 0, 0, 1) 60%);
}

#masthead {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    z-index: 2;
}
#content {
    z-index: 2;
    position: relative;
}
@media (max-width: 767px) {
    #masthead .container > div:first-child {
        display: none;
    }
}

/* join newsletter button */
#masthead .wp-block-button__link {
    padding: 12px 24px;
    font-size: 1.125rem;
}

/* menu */
body #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description {
    font-style: normal;
}

/* flip the carat indicator on menu hover */
.mega-toggle-on .mega-indicator {
    transform: rotate(0deg);
    transition: transform 1s ease-in-out;
}
.mega-toggle-on:hover .mega-indicator {
    transform: rotate(180deg);
    transition: transform 1s ease-in-out;
}






/*******************
 * 
 * Footer
 * 
 *******************/
html body #colophon {
    background: var(--media-black) url(/wp-content/uploads/2025/04/footer-m-background.png) no-repeat;
    background-size: 45%;
    background-position: 95% 0;
}
body #colophon .site-info {
    background: transparent;
}
#colophon .footer-columns > div {
    padding-top: 50px;
    max-width: 710px;
}
#colophon .site-info .copyright-line,
.site-info-bottom-line {
    font-size: 1rem;
}
#colophon .site-info .copyright-line a {
    padding: 5px 10px;
    display: inline-block;
    margin-top: 20px;
    text-underline-offset: 10px;
    text-decoration-color: var(--media-gray);
}

body #colophon .site-info,
body #colophon .site-info p {
    background: transparent;
}
@media (min-width: 768px) {
    .width-50 {
        width: calc(50% - 15px);
    }
}







/*******************
 * 
 * Home
 * 
 *******************/

/* home why founders fail grid */
.home-why-grid.home-why-grid {
    padding: 25px;
    gap: 0;
    z-index: 10;
    position: relative;
}

/* 3 part system arrows */
@media (min-width: 768px) {
    .arrow-after:after {
        position: absolute;
        content: '';
        background: url(/wp-content/uploads/2025/04/Icon-20.png) no-repeat;
        background-size: 100%;
        top: 50px;
        right: -60px;
        z-index: 10;
        width: 100px;
        height: 100px;
    }
}

/* purple line after why founders fail at linked in */
@media (min-width: 1024px) {
    .purple-line-after:after {
        content: '';
        height: 100%;
        width: 4px;
        position: absolute;
        right: -12px;
        background: linear-gradient(0deg,rgba(30, 30, 30, 0) 0%, rgba(143, 71, 222, 1) 50%, rgba(30, 30, 30, 0) 100%);
    }
}
/*@media (max-width: 1023px) {
    .purple-line-after:after {
        content: '';
        width: 100%;
        height: 4px;
        position: absolute;
        bottom: -12px;
        background: linear-gradient(90deg,rgba(30, 30, 30, 0) 0%, rgba(143, 71, 222, 1) 50%, rgba(30, 30, 30, 0) 100%);
    }
}*/

/* glowing background */
.glowing-background {
    position: relative;
    overflow: hidden;
}
.glowing-background:after {
    background: radial-gradient(circle,rgba(143, 71, 222, 1) 19%, rgba(30, 30, 30, 1) 65%);
    content: '';
    height: 60%;
    width: 65%;
    right: -7%;
    bottom: -30px;
    position: absolute;
    z-index: 1;
}






/*******************
 * 
 * Newsletter Page
 * 
 *******************/
/* newsletter_list */
.newsletter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding-left: 0;
}
@media (max-width: 767px) {
    .newsletter-list {
        flex-direction: column;
    }
}
@media (min-width: 768px) {
    .home-newsletter-post {
        width: calc(50% - 11px);
    }
}
.home-newsletter-link {
    display: block;
    padding: 10px;
    border: 1px solid var(--media-purple);
    position: relative;
    border-radius: var(--media-border-radius);
    background: var(--media-almost-black);
    display: flex;
    gap: 30px;
    text-decoration: none !important;
}

.home-newsletter-link:hover .mb0 {
    color: var(--media-light-purple);
}
.home-newsletter-link .mb0 {
    width: calc(100% - 100px - 6rem);
}
.newsletter-count {
    display: inline-flex;
    background: var(--media-white);
    color: var(--media-almost-black);
    border-radius: var(--media-border-radius);
    min-width: calc(3rem + 20px);
    min-height: calc(3rem + 20px);
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}
.home-newsletter-link .fas.fa-arrow-right {
    display: inline-flex;
    min-width: calc(3rem + 20px);
    min-height: calc(3rem + 20px);
    border-radius: var(--media-border-radius);
    color: var(--media-white);
    background: var(--media-purple);
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}








/*******************
 * 
 * Single Newsletter Post
 * 
 *******************/
.single .entry-header {
    background: var(--media-almost-black);
    color: var(--media-white);
    padding: 40px;
    margin-bottom: 20px;
    border-radius: var(--media-border-radius);
}
.single .entry-header .entry-title {
    color: var(--media-white);
}
@media (min-width: 768px) {
    .sidebar-right #primary.has-sidebar {
        border-right: none;
    }
}

.author_details .avatar {
    display: none;
}

.post-navigation .nav-previous, 
.posts-navigation .nav-previous,
.post-navigation .nav-next, 
.posts-navigation .nav-next {
    float: none;
    width: 100%;
    text-align: left;
    background: var(--media-almost-black);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 20px;
}
.nav-previous::before,
.nav-next::after {
    content: none;
}


/* CTA area */
.purple-cta-background {
    background: var(--media-purple) url(/wp-content/uploads/2025/01/logo-white.png) no-repeat;
    border-radius: var(--media-border-radius);
    background-size: 50px;
    background-position: calc(100% - 10px) 10px;
    color: var(--media-white);
    padding: 20px 60px 20px 20px;
    margin: 15px 0 30px;
}
.purple-cta-background h2,
.purple-cta-background p {
    color: white;
}
.purple-cta-background .formkit-fields {
    border: 2px solid var(--media-white);
    border-radius: var(--media-border-radius);
}

.site-main .post-navigation {
    margin-top: 50px;
}

/* related issues */
#related-posts .purple-cta-background {
    display: block;
    border:2px solid var(--media-purple);
}
#related-posts .purple-cta-background h3 {
    color:white;
}
#related-posts .purple-cta-background:hover {
    background: var(--media-beige);
    color: var(--media-purple);
}
#related-posts .purple-cta-background:hover h3,
#related-posts .purple-cta-background:hover p {
    color: var(--media-purple);
}

/* sidebar */
@media (min-width: 768px) {
    #secondary {
        position: sticky;
        top: 50px;
    }
}

/* fancy bullets */
.single-newsletter ul:not(.elementor-editor-element-settings) {
    list-style-type: none;
    padding-left: 25px; /* Adjust spacing as needed */
}
.single-newsletter ul:not(.elementor-editor-element-settings) li {
    position: relative;
}
.single-newsletter ul:not(.elementor-editor-element-settings) li::before {
    content: "";
    background-image: url(/wp-content/uploads/2025/04/bullet.png);
    background-size: 15px 15px;
    width: 1.125rem;
    height: 1.125rem;
    position: absolute;
    left: -25px;
    top: 5px; /* Adjust vertical alignment as needed */
    background-repeat: no-repeat;
}
@media (min-width: 768px) {
    .single-newsletter ul.fancy-bullet {
        display: flex;
        flex-wrap: wrap;
        gap: 4%;
    }
    .single-newsletter ul.fancy-bullet li {
        width: 48%;
    }
}



/*******************
 * 
 * Popup
 * 
 *******************/
body .hustle-ui.module_id_1 .hustle-main-wrapper { background: #1e1e1e; border-radius: 20px; padding: 30px;}
body .hustle-ui.module_id_1 .hustle-layout .hustle-title,
body .hustle-ui.module_id_1 .hustle-layout .hustle-subtitle {
    font-family: Poppins, sans-serif;
}
body .hustle-ui .hustle-info.hustle-info--stacked .hustle-layout .hustle-layout-header {
    padding-bottom: 0;
}
body .hustle-ui.module_id_1 .hustle-layout .hustle-content {
    padding-top: 0;
}
body .hustle-ui.module_id_1 .hustle-layout .hustle-title {
    font-weight: 500;
    font-size: 2rem;
}
body .hustle-ui.module_id_1 .hustle-layout .hustle-subtitle {
    font-weight: 300;
    font-size: 1.125rem;
}
body .hustle-ui.module_id_1 .hustle-layout .hustle-layout-header {
    border: none;
}

@media (min-width: 768px) {
    .hustle-ui .flexbox {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}
.hustle-ui .popup-checkbox {
    font-family: Poppins, sans-serif;
    width: 33%;
    padding-left: 40px;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
    background: url(/wp-content/uploads/2025/04/checkmark.svg) no-repeat;
    background-size: 30px;
}
.hustle-ui .formkit-fields > p {
    width: 35%;
}
.hustle-ui .formkit-fields > p > .formkit-submit {
    width: 100%;
    padding: 14px;
}
.hustle-ui .formkit-fields  p {
    margin-bottom: 0 !important;
}