/* ===========================
   RESET E CONFIGURAÇÕES GLOBAIS
=========================== */
:root {
    --primary-bg: #1a0f0f;
    --secondary-bg: #2a1818;
    --accent-color: #ff6b35;
    --accent-hover: #ff8c5a;
    --accent-light: #ff9e6d;
    --text-primary: #ffffff;
    --text-secondary: #e8c8b8;
    --border-color: #4a2c2c;
    --hover-color: #3a2020;
    --card-bg: #261616;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-secondary: linear-gradient(135deg, #261616 0%, #3a2020 100%);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
    --fundo-escuro: #120a0a;
    --fundo-interno: #1b0f0f;
    --borda: #2a1f1f;
    --botao: #6a2b2f;
    --botao-escuro: #5a2c2c;
    --titulo: #fff1e6;
    --texto: #d5c6b8;
    --icone-bg: #3a2a2a;
    --sombra: rgba(106, 43, 47, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--primary-bg);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

body.single {
    background: #0b0b0b !important;
    color: #e6e6e6;
    font-family: 'Georgia', serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: orange;
    text-decoration: none;
    font-weight: bold;
    transition: 0.15s ease;
}

a:hover {
    color: #ff8c00;
    text-decoration: underline;
}

/* ===========================
   LAYOUT PRINCIPAL
=========================== */
.wrapper {
    margin: 0 auto;
    width: 100%;
}

/* ===========================
   HEADER PRINCIPAL
=========================== */
.header-container {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-bg);
    position: relative;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    order: 1;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

.social {
    display: flex;
    gap: 14px;
    order: 1;
}

.social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: 0.3s ease;
}

.social a:hover {
    color: var(--accent-color);
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.logo-center {
    order: 2;
    flex-grow: 1;
    text-align: center;
}

.logo-center img {
    height: 50px;
    position: relative;
    top: 5px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.4));
}

.right-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    order: 3;
}

.search-box {
    position: relative;
    display: block;
}

.search-box input {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 10px 40px 10px 15px;
    border-radius: 25px;
    width: 220px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    outline: none;
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.search-box input:focus + i {
    color: var(--accent-color);
}

.btn {
    padding: 12px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-glow);
}

.btn-sign {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-sign:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* ===========================
   MENU DE NAVEGAÇÃO PRINCIPAL
=========================== */
nav {
    width: 100%;
    padding: 12px 0;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 42px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
}

nav ul li a:hover {
    color: var(--accent-color);
    background: var(--hover-color);
    transform: translateY(-2px);
}

/* ===========================
   DROPDOWN QUE EMPURRA CONTEÚDO
=========================== */
.dropdown-expand {
    position: relative;
}

.dropdown-hidden {
    display: none;
    background: var(--gradient-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    width: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.dropdown-hidden.active {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-container {
    width: 70%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.dropdown-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover {
    background: var(--hover-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
    border-color: var(--accent-light);
}

.dropdown-item:hover::before {
    transform: scaleX(1);
}

.dropdown-item img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dropdown-item:hover img {
    transform: scale(1.05);
}

.dropdown-item h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* ===========================
   CONTEÚDO PRINCIPAL
=========================== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    transition: margin-top 0.3s ease;
    font-family: 'Inter', Arial, sans-serif;
}

.main-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

.main-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 10px;
        margin: 0 auto;
    }
}

.feature-card {
    background: rgba(30, 10, 10, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: var(--accent-light);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
    color: var(--accent-light);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-card h3 a {
    text-decoration: none;
    color: #e2d0cc;
    font-weight: 600;
}

.feature-card h3 a:hover {
    text-decoration: underline;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    z-index: 2;
    margin: 10px 0 18px;
    line-height: 1.65;
    text-align: justify;
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.feature-card .read-more {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f2e7e5;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border 0.2s ease;
}

.feature-card .read-more:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.24);
}

/* ===========================
   SIDEBAR MOBILE FINAL
=========================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%; /* menor que 100%, mais elegante */
    max-width: 320px;
    height: 100vh;
    background: var(--gradient-secondary);
    border-right: 1px solid var(--border-color);
    z-index: 10000;
    transition: left 0.4s ease;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.4);

    /* Linhas discretas quadradas no fundo */
    background-image: 
        repeating-linear-gradient(to right, rgba(255, 158, 109, 0.03), rgba(255, 158, 109, 0.03) 1px, transparent 1px, transparent 12px),
        repeating-linear-gradient(to bottom, rgba(255, 158, 109, 0.03), rgba(255, 158, 109, 0.03) 1px, transparent 1px, transparent 12px),
        var(--gradient-secondary);
    background-repeat: repeat, repeat, no-repeat;
    background-size: auto, auto, cover;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.4));
}

