/* ============================================
   QueroHome CMS — Frontend CSS v1.0
   Color palette: Navy/Blue/Teal job board theme
   ============================================ */

:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a8e;
    --primary-dark: #0f2440;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-hover: #2563eb;
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --white: #ffffff;
    --bg: #f1f5f9;
    --bg-alt: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.2s ease;
    --max-width: 1200px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo img { height: 38px; width: auto; }
.site-logo .logo-text { font-size: 22px; font-weight: 800; color: var(--primary); }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-search { font-size: 18px !important; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 14px 20px; border-bottom: 1px solid var(--border-light); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.hero h1 { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 24px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (max-width: 768px) {
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 15px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* Non-hero outline */
.section .btn-outline, .post-single .btn-outline, .pagination .btn-outline { color: var(--accent); border-color: var(--accent); }
.section .btn-outline:hover, .post-single .btn-outline:hover, .pagination .btn-outline:hover { background: var(--accent); color: var(--white); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 50px 0; }
.section-title { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.section-subtitle { color: var(--text-light); margin-bottom: 24px; font-size: 15px; }
.section-count { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ============================================
   POST CARDS GRID
   ============================================ */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.posts-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--accent-light); }

.card-image { aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .card-image img { transform: scale(1.05); }

.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.card-badge {
    background: var(--accent);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-badge:hover { background: var(--accent-hover); color: var(--white); }
.card-location { font-size: 12px; color: var(--teal); font-weight: 600; }
.card-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; color: var(--text); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent); }
.card-company { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.card-excerpt { font-size: 13px; color: var(--text-light); line-height: 1.5; flex: 1; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.card-footer time { font-size: 12px; color: var(--text-muted); }
.card-link { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
    color: var(--text);
}
.category-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--accent); }
.category-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.category-count { font-size: 13px; color: var(--text-muted); }

/* ============================================
   ARCHIVE FILTERS
   ============================================ */
.archive-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ============================================
   SINGLE POST
   ============================================ */
.post-single { padding: 30px 0 50px; background: var(--bg); }
.post-single .container { max-width: 800px; }

.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .current { color: var(--text); }

.post-header { margin-bottom: 24px; }
.post-meta-top { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.post-category-badge { background: var(--accent); color: var(--white); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.post-location-badge { background: var(--teal); color: var(--white); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.post-header h1 { font-size: 32px; font-weight: 800; line-height: 1.2; color: var(--primary); margin-bottom: 12px; }
.post-meta { font-size: 13px; color: var(--text-light); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.meta-sep { color: var(--border); }

.post-featured-image { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.post-featured-image img { width: 100%; border-radius: var(--radius); }

/* CTA button animation — subtle pulse glow effect */
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 4px 20px rgba(44,90,160,0.4); }
}
.post-content a[target="_blank"][rel*="nofollow"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-content a[target="_blank"][rel*="nofollow"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,90,160,0.35) !important;
}
.post-content div[style*="e8f4fd"] a[target="_blank"]:first-of-type {
    animation: ctaPulse 2.5s ease-in-out infinite;
}
.post-content div[style*="e8f4fd"] a[target="_blank"]:first-of-type:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(44,90,160,0.45) !important;
}

/* Subtle pulse effect for CTA apply buttons inside post content */
.post-content a[href*="gupy.io"],
.post-content a[rel*="nofollow"][target="_blank"][style*="background-color:rgb(44"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: cta-pulse 2.5s ease-in-out infinite;
}
.post-content a[href*="gupy.io"]:hover,
.post-content a[rel*="nofollow"][target="_blank"][style*="background-color:rgb(44"]:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(44,90,160,0.4) !important;
}
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 4px 15px rgba(44,90,160,0.35); }
}

/* White card wrapping the entire post */
.post-card-wrapper {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
@media (max-width: 768px) {
    .post-card-wrapper { padding: 20px 16px; }
}

.post-content { line-height: 1.7; color: var(--text); font-size: 16px; }
.post-content h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--border-light); }
.post-content h2:first-child { margin-top: 0; }
.post-content h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin: 20px 0 8px; }
.post-content p { margin: 0 0 12px 0; font-size: 16px; line-height: 1.7; }
.post-content ul, .post-content ol { margin: 8px 0 12px 0; padding-left: 28px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 6px; font-size: 16px; line-height: 1.7; }
.post-content li p { margin: 0 0 4px 0; }
.post-content li ul, .post-content li ol { margin: 4px 0; }
.post-content br + br { display: none; }
.post-content a { color: var(--accent); text-decoration: underline; }
.post-content a:hover { color: var(--accent-hover); }
.post-content img { border-radius: var(--radius-sm); margin: 12px 0; }
.post-content blockquote { border-left: 4px solid var(--accent); padding: 12px 16px; margin: 16px 0; background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-light); }
.post-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.post-content th, .post-content td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; font-size: 14px; }
.post-content th { background: var(--bg-alt); font-weight: 700; }
.post-content figure { margin: 16px 0; text-align: center; }
.post-content figcaption { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.post-content hr { border: 0; border-top: 2px solid var(--border-light); margin: 24px 0; }
.post-content div[style*="background"] { margin-bottom: 20px; }
.post-content div[style*="background"] p { margin-bottom: 6px; }
/* Force normalize imported Gupy content inline styles */
.post-content span[style], .post-content p[style], .post-content li[style] { font-size: inherit !important; line-height: inherit !important; margin: inherit !important; }
.post-content span[style*="font-size"] { font-size: 16px !important; }

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    margin: 32px 0;
}
.cta-box h3 { font-size: 20px; margin-bottom: 8px; }
.cta-box p { opacity: 0.9; margin-bottom: 16px; font-size: 15px; }
.cta-box .btn-primary { background: var(--accent); }
.cta-box .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* Ad containers */
.ad-container { text-align: center; margin: 20px 0; padding: 8px 0; }
.ad-container.ad-top { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 12px 0; }

