/*
Theme Name: Dionysus Blog
Theme URI: https://github.com/thzlima/wp-dionysus
Author: Antigravity AI
Description: Um tema de blog dark, high-end e moderno baseado na plataforma Dionysus.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: dionysus
*/

:root {
    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Syne', sans-serif;

    /* Brand Colors */
    --color-brand-yellow: #fcc737;
    --color-brand-orange: #f26b0f;
    --color-brand-pink: #e73879;
    --color-brand-purple: #7e1891;

    /* Gradients */
    --bg-brand-gradient: linear-gradient(90deg, #7e1891, #e73879, #f26b0f);
    --bg-brand-gradient-4: linear-gradient(90deg, #7e1891, #e73879, #f26b0f, #fcc737);
    
    /* UI Colors (Dark Theme) */
    --bg-dark: #07000f;
    --bg-card: rgba(255, 255, 255, 0.04);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-white: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-white);
    background-color: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-brand-pink);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Effects */
.grid-texture {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* Header */
.main-header {
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 0, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-white);
}

.btn-gradient {
    background: linear-gradient(90deg, #7e1891, #e73879);
    color: white;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: opacity 0.2s;
}

.btn-gradient:hover {
    opacity: 0.85;
}

/* Typography Utilities */
.text-brand-gradient {
    background: var(--bg-brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Blog Cards (Dark Version) */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-white);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(231, 56, 121, 0.3);
}

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

.post-card .category, 
.entry-header .category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-brand-pink);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.post-card .category a,
.entry-header .category a {
    color: var(--color-brand-pink);
    text-decoration: none;
}

.post-card .category a:hover,
.entry-header .category a:hover {
    color: var(--color-brand-yellow);
}

.post-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.post-card .excerpt {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    line-height: 1.5;
}

/* Entry Content Styling (Typography Rhythm) */
.entry-content p {
    margin-bottom: 28px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
    display: block;
}

.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
    margin: 50px 0 20px;
    color: #fff;
    text-transform: none; /* Mantendo natural para o corpo do texto */
}

.entry-content ul, 
.entry-content ol {
    margin-bottom: 32px;
    padding-left: 5px;
    list-style: none; /* Removendo o padrão para customizar */
}

.entry-content li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
}

.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--color-brand-purple), var(--color-brand-pink));
    border-radius: 50%;
}

.entry-content ol {
    counter-reset: dionysus-counter;
    list-style: none;
}

.entry-content ol li {
    counter-increment: dionysus-counter;
}

.entry-content ol li::before {
    content: counter(dionysus-counter);
    position: absolute;
    left: 0;
    top: 2px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 14px;
    color: var(--color-brand-orange);
}

/* Partners Section */
.partners-grid span {
    transition: all 0.3s ease;
    cursor: default;
}

.partners-grid span:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

/* Footer (Dark) */
.site-footer {
    background: #0a0a0a;
    padding: 40px 0;
    border-top: 1px solid var(--border-white);
}