.close-sidebar {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-sidebar:hover {
    color: var(--accent-color);
}

/* --------------------------
   Search
--------------------------- */
.sidebar-search {
    margin-bottom: 25px;
    position: relative;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-search input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    outline: none;
}

.sidebar-search button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    transition: 0.3s ease;
}

.sidebar-search button:hover {
    color: var(--accent-hover);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 5px;
    display: none;
    z-index: 10001;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.search-suggestions.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.suggestion-item {
    padding: 12px 15px;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255, 158, 109, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(255, 107, 53, 0.08);
    color: var(--accent-color);
    padding-left: 20px;
}

/* --------------------------
   Navigation Links
--------------------------- */
.sidebar-nav {
    display: block !important;
    margin-bottom: 25px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
}

.sidebar-nav li {
    display: block !important;
    width: 100% !important;
    margin: 0;
}

.sidebar-nav a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
}

.sidebar-nav li + li a::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    opacity: 0.6;
}

.sidebar-nav a:hover {
    background: rgba(255, 107, 53, 0.08);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
}

/* --------------------------
   Social Links
--------------------------- */
.sidebar-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

.sidebar-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: 0.3s ease;
}

.sidebar-social a:hover {
    color: var(--accent-color);
    background: rgba(255, 107, 53, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
}

/* --------------------------
   Overlay
--------------------------- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.overlay.active {
    display: block;
}

/* ===========================
   MASONRY GRID
=========================== */
.masonry-grid {
    column-count: 3;
    column-gap: 25px;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    display: block;
    width: 100%;
    transition: all 0.35s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.masonry-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.35);
    border-color: var(--accent-color);
}

.masonry-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

@media (max-width: 1024px) {
    .masonry-grid { column-count: 2; }
}

@media (max-width: 600px) {
    .masonry-grid { column-count: 1; }
}

/* ===========================
   FOOTER
=========================== */
footer {
    margin-top: 80px;
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--gradient-secondary);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3px;
    margin-bottom: 40px;
}

.footer-grid a {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    display: block;
    margin-left: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-grid a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-logo {
    display: flex;
    justify-content: flex-end; /* alinhado à direita por padrão */
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    max-width: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.4));
}

/* Mobile: centraliza o logo em telas menores que 768px */
/* Mobile: centraliza o logo em telas menores que 768px */
@media (max-width: 768px) {
    .footer-logo {
        width: 100%;           /* ocupa toda a largura do footer */
        justify-content: center; /* centraliza horizontalmente */
        align-items: center;     /* centraliza verticalmente */
        margin-top: 20px;        /* opcional, só para espaçamento */
    }
}


