:root {
  --blue: #003d9d;
  --blue-2: #002b78;
  --blue-3: #0057d8;
  --red: #ed1111;
  --red-2: #c90808;
  --dark: #0d1726;
  --text: #1f2937;
  --muted: #667085;
  --line: #e8edf5;
  --bg: #f6f8fb;
  --card: #ffffff;
  --shadow: 0 16px 38px rgba(15, 23, 42, .08);
  --shadow-soft: 0 8px 22px rgba(15, 23, 42, .06);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .sidebar {
  top: 48px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
input[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(0, 87, 216, .28);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  background: #fff;
  position: relative;
  z-index: 10;
}

.top-logo {
  padding: 20px 0 10px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-logo {
  max-height: 78px;
  width: auto;
}

.text-logo {
  color: var(--blue);
  font-size: 44px;
  font-weight: 900;
  line-height: .85;
  text-align: center;
  letter-spacing: -2px;
}

.text-logo span {
  display: table;
  margin: 0 auto 3px;
  padding: 2px 9px;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  letter-spacing: 0;
}

.text-logo small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.mainbar {
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 35%),
    linear-gradient(135deg, var(--blue-2), var(--blue-3));
  color: #fff;
  box-shadow: inset 0 -1px rgba(255,255,255,.14);
}

.nav-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.clock {
  font-weight: 900;
  white-space: nowrap;
  font-size: 15px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: block;
  padding: 15px 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 8px;
  transition: background .18s ease, transform .18s ease;
}

.primary-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.instagram-link {
  margin-left: auto;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.instagram-link:hover {
  color: #fff;
  opacity: .9;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255,255,255,.15);
  color: #fff;
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 900;
}

/* PUBLICIDADE */

.ad-zone {
  padding: 14px 0;
  background:
    radial-gradient(circle at top, #fff, #f3f6fb 72%),
    #f3f6fb;
}

.pdm-ad {
  text-align: center;
}

.pdm-ad img {
  margin-inline: auto;
  border-radius: 3px;
}

.pdm-ad-top img {
  max-height: 170px;
  object-fit: contain;
}

/* HOME */

.home-wrap {
  padding: 50px 0 70px;
  background: linear-gradient(#fff 0, #fff 35%, #fbfcff 100%);
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1.05fr);
  gap: 30px;
  align-items: start;
}

.hero-card,
.side-box,
.mini-news,
.list-news,
.pdm-widget,
.post-card,
.comment-respond,
.comments-area {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, .11);
}

.hero-card .thumb {
  position: relative;
  overflow: hidden;
  background: #eef2f7;
}

.hero-card .thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease;
}

.hero-card:hover .thumb img {
  transform: scale(1.025);
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(237,17,17,.25);
}

.hero-body {
  padding: 21px 24px 28px;
}

.date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-title {
  margin: 9px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -1.1px;
}

.hero-title a:hover {
  color: var(--blue);
}

/* HOME LATERAL */

.side-stack {
  display: grid;
  gap: 18px;
}

.mini-news {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 126px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease;
}

.mini-news:hover {
  transform: translateY(-2px);
  border-color: #d7e3f4;
}

.mini-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef2f7;
}

.mini-body {
  padding: 13px 14px;
}

