/* AHDB RB209 attribution — the brand guidelines AHDB sent on 25 August 2026
   (CorpID_Guidelines_RB209 API.pdf): logo in its entirety on a white
   background, within the upper 10% of any page presenting RB209-derived
   figures, no smaller than any other logo on the page (the nav logo is
   70px), an exclusion zone of one character height on top/left/right and
   1.5 on the bottom, and "Source: AHDB Nutrient Management Guide (RB209)"
   under every table of RB209 data. Loaded by the nutrients and lime tools. */

.rb209-credit {
    background: #fff;
    border-bottom: 1px solid var(--color-border-light);
}

.rb209-credit .container {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    /* The logo is 70px tall; its character height is roughly half of that.
       40px top/sides and 55px bottom keep the exclusion zone clear. */
    padding-top: 40px;
    padding-bottom: 55px;
}

.rb209-credit-logo {
    display: block;
    height: 70px;
    width: auto;
    /* Nothing may sit inside the exclusion zone, so the logo carries it. */
    margin: 0 40px 0 0;
}

.rb209-credit p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    max-width: 640px;
}

.rb209-source {
    margin: var(--space-xs) 0 var(--space-lg);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}
