/*
Theme Name: Blog do Daniel Sousa
Theme URI: https://joeri.com.br/
Author: JOERI
Author URI: https://joeri.com.br/
Description: Tema premium e responsivo para portal de notícias, com 15 publicações na página inicial, destaque editorial, banner publicitário e identidade visual do Blog do Daniel Sousa.
Version: 1.3.1
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blog-daniel-sousa
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns
*/

:root {
  --ds-red-950: #4b0008;
  --ds-red-900: #6f000d;
  --ds-red-800: #8e0712;
  --ds-red-700: #aa0a13;
  --ds-orange: #ff5a00;
  --ds-orange-light: #ff7a00;
  --ds-yellow: #ffd400;
  --ds-ink: #17171b;
  --ds-muted: #6f7178;
  --ds-border: #e7e7eb;
  --ds-soft: #f6f6f8;
  --ds-white: #ffffff;
  --ds-green: #18a852;
  --ds-shadow: 0 18px 50px rgba(60, 0, 8, 0.10);
  --ds-shadow-sm: 0 8px 28px rgba(40, 12, 16, 0.08);
  --ds-radius: 18px;
  --ds-radius-sm: 12px;
  --ds-container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ds-ink);
  background: #fff;
  font-family: Inter, Montserrat, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

a:hover {
  color: var(--ds-red-700);
}

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

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

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

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

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: #fff;
  background: var(--ds-red-800);
  border-radius: 8px;
}

.skip-link {
  position: fixed;
}

/* Cabeçalho */
.site-topbar {
  color: #fff;
  background: linear-gradient(90deg, var(--ds-red-950), var(--ds-red-700) 60%, #cf220d);
  font-size: 13px;
  font-weight: 700;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-date,
.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-contact:hover {
  color: var(--ds-yellow);
}

.icon-inline {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}

.brand-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 90, 0, .10), transparent 30%),
    #fff;
  border-bottom: 1px solid rgba(111, 0, 13, .09);
}

.brand-header::before,
.brand-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(170, 10, 19, .08);
  border-radius: 50%;
}

.brand-header::before {
  left: -85px;
  top: -100px;
}

.brand-header::after {
  right: -100px;
  bottom: -130px;
}

.brand-inner {
  position: relative;
  z-index: 1;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 18px;
}

.brand-art {
  display: block;
  width: min(100%, 960px);
  max-height: 300px;
  object-fit: contain;
}

.custom-brand {
  text-align: center;
}

.custom-brand .custom-logo {
  width: auto;
  max-width: min(100%, 640px);
  max-height: 170px;
  object-fit: contain;
}

.text-brand-title {
  display: block;
  color: var(--ds-red-800);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
}

.text-brand-description {
  display: block;
  margin-top: 8px;
  color: var(--ds-orange);
  font-weight: 700;
}

.main-navigation-wrap {
  position: relative;
  z-index: 50;
  color: #fff;
  background: linear-gradient(105deg, var(--ds-red-950), var(--ds-red-800) 70%, var(--ds-orange));
  box-shadow: 0 8px 25px rgba(75, 0, 8, .20);
}

.nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-navigation {
  min-width: 0;
}

.site-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-navigation .menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-navigation .menu > li {
  position: relative;
}

.site-navigation .menu > li > a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-navigation .menu > li > a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
  color: var(--ds-red-950);
  background: var(--ds-yellow);
}

.site-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--ds-shadow);
  transition: .22s ease;
}

.site-navigation li:hover > .sub-menu,
.site-navigation li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-navigation .sub-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--ds-ink);
  font-size: 13px;
  font-weight: 700;
  border-radius: 7px;
}

.site-navigation .sub-menu a:hover {
  color: var(--ds-red-800);
  background: #fff4ed;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.menu-toggle,
.search-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
}

.menu-toggle:hover,
.search-toggle:hover {
  color: var(--ds-red-950);
  background: var(--ds-yellow);
}

.menu-toggle {
  display: none;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.search-panel {
  display: none;
  padding: 14px 0;
  background: var(--ds-red-950);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.search-panel.is-open {
  display: block;
}

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

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  color: var(--ds-ink);
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: 10px;
  outline: 0;
}

.search-field:focus {
  border-color: var(--ds-orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, .15);
}

.search-submit,
.button-primary,
.form-submit .submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(110deg, var(--ds-red-800), var(--ds-orange));
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-submit:hover,
.button-primary:hover,
.form-submit .submit:hover {
  color: var(--ds-red-950);
  background: var(--ds-yellow);
}

/* Componentes editoriais */
.site-main {
  min-height: 55vh;
}

.home-main {
  padding: 36px 0 68px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--ds-red-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 25px;
  height: 4px;
  background: linear-gradient(90deg, var(--ds-yellow), var(--ds-orange));
  border-radius: 10px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ds-border);
}

