/*
Theme Name: Academia de Letras
Theme URI: https://academiadeletras.org.br
Author: Academia Studio
Author URI: https://academiadeletras.org.br
Description: Tema WordPress moderno para Academia de Letras. Design editorial moderno com slider de notÃ­cias, galeria de posts, tipografia clean (Outfit/Inter). Totalmente responsivo.
Version: 1.1.0
Tested up to: 6.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: flavour-business
*/

/* ============================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
    /* Institutional Colors - Modern Vibrant */
    --color-green: #008751;
    --color-green-light: #00A663;
    --color-green-dark: #005C37;
    --color-red: #E61932;
    --color-red-light: #FF334B;
    --color-red-dark: #B3001B;
    --color-blue: #1A5F8A;
    --color-blue-light: #2581BB;
    --color-blue-dark: #124260;
    --color-white: #FFFFFF;
    --color-gold: #D4AF37;

    /* Backgrounds */
    --bg-body: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-light: #F1F5F9;
    --bg-dark: #0F172A;
    --bg-header: rgba(255, 255, 255, 0.95);

    /* Text */
    --text-dark: #0F172A;
    --text-body: #475569;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;

    /* Borders */
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;

    /* Shadows - Modern & Soft */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 35px -5px rgba(0, 135, 81, 0.08), 0 15px 15px -5px rgba(0, 135, 81, 0.03);

    /* Typography - Modern Sans */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Layout */
    --container-width: 1200px;
    --container-max: 1200px;
    --sidebar-width: 340px;
    --header-height: 80px;

    /* Border Radius - Modern Rounded */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

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

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover,
a:focus {
    color: var(--color-green);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-body);
}

button {
    font-family: var(--font-heading);
    cursor: pointer;
}

input, textarea, select {
    font-family: var(--font-body);
    font-size: var(--text-base);
}

/* ============================================
   CONTAINER / LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================
   HEADER â€” MODERN GLASSMORPHISM
   ============================================ */
.site-nav-bar {
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    transition: all var(--transition-base);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-nav-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Modern Logo in Header */
.site-branding {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.site-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-green);
    letter-spacing: -0.03em;
    margin: 0;
}

.site-title a {
    color: var(--color-green);
}

/* Modern Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation .menu {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.main-navigation .menu li {
    position: relative;
}

.main-navigation .menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-body);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.main-navigation .menu li a:hover,
.main-navigation .menu li.current-menu-item a,
.main-navigation .menu li.current_page_item a {
    background: rgba(0, 135, 81, 0.08);
    color: var(--color-green);
}

/* Modern Sub-menus */
.main-navigation .menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.main-navigation .menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-navigation .menu li .sub-menu li a {
    padding: 10px 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    color: var(--text-body);
}

.main-navigation .menu li .sub-menu li a:hover {
    background: var(--bg-light);
    color: var(--color-green);
    transform: translateX(4px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-green);
    cursor: pointer;
    z-index: 1001;
    transition: all var(--transition-fast);
}

.menu-toggle:hover {
    background: rgba(0, 135, 81, 0.1);
}

.menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-green);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   SLIDER â€” MODERN CAROUSEL
   ============================================ */
.news-slider {
    position: relative;
    width: 100%;
    margin-top: var(--space-xl);
    padding: 0 var(--space-xl);
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slider-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    aspect-ratio: 21/9;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slider-slide.active img {
    transform: scale(1);
}

.slider-caption {
    position: absolute;
    inset: 0;
    padding: var(--space-3xl);
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slider-caption .slide-category {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--color-red);
    color: var(--text-white);
    font-size: var(--text-xs);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 10px rgba(230, 25, 50, 0.3);
}

.slider-caption h2 {
    font-size: var(--text-4xl);
    color: var(--text-white);
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: var(--space-sm);
}

.slider-caption h2 a {
    color: var(--text-white);
}

.slider-caption h2 a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.slider-caption .slide-date {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-dark);
    font-size: var(--text-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-md);
    opacity: 0;
}

.news-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--color-white);
    color: var(--color-green);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 40px; }
.slider-btn.next { right: 40px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-dot.active {
    background: var(--color-white);
    width: 50px;
}

/* ============================================
   MAIN CONTENT â€” MODERN LAYOUT
   ============================================ */
.front-page-content {
    padding: var(--space-4xl) 0;
}

.front-page-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-3xl);
}

/* Section Titles */
.section-title-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.section-title-bar h2 {
    font-size: var(--text-3xl);
    color: var(--text-dark);
    margin: 0;
}

/* ============================================
   NEWS GRID â€” MODERN CARDS
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    border-color: rgba(0, 135, 81, 0.2);
}

.news-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.news-card-image .card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--bg-white);
    color: var(--color-green);
    font-size: var(--text-xs);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.news-card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body h3 {
    font-size: var(--text-xl);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.news-card-body h3 a {
    color: var(--text-dark);
}

.news-card-body h3 a:hover {
    color: var(--color-green);
}

.news-card-body .card-excerpt {
    font-size: var(--text-sm);
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px var(--space-lg);
    margin-top: auto;
    background: var(--bg-light);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.news-card-footer .card-readmore {
    display: inline-flex;
    align-items: center;
    color: var(--color-green);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
}

.news-card-footer .card-readmore::after {
    content: 'â†’';
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.news-card-footer .card-readmore:hover::after {
    transform: translateX(4px);
}

/* ============================================
   PUBLICAÃ‡Ã•ES GRID â€” MODERN BOOKS
   ============================================ */
