/* Start custom CSS for shortcode, class: .elementor-element-621fa0d *//* ======================================================
   Abzar Energy - Home Inverter Guide
   Scoped styles for Elementor
   ====================================================== */

.ae-inverter-guide {
    --ae-primary: #5145cd;
    --ae-primary-dark: #3d32a8;
    --ae-primary-soft: #f2f0ff;

    --ae-orange: #f58220;
    --ae-orange-dark: #df6c0c;
    --ae-orange-soft: #fff5e9;

    --ae-dark: #171725;
    --ae-text: #333440;
    --ae-muted: #6d6e7b;

    --ae-border: #e8e8ef;
    --ae-bg: #ffffff;
    --ae-bg-soft: #f8f9fc;
    --ae-success-soft: #edf9f2;

    --ae-radius: 18px;
    --ae-radius-sm: 12px;

    font-family: inherit;
    direction: rtl;
    text-align: right;
    color: var(--ae-text);
    line-height: 2;
    font-size: 16px;
    max-width: 1100px;
    margin: 0 auto;
}


/* =====================
   General Typography
   ===================== */

.ae-inverter-guide *,
.ae-inverter-guide *::before,
.ae-inverter-guide *::after {
    box-sizing: border-box;
}

.ae-inverter-guide h1,
.ae-inverter-guide h2,
.ae-inverter-guide h3 {
    color: var(--ae-dark);
    line-height: 1.55;
    margin-top: 0;
}

.ae-inverter-guide h1 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}

.ae-inverter-guide h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 850;
    margin-bottom: 22px;
}

.ae-inverter-guide h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 30px 0 12px;
}

.ae-inverter-guide p {
    margin: 0 0 18px;
}

.ae-inverter-guide a {
    transition: all 0.2s ease;
}


/* =====================
   Hero
   ===================== */

.ae-hero {
    position: relative;
    overflow: hidden;
    padding: 48px;
    margin-bottom: 34px;
    border: 1px solid var(--ae-border);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(245, 130, 32, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 10%,
            rgba(81, 69, 205, 0.13),
            transparent 34%
        ),
        #ffffff;
}

.ae-hero::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    left: -90px;
    top: -100px;
    border: 32px solid rgba(81, 69, 205, 0.05);
    pointer-events: none;
}

.ae-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 12px;
    color: var(--ae-primary-dark);
    background: var(--ae-primary-soft);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
}

.ae-lead {
    max-width: 920px;
    font-size: 18px;
    line-height: 2.05;
    color: #40414d;
}


/* =====================
   Answer Box
   ===================== */

.ae-answer-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 30px 0;
    padding: 22px 24px;
    background: linear-gradient(
        135deg,
        var(--ae-primary-soft),
        #ffffff
    );
    border: 1px solid rgba(81, 69, 205, 0.18);
    border-radius: var(--ae-radius);
}

.ae-answer-box p {
    margin: 5px 0 0;
}

.ae-answer-box > div:last-child > strong {
    display: block;
    color: var(--ae-primary-dark);
    font-size: 18px;
}

.ae-answer-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--ae-primary);
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.ae-answer-box-light {
    background: var(--ae-bg-soft);
}


/* =====================
   Buttons
   ===================== */

.ae-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.ae-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 11px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 800;
    line-height: 1.4;
    border: 1px solid transparent;
}

.ae-btn-primary {
    color: #fff !important;
    background: var(--ae-orange);
    box-shadow: 0 9px 22px rgba(245, 130, 32, 0.18);
}

.ae-btn-primary:hover {
    color: #fff !important;
    background: var(--ae-orange-dark);
    transform: translateY(-2px);
}

.ae-btn-secondary {
    color: var(--ae-primary-dark) !important;
    background: #fff;
    border-color: rgba(81, 69, 205, 0.25);
}

.ae-btn-secondary:hover {
    color: #fff !important;
    background: var(--ae-primary);
    border-color: var(--ae-primary);
}