.section-heading h2 {
  position: relative;
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--ds-red-800), var(--ds-orange));
  border-radius: 10px;
}

.section-link {
  color: var(--ds-red-800);
  font-size: 13px;
  font-weight: 800;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, .85fr);
  gap: 24px;
}

.lead-story {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: var(--ds-red-950);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
}

.lead-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(38, 0, 5, .96) 0%, rgba(51, 0, 6, .43) 48%, rgba(51, 0, 6, .05) 75%);
}

.lead-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.lead-story .fallback-thumbnail,
.news-card-image .fallback-thumbnail,
.more-news-image .fallback-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lead-story:hover img {
  transform: scale(1.035);
}

.lead-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px;
}

.news-category {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 3px 10px;
  color: var(--ds-red-950);
  background: var(--ds-yellow);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lead-title {
  max-width: 800px;
  margin: 13px 0 12px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.lead-title a:hover {
  color: var(--ds-yellow);
}

.lead-story .lead-title a,
.side-feature-card .side-feature-title a {
  color: #fff !important;
}

.lead-story .lead-title a:hover,
.side-feature-card .side-feature-title a:hover {
  color: var(--ds-yellow) !important;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  color: var(--ds-muted);
  font-size: 12px;
  font-weight: 700;
}

.lead-story .post-meta {
  color: rgba(255, 255, 255, .82);
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.side-featured {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.side-feature-card {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  color: #fff;
  background: var(--ds-red-950);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-sm);
}

.side-feature-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 0, 6, .97), rgba(70, 0, 8, .34) 62%, rgba(70, 0, 8, .04));
}

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

.side-feature-image {
  position: absolute;
  inset: 0;
  display: block;
}

.side-feature-image img,
.side-feature-image .fallback-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.side-feature-card:hover .side-feature-image img,
.side-feature-card:hover .side-feature-image .fallback-thumbnail {
  transform: scale(1.045);
}

.side-feature-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px;
}

.side-feature-title {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 900;
  line-height: 1.17;
  letter-spacing: -.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.side-feature-title a:hover {
  color: var(--ds-yellow);
}

.headline-category {
  display: block;
  margin-bottom: 4px;
  color: var(--ds-orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ad-banner {
  margin: 36px 0;
}

.ad-banner a,
.ad-banner img {
  display: block;
}

.ad-banner img {
  width: auto;
  max-width: 100%;
  max-height: 250px;
  margin-inline: auto;
  object-fit: contain;
}

.news-grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  box-shadow: var(--ds-shadow-sm);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow);
}

.news-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.055);
}

.news-card .news-category {
  position: absolute;
  left: 12px;
  bottom: 12px;
}

.news-card-body {
  padding: 18px;
}

.news-card-title {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.more-news-section {
  margin-top: 44px;
}

.more-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.more-news-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
}

.more-news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(170, 10, 19, .25);
  box-shadow: var(--ds-shadow-sm);
}

.more-news-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ds-soft);
  border-radius: 9px;
}

.more-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.more-news-item:hover img {
  transform: scale(1.04);
}

.more-news-body {
  min-width: 0;
  padding: 4px;
}

.more-news-title {
  display: -webkit-box;
  margin: 7px 0 9px;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.26;
  letter-spacing: -.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.empty-news {
  padding: 60px 24px;
  text-align: center;
  background: var(--ds-soft);
  border: 1px dashed #ccc;
  border-radius: var(--ds-radius);
}

.empty-news h2 {
  margin-top: 0;
}

/* Arquivos, busca e páginas */
.content-area {
  padding: 48px 0 70px;
}

.page-header {
  margin-bottom: 30px;
  padding: 29px 32px;
  color: #fff;
  background: linear-gradient(115deg, var(--ds-red-950), var(--ds-red-800) 68%, var(--ds-orange));
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-sm);
}

.page-header .section-kicker {
  color: var(--ds-yellow);
}

.page-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.archive-description {
  max-width: 750px;
  margin-top: 8px;
  color: rgba(255,255,255,.82);
}

.archive-description p:last-child {
  margin-bottom: 0;
}

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

.pagination,
.nav-links {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--ds-red-800);
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

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

/* Postagem */
body.single .site-main {
  background: var(--ds-soft);
}

.single-wrap {
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
  padding: 46px 0 70px;
}

.single-post-card {
  padding: clamp(30px, 4.5vw, 54px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: 22px;
  box-shadow: var(--ds-shadow-sm);
}

.single-category {
  margin-bottom: 14px;
}

.entry-title {
  margin: 0 0 17px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.05em;
  overflow-wrap: break-word;
  hyphens: none;
}

.entry-subtitle {
  margin: -4px 0 19px;
  color: var(--ds-muted);
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.5;
}

.single-meta {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ds-border);
}

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

