.wp-block-shortcode:has(#ayornish-baby-growth-tracker),
.entry-content:has(#ayornish-baby-growth-tracker) {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#ayornish-baby-growth-tracker {
    --ayornish-teal: #174f4b;
    --ayornish-green: #66856d;
    --ayornish-cream: #f8f4e9;
    --ayornish-white: #ffffff;
    --ayornish-text: #24352d;
    --ayornish-muted: #65736d;
    --ayornish-border: #dfe7e1;

    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 32px 20px 60px;
    color: var(--ayornish-text);
    font-family: Arial, sans-serif;
}

#ayornish-baby-growth-tracker * {
    box-sizing: border-box;
}

.ayornish-tracker-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding: 64pxpx;
    background: var(--ayornish-cream);
    border-radius: 24px;
}

.ayornish-tracker-hero-content > span {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    background: #e4eee7;
    color: var(--ayornish-teal);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.ayornish-tracker-hero h1 {
    margin: 0 0 18px;
    color: var(--ayornish-teal);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.ayornish-tracker-hero p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.7;
}

#ayornish-start-assessment,
#ayornish-baby-growth-form button[type="submit"] {
    border: 0;
    border-radius: 10px;
    background: var(--ayornish-teal);
    color: var(--ayornish-white);
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

#ayornish-start-assessment:hover,
#ayornish-baby-growth-form button[type="submit"]:hover {
    opacity: 0.92;
}

.ayornish-tracker-disclaimer {
    margin-top: 16px;
    color: var(--ayornish-muted);
    font-size: 13px !important;
}

.ayornish-image-placeholder {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #e8eee8;
    border: 2px dashed #b8c8bd;
    border-radius: 20px;
    color: var(--ayornish-muted);
    text-align: center;
}

.ayornish-baby-growth-image {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.ayornish-assessment-section,
.ayornish-result-section {
    margin-top: 36px;
    padding: 36px;
    background: var(--ayornish-white);
    border: 1px solid var(--ayornish-border);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(31, 63, 48, 0.08);
}

.ayornish-step-label {
    margin-bottom: 8px;
    color: var(--ayornish-green);
    font-size: 14px;
    font-weight: 700;
}

.ayornish-assessment-section h2,
.ayornish-result-section h2 {
    margin: 0 0 28px;
    color: var(--ayornish-teal);
    font-size: 34px;
}

#ayornish-baby-growth-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ayornish-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ayornish-form-field label {
    font-weight: 700;
}

.ayornish-form-field input[type="number"],
.ayornish-form-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #cfd9d2;
    border-radius: 9px;
    background: var(--ayornish-white);
    font-size: 16px;
}

.ayornish-form-field input:focus,
.ayornish-form-field select:focus {
    outline: 2px solid rgba(23, 79, 75, 0.18);
    border-color: var(--ayornish-teal);
}

.ayornish-form-field small {
    color: var(--ayornish-muted);
    line-height: 1.5;
}

#ayornish-form-error {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff1ec;
    color: #9a3c27;
}

#ayornish-baby-growth-form button[type="submit"],
#ayornish-baby-growth-form > p {
    grid-column: 1 / -1;
}

#ayornish-baby-growth-form > p {
    margin: 0;
    color: var(--ayornish-muted);
    font-size: 14px;
    text-align: center;
}

.ayornish-loading-section {
    margin-top: 30px;
    padding: 30px;
    background: var(--ayornish-cream);
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
}

.ayornish-result-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.ayornish-result-cards article {
    padding: 24px;
    border: 1px solid var(--ayornish-border);
    border-radius: 16px;
    background: #fbfdfb;
}

.ayornish-result-cards h3 {
    margin-top: 0;
    color: var(--ayornish-teal);
}

.ayornish-medical-note {
    margin-top: 28px;
    padding: 24px;
    background: #eef5f0;
    border-radius: 16px;
}

.ayornish-medical-note a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--ayornish-teal);
    color: var(--ayornish-white);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {
    #ayornish-baby-growth-tracker {
        padding: 20px 14px 40px;
    }

    .ayornish-tracker-hero {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .ayornish-image-placeholder {
        min-height: 240px;
    }

    .ayornish-assessment-section,
    .ayornish-result-section {
        padding: 24px 18px;
    }

    #ayornish-baby-growth-form,
    .ayornish-result-cards {
        grid-template-columns: 1fr;
    }
}
.ayornish-overall-card {
    padding: 20px;
    margin-bottom: 24px;
    background: #eef5f0;
    border-radius: 14px;
}

.ayornish-result-value {
    font-size: 30px;
    font-weight: 700;
    color: var(--ayornish-teal);
}

.ayornish-result-status {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.ayornish-status-normal {
    background: #dff1e5;
    color: #23633d;
}

.ayornish-status-attention {
    background: #fff1cf;
    color: #8a5a00;
}

.ayornish-status-consult {
    background: #f8dddd;
    color: #963b3b;
}
@media (max-width: 768px) {
    header,
    .site-header {
        position: static !important;
        top: auto !important;
    }
}