/**
 * Brand Page Template Styles
 * Creative Advisor Brand Colors
 * 
 * This stylesheet is conditionally loaded only when the Brand Page Template is active.
 */

/* Brand Page Wrapper */
.brand-page-wrapper {
    background: #ffffff;
}

/* Masthead Section */
.brand-masthead {
    background: #FF4D37;
    color: #ffffff;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    margin-left: -50%;
    margin-right: -50%;
}

.brand-masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0.5;
}

.brand-masthead-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.brand-masthead h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

.brand-masthead .subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
    font-weight: 300;
}

/* Content Container */
.brand-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* Introduction Section */
.brand-introduction {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.brand-introduction p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #120808;
    margin-bottom: 1.5rem;
}

.brand-introduction p:last-child {
    margin-bottom: 0;
}

/* Main Content */
.brand-main-content {
    max-width: 1190px;
    margin: 0 auto;
}

.brand-main-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #120808;
    margin: 50px 0 20px 0;
    padding-top: 30px;
    border-top: 3px solid #001DFF;
}

.brand-main-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.brand-main-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #120808;
    margin: 35px 0 15px 0;
}

.brand-main-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.brand-main-content ul,
.brand-main-content ol {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 1.5rem 0 1.5rem 2rem;
}

.brand-main-content li {
    margin-bottom: 0.75rem;
}

.brand-main-content a {
    color: #001DFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 29, 255, 0.3);
    transition: all 0.2s ease;
}

.brand-main-content a:hover {
    color: #FF4D37;
    border-bottom-color: #FF4D37;
}

/* Callout Boxes */
.brand-callout {
    background: #F7F6EC;
    border-left: 4px solid #001DFF;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 4px;
}

.brand-callout p:last-child {
    margin-bottom: 0;
}

/* Stats/Highlights Section */
.brand-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.brand-stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #E5E7EB;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.brand-stat-item:hover {
    transform: translateY(-5px);
}

.brand-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FF4D37;
    line-height: 1;
    margin-bottom: 10px;
}

.brand-stat-label {
    font-size: 1rem;
    color: #120808;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
        .brand-masthead {
        padding: 60px 0px 40px 0px;
        margin-left: -5.1%;
        margin-right: -5%;
        overflow: hidden;
    }
    
    .brand-masthead h1 {
        font-size: 2.5rem;
    }
    
    .brand-masthead .subtitle {
        font-size: 1.1rem;
    }
    
    .brand-content-container {
        padding: 40px 20px 60px;
    }
    
    .brand-main-content h2 {
        font-size: 1.6rem;
    }
    
    .brand-main-content h3 {
        font-size: 1.3rem;
    }
    
    .brand-main-content p,
    .brand-main-content ul,
    .brand-main-content ol {
        font-size: 1rem;
    }
    
    .brand-stats {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .brand-masthead {
        background: #FF4D37;
        padding: 40px 20px;
    }
    
    .brand-content-container {
        max-width: 100%;
    }
}