:root {
  --ap-navy: #0b1d33;
  --ap-navy-soft: #102942;
  --ap-gold: #e3b85f;
  --ap-cream: #f7f3eb;
  --ap-white: #ffffff;
}

/* Utilitário para títulos responsivos criados no Elementor Atomic Editor. */
.ap-wrap-title {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

.ap-wrap-title,
.ap-wrap-title * {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

.ap-header,
.ap-header * {
  box-sizing: border-box;
}

.ap-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  color: var(--ap-white);
  background: var(--ap-navy);
  border-bottom: 1px solid rgba(227, 184, 95, .24);
  font-family: Arial, Helvetica, sans-serif;
}

.ap-header__inner {
  width: min(1280px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ap-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ap-white) !important;
  text-decoration: none !important;
}

.ap-header__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ap-gold);
  color: var(--ap-gold);
  font: 700 14px/1 Arial, sans-serif;
  letter-spacing: .08em;
}

.ap-header__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .015em;
  white-space: nowrap;
}

.ap-header__nav {
  margin-left: auto;
}

.ap-header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ap-header__menu li {
  position: relative;
  margin: 0 !important;
}

.ap-header__menu a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,.82) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color .2s ease;
}

.ap-header__menu a:hover,
.ap-header__menu .current-menu-item > a {
  color: var(--ap-gold) !important;
}

.ap-header__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  color: var(--ap-navy) !important;
  background: var(--ap-gold);
  border: 1px solid var(--ap-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease;
}

.ap-header__cta:hover {
  color: var(--ap-white) !important;
  background: transparent;
}

.ap-header__toggle {
  display: none;
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--ap-white);
  background: transparent;
  cursor: pointer;
}

.ap-header__toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.ap-header__toggle-icon {
  width: 22px;
  display: grid;
  gap: 5px;
}

.ap-header__toggle-icon i {
  display: block;
  height: 2px;
  background: currentColor;
}

@media (max-width: 1100px) {
  .ap-header__inner {
    width: min(100% - 32px, 1280px);
  }

  .ap-header__toggle {
    display: block;
  }

  .ap-header__cta {
    display: none;
  }

  .ap-header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 22px;
    background: var(--ap-navy-soft);
    border-top: 1px solid rgba(227, 184, 95, .18);
    box-shadow: 0 18px 30px rgba(5, 15, 28, .22);
  }

  .ap-header.is-open .ap-header__nav {
    display: block;
  }

  .ap-header__menu {
    display: grid;
    gap: 0;
  }

  .ap-header__menu a {
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .ap-header__inner {
    width: calc(100% - 24px);
    min-height: 70px;
  }

  .ap-header__mark {
    width: 38px;
    height: 38px;
  }

  .ap-header__name {
    font-size: 16px;
  }
}

/* Apresentação consistente dos artigos no tema Hello. */
body.single-post .site-header {
  display: none !important;
}

body.single-post .site-main {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  padding: 46px 0 76px;
}

body.single-post .entry-title {
  margin: 0 0 20px;
  color: var(--ap-navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

body.single-post .wp-post-image {
  display: block;
  width: 100%;
  max-height: 560px;
  margin: 0 0 36px;
  object-fit: cover;
}

body.single-post .entry-content {
  max-width: 860px;
  margin: 0 auto;
  color: #243347;
  font-size: 17px;
  line-height: 1.75;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3 {
  color: var(--ap-navy);
  line-height: 1.2;
}

body.single-post .entry-content h2 {
  margin-top: 46px;
  font-size: clamp(28px, 3.4vw, 40px);
}

body.single-post .entry-content h3 {
  margin-top: 30px;
  font-size: clamp(21px, 2.4vw, 27px);
}

body.single-post .entry-content a {
  color: #9a6814;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.single-post .entry-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--ap-gold);
  background: var(--ap-cream);
  color: #4b5665;
}

@media (max-width: 620px) {
  body.single-post .site-main {
    width: min(100% - 28px, 1080px);
    padding: 32px 0 56px;
  }

  body.single-post .entry-content {
    font-size: 16px;
  }
}