.footer-divider {
    margin: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-text {
    max-width: 900px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
}

.footer-social {
    display: flex;
    gap: 4px;
    margin-top: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}



/* ===========================
   MOBILE MENU / SEARCH
=========================== */
.mobile-search {
    width: 100%;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-search form {
    width: 88%;
    position: relative;
}

.mobile-search input[type='text'],
.mobile-search input[type='search'] {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    outline: none;
}

.mobile-search button,
.mobile-search input[type='submit'],
.mobile-search .search-submit {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-search button img,
.mobile-search button svg {
    width: 20px;
    height: 20px;
    filter: invert(1);
    opacity: 0.7;
    transition: 0.2s;
}

.mobile-search button:hover img,
.mobile-search button:hover svg {
    opacity: 1;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 25px 0 35px;
}

.mobile-social-icons a {
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    transition: 0.25s;
}

.mobile-social-icons a:hover {
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.12);
}

/* ===========================
   HERO DO POST
=========================== */
.post-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px 95px;
    color: #ffffff;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.88) 100%);
}

.post-hero-content {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.post-category {
    display: inline-block;
    font-size: 0.95rem;
    color: #d9d9d9;
    margin-bottom: 12px;
    letter-spacing: 0.4px;
}

.post-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 6px 0 10px;
    line-height: 1.15;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
}

.post-date {
    color: #bbbbbb;
    font-size: 1rem;
}

/* ===========================
   CONTEÚDO DO POST
=========================== */
.single-post-content,
.entry-content {
    position: relative !important;
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    z-index: 0;
    max-width: 900px;
    margin: 40px auto;
    padding: 28px 35px;
    font-family: 'Modern Antiqua', serif;
    font-size: 1.22rem;
    line-height: 0.9;
    text-align: justify;
    color: white;
    border-radius: 6px;
}
/* ===========================
   LINHAS VERTICAIS E HORIZONTAIS NO POST (ROLAGEM COM TEXTO)
=========================== */
.single-post-content::before,
.entry-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;

    /* Linhas horizontais e verticais mais discretas */
    background-image: 
        /* Linhas horizontais */
        repeating-linear-gradient(
            to bottom, 
            rgba(255, 158, 109, 0.03), /* laranja quase invisível */
            rgba(255, 158, 109, 0.03) 1px, 
            transparent 1px, 
            transparent 12px
        ),
        /* Linhas verticais */
        repeating-linear-gradient(
            to right, 
            rgba(255, 158, 109, 0.03), /* laranja quase invisível */
            rgba(255, 158, 109, 0.03) 1px, 
            transparent 1px, 
            transparent 12px
        ),
        /* Fundo cinematográfico escuro */
        linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 50%, #050505 100%);

    background-repeat: repeat, repeat, no-repeat;
    background-size: auto, auto, cover;

    box-shadow: 
        0 0 100px rgba(0,0,0,0.8),
        inset 0 0 70px rgba(0,0,0,0.65),
        inset 0 0 30px rgba(0,0,0,0.5);
    border-radius: 0px;
    border-right: 10px solid #6b4c1f;
}



.single-post-content > *,
.entry-content > * {
    position: relative !important;
    z-index: 2 !important;
    color: #f7e9c9 !important;
    -webkit-text-fill-color: #f7e9c9 !important;
}

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

.single-post-content p:first-of-type::first-letter {
    font-size: 6.7rem;
    float: left;
    padding-right: 24px;
    padding-top: 8px;
    font-weight: bold;
    color: #d7b278;
    letter-spacing: -3px;
    text-shadow: 0 0 8px rgba(255, 178, 82, 0.65), 0 0 20px rgba(255, 140, 40, 0.4), 0 0 32px rgba(255, 100, 0, 0.3);
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.35));
}

.single-post-content ::selection {
    background: #8a5c28;
    color: #2a1d0e;
}

/* Blockquote */
.single-post-content blockquote,
.entry-content blockquote,
.wp-block-quote {
    position: relative !important;
    z-index: 3 !important;
    color: #f7e9c9 !important;
    padding: 28px 30px !important;
    margin: 35px 0 !important;
    overflow: visible !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.04);
    border-left: 3px solid #d4af37;
    background: rgba(212, 175, 55, 0.04);
    font-size: 1.25rem !important;
    line-height: 1.45 !important;
    max-height: none !important;
}

.single-post-content blockquote p:first-letter,
.entry-content blockquote p:first-letter {
    font-size: 3.6rem !important;
    float: left;
    line-height: 0.75;
    padding-right: 14px;
    padding-top: 4px;
    color: #d4af37;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.single-post-content blockquote p,
.entry-content blockquote p {
    margin: 0 !important;
    line-height: 1.45 !important;
}

.single-post-content blockquote cite,
.entry-content blockquote cite {
    font-size: 0.78rem !important;
    margin-top: 10px !important;
    opacity: 0.9;
    line-height: 1.1 !important;
}

.single-post-content blockquote ::selection {
    background: rgba(210, 170, 85, 0.2);
    color: #1d140e;
}

/* Listas */
.single-post-content ul,
.single-post-content ol {
    margin: 30px 0;
    padding-left: 0;
    list-style: none !important;
    font-family: 'Modern Antiqua', Georgia, serif;
    color: #f3e9d2;
}

.single-post-content li {
    position: relative;
    padding: 10px 14px 10px 38px;
    margin-bottom: 14px;
    background: rgba(45, 32, 22, 0.4);
    border-radius: 6px;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.45);
    line-height: 1.65;
    font-size: 1.15rem;
    border-left: 4px solid #c28a3a;
}

.single-post-content li::before {
    content: '✦';
    position: absolute;
    left: 12px;
    top: 9px;
    font-size: 1.2rem;
    color: #d4af37;
    opacity: 0.85;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.35);
}

