/* Custom Content Block */
.custom-content-block {
    padding: 70px 0;
    width: 100%;
}

.custom-content__inner {
    color: var(--text);
    line-height: 1.6;
}

.custom-content__inner h1,
.custom-content__inner h2,
.custom-content__inner h3,
.custom-content__inner h4,
.custom-content__inner h5,
.custom-content__inner h6 {
    color: var(--text);
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.3;
}

.custom-content__inner h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
}

.custom-content__inner h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.2rem);
    font-weight: 600;
}

.custom-content__inner h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.custom-content__inner h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

.custom-content__inner h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

.custom-content__inner h6 {
    font-size: 1rem;
    font-weight: 600;
}

.custom-content__inner p {
    margin: 0 0 20px;
}

.custom-content__inner p:last-child {
    margin-bottom: 0;
}

.custom-content__inner ul,
.custom-content__inner ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.custom-content__inner li {
    margin-bottom: 8px;
}

.custom-content__inner a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-content__inner a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.custom-content__inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px 0;
}

.custom-content__inner blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-content-block {
        padding: 50px 0;
    }

    .custom-content__inner h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .custom-content-block {
        padding: 40px 0;
    }

    .custom-content__inner h1 {
        font-size: 1.8rem;
    }

    .custom-content__inner h2 {
        font-size: 1.6rem;
    }

    .custom-content__inner h3 {
        font-size: 1.8rem;
    }

    .custom-content__inner h4 {
        font-size: 1.3rem;
    }

    .custom-content__inner p,
    .custom-content__inner li {
        font-size: 0.95rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-content-block {
        padding: 50px 0;
    }
    
    .custom-content__inner h3 {
        font-size: 2rem;
    }
}