.ae-btn-dark {
    color: #fff !important;
    background: var(--ae-dark);
}

.ae-btn-dark:hover {
    color: #fff !important;
    transform: translateY(-2px);
}


/* =====================
   Sections
   ===================== */

.ae-section {
    margin: 34px 0;
    padding: 38px;
    background: var(--ae-bg);
    border: 1px solid var(--ae-border);
    border-radius: var(--ae-radius);
}

.ae-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


/* =====================
   TOC
   ===================== */

.ae-toc {
    margin: 30px 0;
    padding: 28px 32px;
    background: var(--ae-bg-soft);
    border: 1px solid var(--ae-border);
    border-radius: var(--ae-radius);
}

.ae-toc-title {
    margin-bottom: 13px;
    font-size: 19px;
    font-weight: 850;
    color: var(--ae-dark);
}

.ae-toc ol {
    margin: 0;
    padding-right: 22px;
    columns: 2;
    column-gap: 50px;
}

.ae-toc li {
    margin: 5px 0;
    break-inside: avoid;
}

.ae-toc a {
    color: var(--ae-text);
    text-decoration: none;
    border-bottom: 1px dashed #c8c8d4;
}

.ae-toc a:hover {
    color: var(--ae-primary);
    border-color: var(--ae-primary);
}


/* =====================
   Cards
   ===================== */

.ae-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0;
}

.ae-info-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background: var(--ae-bg-soft);
    border: 1px solid var(--ae-border);
    border-radius: var(--ae-radius);
}

.ae-info-card h3 {
    margin: 8px 0 10px;
}

.ae-card-number {
    display: inline-flex;
    padding: 4px 11px;
    border-radius: 8px;
    color: #fff;
    background: var(--ae-primary);
    direction: ltr;
    font-size: 14px;
    font-weight: 900;
}

.ae-mini-example {
    padding: 12px 14px;
    margin-top: 15px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--ae-border);
    font-size: 14px;
}


/* =====================
   Flow
   ===================== */

.ae-flow {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 30px 0;
}

.ae-flow-item {
    padding: 18px 12px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ae-border);
    border-radius: 14px;
}

.ae-flow-item span {
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ae-primary);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.ae-flow-item strong,
.ae-flow-item small {
    display: block;
}

.ae-flow-item small {
    margin-top: 3px;
    color: var(--ae-muted);
}

.ae-flow-arrow {
    color: var(--ae-orange);
    font-size: 25px;
    font-weight: 900;
}


/* =====================
   Tables
   ===================== */

.ae-table-wrap {
    width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--ae-border);
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
}

.ae-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
}

.ae-table th,
.ae-table td {
    padding: 15px 17px;
    text-align: right;
    vertical-align: middle;
    border-bottom: 1px solid var(--ae-border);
}

.ae-table th {
    color: #fff;
    background: var(--ae-primary);
    font-weight: 800;
}

.ae-table tbody tr:last-child td {
    border-bottom: 0;
}

.ae-table tbody tr:nth-child(even) {
    background: #fafafe;
}

.ae-table tbody tr:hover {
    background: var(--ae-primary-soft);
}

.ae-table-compact {
    min-width: 480px;
}

.ae-tag {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 50px;
    color: var(--ae-primary-dark);
    background: var(--ae-primary-soft);
    font-size: 13px;
    font-weight: 750;
}


/* =====================
   Notes
   ===================== */

.ae-note {
    margin-top: 18px !important;
    padding: 12px 16px;
    color: var(--ae-muted);
    background: #fafafa;
    border-right: 3px solid var(--ae-orange);
    border-radius: 8px;
    font-size: 14px;
}

.ae-warning {
    margin: 24px 0;
    padding: 18px 20px;
    background: var(--ae-orange-soft);
    border: 1px solid rgba(245, 130, 32, 0.23);
    border-right: 4px solid var(--ae-orange);
    border-radius: 12px;
}

.ae-warning strong {
    color: var(--ae-orange-dark);
}