.single-post-content li:hover {
    background: rgba(60, 42, 28, 0.55);
    transform: translateX(2px);
    transition: 0.15s ease-in-out;
}

.single-post-content li::selection {
    background: rgba(194, 138, 58, 0.25);
    color: #111;
}

/* Títulos */
.single-post-content h1,
.entry-content h1 {
    font-size: 2rem;
    font-weight: 1000;
    letter-spacing: 2px;
    text-decoration: underline;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.single-post-content h2,
.entry-content h2 {
    margin-top: 35px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.single-post-content h3,
.entry-content h3 {
    margin-top: 30px;
    margin-bottom: 18px;
}

/* ===========================
   ORNAMENT / AUTOR
=========================== */
.post-ornament-wrap {
    max-width: 820px;
    margin: 70px auto;
    padding: 40px;
    text-align: center;
    position: relative;
}

.ornament-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, #3a3a3a, transparent);
}

.ornament-icon svg {
    margin: 22px auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.25));
}

.post-author-credit {
    margin-top: 6px;
    font-size: 1.1rem;
    color: #e3e3e3;
}

.post-author-credit span {
    color: #d4af37;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

/* ===========================
   NAVEGAÇÃO PREV / NEXT
=========================== */
.post-nav-wrapper {
    max-width: 95%;
    margin: 40px auto 35px;
    padding: 20px 0;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
}

.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.post-nav-item {
    padding: 28px 40px;
    display: flex;
    align-items: center;
    min-height: 120px;
    border-right: 1px solid #222;
    transition: background 0.2s, transform 0.2s ease;
}

.post-nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px);
}

.post-nav-item.right {
    border-right: none;
}

.post-nav-link {
    display: block;
    color: #fff;
    width: 100%;
}

.nav-label {
    display: block;
    font-size: 0.92rem;
    color: #9a9a9a;
    margin-bottom: 12px;
}

.nav-post-content {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-post-content.right-content {
    flex-direction: row-reverse;
}

.nav-thumb {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}

.post-nav-link h4 {
    font-size: 1.05rem;
    margin: 0;
    color: #f1f1f1;
    line-height: 1.25;
}

/* ===========================
   COMENTÁRIOS
=========================== */
.comments-fullwrap {
    margin: 10px;
}

.comments-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #f2f2f2;
    margin-bottom: 40px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.5px;
}

.comments-box {
    padding: 15px 10px;
    background: #0e0e0e;
    border: 1px solid #1d1d1d;
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.45);
    transition: 0.3s ease;
    width: 100%;
}

.comment {
    display: flex;
    gap: 20px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.25s ease;
    width: 100%;
}

.comment:hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding-left: 16px;
}

.comment .avatar {
    width: 78px;
    height: 78px;
    background: #1a1a1a;
    border: 2px solid #252525;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
}

.comment .comment-content {
    color: #e5e5e5 !important;
    line-height: 1.7;
    font-size: 1.05rem;
    width: 100%;
    border-radius: 0 0 10px 10px;
    padding: 0 10px;
}

.comment .comment-author {
    font-weight: 700 !important;
    color: orange !important;
    font-size: 1.05rem;
}

.comment .comment-metadata a {
    font-size: 0.78rem;
    color: #999 !important;
}

.comment .reply a {
    color: #d4af37 !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s ease;
}

.comment .reply a:hover {
    color: #f7d978 !important;
}

.children {
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    margin-left: 65px;
    padding-left: 20px;
}

.delete-my-comment {
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px 8px 20px 8px;
    background: #fa8072;
    padding: 0 20px;
}

.delete-my-comment:hover {
    text-decoration: underline;
    color: black;
}

/* ===========================
   FORMULÁRIO DE COMENTÁRIOS
=========================== */
#respond {
    margin-top: 45px;
    padding: 30px;
    background: #101010;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
}

#respond label {
    color: #f1f1f1;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

#respond input[type='text'],
#respond input[type='email'],
#respond input[type='url'],
#respond textarea {
    width: 100%;
    background: #262626;
    border: 1px solid #333;
    padding: 16px 20px;
    color: #e8e8e8;
    font-size: 1rem;
    border-radius: 10px;
    outline: none;
    transition: 0.25s ease;
    margin-bottom: 16px;
}

#respond input:focus,
#respond textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.55);
    background: #2f2f2f;
}

