/*
Theme Name: AffiliateCMS Child
Theme URI: https://affiliatecms.com/
Description: Child theme for AffiliateCMS Theme. Add your custom styles and overrides here.
Author: AffiliateCMS Team
Author URI: https://affiliatecms.com/
Template: affiliateCMS-theme
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affiliatecms-child
*/

/* ==========================================================================
   Custom Styles - Add your overrides below
   ========================================================================== */

/* Home Intro Section */
.home-intro {
    padding: 30px 0 10px 0;
    background-color: transparent;
}

.home-intro__title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-top: 10px;
    margin-bottom: 25px;
    text-transform: none;
}

.home-intro__title::before,
.home-intro__title::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
    margin: 0 20px;
}

.home-intro__heart {
    font-size: 22px;
    font-weight: normal;
    margin-right: 8px;
    color: #334155;
    display: inline-block;
    vertical-align: middle;
}

.home-intro__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.home-intro__logo-col {
    flex: 0 0 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-intro__logo-col img,
.home-intro__logo-col .custom-logo-link img {
    max-width: 100%;
    height: auto;
    display: block;
}

.home-intro__separator {
    width: 2px;
    height: 90px;
    background-color: #7cb941; /* Brand green matching logo */
    flex-shrink: 0;
}

.home-intro__desc-col {
    flex: 1;
}

.home-intro__desc {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.7;
    font-style: italic;
    color: #334155;
    margin: 0;
}

.home-intro__more {
    color: #0000ff;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    margin-left: 5px;
    display: inline-block;
}

.home-intro__more:hover {
    text-decoration: underline;
}

/* Dark mode compatibility */
[data-theme="dark"] .home-intro__title {
    color: #f8fafc;
}

[data-theme="dark"] .home-intro__title::before,
[data-theme="dark"] .home-intro__title::after {
    border-bottom-color: #334155;
}

[data-theme="dark"] .home-intro__heart {
    color: #cbd5e1;
}

[data-theme="dark"] .home-intro__desc {
    color: #cbd5e1;
}

[data-theme="dark"] .home-intro__more {
    color: #60a5fa;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .home-intro__content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .home-intro__logo-col {
        flex: 0 0 auto;
        width: 180px;
    }
    
    .home-intro__separator {
        width: 60%;
        height: 2px;
    }
    
    .home-intro__title {
        font-size: 17px;
    }
    
    .home-intro__title::before,
    .home-intro__title::after {
        margin: 0 10px;
    }
}