/* ============================================
   RELATED SECTION
   ============================================ */
.related-section { background: var(--bg-alt); border-top: 1px solid var(--border); }

/* ============================================
   SEARCH FORM
   ============================================ */
.search-form { display: flex; gap: 12px; max-width: 600px; margin: 0 auto 24px; }
.search-form input { flex: 1; padding: 14px 20px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 16px; transition: border-color var(--transition); }
.search-form input:focus { outline: none; border-color: var(--accent); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.pagination-info { font-size: 14px; color: var(--text-light); }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state p { margin-bottom: 16px; }

/* ============================================
   CONTENT PAGE (static)
   ============================================ */
.content-page { max-width: 800px; }
.content-page h1 { font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.content-page h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 28px 0 10px; }
.content-page h3 { font-size: 17px; font-weight: 700; margin: 20px 0 8px; }
.content-page p { margin-bottom: 14px; line-height: 1.7; }
.content-page a { color: var(--accent); text-decoration: underline; }
.content-page ul, .content-page ol { margin: 12px 0; padding-left: 24px; }
.content-page ul { list-style: disc; }
.content-page li { margin-bottom: 6px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 50px 0 0; margin-top: 40px; }
.footer-grid { display: flex; flex-direction: row; gap: 40px; align-items: flex-start; }
.footer-col { flex: 1 1 0; min-width: 0; overflow: hidden; }
.footer-about { flex: 0 0 180px; width: 180px; max-width: 180px; overflow: hidden; }
.footer-col h3 { color: var(--white); font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.footer-col p { font-size: 14px; line-height: 1.6; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
    .post-header h1 { font-size: 24px; }
    .posts-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .search-form { flex-direction: column; }
}

/* ============================================
   NAV DROPDOWN
   ============================================ */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger .arrow { font-size: 10px; transition: transform 0.2s; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px 0;
    z-index: 1000;
    margin-top: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown:hover .arrow { transform: rotate(180deg); }
.nav-dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text) !important;
    font-size: 13px !important;
    border-bottom: none !important;
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--accent) !important; }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--bg-alt);
        margin-top: 0;
        border-radius: 0;
    }
    .nav-dropdown-menu a { padding-left: 32px; }
}

