


:root {
--bg:           #f7f5f2;
--surface:      #ffffff;
--navy:         #1a2340;
--navy-light:   #2d3b6b;
--red:          #c0392b;
--red-hover:    #a93226;
--text:         #1e1e1e;
--text-muted:   #555555;
--text-light:   #f0ece3;
--border:       #d8d4ce;
--link:         #1a56db;
--link-visited: #6b21a8;
--shadow:       0 2px 10px rgba(0,0,0,0.10);
--shadow-lg:    0 6px 24px rgba(0,0,0,0.15);
--radius:       6px;
--hero-overlay: rgba(14, 18, 36, 0.58);
--font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
--font-body:    'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
--font-mono:    'Courier New', Courier, monospace;
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
scroll-behavior: smooth;
}
body {
font-family: var(--font-body);
font-size: 1rem;
color: var(--text);
background-color: var(--bg);
line-height: 1.75;
}
.skip-link {
position: absolute;
top: -200%;
left: 1rem;
z-index: 9999;
padding: 0.5rem 1.2rem;
background: #000000;
color: #ffffff;
font-family: var(--font-body);
font-weight: 700;
font-size: 0.9rem;
text-decoration: underline;
border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus {
top: 0;
}
header {
background-color: var(--navy);
color: var(--text-light);
padding: 1.1rem 2rem;
border-bottom: 4px solid var(--red);
}
.header-inner {
max-width: 1100px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.site-title {
font-family: var(--font-display);
font-size: 1.3rem;
font-weight: 700;
letter-spacing: -0.01em;
}
.site-title a:link,
.site-title a:visited {
color: var(--text-light);
text-decoration: none;
}
nav {
background-color: var(--navy);
border-bottom: 1px solid rgba(255,255,255,0.08);
position: sticky;
top: 0;
z-index: 100;
}
.nav-inner {
max-width: 1100px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
nav ul {
list-style: none;
display: flex;
flex-wrap: wrap;
}
nav ul li a:link,
nav ul li a:visited {
display: block;
padding: 0.8rem 1.2rem;
color: rgba(240,236,227,0.85);
text-decoration: none;
font-weight: 700;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.07em;
border-bottom: 3px solid transparent;
transition: color 0.18s, border-color 0.18s, background 0.18s;
}
nav ul li a:hover {
color: #ffffff;
border-bottom-color: var(--red);
background: rgba(255,255,255,0.05);
}
nav ul li a.active,
nav ul li a[aria-current="page"] {
color: #ffffff;
border-bottom-color: var(--red);
background: rgba(255,255,255,0.08);
}
.accessibility-controls {
display: flex;
align-items: center;
gap: 0.4rem;
padding: 0.5rem 1rem;
}
.accessibility-controls button {
background: rgba(255,255,255,0.1);
color: rgba(240,236,227,0.9);
border: 1px solid rgba(255,255,255,0.25);
padding: 0.3rem 0.65rem;
border-radius: 4px;
cursor: pointer;
font-size: 0.78rem;
font-weight: 700;
font-family: var(--font-body);
transition: background 0.18s;
white-space: nowrap;
}
.accessibility-controls button:hover {
background: rgba(255,255,255,0.22);
color: #ffffff;
}
.breadcrumb {
background: #eeebe6;
border-bottom: 1px solid var(--border);
padding: 0.55rem 2rem;
font-size: 0.85rem;
}
.breadcrumb ol {
list-style: none;
display: flex;
gap: 0.4rem;
max-width: 1100px;
margin: 0 auto;
flex-wrap: wrap;
align-items: center;
}
.breadcrumb ol li::after {
content: '›';
margin-left: 0.4rem;
color: var(--text-muted);
}
.breadcrumb ol li:last-child::after {
content: '';
}
.hero {
background-color: var(--navy);
background-image: url('../images/Myfriends.jpg');
background-size: cover;
background-position: center;
position: relative;
min-height: 380px;
display: flex;
align-items: flex-end;
}
#page-joy .hero    { background-image: url('../images/joy.jpg'); }
#page-alyda .hero  { background-image: url('../images/alyda-budapest.jpg'); }
#page-timofei .hero{ background-image: url('../images/timofei-esztergom-1.jpg'); }
.hero-overlay {
position: absolute;
inset: 0;
background: var(--hero-overlay);
}
.hero-content {
position: relative;
z-index: 1;
width: 100%;
max-width: 1100px;
margin: 0 auto;
padding: 2.5rem 2rem 2.5rem;
color: #ffffff;
}
.hero-content h1 {
font-family: var(--font-display);
font-size: clamp(1.6rem, 4.5vw, 2.8rem);
line-height: 1.2;
margin-bottom: 0.6rem;
text-shadow: 0 2px 10px rgba(0,0,0,0.55);
color: #ffffff;
}
.hero-content p {
font-size: clamp(0.95rem, 2vw, 1.1rem);
max-width: 560px;
color: rgba(255,255,255,0.88);
text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
.content-layout {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
max-width: 1100px;
margin: 0 auto;
padding: 2rem;
align-items: start;
}
main {
min-width: 0;
}
section {
margin-bottom: 2rem;
}
section > h2 {
font-family: var(--font-display);
font-size: 1.45rem;
color: var(--navy);
border-bottom: 3px solid var(--red);
padding-bottom: 0.4rem;
margin-bottom: 1.25rem;
}
article {
background: var(--surface);
border-radius: var(--radius);
padding: 1.5rem 1.75rem;
box-shadow: var(--shadow);
margin-bottom: 1.5rem;
}
article h2 {
font-family: var(--font-display);
font-size: 1.4rem;
color: var(--navy);
border-bottom: 2px solid var(--red);
padding-bottom: 0.4rem;
margin-bottom: 0.9rem;
}
article h3 {
font-family: var(--font-display);
font-size: 1.1rem;
color: var(--navy);
margin-bottom: 0.6rem;
margin-top: 1rem;
}
article p {
margin-bottom: 0.85rem;
text-align: left;
color: var(--text);
}
article ul,
article ol {
padding-left: 1.4rem;
margin-bottom: 0.85rem;
}
article li {
margin-bottom: 0.3rem;
}
aside {
background: var(--surface);
border-radius: var(--radius);
border-left: 4px solid var(--red);
padding: 1.5rem;
box-shadow: var(--shadow);
height: fit-content;
}
aside h3 {
font-family: var(--font-display);
font-size: 1rem;
color: var(--navy);
padding-bottom: 0.4rem;
border-bottom: 1px solid var(--border);
margin-bottom: 0.85rem;
margin-top: 1.2rem;
}
aside h3:first-child {
margin-top: 0;
}
aside ul {
list-style: none;
padding: 0;
margin-bottom: 0.5rem;
}
aside ul li {
padding: 0.4rem 0;
border-bottom: 1px solid var(--border);
font-size: 0.88rem;
}
aside ul li:last-child { border-bottom: none; }
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
line-height: 1.3;
color: var(--navy);
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin-bottom: 0.85rem; }
strong, b {
font-weight: 700;
color: var(--navy);
}
small {
font-size: 0.875rem;
font-family: var(--font-body);
}
a:link {
color: var(--link);
text-decoration: underline;
}
a:visited {
color: var(--link-visited);
text-decoration: underline;
}
a:hover,
a:focus {
color: var(--red);
text-decoration: underline;
outline: 2px solid transparent;
}
nav a:link,
nav a:visited,
nav a:hover,
footer nav a:link,
footer nav a:visited,
footer nav a:hover,
.site-title a:link,
.site-title a:visited,
.site-title a:hover {
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
display: block;
border-radius: var(--radius);
}
.thumbnail {
max-width: 220px;
border: 2px solid var(--border);
transition: transform 0.2s, box-shadow 0.2s;
cursor: zoom-in;
}
.thumbnail:hover {
transform: scale(1.04);
box-shadow: var(--shadow-lg);
border-color: var(--navy);
}
figure {
margin: 1rem 0;
}
figcaption {
font-size: 0.82rem;
color: var(--text-muted);
text-align: center;
margin-top: 0.45rem;
font-style: italic;
}
.photo-grid {
display: flex;
gap: 1.2rem;
flex-wrap: wrap;
margin: 1rem 0;
align-items: flex-start;
}
video {
width: 100%;
max-width: 720px;
border-radius: var(--radius);
box-shadow: var(--shadow-lg);
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
overflow-x: auto;
display: block;
}
caption {
font-family: var(--font-display);
font-weight: 700;
font-size: 0.95rem;
color: var(--navy);
text-align: left;
padding: 0.5rem 0.5rem 0.75rem;
}
th {
background-color: var(--navy);
color: #ffffff;
padding: 0.7rem 0.9rem;
text-align: left;
font-weight: 700;
font-size: 0.82rem;
text-transform: uppercase;
letter-spacing: 0.05em;
white-space: nowrap;
}
td {
padding: 0.6rem 0.9rem;
border-bottom: 1px solid var(--border);
color: var(--text);
vertical-align: top;
}
tr:nth-child(even) td { background-color: #f0ede8; }
tr:hover td { background-color: #e8edf8; }
details {
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
margin: 1.5rem 0;
}
summary {
background: var(--navy);
color: #ffffff;
padding: 0.85rem 1.25rem;
cursor: pointer;
font-weight: 700;
font-family: var(--font-display);
font-size: 0.95rem;
list-style: none;
display: flex;
align-items: center;
gap: 0.5rem;
user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::before {
content: '▶';
font-size: 0.7rem;
transition: transform 0.2s;
display: inline-block;
flex-shrink: 0;
}
details[open] summary::before { transform: rotate(90deg); }
details > *:not(summary) {
padding: 1rem 1.25rem;
background: var(--surface);
}
form {
display: flex;
flex-direction: column;
gap: 1.1rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.35rem;
}
fieldset {
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0.75rem 1rem;
}
legend {
font-weight: 700;
font-size: 0.88rem;
color: var(--navy);
padding: 0 0.3rem;
}
label {
font-weight: 700;
font-size: 0.88rem;
color: var(--navy);
cursor: pointer;
}
input[type="text"],
textarea {
font-family: var(--font-body);
font-size: 0.95rem;
padding: 0.6rem 0.9rem;
border: 1.5px solid var(--border);
border-radius: var(--radius);
background: var(--bg);
color: var(--text);
width: 100%;
transition: border-color 0.18s, box-shadow 0.18s;
}
input[type="text"]:focus,
textarea:focus {
outline: none;
border-color: var(--navy);
box-shadow: 0 0 0 3px rgba(26,35,64,0.12);
}
textarea {
resize: vertical;
min-height: 110px;
}
.radio-group {
display: flex;
flex-direction: column;
gap: 0.45rem;
padding-top: 0.35rem;
}
.radio-group label {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 400;
cursor: pointer;
}
.checkbox-group {
display: flex;
align-items: center;
gap: 0.5rem;
}
.checkbox-group label {
font-weight: 400;
cursor: pointer;
}
.form-actions {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
margin-top: 0.25rem;
}
button[type="submit"] {
font-family: var(--font-body);
font-size: 0.92rem;
font-weight: 700;
padding: 0.65rem 1.6rem;
border-radius: var(--radius);
border: none;
background-color: var(--red);
color: #ffffff;
cursor: pointer;
transition: background 0.18s, transform 0.1s;
}
button[type="submit"]:hover {
background-color: var(--red-hover);
transform: translateY(-1px);
}
button[type="reset"] {
font-family: var(--font-body);
font-size: 0.92rem;
font-weight: 700;
padding: 0.65rem 1.6rem;
border-radius: var(--radius);
border: 1.5px solid var(--border);
background-color: var(--surface);
color: var(--text-muted);
cursor: pointer;
transition: background 0.18s, color 0.18s;
}
button[type="reset"]:hover {
background: var(--border);
color: var(--text);
}
.form-success {
display: none;
padding: 1rem 1.2rem;
background: #d1fae5;
border-left: 4px solid #10b981;
border-radius: var(--radius);
color: #065f46;
font-weight: 700;
font-size: 0.95rem;
}
.quick-facts {
list-style: none;
padding: 0;
}
.quick-facts li {
display: flex;
gap: 0.5rem;
padding: 0.45rem 0;
border-bottom: 1px solid var(--border);
font-size: 0.875rem;
align-items: baseline;
}
.quick-facts li:last-child { border-bottom: none; }
.fact-label {
font-weight: 700;
color: var(--navy);
min-width: 110px;
flex-shrink: 0;
}
.person-banner {
background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
color: #ffffff;
padding: 1.5rem 1.75rem;
border-radius: var(--radius);
margin-bottom: 1.5rem;
font-style: italic;
font-size: 1.05rem;
border-left: 5px solid var(--red);
box-shadow: var(--shadow);
}
.highlight {
background: #fef3c7;
color: #92400e;
padding: 0.1em 0.3em;
border-radius: 3px;
font-weight: 700;
}
footer {
background-color: var(--navy);
color: var(--text-light);
padding: 2rem;
margin-top: 3rem;
}
.footer-inner {
max-width: 1100px;
margin: 0 auto;
}
footer nav {
background: none;
border: none;
position: static;
margin-bottom: 0.75rem;
}
footer nav ul li a:link,
footer nav ul li a:visited {
padding: 0.25rem 0.5rem;
font-size: 0.82rem;
border-bottom: none;
color: rgba(240,236,227,0.75);
text-decoration: none;
}
footer nav ul li a:hover { color: #ffffff; }
footer p {
font-size: 0.82rem;
color: rgba(240,236,227,0.5);
margin-top: 0.75rem;
margin-bottom: 0;
}
footer a:link,
footer a:visited {
color: rgba(240,236,227,0.75);
text-decoration: underline;
}
footer a:hover { color: #ffffff; }
body.high-contrast {
background: #000000;
color: #ffffff;
--bg: #000000;
--surface: #111111;
--text: #ffffff;
--text-muted: #cccccc;
--border: #666666;
--link: #ffff00;
--link-visited: #ff88ff;
--navy: #000000;
--navy-light: #222222;
--red: #ff6666;
font-size: 1.2rem;
}
body.high-contrast header,
body.high-contrast nav,
body.high-contrast footer {
background: #000000;
border-color: #ffffff;
}
body.high-contrast article,
body.high-contrast aside {
background: #111111;
border: 2px solid #ffffff;
box-shadow: none;
}
body.high-contrast th {
background: #ffffff;
color: #000000;
}
body.high-contrast nav ul li a:link,
body.high-contrast nav ul li a:visited {
color: #ffffff;
}
body.high-contrast nav ul li a.active,
body.high-contrast nav ul li a:hover {
color: #ffff00;
border-bottom-color: #ffff00;
}
body.high-contrast .hero-overlay {
background: rgba(0,0,0,0.85);
}
body.high-contrast a:link  { color: #ffff00; }
body.high-contrast a:visited { color: #ff88ff; }
body.high-contrast summary {
background: #000000;
border: 1px solid #ffffff;
}
body.high-contrast input[type="text"],
body.high-contrast textarea {
background: #000000;
color: #ffffff;
border-color: #ffffff;
}
@media screen and (min-width: 960px) {
.content-layout {
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.hero { min-height: 420px; }
}
@media screen and (min-width: 600px) and (max-width: 959px) {
.content-layout {
grid-template-columns: 1fr;
}
.hero { min-height: 300px; }
.content-layout aside {
border-left: none;
border-top: 4px solid var(--red);
}
}
@media screen and (max-width: 599px) {
.content-layout {
grid-template-columns: 1fr;
padding: 1rem;
gap: 1.25rem;
}
.hero { min-height: 240px; }
nav ul li a:link,
nav ul li a:visited {
padding: 0.6rem 0.7rem;
font-size: 0.75rem;
letter-spacing: 0.03em;
}
.accessibility-controls { padding: 0.4rem 0.5rem; }
.accessibility-controls button { padding: 0.25rem 0.45rem; font-size: 0.72rem; }
header { padding: 0.9rem 1rem; }
.site-title { font-size: 1.05rem; }
article { padding: 1rem 1.1rem; }
aside { border-left: none; border-top: 4px solid var(--red); }
.photo-grid { flex-direction: column; }
.thumbnail { max-width: 100%; }
table { font-size: 0.8rem; }
th, td { padding: 0.5rem 0.6rem; }
}
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }