/**
 * Theme Name:   Cosmott Child
 * Theme URI:    https://cosmott.com/
 * Description:  Cosmott Child Theme for Astra — premium blog post styling with WhatsApp integration
 * Author:       Cosmott
 * Author URI:   https://cosmott.com/
 * Template:     astra
 * Version:      1.0.0
 * License:      GNU General Public License v2 or later
 * License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:  cosmott-child
 * Tags:         iptv, blog, whatsapp
 */

/* =============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================= */
:root {
    --brand-primary:    #1a2b4a;
    --brand-accent:     #e8431a;
    --brand-accent-2:   #ff6b35;
    --brand-light:      #f4f7fc;
    --brand-white:      #ffffff;
    --wa-green:         #25D366;
    --wa-dark:          #128C7E;
    --text-primary:     #1a2233;
    --text-body:        #4a5568;
    --text-muted:       #718096;
    --border:           #e2e8f0;
    --shadow-sm:        0 2px 8px rgba(26,43,74,0.08);
    --shadow-md:        0 4px 20px rgba(26,43,74,0.12);
    --shadow-lg:        0 8px 40px rgba(26,43,74,0.16);
    --radius:           12px;
    --radius-sm:        8px;
    --font-display:     'Playfair Display', Georgia, serif;
    --font-body:        'DM Sans', system-ui, -apple-system, sans-serif;
}

/* =============================================
   GOOGLE FONTS (loaded via functions.php enqueue)
   ============================================= */

/* =============================================
   GLOBAL BODY & BASE OVERRIDES
   ============================================= */
body.single-post,
body.single {
    background: var(--brand-light) !important;
    font-family: var(--font-body) !important;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}

/* =============================================
   POST HERO BANNER
   ============================================= */
body.single-post .ast-article-single .entry-header,
body.single .ast-article-single .entry-header {
    display: none; /* We render our own hero */
}

.cosmott-post-hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #243b6b 60%, #1e3358 100%);
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}
.cosmott-post-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,67,26,.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cosmott-post-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,107,53,.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cosmott-hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cosmott-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cosmott-breadcrumb a {
    color: rgba(255,255,255,.6) !important;
    text-decoration: none;
    transition: color .2s;
}
.cosmott-breadcrumb a:hover { color: #fff !important; }
.cosmott-breadcrumb-sep { color: rgba(255,255,255,.3); }

.cosmott-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.cosmott-tag {
    background: rgba(232,67,26,.25);
    color: #ffb499;
    border: 1px solid rgba(232,67,26,.4);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
}

.cosmott-post-hero h1.entry-title,
.cosmott-post-hero h1 {
    font-family: var(--font-display) !important;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    max-width: 780px;
    margin-bottom: 24px !important;
}

.cosmott-post-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,.65);
    font-size: .85rem;
}
.cosmott-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cosmott-meta-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--brand-accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    color: #fff;
    flex-shrink: 0;
}
.cosmott-meta-dot {
    width: 4px; height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 50%;
}

/* =============================================
   PAGE LAYOUT — CONTENT + SIDEBAR GRID
   ============================================= */
body.single-post .ast-container,
body.single .ast-container {
    max-width: 1300px !important;
}

/* Override Astra's layout for single posts */
body.single-post #content.ast-container,
body.single #content.ast-container {
    padding-top: 0 !important;
}

.cosmott-layout-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 5%;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* =============================================
   MAIN ARTICLE CARD
   ============================================= */
.cosmott-entry-wrap {
    background: var(--brand-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* WhatsApp CTA Banner (top of article) */
.cosmott-wa-hero-banner {
    background: linear-gradient(135deg, #075E54, #128C7E);
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cosmott-wa-hero-banner .wa-text {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cosmott-wa-hero-banner .wa-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cosmott-wa-hero-banner .wa-icon svg {
    width: 24px; height: 24px;
    fill: #fff;
}
.cosmott-wa-hero-banner h3 {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 2px !important;
}
.cosmott-wa-hero-banner p {
    color: rgba(255,255,255,.8) !important;
    font-size: .85rem !important;
    margin: 0 !important;
}

/* WhatsApp buttons */
.cosmott-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wa-green);
    color: #fff !important;
    font-weight: 700;
    font-size: .95rem;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37,211,102,.35);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none !important;
}
.cosmott-wa-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
}
.cosmott-wa-btn svg {
    width: 20px; height: 20px;
    fill: #fff;
    flex-shrink: 0;
}

/* Article body */
.cosmott-entry-body {
    padding: 40px 44px 44px;
}

/* Table of Contents */
.cosmott-toc-box {
    background: #f8faff;
    border: 1px solid #dbe6ff;
    border-left: 4px solid var(--brand-primary);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    margin-bottom: 36px;
}
.cosmott-toc-box h2 {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--brand-primary) !important;
    margin-bottom: 14px !important;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cosmott-toc-box h2::after { display: none !important; }
.cosmott-toc-box ol {
    margin: 0 !important;
    padding-left: 20px !important;
    counter-reset: toc;
    list-style: none;
}
.cosmott-toc-box ol li {
    counter-increment: toc;
    margin-bottom: 8px;
    font-size: .9rem;
}
.cosmott-toc-box ol li::before {
    content: counter(toc) ". ";
    font-weight: 600;
    color: var(--brand-accent);
}
.cosmott-toc-box a {
    color: var(--brand-primary) !important;
    text-decoration: none;
    transition: color .2s;
}
.cosmott-toc-box a:hover { color: var(--brand-accent) !important; }

/* =============================================
   ARTICLE TYPOGRAPHY
   ============================================= */
.cosmott-entry-body h2 {
    font-family: var(--font-display) !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: var(--brand-primary) !important;
    margin: 40px 0 18px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-light);
    position: relative;
}
.cosmott-entry-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 60px; height: 2px;
    background: var(--brand-accent);
    border-radius: 2px;
}
.cosmott-entry-body h3 {
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--brand-primary) !important;
    margin: 28px 0 14px !important;
}
.cosmott-entry-body p {
    margin-bottom: 18px !important;
    color: var(--text-body) !important;
    font-size: 1rem;
    line-height: 1.8;
}
.cosmott-entry-body ul,
.cosmott-entry-body ol {
    margin-bottom: 18px !important;
    padding-left: 24px !important;
}
.cosmott-entry-body li {
    margin-bottom: 8px !important;
    color: var(--text-body);
    line-height: 1.7;
}
.cosmott-entry-body a {
    color: var(--brand-accent) !important;
    text-decoration: none;
    transition: color .2s;
}
.cosmott-entry-body a:hover { color: var(--brand-accent-2) !important; }

