/* Strategy Content Pages CSS */

/* Route Icon SVGs */
.route-icon {
    flex-shrink: 0;
    background: #f0f9ff;
    border-radius: 8px;
    padding: 4px;
}

/* ============================================
   Hub Pages - Category Grid & Hero
   ============================================ */

.strategy-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.strategy-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.strategy-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

.search-input-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6;
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.category-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111827;
}

.category-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* New Coach Section */
.new-coach-section {
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
    padding: 48px 5%;
}

.new-coach-inner {
    max-width: 800px;
    margin: 0 auto;
}

.new-coach-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.start-here-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.start-here-list li {
    margin-bottom: 12px;
}

.start-here-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    border: 1px solid #d1fae5;
    transition: background 0.2s, border-color 0.2s;
}

.start-here-list a:hover {
    background: #f9fafb;
    border-color: #22c55e;
}

.start-here-list .arrow {
    margin-left: auto;
    color: #22c55e;
}

/* Lead Magnet Banner */
.lead-magnet-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 48px 5%;
    text-align: center;
}

.lead-magnet-inner {
    max-width: 600px;
    margin: 0 auto;
}

.lead-magnet-banner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.lead-magnet-banner p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.lead-magnet-banner .btn-white {
    background: white;
    color: #1d4ed8;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lead-magnet-banner .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Article Pages
   ============================================ */

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 5%;
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

.article-content {
    max-width: 750px;
}

.article-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 24px;
    color: #111827;
}

/* TL;DR / Summary Box (Featured Snippet optimized) */
.tldr-box {
    background: #f3f4f6;
    border-left: 4px solid #3b82f6;
    padding: 20px 24px;
    margin-bottom: 32px;
    border-radius: 0 8px 8px 0;
}

.tldr-box strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3b82f6;
    margin-bottom: 8px;
}

.tldr-box p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

/* Article Body Typography */
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 48px 0 16px;
    color: #111827;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: #1f2937;
}

.article-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.article-content li {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 8px;
}

/* Coach's Tip Box */
.coaches-tip {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
}

.coaches-tip strong {
    color: #92400e;
}

/* Drill Block */
.drill-block {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.drill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.drill-header h3 {
    margin: 0;
    font-size: 1.125rem;
    color: #111827;
}

.drill-time {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.drill-goal {
    background: #f0fdf4;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
    color: #166534;
}

.drill-goal strong {
    color: #15803d;
}

.drill-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.drill-steps li {
    counter-increment: step-counter;
    padding-left: 36px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.drill-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Diagram Placeholder */
.diagram-placeholder {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    margin: 24px 0;
}

.diagram-placeholder p {
    margin: 0;
    color: #6b7280;
    font-style: italic;
}

/* Article Sidebar (Sticky CTA) */
.article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-cta {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sidebar-cta h4 {
    font-size: 1rem;
    margin: 0 0 12px;
    color: #111827;
}

.sidebar-cta p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.sidebar-cta .btn-gradient {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 12px 28px;
}

.sidebar-cta .btn-outline {
    width: 100%;
    display: block;
    padding: 12px 28px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.2s;
    cursor: pointer;
}

.sidebar-cta .btn-outline:hover {
    background: #f9fafb;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 12px 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.mobile-sticky-cta .btn-gradient {
    width: 100%;
    text-align: center;
}

@media (max-width: 900px) {
    .article-sidebar {
        display: none;
    }

    .mobile-sticky-cta {
        display: block;
    }

    .article-content {
        padding-bottom: 80px;
        /* Space for sticky CTA */
    }
}

/* Related Articles Widget */
.related-articles {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.related-articles h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.related-card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.related-card:hover {
    background: #f3f4f6;
}

.related-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #111827;
}

.related-card p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

/* Category Hub - Article List */
.articles-list {
    padding: 48px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.articles-list h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111827;
}

.article-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.article-link-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.article-link-card .article-meta {
    flex: 1;
}

.article-link-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: #111827;
}

.article-link-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.article-link-card .arrow {
    color: #3b82f6;
    font-size: 1.25rem;
}

/* Category Hub Hero (smaller) */
.category-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 48px 20px;
    text-align: center;
}

.category-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.category-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* Next Steps CTA Box */
.next-steps-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 32px;
    margin: 48px 0;
    text-align: center;
}

.next-steps-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 16px;
}

.next-steps-box p {
    color: #15803d;
    margin-bottom: 24px;
}

.next-steps-box .btn-gradient {
    display: inline-block;
}