/*
Copyright (C) 2026 amorphea

This file is part of Grevillea.

Grevillea is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.

Grevillea is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License
along with Grevillea. If not, see <https://www.gnu.org/licenses/>.
*/

/*
By default, the event square is sized dynamically to fit the user's device (both
horizontally and vertically). This is great usually, but unhelpful for accessibility,
as it makes it impossible to zoom in on the event square (on a desktop device; mobile
users can still pinch to zoom). This CSS file can be included programatically to
override the default styling and force the event square to use a size based on rem
units, so that the user can zoom as normal.
*/
.section-event-display {
	width: 42rem !important;
	min-width: 42rem !important;
	max-width: 42rem !important;
}
.event-display {
	width: calc(min(100cqw, 42rem)) !important;
	height: calc(min(100cqw, 42rem)) !important;
}
.event-square {
	width: 100% !important;
}
.section-image-credit {
	max-width: 42rem !important;
}
.section-image-credit div {
	width: 97% !important;
}
