/* Estilos - Tema Tradição Caminhos das Sombras */

:root {
    --accent: #cf2e2e;
    --accent-dark: #b91c1c;
    --accent-light: #ef4444;
    --accent-rgb: 220, 38, 38;
}

/* === FONTES === */
@font-face {
    font-family: 'mavenpro';
    src: url('../fonts/mavenpro.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

/* === TÍTULOS === */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: 'mavenpro', 'system-ui', 'ui-sans-serif', 'sans-serif';
    color: #1a202c;
}

.article-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 1rem 0 1rem 0;
    letter-spacing: -0.025em;
}

.article-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    border-left: 2px solid var(--accent);
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.article-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.article-content h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

/* === PARÁGRAFOS === */
.article-content p {
    font-family: 'mavenpro', 'system-ui', 'ui-sans-serif', 'sans-serif';
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* === LINKS === */
.article-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.article-content a:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}

/* === BLOCKQUOTE === */
/* Versão 1: Citação simples */
.article-content blockquote:not(:has(cite)) {
    position: relative;
    padding: 2.5rem;
    font-style: italic;
    background:
        radial-gradient(circle at 0% 0%,
            rgba(var(--accent-rgb), 0.03) 0%,
            transparent 50%),
        radial-gradient(circle at 100% 100%,
            rgba(var(--accent-rgb), 0.02) 0%,
            transparent 50%);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    margin-bottom: 1rem;
}

.article-content blockquote:not(:has(cite)) p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 450;
    text-align: center;
    position: relative;
    z-index: 2;
}

.article-content blockquote:not(:has(cite))::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    border-radius: 3px;
    transition: all 0.4s ease;
}

.article-content blockquote:not(:has(cite))::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.article-content blockquote:not(:has(cite)):hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(var(--accent-rgb), 0.05);
}

.article-content blockquote:not(:has(cite)):hover::before {
    width: 80px;
    opacity: 0.8;
}

.article-content blockquote:not(:has(cite)):hover::after {
    transform: scale(1.5);
    opacity: 0.5;
}

/* Versão 2: Citação com autor */
.article-content blockquote:has(cite) {
    position: relative;
    padding: 0;
    font-style: italic;
    background:
        radial-gradient(circle at 0% 0%,
            rgba(var(--accent-rgb), 0.03) 0%,
            transparent 50%),
        radial-gradient(circle at 100% 100%,
            rgba(var(--accent-rgb), 0.02) 0%,
            transparent 50%);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    margin-bottom: 1rem;
    overflow: hidden;
}

.article-content blockquote:has(cite)::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    border-radius: 3px;
    transition: all 0.4s ease;
}

.article-content blockquote:has(cite)> :first-child {
    padding: 2.5rem 2.5rem 1rem 2.5rem;
    margin: 0;
}

.article-content blockquote:has(cite) p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #1a1a1a;
    font-weight: 400;
    text-align: center;
    position: relative;
}

