/*
Theme Name: ReGenesis (Academy Edu Child)
Theme URI: https://regenesis.hr/
Description: Child theme for Udruga darovitih informatičara ReGenesis. All site-specific template, CSS and content overrides belong here so the parent theme (MMG Academy Edu) can be updated without losing customisations.
Author: ReGenesis
Template: mmg-academy-edu
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmg-academy-edu-child
*/

/* Site-specific CSS goes below this line. It loads after the parent's
   stylesheet, so plain selectors are enough to override the parent. */

/* Constrain the header logo.
   The parent theme declares custom-logo at 240x80 but ships no CSS rule for
   it, so a square logo renders at its natural size (512px here) and blows
   the header open. The img tag also carries width/height attributes, so an
   explicit height with width:auto is needed to override them. */
.custom-logo {
	width: auto;
	height: 80px;
	max-height: 80px;
}

/* The site logo is a PNG with an opaque white background (no alpha channel),
   which reads as a hard-edged white block against the dark navy header.
   Wrapping the branding area in a deliberate white panel with padding and
   the theme's own corner radius makes the logo's own white background blend
   into it, so it looks intentional rather than like a clipping artefact.

   Safe to give a background because header.php renders EITHER the logo or
   the site-title text, never both, so there is no text here to obscure. */
.site-branding {
	background: #fff;
	padding: 8px 16px;
	border-radius: var(--ae-radius);
}
