/*
Theme Name: iSmile
Theme URI: https://wp.borisov.gg/
Description: iSmile-Film als Startseite. Neue Seiten bekommen ein einfaches, immer gleiches Aussehen.
Version: 1.0
Author: iSmile
Text Domain: ismile
*/

@font-face {
  font-family: Bricolage;
  src: url("film/assets/stage/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Instrument;
  src: url("film/assets/stage/instrument.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #183c50;
  --paper: #eef9fc;
  --ice: #c5dce4;
  --accent: #0966ac;
}

* { box-sizing: border-box; }

html { background: var(--ice); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ice);
  color: var(--ink);
  font-family: Bricolage, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
}

a { color: var(--accent); }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 64px);
}

.bar img { width: 132px; height: auto; display: block; }

.bar nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.bar nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.bar nav a:hover,
.bar nav .current_page_item a { color: var(--accent); }

.bar ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }

main {
  width: min(760px, calc(100% - 40px));
  margin: 12px auto 64px;
  padding: clamp(28px, 5vw, 64px);
  background: var(--paper);
  border-radius: 28px;
}

h1 {
  margin: 0 0 18px;
  font-family: Instrument, Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.text > *:first-child { margin-top: 0; }

.text p { margin: 0 0 1em; }

.site-foot {
  padding: 0 clamp(20px, 4vw, 64px) 40px;
  color: var(--ink);
}

.site-foot p { margin: 0 0 6px; }

.site-foot a { color: var(--ink); font-weight: 700; }
