/*
Theme Name: EBD 360 Theme
Theme URI: https://ebd360.com/theme
Author: EBD 360 Team
Author URI: https://ebd360.com
Description: Tema proprietário oficial para a Plataforma EBD 360. Funciona exclusivamente com o EBD 360 CMS Plugin.
Version: 1.0.99
Text Domain: ebd360-theme
*/

/* ==========================================================================
   VARIÁVEIS GLOBAIS (BASEADAS NO PRD)
   ========================================================================== */

:root {
    /* Paleta Oficial */
    --ebd-primary: #1A2634;
    --ebd-secondary: #2C3E50;
    --ebd-accent: #C5A059;
    --ebd-bg: #F8F9FA;
    --ebd-white: #FFFFFF;
    --ebd-success: #22C55E;
    --ebd-warning: #F59E0B;
    --ebd-danger: #EF4444;

    /* Tipografia */
    --font-heading: 'Merriweather', serif; /* Ou Playfair Display */
    --font-body: 'Inter', sans-serif; /* Ou Source Sans Pro */

    /* Layout & Spacing */
    --max-width: 1600px;
    --container-width: 1440px;
    --grid-gap: 24px;
    --radius: 8px;
    --radius-lg: 16px;

    /* Sombras Elevadas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Transições */
    --transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--ebd-bg);
    color: var(--ebd-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--ebd-primary);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--ebd-accent);
    text-decoration: none;
    transition: var(--transition);
}

.ebd360-svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    vertical-align: -0.125em;
}

a:hover {
    color: var(--ebd-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   SISTEMA DE GRID (12 COLUNAS)
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
}

/* Utilitários de grid para uso rápido */
.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-8 { grid-column: span 8; }

/* Responsividade Básica (Mobile First) */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr; /* Stack em mobile */
    }
    .col-6, .col-4, .col-3, .col-8 {
        grid-column: span 1;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .col-3 { grid-column: span 6; } /* Ex: 4 cards viram 2x2 no tablet */
}

/* ==========================================================================
   HEADER PREMIUM & MEGA MENU
   ========================================================================== */

.ebd360-header {
    background: var(--ebd-primary);
    color: var(--ebd-white);
    position: relative;
    z-index: 1000;
}

.ebd360-sticky-header {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow);
}

.ebd360-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.ebd360-logo a {
    display: block;
    max-height: 50px;
}
.ebd360-logo img {
    max-height: 50px;
    width: auto;
}
.ebd360-text-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--ebd-white);
}

/* Menu Principal */
.ebd360-nav-primary {
    display: flex;
    flex: 1;
    justify-content: center;
}

.ebd360-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.ebd360-menu > li > a {
    color: #CBD5E1;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 28px 0; /* Para alinhar com a altura do header */
}

.ebd360-menu > li > a:hover {
    color: var(--ebd-white);
}

.ebd360-menu .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

/* Mega Menu */
.ebd360-has-mega-menu {
    position: static !important; /* Para o mega menu ocupar a largura toda */
}

.ebd360-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--ebd-white);
    color: var(--ebd-secondary);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid #E2E8F0;
    padding: 40px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.ebd360-has-mega-menu:hover .ebd360-mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.ebd360-has-mega-menu:hover > a .dashicons {
    transform: rotate(180deg);
}

.ebd360-mega-col h4 {
    color: var(--ebd-primary);
    font-size: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--ebd-accent);
    padding-bottom: 8px;
    display: inline-block;
}

.ebd360-mega-col ul {
    list-style: none;
}

.ebd360-mega-col ul li {
    margin-bottom: 12px;
}

.ebd360-mega-col ul li a {
    color: #475569;
    font-size: 14px;
}

.ebd360-mega-col ul li a:hover {
    color: var(--ebd-accent);
    padding-left: 4px;
}

