/* Lead Magnet Manager — Custom Template Styles */

/* ---- Page wrapper ---- */
.lmm-custom-template {
    background: #f8f9fa;
    min-height: 60vh;
}

.lmm-custom-main {
    padding: 0 0 64px;
}

/* ---- Container ---- */
.lmm-custom-container {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ---- Hero header ---- */
.lmm-custom-header {
    background: #fff;
    padding: 56px 0 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.lmm-custom-hero-image {
    margin-bottom: 28px;
}

.lmm-hero-img {
    max-height: 280px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.lmm-custom-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: #1d2327;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ---- Editor content ---- */
.lmm-custom-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.7;
    color: #2c3338;
}

.lmm-custom-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1d2327;
    margin-top: 36px;
}

.lmm-custom-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d2327;
    margin-top: 28px;
}

.lmm-custom-content ul,
.lmm-custom-content ol {
    padding-left: 24px;
}

.lmm-custom-content li {
    margin-bottom: 8px;
}

.lmm-custom-content p:last-child { margin-bottom: 0; }

/* ---- Form section ---- */
.lmm-custom-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.lmm-custom-form-section .lmm-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

/* ---- Shared form section label ---- */
.lmm-form-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 6px;
}

.lmm-form-section-subtitle {
    color: #646970;
    font-size: 15px;
    margin: 0 0 24px;
}

/* ---- Responsive ---- */
@media ( max-width: 600px ) {
    .lmm-custom-header  { padding: 36px 0 28px; }
    .lmm-custom-content { padding: 24px 20px; }
    .lmm-custom-form-section { padding: 24px 20px; }
}

/* ---- CTA Button block (front-end) ---- */
.lmm-cta-wrap {
    text-align: center;
    margin: 32px 0;
}

.lmm-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, transform .1s, box-shadow .15s;
    border: 2px solid transparent;
    line-height: 1.2;
}

.lmm-cta-btn:hover  { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.lmm-cta-btn:active { transform: translateY(0); }

/* Primary style */
.lmm-cta-btn--primary {
    background: #2271b1;
    color: #fff !important;
    border-color: #2271b1;
}
.lmm-cta-btn--primary:hover { background: #135e96; border-color: #135e96; }

/* Outline style */
.lmm-cta-btn--outline {
    background: transparent;
    color: #2271b1 !important;
    border-color: #2271b1;
}
.lmm-cta-btn--outline:hover { background: #2271b1; color: #fff !important; }
