/*
Theme Name: Agro2Business Portal
Theme URI: https://agro2business.com
Author: Agro2Business Tecnologia Agro LTDA
Author URI: https://agro2business.com
Description: Tema oficial do Portal de Conteúdo Agro2Business. Design system fiel ao marketplace agro2business.com com cores, tipografia e padrões visuais da marca. Otimizado para blog de conteúdo agro, SEO e performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: agro2business
Tags: blog, news, custom-header, custom-menu, featured-images, footer-widgets, translation-ready

Agro2Business Portal Theme — © 2018–2026 Agro2Business Tecnologia Agro LTDA
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Brand Colors — faithful to agro2business.com source (Semantic UI) */
  --a2b-primary: #258344;          /* green-background — topbar, nav bars, footer bar */
  --a2b-primary-hover: #1E6E38;
  --a2b-primary-active: #175A2D;

  --a2b-green: #21BA45;            /* Semantic UI green — buttons, headers, labels */
  --a2b-green-hover: #16AB39;
  --a2b-green-light: #A3C293;
  --a2b-green-lighter: #D4EDDA;
  --a2b-highlight: #D4EDDA;

  --a2b-blue: #2185D0;             /* Semantic UI blue — "ANUNCIE GRÁTIS", blue-font */
  --a2b-blue-hover: #1678C2;

  --a2b-dark: #1B1C1D;             /* Semantic UI inverted — footer main bg */
  --a2b-dark-hover: #27292A;
  --a2b-dark-olive: #354334;       /* Custom — nutrition section bg */
  --a2b-dark-blue: #1B2838;        /* dark-blue-background — mission sections */

  --a2b-cta: #F2711C;              /* Semantic UI orange — CTA buttons */
  --a2b-cta-hover: #E8620C;
  --a2b-alert: #FBBD08;            /* Semantic UI yellow */

  --a2b-error: #DB2828;            /* Semantic UI red */
  --a2b-info: #2185D0;

  /* Neutrals */
  --a2b-white: #FFFFFF;
  --a2b-off-white: #F8F9FA;
  --a2b-gray-100: #F1F3F5;
  --a2b-gray-200: #E9ECEF;
  --a2b-gray-300: #DEE2E6;
  --a2b-gray-400: #CED4DA;
  --a2b-gray-500: #ADB5BD;
  --a2b-gray-600: #6C757D;
  --a2b-gray-700: #495057;
  --a2b-gray-800: #343A40;
  --a2b-gray-900: #212529;
  --a2b-black: #1B1C1D;

  /* Semantic */
  --a2b-text: rgba(0,0,0,0.87);    /* Semantic UI default text */
  --a2b-text-secondary: rgba(0,0,0,0.6);
  --a2b-text-muted: rgba(0,0,0,0.4);
  --a2b-text-on-dark: #FFFFFF;
  --a2b-link: #2185D0;             /* blue-font links */
  --a2b-link-hover: #1678C2;
  --a2b-border: rgba(34,36,38,0.15);

  /* Shadows — Semantic UI style */
  --a2b-shadow-sm: 0 1px 2px 0 rgba(34,36,38,0.15);
  --a2b-shadow-md: 0 2px 4px 0 rgba(34,36,38,0.12), 0 2px 10px 0 rgba(34,36,38,0.15);
  --a2b-shadow-lg: 0 6px 20px 0 rgba(34,36,38,0.13);
  --a2b-shadow-xl: 0 1px 3px 0 #D4D4D5, 0 0 0 1px #D4D4D5;

  /* Radii — Semantic UI defaults */
  --a2b-radius-sm: 0.21428571rem;  /* ~3px */
  --a2b-radius-md: 0.28571429rem;  /* ~4px */
  --a2b-radius-lg: 0.5rem;         /* 8px */
  --a2b-radius-xl: 0.75rem;        /* 12px */
  --a2b-radius-pill: 500rem;

  /* Typography */
  --a2b-font-heading: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --a2b-font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --a2b-font-secondary: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --a2b-font-tertiary: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --a2b-space-1: 4px;
  --a2b-space-2: 8px;
  --a2b-space-3: 12px;
  --a2b-space-4: 16px;
  --a2b-space-5: 24px;
  --a2b-space-6: 32px;
  --a2b-space-7: 48px;
  --a2b-space-8: 64px;

  /* Layout */
  --a2b-container: 1127px;         /* Semantic UI container */
  --a2b-container-narrow: 800px;
  --a2b-header-height: auto;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--a2b-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--a2b-text);
  background-color: var(--a2b-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--a2b-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--a2b-link-hover);
  text-decoration: underline;
}