/* Header Actions */
.ebd360-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ebd360-btn-search, .ebd360-mobile-toggle {
    background: none;
    border: none;
    color: var(--ebd-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ebd360-btn-search:hover, .ebd360-mobile-toggle:hover {
    color: var(--ebd-accent);
}

.ebd360-btn-premium {
    background: var(--ebd-accent);
    color: var(--ebd-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

.ebd360-btn-premium:hover {
    background: var(--ebd-white);
    color: var(--ebd-primary);
}

.ebd360-header-access-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ebd360-access-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid rgba(26, 38, 52, 0.14);
    border-radius: 12px;
    background: #C5A059;
    color: #1A2634;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ebd360-access-toggle:hover,
.ebd360-access-toggle:focus-visible,
.ebd360-access-toggle[aria-expanded="true"] {
    background: #d5b46d;
    border-color: rgba(26, 38, 52, 0.20);
    color: #1A2634;
    transform: translateY(-1px);
    outline: none;
}

.ebd360-access-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.22);
}

.ebd360-access-toggle .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

.ebd360-access-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 180ms ease;
}

.ebd360-header-access-menu.active .ebd360-access-toggle svg {
    transform: rotate(180deg);
}

.ebd360-access-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    width: 280px;
    padding: 14px;
    border: 1px solid rgba(26, 38, 52, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.ebd360-header-access-menu.active .ebd360-access-dropdown,
.ebd360-access-dropdown:focus-within {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.ebd360-access-dropdown__header {
    display: grid;
    gap: 4px;
    padding: 4px 4px 12px;
}

.ebd360-access-dropdown__header strong {
    color: #1A2634;
    font-size: 15px;
    line-height: 1.25;
}

.ebd360-access-dropdown__header span {
    color: #64748B;
    font-size: 12.5px;
    line-height: 1.45;
}

.ebd360-access-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px;
    border-radius: 10px;
    color: #1A2634;
    text-decoration: none;
    transition: background-color 170ms ease, color 170ms ease;
}

.ebd360-access-dropdown a:hover,
.ebd360-access-dropdown a:focus-visible {
    background: rgba(197, 160, 89, 0.10);
    color: #1A2634;
    outline: none;
}

.ebd360-access-dropdown a > .dashicons {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #C5A059;
    font-size: 20px;
    line-height: 20px;
}

.ebd360-access-dropdown__primary {
    font-size: 14px;
    font-weight: 800;
}

.ebd360-access-dropdown__secondary > span:last-child {
    display: grid;
    gap: 2px;
}

.ebd360-access-dropdown__secondary strong {
    font-size: 14px;
    line-height: 1.25;
}

.ebd360-access-dropdown__secondary small {
    color: #64748B;
    font-size: 12px;
    line-height: 1.35;
}

.ebd360-access-dropdown__divider {
    display: block;
    height: 1px;
    margin: 8px 4px;
    background: #E2E8F0;
}

.ebd360-access-dropdown p {
    margin: 10px 4px 2px;
    color: #64748B;
    font-size: 12px;
    line-height: 1.45;
}

.ebd360-mobile-toggle {
    display: none;
}

.ebd360-mobile-submenu-toggle {
    display: none;
}

.ebd360-mobile-nav-footer {
    display: none;
}

@media (max-width: 1024px) {
    .ebd360-header.is-mobile-menu-open {
        position: fixed;
        top: var(--ebd360-mobile-header-top, 0);
        right: 0;
        left: 0;
        width: 100%;
        z-index: 1005;
        background: linear-gradient(180deg, #192a3c 0%, #162638 100%);
        box-shadow: 0 10px 28px rgba(2, 8, 23, 0.18);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .ebd360-header-inner {
        position: relative;
        z-index: 2;
    }

    .ebd360-nav-primary {
        position: fixed;
        z-index: 1001;
        top: var(--ebd360-mobile-menu-top, 74px);
        right: 0;
        bottom: 0;
        left: auto;
        display: flex;
        width: min(90vw, 410px);
        max-width: 100%;
        min-height: calc(100dvh - var(--ebd360-mobile-menu-top, 74px));
        max-height: none;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding:
            24px max(20px, env(safe-area-inset-right))
            max(24px, env(safe-area-inset-bottom))
            max(20px, env(safe-area-inset-left));
        border: 0;
        border-radius: 20px 0 0 0;
        background:
            radial-gradient(circle at 20% 0%, rgba(197, 160, 89, 0.06), transparent 30%),
            linear-gradient(180deg, #162638 0%, #102031 48%, #0d1a28 100%);
        box-shadow: -30px 0 68px rgba(2, 8, 23, 0.38);
        opacity: 0;
        visibility: hidden;
        transform: translateX(104%);
        pointer-events: none;
        transition:
            transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 220ms ease,
            visibility 260ms ease;
        scrollbar-width: thin;
        scrollbar-color: rgba(197, 160, 89, 0.42) transparent;
    }

    .ebd360-header.is-mobile-menu-open .ebd360-nav-primary {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }

    .ebd360-menu {
        flex: 0 0 auto;
        width: 100%;
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .ebd360-menu > li {
        position: relative;
        width: 100%;
        border: 0;
    }

    .ebd360-nav-primary .ebd360-menu > li > a {
        position: relative;
        min-height: 52px;
        width: 100%;
        justify-content: space-between;
        padding: 0 18px;
        border: 0;
        border-radius: 12px;
        color: #e7edf5;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.35;
        text-decoration: none;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .ebd360-menu > li > a:hover,
    .ebd360-menu > li > a:focus-visible,
    .ebd360-menu > li > a.is-current,
    .ebd360-menu > li > a.is-current-parent {
        background: rgba(255, 255, 255, 0.07);
        color: #f6dfaa;
    }

    .ebd360-menu > li > a:focus-visible {
        outline: 2px solid #d6b66b;
        outline-offset: -2px;
    }

    .ebd360-menu > li > a.is-current::before,
    .ebd360-menu > li > a.is-current-parent::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 5px;
        width: 3px;
        height: 20px;
        border-radius: 3px;
        background: #c5a059;
        transform: translateY(-50%);
    }

    .ebd360-has-mega-menu {
        position: relative !important;
        display: flex;
        flex-direction: column;
    }

    .ebd360-has-mega-menu > a {
        display: none !important;
    }

    .ebd360-has-mega-menu > a > .dashicons {
        display: none;
    }

    .ebd360-mobile-submenu-toggle {
        position: relative;
        z-index: 2;
        order: 1;
        top: auto;
        right: auto;
        width: 100%;
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        border: 0;
        border-radius: 13px;
        background: transparent;
        color: #e7edf5;
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.35;
        text-align: left;
        cursor: pointer;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .ebd360-mobile-submenu-toggle:hover,
    .ebd360-mobile-submenu-toggle:focus-visible,
    .ebd360-mobile-submenu-toggle[aria-expanded="true"],
    .ebd360-mobile-submenu-toggle.is-current,
    .ebd360-mobile-submenu-toggle.is-current-parent {
        background: rgba(255, 255, 255, 0.08);
        color: #f6dfaa;
    }

    .ebd360-mobile-submenu-toggle[aria-expanded="true"]::before,
    .ebd360-mobile-submenu-toggle.is-current::before,
    .ebd360-mobile-submenu-toggle.is-current-parent::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 5px;
        width: 3px;
        height: 20px;
        border-radius: 3px;
        background: #c5a059;
        transform: translateY(-50%);
    }

    .ebd360-mobile-submenu-toggle:focus-visible {
        outline: 2px solid #d6b66b;
        outline-offset: -2px;
    }

    .ebd360-mobile-submenu-toggle svg {
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        margin-left: 16px;
        transition: transform 200ms ease;
    }

    .ebd360-mobile-submenu-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .ebd360-mobile-submenu-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ebd360-mega-menu {
        display: none !important;
    }

    .ebd360-header-actions {
        gap: 8px;
    }

    .ebd360-mobile-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: flex;
        border: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.045);
    }

    .ebd360-mobile-toggle:hover,
    .ebd360-mobile-toggle:focus-visible,
    .ebd360-mobile-toggle[aria-expanded="true"] {
        background: rgba(197, 160, 89, 0.08);
        color: #f0d58f;
    }

    .ebd360-mobile-toggle:focus-visible {
        box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
    }

    .ebd360-mobile-toggle__line {
        transform-box: fill-box;
        transform-origin: center;
        transition: transform 0.24s ease, opacity 0.18s ease;
    }

    .ebd360-mobile-toggle[aria-expanded="true"] .ebd360-mobile-toggle__line--top {
        transform: translateY(6px) rotate(45deg);
    }

    .ebd360-mobile-toggle[aria-expanded="true"] .ebd360-mobile-toggle__line--middle {
        opacity: 0;
    }

    .ebd360-mobile-toggle[aria-expanded="true"] .ebd360-mobile-toggle__line--bottom {
        transform: translateY(-6px) rotate(-45deg);
    }

    .ebd360-btn-premium {
        display: none;
    }

    .ebd360-header-access-menu {
        display: none;
    }

    body.ebd360-mobile-menu-open {
        overflow: hidden;
        overscroll-behavior: none;
    }

    html.ebd360-mobile-menu-open {
        overflow: hidden;
    }

    .ebd360-mobile-menu-backdrop {
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(2, 8, 23, 0.66);
        opacity: 0;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        touch-action: none;
        transition: opacity 240ms ease;
    }

    .ebd360-mobile-menu-backdrop.is-visible {
        opacity: 1;
    }

    .ebd360-mobile-menu-backdrop[hidden] {
        display: none !important;
    }

    .ebd360-header.is-mobile-menu-open .ebd360-user-profile-menu:hover:not(.active) .ebd360-user-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.98);
    }

    .ebd360-header.is-mobile-menu-open .ebd360-user-menu-toggle {
        border-color: transparent;
        background: rgba(255, 255, 255, 0.035);
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .ebd360-header.is-mobile-menu-open .ebd360-user-menu-toggle:hover,
    .ebd360-header.is-mobile-menu-open .ebd360-user-menu-toggle:focus-visible {
        transform: none;
        border-color: rgba(197, 160, 89, 0.22);
        background: rgba(255, 255, 255, 0.065);
        box-shadow: none;
    }

    .ebd360-header.is-mobile-menu-open .ebd360-user-avatar-frame {
        border-color: rgba(197, 160, 89, 0.52);
        background: rgba(197, 160, 89, 0.07);
        box-shadow: none;
    }

    .ebd360-header.is-mobile-menu-open .ebd360-user-menu-chevron {
        border-color: transparent;
        background: transparent;
    }

    .ebd360-mobile-nav-footer {
        width: 100%;
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-top: auto;
        padding: 28px 4px 0;
    }

    .ebd360-mobile-nav-footer__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 6px;
    }

    .ebd360-mobile-nav-footer__actions a,
    .ebd360-mobile-nav-footer__privacy {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        border-radius: 10px;
        color: #cbd6e3;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .ebd360-mobile-nav-footer__actions a {
        padding: 0 14px;
        background: rgba(255, 255, 255, 0.045);
    }

    .ebd360-mobile-nav-footer__privacy {
        padding: 0 4px;
        color: #aebdcd;
        font-size: 12.5px;
    }

    .ebd360-mobile-nav-footer__actions a:hover,
    .ebd360-mobile-nav-footer__actions a:focus-visible,
    .ebd360-mobile-nav-footer__privacy:hover,
    .ebd360-mobile-nav-footer__privacy:focus-visible {
        background: rgba(255, 255, 255, 0.075);
        color: #f1d58e;
        outline: 2px solid #d6b66b;
        outline-offset: -2px;
    }

    .ebd360-mobile-nav-footer__brand {
        color: #75879b;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .ebd360-mobile-access {
        width: 100%;
        display: grid;
        gap: 8px;
        margin-bottom: 8px;
    }

    .ebd360-mobile-access__toggle {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 14px;
        border: 1px solid rgba(197, 160, 89, 0.28);
        border-radius: 12px;
        background: rgba(197, 160, 89, 0.14);
        color: #f2d48b;
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
    }

    .ebd360-mobile-access__toggle > span:not(.dashicons) {
        flex: 1;
        text-align: left;
    }

    .ebd360-mobile-access__toggle .dashicons {
        width: 18px;
        height: 18px;
        font-size: 18px;
        line-height: 18px;
    }

    .ebd360-mobile-access__toggle svg {
        width: 17px;
        height: 17px;
        transition: transform 180ms ease;
    }

    .ebd360-mobile-access__toggle[aria-expanded="true"],
    .ebd360-mobile-access__toggle:hover,
    .ebd360-mobile-access__toggle:focus-visible {
        border-color: rgba(197, 160, 89, 0.44);
        background: rgba(197, 160, 89, 0.20);
        color: #ffe3a1;
        outline: none;
    }

    .ebd360-mobile-access__toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .ebd360-mobile-access__panel {
        display: grid;
        gap: 6px;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.035);
    }

    .ebd360-mobile-access__panel[hidden] {
        display: none;
    }

    .ebd360-mobile-access__panel a {
        min-height: 44px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 12px;
        border-radius: 10px;
        color: #dbe6f1;
        font-size: 13.5px;
        font-weight: 700;
        text-decoration: none;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .ebd360-mobile-access__panel a:hover,
    .ebd360-mobile-access__panel a:focus-visible {
        background: rgba(255, 255, 255, 0.075);
        color: #f1d58e;
        outline: 2px solid #d6b66b;
        outline-offset: -2px;
    }

    .ebd360-mobile-access__panel .dashicons {
        width: 17px;
        height: 17px;
        color: #c5a059;
        font-size: 17px;
        line-height: 17px;
    }

    body.ebd360-mobile-menu-open .ebd360-privacy-manage {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(8px);
    }

    @media (prefers-reduced-motion: reduce) {
        .ebd360-nav-primary,
        .ebd360-mobile-menu-backdrop,
        .ebd360-mobile-toggle__line,
        .ebd360-mobile-submenu-toggle svg {
            transition-duration: 1ms !important;
        }
    }
}

@media (max-width: 480px) {
    .ebd360-header-actions {
        gap: 6px;
    }

    .ebd360-logo img {
        max-width: 148px;
    }

    .ebd360-mobile-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .ebd360-nav-primary {
        width: 92vw;
        padding-right: 18px;
        padding-left: 18px;
    }

    .ebd360-menu > li > a {
        padding-right: 16px;
        padding-left: 16px;
    }

    .ebd360-privacy-manage {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        font-size: 0 !important;
    }

    .ebd360-privacy-manage::before {
        content: 'LGPD';
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0;
    }
}

@media (max-width: 360px) {
    .ebd360-header-inner {
        gap: 8px;
    }

    .ebd360-logo {
        min-width: 0;
        flex: 1 1 auto;
    }

    .ebd360-logo img {
        max-width: 132px;
    }

    .ebd360-header-actions {
        flex: 0 0 auto;
    }

    .ebd360-nav-primary {
        width: 94vw;
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* ==========================================================================
   MODAL DE BUSCA GLOBAL
   ========================================================================== */

.ebd360-search-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 38, 52, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
}

.ebd360-search-overlay.active {
    visibility: visible;
    opacity: 1;
}

.ebd360-search-container {
    width: 100%;
    max-width: 800px;
    padding: 24px;
    position: relative;
    transform: translateY(-20px);
    transition: var(--transition);
}

.ebd360-search-overlay.active .ebd360-search-container {
    transform: translateY(0);
}

.ebd360-close-search {
    position: absolute;
    top: -40px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

.ebd360-search-form {
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 2px solid #CBD5E1;
    padding-bottom: 8px;
}

.ebd360-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    font-family: var(--font-heading);
    outline: none;
}

.ebd360-search-form input::placeholder {
    color: #64748B;
}

.ebd360-search-form button {
    background: none;
    border: none;
    color: var(--ebd-accent);
    cursor: pointer;
    padding: 8px;
}

.ebd360-search-form button svg {
    width: 32px;
    height: 32px;
}

.ebd360-search-suggestions {
    margin-top: 24px;
    color: #94A3B8;
    font-size: 14px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ebd360-search-suggestions a {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
}

.ebd360-search-suggestions a:hover {
    background: var(--ebd-accent);
    color: var(--ebd-primary);
}

/* ==========================================================================
   FOOTER PREMIUM
   ========================================================================== */

.ebd360-footer {
    background: #0F172A;
    color: #94A3B8;
    margin-top: 80px;
    position: relative;
}

/* Institutional Bar */
.ebd360-footer-stats {
    background: linear-gradient(90deg, var(--ebd-primary) 0%, #1E293B 100%);
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ebd360-fs-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.ebd360-fs-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #E2E8F0;
}
.ebd360-fs-item strong {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--ebd-accent);
    line-height: 1;
}
.ebd360-fs-item svg {
    color: var(--ebd-accent);
}
.ebd360-fs-item span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 140px;
    line-height: 1.3;
}

.ebd360-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    padding: 80px 24px 64px;
    gap: 40px;
}

.ebd360-footer h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.ebd360-footer-brand p {
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.7;
}

.ebd360-footer-logo {
    display: inline-block;
}
.ebd360-footer-logo img {
    max-height: 48px;
}
.ebd360-footer-logo h2 {
    color: white;
    margin: 0;
    font-size: 28px;
}

.ebd360-footer-social h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ebd360-social-links {
    display: flex;
    gap: 12px;
}
.ebd360-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}
.ebd360-social-links a:hover {
    background: var(--ebd-accent);
    color: var(--ebd-primary);
    transform: translateY(-4px);
}

.ebd360-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ebd360-footer-links li {
    margin-bottom: 16px;
}
.ebd360-footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}
.ebd360-footer-links a:hover {
    color: var(--ebd-accent);
}

