/**
 * Full-Width Breaker Module Component
 * 
 * A full-width content section that breaks up the page flow,
 * typically used for newsletter signup, promotions, or callouts.
 * 
 * Styled with the Capital Chronicle brand kit - minimalist with
 * white background, black text, and subtle accents.
 */

.full-width-breaker {
    grid-column: 1 / -1; /* Full width in grid layout */
    margin: 60px 0;
    padding: 50px 40px;
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border-primary);
    text-align: center;
    position: relative;
}

.breaker-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.breaker-headline {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--color-text-primary);
}

.breaker-subheading {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0 0 24px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter Form Styling */
.breaker-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.form-group {
    display: flex;
    width: 100%;
}

@media (min-width: 576px) {
    .breaker-form {
        flex-direction: row;
        align-items: stretch;
    }
    
    .form-group:first-child {
        flex: 1;
}
}

.breaker-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--color-border-medium);
    background-color: var(--color-background-primary);
    color: var(--color-text-primary);
    transition: border-color 0.2s ease;
}

.breaker-input:focus {
    outline: none;
    border-color: var(--color-accent-secondary);
    box-shadow: 0 0 0 2px rgba(0, 99, 190, 0.2);
}

.breaker-button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--color-brand-primary);
    color: var(--color-text-primary);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.breaker-button:hover {
    background-color: var(--color-brand-secondary);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px var(--color-shadow-light);
    text-decoration: none;
}

.breaker-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(252, 208, 8, 0.4);
}

.breaker-cta {
    margin-bottom: 24px;
}

/* Features List */
.breaker-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    color: var(--color-accent-secondary);
    font-size: 18px;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Breaker Variants */
/* Premium Breaker Module - Enhanced Styling */
.full-width-breaker--premium {
    background-color: var(--color-background-primary);
    border: 1px solid var(--color-border-medium);
    box-shadow: 0 3px 20px var(--color-shadow-medium);
    padding: 40px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

/* Premium pattern background */
.premium-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, var(--color-background-secondary) 25%, transparent 25%), 
        linear-gradient(225deg, var(--color-background-secondary) 25%, transparent 25%), 
        linear-gradient(45deg, var(--color-background-secondary) 25%, transparent 25%), 
        linear-gradient(315deg, var(--color-background-secondary) 25%, var(--color-background-primary) 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    opacity: 0.03;
    z-index: 0;
}

.full-width-breaker--premium .breaker-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* Premium badge */
.premium-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    gap: 8px;
    color: var(--color-brand-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.premium-badge svg {
    width: 16px;
    height: 16px;
}

/* Premium typography */
.full-width-breaker--premium .breaker-headline {
    color: var(--color-text-primary);
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
    
.full-width-breaker--premium .breaker-subheading {
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.6;
}

/* Premium tiers */
.premium-tiers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
    margin-top: 50px; /* Add more space above pricing tiers */
}

.premium-tier {
    flex: 1;
    min-width: 240px;
    max-width: 340px;
    padding: 24px;
    background-color: var(--color-background-secondary);
    border-radius: 5px;
    border: 1px solid var(--color-border-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premium-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color-shadow-light);
}

.premium-tier--highlight {
    border: 1px solid var(--color-brand-primary);
    background-color: rgba(252, 208, 8, 0.03);
    position: relative;
}

.premium-tier--highlight::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-brand-primary);
    color: #121212;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    z-index: 5;
}

.premium-tier-header {
    text-align: center;
    margin-bottom: 20px;
}

.premium-tier-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 12px;
}

.premium-tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 4px;
}

.premium-tier-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.premium-tier-period {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-left: 4px;
}

.premium-tier-savings {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-status-success);
    margin-top: 8px;
}

/* Premium buttons */
.premium-tier-cta {
    text-align: center;
}

.full-width-breaker--premium .breaker-button,
.premium-button {
    background-color: var(--color-brand-primary);
    color: #121212;
    padding: 14px 24px;
    font-weight: 600;
    width: 100%;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.premium-button--secondary {
    background-color: transparent;
    border: 1px solid var(--color-brand-primary);
    color: var(--color-text-primary);
}

.full-width-breaker--premium .breaker-button:hover,
.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(252, 208, 8, 0.25);
}

.premium-button--secondary:hover {
    background-color: rgba(252, 208, 8, 0.1);
    box-shadow: 0 5px 12px rgba(252, 208, 8, 0.15);
}

/* Money-back guarantee */
.premium-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
    max-width: 500px;
    padding: 12px 20px;
    background-color: rgba(28, 125, 67, 0.08);
    border-radius: 4px;
}

