/* Start custom CSS for shortcode, class: .elementor-element-a8b686a *//* ==================================================
   Abzar Energy
   Article: Sunverter vs UPS
   Scoped CSS - مخصوص همین مقاله
   ================================================== */

.ae-sunverter-ups {
    --ae-primary: #2f9e44;
    --ae-primary-dark: #237a34;
    --ae-primary-soft: #eef9f0;
    --ae-dark: #17201b;
    --ae-text: #37423b;
    --ae-muted: #6c766f;
    --ae-border: #e3e9e5;
    --ae-bg: #f7f9f7;
    --ae-warning: #fff8e7;
    --ae-warning-border: #edcf7a;

    direction: rtl;
    text-align: right;
    color: var(--ae-text);
    font-family: inherit;
    font-size: 17px;
    line-height: 2;
    width: 100%;
}

.ae-sunverter-ups *,
.ae-sunverter-ups *::before,
.ae-sunverter-ups *::after {
    box-sizing: border-box;
}

.ae-sunverter-ups section {
    scroll-margin-top: 100px;
}

.ae-sunverter-ups p {
    margin: 0 0 20px;
}

.ae-sunverter-ups h2 {
    color: var(--ae-dark);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.55;
    font-weight: 800;
    margin: 0 0 22px;
}

.ae-sunverter-ups h3 {
    color: var(--ae-dark);
    font-size: 20px;
    line-height: 1.65;
    font-weight: 750;
    margin: 0 0 12px;
}

.ae-sunverter-ups strong {
    color: var(--ae-dark);
    font-weight: 750;
}

.ae-sunverter-ups a {
    color: var(--ae-primary-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ae-sunverter-ups a:hover {
    color: var(--ae-primary);
}


/* Sections */

.ae-sunverter-ups .ae-section {
    margin: 70px 0;
}

.ae-sunverter-ups .ae-eyebrow {
    display: inline-block;
    color: var(--ae-primary-dark);
    background: var(--ae-primary-soft);
    border-radius: 50px;
    padding: 5px 14px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
}


/* Intro */

.ae-sunverter-ups .ae-intro {
    font-size: 18px;
}

.ae-sunverter-ups .ae-intro > p:first-child {
    font-size: 19px;
    line-height: 2.05;
}

.ae-sunverter-ups .ae-quick-answer {
    background: linear-gradient(135deg, #f1faf3 0%, #ffffff 100%);
    border: 1px solid #cfe9d5;
    border-right: 5px solid var(--ae-primary);
    border-radius: 16px;
    padding: 25px 28px;
    margin: 32px 0;
    box-shadow: 0 8px 30px rgba(25, 60, 35, 0.05);
}

.ae-sunverter-ups .ae-quick-answer p {
    margin: 8px 0 0;
}

.ae-sunverter-ups .ae-quick-label {
    display: inline-block;
    color: #ffffff;
    background: var(--ae-primary);
    border-radius: 7px;
    padding: 3px 11px;
    font-size: 12px;
    font-weight: 700;
}


/* Table of Contents */

.ae-sunverter-ups .ae-toc {
    background: var(--ae-bg);
    border: 1px solid var(--ae-border);
    border-radius: 18px;
    padding: 25px;
    margin: 40px 0 60px;
}

.ae-sunverter-ups .ae-toc-title {
    color: var(--ae-dark);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 18px;
}

.ae-sunverter-ups .ae-toc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 25px;
}

.ae-sunverter-ups .ae-toc-grid a {
    position: relative;
    display: block;
    color: var(--ae-text);
    padding: 7px 22px 7px 5px;
    font-size: 15px;
}

.ae-sunverter-ups .ae-toc-grid a::before {
    content: "";
    position: absolute;
    right: 3px;
    top: 19px;
    width: 7px;
    height: 7px;
    background: var(--ae-primary);
    border-radius: 50%;
}

.ae-sunverter-ups .ae-toc-grid a:hover {
    color: var(--ae-primary-dark);
    transform: translateX(-3px);
}


/* Images */

.ae-sunverter-ups .ae-figure {
    margin: 35px 0;
}

.ae-sunverter-ups .ae-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(20, 35, 25, 0.09);
}

.ae-sunverter-ups .ae-figure figcaption {
    color: var(--ae-muted);
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 10px;
}


/* Cards */

.ae-sunverter-ups .ae-cards {
    display: grid;
    gap: 18px;
    margin: 30px 0;
}

.ae-sunverter-ups .ae-cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ae-sunverter-ups .ae-card {
    background: #ffffff;
    border: 1px solid var(--ae-border);
    border-radius: 16px;
    padding: 26px 22px;
}

.ae-sunverter-ups .ae-card-accent {
    background: var(--ae-primary-soft);
    border-color: #c8e5cf;
}

.ae-sunverter-ups .ae-card p {
    font-size: 15px;
    margin-bottom: 0;
}

.ae-sunverter-ups .ae-card-number {
    display: inline-block;
    color: var(--ae-primary);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}


/* Main Diagram */

.ae-sunverter-ups .ae-diagram {
    background: #111a15;
    color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin: 35px 0;
}

.ae-sunverter-ups .ae-diagram-title {
    text-align: center;
    font-size: 18px;
    font-weight: 750;
    margin-bottom: 24px;
}

.ae-sunverter-ups .ae-flow {
    max-width: 700px;
    margin: auto;
}

.ae-sunverter-ups .ae-flow-source {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
}

.ae-sunverter-ups .ae-flow-output {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ae-sunverter-ups .ae-flow-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    padding: 16px;
}

.ae-sunverter-ups .ae-flow-box span {
    display: block;
    color: #aab6ad;
    font-size: 12px;
    margin-bottom: 4px;
}

.ae-sunverter-ups .ae-flow-box strong {
    color: #ffffff;
}

.ae-sunverter-ups .ae-flow-main {
    max-width: 300px;
    margin: auto;
    background: var(--ae-primary);
    border-color: var(--ae-primary);
}

.ae-sunverter-ups .ae-flow-arrow,
.ae-sunverter-ups .ae-flow-plus {
    text-align: center;
    font-weight: 800;
}

.ae-sunverter-ups .ae-flow-arrow {
    font-size: 24px;
    margin: 7px 0;
    color: #8cda9c;
}

.ae-sunverter-ups .ae-flow-plus {
    font-size: 22px;
}


/* Tables */

.ae-sunverter-ups .ae-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid var(--ae-border);
    border-radius: 15px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.ae-sunverter-ups .ae-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    font-size: 15px;
}