.article-content blockquote:has(cite) cite {
    display: block;
    padding: 0.4rem 2.5rem;
    margin: 0;
    font-size: 0.85rem;
    font-style: normal;
    color: #3e3d3d;
    text-align: center;
    background: rgba(var(--accent-rgb), 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.article-content blockquote:has(cite)::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.article-content blockquote:has(cite):hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(var(--accent-rgb), 0.05);
}

.article-content blockquote:has(cite):hover::before {
    width: 80px;
    opacity: 0.8;
}

.article-content blockquote:has(cite):hover::after {
    transform: scale(1.5);
    opacity: 0.5;
}

.article-content blockquote:has(cite):hover cite {
    background: rgba(var(--accent-rgb), 0.06);
    color: #575757;
}

/* === LISTAS === */
/* Listas não ordenadas */
.article-content ul {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;

    color: #090a25b3;
    border: 1px solid #ff56561a;
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 30px 30px 22px 40px;

}

.article-content ul li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    color: #374151;
    transition: all 0.3s ease;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    transform: scale(0.8);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.article-content ul li:hover {
    color: #1f2937;
    transform: translateX(4px);
}

.article-content ul li:hover::before {
    transform: scale(1.2);
    opacity: 1;
    background: var(--accent-dark);
}

/* Listas ordenadas */
.article-content ol {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    counter-reset: ordered-list;

    color: #090a25b3;
    border: 1px solid #ff56561a;
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 30px 30px 22px 40px;
}

.article-content ol li {
    position: relative;
    padding: 0.3rem 0.2rem 0.75rem 1.7rem;
    color: #374151;
    transition: all 0.3s ease;
}

.article-content ol li::before {
    counter-increment: ordered-list;
    content: counter(ordered-list);
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-content ol li:hover {
    color: #1f2937;
}

.article-content ol li:hover::before {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

/* === ESTILOS ESPECIAIS DE LISTAS === */
/* Listas aninhadas */
.article-content ul ul {
    margin: 0.5rem 0 0.5rem 1rem;
}

.article-content ul ul li::before {
    width: 6px;
    height: 6px;
    background: var(--accent-light);
    opacity: 0.5;
}

.article-content ul ul li:hover::before {
    background: var(--accent);
}

.article-content ol ol {
    margin: 0.5rem 0 0.5rem 1rem;
    counter-reset: ordered-list-nested;
}

.article-content ol ol li::before {
    counter-increment: ordered-list-nested;
    content: counter(ordered-list-nested);
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

/* Lista com ícones */
.article-content ul.with-icons li {
    padding-left: 2.5rem;
}

.article-content ul.with-icons li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    top: 0.4rem;
}

.article-content ul.with-icons li:hover::before {
    background: var(--accent);
    color: white;
}

/* Lista de verificação */
.article-content ul.checklist li::before {
    content: '✓';
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 0.6rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-content ul.checklist li:hover::before {
    background: #16a34a;
    color: white;
}

/* Lista com bordas */
.article-content ul.bordered {
    background: rgba(var(--accent-rgb), 0.02);
    border: 1px solid rgba(var(--accent-rgb), 0.1);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
}

.article-content ul.bordered li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.05);
    color: #374151;
}

.article-content ul.bordered li:last-child {
    border-bottom: none;
}

.article-content ul.bordered li::before {
    top: 1rem;
}

/* === TABELAS === */
.article-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-content thead {
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
}

.article-content th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--accent-dark);
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
}

.article-content td {
    padding: 1rem 1.25rem;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.article-content tbody tr:last-child td {
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
}

.article-content tbody tr:hover {
    background: rgba(var(--accent-rgb), 0.02);
}

/* Variações de tabelas */
.article-content table.striped tbody tr:nth-child(even) {
    background: #f8fafc;
}

.article-content table.striped tbody tr:nth-child(even):hover {
    background: rgba(var(--accent-rgb), 0.03);
}

.article-content table.striped tbody tr:last-child td {
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
}

.article-content table.compact th,
.article-content table.compact td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.article-content table.compact th {
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
}

.article-content table.compact td {
    border-bottom: 1px solid #e5e7eb;
}

.article-content table.compact tbody tr:last-child td {
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
}

.wp-block-pullquote {
    padding: 0px;
    margin-top: 2rem;
}

/* === IMAGENS === */
.article-content figure {
    text-align: center;
}

.article-content figure img {
    border-radius: 12px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.article-content figure img:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.06);
}

.article-content figcaption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
    padding: 0.75rem 1.5rem;
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
    font-style: italic;
    border-top: 1px solid rgba(var(--accent-rgb), 0.2);
    padding-top: 1rem;
}

/* Variações de imagens */
.article-content figure.bordered img {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.article-content figure.bordered img:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
}

.article-content figure.no-shadow img {
    box-shadow: none;
}

.article-content figure.no-shadow img:hover {
    transform: none;
}

/* === DARK MODE === */
/* Títulos */
.dark .article-content h1,
.dark .article-content h2,
.dark .article-content h3,
.dark .article-content h4,
.dark .article-content h5,
.dark .article-content h6 {
    color: #ffffff;
}

/* Parágrafos */
.dark .article-content p {
    color: #d1d5db;
}

/* Links */
@media (prefers-color-scheme: dark) {
    .article-content a {
        color: var(--accent-light);
        background: linear-gradient(120deg, transparent 0%, transparent 50%, rgba(var(--accent-rgb), 0.08) 50%);
    }

    .article-content a:hover {
        color: #f8fafc;
        background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0.08) 50%, transparent 100%);
    }

    .article-content a::before {
        background: linear-gradient(to bottom, var(--accent-light), #f8fafc);
    }
}