.ebd360-footer-newsletter p {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.ebd360-nl-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.ebd360-nl-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #E2E8F0;
    font-size: 14px;
}
.ebd360-nl-features svg {
    color: var(--ebd-accent);
}
.ebd360-newsletter-form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
}
.ebd360-newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 14px;
}
.ebd360-newsletter-form input::placeholder {
    color: #64748B;
}
.ebd360-newsletter-form button {
    padding: 12px 24px;
    background: var(--ebd-accent);
    color: var(--ebd-primary);
    border: none;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ebd360-newsletter-form button:hover {
    background: #d4b271;
}

.ebd360-footer-bottom {
    background: #0B1120;
    padding: 24px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ebd360-fb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.ebd360-fb-inner p {
    margin: 0;
}
.ebd360-footer-legal {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ebd360-footer-legal a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.ebd360-footer-legal a:hover {
    color: var(--ebd-accent);
}

@media (max-width: 1024px) {
    .ebd360-fs-grid { grid-template-columns: repeat(2, 1fr); justify-content: center; }
    .ebd360-footer-top { grid-template-columns: repeat(2, 1fr); }
    .ebd360-fb-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .ebd360-fs-grid { grid-template-columns: 1fr; text-align: center; }
    .ebd360-fs-item { justify-content: center; }
    .ebd360-footer-top { grid-template-columns: 1fr; text-align: center; }
    .ebd360-social-links { justify-content: center; }
    .ebd360-nl-features li { justify-content: center; }
    .ebd360-newsletter-form { flex-direction: column; border-radius: 16px; background: transparent; border: none; padding: 0; gap: 12px; }
    .ebd360-newsletter-form input { background: rgba(255, 255, 255, 0.05); border-radius: 100px; border: 1px solid rgba(255,255,255,0.1); text-align: center; }
    .ebd360-footer-legal { flex-direction: column; gap: 16px; justify-content: center; align-items: center; }
}

/* ==========================================================================
   USER PROFILE MENU
   ========================================================================== */

.ebd360-user-profile-menu {
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: visible;
}

.ebd360-user-menu-toggle {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 52px;
    padding: 5px 8px 5px 6px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    background: rgba(9, 18, 31, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 24px rgba(2, 8, 23, 0.16);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--ebd-white);
    font: inherit;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(16px) saturate(130%);
}

.ebd360-user-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    right: 14px;
    left: 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    pointer-events: none;
}

.ebd360-user-menu-toggle:hover,
.ebd360-user-menu-toggle[aria-expanded="true"] {
    transform: translateY(-1px);
    background: rgba(17, 30, 48, 0.92);
    border-color: rgba(197, 160, 89, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 12px 30px rgba(2, 8, 23, 0.24),
        0 0 0 3px rgba(197, 160, 89, 0.08);
}

.ebd360-user-menu-toggle:focus-visible {
    outline: 2px solid #e4c57c;
    outline-offset: 3px;
}

.ebd360-user-avatar-frame {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 1px solid rgba(224, 190, 111, 0.78);
    border-radius: 12px;
    background: rgba(197, 160, 89, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ebd360-user-avatar {
    display: block;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    object-fit: cover;
    background: #0f172a;
    box-shadow: 0 4px 12px rgba(2, 8, 23, 0.28);
}

.ebd360-user-presence {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 10px;
    height: 10px;
    border: 2px solid #101d2e;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.10);
}

.ebd360-user-identity {
    position: relative;
    z-index: 1;
    display: none;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.ebd360-user-name {
    max-width: 120px;
    overflow: hidden;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
    white-space: nowrap;
}

.ebd360-user-role {
    color: #d8b96f;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .ebd360-user-identity {
        display: flex;
    }
}

.ebd360-user-menu-divider {
    display: none;
    width: 1px;
    height: 26px;
    background: rgba(148, 163, 184, 0.20);
}

@media (min-width: 768px) {
    .ebd360-user-menu-divider {
        display: block;
    }
}

.ebd360-user-menu-chevron {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: #cbd5e1;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ebd360-user-menu-chevron svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.ebd360-user-menu-toggle:hover .ebd360-user-menu-chevron,
.ebd360-user-menu-toggle[aria-expanded="true"] .ebd360-user-menu-chevron {
    border-color: rgba(197, 160, 89, 0.40);
    background: rgba(197, 160, 89, 0.10);
    color: #f3d792;
}

.ebd360-user-profile-menu:hover .ebd360-user-menu-chevron svg,
.ebd360-user-profile-menu.active .ebd360-user-menu-chevron svg {
    transform: rotate(180deg);
}

.ebd360-user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(320px, calc(100vw - 32px));
    min-width: 292px;
    padding: 10px;
    margin: 14px 0 0;
    border: 1px solid rgba(197, 160, 89, 0.20);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
    box-shadow:
        0 24px 56px rgba(2, 8, 23, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.985);
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    backdrop-filter: blur(18px) saturate(140%);
}

.ebd360-user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 22px;
    width: 10px;
    height: 10px;
    border-top: 1px solid rgba(197, 160, 89, 0.24);
    border-left: 1px solid rgba(197, 160, 89, 0.24);
    background: #fff;
    transform: rotate(45deg);
}

/* Invisible bridge for hover stability */
.ebd360-user-profile-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    height: 20px;
    width: 100%;
    background: transparent;
}

.ebd360-user-profile-menu:hover .ebd360-user-dropdown-menu,
.ebd360-user-profile-menu.active .ebd360-user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ebd360-user-dropdown-menu li {
    margin: 0;
}

.ebd360-user-dropdown__header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 8px 8px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
}

.ebd360-user-dropdown__avatar {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.36);
    border-radius: 14px;
    background: rgba(197, 160, 89, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.ebd360-user-dropdown__avatar img,
.ebd360-user-dropdown__avatar .avatar {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    object-fit: cover;
}

.ebd360-user-dropdown__header > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ebd360-user-dropdown__header strong {
    overflow: hidden;
    color: #172233;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ebd360-user-dropdown__header small {
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ebd360-user-dropdown__header em {
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.16);
    color: #7a5b1f;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ebd360-user-dropdown__primary {
    margin-bottom: 8px;
}

.ebd360-user-dropdown__primary a {
    min-height: 46px;
    justify-content: space-between;
    border-radius: 10px;
    background: #1a2634;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(26, 38, 52, 0.18);
}

.ebd360-user-dropdown__primary a:hover,
.ebd360-user-dropdown__primary a:focus-visible {
    background: #223348 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ebd360-user-dropdown__primary .dashicons {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 18px;
}

.ebd360-user-dropdown__section-label {
    padding: 10px 10px 5px;
    color: #8390a1;
    font-size: 10.5px;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.ebd360-user-dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 10px;
    color: #263548;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ebd360-user-dropdown-menu li a:hover,
.ebd360-user-dropdown-menu li a:focus-visible {
    background: rgba(197, 160, 89, 0.12);
    color: var(--ebd-primary);
    transform: translateX(2px);
    outline: none;
}

.ebd360-user-dropdown__area a {
    color: #34465c;
}

.ebd360-user-dropdown__area.is-active a {
    background: rgba(197, 160, 89, 0.12);
    color: #1a2634;
}

.ebd360-user-dropdown__area .dashicons {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(197, 160, 89, 0.20);
    color: #7a5b1f;
    font-size: 15px;
    line-height: 17px;
}

.ebd360-user-dropdown__logout {
    margin-top: 8px !important;
    padding-top: 8px;
    border-top: 1px solid rgba(226, 232, 240, 0.88);
}

.ebd360-user-dropdown__logout a {
    color: #b42318 !important;
}

.ebd360-user-dropdown__logout a:hover,
.ebd360-user-dropdown__logout a:focus-visible {
    background: rgba(180, 35, 24, 0.08) !important;
    color: #8f1d14 !important;
}

@media (max-width: 767px) {
    .ebd360-user-menu-toggle {
        min-height: 48px;
        padding: 4px 5px;
        gap: 6px;
    }

    .ebd360-user-avatar-frame {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .ebd360-user-avatar {
        width: 30px;
        height: 30px;
    }

    .ebd360-user-menu-chevron {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }
}

/* ==========================================================================
   AUTHOR PROFILE PAGE (author.php)
   ========================================================================== */
/* ====================================================
   AUTHOR PUBLIC PAGE — PREMIUM STYLES
   ==================================================== */

.ebd360-author-page {
    background: #F0F4FA;
    min-height: 100vh;
}

/* â”€â”€â”€ HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-author-hero {
    position: relative;
    background: #080E1A;
    padding: 64px 0 56px;
    color: #fff;
    overflow: hidden;
}
.ebd360-author-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 80% 20%, rgba(197,160,89,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at -10% 100%, rgba(59,130,246,0.08) 0%, transparent 50%),
        linear-gradient(160deg, #0B1522 0%, #0D1A2D 100%);
    z-index: 1;
}
/* Decorative dots grid */
.ebd360-author-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
}
.ebd360-author-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    z-index: 2;
}
.ebd360-author-hero__profile {
    display: flex;
    align-items: center;
    gap: 32px;
}
.ebd360-author-hero__avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}
.ebd360-author-hero__avatar {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 3px solid rgba(197,160,89,0.5);
    box-shadow: 0 0 0 6px rgba(197,160,89,0.08), 0 16px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ebd360-author-hero__avatar:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 8px rgba(197,160,89,0.15), 0 20px 50px rgba(0,0,0,0.5);
}
.ebd360-author-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Verified badge */
.ebd360-author-hero__avatar-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: linear-gradient(135deg, #C5A059, #E8C47A);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(197,160,89,0.4);
    box-shadow: 0 4px 12px rgba(197,160,89,0.5), 0 0 0 3px rgba(197,160,89,0.15);
    animation: ebdBadgePulse 3s ease-in-out infinite;
}
@keyframes ebdBadgePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(197,160,89,0.5); }
    50% { box-shadow: 0 4px 20px rgba(197,160,89,0.8); }
}
.ebd360-author-hero__avatar-badge .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}
.ebd360-author-hero__info {
    flex: 1;
}
.ebd360-hero-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
}
.ebd360-hero-role-badge:hover {
    background: rgba(255,255,255,0.12);
}
.ebd360-author-hero__name {
    font-size: 36px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.ebd360-author-hero__bio {
    font-size: 14px;
    color: #94a3b8;
    margin: 10px 0 20px 0;
    line-height: 1.7;
}
.ebd360-author-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
}
.ebd360-author-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.ebd360-author-hero__meta span:hover {
    color: #94a3b8;
}

