/*
Theme Name: Maxwell Blog
Theme URI: https://blog.mmarquesconsorcio.com.br/
Author: Maxwell Marques
Author URI: https://maxwellmarques.com.br/
Description: Tema profissional e dinâmico para o blog Maxwell Marques, com foco em inteligência patrimonial, consórcio estratégico e Método PAAI.
Version: 2.0.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maxwell-blog-hostinger
Tags: blog, custom-logo, featured-images, grid-layout, one-column, two-columns
*/

:root {
  --blue: #0057ff;
  --blue-dark: #003399;
  --blue-deep: #0a1229;
  --blue-bg: #0a1229;
  --yellow: #f6b613;
  --white: #ffffff;
  --gray-50: #f6f8fc;
  --gray-100: #e2e8f5;
  --gray-300: #c9d8f0;
  --gray-500: #53617d;
  --text: #0a1229;
  --green: #12a050;
  --shadow: 0 18px 50px rgba(10, 18, 41, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--blue-bg);
  border-bottom: 2px solid var(--yellow);
}
.header-inner, .wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  min-width: max-content;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
}
.brand-name {
  display: block;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
}
.brand-role {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}
.main-nav .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: var(--white);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}
.nav-link:hover { color: var(--yellow); }
.nav-cta {
  color: var(--blue-bg);
  background: var(--yellow);
  padding: 10px 16px;
  border-radius: 6px;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 900;
  white-space: nowrap;
}
.header-search {
  display: flex;
  align-items: center;
  width: min(230px, 24vw);
  min-width: 150px;
  height: 38px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}