/* Inline WhatsApp CTA blocks */
.cosmott-wa-inline {
    background: linear-gradient(135deg, #075E54, #128C7E);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 32px 0;
    flex-wrap: wrap;
}
.cosmott-wa-inline .left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cosmott-wa-pulse {
    width: 48px; height: 48px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    animation: cosmott-pulse 2s infinite;
}
.cosmott-wa-pulse svg { width: 26px; height: 26px; fill: #fff; }
@keyframes cosmott-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.cosmott-wa-inline h3 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 3px !important;
}
.cosmott-wa-inline p {
    font-size: .85rem !important;
    color: rgba(255,255,255,.75) !important;
    margin: 0 !important;
}

/* Info boxes */
.cosmott-info-box {
    background: #f0f7ff;
    border: 1px solid #cce0ff;
    border-left: 4px solid #3b82f6;
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 24px 0;
}
.cosmott-info-box p { margin: 0 !important; color: #1e40af !important; font-size: .95rem; }

/* Comparison table */
.cosmott-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cosmott-comparison-table thead {
    background: var(--brand-primary);
    color: #fff;
}
.cosmott-comparison-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .3px;
}
.cosmott-comparison-table tbody tr:nth-child(even) { background: #f8faff; }
.cosmott-comparison-table tbody tr:hover { background: #eef3ff; }
.cosmott-comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}
.cosmott-comparison-table td:first-child { font-weight: 600; color: var(--text-primary); }
.cosmott-check { color: #22c55e; font-size: 1.1rem; }
.cosmott-cross  { color: #ef4444; font-size: 1.1rem; }

/* CTA section at bottom of article */
.cosmott-cta-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #243b6b 100%);
    border-radius: var(--radius);
    padding: 40px 44px;
    text-align: center;
    margin-top: 44px;
}
.cosmott-cta-section h2 {
    font-family: var(--font-display) !important;
    font-size: 1.8rem !important;
    color: #fff !important;
    margin-bottom: 14px !important;
    border: none !important;
}
.cosmott-cta-section h2::after { display: none !important; }
.cosmott-cta-section p { color: rgba(255,255,255,.9) !important; margin-bottom: 24px !important; }
.cosmott-cta-number {
    display: inline-block;
    color: rgba(255,255,255,.6);
    font-size: .82rem;
    margin-top: 12px;
}
.cosmott-wa-btn-xl {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--wa-green);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none !important;
}
.cosmott-wa-btn-xl:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,.5);
}
.cosmott-wa-btn-xl svg { width: 22px; height: 22px; fill: #fff; }

/* FAQ accordion */
.cosmott-faq { margin: 12px 0; }
.cosmott-faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 8px;
}
.cosmott-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-align: left;
    transition: background .2s;
}
.cosmott-faq-question:hover { background: #f8faff; }
.cosmott-faq-icon {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .8rem;
    transition: transform .3s, background .2s;
    color: var(--brand-primary);
}
.cosmott-faq-item.open .cosmott-faq-icon {
    transform: rotate(180deg);
    background: var(--brand-accent);
    color: #fff;
}
.cosmott-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s;
    padding: 0 20px;
    color: var(--text-body);
    font-size: .93rem;
    line-height: 1.7;
}
.cosmott-faq-item.open .cosmott-faq-answer {
    max-height: 500px;
    padding: 0 20px 18px;
}

/* Related articles */
.cosmott-related-articles { margin-top: 36px; }
.cosmott-related-articles h3 {
    font-family: var(--font-display) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--brand-primary) !important;
    margin-bottom: 16px !important;
}
.cosmott-related-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.cosmott-related-list li { margin-bottom: 10px !important; }
.cosmott-related-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-primary) !important;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fafbff;
}
.cosmott-related-list a::before {
    content: '→';
    color: var(--brand-accent);
    flex-shrink: 0;
    font-weight: 700;
}
.cosmott-related-list a:hover {
    color: var(--brand-accent) !important;
    border-color: var(--brand-accent);
    background: #fff5f2;
}

/* =============================================
   SIDEBAR
   ============================================= */