.ae-sunverter-ups .ae-table th,
.ae-sunverter-ups .ae-table td {
    padding: 17px 15px;
    text-align: right;
    vertical-align: middle;
    border-bottom: 1px solid var(--ae-border);
}

.ae-sunverter-ups .ae-table th {
    background: #17201b;
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
}

.ae-sunverter-ups .ae-table tbody tr:last-child td {
    border-bottom: none;
}

.ae-sunverter-ups .ae-table tbody tr:hover td {
    background: #fafcfa;
}

.ae-sunverter-ups .ae-table td:first-child {
    color: var(--ae-dark);
    font-weight: 650;
}

.ae-sunverter-ups .ae-package-table td strong,
.ae-sunverter-ups .ae-package-table td small {
    display: block;
}

.ae-sunverter-ups .ae-package-table td small {
    color: var(--ae-muted);
    margin-top: 2px;
    font-size: 12px;
}

.ae-sunverter-ups .ae-featured-row td {
    background: #f3faf4;
}

.ae-sunverter-ups .ae-featured-row:hover td {
    background: #edf8ef !important;
}

.ae-sunverter-ups .ae-recommended {
    display: inline-block;
    background: var(--ae-primary);
    color: #ffffff;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 10px;
    margin-bottom: 5px;
}

.ae-sunverter-ups .ae-table-link {
    display: inline-block;
    white-space: nowrap;
    border: 1px solid #b8d9c0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 700;
}

.ae-sunverter-ups .ae-table-link:hover {
    color: #ffffff !important;
    background: var(--ae-primary);
    border-color: var(--ae-primary);
}


/* Notes */

.ae-sunverter-ups .ae-note {
    background: var(--ae-primary-soft);
    border-right: 4px solid var(--ae-primary);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 25px 0;
    font-size: 15px;
}

.ae-sunverter-ups .ae-note-warning {
    background: var(--ae-warning);
    border-right-color: var(--ae-warning-border);
}


/* Decision Cards */

.ae-sunverter-ups .ae-decision {
    background: var(--ae-bg);
    border-radius: 18px;
    padding: 28px;
    margin: 30px 0;
}

.ae-sunverter-ups .ae-decision-head {
    color: var(--ae-dark);
    text-align: center;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 22px;
}

.ae-sunverter-ups .ae-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.ae-sunverter-ups .ae-decision-item {
    background: #ffffff;
    border: 1px solid var(--ae-border);
    border-radius: 13px;
    padding: 20px;
}