/* =====================
   Checklist
   ===================== */

.ae-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 23px 0;
}

.ae-check-grid > div {
    padding: 12px 14px;
    color: #393a45;
    background: var(--ae-bg-soft);
    border: 1px solid var(--ae-border);
    border-radius: 10px;
}


/* =====================
   Formula
   ===================== */

.ae-formula {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 25px 0;
    padding: 25px 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--ae-primary),
        var(--ae-primary-dark)
    );
    border-radius: var(--ae-radius);
}

.ae-formula span {
    opacity: 0.82;
    font-size: 13px;
}

.ae-formula strong {
    direction: rtl;
    font-size: clamp(18px, 3vw, 24px);
}

.ae-formula-orange {
    background: linear-gradient(
        135deg,
        var(--ae-orange),
        var(--ae-orange-dark)
    );
}


/* =====================
   Examples
   ===================== */

.ae-example-box {
    margin: 25px 0;
    padding: 25px;
    border: 1px solid var(--ae-border);
    border-radius: 14px;
    background: var(--ae-bg-soft);
}

.ae-example-box p:last-child {
    margin-bottom: 0;
}

.ae-example-box > strong {
    display: block;
    margin: 13px 0;
    direction: rtl;
    color: var(--ae-primary-dark);
    font-size: 23px;
}

.ae-example-label {
    display: inline-flex;
    padding: 4px 10px;
    margin-bottom: 10px;
    color: #fff;
    background: var(--ae-orange);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
}


/* =====================
   Inline CTA
   ===================== */

.ae-cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 28px;
    padding: 22px;
    background: var(--ae-primary-soft);
    border-radius: 14px;
}

.ae-cta-inline strong {
    color: var(--ae-primary-dark);
    font-size: 18px;
}

.ae-cta-inline p {
    margin: 3px 0 0;
}


/* =====================
   Calculation Result
   ===================== */

.ae-calc-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 24px 0;
    padding: 22px;
    direction: ltr;
    background: var(--ae-bg-soft);
    border-radius: 14px;
}

.ae-calc-result span,
.ae-calc-result strong {
    padding: 8px 15px;
    border: 1px solid var(--ae-border);
    border-radius: 9px;
    background: #fff;
    font-size: 20px;
}

.ae-calc-result strong {
    color: #fff;
    background: var(--ae-orange);
    border-color: var(--ae-orange);
}


/* =====================
   Highlight
   ===================== */

.ae-highlight {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 25px;
    padding: 25px;
    background: var(--ae-bg-soft);
    border-radius: var(--ae-radius);
}

.ae-highlight h3 {
    margin: 0 0 7px;
}

.ae-highlight p {
    margin: 0;
}

.ae-highlight-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: var(--ae-orange);
    border-radius: 13px;
    font-size: 25px;
    font-weight: 900;
}


/* =====================
   Package Cards
   ===================== */

.ae-package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.ae-package-card {
    position: relative;
    padding: 27px;
    background: #fff;
    border: 1px solid var(--ae-border);
    border-radius: var(--ae-radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ae-package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(25, 25, 45, 0.08);
}

.ae-package-featured {
    border: 2px solid var(--ae-primary);
    background: linear-gradient(
        180deg,
        var(--ae-primary-soft),
        #ffffff 32%
    );
}

.ae-recommended {
    display: inline-flex;
    margin: -12px 0 18px;
    padding: 5px 11px;
    color: #fff;
    background: var(--ae-orange);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
}

.ae-package-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ae-package-level {
    color: var(--ae-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ae-package-power {
    direction: ltr;
    color: var(--ae-primary);
    font-size: 24px;
    font-weight: 900;
}

.ae-package-card h3 {
    margin: 15px 0 8px;
}

.ae-package-desc {
    min-height: 64px;
    color: var(--ae-muted);
}

.ae-package-card ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.ae-package-card li {
    position: relative;
    margin: 8px 0;
    padding-right: 19px;
}

.ae-package-card li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--ae-orange);
    font-size: 21px;
    line-height: 1.4;
}

.ae-package-link {
    display: inline-flex;
    margin-top: 4px;
    color: var(--ae-primary) !important;
    text-decoration: none !important;
    font-weight: 850;
}

.ae-package-link:hover {
    color: var(--ae-orange) !important;
}


/* =====================
   Verdict
   ===================== */

.ae-verdict {
    margin: 20px 0 34px;
    padding: 15px 18px;
    background: var(--ae-success-soft);
    border-radius: 11px;
}

.ae-verdict strong {
    margin-left: 6px;
}


/* =====================
   Factor Cards
   ===================== */

.ae-factor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 27px 0;
}

