/*
Theme Name: Senior w nowym stylu
Theme URI: https://seniorwnowymstylu.pl
Author: migracja z Joomla
Description: Motyw nawiązujący do szablonu OT Corporatetree (kolorystyka zielono-szara). Strona główna odtwarza moduły Joomla.
Version: 1.0.0
Text Domain: senior-nowy-styl
*/

:root {
	--sn-color-text: #444444;
	--sn-color-link: #94a05e;
	--sn-color-link-hover: #85b576;
	--sn-color-bg: #f7f7f4;
	--sn-color-header: #3d4a2c;
	--sn-max: 1100px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--sn-color-text);
	background: var(--sn-color-bg);
}

a {
	color: var(--sn-color-link);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--sn-color-link-hover);
	text-decoration: underline;
}

.site-header {
	background: linear-gradient(135deg, #4a5c38 0%, var(--sn-color-header) 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.site-header__inner {
	max-width: var(--sn-max);
	margin: 0 auto;
	padding: 1rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.site-title a {
	color: #fff;
	text-decoration: none;
}

.site-title a:hover {
	color: #e8edc8;
	text-decoration: none;
}

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
}

.main-nav a {
	color: #eef2dc;
	font-weight: 500;
	text-decoration: none;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-main {
	max-width: var(--sn-max);
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

.hero {
	text-align: center;
	padding: 2rem 1rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	margin-bottom: 2rem;
}

.hero__tagline {
	font-size: 1.15rem;
	margin: 0 0 0.75rem;
	color: var(--sn-color-header);
	font-weight: 600;
}

.hero p {
	margin: 0.5rem 0;
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
}

.photo-strip {
	background: #fff;
	padding: 1.5rem 1rem;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	margin-bottom: 2rem;
	text-align: center;
}

.photo-strip__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.photo-strip img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	vertical-align: middle;
}

.latest-posts h2 {
	font-size: 1.35rem;
	color: var(--sn-color-header);
	border-bottom: 2px solid var(--sn-color-link);
	padding-bottom: 0.35rem;
	margin-bottom: 1rem;
}

.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.post-list li {
	padding: 0.85rem 0;
	border-bottom: 1px solid #ddd;
}

.post-list a {
	font-weight: 600;
}

.entry-header h1 {
	margin-top: 0;
	color: var(--sn-color-header);
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.site-footer {
	background: #2c3522;
	color: #c8d0b0;
	text-align: center;
	padding: 1.5rem 1rem;
	margin-top: 3rem;
	font-size: 0.9rem;
}

.site-footer a {
	color: #dde6c5;
}

.senior-gallery-placeholder {
	background: #fff9e6;
	border-left: 4px solid var(--sn-color-link);
	padding: 0.75rem 1rem;
	margin: 1rem 0;
}

@media (max-width: 600px) {
	.main-nav ul {
		flex-direction: column;
		gap: 0.5rem;
	}
}