.ae-sunverter-ups .ae-decision-item p {
    margin: 0;
    font-size: 14px;
}

.ae-sunverter-ups .ae-tag {
    display: inline-block;
    color: var(--ae-primary-dark);
    background: var(--ae-primary-soft);
    border-radius: 50px;
    padding: 2px 9px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
}


/* Inline Diagram */

.ae-sunverter-ups .ae-inline-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #17201b;
    color: #ffffff;
    border-radius: 15px;
    padding: 22px;
    margin: 28px 0;
}

.ae-sunverter-ups .ae-inline-diagram > div {
    background: rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    padding: 9px 13px;
    text-align: center;
    font-size: 14px;
}

.ae-sunverter-ups .ae-inline-diagram .ae-inline-main {
    background: var(--ae-primary);
}

.ae-sunverter-ups .ae-inline-diagram > span {
    color: #88d598;
    font-weight: 800;
}


/* Process */

.ae-sunverter-ups .ae-process {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 30px 0;
}

.ae-sunverter-ups .ae-process-item {
    flex: 1;
    background: var(--ae-bg);
    border: 1px solid var(--ae-border);
    border-radius: 13px;
    padding: 20px;
}

.ae-sunverter-ups .ae-process-item > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #ffffff;
    background: var(--ae-primary);
    border-radius: 50%;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
}

.ae-sunverter-ups .ae-process-item strong {
    display: block;
    margin-bottom: 5px;
}

.ae-sunverter-ups .ae-process-item p {
    margin: 0;
    color: var(--ae-muted);
    font-size: 13px;
}

.ae-sunverter-ups .ae-process-arrow {
    display: flex;
    align-items: center;
    color: var(--ae-primary);
    font-size: 22px;
    font-weight: 800;
}


/* kW and kWh */

.ae-sunverter-ups .ae-power-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.ae-sunverter-ups .ae-power-card {
    background: #ffffff;
    border: 1px solid var(--ae-border);
    border-radius: 17px;
    padding: 26px;
}

.ae-sunverter-ups .ae-power-unit {
    display: block;
    color: var(--ae-primary);
    font-size: 35px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 15px;
}

.ae-sunverter-ups .ae-power-card p {
    margin-bottom: 12px;
}

.ae-sunverter-ups .ae-power-card > strong {
    font-size: 14px;
}


/* Formula */

.ae-sunverter-ups .ae-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    flex-wrap: wrap;
    background: #17201b;
    color: #ffffff;
    text-align: center;
    border-radius: 15px;
    padding: 24px;
    margin: 25px 0;
}

.ae-sunverter-ups .ae-formula strong {
    color: #8cda9c;
    font-size: 25px;
}

.ae-sunverter-ups .ae-formula span {
    font-weight: 650;
}


/* Related Links */

.ae-sunverter-ups .ae-related {
    background: var(--ae-bg);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 25px 0;
    font-size: 14px;
}

.ae-sunverter-ups .ae-related a,
.ae-sunverter-ups .ae-text-link {
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}


/* Checklist */

.ae-sunverter-ups .ae-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 28px 0;
}

.ae-sunverter-ups .ae-check {
    position: relative;
    background: var(--ae-bg);
    border: 1px solid var(--ae-border);
    border-radius: 9px;
    padding: 12px 45px 12px 15px;
    font-size: 14px;
}

.ae-sunverter-ups .ae-check::before {
    content: "✓";
    position: absolute;
    right: 15px;
    top: 11px;
    color: var(--ae-primary);
    font-weight: 900;
}


/* Service CTA */

.ae-sunverter-ups .ae-service-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #17201b;
    border-radius: 18px;
    padding: 30px;
    margin: 30px 0;
}

.ae-sunverter-ups .ae-service-box h3,
.ae-sunverter-ups .ae-service-box strong {
    color: #ffffff;
}

.ae-sunverter-ups .ae-service-box p {
    color: #c5cec8;
    margin-bottom: 0;
}


/* Buttons */

.ae-sunverter-ups .ae-center {
    text-align: center;
    margin-top: 28px;
}

.ae-sunverter-ups .ae-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    background: var(--ae-primary);
    color: #ffffff !important;
    border: 1px solid var(--ae-primary);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
    box-shadow: 0 7px 20px rgba(47, 158, 68, 0.15);
}

