/**
 * @file
 * Footer Contact block: keep it a narrow, left-aligned box (matching the D7
 * site) instead of stretching to the footer_top region's full
 * content-medium grid measure (region.css/layout-content-medium.css,
 * Olivero core).
 */

#block-kunstitare-contact {
  max-width: 24rem;
}

/* region--footer-top.html.twig sets the region to Olivero's "content
 * medium" grid measure (layout-content-medium.css), which is meant for
 * centering body copy but leaves the region itself starting 2 columns in
 * from the left edge of the full grid (grid-column: 3/13 at desktop
 * widths) instead of flush. That measure makes no sense for a single-block
 * footer region -- span the full grid so Contact (its only occupant)
 * starts flush left. */
.region--footer-top.layout--pass--content-medium > .region--footer_top__inner {
  grid-column: 1 / -1;
}

/* region--footer-bottom.html.twig applies the same "content medium" class,
 * but has no inner wrapper div -- the block itself is the direct child --
 * so the Copyright text (#block-kunstitare-subfooter) gets the same
 * unwanted inset. Match the Contact block's flush-left alignment above. */
.region--footer-bottom.layout--pass--content-medium > * {
  grid-column: 1 / -1;
}

/* footer.css/block.css (Olivero core) set both the title and body text to
 * a soft gray against the footer's black background -- poor contrast.
 * Make both white, and size the "Contact" heading to match the body copy
 * rather than the smaller default block-title size. Same gray/contrast
 * issue applies to the Copyright text in footer_bottom (#block-kunstitare-
 * subfooter), fixed here too. */
#block-kunstitare-contact.block-block-content .block__title,
#block-kunstitare-contact .text-content,
#block-kunstitare-subfooter .text-content {
  color: var(--color--white);
}

#block-kunstitare-contact.block-block-content .block__title {
  font-size: var(--font-size-base);
}