.cosmott-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* WhatsApp sidebar widget */
.cosmott-wa-widget {
    background: linear-gradient(135deg, #064e3b, #065f46, #047857);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cosmott-wa-widget::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.cosmott-wa-widget-icon {
    width: 64px; height: 64px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
}
.cosmott-wa-widget-icon svg { width: 34px; height: 34px; fill: #fff; }
.cosmott-wa-widget h3 {
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 10px !important;
}
.cosmott-wa-widget p {
    color: rgba(255,255,255,.8) !important;
    font-size: .88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}
.cosmott-wa-widget-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--wa-green);
    color: #fff !important;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none !important;
    width: 100%;
    margin-bottom: 12px;
}
.cosmott-wa-widget-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37,211,102,.5);
}
.cosmott-wa-widget-btn svg { width: 20px; height: 20px; fill: #fff; }
.cosmott-wa-number {
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    margin: 0 !important;
}

/* Generic sidebar widget */
.cosmott-widget {
    background: var(--brand-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.cosmott-widget-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    background: #f8faff;
}
.cosmott-widget-header h4 {
    font-family: var(--font-body) !important;
    font-size: .85rem !important;
    font-weight: 700 !important;
    color: var(--brand-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    margin: 0 !important;
}
.cosmott-widget-body { padding: 22px; }

/* Stats grid widget */
.cosmott-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.cosmott-stat-item {
    background: var(--brand-light);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
}
.cosmott-stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    display: block;
    line-height: 1.2;
}
.cosmott-stat-label {
    font-size: .72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-top: 4px;
}

/* Offer widget */
.cosmott-offer-widget {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-2) 100%);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cosmott-offer-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.cosmott-offer-widget h3 {
    font-family: var(--font-display) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 10px !important;
}
.cosmott-offer-widget p {
    color: rgba(255,255,255,.9) !important;
    font-size: .88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
}
.cosmott-offer-btn {
    display: block;
    background: rgba(255,255,255,.2);
    color: #fff !important;
    font-weight: 700;
    font-size: .9rem;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    border: 2px solid rgba(255,255,255,.5);
    transition: background .2s, transform .2s;
}
.cosmott-offer-btn:hover {
    background: rgba(255,255,255,.3) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Recent posts widget */
.cosmott-recent-posts { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.cosmott-recent-posts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    margin: 0 !important;
}
.cosmott-recent-posts li:last-child { border-bottom: none; }
.cosmott-recent-posts a {
    font-size: .88rem !important;
    font-weight: 500;
    color: var(--text-primary) !important;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color .2s;
}
.cosmott-recent-posts a:hover { color: var(--brand-accent) !important; }
.cosmott-post-date { color: var(--text-muted); font-size: .78rem; display: block; margin-top: 3px; }

/* Tags cloud */
.cosmott-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cosmott-tag-chip {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-primary) !important;
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    text-decoration: none !important;
    border: 1px solid var(--border);
    transition: background .2s, color .2s, border-color .2s;
}
.cosmott-tag-chip:hover {
    background: var(--brand-accent) !important;
    color: #fff !important;
    border-color: var(--brand-accent) !important;
}

/* About widget */
.cosmott-about-logo {
    width: 56px; height: 56px;
    background: var(--brand-primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.cosmott-about-logo svg { width: 30px; height: 30px; }
.cosmott-widget-body.text-center { text-align: center; }
.cosmott-widget-body h4 {
    font-family: var(--font-display) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--brand-primary) !important;
    margin-bottom: 8px !important;
}
.cosmott-widget-body p { font-size: .85rem !important; color: var(--text-muted) !important; margin: 0 !important; }

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.cosmott-float-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px; height: 58px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    transition: transform .2s, box-shadow .2s;
    animation: cosmott-pulse 2.5s infinite;
    text-decoration: none !important;
}
.cosmott-float-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.cosmott-float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* =============================================
   POST THUMBNAIL (featured image)
   ============================================= */
body.single-post .ast-post-thumbnail-wrap,
body.single .ast-post-thumbnail-wrap {
    display: none; /* hidden — handled within hero area */
}

/* =============================================
   HIDE DEFAULT ASTRA POST META ON SINGLE
   ============================================= */
body.single .entry-header .entry-meta,
body.single-post .entry-header .entry-meta,
body.single .single-post .entry-title,
body.single-post .ast-article-single > .entry-title {
    display: none !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .cosmott-layout-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cosmott-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .cosmott-post-hero { padding: 40px 5%; }
    .cosmott-layout-wrap { padding: 30px 5%; }
    .cosmott-entry-body { padding: 28px 24px 32px; }
    .cosmott-wa-hero-banner { flex-direction: column; align-items: flex-start; }
    .cosmott-wa-inline { flex-direction: column; }
    .cosmott-cta-section { padding: 32px 24px; }
    .cosmott-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .cosmott-stats-grid { grid-template-columns: 1fr 1fr; }
    .cosmott-wa-btn, .cosmott-wa-btn-xl { font-size: .85rem; padding: 11px 22px; }
}