#respond textarea {
    height: 180px;
    line-height: 1.55;
    resize: vertical;
    background: #2e2e2e;
}

#respond textarea::placeholder {
    color: #b7b7b7;
}

#respond #submit {
    background: transparent;
    color: #ffffff;
    padding: 12px 0;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    width: 100%;
}

#respond #submit:hover {
    color: #d4af37;
    border-bottom: 5px solid #f7d978;
}

#cancel-comment-reply-link {
    color: #d4af37 !important;
    margin-left: 8px;
    font-weight: 600;
}

/* ===========================
   POSTS RELACIONADOS
=========================== */
.related-posts-wrap {
    max-width: 900px;
    margin: 60px auto;
    padding: 22px;
    background: #151515;
    border: 1px solid #262626;
    border-radius: 12px;
}

.related-title {
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 18px;
}

.related-grid {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.related-item {
    background: #111;
    border-radius: 10px;
    flex: 1 1 calc(33% - 18px);
    color: #e6e6e6;
    overflow: hidden;
    transition: 0.2s ease;
    border: 1px solid #1c1c1c;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.related-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-item-title {
    padding: 12px;
    font-size: 1rem;
}

/* ===========================
   SEARCH / RESULTADOS
=========================== */
.search-container {
    max-width: 1400px;
    margin: 36px auto;
    padding: 0 24px 60px;
}

.search-topbar {
    margin-bottom: 32px;
}

.search-topbar .search-box {
    display: flex;
    width: 100%;
    background: var(--fundo-interno);
    border: 1px solid var(--borda);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px var(--sombra);
}

.search-topbar .search-field {
    flex: 1;
    padding: 18px 20px;
    font-size: 20px;
    background: transparent;
    color: var(--titulo);
    border: none;
    outline: none;
}

.search-topbar .search-field::placeholder {
    color: #9b8880;
}

.search-topbar .search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    background: var(--botao);
    border: none;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.08s ease;
    color: var(--titulo);
    font-size: 18px;
}

.search-topbar .search-submit:hover {
    background: var(--botao-escuro);
    transform: translateY(-1px);
}

.search-topbar .search-submit svg {
    width: 22px;
    height: 22px;
    fill: #fff1e6;
}

.search-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 38px;
}

.search-sidebar ul {
    list-style: none;
    padding: 6px;
    margin: 0;
}

.search-sidebar li {
    margin-bottom: 10px;
}

.search-sidebar a {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
    color: var(--texto);
    text-decoration: none;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.search-sidebar a:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--titulo);
    border-color: var(--borda);
}

.search-sidebar a.active {
    background: var(--botao);
    color: #fff;
    border-color: var(--botao);
    box-shadow: 0 6px 20px rgba(106, 43, 47, 0.18);
    font-weight: 600;
}

.search-sidebar a .count {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    float: right;
    opacity: 0.95;
}

.results-title {
    font-size: 20px;
    margin-bottom: 22px;
    color: var(--titulo);
    font-weight: 600;
}

.results-list {
    margin-top: 8px;
}

.search-order-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    align-items: center;
}

.search-order-bar .info-box {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--borda);
    border-radius: 8px;
    background: transparent;
    color: var(--texto);
    font-size: 14px;
}

.search-order-bar .controls {
    margin-left: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.order-btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--borda);
    background: transparent;
    color: var(--texto);
    text-decoration: none;
    font-size: 14px;
}

.order-btn.active {
    background: var(--botao);
    color: #fff;
    border-color: var(--botao);
}

.order-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--botao);
}

.result-card {
    display: flex;
    gap: 20px;
    background: #231616;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 22px;
    border: 1px solid var(--borda);
    transition: border-color 0.12s ease, transform 0.08s ease;
    align-items: flex-start;
}

.result-card:hover {
    border-color: var(--botao);
    transform: translateY(-3px);
}

.result-thumb {
    width: 170px;
    height: 120px;
    flex: 0 0 170px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.result-body {
    flex: 1 1 auto;
}

.result-body h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--titulo);
    line-height: 1.08;
}

.result-body p {
    margin: 0 0 12px;
    color: var(--texto);
    font-size: 15px;
    line-height: 1.6;
}

.result-meta {
    color: #b59286;
    font-size: 13px;
}

.result-tag {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: #fff1e6;
    background: #5a2c2c;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 10px;
}