/* ============================================
   FOOTER — Social icons, logo, legal
   ============================================ */
.footer-logo-wrap { margin-bottom: 14px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand:hover { opacity: 0.85; }
.footer-brand-icon { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; flex-shrink: 0; background: rgba(255,255,255,0.08); padding: 4px; }
.footer-brand-name { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.3px; line-height: 1.2; }
.footer-logo-text { display: block; font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: -0.3px; }
.footer-about p { font-size: 13px; line-height: 1.6; opacity: 0.8; margin-top: 14px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.footer-social a { color: rgba(255,255,255,0.6); transition: color 0.2s; display: inline-flex; align-items: center; }
.footer-social a:hover { color: var(--white); }
.fc { color: rgba(255,255,255,0.35); font-size: 12px; }
.ls { color: rgba(255,255,255,0.15); }
.footer-bottom { border-top: none; margin-top: 0; padding: 16px 0 20px; }

@media (max-width: 900px) {
    .footer-grid { flex-wrap: wrap; }
    .footer-about { flex: 0 0 100%; width: 100%; max-width: 100%; }
    .footer-col { flex: 1 1 140px; }
}
@media (max-width: 520px) {
    .footer-col { flex: 1 1 100%; }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form { max-width: 700px; margin-top: 24px; }
.form-row-contact { display: flex; gap: 16px; }
.form-group-contact { margin-bottom: 16px; flex: 1; }
.form-group-contact label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group-contact input,
.form-group-contact textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    transition: border-color 0.2s;
    background: var(--white);
}
.form-group-contact input:focus,
.form-group-contact textarea:focus { outline: none; border-color: var(--accent); }

.contact-flash {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}
.contact-flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.contact-flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

@media (max-width: 600px) {
    .form-row-contact { flex-direction: column; gap: 0; }
}

/* ============================================
   POST TAGS
   ============================================ */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    transition: all var(--transition);
}
.post-tag:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* Footer v3 */
.footer-count { color: rgba(255,255,255,0.35); font-size: 12px; }

/* ============================================
   SHARE BUTTONS (post page)
   ============================================ */
.post-share {
    margin: 28px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--border);
}
.post-share-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.post-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1;
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn:active { transform: translateY(0); }
.share-btn-whatsapp { background: #25D366; color: #fff; }
.share-btn-linkedin { background: #0A66C2; color: #fff; }
.share-btn-telegram { background: #229ED9; color: #fff; }
.share-btn-email    { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
.share-btn-copy     { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
@media (max-width: 480px) {
    .share-btn span { display: none; }
    .share-btn { padding: 10px 12px; }
}

/* Share buttons — posição topo (antes da imagem) */
.post-share-top {
    margin: 0 0 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.post-share-bottom {
    margin: 28px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--border);
}

/* ============================================
   AUTOR — card e post
   ============================================ */
.card-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
}
.card-author:hover { color: var(--accent); }
.card-author-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border);
    flex-shrink: 0;
}
.post-author {
    display: inline-flex;
    align-items: center;
}
.post-author a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color var(--transition);
}
.post-author a:hover { color: var(--accent); }
.post-author-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

/* ============================================
   ABOUT PAGE — E.E.A.T authority page
   ============================================ */
.about-hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 48px 0; margin-bottom: 0; }
.about-hero-inner { max-width: 860px; margin: 0 auto; padding: 0 24px; display: flex; gap: 28px; align-items: flex-start; }
.about-avatar-wrap { flex-shrink: 0; }
.about-avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid rgba(255,255,255,.3); object-fit: cover; display: block; }
.about-hero-text { color: #fff; }
.about-hero-text h1 { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.about-role { font-size: 14px; color: rgba(255,255,255,.75); margin: 0 0 20px; }
.about-stats { display: flex; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.about-stat strong { display: block; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.1; }
.about-stat span { font-size: 11px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .05em; }
.about-social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.about-social-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s; background: rgba(255,255,255,.13) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.28) !important; }
.about-social-btn:hover { background: rgba(255,255,255,.26) !important; border-color: rgba(255,255,255,.55) !important; color: #fff !important; }
.about-content { max-width: 860px; margin: 0 auto; padding: 40px 24px 60px; }
.about-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.about-section:last-child { border-bottom: none; margin-bottom: 0; }
.about-section h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 0 0 14px; }
.about-section p { font-size: 15px; line-height: 1.75; color: var(--text); margin-bottom: 14px; }
.about-section p:last-child { margin-bottom: 0; }
.about-list { list-style: none !important; padding: 0; margin: 0; }
.about-list li { list-style: none !important; padding: 10px 0 10px 18px; position: relative; font-size: 15px; line-height: 1.6; color: var(--text); border-bottom: 1px solid var(--border); }
.about-list li:last-child { border-bottom: none; }
.about-list li::before { content: '▸'; position: absolute; left: 0; top: 12px; color: var(--accent); font-size: 12px; line-height: 1; }
.about-list li::marker { display: none; content: ''; }
.about-cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.about-cta-group .btn-primary { background: var(--accent) !important; color: #fff !important; padding: 11px 22px; font-size: 14px; font-weight: 600; border-radius: 7px; text-decoration: none; display: inline-flex; align-items: center; transition: background .15s; border: none; }
.about-cta-group .btn-primary:hover { background: var(--accent-hover) !important; color: #fff !important; }
.about-wa-btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: 7px; font-size: 14px; font-weight: 600; text-decoration: none; background: #1fba58; color: #fff !important; transition: background .15s; border: none; }
.about-wa-btn:hover { background: #17a34a; color: #fff !important; }
@media (max-width: 640px) {
    .about-hero-inner { flex-direction: column; align-items: center; text-align: center; }
    .about-stats { justify-content: center; }
    .about-social-links { justify-content: center; }
    .about-avatar { width: 90px; height: 90px; }
}

/* ============================================
   AUTHOR PAGE — /autor/slug/
   ============================================ */
.author-profile-card { display: flex; gap: 24px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; margin-bottom: 8px; }
.author-profile-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border); flex-shrink: 0; }
.author-profile-info h1 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 0 0 4px; }
.author-profile-role { font-size: 13px; color: var(--text-light); margin: 0 0 10px; }
.author-profile-bio { font-size: 14px; line-height: 1.65; color: var(--text); margin: 0 0 14px; }
.author-profile-links { display: flex; gap: 8px; flex-wrap: wrap; }
.author-link { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; transition: opacity .15s; }
.author-link:hover { opacity: .85; }
.author-link-li { background: #0a66c2; color: #fff; }
.author-link-yt { background: #ff0000; color: #fff; }
.author-link-site { background: var(--bg-alt); color: var(--text-light); border: 1px solid var(--border); }
@media (max-width: 580px) {
    .author-profile-card { flex-direction: column; align-items: center; text-align: center; }
    .author-profile-links { justify-content: center; }
}

/* ============================================
   EDITORIAL TAG HEADER
   ============================================ */
.editorial-tag-header { margin-bottom: 4px; }
.editorial-tag-meta .section-title { margin-bottom: 6px; }
.editorial-tag-author { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; margin-bottom: 4px; font-size: 13px; color: var(--text-light); }
.editorial-author-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); flex-shrink: 0; }
.editorial-author-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.editorial-author-link:hover { text-decoration: underline; }
