/* SEXOLOGICA – site styles. Colours and fonts are the ones the WordPress/Elementor site used. */

/* Roboto, self-hosted (no requests to Google). One variable font file per character set. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-italic-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-italic-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --brown: #974D3A;
  --navy: #2B2E45;
  --rose: #D3ACA2;
  --white: #FFFFFF;
  --header-h: 104px;
  --content-w: 1024px;
  --font: "Roboto", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--navy); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); }
a:hover, a:focus-visible { color: var(--navy); }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ header (inner pages) */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--header-h);
  display: flex; align-items: flex-start; justify-content: space-between; background: var(--white);
}
.lang-switch, .menu-toggle {
  display: flex; align-items: center; justify-content: center; width: 84px; height: 84px;
  font: 500 24px/1 var(--font); color: var(--white); text-decoration: none; border: 0; cursor: pointer;
}
.lang-switch { background: var(--brown); text-transform: uppercase; }
.menu-toggle { background: var(--navy); height: 77px; }
.lang-switch:hover, .lang-switch:focus-visible { color: var(--white); background: #7e3f2f; }
.menu-toggle:hover, .menu-toggle:focus-visible { background: #3a3e5c; }
.menu-toggle svg { width: 27px; height: 19px; fill: var(--white); }
.brand { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; height: 84px; padding: 0 12px; }
.page-title { margin: 0; font-size: 26px; font-weight: 400; line-height: 1.2; color: var(--brown); text-align: right; }
.brand-logo { display: block; flex: none; padding-left: 12px; border-left: 1px solid var(--navy); }
.brand-logo img { height: 42px; width: auto; }

/* ------------------------------------------------------------------ content */
main.page { max-width: var(--content-w); margin: 0 auto; padding: calc(var(--header-h) + 70px) 20px 60px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.page-image { margin: 0; }
.page-image img { width: 100%; }
.page-text-full { max-width: 760px; }
.page-text > :first-child { margin-top: 0; }
.page-text p { margin: 0 0 0.9em; }
.page-text h2, .page-text h3 { font-size: 28px; font-weight: 500; line-height: 1.2; margin: 0.8em 0 0.5em; }
.page-text h4 { font-size: 24px; font-weight: 500; line-height: 1.2; margin: 1em 0 0.6em; }
.page-text h5 { font-size: 20px; font-weight: 500; line-height: 1.3; margin: 1em 0 0.6em; }
.page-text a { color: var(--brown); }
.page-text strong { font-weight: 700; }

.quote { position: relative; margin: 0 0 30px; padding: 0 56px; color: var(--brown); font-size: 24px; font-weight: 300; line-height: 1.3; }
.quote p { margin: 0; }
.quote::before, .quote::after { position: absolute; font: 700 90px/1 Georgia, "Times New Roman", serif; color: var(--rose); }
.quote::before { content: "\201C"; left: 0; top: -6px; }
.quote::after { content: "\201D"; right: 0; bottom: -52px; }

.button { display: inline-block; margin-top: 10px; padding: 12px 22px; background: var(--brown); color: var(--white) !important;
  text-decoration: none; font-weight: 500; line-height: 1.3; }
.button:hover, .button:focus-visible { background: var(--navy); }

.social { display: flex; justify-content: center; gap: 24px; margin: 26px 0 0; }
.social a { display: inline-flex; color: var(--brown); }
.social svg { width: 40px; height: 40px; fill: currentColor; }
.social a:hover svg, .social a:focus-visible svg { fill: var(--navy); }

.publications { list-style: none; margin: 0; padding: 0; }
.publications li { margin: 0 0 14px; }
.publications a { font-size: 18px; line-height: 1.35; }

.below { margin-top: 50px; }
.video { margin: 0 auto; max-width: 900px; }
.video-start, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-start img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play svg { width: 88px; height: 62px; transition: transform .15s; }
.video-start:hover .video-play svg { transform: scale(1.08); }
.video figcaption { margin-top: 8px; font-size: 13px; color: #555; }

/* ------------------------------------------------------------------ blog */
.blog-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.post-list { display: grid; gap: 50px; }
.post-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 30px; align-items: center; }
.post-card-figure { margin: 0; }
.post-card-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card-image { display: block; }
.post-card-image:hover img { opacity: .9; }
.post-date { margin: 0 0 6px; font-size: 14px; letter-spacing: .04em; color: var(--brown); text-transform: uppercase; }
.post-card-title { margin: 0 0 10px; font-size: 28px; font-weight: 500; line-height: 1.2; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card-title a:hover, .post-card-title a:focus-visible { color: var(--brown); }
.post-excerpt { margin: 0 0 12px; }
.read-more { font-weight: 500; text-decoration: none; }
.read-more:hover { text-decoration: underline; }
.no-posts { text-align: center; font-size: 18px; }
.post-title { margin: 0 0 22px; font-size: 32px; font-weight: 500; line-height: 1.2; color: var(--navy); }
.back-link { margin-top: 36px; }
.back-link a { font-weight: 500; text-decoration: none; }
.draft-badge { display: inline-block; margin-left: 10px; padding: 2px 8px; background: var(--rose); color: var(--navy);
  font-size: 12px; letter-spacing: .04em; vertical-align: 1px; }
.draft-note { margin: 0 0 16px; padding: 8px 12px; background: #f6ece9; border-left: 4px solid var(--rose); font-size: 14px; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--navy); margin-top: 40px; padding: 24px 20px 30px; text-align: center; font-size: 14px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--brown); font-weight: 700; }
.social-small { gap: 14px; margin-top: 14px; }
.social-small svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ menu overlay */
.menu-overlay { position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: rgba(43, 46, 69, 0.97); color: var(--white);
  display: flex; align-items: center; padding: 90px 8vw 40px; }
.menu-overlay[hidden] { display: none; }
.menu-close { position: absolute; top: 28px; right: 28px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-close svg { width: 24px; height: 24px; fill: var(--white); }
.menu, .submenu { list-style: none; margin: 0; padding: 0; }
.menu a, .sub-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; color: #FFFDFD; text-decoration: none;
  font: 400 30px/1.3 var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.menu a:hover, .menu a:focus-visible, .sub-toggle:hover, .sub-toggle:focus-visible { color: var(--rose); }
.sub-toggle svg { width: 18px; height: 18px; fill: currentColor; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { padding: 4px 0 10px 24px; }
.submenu a { font-size: 24px; }
.menu-social { display: flex; gap: 18px; margin: 22px 0 0; }
.menu-social a { color: var(--white); display: inline-flex; }
.menu-social svg { width: 28px; height: 28px; fill: currentColor; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ home */
main.home { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: #555 url(../bilder/Sasha-Naydenova2.jpg) center / cover no-repeat; }
.home .lang-switch { position: absolute; top: 0; left: 0; }
.home .menu-toggle { position: absolute; top: 0; right: 0; }
.home-logo { position: absolute; left: 4vw; bottom: 7vh; margin: 0; width: min(330px, 60vw); }
.home-logo img { width: 100%; height: auto; }
.kontakt-button { position: absolute; right: 4vw; bottom: 7vh; display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px 12px 18px; background: var(--white); color: var(--brown); text-decoration: none;
  font: 300 40px/1 var(--font); border-radius: 50px 50px 0 50px; }
.kontakt-button svg { width: 40px; height: 40px; flex: none; }
.kontakt-button:hover, .kontakt-button:focus-visible { color: var(--navy); }
.home-legal { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; font-size: 12px; color: var(--white); }
.home-legal a { color: var(--white); text-shadow: 0 0 4px rgba(0, 0, 0, .7); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .lang-switch, .menu-toggle { width: 56px; height: 56px; font-size: 18px; }
  .brand { height: 56px; gap: 8px; }
  .page-title { font-size: 18px; }
  .brand-logo img { height: 30px; }
  main.page { padding-top: calc(var(--header-h) + 30px); }
}
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; gap: 14px; }
  .post-card-title { font-size: 24px; }
  .post-title { font-size: 26px; }
  .brand { flex-direction: column; justify-content: center; gap: 3px; }
  .page-title { font-size: 15px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .brand-logo { border-left: 0; padding-left: 0; }
  .brand-logo img { height: 22px; }
  .page-text h2, .page-text h3 { font-size: 24px; }
  .page-text h4 { font-size: 21px; }
  .quote { font-size: 21px; padding: 0 44px; }
  .quote::before, .quote::after { font-size: 70px; }
  .menu a, .sub-toggle { font-size: 24px; }
  .submenu a { font-size: 20px; }
  .kontakt-button { font-size: 26px; padding: 10px 16px 9px 12px; }
  .kontakt-button svg { width: 28px; height: 28px; }
  .home-logo { bottom: calc(7vh + 70px); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