.ae-factor {
    padding: 19px;
    background: var(--ae-bg-soft);
    border: 1px solid var(--ae-border);
    border-radius: 13px;
}

.ae-factor > span {
    display: block;
    color: var(--ae-orange);
    font-weight: 900;
    font-size: 13px;
}

.ae-factor strong {
    display: block;
    margin: 5px 0;
    color: var(--ae-dark);
}

.ae-factor p {
    margin: 0;
    color: var(--ae-muted);
    font-size: 14px;
}


/* =====================
   Energy Flow
   ===================== */

.ae-energy-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 30px 0;
}

.ae-energy-flow > div:not(.ae-energy-arrow) {
    flex: 1;
    padding: 18px 10px;
    text-align: center;
    background: var(--ae-bg-soft);
    border: 1px solid var(--ae-border);
    border-radius: 13px;
}

.ae-energy-flow small,
.ae-energy-flow strong,
.ae-energy-flow span {
    display: block;
}

.ae-energy-flow strong {
    color: var(--ae-primary-dark);
}

.ae-energy-flow span {
    color: var(--ae-muted);
    font-size: 13px;
}

.ae-energy-arrow {
    flex: 0 0 auto !important;
    color: var(--ae-orange);
    font-size: 22px;
    font-weight: 900;
}


/* =====================
   Decision
   ===================== */

.ae-decision {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 27px 0;
}

.ae-decision-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--ae-bg-soft);
    border-radius: 13px;
}

.ae-decision-item p {
    margin: 4px 0 0;
    color: var(--ae-muted);
}

.ae-decision-power {
    flex: 0 0 76px;
    direction: ltr;
    text-align: center;
    padding: 9px 5px;
    color: #fff;
    background: var(--ae-primary);
    border-radius: 9px;
    font-weight: 900;
}

.ae-big-quote {
    margin-top: 25px;
    padding: 28px;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--ae-dark),
        #292940
    );
    border-radius: var(--ae-radius);
    color: #fff;
}

.ae-big-quote span,
.ae-big-quote strong {
    display: block;
}

.ae-big-quote span {
    opacity: 0.7;
    margin-bottom: 8px;
}

.ae-big-quote strong {
    font-size: clamp(18px, 3vw, 24px);
}


/* =====================
   Related Article
   ===================== */

.ae-related {
    margin: 34px 0;
    padding: 35px;
    background: var(--ae-orange-soft);
    border: 1px solid rgba(245, 130, 32, 0.2);
    border-radius: var(--ae-radius);
}

.ae-related h2 {
    margin-bottom: 12px;
}


/* =====================
   Main CTA
   ===================== */

.ae-main-cta {
    margin: 34px 0;
    overflow: hidden;
    padding: 4px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        var(--ae-primary),
        var(--ae-orange)
    );
}

.ae-main-cta-content {
    padding: 38px;
    background: #fff;
    border-radius: 20px;
}

.ae-main-cta h2 {
    margin-bottom: 12px;
}


/* =====================
   FAQ
   ===================== */

.ae-faq details {
    overflow: hidden;
    margin: 12px 0;
    background: #fff;
    border: 1px solid var(--ae-border);
    border-radius: 12px;
}