.publicacoes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.publicacao-card {
    display: flex;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    gap: var(--space-md);
    transition: all var(--transition-base);
}

.publicacao-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(0, 135, 81, 0.2);
}

.publicacao-capa {
    flex-shrink: 0;
    width: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.publicacao-capa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 2/3;
}

.publicacao-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.publicacao-info h3 {
    font-size: var(--text-lg);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

.publicacao-info h3 a {
    color: var(--text-dark);
}

.publicacao-info h3 a:hover {
    color: var(--color-green);
}

.publicacao-meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.publicacao-meta span {
    display: block;
}

.btn-publicacao {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-green);
    background: rgba(0, 135, 81, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.btn-publicacao:hover {
    background: var(--color-green);
    color: var(--text-white);
}

/* ============================================
   SIDEBAR â€” MODERN WIDGETS
   ============================================ */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.widget {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.widget:hover {
    box-shadow: var(--shadow-md);
}

.widget h2,
.widget h3,
.widget .wp-block-heading,
.widget-title {
    font-size: var(--text-lg);
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--bg-light);
    position: relative;
}

.widget h2::after,
.widget h3::after,
.widget .wp-block-heading::after,
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-green);
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-sm);
    font-weight: 500;
}

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

.widget ul li a {
    color: var(--text-body);
    display: flex;
    align-items: center;
}

.widget ul li a::before {
    content: 'â†’';
    margin-right: 8px;
    color: var(--color-green);
    opacity: 0;
    transform: translateX(-5px);
    transition: all var(--transition-fast);
}

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

.widget ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

.widget .search-form .search-field {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid transparent;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.widget .search-form .search-field:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.1);
}

.widget .search-form .search-submit {
    padding: 12px 20px;
    background: var(--color-green);
    color: var(--text-white);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: background var(--transition-base);
}

.widget .search-form .search-submit:hover {
    background: var(--color-green-dark);
}

/* ============================================
   FOOTER â€” MODERN DARK
   ============================================ */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    margin-top: var(--space-4xl);
    border-top: 4px solid var(--color-green);
}

.footer-main {
    padding: var(--space-2xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
}

.footer-brand .footer-title {
    font-size: var(--text-2xl);
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: var(--text-sm);
    line-height: 1.8;
    max-width: 400px;
}

.footer-colors {
    display: flex;
    gap: 8px;
    margin-top: var(--space-lg);
}

.footer-colors span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.footer-column h4 {
    font-size: var(--text-lg);
    color: var(--text-white);
    margin-bottom: var(--space-xl);
}

.footer-column ul li {
    margin-bottom: var(--space-md);
}

.footer-column ul li a {
    font-size: var(--text-sm);
    color: var(--text-light);
}

.footer-column ul li a:hover {
    color: var(--text-white);
    margin-left: 5px;
}

.footer-bottom {
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    margin: 0;
}

/* ============================================
   CONTENT AREA â€” POSTS / PAGES
   ============================================ */
.content-area {
    padding: var(--space-3xl) 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-3xl);
}

/* Page Header Modern */
.page-header-bar {
    background: var(--bg-white);
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-header-bar h1 {
    font-size: var(--text-4xl);
    color: var(--text-dark);
    margin: 0;
}

.page-header-bar .breadcrumbs {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-sm);
    font-weight: 500;
}

.page-header-bar .breadcrumbs a {
    color: var(--color-green);
}

