/* Almighty calculator pages - scoped design system.
   Only loaded on /calculators/* pages, never touches sitewide styles. */

.almighty-calc-wrap {
    max-width: 760px;
    margin: 0 auto;
}

/* ---------- Hero ---------- */

.almighty-calc-hero {
    background: #0d1b2a;
    padding: 56px 0 48px;
    color: #fff;
}

.almighty-calc-breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0 0 20px;
}

.almighty-calc-breadcrumb a,
.almighty-calc-breadcrumb span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.almighty-calc-breadcrumb a {
    text-decoration: none;
}

.almighty-calc-breadcrumb a:hover {
    color: #fff;
}

.almighty-calc-breadcrumb li:last-child span {
    color: rgba(255, 255, 255, 0.85);
}

.almighty-calc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(76, 140, 64, 0.18);
    border: 1px solid rgba(76, 140, 64, 0.4);
    color: #a9dc9c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.almighty-calc-hero h1.h1_style {
    color: #fff;
    font-size: 44px;
    line-height: 112%;
    margin: 0 0 14px;
}

.almighty-calc-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 160%;
    max-width: 620px;
    margin: 0;
}

/* ---------- Page rhythm ---------- */

.almighty-calc-section {
    background: #FAFAF8;
    padding: 56px 0 88px;
}

.almighty-calc-block {
    margin-top: 56px;
}

.almighty-calc-block:first-child {
    margin-top: 0;
}

/* ---------- Calculator tool card ---------- */

.almighty-calc-card {
    background: #fff;
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 1px 2px rgba(13, 27, 42, 0.04), 0 16px 40px rgba(13, 27, 42, 0.06);
}

.almighty-calc-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.almighty-calc-card-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.almighty-calc-card-badge-icon {
    width: 40px;
    height: 40px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF6EC;
    color: #4C8C40;
    border-radius: 12px;
}

.almighty-calc-card-badge-icon svg {
    width: 22px;
    height: 22px;
}

.almighty-calc-card-badge-label {
    font-size: 13px;
    font-weight: 700;
    color: #0d1b2a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.almighty-calc-lang-toggle {
    display: flex;
    gap: 6px;
    flex: none;
}









/* ---------- Long-form article content ---------- */

.almighty-calc-article h2 {
    color: #0d1b2a;
    font-family: "Bebas Neue Pro";
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
    letter-spacing: 0.01em;
    line-height: 120%;
    margin: 0 0 16px;
}

.almighty-calc-article h3 {
    color: #4C8C40;
    font-family: "Bebas Neue Pro";
    font-weight: 700;
    font-style: normal;
    font-size: 19px;
    letter-spacing: 0.01em;
    line-height: 130%;
    margin: 24px 0 8px;
}

.almighty-calc-article h3:first-of-type {
    margin-top: 18px;
}

.almighty-calc-article p {
    color: #46515a;
    font-size: 16px;
    font-weight: 400;
    line-height: 172%;
    margin: 0 0 16px;
}

.almighty-calc-article p:last-child {
    margin-bottom: 0;
}

.almighty-calc-article a {
    color: #4C8C40;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(76, 140, 64, 0.35);
    text-underline-offset: 2px;
}

.almighty-calc-article a:hover {
    text-decoration-color: currentColor;
}

.almighty-calc-article img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(13, 27, 42, 0.06);
    margin: 12px 0 28px;
    display: block;
}

.almighty-calc-faq-item {
    padding: 18px 0;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.almighty-calc-faq-item:last-child {
    padding-bottom: 0;
}

.almighty-calc-faq-item h3 {
    margin-top: 0;
}

/* ---------- Hub grid + related calculators ---------- */

/* .almighty-calc-related {
    margin-top: 56px;
} */

.almighty-calc-related-title h2 {
    font-weight: 700;
    font-style: normal;
    line-height: 90%;
    letter-spacing: 0%;
    text-align: left;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 35px;
}

.almighty-calc-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .almighty-calc-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .almighty-calc-hub-grid {
        grid-template-columns: 1fr;
    }
}

.almighty-calc-hub-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}

.almighty-calc-hub-card:hover {
    box-shadow: 0 12px 28px rgba(13, 27, 42, 0.08);
    transform: translateY(-2px);
    border-color: rgba(76, 140, 64, 0.3);
}

.almighty-calc-hub-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #EEF6EC;
    color: #4C8C40;
    border-radius: 11px;
    margin-bottom: 14px;
    transition: background-color 0.18s, color 0.18s;
}

.almighty-calc-hub-card:hover .almighty-calc-hub-card-icon {
    background: #4C8C40;
    color: #fff;
}

.almighty-calc-hub-card-icon svg {
    width: 22px;
    height: 22px;
}

