.photo-notice {
    margin: 12px 0;
    color: #666;
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
}

.photo-notice p {
    margin: 0 0 8px;
    color: inherit;
    font: inherit;
}

.photo-notice p:last-child {
    margin-bottom: 0;
}

.photo-notice[hidden],
.photo-notice [hidden] {
    display: none !important;
}

.photo-notice--gallery {
    max-width: 100%;
}

.photo-notice__toggle {
    display: inline;
    margin: 0;
    padding: 2px 4px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.photo-notice__toggle:hover,
.photo-notice__toggle:active {
    color: #333;
}

.photo-notice__toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* The approved photo notice is now part of the category introduction. */
@media (max-width: 767px) {
    .category-intro .category-intro__summary {
        display: inline;
    }

    .category-intro .category-intro__text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}
