/*
Theme Name: Maidstec
Theme URI: https://maidstec.com/
Author: Maidstec
Author URI: https://maidstec.com/
Description: Tema institucional personalizado da Maidstec para processos, dashboards, dados, MD Connect e inteligência artificial.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: maidstec
*/

/* Ajustes específicos da integração com WordPress. */
body.admin-bar .site-header {
  top: 32px;
}

.maidstec-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.form-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.wp-page-shell {
  min-height: 72vh;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 12% 12%, rgba(24, 119, 242, 0.12), transparent 32%),
    #f6f9fd;
}

.wp-content-card {
  width: min(920px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(7, 17, 31, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.09);
}

.wp-content-card h1,
.wp-content-card h2,
.wp-content-card h3,
.wp-content-card h4 {
  margin-top: 1.55em;
  margin-bottom: 0.65em;
  color: #07111f;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
}

.wp-content-card h1 {
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.wp-content-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.wp-content-card p,
.wp-content-card li {
  color: #465368;
  font-size: 1.04rem;
  line-height: 1.8;
}

.wp-content-card p + p,
.wp-content-card ul + p,
.wp-content-card ol + p {
  margin-top: 1.1rem;
}

.wp-content-card ul,
.wp-content-card ol {
  margin: 1rem 0 1.5rem 1.4rem;
}

.wp-content-card a:not(.button) {
  color: #006be9;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.wp-content-card blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.4rem;
  border-left: 4px solid #006be9;
  background: #f2f7ff;
}

.post-list {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.post-card {
  padding: 24px;
  border: 1px solid rgba(7, 17, 31, 0.08);
  border-radius: 20px;
  background: #fff;
}

.post-card h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.post-meta {
  display: block;
  margin-bottom: 12px;
  color: #738096;
  font-size: 0.88rem;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .wp-page-shell {
    padding-top: 118px;
  }

  .wp-content-card {
    border-radius: 20px;
  }
}

/* Cabeçalho sólido nas páginas internas para preservar contraste do logo claro. */
body:not(.home) .site-header {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(3, 9, 17, 0.96);
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.16);
}