.almighty-calc-hub-card h3 {
    color: #0d1b2a;
    font-family: inherit;
    font-weight: 700;
    font-size: 15.5px;
    line-height: 135%;
    margin: 0 0 6px;
}

.almighty-calc-hub-card p {
    color: #6b7580;
    font-size: 13.5px;
    line-height: 150%;
    margin: 0;
}


/* ---------- Hub page intro cards ---------- */

.almighty-calc-hub-intro {
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .almighty-calc-hero {
        padding: 40px 0 32px;
    }

    .almighty-calc-hero h1.h1_style {
        font-size: 32px;
    }

    .almighty-calc-card {
        padding: 24px;
    }

    .almighty-calc-section {
        padding: 40px 0 64px;
    }
}




/* new style (Y = 04-08-2026) */

.calculator_section_header {
    position: relative;
    display: block;
    margin-bottom: 80px;
}

.calculator_section_header h2 {
    font-weight: 700;
    font-style: normal;
    line-height: 90%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 35px;
}


.calculator_section_header h2 span {
    color: #4C8C40;
}

.calculator_section_header p {
    font-weight: 400;
    font-style: normal;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    color: #4D4D4D;
    margin-top: 35px;
}


.calculator_card_area {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #DDDDDD;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.calculator_card_area:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(13, 27, 42, 0.1);
    border-color: rgba(76, 140, 64, 0.35);
}

.calculator_icon_image {
    display: block;
    position: relative;
    margin-bottom: 40px;
}

.calculator_icon_image img {
    width: 84px;
    height: 84px;
    transition: transform 0.22s ease;
}

.calculator_card_area:hover .calculator_icon_image img {
    transform: scale(1.08);
}

.calculator_card_content h3 {
    font-family: "Bebas Neue Pro";
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
    line-height: 90%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 20px;
}

.calculator_card_content p {
    font-family: "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #4D4D4D;
    margin: 0;
}

.calculator_card_link {
    display: block;
    position: relative;
    margin-top: auto;
    padding-top: 50px;
}

.calculator_card_btn {
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    text-transform: uppercase;
    background-color: #4C8C40;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 15px 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2em;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.calculator_card_btn:hover {
    background-color: #3d7233;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 140, 64, 0.28);
}

.calculator_card_btn:active {
    transform: translateY(0);
    box-shadow: none;
}


.calculator_card_btn img {
    width: 24px;
    height: 24px;
}



.calculator_content_hader {
    display: block;
    position: relative;
}



.calculator_content_body {
    position: relative;
    display: block;
}

/* ---------- Read more / read less content collapse ---------- */

.calculator_content_area.is-collapsed {
    max-height: 620px;
    overflow: hidden;
    position: relative;
}

