[data-atlas-glossary] [hidden] {
    display: none !important
}

.ag-wrap {
    --ag-green: #219653;
    --ag-line: rgba(149, 157, 165, 0.2);
    --ag-text: #333333;
    --ag-offset: 150px;
    width: 100%;
    color: var(--ag-text);
    font-family: inherit
}

.ag-wrap * {
    box-sizing: border-box
}

.ag-search-row {
    border-bottom: 1px solid var(--ag-line);
    padding: 18px 0 26px;
    margin-bottom: 42px;
    display: flex;
    justify-content: center
}

.ag-search-row {
    border-bottom: 1px solid var(--ag-line);
    padding: 19px 0 46px;
    margin-bottom: 82px;
    display: flex;
    justify-content: center;
}

.ag-search-box {
    position: relative;
    width: min(100%, 505px)
}

.ag-search {
    display: block;
    appearance: none;
    width: 100%;
    height: 58px;
    padding: 0px 24px 0 24px !important;
    border: 1px solid rgba(149, 157, 165, 0.2) !important;
    border-radius: 100px !important;
    background: rgba(149, 157, 165, 0.2) !important;
    color: #222 !important;
    font-size: 16px !important;
    line-height: 24px;
    font-weight: 500;
    box-shadow: none !important;
}

.ag-search:focus {
    outline: 0;
}


.ag-search-box svg {
    position: absolute;
    right: 14px;
    top: 18px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}


.ag-layout {
    display: grid;
    grid-template-columns: 325px minmax(0, 1fr);
    gap: 75px;
    align-items: start;
}

.ag-nav {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    align-content: start;
    position: sticky;
    top: var(--ag-offset);
    z-index: 5
}

.ag-letter {
    display: grid !important;
    place-items: center !important;
    width: 39px !important;
    height: 37px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(149, 157, 165, 0.2) !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    color: #D9D9D9 !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: background .15s, color .15s, border-color .15s;
}

.ag-letter:disabled {
    color: #cfd1d4 !important;
    cursor: default;
    opacity: .85
}

.ag-letter:not(:disabled):hover,
.ag-letter.is-active {
    background: var(--ag-green) !important;
    color: #fff !important;
    border-color: var(--ag-green) !important
}

.ag-letter:focus-visible {
    outline: 2px solid #126d3a;
    outline-offset: 2px
}

.ag-results {
    min-width: 0
}

.ag-section {
    border-bottom: 1px solid var(--ag-line);
    padding-bottom: 30px;
    margin-bottom: 24px;
    scroll-margin-top: var(--ag-offset)
}


.ag-heading {
    margin: 0 0 16px !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 40px !important;
    color: var(--ag-text) !important;
}

.ag-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}


.ag-card {
    border: 1px solid rgba(149, 157, 165, 0.2);
    border-radius: 8px;
    background: #FFFFFF;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0px 0px 16px 0px #BCC4CF40;
}

.ag-card-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin: 0 0 10px !important;
    color: #323232 !important
}

.ag-card-title {
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 600 !important;
    margin: 0px 0 7px !important;
    color: #333333 !important;
}

.ag-card-title a {
    color: inherit !important;
    text-decoration: none !important
}

.ag-card-title a:hover {
    color: var(--ag-green) !important
}

.ag-description {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    overflow-wrap: anywhere;
    margin: 0 0 16px !important;
    color: #333333 !important;
}


.ag-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    color: #333333 !important;
    text-decoration: none !important;
    margin-top: auto;
    align-self: start;
}

.ag-more:hover {
    color: var(--ag-green) !important
}

.ag-more:hover svg path {
    fill: var(--ag-green) !important;
}

.ag-empty {
    padding: 25px 0;
    color: #666
}

.ag-screen-reader {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

@media(max-width:980px) {
    .ag-layout {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 20px
    }

    .ag-nav {
        grid-template-columns: repeat(5, 25px)
    }

    .ag-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:650px) {
    .ag-search-row {
        margin-bottom: 20px
    }

    .ag-layout {
        display: block
    }

    .ag-nav {
        position: sticky;
        top: 0;
        background: #fff;
        padding: 10px 0;
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        border-bottom: 1px solid var(--ag-line)
    }

    .ag-grid {
        grid-template-columns: 1fr
    }

    .ag-section {
        scroll-margin-top: 105px
    }

    .ag-card {
        min-height: 155px
    }

    .ag-heading {
        font-size: 20px !important
    }
}

@media(prefers-reduced-motion:reduce) {
    .ag-wrap * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

/* Topic selector (version 1.2.0). Scoped to the glossary so Divi forms are unaffected. */
.ag-wrap .ag-search-row {
    align-items: center;
    gap: 16px;
    flex-wrap: wrap
}

.ag-wrap .ag-topic-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}


.ag-wrap .ag-topic-filter label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    white-space: nowrap;
    margin: 0;
    color: var(--ag-text);
}

