/* ==========================================================================
   bdkasparova.cz - site stylesheet
   Values are taken from the original Divi build of the site so the static
   version renders identically (fonts, sizes, spacing, breakpoints 980/767 px).
   ========================================================================== */

/* Self-hosted fonts (previously loaded from Google Fonts) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-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: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-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: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-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: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-condensed-400-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: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-condensed-400-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: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-condensed-500-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: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-condensed-500-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: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-condensed-600-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: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-condensed-600-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;
}

/* ==========================================================================
   Reset (kept close to the original theme reset so spacing stays identical)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Table elements are deliberately left out: like the original they keep the browser
   default vertical-align (middle), which the cookie table relies on. */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, ul, ol, li, blockquote,
b, strong, i, em, img, svg, button,
nav, header, footer, main, section, article {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
article, aside, footer, header, nav, section, main { display: block; }
img { max-width: 100%; height: auto; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ==========================================================================
   Base typography
   ========================================================================== */
:root {
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-sans: 'IBM Plex Sans', Helvetica, Arial, Lucida, sans-serif;
  --font-condensed: 'IBM Plex Sans Condensed', Helvetica, Arial, Lucida, sans-serif;

  --color-text: #666;
  --color-text-dark: #3c3a47;
  --color-heading: #0e0c19;
  --color-link: #1d3557;
  --color-accent: #2ea3f2;
  --color-tint: rgba(142, 204, 248, 0.33);

  --content-width: 80%;
  --content-max-width: 1080px;
  --gutter: 5.5%;
  --header-height: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  color: var(--color-text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #1a73b5; text-decoration: none; }
p { padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

h1, h2, h3, h4, h5, h6 {
  color: #333;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

blockquote {
  margin: 20px 0 30px;
  border-left: 5px solid var(--color-accent);
  padding-left: 20px;
}
blockquote p { padding-bottom: 0; }

/* ==========================================================================
   Layout primitives: page, container, section, row, column
   Breakpoints: desktop >= 981px, tablet <= 980px, phone <= 767px
   ========================================================================== */
.page { padding-top: var(--header-height); }

.container {
  position: relative;
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section {
  position: relative;
  background-color: #fff;
  padding: 4% 0;
}
.section--tinted { background-color: var(--color-tint); }

.row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 2% 0;
}

.col {
  position: relative;
  width: 100%;
  min-height: 1px;
  margin-right: var(--gutter);
}
.col:last-child { margin-right: 0; }
.row--equal { align-items: stretch; }
.col--1-2 { width: 47.25%; }
.col--1-3 { width: 29.6667%; }
.col--4-4 { width: 100%; margin-right: 0; }

@media (min-width: 1350px) {
  .section { padding: 54px 0; }
  .row { padding: 27px 0; }
}

@media (max-width: 980px) {
  .section { padding: 50px 0; }
  .row { padding: 30px 0; }
  .col,
  .col--1-2,
  .col--1-3 {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .col:last-child { margin-bottom: 0; }
}

/* Per-section spacing overrides (double class keeps them above the media rules) */
.section.section--hero { padding-top: 8vw; padding-bottom: 3vw; }
.section.section--board { padding-top: 1px; padding-bottom: 100px; }
.section.section--invitation { padding-bottom: 0; }
.section.section--contact { padding-top: 2px; padding-bottom: 100px; }
.section.section--downloads { padding-bottom: 50px; }
.row.row--flush { padding: 0; }

@media (max-width: 980px) {
  .row.row--lead { padding-bottom: 0; }
}

/* Anchor targets sit below the fixed header on desktop */
.section[id] { scroll-margin-top: var(--header-height); }
@media (max-width: 980px) {
  .section[id] { scroll-margin-top: 0; }
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  font-family: var(--font-condensed);
  font-weight: 500;
  line-height: 23px;
}

.site-header .container {
  display: flex;
  justify-content: flex-end;
}

.site-nav {
  padding-top: 33px;
  font-weight: 600;
}

.site-nav__list { line-height: 0; }

.site-nav__list li {
  display: inline-block;
  font-size: 14px;
  line-height: 14px;
  padding-right: 22px;
}
.site-nav__list li:last-child { padding-right: 0; }

.site-nav__list a {
  display: block;
  position: relative;
  padding-bottom: 33px;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
  text-transform: uppercase;
  transition: opacity 0.4s ease-in-out;
}
.site-nav__list a:hover { opacity: 0.7; }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .site-header { position: absolute; }
  .site-nav { padding-top: 24px; }
  .site-nav__list { display: none; }

  .menu-toggle {
    display: block;
    width: 32px;
    height: 56px;
    padding: 0 0 24px;
    border: 0;
    background: none;
    cursor: pointer;
    line-height: 0;
    color: rgba(0, 0, 0, 0.6);
  }
  .menu-toggle svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: currentColor;
  }

  .mobile-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    padding: 5%;
    background-color: #fff;
    z-index: 9999;
    border-top: 3px solid var(--color-accent);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  .mobile-menu.is-open { display: block; }

  .mobile-menu a {
    display: block;
    padding: 10px 5%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-weight: 600;
    line-height: 23px;
    transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
  }
  .mobile-menu a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    opacity: 0.7;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.section.section--hero {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.9) 100%),
    url('../img/hero-budova.jpg');
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}
.section--hero .row { z-index: 5; }

.hero__kicker {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.hero__text {
  position: relative;
  padding-bottom: 50px;
  color: #fff;
}

.hero__title {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 72px;
  line-height: 1.15em;
  color: #fff;
}

.hero__divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
  pointer-events: none;
  background-repeat: repeat-x;
  background-size: 100% 100px;
  transform: scale(-1, 1);
  background-image: url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%25' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M0 0v140h1280L0 0z' /%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 980px) {
  .hero__kicker { font-size: 13px; }
  .hero__title { font-size: 40px; }
}
@media (max-width: 767px) {
  .hero__title { font-size: 24px; }
}

/* ==========================================================================
   Content modules
   ========================================================================== */

/* Section heading */
.heading {
  position: relative;
  margin-bottom: 10px;
}

.heading__title {
  font-family: var(--font-condensed);
  font-size: 50px;
  line-height: 1.2em;
  color: var(--color-heading);
  text-align: center;
}

@media (max-width: 980px) { .heading__title { font-size: 28px; } }
@media (max-width: 767px) { .heading__title { font-size: 20px; } }

/* Board / committee member */
.member {
  position: relative;
  text-align: center;
  overflow-wrap: break-word;
}

.member__name {
  font-family: var(--font-condensed);
  font-size: 28px;
  line-height: 1.3em;
  color: var(--color-text);
}

.member__role {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--color-text);
  padding-bottom: 0;
}

.member--lead .member__name { font-size: 32px; }
.member--lead .member__role { font-size: 22px; }

@media (max-width: 980px) {
  .member__name { font-size: 22px; }
  .member--lead .member__name { font-size: 24px; }
  .member__role,
  .member--lead .member__role { font-size: 16px; }
}
@media (max-width: 767px) {
  .member__name,
  .member--lead .member__name { font-size: 20px; }
}

/* Invitation text (rendered from Markdown) */
.invitation {
  position: relative;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 1.75em;
  color: var(--color-text-dark);
  overflow-wrap: break-word;
}
.invitation a { color: var(--color-link); text-decoration: underline; }
.invitation ul { list-style-type: disc; list-style-position: inside; padding: 0 0 1em; line-height: 26px; }
.invitation ol { list-style-type: decimal; list-style-position: inside; padding: 0 0 1em; line-height: 26px; }
.invitation li { line-height: 1.8em; }

@media (max-width: 980px) { .invitation { font-size: 15px; } }
@media (max-width: 767px) { .invitation { font-size: 14px; } }

/* Contact blurb */
.blurb {
  position: relative;
  overflow-wrap: break-word;
}

.blurb__title {
  font-family: var(--font-condensed);
  font-size: 26px;
  line-height: 1.4em;
  color: var(--color-heading);
}

.blurb__desc {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.75em;
  color: var(--color-text-dark);
}
.blurb__desc a { color: var(--color-link); }

@media (max-width: 980px) {
  .blurb__title,
  .blurb__desc { font-size: 15px; }
}
@media (max-width: 767px) {
  .blurb__title { font-size: 13px; }
  .blurb__desc { font-size: 14px; }
}

/* Document list */
.downloads {
  position: relative;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.75em;
  color: var(--color-text-dark);
  overflow-wrap: break-word;
}
.downloads ul {
  list-style-type: disc;
  padding: 0 0 1em 1em;
  line-height: 26px;
}
.downloads li { line-height: 1.8em; }
.downloads a { color: var(--color-link); text-decoration: underline; }

@media (max-width: 980px) { .downloads { font-size: 15px; } }
@media (max-width: 767px) { .downloads { font-size: 14px; } }

/* Footer */
.footer-text {
  position: relative;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.75em;
  overflow-wrap: break-word;
}
.footer-text--links { color: var(--color-text-dark); }
.footer-text--links a { color: var(--color-link); text-decoration: underline; }
.footer-text--info { color: var(--color-text); }

@media (max-width: 980px) { .footer-text { font-size: 15px; } }
@media (max-width: 767px) { .footer-text { font-size: 14px; } }

/* Long-form text pages (cookies, privacy policy, 404) */
.prose {
  position: relative;
  line-height: 1.7em;
  overflow-wrap: break-word;
}
.prose table {
  width: 100%;
  border: 1px solid #eee;
  margin: 0 0 15px;
  text-align: left;
}
.prose th {
  color: #555;
  font-weight: 700;
  padding: 9px 24px;
}
.prose td {
  border-top: 1px solid #eee;
  padding: 6px 24px;
}
.prose ul {
  list-style-type: disc;
  padding: 0 0 1em 1em;
  line-height: 26px;
}
.prose ol {
  list-style-type: decimal;
  list-style-position: inside;
  padding: 0 0 1em;
  line-height: 26px;
}
.prose ul li ul,
.prose ul li ol { padding: 2px 0 2px 20px; }
