/* IMeN N1 — ajustes sobre o Blocksy */
:root { --imen-azul: var(--theme-palette-color-1); --imen-laranja: var(--theme-palette-color-2); }

/* Texto dos artigos: justificado e com hifenização */
.single .entry-content p, .single .entry-content li, .page .entry-content p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.entry-content img { border-radius: 6px; }

/* Títulos de seção (faixa azul, como no site antigo) */
.imen-faixa { background: var(--imen-azul); color: #fff; padding: .55em .9em; border-radius: 6px; font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1rem; }

/* Lista de artigos na home */
.imen-lista.wp-block-latest-posts { padding: 0; }
.imen-lista.wp-block-latest-posts li { background: #fff; border: 1px solid var(--theme-palette-color-5); border-radius: 6px; padding: .9em 1.1em; margin-bottom: .7em; }
.imen-lista .wp-block-latest-posts__post-title { font-weight: 600; color: var(--theme-palette-color-4); }
.imen-lista .wp-block-latest-posts__post-title:hover { color: var(--imen-laranja); }
.imen-lista .wp-block-latest-posts__post-date { font-size: .8em; color: #6b7785; }

/* Cartões (caixas brancas) */
.imen-cartao { background: #fff; border-radius: 8px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(20,40,70,.08); }

/* Grade de categorias */
.imen-cats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem; }
.imen-cats li { margin: 0; }
.imen-cats a { display: flex; justify-content: space-between; gap: .5em; background: #fff; border: 1px solid var(--theme-palette-color-5); border-radius: 6px; padding: .7em 1em; font-weight: 500; color: var(--theme-palette-color-4); text-decoration: none; }
.imen-cats a:hover { border-color: var(--imen-laranja); color: var(--imen-laranja); }
.imen-cats small { color: #6b7785; }

/* Botão do WhatsApp */
.imen-whats { position: fixed; right: 16px; bottom: 16px; z-index: 99; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.imen-whats:hover { color: #fff; transform: scale(1.06); }

/* Rodapé */
.imen-rodape p, .imen-rodape li { font-size: .92rem; }
.imen-rodape ul { list-style: none; padding: 0; margin: 0; }
.imen-rodape li { margin-bottom: .35em; }
.imen-redes { display: flex; gap: .8rem; }
.imen-redes a { display: inline-flex; }

/* Home e páginas */
.imen-banner img { display: block; width: 100%; height: auto; border-radius: 8px; }
.imen-h1 { margin-top: 1.5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.imen-intro { font-size: 1.1rem; color: #4a5866; }
.imen-dr { text-align: center; }
.imen-dr img { border-radius: 8px; margin: 0 auto .5rem; }
.imen-parceiro { display: block; width: 100%; height: auto; border-radius: 10px; }
.imen-mapa { width: 100%; border: 0; border-radius: 8px; }
.imen-cartao + .imen-cartao { margin-top: 1.2rem; }
.wp-block-button.imen-zap .wp-block-button__link { background: #25d366; }
.imen-mais { margin: .2rem 0 1.5rem; }
.imen-lista a, .imen-dr a, .imen-cartao li a, .imen-rodape a { text-decoration: none; }
.home .entry-content > .wp-block-html:first-child { margin-top: 0; }

/* Fonte dos títulos */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('fontes/montserrat-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; }
h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .imen-faixa, .ct-menu-link, .wp-block-latest-posts__post-title, .ct-related-posts .related-entry-title {
  font-family: 'Montserrat', system-ui, sans-serif; }
h1, h2, h3, .entry-title { font-weight: 700; letter-spacing: -.01em; }
.imen-faixa, .ct-menu-link { font-weight: 600; }

/* Tempo de leitura e aviso de saúde */
.imen-leitura { font-size: .85rem; color: #6b7785; margin-bottom: 1.2rem; }
.imen-aviso { margin-top: 2rem; padding: 1rem 1.2rem; background: #fff7ef; border-left: 4px solid var(--imen-laranja); border-radius: 6px; font-size: .92rem; text-align: left; }