.single-featured img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 720px;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--ds-radius-sm);
}

.entry-content {
  color: #29292e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.75;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
  hyphens: none;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content p {
  margin: 0 0 1.15em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.55em 0 .55em;
  color: var(--ds-ink);
  font-family: Inter, Montserrat, "Segoe UI", sans-serif;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.entry-content a {
  color: var(--ds-red-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 18px 24px;
  color: var(--ds-red-950);
  background: #fff5ee;
  border-left: 5px solid var(--ds-orange);
  border-radius: 0 10px 10px 0;
  font-size: 1.08em;
  font-style: italic;
}

.entry-content img,
.entry-content figure {
  height: auto;
}

.single-post-card .entry-content .alignwide,
.single-post-card .entry-content .alignfull {
  width: min(100%, 860px) !important;
  min-width: 0 !important;
  max-width: 860px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

.single-post-card .entry-content figure,
.single-post-card .entry-content .wp-block-image {
  width: min(100%, 860px) !important;
  min-width: 0 !important;
  max-width: 860px !important;
  margin: 1.35em auto !important;
  overflow: hidden;
}

.single-post-card .entry-content img,
.single-post-card .entry-content figure img,
.single-post-card .entry-content .wp-block-image img {
  width: auto !important;
  min-width: 0 !important;
  max-width: min(100%, 860px) !important;
  height: auto !important;
  display: block;
  margin-right: auto !important;
  margin-left: auto !important;
  object-fit: contain;
  border-radius: var(--ds-radius-sm);
}

.entry-content figure.aligncenter,
.entry-content img.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.entry-content .alignleft { float: left; margin: 8px 25px 16px 0; }
.entry-content .alignright { float: right; margin: 8px 0 16px 25px; }
.entry-content::after { content: ""; display: table; clear: both; }

.wp-caption-text,
.entry-content figcaption {
  margin-top: 7px;
  color: var(--ds-muted);
  font-family: Inter, sans-serif;
  font-size: 12px;
  text-align: center;
}

.post-tags {
  margin-top: 24px;
  color: var(--ds-muted);
  font-size: 13px;
}

.post-tags a {
  display: inline-block;
  margin: 4px 3px;
  padding: 5px 9px;
  color: var(--ds-red-800);
  background: #fff3ec;
  border-radius: 7px;
  font-weight: 700;
}

.author-box {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 23px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
}

.author-box img {
  border-radius: 50%;
}

.author-box h3,
.author-box p {
  margin: 0;
}

.author-box p {
  margin-top: 5px;
  color: var(--ds-muted);
  font-size: 14px;
}

.related-posts {
  margin-top: 42px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.comments-area {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--ds-border);
}

.comments-title,
.comment-reply-title {
  margin-top: 0;
  font-size: 25px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 16px;
  padding: 20px;
  background: var(--ds-soft);
  border-radius: 12px;
}

.comment-list .children {
  list-style: none;
  margin-top: 15px;
}

.comment-meta {
  font-size: 13px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 800;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ds-border);
  border-radius: 9px;
  outline: 0;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--ds-orange);
}

.page-content-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-sm);
}

.error-404 {
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 24px;
  text-align: center;
}