.ag-wrap .ag-select-wrap {
    position: relative;
    min-width: 145px
}


.ag-wrap .ag-topic-select {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: 58px;
    min-height: 58px;
    padding: 0 24px 0 24px !important;
    margin: 0 !important;
    border: 0;
    border-radius: 30px !important;
    background: #EAEBED !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: normal !important;
    box-shadow: none !important;
    cursor: pointer;
    max-width: none;
}

.ag-wrap .ag-topic-select:focus-visible {
    outline: 0;
}


.ag-wrap .ag-select-wrap svg {
    pointer-events: none;
    position: absolute;
    width: 16px;
    height: 16px;
    right: 15px;
    top: 51%;
    color: #333333;
    transform: translateY(-50%);
}

.ag-wrap .ag-search-row .ag-search-box {
    width: min(100%, 330px)
}

@media(max-width:650px) {
    .ag-wrap .ag-search-row {
        justify-content: stretch;
        gap: 12px
    }

    .ag-wrap .ag-topic-filter {
        width: 100%;
        justify-content: space-between
    }

    .ag-wrap .ag-topic-filter .ag-select-wrap {
        flex: 1;
        max-width: 260px
    }

    .ag-wrap .ag-search-row .ag-search-box {
        width: 100%
    }
}

/* Lazy-load status and scroll target */
.ag-loading {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #666
}

.ag-sentinel {
    height: 1px
}

.ag-results {
    scroll-margin-top: var(--ag-offset)
}

/* v1.3.1: Non-blocking visual refresh for search, topic and remote letter jumps. */
.ag-wrap .ag-results {
    position: relative;
    isolation: isolate
}

.ag-wrap .ag-results.is-updating {
    min-height: 190px;
    cursor: progress
}

.ag-wrap .ag-results.is-updating .ag-section,
.ag-wrap .ag-results.is-updating .ag-empty {
    filter: blur(3px);
    opacity: .44;
    transition: filter .16s ease, opacity .16s ease;
    pointer-events: none;
    user-select: none
}

.ag-wrap .ag-results.is-updating::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 8;
    background: rgba(255, 255, 255, .16);
    pointer-events: auto;
    border-radius: 6px
}

.ag-wrap .ag-results.is-updating::after {
    content: "";
    position: absolute;
    z-index: 9;
    top: 75px;
    left: calc(50% - 18px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #ddece3;
    border-top-color: var(--ag-green);
    animation: ag-update-spin .75s linear infinite;
    pointer-events: none;
    box-shadow: 0 1px 7px rgba(0, 0, 0, .04)
}

@keyframes ag-update-spin {
    to {
        transform: rotate(360deg)
    }
}

@media(prefers-reduced-motion:reduce) {

    .ag-wrap .ag-results.is-updating .ag-section,
    .ag-wrap .ag-results.is-updating .ag-empty {
        transition: none
    }

    .ag-wrap .ag-results.is-updating::after {
        animation-duration: 2s
    }
}





/* ecomgiantz_post_share style  */

.eg-post-share {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    border-radius: 100px;
    padding: 16px 20px;
    color: #252525;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.eg-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-right: 1px solid #E4E4E4;
    padding-right: 15px;
}


.eg-reading-time svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.eg-share-label {
    color: #252525;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.eg-share-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eg-share-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

}

.eg-share-icons a:hover,
.eg-share-icons a:focus-visible {
    color: #209653;
    transform: translateY(-1px);
}

.eg-share-icons .eg-facebook {
    color: #209653;
    font-size: 15px;
}

.eg-share-icons .eg-twitter {
    font-size: 13px;
}

.eg-share-icons .eg-pinterest {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 17px;
}




.eg-related-glossary {
    width: 100%;
    min-width: 0;
    font-family: inherit;
}

.eg-related-glossary *,
.eg-related-glossary *::before,
.eg-related-glossary *::after {
    box-sizing: border-box;
}

.eg-related-glossary-swiper {
    width: 100%;
    padding: 5px 2px 12px;
    overflow: hidden;
}

.eg-related-glossary-swiper .swiper-wrapper {
    align-items: stretch;
}

.eg-related-glossary-swiper .swiper-slide {
    height: auto;
    display: flex;
    min-width: 0;
}

.eg-related-glossary-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ebef;
    border-radius: 6px;
    padding: 18px 16px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .035);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.eg-related-glossary-card:hover {
    border-color: #dce5df;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .075);
}

