/*
Theme Name: Horizontal Infos
Theme URI: https://horizontalinfos.com/
Author: Seu Nome
Description: Tema moderno e performático para o Horizontal Infos.
Version: 1.0
*/

body {
  font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #f7f7f7 !important;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  width: 360px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 16px;
  min-height: 520px;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-6px) scale(1.025);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-title {
  font-size: 1.15rem;
  margin: 16px 16px 8px 16px;
  color: #222;
  font-weight: 600;
  height: 3.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-excerpt {
  margin: 0 16px 16px 16px;
  color: #222;
  font-size: 1.18rem;
  line-height: 1.8;
  font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
  max-height: 8.5em;
  min-height: 8.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}
.card-btn {
  margin: 0 16px 16px 16px;
  padding: 10px 0;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  width: 100%;
  font-size: 1rem;
  margin-top: auto;
  align-self: flex-end;
}
.card-btn:hover {
  background: #005177;
}
.card a, .card-title, .card-title a {
  text-decoration: none !important;
  color: inherit;
}
.card a:hover, .card-title a:hover {
  text-decoration: underline;
  color: #0073aa;
}

/* Header */
.site-header {
  background: #8d9cdb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0;
  margin-top: 0 !important;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.site-logo img {
  height: 48px;
  width: auto;
}
.site-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #0074aa2c;
  text-decoration: none;
}
.site-nav .main-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.site-nav .main-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}
.site-nav .main-menu li a:hover {
  color: #0073aa;
}

/* Footer atualizado */
.site-footer {
  background: #8d9cdb;
  padding: 32px 0 16px 0;
  margin-top: 40px;
  color: #fff;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-logo .site-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
.footer-nav .footer-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.footer-nav .footer-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav .footer-menu li a:hover {
  color: #222;
}
.footer-copy {
  color: #e0e0e0;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0 8px;
  }
  .footer-logo {
    margin-bottom: 10px;
  }
  .footer-nav .footer-menu {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .header-container, .footer-container, .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
  }
  .site-nav .main-menu, .footer-nav .footer-menu {
    flex-direction: column;
    gap: 12px;
  }
  .card {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
  }
}

/* Single Post */
.single-post, .single-no-box {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.single-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 32px;
  color: #0073aa;
}
.single-content {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #222;
}

/* Card exclusivo para single */
.single-card {
  background: none 
  border-radius: 0;
  box-shadow: none 
  overflow: visible;
  width: 900px;
  max-width: 198vw;
  margin: 48px auto 48px auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-top: 16px
}
.single-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}
.single-card-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 32px;
  text-align: center;
  margin-top: 0 !important;
}
.single-card-content {
  font-size: 1.18rem;
  line-height: 1.8;
  color: #222;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .single-card {
    width: 99vw;
    padding: 0;
  }
  .single-card-title {
    font-size: 1.5rem;
  }
  .single-card-content {
    font-size: 1rem;
  }
}

/* Menu mobile aprimorado */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
  z-index: 201;
}
@media (max-width: 900px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 200;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -220px;
    width: 200px;
    height: 100vh;
    background: #8d9cdb;
    box-shadow: -2px 0 16px rgba(0,0,0,0.10);
    border-radius: 0 0 0 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
    transition: right 0.35s cubic-bezier(.77,0,.18,1);
    z-index: 200;
  }
  .site-nav .main-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .site-nav .main-menu li {
    width: 100%;
  }
  .site-nav .main-menu li a {
    display: block;
    width: 100%;
    padding: 18px 24px;
    color: #fff;
    font-size: 1.1rem;
    border-bottom: 1px solid #7a8ac7;
    transition: background 0.2s, color 0.2s;
  }
  .site-nav .main-menu li a:hover {
    background: #7a8ac7;
    color: #fff;
  }
  .site-nav.active {
    right: 0;
  }
  .menu-toggle {
    display: block;
  }
  body.menu-open {
    overflow: hidden;
  }
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}

/* Correção para botões do plugin Botões Inteligentes Internos */
.provider_visit a.visit {
  width: auto !important;
  display: inline-flex !important;
  max-width: 90vw;
  min-width: 120px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}
.provider_visit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Limite de largura para containers do bloco de botões do plugin */
.app-buttons-container,
.provider_stats_wrapper {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
} 