:root{
  --bg: #f4efe3;        /* palha */
  --ink:#1a1a1a;        /* quase preto */
  --wood:#3a2a1f;       /* marrom madeira */
  --gold:#b58b3b;       /* dourado queimado */
  --olive:#3a4a2a;      /* verde oliva escuro */
  --card:#fffaf0;       /* off-white */
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 18px;

  /* tema LV (apenas topo/abas) */
  --lv-brown: #2b1d14;  /* marrom 8.5 */
  --lv-text:  #f5f1e8;  /* palha clara */
  --lv-hover: #e0b96a;  /* dourado */
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* ======= Seu layout/cards (mantido) ======= */
.top{
  padding: 18px 18px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: linear-gradient(180deg, rgba(181,139,59,.10), transparent);
}
.brand{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  gap:12px;
  align-items:center;
}
.mark{
  width:46px;
  height:46px;
  border-radius: 14px;
  background: var(--wood);
  color: #fff;
  display:grid;
  place-items:center;
  font-weight: 700;
  letter-spacing:.5px;
  box-shadow: var(--shadow);
}
.title{ font-size: 18px; font-weight: 700; }
.subtitle{ font-size: 13px; opacity: .75; margin-top:2px; }

.wrap{ max-width: 980px; margin: 0 auto; padding: 18px; }

.hero{ padding: 14px 0 8px; }
.hero h1{
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.3px;
}
.hero p{ margin:0; opacity:.78; }

.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.card{
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration:none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.icon{
  font-size: 26px;
  width: 40px;
  height: 40px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(58,74,42,.10);
  border: 1px solid rgba(58,74,42,.18);
}
.card-title{ font-weight: 700; }
.card-text{ font-size: 13px; opacity:.75; margin-top:2px; }

.foot{
  margin-top: 18px;
  padding: 18px 0 8px;
  opacity: .65;
}

@media (max-width: 720px){
  .grid{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 24px; }
}

/* ======= MkDocs Material - só topo e abas (SEM mexer em sidebar) ======= */
.md-header,
.md-tabs{
  background-color: var(--lv-brown) !important;
}

.md-header[data-md-state="shadow"]{
  background-color: var(--lv-brown) !important;
}

/* Texto/ícones do topo */
.md-header__title,
.md-header__button,
.md-tabs__link{
  color: var(--lv-text) !important;
  opacity: 1 !important;
}

/* Hover/ativo das abas */
.md-tabs__link--active,
.md-tabs__link:hover{
  color: var(--lv-hover) !important;
}

/* ===== Mobile drawer header (menu que aparece na tela pequena) ===== */

/* faixa do topo do menu lateral no mobile */
.md-nav__title[for="__drawer"]{
  background-color: var(--lv-brown) !important;
  color: var(--lv-text) !important;
}

/* texto e ícones dentro dessa faixa */
.md-nav__title[for="__drawer"] .md-nav__button,
.md-nav__title[for="__drawer"] a,
.md-nav__title[for="__drawer"] svg{
  color: var(--lv-text) !important;
  fill: var(--lv-text) !important;
}

/* ===== BOLETINS estilo álbum organizado ===== */

.grid-year{
  display:grid;
  grid-template-columns: repeat(6, 1fr); /* 6 por linha */
  gap:14px;
  justify-items:center;
  margin-top:18px;
  margin-bottom:35px;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}

/* figurinha */
.grid-year img{
  width:90px;
  height:auto;
  border-radius:6px;
  background:#fff;
  padding:3px;
  border:1px solid #d6d1c8;
  box-shadow:0 2px 4px rgba(0,0,0,0.18);
  transition:transform .15s ease, box-shadow .15s ease;
}

/* hover */
.grid-year img:hover{
  transform:scale(1.08);
  box-shadow:0 5px 12px rgba(0,0,0,0.28);
}

/* ===== responsivo ===== */

/* iPad */
@media (max-width: 900px){
  .grid-year{
    grid-template-columns: repeat(4, 1fr);
  }
}

/* iPhone */
@media (max-width: 600px){
  .grid-year{
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-year img{
    width:78px;
  }
}

/* ===== Galeria LV ===== */
:root{
  --lv-thumb: 120px;          /* ajuste: 100 / 120 / 140 */
  --lv-thumb-radius: 10px;
}

.lv-album{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--lv-thumb), 1fr));
  gap: 12px;
  align-items:start;
}

.lv-album a{ display:block; }

.lv-album img{
  width:100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--lv-thumb-radius);
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  transition: transform .12s ease, box-shadow .12s ease;
}

.lv-album img:hover{
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}

@media (max-width: 720px){
  :root{ --lv-thumb: 105px; }
}
