/*
	Theme Name: Sou + Agro Festival
	Theme URI: https://soumaisagro.com.br
	Description: Tema WordPress do Festival Sou + Agro - baseado no Hello Elementor, com suporte a JetEngine.
	Author: Sou + Agro
	Version: 3.4.6
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: soumaisagro
	Tags: festival, agro, custom-colors, custom-menu, featured-images
*/

/* ========== CSS Variables ========== */
:root {
    --agro-beige-light: #e9cd86;
    --agro-gold: #d2ab67;
    --agro-bronze: #ba8437;
    --agro-lime-light: #eaeb86;
    --agro-lime: #d5e05b;
    --agro-green-light: #a6ce39;
    --agro-green: #00732e;
    --agro-green-dark: #004d1e;
    --agro-yellow: #ffcb05;
}

/* ========== Base ==========
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
*/
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #1a1a1a;
    overflow-x: hidden;
}

.font-script {
    font-family: "Great Vibes", cursive;
}

a {
    text-decoration: none;
}

/* ========== WhatsApp Floating Button ========== */
.agro-whatsapp-fab {
    width: 56px;
    height: 56px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

.agro-whatsapp-fab svg {
    width: 56px;
    height: 56px;
    display: block;
}

.agro-whatsapp-fab:hover {
    transform: none;
}

.agro-whatsapp-fab:active {
    transform: none;
}

/*
img {
	max-width: 100%;
	height: auto;
} */

@layer base {
    a {
        text-decoration: none;
        color: inherit;
    }
}

/* ========== Layout ========== */

@layer components {
    .container {
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
    }
}

@layer components {
    .section-padding {
        padding: 6rem 1.5rem;
    }
}

/* Slider "Tradição e Inovação" - garante altura no mobile */
#sobreSlider {
    min-height: 420px;
}