.ae-faq summary {
    position: relative;
    cursor: pointer;
    padding: 18px 52px 18px 20px;
    color: var(--ae-dark);
    font-weight: 800;
    list-style: none;
}

.ae-faq summary::-webkit-details-marker {
    display: none;
}

.ae-faq summary::before {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 25px;
    height: 25px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ae-primary);
    border-radius: 7px;
    font-size: 18px;
    line-height: 1;
}

.ae-faq details[open] summary::before {
    content: "−";
    background: var(--ae-orange);
}

.ae-faq details[open] summary {
    color: var(--ae-primary-dark);
    background: var(--ae-primary-soft);
}

.ae-faq details > div {
    padding: 18px 20px 4px;
    border-top: 1px solid var(--ae-border);
}

.ae-faq details p {
    margin-bottom: 14px;
}


/* =====================
   Summary
   ===================== */

.ae-summary {
    margin: 34px 0;
    padding: 35px;
    background: var(--ae-primary-soft);
    border-right: 5px solid var(--ae-primary);
    border-radius: var(--ae-radius);
}

.ae-summary h2 {
    margin-bottom: 15px;
}


/* =====================
   Sources
   ===================== */

.ae-sources {
    padding: 28px 32px;
    margin: 34px 0;
    background: var(--ae-bg-soft);
    border: 1px solid var(--ae-border);
    border-radius: var(--ae-radius);
}

.ae-sources h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.ae-sources ul {
    margin: 0;
    padding-right: 20px;
}

.ae-sources li {
    margin: 5px 0;
}

.ae-sources a,
.ae-text-link {
    color: var(--ae-primary) !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.ae-sources a:hover,
.ae-text-link:hover {
    color: var(--ae-orange) !important;
}


/* =====================
   Mobile / Tablet
   ===================== */

@media (max-width: 900px) {

    .ae-inverter-guide {
        font-size: 15.5px;
    }

    .ae-hero,
    .ae-section {
        padding: 28px;
    }

    .ae-package-grid,
    .ae-two-col,
    .ae-decision {
        grid-template-columns: 1fr;
    }

    .ae-check-grid,
    .ae-factor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ae-flow {
        grid-template-columns: 1fr;
    }

    .ae-flow-arrow {
        transform: rotate(-90deg);
        text-align: center;
    }

    .ae-energy-flow {
        flex-direction: column;
    }

    .ae-energy-flow > div:not(.ae-energy-arrow) {
        width: 100%;
    }

    .ae-energy-arrow {
        transform: rotate(-90deg);
    }

    .ae-toc ol {
        columns: 1;
    }

    .ae-cta-inline {
        align-items: stretch;
        flex-direction: column;
    }
}


@media (max-width: 600px) {

    .ae-inverter-guide {
        line-height: 1.95;
    }

    .ae-hero,
    .ae-section,
    .ae-related,
    .ae-summary,
    .ae-sources {
        padding: 22px 18px;
        border-radius: 15px;
    }

    .ae-hero {
        padding-top: 30px;
    }

    .ae-lead {
        font-size: 16px;
    }

    .ae-answer-box {
        padding: 17px;
    }

    .ae-answer-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .ae-hero-actions {
        flex-direction: column;
    }

    .ae-btn {
        width: 100%;
    }

    .ae-check-grid,
    .ae-factor-grid {
        grid-template-columns: 1fr;
    }

    .ae-package-card {
        padding: 21px 18px;
    }

    .ae-package-desc {
        min-height: auto;
    }

    .ae-decision-item {
        align-items: flex-start;
    }

    .ae-decision-power {
        flex-basis: 68px;
    }

    .ae-calc-result {
        gap: 8px;
    }

    .ae-calc-result span,
    .ae-calc-result strong {
        font-size: 16px;
        padding: 6px 9px;
    }

    .ae-main-cta-content {
        padding: 25px 18px;
    }

    .ae-highlight {
        padding: 18px;
    }

    .ae-faq summary {
        padding-left: 14px;
        font-size: 15px;
    }
}/* End custom CSS */