.error-code {
  display: block;
  color: var(--ds-red-800);
  font-size: clamp(80px, 18vw, 170px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.09em;
}

/* Rodapé */
.site-footer {
  color: rgba(255,255,255,.78);
  background:
    radial-gradient(circle at 80% 20%, rgba(255,90,0,.20), transparent 25%),
    linear-gradient(120deg, #300005, var(--ds-red-950));
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0 24px;
  text-align: center;
}

.footer-about-column {
  width: min(100%, 680px);
}

.footer-brand-name {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.footer-brand-name em {
  color: var(--ds-yellow);
  font-style: normal;
}

.footer-about {
  max-width: 680px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.5;
}

.footer-bottom {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 11px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.developer-credit a {
  color: #fff;
  font-weight: 800;
}

.developer-credit a:hover {
  color: var(--ds-yellow);
}

/* WordPress */
.sticky { border-top: 4px solid var(--ds-yellow); }
.bypostauthor { border-left: 3px solid var(--ds-orange); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { margin: 0; }
.wp-block-image img { height: auto; }

@media (max-width: 1080px) {
  .lead-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr);
  }

  .lead-story { min-height: 480px; }
  .side-feature-card { min-height: 232px; }
  .news-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-news-item { grid-template-columns: 145px 1fr; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .brand-inner { min-height: 170px; }
  .menu-toggle { display: inline-flex; }
  .nav-inner { min-height: 56px; }
  .site-navigation {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: min(86vw, 360px);
    height: 100vh;
    padding: 75px 18px 28px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    color: var(--ds-ink);
    background: #fff;
    box-shadow: 18px 0 50px rgba(0,0,0,.25);
    transition: .25s ease;
  }

  .site-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .site-navigation .menu {
    display: block;
  }

  .site-navigation .menu > li > a {
    min-height: 48px;
    padding: 0 13px;
    color: var(--ds-ink);
    border-bottom: 1px solid var(--ds-border);
  }

  .site-navigation .menu > li > a:hover,
  .site-navigation .current-menu-item > a,
  .site-navigation .current-menu-ancestor > a {
    color: var(--ds-red-800);
    background: #fff3ec;
  }

  .site-navigation .sub-menu {
    position: static;
    min-width: 0;
    display: block;
    padding-left: 15px;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .mobile-menu-close {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ds-red-800);
    border: 0;
    border-radius: 9px;
    font-size: 25px;
  }

  .menu-overlay {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(20,0,3,.63);
    backdrop-filter: blur(2px);
    transition: .22s ease;
  }

  .menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
  }

  .lead-layout { grid-template-columns: 1fr; }
  .side-featured { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-feature-card { min-height: 260px; }
  .more-news-list { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .mobile-menu-close,
  .menu-overlay { display: none; }
}

@media (max-width: 680px) {
  .container,
  .single-wrap {
    width: min(calc(100% - 28px), var(--ds-container));
  }

  .site-topbar { font-size: 11px; }
  .topbar-inner {
    min-height: 42px;
    justify-content: center;
    padding: 6px 0;
    line-height: 1.35;
    text-align: center;
  }
  .topbar-date,
  .topbar-contact { display: none; }
  .topbar-inner > span:not(.topbar-date) { width: 100%; }
  .brand-inner { min-height: 0; padding: 10px 0; }
  .brand-art { width: 100%; }
  .home-main { padding: 22px 0 48px; }
  .lead-story { min-height: 370px; border-radius: 14px; }
  .lead-content { padding: 20px; }
  .lead-title {
    margin: 10px 0;
    font-size: clamp(24px, 7.1vw, 29px);
    line-height: 1.1;
  }
  .lead-story .post-meta { gap: 6px 10px; font-size: 10px; }
  .side-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .side-feature-card { min-height: 195px; border-radius: 14px; }
  .side-feature-content { padding: 14px; }
  .side-feature-title { margin-top: 7px; font-size: 16px; line-height: 1.17; }
  .side-feature-card .news-category { min-height: 22px; padding: 2px 7px; font-size: 8px; }
  .ad-banner { margin: 27px 0; }
  .news-grid-four,
  .archive-grid { grid-template-columns: 1fr; }
  .news-card { display: grid; grid-template-columns: 130px 1fr; }
  .news-card-image { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .news-card-body { padding: 14px; }
  .news-card-title { font-size: 16px; -webkit-line-clamp: 3; }
  .news-card .news-category { left: 8px; bottom: 8px; padding: 2px 7px; font-size: 8px; }
  .more-news-item { grid-template-columns: 118px 1fr; gap: 13px; }
  .more-news-title { font-size: 16px; }
  .section-heading h2 { font-size: 25px; }
  .section-link { display: none; }
  .content-area { padding: 28px 0 50px; }
  .page-header { padding: 24px 21px; }
  .single-wrap { padding: 30px 0 52px; }
  .single-post-card { padding: 23px 20px; border-radius: 16px; }
  .entry-title {
    font-size: clamp(27px, 7.6vw, 34px);
    line-height: 1.13;
    letter-spacing: -.035em;
  }
  .entry-subtitle { font-size: 17px; line-height: 1.45; }
  .entry-content { font-size: 18px; line-height: 1.68; }
  .entry-content .alignleft,
  .entry-content .alignright { float: none; display: block; margin: 18px auto; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid .news-card { display: grid; }
  .author-box { grid-template-columns: 58px 1fr; padding: 17px; }
  .page-content-card { padding: 21px; }
  .footer-main { padding: 25px 0 21px; }
  .footer-bottom-inner { display: block; text-align: center; }
  .developer-credit { margin-top: 5px; }
}

@media (max-width: 420px) {
  .single-wrap { width: min(calc(100% - 20px), var(--ds-container)); }
  .single-post-card { padding: 20px 17px; }
  .side-feature-card { min-height: 185px; }
  .side-feature-title { font-size: 15px; }
  .news-card { grid-template-columns: 112px 1fr; }
  .news-card-body { padding: 12px; }
  .news-card-title { margin-bottom: 7px; font-size: 15px; }
  .news-card .post-meta .meta-author { display: none; }
  .more-news-item { grid-template-columns: 105px 1fr; padding: 10px; }
  .more-news-title { font-size: 15px; }
  .more-news-body .post-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