@media (min-width: 1024px) {
    #sobreSlider {
        min-height: 550px;
    }
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-scroll {
    animation: scroll 30s linear infinite;
    min-width: 200%;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

.animate-pulse-custom {
    animation: pulse 2s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin-slow {
    animation: spin 10s linear infinite;
}

.animate-bounce-custom {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes scroll-dot-mouse {
    0% {
        opacity: 0.2;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(6px);
    }

    80%,
    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

.animate-scroll-dot {
    animation: scroll-dot-mouse 2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

/* ========== Navigation ========== */
.agro-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.5s;
    padding: 1rem 0;
    background-color: #fff;
}

.agro-nav.scrolled,
.agro-nav.inner-page {
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

.agro-nav .nav-logo {
    transition: all 0.5s;
    height: 8rem;
}

.agro-nav.scrolled .nav-logo,
.agro-nav.inner-page .nav-logo {
    height: 5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--agro-green);
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.25rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #f0f0f0;
    min-width: 220px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: all 0.3s;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.nav-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-dropdown a:hover {
    background: rgba(0, 115, 46, 0.05);
    color: var(--agro-green);
}

.btn-passaporte {
    padding: 0.75rem 1.5rem;
    background: var(--agro-green-light);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(166, 206, 57, 0.3);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-passaporte:hover {
    background: #8ab32e;
    box-shadow: 0 6px 20px rgba(138, 179, 46, 0.4);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.5s;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* ========== Hero ========== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: bottom;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 10rem 1.5rem !important;
    max-width: 64rem;
}

.hero-subtitle-text {
    font-family: "Montserrat", sans-serif;
    size: 40px;
    font-weight: 700;
    /* Override controlled by tailwind in php */
}

.hero-date-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    /* Thin */
    /* Max 96px as requested */
    line-height: 1;
    letter-spacing: -2px;
}

.hero-year-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    /* Thin */
    /* 60px match */
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-top: -5px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 900;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 1rem 4rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn-hero-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    background: linear-gradient(180deg, #d4e05b 0%, #adcb37 100%);
    /* Lime Gradient */
    color: #005c25;
    /* Dark Green Text */
    box-shadow: 0 0 15px rgba(212, 224, 91, 0.5);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(212, 224, 91, 0.7);
    filter: brightness(1.1);
}

.btn-hero-secondary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    transition: all 0.3s;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    gap: 0.5rem;
    z-index: 20;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-scroll .scroll-wheel {
    width: 28px;
    height: 48px;
    border: 2px solid #ffffff;
    border-radius: 9999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
    margin-top: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-scroll .scroll-dot {
    width: 8px;
    height: 12px;
    background: var(--agro-gold);
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(210, 171, 103, 0.6);
}

/* ========== Section Headers ========== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.section-label .line {
    height: 1px;
    width: 2rem;
    background: var(--agro-gold);
}

.section-label span {
    color: var(--agro-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #111;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-title .highlight {
    color: var(--agro-green);
}

.section-script {
    font-family: "Great Vibes", cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--agro-gold);
    transform: rotate(-2deg);
    display: block;
}

/* ========== Cards ==========
   Removido: .card, .card:hover, .card-image — agora controlados
   exclusivamente pelas classes Tailwind no HTML (bg-white, rounded-3xl,
   shadow-xl, border, overflow-hidden, transition-transform, hover:-translate-y-2)
*/

/* ========== Parallax ========== */
.parallax-section {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .parallax-section {
        height: 450px;
    }
}

.parallax-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    top: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
}

.bg-patrocinadores-home {
    background-color: #f7f5cf;
}

/* ========== Tickets ========== */
.ticket-circle {
    position: relative;
    width: 18rem;
    height: 18rem;
}

.ticket-circle .orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.ticket-circle .inner {
    position: absolute;
    inset: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* ========== FAQ ========== */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(210, 171, 103, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: all 0.3s;
}

.faq-question.active {
    background: #f9fafb;
    color: var(--agro-green);
}

.faq-arrow {
    transition: transform 0.3s;
    font-size: 1.2rem;
    color: #9ca3af;
}

.faq-question.active .faq-arrow {
    transform: rotate(90deg);
    color: var(--agro-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease-in-out,
        opacity 0.3s;
    opacity: 0;
}

.faq-answer.open {
    max-height: 200px;
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.7;
    background: #f9fafb;
    border-top: 1px solid #f0f0f0;
}

/* ========== Footer ========== */
.agro-footer {
    background: #00732e;
    color: #fff;
    padding-top: 6rem;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.agro-footer .footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--agro-green),
        var(--agro-gold),
        var(--agro-green)
    );
    opacity: 0.8;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--agro-gold);
}

.footer-link .bullet {
    width: 4px;
    height: 4px;
    background: var(--agro-gold);
    border-radius: 50%;
}

/* ========== Page Banner ========== */
.page-banner {
    position: relative;
    height: 40vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.page-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-banner p {
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========== Buttons ========== */
.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--agro-green);
    color: #fff;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 115, 46, 0.2);
    border: none;
    cursor: pointer;
}

.btn-green:hover {
    background: var(--agro-green-dark);
    box-shadow: 0 8px 25px rgba(0, 115, 46, 0.3);
    transform: translateY(-4px);
}

/* ========== Responsive ========== */
@layer components {
    @media (max-width: 768px) {
        .section-padding {
            padding: 3rem 1rem;
        }
    }
}

@media (max-width: 768px) {
    /* Reduz padding lateral no mobile (exceto hero) */
    .agro-home section:not(#hero) .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .agro-home section:not(#hero).section-padding {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    /* Footer centralizado no mobile */
    .agro-footer .grid {
        text-align: center;
    }

    .agro-footer .grid img,
    .agro-footer .footer-heading {
        margin-left: auto;
        margin-right: auto;
    }

    .agro-footer .footer-link,
    .agro-footer .grid .flex {
        justify-content: center;
    }

    .agro-footer .space-y-6,
    .agro-footer .space-y-4,
    .agro-footer .space-y-6 > div,
    .agro-footer .space-y-4 > li {
        align-items: center;
    }

    .agro-footer .footer-link {
        gap: 0.5rem;
    }

    .agro-footer .footer-link .bullet {
        margin: 0;
    }

    .agro-footer .pt-8 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .parallax-section {
        height: 350px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .ticket-circle {
        width: 14rem;
        height: 14rem;
    }

    .agro-nav .nav-logo {
        height: 5rem;
    }

    .agro-nav.scrolled .nav-logo,
    .agro-nav.inner-page .nav-logo {
        height: 4rem;
    }

    .hero-subtitle-text {
        font-size: clamp(16px, 4.5vw, 20px);
        line-height: 1.2;
        letter-spacing: 0.1em;
    }

    .hero-date-text {
        font-size: clamp(1.5rem, 12vw, 1.5rem);
        letter-spacing: -1px;
    }

    .hero-year-text {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .hero-badge {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }

    .hero-section {
        height: 100dvh;
    }

    .hero-scroll {
        display: none;
    }
}

/* ========== Notebook (1366x768) ========== */
@media (min-width: 1024px) and (max-width: 1440px) and (max-height: 820px) {
    .hero-content {
        justify-content: center;
        padding-top: 4.5rem;
        padding-bottom: 3.5rem;
        gap: 0.75rem;
    }

    .hero-logo-wrap {
        max-width: 280px;
    }

    .hero-subtitle-text {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-content a {
        padding: 0.7rem 2.25rem;
        font-size: 1rem;
    }
}

/* ========== Scrollbar ========== */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--agro-green);
    border-radius: 3px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========== Single Post Content (agro-post-content) ========== */
.agro-post-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #374151;
}

.agro-post-content p {
    margin-bottom: 1.75rem;
}

.agro-post-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: #0A1D37;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.agro-post-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0A1D37;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.agro-post-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.agro-post-content ul,
.agro-post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.agro-post-content ul {
    list-style: none;
    padding-left: 0;
}

.agro-post-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.agro-post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    background: var(--agro-green);
    border-radius: 50%;
}

.agro-post-content ol {
    list-style: decimal;
}

.agro-post-content ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    color: #374151;
}

.agro-post-content ol li::marker {
    color: var(--agro-green);
    font-weight: 700;
}

.agro-post-content a {
    color: var(--agro-green);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 115, 46, 0.3);
    transition: all 0.3s;
}

.agro-post-content a:hover {
    border-bottom-color: var(--agro-green);
}

.agro-post-content blockquote {
    border-left: 4px solid var(--agro-gold);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #fdfbf5 0%, #fff 100%);
    border-radius: 0 1rem 1rem 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.agro-post-content blockquote p {
    margin-bottom: 0;
}

.agro-post-content blockquote cite {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--agro-gold);
    margin-top: 0.75rem;
}

.agro-post-content img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.agro-post-content figure {
    margin: 2rem 0;
}

.agro-post-content figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: -1rem;
    font-style: italic;
}

.agro-post-content strong {
    font-weight: 800;
    color: #1a1a1a;
}

.agro-post-content em {
    color: #555;
}

.agro-post-content code {
    background: #f3f4f6;
    padding: 0.2em 0.5em;
    border-radius: 0.35rem;
    font-size: 0.9em;
    color: var(--agro-green-dark);
    font-family: 'Courier New', monospace;
}

.agro-post-content pre {
    background: #1a1a2e;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.agro-post-content hr {
    border: none;
    border-top: 2px solid #f3f4f6;
    margin: 2.5rem 0;
}

.agro-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.agro-post-content table th {
    background: var(--agro-green);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.agro-post-content table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.agro-post-content table tr:last-child td {
    border-bottom: none;
}

.agro-post-content table tr:hover td {
    background: #f9fafb;
}

/* ========== Utilities ==========
   Removido: .text-agro-green, .text-agro-green-light, .text-agro-gold,
   .text-agro-beige-light, .bg-agro-green, .bg-agro-green-light,
   .bg-agro-beige, .bg-agro-beige-light — todas geradas pelo Tailwind
   via tailwind.config.js. Manter aqui causava duplicata com especificidade
   maior que impedia sobreposição por outras utilities do Tailwind.
*/

/* Agenda & Speakers Redesign */
.agenda-table-wrapper {
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.1);
}

.agenda-row-hover-line {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #adcb37;
    opacity: 0;
    transition: opacity 0.3s;
}

.group:hover .agenda-row-hover-line {
    opacity: 1;
}

/* Custom scrollbar if needed */
.agenda-table-wrapper::-webkit-scrollbar {
    width: 6px;
}

.agenda-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.agenda-table-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ========== Countdown Bar ========== */
#countdown-bar {
    width: 100%;
    background: #0d2e13;
    padding: 24px 16px;
}

#countdown-bar .cd-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#countdown-bar .cd-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 11px;
}

#agro-countdown {
    display: flex;
    align-items: center;
    gap: 40px;
}

#agro-countdown .cd-unit {
    text-align: center;
}

#agro-countdown .cd-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

#agro-countdown .cd-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 2.5rem;
    font-weight: 100;
    padding-bottom: 20px;
    line-height: 1;
}

#agro-countdown .cd-text {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-top: 6px;
}

@media (max-width: 480px) {
    #countdown-bar {
        padding: 20px 12px;
    }

    #agro-countdown {
        gap: 14px;
    }

    #agro-countdown .cd-number {
        font-size: 2rem;
    }

    #agro-countdown .cd-sep {
        font-size: 1.5rem;
        padding-bottom: 14px;
    }

    #agro-countdown .cd-text {
        font-size: 9px;
        letter-spacing: 0.1em;
    }
}

/* ========== Atrações Single ========== */
.single-atracoes .page-banner {
    /* herda estilos do page-banner padrão */
}

/* Garante altura mínima do slider no mobile */
.single-atracoes #atracao-slider > div {
    min-height: 280px;
}

/* Removido: @media .grid-cols-12 { display: block } — agora controlado
   pelas classes Tailwind responsivas (grid-cols-1 md:grid-cols-12) no HTML. */