/* ===========================
   CUMIUN SEARCH WRAPPER
=========================== */
.cumiun-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 240px;
    display: block;
}

.cumiun-search-input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 12px 50px 12px 18px;
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-primary);
    transition: 0.3s ease;
    box-sizing: border-box;
    display: block;
}

.cumiun-search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.35);
    outline: none;
}

.cumiun-search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 18px;
    transition: 0.3s ease;
}

.cumiun-search-icon {
    pointer-events: none;
}

.cumiun-search-button:hover .cumiun-search-icon,
.cumiun-search-input:focus + .cumiun-search-button .cumiun-search-icon {
    color: var(--accent-color);
}

@media (max-width: 800px) {
    .cumiun-search-wrapper {
        display: none !important;
    }
}

/* ===========================
   RESPONSIVIDADE GERAL
=========================== */
@media (max-width: 1024px) {
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    nav ul {
        gap: 30px;
    }
    .search-grid {
        grid-template-columns: 1fr;
    }
    .search-sidebar {
        order: 2;
        margin-top: 10px;
    }
    .result-thumb {
        width: 140px;
        height: 96px;
        flex: 0 0 140px;
    }
}

@media (max-width: 900px) {
    .post-nav-grid {
        grid-template-columns: 1fr;
    }
    .post-nav-item {
        border-right: none;
        border-bottom: 1px solid #222;
    }
    .related-item {
        flex: 1 1 100%;
    }
    .single-post-content::before,
    .entry-content::before {
        background-size: cover !important;
        box-shadow: 0 0 45px rgba(0, 0, 0, 0.6), inset 0 0 36px rgba(0, 0, 0, 0.45);
    }
    .single-post-content blockquote,
    .entry-content blockquote {
        padding: 20px 16px !important;
        font-size: 1.03rem !important;
        line-height: 1.7 !important;
        box-shadow: 0 0 0 1px rgba(32, 22, 16, 0.14) inset, 0 0 18px rgba(0, 0, 0, 0.35) inset, 0 4px 12px rgba(0, 0, 0, 0.45) !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .social,
    .search-box {
        display: none;
    }
    .header-container {
        padding: 12px 15px;
        justify-content: space-between;
        gap: 10px;
    }
    .logo-center {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .logo-center img {
        height: 40px;
        margin: 0 auto;
    }
    .right-area {
        gap: 10px;
    }
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    nav {
        display: none;
    }
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dropdown-hidden {
        padding: 20px 0;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        display: flex;
        flex-wrap: wrap;
    }
    .footer-logo {
        justify-content: center;
        grid-column: 1 / -1;
        margin-top: 20px;
    }
    .sidebar-nav {
        display: block !important;
    }
}

@media (max-width: 560px) {
    .search-topbar .search-field {
        font-size: 16px;
        padding: 14px;
    }
    .search-topbar .search-submit {
        padding: 0 16px;
    }
    .result-card {
        flex-direction: column;
    }
    .result-thumb {
        width: 100%;
        height: 200px;
        flex: unset;
    }
    .search-order-bar {
        gap: 10px;
    }
    .search-order-bar .controls {
        width: 100%;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    .order-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 12px;
    }
    .logo-center img {
        height: 40px;
    }
    .right-area {
        gap: 8px;
    }
    .btn {
        padding: 7px 14px;
        font-size: 12px;
    }
    .sidebar {
        width: 100%;
        max-width: 280px;
    }
    .main-content {
        padding: 40px 15px;
    }
    .post-title {
        font-size: 1.9rem;
    }
    .post-hero {
        padding: 110px 18px 60px;
    }
    .nav-thumb {
        width: 56px;
        height: 56px;
    }
    .post-nav-item {
        padding: 18px;
    }
    footer {
        padding: 40px 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-text {
        justify-content: center;
    }
}

/* ===========================
   UTILITÁRIOS
=========================== */
.site,
.content,
.container,
.post,
.post-content,
.site-content,
.content-area {
    overflow: visible !important;
}

.site::before,
.site::after,
.container::before,
.container::after,
.content::before,
.content::after,
.single-post-content::after,
.entry-content::after {
    display: none !important;
    content: none !important;
    pointer-events: none !important;
}


@media (max-width: 768px) {
    .single-post-content,
    .entry-content {
        max-width: 90%;  /* ocupa 90% da tela no mobile */
        padding: 20px 15px; /* menos padding pra caber melhor */
    }
}