/* Hero Stats Card */
.ebd360-author-hero__stats-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(16px);
}
.stats-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.stats-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 14px 16px;
    border-radius: 14px;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.stats-card-item:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}
.stats-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stats-card-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.stats-card-data {
    display: flex;
    flex-direction: column;
}
.stats-number {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.stats-label {
    font-size: 9px;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* â”€â”€â”€ TABS NAVIGATION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-author-nav {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.ebd360-author-tabs {
    display: flex;
    gap: 32px;
}
.ebd360-author-tab-btn {
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease;
    letter-spacing: 0.3px;
}
.ebd360-author-tab-btn:hover { color: var(--ebd-primary); }
.ebd360-author-tab-btn.active { color: var(--ebd-primary); }
.ebd360-author-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ebd-accent), #E8C47A);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ebd360-author-tab-btn.active::after { transform: scaleX(1); }

/* â”€â”€â”€ TWO-COLUMN GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-author-content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    padding: 36px 24px;
}
.ebd360-author-main {
    min-width: 0;
}
.ebd360-author-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}
.ebd360-author-tab-pane {
    display: none;
    animation: ebdFadeIn 0.35s ease forwards;
}
.ebd360-author-tab-pane.active { display: block; }

/* â”€â”€â”€ CARDS BASE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-author-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.025), 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ebd360-author-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}
.ebd360-author-card .card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ebd-primary);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.2px;
}
/* Icon box in card titles */
.ebd360-author-card .card-title .card-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
}
.ebd360-author-card .card-title .card-title-icon .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

/* â”€â”€â”€ CARD "SOBRE" — INFO ROWS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-about-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ebd360-about-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}
.ebd360-about-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ebd360-about-info-row:first-child {
    padding-top: 0;
}
.ebd360-about-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.ebd360-about-info-row:hover .ebd360-about-icon-box {
    transform: scale(1.1);
}
.ebd360-about-icon-box .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}
.ebd360-about-info-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.ebd360-about-info-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ebd360-about-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--ebd-primary);
    line-height: 1.4;
}

/* Social row */
.ebd360-author-social-row {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}
.ebd360-author-social-row .social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #F1F5F9;
    color: #64748b;
    font-size: 16px;
    border: 1px solid #E8EDF5;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}
.ebd360-author-social-row .social-icon-btn:hover {
    background: var(--ebd-accent);
    color: #fff;
    border-color: var(--ebd-accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 14px rgba(197,160,89,0.35);
}
.ebd360-author-social-row .social-icon-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Biography card */
.ebd360-author-bio-content {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

/* Verse card */
.ebd360-author-verse {
    font-size: 15px;
    font-style: italic;
    color: var(--ebd-primary);
    border-left: 3px solid var(--ebd-accent);
    padding: 12px 18px;
    line-height: 1.7;
    font-family: Georgia, serif;
    background: linear-gradient(90deg, rgba(197,160,89,0.04) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
    margin: 0;
}

/* â”€â”€â”€ FEATURED CARDS GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-featured-section {
    margin-top: 36px;
    margin-bottom: 36px;
}
.ebd360-featured-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f4fa;
}
.ebd360-featured-section-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ebd-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ebd360-featured-section-header h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #C5A059, #E8C47A);
    border-radius: 2px;
}
.ebd360-featured-view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--ebd-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s, color 0.2s;
}
.ebd360-featured-view-all:hover {
    gap: 8px;
    color: #A08040;
}

/* Featured post cards */
.ebd360-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ebd-card--licao {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.ebd-card--licao:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.ebd-card--licao .ebd-card__thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}
.ebd-card--licao .ebd-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ebd-card--licao:hover .ebd-card__thumb img {
    transform: scale(1.07);
}
.ebd-card__body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* â”€â”€â”€ SIDEBAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-author-sidebar .ebd360-author-card {
    margin-bottom: 0;
}

/* Sidebar metrics list */
.ebd360-sidebar-metrics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ebd360-sidebar-metrics-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}
.ebd360-sidebar-metrics-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ebd360-sidebar-metrics-list li:first-child {
    padding-top: 0;
}
.ebd360-sidebar-metrics-list .metric-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ebd360-sidebar-metrics-list .metric-label .metric-icon-box {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ebd360-sidebar-metrics-list .metric-label .metric-icon-box .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}
.ebd360-sidebar-metrics-list .metric-value {
    font-size: 13px;
    color: var(--ebd-primary);
    font-weight: 700;
}

/* Sidebar progress bars */
.ebd360-sidebar-progress-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}
.ebd360-sidebar-progress-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ebd360-sidebar-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ebd360-sidebar-progress-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}
.ebd360-sidebar-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.ebd360-sidebar-progress-pct {
    font-size: 12px;
    font-weight: 700;
    color: var(--ebd-primary);
}
.ebd360-sidebar-progress-bar-track {
    background: #F1F5F9;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}
.ebd360-sidebar-progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

/* â”€â”€â”€ LATEST CONTENT ITEMS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ebd360-sidebar-latest-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ebd360-sidebar-latest-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 14px 0;
    border-bottom: 1px solid #f8fafc;
    transition: transform 0.25s ease;
    align-items: center;
}
.ebd360-sidebar-latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ebd360-sidebar-latest-item:first-child {
    padding-top: 0;
}
.ebd360-sidebar-latest-item:hover {
    transform: translateX(4px);
}
.ebd360-sidebar-latest-item:hover .latest-item-img img {
    transform: scale(1.08);
}
.latest-item-img {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1A2634, #0F1825);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.latest-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.latest-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
.latest-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ebd-primary);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.latest-item-meta {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty state */
.ebd360-author-empty-state {
    text-align: center;
    padding: 32px 0;
    color: #94a3b8;
}

/* Publications grid */
.ebd360-author-pubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    margin-top: 12px;
}
.ebd360-author-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.ebd360-author-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--ebd-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.ebd360-author-pagination .page-numbers:hover { background: #e2e8f0; }
.ebd360-author-pagination .page-numbers.current { background: var(--ebd-accent); color: #fff; }
.ebd360-author-pagination .prev, .ebd360-author-pagination .next { width: auto; padding: 0 16px; }

/* Stat cards hover */
.ebd360-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06) !important;
    border-color: var(--card-color) !important;
}

/* â”€â”€â”€ KEYFRAMES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes ebdFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* â”€â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1100px) {
    .ebd360-author-content-area {
        grid-template-columns: 1fr;
    }
    .ebd360-author-sidebar {
        position: static;
        width: 100%;
    }
}
@media (max-width: 900px) {
    .ebd360-author-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ebd360-author-row-3-cards {
        grid-template-columns: 1fr !important;
    }
    .ebd360-featured-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .ebd360-author-hero {
        padding: 40px 0;
    }
    .ebd360-author-hero__profile {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .ebd360-author-hero__meta {
        justify-content: center;
    }
    .ebd360-author-tabs {
        gap: 16px;
        overflow-x: auto;
    }
    .ebd360-author-tab-btn {
        padding: 16px 0;
        font-size: 13px;
        white-space: nowrap;
    }
    .ebd360-cards-row {
        grid-template-columns: 1fr !important;
    }
    .ebd360-stats-dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    .ebd360-featured-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   ESTILOS DE BREADCRUMBS NATIVOS (INTEGRAÇÁO VISUAL)
   ========================================================================== */
.ebd-breadcrumbs-nav {
    margin-bottom: 16px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ebd-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.ebd-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    padding: 14px 0;
    border-bottom: 1px solid #f8fafc;
    transition: transform 0.25s ease;
    align-items: center;
}
.ebd360-sidebar-latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ebd360-sidebar-latest-item:first-child {
    padding-top: 0;
}
.ebd360-sidebar-latest-item:hover {
    transform: translateX(4px);
}
.ebd360-sidebar-latest-item:hover .latest-item-img img {
    transform: scale(1.08);
}
.latest-item-img {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1A2634, #0F1825);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.latest-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.latest-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
.latest-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ebd-primary);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.latest-item-meta {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty state */
.ebd360-author-empty-state {
    text-align: center;
    padding: 32px 0;
    color: #94a3b8;
}

/* Publications grid */
.ebd360-author-pubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    margin-top: 12px;
}
.ebd360-author-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.ebd360-author-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--ebd-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.ebd360-author-pagination .page-numbers:hover { background: #e2e8f0; }
.ebd360-author-pagination .page-numbers.current { background: var(--ebd-accent); color: #fff; }
.ebd360-author-pagination .prev, .ebd360-author-pagination .next { width: auto; padding: 0 16px; }

/* Stat cards hover */
.ebd360-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06) !important;
    border-color: var(--card-color) !important;
}

/* —————————————————————————————————— KEYFRAMES —————————————————————————————— */
@keyframes ebdFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ———————————————————————————————— RESPONSIVE —————————————————————————————— */
@media (max-width: 1100px) {
    .ebd360-author-content-area {
        grid-template-columns: 1fr;
    }
    .ebd360-author-sidebar {
        position: static;
        width: 100%;
    }
}
@media (max-width: 900px) {
    .ebd360-author-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ebd360-author-row-3-cards {
        grid-template-columns: 1fr !important;
    }
    .ebd360-featured-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .ebd360-author-hero {
        padding: 40px 0;
    }
    .ebd360-author-hero__profile {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .ebd360-author-hero__meta {
        justify-content: center;
    }
    .ebd360-author-tabs {
        gap: 16px;
        overflow-x: auto;
    }
    .ebd360-author-tab-btn {
        padding: 16px 0;
        font-size: 13px;
        white-space: nowrap;
    }
    .ebd360-cards-row {
        grid-template-columns: 1fr !important;
    }
    .ebd360-stats-dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    .ebd360-featured-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   ESTILOS DE BREADCRUMBS NATIVOS (INTEGRAÇÁO VISUAL)
   ========================================================================== */
.ebd-breadcrumbs-nav {
    margin-bottom: 16px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ebd-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.ebd-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ebd-breadcrumbs__item a {
    color: #c5a059 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ebd-breadcrumbs__item a:hover {
    color: #e4c27a !important;
    text-decoration: underline !important;
}

.ebd-breadcrumbs__sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 400;
}

.ebd-breadcrumbs__current {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Ajustes no Hero de Busca */
.ebd-search-hero .ebd-breadcrumbs-nav {
    margin-bottom: 24px;
}
