/*
Theme Name: Apollo
Description: Klasszikus egyedi téma ACF-alapú Apollo oldalsablonnal.
Author: Sikó Bálint
Version: 0.1.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: apollo
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Minimális alap stílus. Az Apollo oldal stílusai: assets/css/apollo.css */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.5;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Ugrás a tartalomra: fókuszra a fejléc fölött jelenik meg */
.skip-link:focus {
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 0.75rem);
	left: 0.75rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.75rem 1.25rem;
	clip: auto;
	background: #fff;
	color: #000;
	font-size: 1rem;
	text-decoration: none;
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Alap tartalom (page.php, single.php, index.php) */
.site-main {
	padding-block: var(--apollo-section-y, 4rem);
}

/* WordPress kötelező osztályok */
.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	font-size: 0.875rem;
	line-height: 1.4;
}

.sticky,
.bypostauthor {
	display: block;
}