::selection {
  background-color: var(--a2b-green-lighter, #D4EDDA);
  color: var(--a2b-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--a2b-font-heading);
  line-height: 1.2;
  color: var(--a2b-text);
  margin-top: 0;
}

h1 { font-size: 42px; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 26px; font-weight: 600; margin-bottom: 16px; }
h4 { font-size: 21px; font-weight: 600; margin-bottom: 12px; }
h5 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
h6 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }

p {
  margin-top: 0;
  margin-bottom: 16px;
}

/* ============================================
   LAYOUT
   ============================================ */
.a2b-container {
  max-width: var(--a2b-container);
  margin: 0 auto;
  padding: 0 24px;
}

.a2b-container-narrow {
  max-width: var(--a2b-container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.a2b-section {
  padding: 64px 0;
}

.a2b-section-alt {
  padding: 64px 0;
  background-color: var(--a2b-off-white);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background-color: var(--a2b-primary);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.header-topbar {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 6px 0;
  font-size: 13px;
}

.header-topbar .a2b-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background 0.2s;
}

.topbar-social a:hover {
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}

.topbar-social img {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.topbar-links {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
}

.topbar-links a:hover {
  color: #fff;
  text-decoration: none;
}

.header-main {
  padding: 14px 0;
}

.header-main .a2b-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  flex-shrink: 0;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-branding img {
  height: 50px;
  width: auto;
}

.site-branding .logo-text {
  font-family: var(--a2b-font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--a2b-text-on-dark);
  line-height: 1.1;
}

.site-branding .logo-text span {
  color: var(--a2b-green, #21BA45);
}

.site-branding .logo-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  font-family: var(--a2b-font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-family: var(--a2b-font-heading);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--a2b-radius-md);
  transition: all 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* Dropdown */
.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--a2b-white);
  border-radius: var(--a2b-radius-lg);
  box-shadow: var(--a2b-shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 1000;
  flex-direction: column;
}

.main-navigation li:hover > .sub-menu {
  display: flex;
}

.main-navigation .sub-menu a {
  color: var(--a2b-text);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 0;
}

.main-navigation .sub-menu a:hover {
  background: var(--a2b-highlight);
  color: var(--a2b-blue);
}

/* CTA Button in header */
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--a2b-blue);
  color: var(--a2b-text-on-dark) !important;
  font-family: var(--a2b-font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: var(--a2b-radius-md);
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--a2b-blue-hover, #1678C2);
  text-decoration: none !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--a2b-text-on-dark);
}

/* ============================================
   CONTENT AREA
   ============================================ */
.site-content {
  min-height: 60vh;
}

.content-area {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.content-area.no-sidebar {
  grid-template-columns: 1fr;
  max-width: var(--a2b-container-narrow);
  margin: 0 auto;
}

/* ============================================
   POST CARDS (Blog Listing)
   ============================================ */
.post-card {
  background: var(--a2b-white);
  border-radius: var(--a2b-radius-lg);
  box-shadow: var(--a2b-shadow-md);
  overflow: hidden;
  transition: all 0.2s ease;
  margin-bottom: 32px;
}

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

.post-card-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-card-thumbnail img {
  transform: scale(1.03);
}

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

.post-card-category {
  display: inline-block;
  font-family: var(--a2b-font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--a2b-green);
  margin-bottom: 8px;
}

.post-card-title {
  font-family: var(--a2b-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--a2b-text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-card-title a {
  color: inherit;
}

.post-card-title a:hover {
  color: var(--a2b-green);
  text-decoration: none;
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--a2b-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--a2b-text-muted);
}

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

.post-card-meta .author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* Featured Post (hero) */
.featured-post .post-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.featured-post .post-card-title {
  font-size: 28px;
}

.featured-post .post-card-thumbnail {
  aspect-ratio: auto;
  min-height: 300px;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.posts-grid .post-card-title {
  font-size: 17px;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-header {
  padding: 48px 0 32px;
  text-align: center;
}

.single-post-header .post-category {
  display: inline-block;
  font-family: var(--a2b-font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--a2b-green);
  background: var(--a2b-highlight);
  padding: 4px 12px;
  border-radius: var(--a2b-radius-pill);
  margin-bottom: 16px;
}

.single-post-header h1 {
  font-size: 38px;
  max-width: 800px;
  margin: 0 auto 16px;
}

.single-post-header .post-meta {
  font-size: 14px;
  color: var(--a2b-text-muted);
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.single-post-featured {
  margin-bottom: 40px;
  border-radius: var(--a2b-radius-xl);
  overflow: hidden;
  max-height: 500px;
}

.single-post-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
}

.single-post-content h2 {
  margin-top: 40px;
  font-size: 28px;
}

.single-post-content h3 {
  margin-top: 32px;
  font-size: 22px;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content img {
  border-radius: var(--a2b-radius-lg);
  margin: 24px 0;
}

.single-post-content blockquote {
  border-left: 4px solid var(--a2b-green);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--a2b-highlight);
  border-radius: 0 var(--a2b-radius-lg) var(--a2b-radius-lg) 0;
  font-style: italic;
  color: var(--a2b-text-secondary);
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.single-post-content li {
  margin-bottom: 8px;
}

.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.single-post-content th {
  background: var(--a2b-dark);
  color: var(--a2b-text-on-dark);
  font-family: var(--a2b-font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
}

.single-post-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--a2b-border);
  font-size: 14px;
}

.single-post-content tr:hover td {
  background: var(--a2b-off-white);
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--a2b-border);
}

.post-tags a {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  background: var(--a2b-off-white);
  color: var(--a2b-text-secondary);
  border-radius: var(--a2b-radius-md);
  border: 1px solid var(--a2b-border);
  transition: all 0.2s;
}

.post-tags a:hover {
  background: var(--a2b-highlight);
  color: var(--a2b-green);
  border-color: var(--a2b-green);
  text-decoration: none;
}

/* ============================================
   SIDEBAR
   ============================================ */
.widget-area {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.widget {
  background: var(--a2b-white);
  border-radius: var(--a2b-radius-lg);
  box-shadow: var(--a2b-shadow-sm);
  padding: 24px;
  border: 1px solid var(--a2b-border);
}

.widget-title {
  font-family: var(--a2b-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--a2b-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--a2b-green);
}

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

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--a2b-gray-100);
}

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

.widget a {
  color: var(--a2b-text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.widget a:hover {
  color: var(--a2b-green);
}

/* Search widget */
.widget .search-form {
  display: flex;
  gap: 0;
}

.widget .search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--a2b-gray-300);
  border-right: none;
  border-radius: var(--a2b-radius-md) 0 0 var(--a2b-radius-md);
  font-family: var(--a2b-font-body);
  font-size: 14px;
  outline: none;
}

.widget .search-field:focus {
  border-color: var(--a2b-blue);
}

.widget .search-submit {
  padding: 10px 16px;
  background: var(--a2b-green);
  color: var(--a2b-text-on-dark);
  border: none;
  border-radius: 0 var(--a2b-radius-md) var(--a2b-radius-md) 0;
  font-family: var(--a2b-font-heading);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.widget .search-submit:hover {
  background: var(--a2b-green-hover, #16AB39);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--a2b-dark);
  color: rgba(255,255,255,0.9);
  padding-top: 56px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-widget-title {
  font-family: var(--a2b-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--a2b-text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--a2b-green-light, #A3C293);
  text-decoration: none;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.footer-contact strong {
  color: rgba(255,255,255,0.85);
}

.footer-contact .company-info {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.18);
  text-decoration: none;
}

.footer-social img,
.footer-social svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   BUTTONS
   ============================================ */
.a2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--a2b-font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border-radius: var(--a2b-radius-md);
  line-height: 1;
}

.a2b-btn:hover {
  text-decoration: none;
}

.a2b-btn-lg { padding: 14px 28px; font-size: 16px; }
.a2b-btn-md { padding: 10px 20px; font-size: 14px; }
.a2b-btn-sm { padding: 7px 14px; font-size: 12px; }

.a2b-btn-primary {
  background: var(--a2b-green);
  color: var(--a2b-text-on-dark);
}
.a2b-btn-primary:hover {
  background: var(--a2b-green-hover, #16AB39);
  color: var(--a2b-text-on-dark);
}

.a2b-btn-cta {
  background: var(--a2b-cta);
  color: var(--a2b-text-on-dark);
}
.a2b-btn-cta:hover {
  background: var(--a2b-cta-hover);
  color: var(--a2b-text-on-dark);
}

.a2b-btn-outline {
  background: transparent;
  color: var(--a2b-green);
  border: 2px solid var(--a2b-green);
}
.a2b-btn-outline:hover {
  background: var(--a2b-green);
  color: var(--a2b-text-on-dark);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 48px 0;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--a2b-radius-md);
  font-family: var(--a2b-font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--a2b-text-secondary);
  background: var(--a2b-white);
  border: 1px solid var(--a2b-border);
  transition: all 0.2s;
}

.pagination .page-numbers:hover {
  background: var(--a2b-highlight);
  color: var(--a2b-green);
  border-color: var(--a2b-green);
  text-decoration: none;
}

.pagination .page-numbers.current {
  background: var(--a2b-green);
  color: var(--a2b-text-on-dark);
  border-color: var(--a2b-green);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--a2b-text-muted);
}

.breadcrumb a {
  color: var(--a2b-text-muted);
}

.breadcrumb a:hover {
  color: var(--a2b-green);
}

.breadcrumb .separator {
  margin: 0 8px;
  opacity: 0.5;
}

/* ============================================
   COMMENTS
   ============================================ */
.comments-area {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--a2b-border);
}

.comments-title {
  font-family: var(--a2b-font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}

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

.comment-body {
  padding: 20px;
  background: var(--a2b-off-white);
  border-radius: var(--a2b-radius-lg);
  margin-bottom: 16px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

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

.comment-author .fn {
  font-family: var(--a2b-font-heading);
  font-weight: 600;
  font-size: 14px;
}

.comment-metadata {
  font-size: 12px;
  color: var(--a2b-text-muted);
  margin-bottom: 12px;
}

.comment-content {
  font-size: 15px;
  line-height: 1.6;
}

.comment-respond {
  margin-top: 32px;
}

.comment-form label {
  display: block;
  font-family: var(--a2b-font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--a2b-text-secondary);
  margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--a2b-gray-300);
  border-radius: var(--a2b-radius-md);
  font-family: var(--a2b-font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--a2b-blue);
  box-shadow: 0 0 0 3px rgba(33,133,208,0.12);
}

.comment-form .submit {
  background: var(--a2b-green);
  color: var(--a2b-text-on-dark);
  padding: 12px 24px;
  border: none;
  border-radius: var(--a2b-radius-md);
  font-family: var(--a2b-font-heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-form .submit:hover {
  background: var(--a2b-green-hover, #16AB39);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #21BA45;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 1000;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ============================================
   404 & SEARCH PAGES
   ============================================ */
.error-404,
.no-results {
  text-align: center;
  padding: 80px 24px;
}

.error-404 .error-code {
  font-family: var(--a2b-font-heading);
  font-size: 120px;
  font-weight: 900;
  color: var(--a2b-highlight);
  line-height: 1;
  margin-bottom: 16px;
}

.error-404 h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.search-results-title {
  font-size: 14px;
  color: var(--a2b-text-muted);
  margin-bottom: 32px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .content-area {
    grid-template-columns: 1fr;
  }

  .footer-widgets {
    grid-template-columns: 1fr 1fr;
  }

  .featured-post .post-card {
    grid-template-columns: 1fr;
  }

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

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }

  .single-post-header h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none;
  }

  .main-navigation ul {
    display: none;
  }

  .main-navigation.toggled ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--a2b-primary);
    padding: 16px;
    box-shadow: var(--a2b-shadow-lg);
  }

  .menu-toggle {
    display: block;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .a2b-container {
    padding: 0 16px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--a2b-green); }
.text-muted { color: var(--a2b-text-muted); }
.bg-highlight { background: var(--a2b-highlight); }
.bg-alt { background: var(--a2b-off-white); }
.mt-1 { margin-top: var(--a2b-space-2); }
.mt-2 { margin-top: var(--a2b-space-4); }
.mt-3 { margin-top: var(--a2b-space-5); }
.mt-4 { margin-top: var(--a2b-space-6); }
.mb-1 { margin-bottom: var(--a2b-space-2); }
.mb-2 { margin-bottom: var(--a2b-space-4); }
.mb-3 { margin-bottom: var(--a2b-space-5); }
.mb-4 { margin-bottom: var(--a2b-space-6); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