.pdm-cat {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.mini-title {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.news-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.list-news {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease;
}

.list-news:hover {
  transform: translateX(3px);
  border-color: #d7e3f4;
}

.plus {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.list-title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

/* ARCHIVE / SEARCH */

.archive-wrap,
.search-wrap {
  padding: 42px 0 70px;
  background: #fff;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef2f7;
}

.post-card-body {
  padding: 15px;
}

.post-card h2 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.35px;
}

.pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.page-numbers {
  min-width: 39px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--dark);
  font-weight: 900;
  text-align: center;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* SINGLE */

.single-wrap {
  padding: 26px 0 68px;
  background: #fff;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  gap: 28px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-cat {
  margin-bottom: 6px;
}

.article-title {
  margin: 6px 0 8px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: -1.25px;
  color: #111827;
}

.subtitle {
  margin: 0 0 18px;
  color: #4b5565;
  font-size: 18px;
  line-height: 1.45;
}

.byline {
  margin: 0 0 18px;
  color: #475467;
  font-size: 12px;
}

.byline strong {
  color: #111827;
}

.share-row {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.share-row a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  transition: transform .18s ease, opacity .18s ease;
}

.share-row a:hover {
  color: #fff;
  transform: translateY(-2px);
  opacity: .92;
}

.featured-single {
  margin: 0 0 18px;
}

.featured-single img {
  width: 100%;
  border-radius: 3px;
}

.entry-content {
  color: var(--text);
  font-size: 18px;
  line-height: 1.72;
}

.entry-content p {
  margin: 0 0 18px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 30px 0 12px;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -.45px;
}

.entry-content h2 {
  font-size: 28px;
}

.entry-content h3 {
  font-size: 23px;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 20px 22px;
  padding: 0;
}

.entry-content li {
  margin-bottom: 7px;
}

.entry-content blockquote {
  margin: 24px 0;
  padding: 12px 18px;
  border-left: 4px solid var(--blue);
  background: #f8fafc;
  color: #344054;
  font-weight: 600;
}

.entry-content iframe,
.entry-content embed,
.entry-content video {
  max-width: 100%;
}

.entry-content .wp-caption {
  max-width: 100%;
}

.entry-content .wp-caption-text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* RELACIONADAS */

.related {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
}

.related h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.related-list {
  display: grid;
  gap: 10px;
}

/* SIDEBAR */

.sidebar {
  position: sticky;
  top: 16px;
}

.search-form {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  height: 40px;
  border: 1px solid #cfd6e4;
  border-radius: 4px;
  padding: 0 11px;
  background: #fff;
  color: var(--dark);
}

.search-field:focus {
  border-color: var(--blue);
  outline: none;
}

.search-submit,
.comment-form input[type="submit"] {
  border: 0;
  background: var(--blue-2);
  color: #fff;
  border-radius: 4px;
  padding: 0 17px;
  font-weight: 900;
  transition: background .18s ease, transform .18s ease;
}

.search-submit:hover,
.comment-form input[type="submit"]:hover {
  background: var(--blue);
  color: #fff;
}

.pdm-widget {
  margin-bottom: 14px;
  border-radius: 7px;
  box-shadow: none;
  overflow: hidden;
}

.widget-title,
.ad-title {
  display: block;
  margin: 0;
  padding: 8px 10px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
}

.pdm-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdm-widget li {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.pdm-widget li:last-child {
  border-bottom: 0;
}

.pdm-widget li a:hover {
  color: var(--blue);
}

.pdm-ad-side {
  margin: 0 0 14px;
  text-align: center;
}

.pdm-ad-side img {
  width: 100%;
  border-radius: 3px;
}

/* COMENTÁRIOS */

.comments-area,
.comment-respond {
  margin-top: 34px;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px dashed #d7deea;
  border-radius: 0;
  box-shadow: none;
}

.comment-respond h3,
.comments-area h2,
.comments-area h3 {
  margin-top: 0;
}

.comment-form textarea {
  width: 100%;
  min-height: 170px;
  border: 1px solid #cfd6e4;
  border-radius: 4px;
  padding: 12px;
  resize: vertical;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  height: 42px;
  border: 1px solid #cfd6e4;
  border-radius: 4px;
  padding: 0 10px;
}

.comment-form textarea:focus,
.comment-form input:focus {
  border-color: var(--blue);
  outline: none;
}

.comment-form input[type="submit"] {
  height: 42px;
}

/* FOOTER */

.site-footer {
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 35%),
    linear-gradient(135deg, var(--blue-2), #004fc0);
  color: #fff;
  text-align: center;
  padding: 22px 0;
  font-size: 14px;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: #ffe66b;
  font-weight: 900;
}

.site-footer a:hover {
  color: #fff;
}

/* 404 */

.not-found {
  padding: 70px 0;
  text-align: center;
}

.not-found-box {
  max-width: 650px;
  margin: auto;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.not-found h1 {
  margin: 0;
  color: var(--blue);
  font-size: 58px;
  line-height: 1;
}

/* WORDPRESS DEFAULT */

.aligncenter {
  margin-inline: auto;
}

.alignleft {
  float: left;
  margin: 6px 20px 14px 0;
}

.alignright {
  float: right;
  margin: 6px 0 14px 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* RESPONSIVO */

@media (max-width: 1024px) {
  .home-grid,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-layout {
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .top-logo {
    padding: 16px 0 9px;
  }

  .custom-logo {
    max-height: 60px;
  }

  .text-logo {
    font-size: 34px;
  }

  .text-logo span {
    font-size: 13px;
  }

  .text-logo small {
    font-size: 11px;
  }

  .nav-inner {
    min-height: 52px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px 0;
  }

  .menu-toggle {
    display: block;
    order: 1;
  }

  .clock {
    order: 2;
    margin-left: auto;
    font-size: 13px;
  }

  .instagram-link {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding: 4px 0;
    text-align: center;
  }

  .primary-menu {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .primary-menu.is-open {
    display: flex;
  }

  .primary-menu a {
    padding: 12px 13px;
    background: rgba(255,255,255,.09);
  }

  .ad-zone {
    padding: 10px 0;
  }

  .home-wrap {
    padding: 28px 0 48px;
  }

  .home-grid {
    gap: 22px;
  }

  .hero-body {
    padding: 18px;
  }

  .hero-title {
    font-size: 26px;
    letter-spacing: -.7px;
  }

  .hero-badge {
    left: 13px;
    bottom: 13px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .mini-news {
    grid-template-columns: 120px 1fr;
    min-height: 112px;
  }

  .mini-title {
    font-size: 14px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .single-wrap {
    padding-top: 22px;
  }

  .article-title {
    font-size: 29px;
    letter-spacing: -.8px;
  }

  .subtitle {
    font-size: 16px;
  }

  .share-row {
    justify-content: flex-start;
  }

  .entry-content {
    font-size: 16px;
    line-height: 1.68;
  }

  .entry-content h2 {
    font-size: 24px;
  }

  .entry-content h3 {
    font-size: 21px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-submit {
    height: 40px;
  }

  .alignleft,
  .alignright {
    float: none;
    margin: 0 0 18px;
  }

  .not-found-box {
    padding: 32px 20px;
  }

  .not-found h1 {
    font-size: 48px;
  }
}

@media (max-width: 460px) {
  body {
    font-size: 15px;
  }

  .mini-news {
    grid-template-columns: 1fr;
  }

  .mini-news img {
    aspect-ratio: 16 / 9;
  }

  .list-news {
    align-items: flex-start;
  }

  .article-title {
    font-size: 27px;
  }
}

/* REDUZ ANIMAÇÕES PARA QUEM PREFERE MENOS MOVIMENTO */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}