/*
Theme Name: Comer Bem em Curitiba
Theme URI: https://comerbememcuritiba.com
Author: Projeto Comer Bem em Curitiba
Author URI: https://comerbememcuritiba.com
Description: Tema WordPress inspirado no layout original do projeto Comer bem em Curitiba.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9.1
Requires PHP: 8.1
Text Domain: comerbem-curitiba
*/

:root {
  --cbec-bg: #f5f1e8;
  --cbec-gold: #d4af37;
  --cbec-gold-dark: #c49d2f;
  --cbec-dark: #1a1a1a;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cbec-bg);
  color: var(--cbec-dark);
}

.site {
  min-height: 100vh;
  background: var(--cbec-bg);
}

.site-main {
  display: block;
}

.cbec-header {
  transition: background-color 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease;
}

.cbec-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.cbec-header:not(.is-scrolled) {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}

.cbec-hero {
  min-height: 100vh;
}

.cbec-card-image {
  aspect-ratio: 16 / 9;
}

.cbec-prose p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  word-wrap: normal !important;
}