.calculator_content_area.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.calculator_readmore_wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.calculator_readmore_btn {
    display: none;
    background-color: #4C8C40;
    color: #FFFFFF;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    cursor: pointer;
    font-family: "Helvetica Neue";
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0%;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.calculator_readmore_btn:hover {
    background-color: #3d7233;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 140, 64, 0.28);
}

.calculator_readmore_btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.calculator_content_body h2 {
    font-family: "Bebas Neue Pro";
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
    line-height: 90%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #000000;
    padding-top: 80px;
    padding-bottom: 20px;
    border-bottom: 1px solid #DDDDDD;
    margin: 0;
}

.calculator_content_body h2:first-child {
    padding-top: 0px;
}

.calculator_content_body h2+p {
    margin-top: 20px;
}

.calculator_content_body h3 {
    font-family: "Helvetica Neue";
    font-weight: 500;
    font-style: normal;
    font-size: 28px;
    line-height: 110%;
    letter-spacing: 0%;
    color: #000000;
    padding-top: 40px;
    padding-bottom: 20px;
    margin: 0;
}

.calculator_content_body p {
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #4D4D4D;
    margin: 0;
}

.calculator_content_body ul {
    position: relative;
    display: block;
    margin: 0px;
}

.calculator_content_body ul li {
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #4D4D4D;
    padding: 0;
    margin: 0;
    list-style: disc !important;
}






.calculator_header {
    display: block;
    position: relative;
    margin-bottom: 50px;
}

.calculator_header h2 {
    font-weight: 700;
    font-style: normal;
    line-height: 90%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 35px;
}

.calculator_header h2 span {
    color: #4C8C40;
}

.calculator_card_container {
    display: block;
    position: relative;
    background-color: #FFFFFF;
    border-radius: 20px;
    /* padding: 30px; */
    /* border: 1px solid #DDDDDD; */
}

.calculator_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

.calculator_card_header_left h3 {
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-style: normal;
    font-size: 26px;
    line-height: 110%;
    letter-spacing: 0%;
    margin: 0;
    color: #000000;
}

.lang-toggle-btn {
    border: 1px solid rgba(13, 27, 42, 0.12);
    background: transparent;
    padding: 11px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #4A5560;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lang-toggle-btn:hover:not(.active) {
    border-color: rgba(76, 140, 64, 0.45);
    background: rgba(76, 140, 64, 0.08);
    color: #2f5c27;
}

.lang-toggle-btn.active {
    background: #4C8C40;
    border-color: #4C8C40;
    color: #fff;
}


.calculator_border {
    background-color: #DDDDDD;
    width: 100%;
    height: 1px;
}


.calculator_card_form {
    display: block;
    position: relative;
    padding: 25px 40px;
}


.almighty-calc-form label {
    display: block;
    color: #000000;
    margin-bottom: 15px;
    font-family: "Helvetica Neue";
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    line-height: 130%;
    letter-spacing: 0%;
}


.almighty-calc-form input,
.almighty-calc-form select {
    width: 100%;
    padding: 15px 15px;
    border: 1px solid rgba(13, 27, 42, 0.14);
    border-radius: 10px;
    font-size: 15px;
    color: #0d1b2a;
    background: #FAFAF8;
    transition: border-color 0.15s, background 0.15s;
}

.almighty-calc-form input:focus,
.almighty-calc-form select:focus {
    outline: none;
    border-color: #4C8C40;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 140, 64, 0.12);
}

.almighty-calc-form select {
    width: 100%;
    padding: 15px 50px 15px 15px;

    border: 1px solid rgba(13, 27, 42, 0.14);
    border-radius: 10px;

    font-size: 15px;
    color: #0d1b2a;
    background-color: #FAFAF8;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230D1B2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px 8px;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.almighty-calc-form select:focus {
    outline: none;
    border-color: #4C8C40;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(76, 140, 64, 0.12);
}

.almighty-calc-submit {
    margin-top: 26px;
    background: #4C8C40;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    font-family: "Helvetica Neue";
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.almighty-calc-submit:hover {
    background: #3d7233;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 140, 64, 0.28);
}

.almighty-calc-submit:active {
    transform: translateY(1px);
    box-shadow: none;
}




.calc-result-panel {
    margin-top: 24px;
    /* padding: 20px 22px; */
    border-radius: 14px;
    background: #F3F9F1;
    border: 1px solid #D5E5D1;
    display: none;
}

.calc-result-panel.is-visible {
    display: block;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 30px;
}

.calc-result-row+.calc-result-row {
    border-top: 1px solid #D5E5D1;
}

.calc-result-label {
    color: #505C57;
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    margin: 0;
}

.calc-result-value {
    color: #234A1C;
    text-align: right;
    font-family: "Helvetica Neue";
    font-weight: 500;
    font-style: normal;
    font-size: 26px;
    line-height: 110%;
    letter-spacing: 0%;
    margin: 0;
}







.almighty-calc-disclaimer {
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    margin-top: 20px;
    color: #7A6A3A;
    background: #FBF6E8;
    border: 1px solid #EDE1B8;
    border-radius: 12px;
    padding: 20px 30px;
}


@media (max-width: 768px) {
    .calculator_card_area {
        padding: 20px;
        border-radius: 15px;
    }

    .calculator_icon_image {
        margin-bottom: 30px;
    }

    .calculator_card_link {
        padding-top: 40px;
    }

    .calculator_card_header {
        padding: 15px 20px;
    }

    .calculator_card_form {
        padding: 15px 20px;
    }

    .calculator_card_header_right {
        display: flex;
        gap: 10px;
    }

    .almighty-calc-form select {
        padding: 10px 40px 10px 10px;
    }

    .almighty-calc-form input,
    .almighty-calc-form select {
        padding: 10px 10px;
    }

    .almighty-calc-disclaimer,
    .calc-result-row {
        padding: 15px;
    }

    .calc-result-label,
    .almighty-calc-disclaimer {
        font-size: 16px;
    }

    .calc-result-value {
        font-size: 20px;
    }


}


/* ---------- Subsidy result cards ---------- */

.calc-subsidy-scheme {
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 20px;
    background: #fff;
}


.calc-subsidy-scheme-title {
    margin: 0 0 6px;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
}

.calc-subsidy-scheme p {
    font-family: "Helvetica Neue";
    color: #4D4D4D;
    font-size: 15px;
    line-height: 150%;
    margin: 0 0 10px;
}

.calc-subsidy-scheme a {
    color: #4C8C40;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.15s;
}

.calc-subsidy-scheme a:hover {
    color: #3d7233;
    text-decoration: underline;
}