.guarantee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-status-success);
}

.premium-guarantee p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-primary);
}

/* Premium features */
.premium-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px auto 30px;
    max-width: 700px;
    gap: 40px;
}

.premium-features-clean {
    margin: 30px auto 20px;
}

.premium-features-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 260px;
}

.feature.premium-feature {
    background-color: var(--color-background-secondary);
    padding: 10px 14px;
    border-radius: 3px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-bottom: 8px;
}

.feature.premium-feature:hover {
    transform: translateX(2px);
    background-color: rgba(252, 208, 8, 0.03);
}
    
.full-width-breaker--premium .feature-text {
    color: var(--color-text-secondary);
    font-size: 15px;
}

.full-width-breaker--premium .feature-icon {
    color: var(--color-brand-primary);
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium testimonial */
.premium-testimonial {
    margin-top: 40px;
    padding: 30px 40px;
    border-top: 1px solid var(--color-border-light);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.premium-testimonial-clean {
    margin-top: 30px;
    padding: 20px 40px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    font-size: 40px;
    line-height: 0;
    color: var(--color-brand-primary);
    opacity: 0.5;
    vertical-align: -10px;
    margin-right: 4px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Responsive styles */
@media (max-width: 768px) {
    .full-width-breaker--premium {
        padding: 50px 30px;
    }

    .premium-features {
        flex-direction: column;
        gap: 20px;
    }

    .premium-testimonial {
        padding: 25px 20px;
    }
    
    .full-width-breaker--premium .breaker-headline {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .full-width-breaker--premium {
        padding: 40px 20px;
    }
    
    .premium-tier {
        min-width: 100%;
    }
    
    .premium-tiers {
        gap: 30px;
    }
    
    .full-width-breaker--premium .breaker-headline {
        font-size: 24px;
    }
    
    .full-width-breaker--premium .breaker-subheading {
        font-size: 15px;
    }
    
    .premium-tier-amount {
        font-size: 28px;
    }
}

.full-width-breaker--accent {
    background-color: var(--color-background-tertiary);
    border: 1px solid var(--color-border-medium);
}

.full-width-breaker--accent .breaker-button {
    background-color: var(--color-brand-primary);
    color: #121212;
}

.full-width-breaker--accent .breaker-button:hover {
    background-color: var(--color-brand-secondary);
}

.full-width-breaker--accent .feature-icon {
    color: var(--color-brand-primary);
}

/* Newsletter subscription styles */
.full-width-breaker--newsletter {
    background-color: var(--color-background-tertiary);
    border: 1px solid var(--color-border-primary);
    padding: 30px;
    margin: 40px 0;
}

.newsletter-form {
    max-width: 500px;
    margin: 24px auto 0;
}

.newsletter-form-group {
    display: flex;
    margin-bottom: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--color-border-medium);
    background-color: var(--color-background-primary);
    color: var(--color-text-primary);
    border-radius: 3px 0 0 3px;
    min-width: 0;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-brand-primary);
    box-shadow: 0 0 0 2px rgba(252, 208, 8, 0.15);
}

.newsletter-button {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    background-color: var(--color-brand-primary);
    color: #121212;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(252, 208, 8, 0.3);
    background-color: var(--color-brand-secondary);
    text-decoration: none;
}

.newsletter-privacy {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 12px;
}

@media (max-width: 576px) {
    .newsletter-form-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        width: 100%;
        border-radius: 3px;
        margin-bottom: 8px;
    }
    
    .newsletter-button {
        width: 100%;
        border-radius: 3px;
    }
}

.full-width-breaker--image {
    position: relative;
    background-color: transparent;
    border: none;
    padding: 60px 40px;
    overflow: hidden;
    color: var(--color-text-light);
}

.full-width-breaker--image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.breaker-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.full-width-breaker--image .breaker-content-wrapper {
    position: relative;
    z-index: 2;
}

.full-width-breaker--image .breaker-headline,
.full-width-breaker--image .breaker-subheading,
.full-width-breaker--image .feature-text {
    color: var(--color-text-light);
}

.full-width-breaker--image .feature-icon {
    color: var(--color-brand-primary);
}

/* Accessibility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-center {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .full-width-breaker {
        padding: 30px 20px;
    }
    
    .breaker-headline {
        font-size: 24px;
}

    .breaker-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .full-width-breaker {
        padding: 24px 16px;
    }
    
    .breaker-headline {
        font-size: 22px;
}

    .breaker-subheading {
        font-size: 15px;
    }
} 