.eg-related-glossary-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #292929;
}

.eg-related-glossary-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.eg-related-glossary-title a:hover {
    color: #209653 !important;
}

.eg-related-glossary-desc {
    color: #444;
    font-size: 13px;
    line-height: 1.28;
    font-weight: 400;
    margin: 0 0 22px;
    flex: 1;
    overflow-wrap: anywhere;
}

.eg-related-glossary-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #292929 !important;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none !important;
    width: fit-content;
    margin-top: auto;
}

.eg-related-glossary-more:hover {
    color: #209653 !important;
}

.eg-related-glossary-more svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.eg-related-glossary-more:hover svg {
    transform: translate(2px, -2px);
}

.eg-related-glossary-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.eg-related-glossary-prev,
.eg-related-glossary-next {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    padding: 0;
    background: #303030;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .11);
    transition: background .2s ease, transform .2s ease;
}

.eg-related-glossary-prev {
    background: #209653;
}

.eg-related-glossary-prev:hover,
.eg-related-glossary-next:hover {
    background: #177c44;
    transform: translateY(-2px);
}

.eg-related-glossary-prev svg,
.eg-related-glossary-next svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.eg-related-glossary-prev:focus-visible,
.eg-related-glossary-next:focus-visible,
.eg-related-glossary a:focus-visible {
    outline: 2px solid #209653;
    outline-offset: 3px;
}

.eg-related-glossary-prev.swiper-button-disabled,
.eg-related-glossary-next.swiper-button-disabled {
    opacity: .35;
    cursor: not-allowed;
    transform: none;
}

.eg-related-glossary-controls[hidden] {
    display: none;
}

.eg-glossary-summary {
    background: #333333;
    color: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
}

.eg-glossary-summary p {
    font-size: 20px;
    font-weight: 28px;
    font-weight: 600;
}



/* Newsletter Main Container */
.custom-newsletter .newsletter-header {
    background: #1e9254;
    padding: 18px 16px 34px;
    border-radius: 12px 12px 0 0;
    color: #ffffff;
}

.custom-newsletter .newsletter-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 10px;
    padding: 0;
}


.custom-newsletter .newsletter-header p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
}

.newsletter-field br {
    display: none;
}
.custom-newsletter .newsletter-form-box {
    position: relative;
    background: #333333;
    border-radius: 18px 18px 12px 12px;
    padding: 22px 15px 18px;
    margin-top: -15px;
    border-top: 1px solid #ffffff;
}
.custom-newsletter .newsletter-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.custom-newsletter .newsletter-field {
    min-width: 0;
}


.custom-newsletter .newsletter-field label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

/* Input Fields */
.custom-newsletter .newsletter-field input {
    width: 100%;
    height: 42px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    color: #333333;
     font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    box-shadow: none;
}

.custom-newsletter .newsletter-field input::placeholder {
    color: #b9b9b9;
    opacity: 1;
}

.custom-newsletter .newsletter-field input:focus {
    border-color: #1e9254;
}

/* CF7 Wrapper */
.custom-newsletter .wpcf7-form-control-wrap {
    display: block;
}

/* Subscribe Button */
.custom-newsletter input.newsletter-submit {
    display: block;
    width: 100%;
    height: 48px;
    padding: 8px 12px;
    background: #219653;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: none;
    text-align: center;
}

.custom-newsletter input.newsletter-submit:hover {
    background: #167844;
    color: #ffffff;
}

/* Validation */
.custom-newsletter .wpcf7-not-valid-tip {
    color: #ffb3b3;
    font-size: 10px;
    margin-top: 4px;
}

.custom-newsletter~.wpcf7-response-output {
    font-size: 12px;
    margin: 10px 0;
}

/* Remove Unnecessary CF7 Spacing */
.custom-newsletter p {
    margin-bottom: 0;
}

.custom-newsletter .wpcf7-spinner {
    position: absolute;
    bottom: 0;
    right: 10px;
    margin: 0;
}

/* Mobile */
@media (max-width: 350px) {
    .custom-newsletter .newsletter-fields {
        gap: 8px;
    }

    .custom-newsletter .newsletter-field input {
        font-size: 10px;
        padding: 6px;
    }
}


@media (max-width: 767px) {
    .eg-related-glossary-card {
        padding: 18px 16px;
    }

    .eg-related-glossary-controls {
        margin-top: 15px;
    }
}