:root {
  --font-body: "Noto Sans", "Open Sans", Arial, sans-serif;
  --font-display: "Noto Serif", "Roboto Slab", Georgia, serif;
  --text-primary: #2f2f2f;
  --text-heading: #1f1f1f;
}

html { font-size: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 3.8vw, 3.15rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.95rem); }
h4 { font-size: clamp(1.16rem, 1.8vw, 1.45rem); }
h5 { font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
h6 { font-size: 0.9rem; }

p,
li {
  font-size: 1rem;
  line-height: 1.72;
}

.uppercase { letter-spacing: 0.06em; }

.roboto-slab { font-family: var(--font-display) !important; }

.sub-title,
.sub-title-2,
.sub-title-left,
.sub-title-left-2 {
  font-family: var(--font-body);
  line-height: 1.78;
  width: min(65ch, 90%);
  max-width: 65ch;
}

.sub-title,
.sub-title-left { font-size: 1.05rem; }

.sub-title-2,
.sub-title-left-2 { font-size: 1rem; }

.navbar-default.brown .navbar-nav > li > a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.menu-item-entry h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
}

/* Hero typography (same composition as catering/events/about reference) */
.header-inner-2 .inner {
  text-align: center !important;
  padding-left: 20px;
  padding-right: 20px;
}

.header-inner-2 .inner .title {
  font-family: var(--font-display) !important;
  float: none !important;
  display: table;
  margin: 0 auto;
  text-align: center !important;
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: 0.015em;
  max-width: min(90vw, 22ch);
  font-size: clamp(2.25rem, 4.15vw, 4rem);
}

.header-inner-2 .inner h5 {
  font-family: var(--font-body);
  display: block;
  width: 100%;
  margin: 12px auto 0;
  text-align: center !important;
  line-height: 1.45;
  letter-spacing: 0.045em;
  max-width: min(90vw, 64ch);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
}

/* Page-specific hero tuning */
.menu-hero .inner .title {
  max-width: min(90vw, 20ch);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.blog-hero .inner .title {
  max-width: min(90vw, 28ch);
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
}

.praznici-hero-fill {
  height: 620px !important;
}

.praznici-hero-fill .inner .title {
  max-width: min(90vw, 22ch);
  font-size: clamp(1.55rem, 2.35vw, 2.7rem);
}

.praznici-hero-fill .inner h5 {
  max-width: min(90vw, 64ch);
  font-size: clamp(0.86rem, 1.1vw, 1rem);
}

@media (max-width: 999px) {
  body { font-size: 15px; }

  .header-inner-2 .inner .title {
    max-width: 92vw;
    font-size: clamp(1.5rem, 6vw, 2.3rem);
    line-height: 1.12;
  }

  .header-inner-2 .inner h5 {
    max-width: 92vw;
    margin-top: 8px;
    font-size: clamp(0.82rem, 2.8vw, 1rem);
    letter-spacing: 0.03em;
  }

  .blog-hero .inner .title {
    font-size: clamp(1.35rem, 5vw, 2.05rem);
  }

  .praznici-hero-fill {
    height: 500px !important;
  }

  .praznici-hero-fill .inner .title {
    font-size: clamp(1.2rem, 4.9vw, 1.95rem);
  }
}

/* Footer contrast fixes for dark contact blocks */
.section-dark.sec-padding .text-box-right p,
.section-dark.sec-padding .text-box-right p i {
  color: #d7d7d7;
}

.section-dark.sec-padding .text-box-right p a {
  color: #f0f0f0;
}

.section-dark.sec-padding .text-box-right p a:hover,
.section-dark.sec-padding .text-box-right p a:focus {
  color: #ffffff;
}

.section-copyrights span,
.section-copyrights span a {
  color: #c2c2c2;
}

.section-copyrights span a:hover,
.section-copyrights span a:focus {
  color: #ffffff;
}

/* TikTok footer icon support (Font Awesome 4 has no fa-tiktok glyph) */
.social-icons-3 li a {
  vertical-align: middle;
}

.social-icons-3 li a.tiktok-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.social-icons-3 li a.tiktok-link .icon-tiktok-svg {
  width: 16px;
  height: 16px;
  display: block;
}
