
/* NatureGuard structured ecology v1 */

.ng-ecology {
    margin-top: 24px;
}

.ng-ecology-header,
.ng-ecology-title,
.ng-eco-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ng-ecology-header h2,
.ng-ecology-title h3 {
    margin: 0;
}

.ng-ecology-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.ng-ecology-panel {
    padding: 18px;
    border: 1px solid rgba(127,127,127,.20);
    border-radius: 16px;
}

.ng-ecology-verified {
    font-size: 12px;
    font-weight: 700;
}

.ng-eco-row {
    margin-top: 14px;
}

.ng-eco-label {
    margin-bottom: 5px;
    font-size: 14px;
}

.ng-eco-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(127,127,127,.16);
}

.ng-eco-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
    opacity: .7;
}

.ng-eco-caveat {
    margin-top: 18px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(127,127,127,.08);
    font-size: 13px;
}

.ng-eco-source {
    margin-top: 14px;
    font-size: 13px;
}

.ng-eco-source summary {
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 760px) {
    .ng-ecology-grid {
        grid-template-columns: 1fr;
    }
}


/* NatureGuard sex measurement detail v1 */

.ng-sex-measurements {
    margin-top: 24px;
}

.ng-sex-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ng-sex-header h2 {
    margin: 0;
}

.ng-sex-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.ng-sex-column {
    padding: 18px;
    border: 1px solid rgba(127,127,127,.20);
    border-radius: 16px;
}

.ng-sex-column h3 {
    margin-top: 0;
}

.ng-sex-stat {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(127,127,127,.12);
}

.ng-sex-stat:last-child {
    border-bottom: 0;
}

.ng-sex-note {
    margin-top: 16px;
    font-size: 13px;
    opacity: .72;
}

@media (max-width: 760px) {
    .ng-sex-grid {
        grid-template-columns: 1fr;
    }
}


/* NatureGuard breeding detail v1 */

.ng-breeding {
    margin-top: 24px;
}

.ng-breeding-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ng-breeding-header h2 {
    margin: 0;
}

.ng-breeding-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.ng-breeding-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(127,127,127,.20);
    border-radius: 16px;
}

.ng-breeding-stat div {
    display: grid;
    gap: 4px;
}

.ng-breeding-stat strong {
    font-size: 1.35rem;
}

.ng-breeding-icon {
    font-size: 1.7rem;
}

.ng-breeding-note {
    margin-top: 16px;
    font-size: 13px;
    opacity: .72;
}

@media (max-width: 760px) {
    .ng-breeding-grid {
        grid-template-columns: 1fr;
    }
}


/* NatureGuard Species Quick Facts V1 */
.ng-quick-facts {
    margin: 0 0 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(120, 140, 120, 0.22);
    border-radius: 14px;
    background: rgba(120, 140, 120, 0.06);
}

.ng-quick-facts-heading {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    font-size: 0.92rem;
}

.ng-quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(145px, 1fr)
    );
    gap: 0.7rem;
}

.ng-quick-fact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ng-quick-fact-label {
    font-size: 0.76rem;
    opacity: 0.72;
}

.ng-quick-fact-value {
    font-size: 0.98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .ng-quick-facts-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* NatureGuard Distribution Presentation V2 */
.ng-range-status-strip {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.ng-range-status-item {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(120, 140, 120, 0.20);
    border-radius: 12px;
    background: rgba(120, 140, 120, 0.05);
}

.ng-range-status-item span {
    font-size: 0.75rem;
    opacity: 0.72;
}

.ng-range-status-item strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

@media (max-width: 720px) {
    .ng-range-status-strip {
        grid-template-columns: 1fr;
    }
}

/* NatureGuard Facts-only Summary V1 */
.ng-summary-facts {
    display: grid;
    gap: 0.7rem;
}

.ng-summary-fact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom:
        1px solid rgba(120, 140, 120, 0.14);
}

.ng-summary-fact:last-child {
    border-bottom: 0;
}

.ng-summary-fact span {
    font-size: 0.8rem;
    opacity: 0.72;
}

.ng-summary-fact strong {
    text-align: right;
    font-size: 0.92rem;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .ng-summary-fact {
        flex-direction: column;
        gap: 0.2rem;
    }

    .ng-summary-fact strong {
        text-align: left;
    }
}

/* NatureGuard Hero Facts First V1 */
.ng-top-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.ng-top-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.38rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;
    background: rgba(10, 20, 14, 0.42);
    backdrop-filter: blur(7px);
    font-size: 0.76rem;
    line-height: 1.2;
    color: inherit;
}

.ng-top-trust-badge-source {
    opacity: 0.88;
}

@media (max-width: 640px) {
    .ng-top-trust-badges {
        gap: 0.35rem;
    }

    .ng-top-trust-badge {
        font-size: 0.7rem;
        padding: 0.32rem 0.52rem;
    }
}

/* NatureGuard Gallery Media Cleanup V1 */

.ng-gallery-feature-label small {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.72rem;
    line-height: 1.25;
    opacity: 0.8;
}

.ng-gallery-credits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    opacity: 0.68;
}

.ng-gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
}


/* ======================================================
   NatureGuard Species Page Master V1.1
   ====================================================== */

.ng-species-overview-row {
    grid-template-columns: 1fr !important;
}

.ng-distribution-widget {
    width: 100%;
    box-sizing: border-box;
}

.ng-range-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.35rem 0 0.8rem;
}

.ng-range-section-heading span {
    font-size: 0.8rem;
    opacity: 0.65;
}

.ng-range-no-data {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(120,140,120,0.07);
}

.ng-profile-groups {
    display: grid;
    gap: 1.35rem;
}

.ng-profile-group h3 {
    margin: 0 0 0.75rem;
}

.ng-species-top-v2,
.ng-science-stack {
    max-width: var(--ng-container);
    width: calc(100% - var(--ng-page-pad));
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.ng-science-stack {
    margin-top: 28px;
    margin-bottom: 28px;
}

.ng-top-fact strong {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

@media (max-width: 760px) {

    .ng-species-top-v2,
    .ng-science-stack {
        width: calc(100% - 28px);
    }

}

