/*
Theme Name:   Strong8K Pro Theme V3
Theme URI:    https://strong8ktvs.us/
Description:  Child theme for Hello Elementor - Preserves Header & Footer, adds clean white single post layout with sticky 1-Month subscription offer card and pricing link.
Author:       Strong8K Dev
Template:     hello-elementor
Version:      3.1.0
Text Domain:  strong8k-pro-v3
*/

/* =========================================================
   1. Single Post Clean White Layout
   ========================================================= */
body.single-post {
    background-color: #ffffff !important;
    color: #1e293b;
}

.s8k-post-wrapper {
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: start;
}

.s8k-article-main {
    background: #ffffff;
}

.s8k-post-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.s8k-post-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.s8k-post-meta {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.s8k-featured-image {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
}

.s8k-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.s8k-entry-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #334155;
}

.s8k-entry-content h2,
.s8k-entry-content h3 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.s8k-entry-content p {
    margin-bottom: 1.35rem;
}

.s8k-entry-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.s8k-entry-content a {
    color: #0284c7;
    text-decoration: underline;
}

/* =========================================================
   2. Sticky Sidebar & 1-Month Pricing Card
   ========================================================= */
.s8k-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 30px;
    z-index: 10;
}

.s8k-pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.s8k-plan-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.s8k-plan-tagline {
    font-size: 0.875rem;
    color: #475569;
    margin: 0 0 20px 0;
}

.s8k-price-row {
    display: flex;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 8px;
}

.s8k-currency {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0284c7;
    margin-top: 6px;
    margin-right: 2px;
}

.s8k-amount {
    font-size: 2.85rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1px;
}

.s8k-total-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    align-self: flex-end;
    margin-bottom: 5px;
    margin-left: 4px;
}

.s8k-per-month {
    font-size: 0.925rem;
    color: #334155;
    margin: 0 0 14px 0;
}

.s8k-per-month strong {
    font-weight: 800;
    color: #0f172a;
}

.s8k-flex-badge {
    display: inline-block;
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 22px;
}

.s8k-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.s8k-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.925rem;
    color: #334155;
    margin-bottom: 13px;
    line-height: 1.4;
}

.s8k-features-list li:last-child {
    margin-bottom: 0;
}

.s8k-check-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background-color: #10b981;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Primary Button: 1-Month Checkout */
.s8k-subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background-color: #0284c7;
    color: #ffffff !important;
    border: 1.5px solid #0284c7;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.s8k-subscribe-btn:hover {
    background-color: #0369a1;
    border-color: #0369a1;
    color: #ffffff;
    transform: translateY(-1px);
}


.s8k-article-main,
.s8k-entry-content {
    min-width: 0;
}

.s8k-entry-content img,
.s8k-entry-content video,
.s8k-entry-content iframe,
.s8k-entry-content table {
    max-width: 100%;
}

.s8k-entry-content img,
.s8k-entry-content video {
    height: auto;
}

.s8k-widget { margin-top: 20px; }
.s8k-widget-title { margin: 0 0 12px; color: #0f172a; font-size: 1rem; }

@media (max-width: 991px) {
    .s8k-post-wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 25px 15px 45px;
    }
    .s8k-sidebar {
        position: static;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 620px) {
    .s8k-entry-content { font-size: 1rem; line-height: 1.8; }
    .s8k-pricing-card { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .s8k-subscribe-btn,
    .s8k-pricing-link-btn { transition: none; }
}