.dark .article-content a {
    color: var(--accent-light);
    background: linear-gradient(120deg, transparent 0%, transparent 50%, rgba(var(--accent-rgb), 0.08) 50%);
}

.dark .article-content a:hover {
    color: #f8fafc;
    background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0.08) 50%, transparent 100%);
}

.dark .article-content a::before {
    background: linear-gradient(to bottom, var(--accent-light), #f8fafc);
}

/* Blockquotes */
@media (prefers-color-scheme: dark) {
    .article-content blockquote:not(:has(cite)) {
        background:
            radial-gradient(circle at 0% 0%,
                rgba(var(--accent-rgb), 0.08) 0%,
                transparent 50%),
            radial-gradient(circle at 100% 100%,
                rgba(var(--accent-rgb), 0.05) 0%,
                transparent 50%);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .article-content blockquote:not(:has(cite)) p {
        color: #f0f0f0;
    }

    .article-content blockquote:not(:has(cite)):hover {
        border-color: rgba(var(--accent-rgb), 0.3);
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(var(--accent-rgb), 0.1);
    }

    .article-content blockquote:has(cite) {
        background:
            radial-gradient(circle at 0% 0%,
                rgba(var(--accent-rgb), 0.08) 0%,
                transparent 50%),
            radial-gradient(circle at 100% 100%,
                rgba(var(--accent-rgb), 0.05) 0%,
                transparent 50%);
        border: 1px solid rgba(245, 245, 245, 0.811);
    }

    .article-content blockquote:has(cite) p {
        color: #f0f0f0;
    }

    .article-content blockquote:has(cite) cite {
        color: #ffffff;
        background: rgba(var(--accent-rgb), 0.05);
        border-top: 1px solid rgba(245, 245, 245, 0.811);
    }

    .article-content blockquote:has(cite):hover {
        border-color: rgba(var(--accent-rgb), 0.3);
        box-shadow:
            0 10px 40px rgba(222, 222, 222, 0.861),
            0 0 0 1px rgba(var(--accent-rgb), 0.1);
    }

    .article-content blockquote:has(cite):hover cite {
        background: rgba(var(--accent-rgb), 0.1);
        color: #ccc;
    }
}

/* Listas */
.dark .article-content ul li,
.dark .article-content ol li {
    color: #ffffff;
}

.dark .article-content ul li:hover,
.dark .article-content ol li:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.dark .article-content ul.bordered {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.dark .article-content ul.bordered li {
    border-bottom-color: rgba(var(--accent-rgb), 0.2);
    color: #ffffff;
}

.dark .article-content ul.with-icons li {
    color: #ffffff;
}

.dark .article-content ul.with-icons li::before {
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--accent-light);
}

.dark .article-content ul.checklist li {
    color: #ffffff;
}

.dark .article-content ul.checklist li::before {
    background: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.dark .article-content ul.checklist li:hover::before {
    background: #4ade80;
    color: #1a1a1a;
}

.dark .article-content ol li {
    color: #ffffff;
}

.dark .article-content ol li:hover {
    color: #ffffff;
}

/* Tabelas */
.dark .article-content table {
    background: #1a1a1a;
}

.dark .article-content thead {
    border-bottom-color: rgba(var(--accent-rgb), 0.4);
}

.dark .article-content th {
    color: var(--accent-light);
    border-bottom-color: rgba(var(--accent-rgb), 0.4);
}

.dark .article-content td {
    color: #d1d5db;
    border-bottom-color: #374151;
}

.dark .article-content tbody tr:last-child td {
    border-bottom-color: rgba(var(--accent-rgb), 0.4);
}

.dark .article-content tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.dark .article-content table.striped tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.dark .article-content table.striped tbody tr:nth-child(even):hover {
    background: rgba(255, 255, 255, 0.04);
}

.dark .article-content table.striped tbody tr:last-child td {
    border-bottom-color: rgba(var(--accent-rgb), 0.4);
}

/* Imagens */
.dark .article-content figure img {
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.dark .article-content figure img:hover {
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3);
}

.dark .article-content figcaption {
    color: #9ca3af;
    border-top-color: rgba(var(--accent-rgb), 0.3);
}

.dark .article-content figure.bordered img {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .article-content figure.bordered img:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {

    /* Blockquotes */
    .article-content blockquote:not(:has(cite)),
    .article-content blockquote:has(cite) {
        margin: 2rem 1rem;
    }

    .article-content blockquote:not(:has(cite)) {
        padding: 2rem 1.5rem;
    }

    .article-content blockquote:not(:has(cite)) p,
    .article-content blockquote:has(cite) p {
        font-size: 1.1rem;
        text-align: left;
    }

    .article-content blockquote:has(cite)> :first-child {
        padding: 2rem 1.5rem 0.5rem 1.5rem;
    }

    .article-content blockquote:has(cite) cite {
        padding: 0.4rem 1.5rem;
    }

    /* Listas */
    .article-content ul {
        color: #090a25b3;
        border: 1px solid #ff56561a;
        border-radius: 15px;
        margin-bottom: 30px;
        padding: 30px 30px 22px 40px;
    }

    .article-content ul li,
    .article-content ol li {
        padding-left: 1.75rem;
        font-size: 0.95rem;
    }

    .article-content ol li {
        padding-left: 2.5rem;
    }

    .article-content ol li::before {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .article-content ul.bordered {
        padding: 1rem 1rem 1rem 1.75rem;
    }

    .article-content ul.with-icons li {
        padding-left: 2.25rem;
    }

    .dark .article-content ul li,
    .dark .article-content ol li {
        padding-left: 1.75rem;
    }

    /* Tabelas */
    .article-content table {
        font-size: 0.9rem;
    }

    .article-content th,
    .article-content td {
        padding: 0.75rem 1rem;
    }

    /* Imagens */
    .article-content figure {
        margin: 2rem 0;
    }

    .article-content figure img {
        border-radius: 10px;
    }

    .article-content figcaption {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 480px) {

    /* Blockquotes */
    .article-content blockquote:not(:has(cite)) {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .article-content blockquote:has(cite) {
        border-radius: 16px;
    }

    .article-content blockquote:not(:has(cite)) p,
    .article-content blockquote:has(cite) p {
        font-size: 1.05rem;
    }

    .article-content blockquote:has(cite)> :first-child {
        padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    }

    .article-content blockquote:has(cite) cite {
        padding: 0.4rem 1.5rem;
        font-size: 0.8rem;
    }

    /* Listas */
    .article-content ul,
    .article-content ol {
        margin: 1rem 0;
    }

    .article-content ul li,
    .article-content ol li {
        padding-left: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .article-content ol li {
        padding-left: 2.25rem;
    }

    .article-content ol li::before {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: 0.6rem;
    }

    .article-content ul li::before {
        top: 0.7rem;
        width: 6px;
        height: 6px;
    }

    .dark .article-content ul li,
    .dark .article-content ol li {
        padding-left: 1.5rem;
    }

    /* Tabelas */
    .article-content table {
        margin: 1.5rem 0;
    }

    .article-content th,
    .article-content td {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Imagens */
    .article-content figure {
        margin: 1.5rem 0;
    }

    .article-content figure img {
        border-radius: 8px;
    }

    .article-content figcaption {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
}


/* === EMBED YOUTUBE === */
.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
    margin: 2.5rem 0;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    display: block;
}

.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio:hover iframe {
    transform: translateY(-4px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Container de aspecto 16:9 */
.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 12px;
}

.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Efeito de brilho no hover */
.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(var(--accent-rgb), 0.1) 50%, 
        transparent 100%);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio:hover::before {
    opacity: 1;
}

/* === DARK MODE === */
.dark .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio iframe {
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio:hover iframe {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

.dark .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio::before {
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(var(--accent-rgb), 0.15) 50%, 
        transparent 100%);
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
        margin: 2rem 0;
    }
    
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio iframe {
        border-radius: 10px;
    }
    
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio .wp-block-embed__wrapper {
        border-radius: 10px;
    }
    
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio:hover iframe {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
        margin: 1.5rem 0;
    }
    
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio iframe {
        border-radius: 8px;
    }
    
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio .wp-block-embed__wrapper {
        border-radius: 8px;
    }
    
    .wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio::before {
        border-radius: 10px;
    }
}


