/* Footer Notes bar, Notes widget and [trx_notes] shortcode (includes/pm-footer-notes.php). */

.trx-notes {
    font-size: clamp(0.8125rem, 0.749rem + 0.2033vw, 0.875rem);
    line-height: 1.55;
}
.trx-notes__title {
    margin: 0 0 0.25em;
    font-weight: 600;
}
.trx-notes__text p {
    margin: 0 0 0.5em;
}
.trx-notes__text p:last-child {
    margin-bottom: 0;
}
.trx-notes--box {
    margin: 1em 0;
    padding: 12px 16px;
    border-left: 4px solid rgba(127, 127, 127, 0.45);
    border-radius: 4px;
    background: rgba(127, 127, 127, 0.08);
}

/* Footer Notes bar: below the Copyright row, in the same colours as the footer (#111 / #ccc). */
.trx-footer-notes {
    clear: both;
    padding: 0 0 2rem;
    background-color: #111;
    color: #ccc;
}
.trx-footer-notes .col-full {
    /* Same side padding as the theme's footer rows (footer .col-full), so the text lines up with the copyright line. */
    padding-top: 1.25rem;
    padding-right: calc(2.617924em - 20px);
    padding-left: calc(2.617924em - 20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trx-footer-notes .widget {
    margin: 0 0 0.75rem;
    padding: 0 20px;
    font-size: clamp(0.8125rem, 0.749rem + 0.2033vw, 0.875rem);
}
.trx-footer-notes .widget:last-child {
    margin-bottom: 0;
}
.trx-footer-notes .widget p {
    margin: 0 0 0.5em;
}
.trx-footer-notes a {
    color: inherit;
    text-decoration: underline;
}
.trx-footer-notes .trx-notes--box {
    margin: 0;
    border-left-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

/* Tablets and phones: the theme's footer rows switch to 1em side padding and no widget padding. */
@media (max-width: 992px) {
    .trx-footer-notes .col-full {
        padding-right: 1em;
        padding-left: 1em;
    }
    .trx-footer-notes .widget {
        padding: 0;
    }
}
