/*
Theme Name:     Marianne.com
Author:         Elephunkie
Author URI:     https://elephunkie.com
Template:       Divi
Version:        1.6
Description:    A custom theme for Marianne.com
*/

/* ----------- ELEPHUNKIE CUSTOM CSS -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/* Import Typekit Fonts */
@import url("https://p.typekit.net/p.css?s=1&k=ufd0waw&ht=tk&f=4455.4616.4677.5018.5045.5286.6670.12046.12048.12051.12054&a=17780863&app=typekit&e=css");
@import url("fonts.css"); /* Link to external font declarations file */

/* Hide social-icon content */
#et-main-area > footer a.social-icon.members-icon.column-6:hover::before {
    content: none; /* Hides the :before content */
}

/* Social Icons */
.mw-social-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 50px;
    max-height: 50px;
    padding: 0 10px;
}

.mw-social-icons .social-icon i {
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mw-5-icons .social-icon i {
    color: #E5C773; /* Base color */
}

.mw-5-icons .social-icon:hover i {
    color: #335e83 !important; /* Hover color */
    transform: scale(1.1); /* Scale effect */
}

.mw-6-icons .social-icon i {
    color: #eaf3f8; /* Base color */
}

.mw-6-icons .social-icon:hover i {
    color: #e6c673 !important; /* Hover color */
    transform: scale(1.1);
}

/* Divi Module Button Hover */
.et_pb_button:hover {
    text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .mw-social-icons {
        flex-direction: row;
        justify-content: space-evenly;
        padding: 10px 0;
    }

    .social-box {
        flex: 1;
        max-width: 30px;
        max-height: 30px;
    }

    .mw-social-icons .social-icon i {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .mw-social-icons .social-box i {
        color: #2e3c5d;
    }

    .mw-social-icons .social-box i:hover {
        color: #E5C773;
    }
}

/* Fullwidth Header */
.et_pb_fullwidth_header .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    text-align: center;
}
.et_pb_fullwidth_header .et_pb_module_header,
.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
    display: inline-block;
    vertical-align: middle;
}
.et_pb_fullwidth_header .et_pb_module_header {
    font-weight: bold;
    margin-right: 10px;
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
    font-weight: normal;
}

/* Custom Rows */
@media all and (max-width: 980px) {
    .custom_row {
        display: flex;
        flex-wrap: wrap;
    }

    .first-on-mobile { order: 1; }
    .second-on-mobile { order: 2; }
    .third-on-mobile { order: 3; }
    .fourth-on-mobile { order: 4; }

    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

/* Text Formatting */
.tisa-body, .tisa-body ul li {
    font-family: 'Tisa Pro', serif !important;
}
.tisa-body ul { padding-top: 10px; }
.diamonds {
    padding-bottom: 2em !important;
}
ul.diamonds, .et_pb_text_2 ul, .et_pb_text_3 ul {
    list-style-type: none !important;
}
ul.diamonds li::before {
    content: "◆ ";
    margin-left: -1em;
}
.diamonds li p {
    display: none;
}

/* Diagonal Strike */
.diagonal-strike {
    position: relative;
    display: inline-block;
    color: #000;
    font-weight: bold;
}
.diagonal-strike::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background-color: red;
    transform: rotate(-45deg);
}

/* General Styling */
.inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}
.inline-buttons {
    text-align: center !important;
}

.ds-vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body, html {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Icon Definitions */
[data-icon]:before,
[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "marianne23" !important;
    content: attr(data-icon);
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Specific Icon Content */
.icon-twitter:before { content: "\f099"; }
.icon-play-button:before { content: "\7a"; }
.icon-facebook:before { content: "\f09a"; }
.icon-instagram:before { content: "\f16d"; }
.icon-marianne-signature:before { content: "\6d"; }
.icon-login:before { content: "\63"; }
.icon-substack:before { content: "\64"; }
.icon-youtube:before { content: "\65"; }
.icon-old-twitter:before { content: "\67"; }

/* Carousel Items */
.et_pb_carousel_items {
    height: 80px !important;
}
@media only screen and (max-width: 800px) {
    .et_pb_carousel_items {
        height: 103px !important;
    }
}
@media only screen and (max-width: 400px) {
    .et_pb_carousel_items {
        height: 46px !important;
    }
}

/* Mobile Menu */
.mobile_menu_bar:before {
    content: "MENU";
    font-family: 'Poppins', sans-serif !important;
    display: inline-block !important;
    text-align: center !important;
    font-weight: bold !important;
    font-size: 18px !important;
    position: relative !important;
    margin-right: 5px !important;
    color: white !important;
    font-weight: 500 !important;
}

.mobile_menu_bar:after {
    content: "☰";
    display: inline-block !important;
    font-weight: bold !important;
    font-size: 21px !important;
    position: relative !important;
    top: 0px !important;
    color: white !important;
}

.et_mobile_menu li a {
    color: #11183a !important;
    padding: 6px 1% !important;
    border-style: inset;
}

.et_pb_fullwidth_menu .et_pb_row {
    min-height: 61px !important;
}

/* Social Icons Hover Effects */
.mw-social-icons .social-box i:hover {
    color: #2e3c5d;
}

/* Login Button Customization */
body #page-container .et_pb_section .dsm_button_0_tb_body .et_pb_button_one.et_pb_button:before {
    font-size: 18px !important;
    font-weight: 900 !important;
}

/* Specific Location Info Box */
.loc-info {
    max-width: 582px;
}

/* Inline Button Modules */
.mw-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}