.header-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 8px 0 14px;
  color: var(--white);
  background: transparent;
  font: inherit;
}
.header-search input::placeholder { color: rgba(255,255,255,.72); }
.header-search button {
  position: relative;
  width: 40px;
  height: 38px;
  border: 0;
  cursor: pointer;
  background: transparent;
}
.header-search button span {
  position: absolute;
  left: 10px;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
}
.header-search button span::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 3px;
  right: -8px;
  bottom: -5px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 999px;
}
.whatsapp-link {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
}
.whatsapp-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
.category-strip {
  background: var(--white);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid var(--gray-100);
}
.category-strip-inner {
  min-height: 52px;
  justify-content: flex-start;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.category-strip a {
  color: #3a4354;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.category-strip a:hover { color: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-bg);
  color: var(--white);
  padding: 72px 0 58px;
}
.hero::before, .band-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 45% at 84% 10%, rgba(0,87,255,.36), transparent), radial-gradient(ellipse 48% 36% at 12% 88%, rgba(255,204,0,.14), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--yellow);
}
.hero h1 {
  max-width: 760px;
  margin: 16px 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(38px, 7vw, 74px);
  line-height: .98;
  letter-spacing: 0;
}
.hero h1 span { color: var(--yellow); }
.hero-copy {
  max-width: 680px;
  color: rgba(255,255,255,.72);
  font-size: 18px;
}
.hero-copy p {
  margin: 0 0 10px;
}
.hero-copy p:first-child {
  color: var(--white);
  font-weight: 800;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 11px 18px;
  border: 1px solid transparent;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.button-primary { background: var(--yellow); color: var(--blue-bg); }
.button-secondary { border-color: rgba(255,255,255,.22); color: var(--white); background: rgba(255,255,255,.06); }
.button-dark { background: var(--blue-bg); color: var(--white); }

.main {
  padding: 44px 0 64px;
  background: var(--gray-50);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.featured-post, .post-card, .widget, .author-box, .article-body, .comment-respond, .comments-area {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.featured-post {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  margin-bottom: 24px;
}
.featured-media {
  min-height: 320px;
  background: linear-gradient(135deg, var(--blue-bg), var(--blue));
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-content { padding: 32px; }
.label {
  display: inline-flex;
  color: var(--blue-dark);
  background: rgba(0,87,255,.08);
  border: 1px solid rgba(0,87,255,.16);
  border-radius: 999px;
  padding: 5px 10px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.label.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--blue-bg); }
.post-title {
  margin: 14px 0 10px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: 0;
}
.post-meta {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
}
.excerpt { color: #445078; }
.section-title {
  margin: 34px 0 16px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 22px;
  line-height: 1.2;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.post-card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blue-bg), var(--blue-dark));
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card h2 {
  margin: 10px 0 8px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.sidebar { display: grid; gap: 18px; }
.widget { padding: 20px; }
.widget-title {
  margin: 0 0 14px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.search-form { display: flex; gap: 8px; }
.search-field, .newsletter-field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
}
.search-submit, .newsletter-submit {
  border: 0;
  cursor: pointer;
}
.cat-list, .popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cat-list a, .popular-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 800;
}
.cat-list span { color: var(--gray-500); font-size: 12px; }
.cta-widget {
  background: var(--blue-bg);
  color: var(--white);
  border-color: rgba(255,204,0,.22);
}
.cta-widget .widget-title, .cta-widget strong { color: var(--yellow); }
.cta-widget p { color: rgba(255,255,255,.74); }

.article-header {
  padding: 56px 0 34px;
  background: var(--blue-bg);
  color: var(--white);
}
.article-header h1 {
  max-width: 820px;
  margin: 14px 0 14px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.article-body { padding: 34px; }
.article-body h2, .article-body h3 {
  font-family: Montserrat, Inter, sans-serif;
  line-height: 1.2;
  margin-top: 28px;
}
.article-body p, .article-body li { color: #38446d; }
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 6px solid var(--yellow);
  background: var(--gray-50);
  font-weight: 800;
}
.article-cover {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
}
.mid-cta, .end-cta {
  margin: 28px 0;
  padding: 24px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--blue-bg);
}
.end-cta { background: var(--blue-bg); color: var(--white); }
.end-cta p { color: rgba(255,255,255,.76); }
.mid-cta h2, .end-cta h2 { margin-top: 0; }
.author-box {
  margin-top: 24px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--blue-bg);
  color: var(--yellow);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 900;
}
.pagination, .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.page-numbers, .nav-links a, .nav-links span {
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  font-weight: 800;
}
.page-numbers.current { background: var(--blue-bg); color: var(--white); }

.site-footer {
  background: #07133d;
  color: rgba(255,255,255,.72);
  padding: 32px 0;
  border-top: 2px solid var(--yellow);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.site-footer strong { color: var(--white); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 900px) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .main-nav { justify-content: flex-start; flex-wrap: wrap; }
  .category-strip-inner {
    min-height: 48px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .header-search { width: min(100%, 260px); }
  .content-grid, .article-shell, .featured-post { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-inner, .wrap { width: min(100% - 24px, 1120px); }
  .header-inner { gap: 14px; }
  .brand-name { font-size: 16px; }
  .brand-role { font-size: 10px; }
  .hero { padding: 48px 0 42px; }
  .hero h1 { font-size: 40px; }
  .featured-content, .article-body { padding: 22px; }
  .search-form, .hero-actions { flex-direction: column; }
  .header-search { order: 5; width: 100%; }
  .author-box { flex-direction: column; }
}

/* Identidade visual alinhada ao site institucional */
.site-header {
  background: #0a1229;
  border-bottom-color: #f6b613;
}
.brand-name,
.brand-mark,
.nav-cta,
.eyebrow,
.hero h1,
.button,
.label,
.post-title,
.section-title,
.post-card h2,
.widget-title,
.article-header h1,
.article-body h2,
.article-body h3,
.author-avatar {
  font-family: Montserrat, "Source Sans 3", sans-serif;
}
.main-nav { color: rgba(255,255,255,.88); }
.main-nav a:hover { color: #f6b613; }
.nav-cta,
.button-primary,
.label.yellow {
  background: #f6b613;
  color: #0a1229;
}
.category-strip {
  background: #ffffff;
  border-bottom-color: #e2e8f5;
  box-shadow: 0 8px 24px rgba(10,18,41,.06);
}
.category-strip a {
  position: relative;
  color: #53617d;
  padding: 15px 0;
}
.category-strip a:hover { color: #003399; }
.category-strip a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 8px;
  height: 3px;
  border-radius: 99px;
  background: #f6b613;
  transition: right .2s ease;
}
.category-strip a:hover::after { right: 0; }
.hero,
.article-header,
.cta-widget,
.end-cta,
.site-footer {
  background-color: #0a1229;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(ellipse 80% 65% at 100% 0%,rgba(0,87,255,.30),transparent 62%),
    linear-gradient(135deg,#0a1229 0%,#0c2458 58%,#0a2e73 100%);
  background-size: 48px 48px,48px 48px,auto,auto;
}
.hero::before,
.hero::after,
.band-blue::before { display: none; }
.hero-copy,
.hero-copy p,
.article-header .post-meta,
.cta-widget p,
.end-cta p { color: rgba(255,255,255,.90); }
.eyebrow,
.hero h1 span,
.cta-widget .widget-title,
.cta-widget strong { color: #f6b613; }
.eyebrow::before,
.eyebrow::after { background: #f6b613; }
.featured-post,
.post-card,
.widget,
.author-box,
.article-body,
.comment-respond,
.comments-area {
  border-color: #e2e8f5;
}
.featured-media,
.post-card-media {
  background: linear-gradient(135deg,#0a1229 0%,#0a2e73 62%,#0057ff 100%);
}
.label {
  color: #003399;
  background: #eaf0ff;
  border-color: #c9d8ff;
}
.excerpt,
.article-body p,
.article-body li { color: #53617d; }
.article-body blockquote {
  border-left-color: #f6b613;
  background: #f6f8fc;
}
.mid-cta {
  background: #f6b613;
  color: #0a1229;
}
.button-dark,
.page-numbers.current,
.author-avatar {
  background: #0a1229;
}
.author-avatar { color: #f6b613; }
.cta-widget,
.end-cta { border-color: rgba(246,182,19,.38); }
.site-footer {
  border-top-color: #f6b613;
  color: rgba(255,255,255,.82);
}
.header-search {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
}
.header-search input::placeholder { color: rgba(255,255,255,.78); }

/* Maxwell Blog 2.0 — arquitetura dinâmica, responsiva e acessível */
html { overflow-x: hidden; }
body { min-width: 320px; overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; }
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--blue-deep);
  background: var(--white);
  border-radius: 4px;
}
.header-top {
  min-height: 74px;
  flex-direction: row;
  align-items: center;
}
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 54px; width: auto; }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}
.header-actions .search-form {
  width: min(260px, 25vw);
  height: 40px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.10);
}
.header-actions .search-field {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 4px 0 14px;
  color: var(--white);
  background: transparent;
  outline: 0;
}
.header-actions .search-field::placeholder { color: rgba(255,255,255,.78); }
.header-actions .search-submit {
  min-width: 64px;
  border: 0;
  cursor: pointer;
  color: var(--white);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}
.whatsapp-link svg { width: 23px; height: 23px; fill: currentColor; }
.primary-menu,
.primary-menu ul,
.mobile-menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  min-width: max-content;
}
.primary-menu > li { position: relative; }
.primary-menu a {
  display: block;
  color: var(--gray-500);
  padding: 15px 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--blue-dark); }
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  display: none;
  min-width: 230px;
  padding: 10px 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 0 0 8px 8px;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 10px 0; white-space: normal; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}
.mobile-navigation {
  padding: 12px 20px 20px;
  color: var(--white);
  background: var(--blue-deep);
}
.mobile-menu a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.breadcrumbs a:hover { color: var(--yellow); }
.banner-area { padding-top: 28px; }
.banner-area img { width: 100%; border-radius: 10px; }
.content-column,
.single-article { min-width: 0; }
.home-section { margin-top: 54px; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.text-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.post-card,
.featured-post { transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover,
.featured-post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-media img,
.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.article-cover { margin: 0 0 28px; overflow: hidden; border-radius: 10px; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body :where(iframe, video, table) { max-width: 100%; }
.article-body table { display: block; overflow-x: auto; }
.post-tags,
.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.share-links a,
.post-tags a {
  padding: 7px 10px;
  color: var(--blue-dark);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  font-weight: 700;
}
.author-avatar img { border-radius: 50%; }
.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.post-navigation div:last-child { text-align: right; }
.post-navigation a { color: var(--blue-dark); font-weight: 800; }
.comments-area { margin-top: 38px; padding: 28px; background: var(--white); border: 1px solid var(--gray-100); border-radius: 10px; }
.comment-list { padding-left: 22px; }
.comment-form :where(input:not([type="checkbox"]), textarea) {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 32px;
}
.contact-details {
  align-self: start;
  padding: 28px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
}
.landing-content > * { margin-inline: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer-menu a,
.social-links a { display: inline-block; margin: 0 12px 8px 0; color: rgba(255,255,255,.86); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom p { margin: 0; }
.empty-state { padding: 30px; background: var(--gray-50); border-radius: 10px; }
.widget .cat-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 800;
}
.widget .children { width: 100%; padding: 8px 0 0 16px; list-style: none; }

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

@media (max-width: 900px) {
  .header-top {
    min-height: 68px;
    flex-direction: row;
    align-items: center;
  }
  .header-actions .search-form,
  .header-actions .whatsapp-link,
  .header-actions .nav-cta,
  .category-strip { display: none; }
  .menu-toggle { display: block; }
  .content-grid,
  .article-shell,
  .contact-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .post-grid,
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation div:last-child { text-align: left; }
  .featured-content,
  .article-body,
  .comments-area { padding: 20px; }
  .hero h1,
  .article-header h1 { font-size: clamp(34px, 11vw, 48px); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; text-align: center; }
}