.ae-sunverter-ups .ae-btn:hover {
    background: var(--ae-primary-dark);
    border-color: var(--ae-primary-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ae-sunverter-ups .ae-btn-secondary {
    color: var(--ae-primary-dark) !important;
    background: #ffffff;
    border-color: #b8d9c0;
    box-shadow: none;
}

.ae-sunverter-ups .ae-btn-secondary:hover {
    color: #ffffff !important;
}

.ae-sunverter-ups .ae-btn-light {
    color: var(--ae-dark) !important;
    background: #ffffff;
    border-color: #ffffff;
}


/* Conclusion */

.ae-sunverter-ups .ae-conclusion {
    background: linear-gradient(135deg, #17201b 0%, #223428 100%);
    color: #d8e0da;
    border-radius: 22px;
    padding: 38px;
    margin: 70px 0;
}

.ae-sunverter-ups .ae-conclusion h2,
.ae-sunverter-ups .ae-conclusion strong {
    color: #ffffff;
}

.ae-sunverter-ups .ae-conclusion .ae-eyebrow {
    color: #aee4b8;
    background: rgba(255, 255, 255, 0.08);
}

.ae-sunverter-ups .ae-final-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}


/* FAQ */

.ae-sunverter-ups .ae-faq details {
    background: #ffffff;
    border: 1px solid var(--ae-border);
    border-radius: 12px;
    margin-bottom: 11px;
    overflow: hidden;
}

.ae-sunverter-ups .ae-faq summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    color: var(--ae-dark);
    font-weight: 700;
    padding: 18px 52px 18px 18px;
}

.ae-sunverter-ups .ae-faq summary::-webkit-details-marker {
    display: none;
}

.ae-sunverter-ups .ae-faq summary::before {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--ae-primary);
    background: var(--ae-primary-soft);
    border-radius: 50%;
    font-size: 18px;
}

.ae-sunverter-ups .ae-faq details[open] summary::before {
    content: "−";
}

.ae-sunverter-ups .ae-faq details > div {
    padding: 0 52px 18px 18px;
    color: var(--ae-text);
    font-size: 15px;
}


/* Tablet */

@media (max-width: 900px) {

    .ae-sunverter-ups .ae-cards-3,
    .ae-sunverter-ups .ae-decision-grid {
        grid-template-columns: 1fr;
    }

    .ae-sunverter-ups .ae-service-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .ae-sunverter-ups .ae-service-box .ae-btn {
        width: 100%;
    }
}


/* Mobile */

@media (max-width: 767px) {

    .ae-sunverter-ups {
        font-size: 16px;
        line-height: 1.95;
    }

    .ae-sunverter-ups h2 {
        font-size: 25px;
    }

    .ae-sunverter-ups .ae-section {
        margin: 52px 0;
    }

    .ae-sunverter-ups .ae-intro > p:first-child {
        font-size: 17px;
    }

    .ae-sunverter-ups .ae-quick-answer {
        padding: 21px 18px;
    }

    .ae-sunverter-ups .ae-toc {
        padding: 20px 17px;
    }

    .ae-sunverter-ups .ae-toc-grid {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .ae-sunverter-ups .ae-figure img {
        border-radius: 13px;
    }

    .ae-sunverter-ups .ae-diagram {
        padding: 22px 15px;
    }

    .ae-sunverter-ups .ae-flow-source,
    .ae-sunverter-ups .ae-flow-output {
        grid-template-columns: 1fr;
    }

    .ae-sunverter-ups .ae-process {
        flex-direction: column;
    }

    .ae-sunverter-ups .ae-process-arrow {
        justify-content: center;
        transform: rotate(-90deg);
    }

    .ae-sunverter-ups .ae-power-grid,
    .ae-sunverter-ups .ae-check-grid {
        grid-template-columns: 1fr;
    }

    .ae-sunverter-ups .ae-inline-diagram {
        flex-direction: column;
    }

    .ae-sunverter-ups .ae-inline-diagram > span {
        transform: rotate(-90deg);
    }

    .ae-sunverter-ups .ae-conclusion {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .ae-sunverter-ups .ae-final-actions {
        flex-direction: column;
    }

    .ae-sunverter-ups .ae-final-actions .ae-btn {
        width: 100%;
    }

    .ae-sunverter-ups .ae-formula {
        flex-direction: column;
        gap: 4px;
    }

    .ae-sunverter-ups .ae-faq summary {
        padding: 16px 48px 16px 14px;
    }

    .ae-sunverter-ups .ae-faq details > div {
        padding: 0 48px 16px 14px;
    }
}/* End custom CSS */