/*
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.5
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);
}

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-mobile-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .ebd360-nav-primary { display: none; }
    .ebd360-mobile-toggle { display: flex; }
    .ebd360-btn-premium { display: none; }
}

/* ==========================================================================
   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;
}

.ebd360-user-menu-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--ebd-white);
    padding: 6px 16px 6px 6px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.ebd360-user-menu-toggle:hover,
.ebd360-user-menu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.ebd360-user-menu-toggle svg {
    transition: transform 0.3s ease;
}

.ebd360-user-profile-menu:hover .ebd360-user-menu-toggle svg,
.ebd360-user-profile-menu.active .ebd360-user-menu-toggle svg {
    transform: rotate(180deg);
}

.ebd360-user-avatar {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border: 2px solid var(--ebd-accent);
}

.ebd360-user-name {
    font-weight: 600;
    font-size: 14px;
    display: none;
}

@media (min-width: 768px) {
    .ebd360-user-name {
        display: block;
    }
}

.ebd360-user-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--ebd-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 12px 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid #E2E8F0;
}

/* 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);
}

.ebd360-user-dropdown-menu li {
    margin: 0;
}

.ebd360-user-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    color: var(--ebd-secondary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ebd360-user-dropdown-menu li a:hover {
    background: #F1F5F9;
    color: var(--ebd-primary);
    padding-left: 28px;
}

/* ==========================================================================
   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;
    }
}