/* Posts */
.post,
.page-content-article {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

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

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

.post-content,
.entry-content-inner {
    padding: var(--space-2xl);
}

.entry-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.entry-title a {
    color: var(--text-dark);
}

.entry-title a:hover {
    color: var(--color-green);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.entry-meta a {
    color: var(--text-body);
}

.entry-meta a:hover {
    color: var(--color-green);
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.entry-content p {
    margin-bottom: var(--space-lg);
}

.entry-content blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    border-left: 4px solid var(--color-green);
    background: var(--bg-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-dark);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-body);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-green);
    border-color: var(--color-green);
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(0, 135, 81, 0.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-green {
    background: var(--color-green);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(0, 135, 81, 0.2);
}

.btn-green:hover {
    background: var(--color-green-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 135, 81, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
}

.btn-outline:hover {
    background: var(--color-green);
    color: var(--text-white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .front-page-layout,
    .content-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .site-nav-bar {
        height: 70px;
    }

    .site-title {
        font-size: var(--text-xl);
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        padding: var(--space-md);
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation .menu {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation .menu li {
        width: 100%;
    }

    .main-navigation .menu li a {
        padding: 14px;
        text-align: center;
        border-radius: var(--radius-md);
    }

    .main-navigation .menu li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
        margin-top: var(--space-sm);
    }

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

    .slider-slide {
        aspect-ratio: 16/9;
    }

    .slider-caption {
        padding: var(--space-xl);
    }

    .slider-caption h2 {
        font-size: var(--text-xl);
    }

    .slider-btn {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.btn-entrar:hover { background-color: var(--color-green); color: var(--text-white) !important; }


/* ============================================
   CLASSIC MAGAZINE LAYOUT CSS
   ============================================ */
.classic-nav {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.classic-nav li a {
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    padding: 15px 5px;
    display: block;
    position: relative;
    transition: 0.3s;
}
.classic-nav li.current-menu-item a, .classic-nav li a:hover {
    color: white;
}
.classic-nav li.current-menu-item a::after, .classic-nav li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: white;
}
.classic-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}
@media(max-width: 992px) {
    .classic-layout-container { grid-template-columns: 1fr; }
    .header-actions { position: static !important; margin-top: 10px; }
    .header-nav-area .container { flex-direction: column; padding: 15px; }
}
.classic-featured-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}
.classic-featured-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.classic-featured-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px;
    color: white;
}
.classic-tag-destaque {
    background: var(--color-red);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}
.classic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.classic-grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}
.sidebar-widget { margin-bottom: 40px; }
.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.sidebar-latest-list { list-style: none; padding: 0; margin: 0; }
.sidebar-latest-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-latest-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-cat-list a { text-decoration: none; color: var(--text-dark); }
.sidebar-cat-list a::before {
    content: '›';
    margin-right: 10px;
    color: var(--color-red);
    font-weight: bold;
}


/* Header Refactor */
.site-header { border-top: 4px solid var(--color-red); background: var(--bg-white); }
.header-logo-area { text-align: center; padding: 2.5rem 0; }
.site-branding { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.header-book-icon { margin-bottom: 8px; opacity: 0.8; stroke: var(--text-dark); }
.site-title { font-family: var(--font-heading); margin: 0; font-size: 2.5rem; letter-spacing: -0.5px; font-weight: 700; }
.site-title a { color: var(--text-dark); text-decoration: none; }
.site-description { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.header-nav-area { background-color: var(--color-green); position: relative; }
.nav-container { display: flex; align-items: center; justify-content: center; position: relative; }
.main-navigation { flex: 1; display: flex; justify-content: center; }
.header-actions { position: absolute; right: 15px; display: flex; gap: 10px; align-items: center; }
.btn-entrar-nav { font-family: var(--font-body); font-weight: 600; color: white; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.4); border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; text-decoration: none; transition: all 0.3s ease; }
.btn-entrar-nav:hover { background: rgba(255,255,255,0.1); }
.menu-toggle { color: white; border-color: rgba(255,255,255,0.4); }
.menu-toggle .hamburger span { background-color: white; }


/* Front-page Refactor */
.featured-hero-title { font-family: var(--font-heading); font-size: 2.2rem; margin: 0; line-height: 1.2; font-weight: 700; }
.grid-item-link { text-decoration: none; }
.grid-item-image { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 15px; }
.grid-item-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--text-dark); margin: 0 0 10px 0; font-weight: 700; line-height: 1.3; transition: color 0.2s; }
.grid-item-link:hover .grid-item-title { color: var(--color-green); }
.grid-item-excerpt { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin: 0; font-family: var(--font-body); }
.publicacoes-widget-title { margin-top: 40px; }
.publicacoes-grid { margin-bottom: var(--space-4xl); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.publicacao-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s; }
.publicacao-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pub-capa-img { width: 100%; height: 250px; object-fit: cover; }
.publicacao-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pub-title { font-family: var(--font-heading); font-size: 1.2rem; margin-top: 0; font-weight: 700; }
.pub-title a { color: var(--text-dark); text-decoration: none; }
.publicacao-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; display: flex; flex-direction: column; gap: 5px; }
.btn-publicacao { margin-top: auto; display: inline-block; background: var(--color-green); color: white; padding: 8px 16px; border-radius: 4px; text-decoration: none; font-size: 0.9rem; font-weight: 600; text-align: center; transition: background 0.3s; }
.btn-publicacao:hover { background: var(--color-green-dark); }
@media (max-width: 768px) { .publicacoes-grid { grid-template-columns: 1fr; } .classic-grid { grid-template-columns: 1fr; } .featured-hero-title { font-size: 1.5rem; } }


/* Footer Refactor */
.footer-brand-col { grid-column: span 2; }
.footer-colors { margin-top: 15px; display: flex; gap: 5px; }
.footer-colors span { width: 30px; height: 5px; display: block; border-radius: 2px; }
.fc-green { background-color: var(--color-green); }
.fc-red { background-color: var(--color-red); }
.fc-blue { background-color: var(--color-blue); }
.fc-white { background-color: var(--color-white); border: 1px solid #ccc; }
@media (max-width: 768px) { .footer-brand-col { grid-column: span 1; } }

