/*
Theme Name: Newsletter Landing
Theme URI: 
Author: Your Name
Author URI: 
Description: Custom WordPress theme for collecting email addresses through a subscription form
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsletter-landing
Tags: landing, newsletter, subscription
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Base theme styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.5;
    color: #171717;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Two-column layout */
.row {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin-top: 60px;
}

.content-column {
    flex: 1;
    max-width: 650px;
}

.form-column {
    flex: 0 0 380px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: fit-content;
    transition: transform 0.3s ease-in-out;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
}

.site-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.site-header.header-visible {
    transform: translateY(0);
    opacity: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    text-decoration: none;
    color: #171717;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.site-title a:hover {
    color: #171717;
    opacity: 0.8;
}

/* Navigation */
.main-navigation {
    position: relative;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #737373;
    font-weight: 500;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    display: block;
}

.nav-menu a:hover {
    color: #171717;
    background-color: #f9f9f9;
}

.nav-menu .current-menu-item a {
    color: #171717;
    background-color: #f5f5f5;
    font-weight: 600;
}

/* Special Join free button */
.nav-menu .menu-item:last-child a {
    background: #6f459e;
    color: #ffffff;
    font-weight: 500;
    border-radius: 24px;
    padding: 12px 20px;
}

.nav-menu .menu-item:last-child a:hover {
    background: #945dd2;
    color: #ffffff;
}

/* Content area */
.content-blocks {
    margin-bottom: 30px;
}

.content-blocks h2 {
    margin-bottom: 60px;
    color: #171717;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Date Header */
.date-header {
    margin-bottom: 60px;
    padding-bottom: 0;
    border-bottom: none;
}

.date-header .date-label {
    font-size: 12px;
    font-weight: 500;
    color: #a3a3a3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.date-header .date-value {
    font-size: 32px;
    font-weight: 700;
    color: #171717;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* Content Block Styles */
.content-block {
    background: transparent;
    padding: 30px 0 40px 0;
    margin-bottom: 30px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.block-header {
    margin-bottom: 24px;
}

.block-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: normal;
    display: block;
}

.block-title,
.content-block h3 {
    margin: 0 0 24px 0;
    color: #171717;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.block-meta {
    display: none;
}

.block-items {
    margin-bottom: 40px;
    padding-left: 0;
    list-style: none;
}

.block-items li {
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    color: #525252;
    font-size: 16px;
}

.block-items li:before {
    content: "•";
    color: #6366f1;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: -3px;
}

/* Story of the Day */
.story-of-day {
    margin: 40px 0;
    padding: 24px;
    background: #eaeaea;
    border-radius: 5px;
}

.story-header,
.story-title {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #171717;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.story-title-wrapper,
.story-title-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.story-title-link,
.story-title-text {
    <!-- color: #6366f1;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    word-break: break-word;
    line-height: 1.3;
    width: fit-content;
    max-width: 100%;
    border-bottom: 2px solid transparent;
    padding-bottom: 1px; -->
}

.story-link,
.story-link-button {
    background: #6366f1;
    color: white !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
    align-self: flex-start;
    white-space: nowrap;
    display: inline-block;
    min-width: 44px;
    text-align: center;
}

.story-link:hover,
.story-link-button:hover {
    background: #4f46e5;
    color: white !important;
    text-decoration: none !important;
}

.story-content {
    margin-top: 16px;
}

.story-items {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.story-items li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    color: #525252;
    font-size: 16px;
}

.story-items li:before {
    content: "•";
    color: #737373;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1em;
    top: -3px;
}

.story-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.source-label {
    color: #737373;
    font-size: 14px;
    font-weight: 400;
}

.story-source .source-name {
    background: #e0e7ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    font-style: normal;
}

.story-category,
.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.category-label {
    color: #737373;
    font-size: 14px;
    font-weight: 400;
}

.category-tag {
    background: #e0e7ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

/* Sources Section */
.sources,
.sources-section {
    margin-top: 60px;
    padding-top: 0;
    border-top: none;
}

.sources h4,
.sources-title {
    margin: 0 0 24px 0;
    color: #a3a3a3;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
}

.sources-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sources-list li,
.source-item {
    padding: 0 0 0 20px;
    position: relative;
    line-height: 1.5;
    color: #525252;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 16px;
    gap: 16px;
}

.sources-list li:before,
.source-item:before {
    content: "•";
    color: #737373;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1em;
    top: -3px;
}

.source-content,
.source-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.source-title-link,
.story-title-link, 
.story-title-text,
.news-title-link {
    color: #6366f1 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
    word-break: break-word;
    line-height: 1.4;
}

.source-title-link:hover,
.news-title-link:hover,
.story-title-link:hover {
    color: #4f46e5 !important;
    text-decoration: underline !important;
}

.source-name,
.source-attribution,
.news-item .news-source {
    color: #737373;
    font-size: 14px;
    font-style: italic;
    margin: 0;
    line-height: 1.3;
}

.source-link,
.source-link-button {
    background: #737373;
    color: white !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
    align-self: flex-start;
    white-space: nowrap;
    display: inline-block;
    min-width: 44px;
    text-align: center;
}

.source-link:hover,
.source-link-button:hover {
    background: #525252;
    color: white !important;
    text-decoration: none !important;
}

/* Newsletter Form */
.newsletter-form {
    background: transparent;
    padding: 20px 0;
    border: none;
    box-shadow: none;
    position: relative;
    width: 100%;
    margin-bottom: 0;
    transition: all 0.3s ease-in-out;
}

.newsletter-form h2 {
    margin-bottom: 16px;
    color: #171717;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.newsletter-form p {
    margin-bottom: 24px;
    color: #737373;
    line-height: 1.5;
    font-size: 15px;
}

.newsletter-stats {
    margin-bottom: 24px;
    color: #737373;
    font-size: 14px;
    line-height: 1.4;
}

.newsletter-stats strong {
    color: #171717;
    font-weight: 600;
}

.form-group {
    margin-bottom: 16px;
}

.form-disclaimer {
    margin-top: 12px;
    color: #a3a3a3;
    font-size: 13px;
    line-height: 1.4;
}

/* Hero-style input wrapper */
.hero-input-wrapper {
    display: flex;
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    margin-bottom: 12px;
    width: 100%;
}

.hero-input-wrapper:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.hero-input-wrapper.focused {
    border-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.hero-email-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 20px;
    font-size: 15px;
    font-family: inherit;
    background: transparent;
    border-radius: 8px;
    color: #171717;
    margin-bottom: 0;
    width: auto;
    min-width: 0;
}

.hero-email-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.hero-email-input::placeholder {
    color: #a3a3a3;
    font-weight: 400;
}

.hero-submit-btn {
    background: #6f459e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-submit-btn:hover:not(:disabled) {
    background: #945dd2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(111, 69, 158, 0.25);
}

.hero-submit-btn:active {
    transform: translateY(0);
}

.hero-submit-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero-submit-btn.loading {
    background: #6366f1;
}

/* Loading spinner */
.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    color: currentColor;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form messages */
.hero-form-messages {
    margin-top: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hero-form-messages.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hero-message.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-message-success,
.success-message {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.hero-message-error,
.error-message {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.hero-message-info,
.info-message {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

/* USP Styles */
.newsletter-usp {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.usp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #737373;
    line-height: 1.4;
    padding: 0;
    position: relative;
    transition: all 0.2s ease;
}

.usp-item:hover {
    color: #525252;
}

.usp-emoji {
    font-size: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.usp-text {
    flex: 1;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.newsletter-usp.style-card {
    background: #fafafa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    margin-top: 20px;
}

.newsletter-usp.style-card .usp-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.newsletter-usp.style-card .usp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.newsletter-usp.style-compact {
    margin-top: 16px;
    padding-top: 16px;
}

.newsletter-usp.style-compact .usp-list {
    gap: 8px;
}

.newsletter-usp.style-compact .usp-item {
    font-size: 13px;
}

.newsletter-usp.style-compact .usp-emoji {
    font-size: 14px;
    width: 16px;
    height: 16px;
}

/* Lead Magnet Block */
.lead-magnet-block {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin-top: 32px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    border: none;
}

.lead-magnet-disabled {
    display: none !important;
}

.lead-magnet-block .icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.lead-magnet-block h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    letter-spacing: -0.01em;
}

.lead-magnet-block p {
    font-size: 15px;
    margin-bottom: 24px;
    opacity: 0.9;
    line-height: 1.5;
    color: white;
}

.lead-magnet-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    backdrop-filter: blur(10px);
}

.lead-magnet-button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Header Scroll Form Animation */
body.header-visible .form-column {
    transform: translateY(26px);
}

body.header-hidden .form-column {
    transform: translateY(0);
}

/* Blog Styles */
.full-width-blog {
    flex: 1;
    max-width: none;
}

.blog-header {
    margin-bottom: 60px;
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.blog-header .page-title {
    font-size: 48px;
    color: #171717;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 60px;
    background: #fff;
    border: none;
    box-shadow: none;
}

.blog-post,
.blog-post-single {
    background: #ffffff;
    padding: 25px 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post .entry-header,
.blog-post-single .entry-header {
    margin-bottom: 24px;
}

.blog-post .entry-meta,
.blog-post-single .entry-meta {
    font-size: 14px;
    color: #737373;
    margin-bottom: 16px;
    font-weight: 500;
}

.blog-post .entry-title,
.blog-post-single .entry-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-post .entry-title a {
    color: #171717;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.blog-post .entry-title a:hover {
    opacity: 0.8;
}

.blog-post-single .entry-title {
    color: #171717;
}

.blog-post .entry-content,
.blog-post-single .entry-content {
    font-size: 16px;
    line-height: 1.6;
    color: #525252;
    margin-bottom: 24px;
}

.blog-post .entry-content p,
.blog-post-single .entry-content p {
    margin-bottom: 1.2em;
}

.blog-post .entry-footer,
.blog-post-single .entry-footer {
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.entry-meta-footer {
    font-size: 14px;
    color: #737373;
}

.entry-meta-footer .categories,
.entry-meta-footer .tags {
    display: block;
    margin-bottom: 12px;
}

.entry-meta-footer a {
    color: #6366f1;
    text-decoration: none;
    margin-right: 12px;
    font-weight: 500;
}

.entry-meta-footer a:hover {
    text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
    padding: 32px;
    background: #f9f9f9;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

.post-navigation a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.post-navigation a:hover {
    background-color: #eff6ff;
}

/* Pagination */
.pagination {
    margin: 60px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination .current {
    padding: 12px 16px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    text-decoration: none;
    color: #737373;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 44px;
    text-align: center;
}

.pagination a:hover {
    background-color: #171717;
    color: #ffffff;
    border-color: #171717;
}

.pagination .current {
    background-color: #171717;
    color: #ffffff;
    border-color: #171717;
}

/* No posts message */
.no-posts {
    text-align: center;
    padding: 80px 40px;
    background: #f9f9f9;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

.no-posts h2 {
    color: #171717;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
}

.no-posts p {
    color: #737373;
    margin-bottom: 32px;
    font-size: 16px;
}

/* Footer Styles */
.site-footer {
    background-color: #171717;
    color: #a3a3a3;
    padding: 80px 0 40px;
    margin-top: 120px;
}

.footer-widgets {
    display: none;
}

.site-info {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #404040;
    color: #737373;
    font-size: 14px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-navigation {
    margin-bottom: 30px;
}

.footer-nav-menu {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav-menu li {
    margin: 0;
}

.footer-nav-menu a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.footer-nav-menu a:hover {
    color: #ffffff;
}

.footer-nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background-color: #6366f1;
    transition: width 0.3s ease;
}

.footer-nav-menu a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #404040;
}

.footer-copyright {
    color: #737373;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.footer-branding {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.8;
    color: #ffffff;
}

.footer-logo img {
    height: 28px;
    width: auto;
    margin-right: 8px;
}

/* Alternative Light Footer Option */
.site-footer.light-footer {
    background-color: #fafafa;
    color: #525252;
    border-top: 1px solid #f0f0f0;
}

.site-footer.light-footer .footer-nav-menu a {
    color: #737373;
}

.site-footer.light-footer .footer-nav-menu a:hover {
    color: #171717;
}

.site-footer.light-footer .footer-logo {
    color: #171717;
}

.site-footer.light-footer .footer-logo:hover {
    color: #171717;
}

.site-footer.light-footer .footer-bottom {
    border-top-color: #e5e5e5;
}

.site-footer.light-footer .footer-copyright {
    color: #a3a3a3;
}

/* Clean up any container borders */
.container,
.row,
.content-column,
.form-column {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.single-post {
    border-radius: 0px !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Menu Design */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    width: 44px;
    height: 44px;
    z-index: 10001;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background-color: #171717;
    border-radius: 1px;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-toggle::before {
    top: 14px;
}

.menu-toggle span {
    top: 21px;
}

.menu-toggle::after {
    top: 28px;
}

.menu-toggle.active::before {
    transform: translateX(-50%) rotate(45deg);
    top: 21px;
}

.menu-toggle.active span {
    opacity: 0;
    transform: translateX(-50%) scale(0);
}

.menu-toggle.active::after {
    transform: translateX(-50%) rotate(-45deg);
    top: 21px;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .row {
        gap: 60px;
    }
    
    .form-column {
        flex: 0 0 360px;
    }
    
    .newsletter-usp.layout-horizontal .usp-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 20px;
    }
    
    .newsletter-usp.layout-horizontal .usp-item {
        flex: 0 1 auto;
        min-width: 0;
    }
    
    .newsletter-usp.layout-horizontal .usp-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
}

@media (max-width: 1023px) {
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .row {
        flex-direction: column;
        gap: 0;
        margin-top: 40px;
    }
    
    .content-column, 
    .form-column {
        flex: none;
        max-width: none;
    }
    
    .form-column {
        order: -1;
        position: static;
        top: auto;
        z-index: auto;
        margin: 0 0 10px 0;
        width: 100%;
        flex: none;
        transition: transform 0.2s ease-in-out;
    }
    
    body.header-visible .form-column {
        transform: translateY(8px);
    }
    
    .site-header {
        padding: 16px 0;
    }
    
    .site-title a {
        font-size: 18px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #f8f9fa;
        z-index: 9999;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        min-width: auto;
    }
    
    .nav-menu.active ul,
    .nav-menu.active #primary-menu,
    .nav-menu.active .menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 400px;
        text-align: center;
        list-style: none;
        align-items: center;
        position: relative;
        z-index: 10000;
        visibility: visible;
        opacity: 1;
        background: transparent;
        border: none;
    }
    
    .nav-menu.active li,
    .nav-menu.active .menu-item {
        display: block;
        width: 100%;
        margin: 0;
        position: relative;
        z-index: 10000;
        visibility: visible;
        opacity: 1;
        background: transparent;
        border: none;
    }
    
    .nav-menu.active a {
        display: block;
        padding: 28px 20px;
        color: #525252;
        font-size: 28px;
        font-weight: 400;
        text-decoration: none;
        border-radius: 0;
        border: none;
        background: transparent;
        transition: all 0.2s ease;
        width: 100%;
        text-align: center;
        position: relative;
        letter-spacing: -0.01em;
        margin: 0;
        line-height: 1.2;
        z-index: 10000;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-menu.active a:hover {
        color: #171717;
        background: transparent;
    }
    
    .nav-menu.active .current-menu-item a {
        color: #171717;
        font-weight: 500;
        background: transparent;
    }
    
    .nav-menu.active .menu-item:last-child {
        margin-top: 40px;
        padding: 0 20px;
    }
    
    .nav-menu.active .menu-item:last-child a {
        background: #171717;
        color: #ffffff;
        border-radius: 50px;
        padding: 18px 40px;
        font-weight: 500;
        font-size: 20px;
        border: none;
        transition: all 0.3s ease;
        letter-spacing: 0;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .nav-menu.active .menu-item:last-child a:hover {
        background: #404040;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .content-blocks h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .date-header {
        margin-bottom: 40px;
    }
    
    .date-header .date-value {
        font-size: 24px;
    }
    
    .content-block {
        padding-top: 0;
        margin-bottom: 48px;
    }
    
    .content-block h3,
    .block-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .block-date {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .newsletter-form {
        width: 50%;
        margin: 30px auto;
        padding: 16px 0;
    }
    
    .newsletter-form h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .newsletter-form p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .hero-input-wrapper {
        flex-direction: column;
        padding: 6px;
        border-radius: 10px;
    }
    
    .hero-email-input {
        padding: 14px 16px;
        border-radius: 6px;
        margin-bottom: 6px;
        width: 100%;
    }
    
    .hero-submit-btn {
        padding: 14px 20px;
        border-radius: 6px;
        width: 100%;
        min-width: auto;
    }
    
    .newsletter-usp {
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .usp-list {
        gap: 10px;
    }
    
    .usp-item {
        font-size: 13px;
        gap: 8px;
    }
    
    .usp-emoji {
        font-size: 14px;
        width: 16px;
        height: 16px;
    }
    
    .newsletter-usp.style-card {
        padding: 12px;
        margin-top: 16px;
    }
    
    .lead-magnet-block {
        margin-top: 24px;
        padding: 24px;
        position: static;
        top: auto;
    }
    
    .lead-magnet-block h3 {
        font-size: 18px;
    }
    
    .lead-magnet-block p {
        font-size: 14px;
    }
    
    .story-header,
    .story-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        font-size: 20px;
    }

    .story-title-wrapper,
    .story-title-content {
        width: 100%;
    }
    
    .story-link,
    .story-link-button {
        align-self: flex-start;
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .story-source {
        margin-top: 4px;
    }
    
    .story-category {
        margin-top: 0;
    }

    .sources-list li,
    .source-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-right: 0;
    }
    
    .source-content,
    .source-info {
        width: 100%;
    }
    
    .source-link,
    .source-link-button {
        align-self: flex-start;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .sources h4,
    .sources-title {
        font-size: 11px;
        margin-bottom: 20px;
    }
    
    .site-footer {
        padding: 40px 0 20px;
        margin-top: 80px;
    }
    
    .footer-nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .footer-nav-menu a {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .footer-content {
        margin-bottom: 30px;
    }
    
    .footer-branding {
        margin-bottom: 24px;
    }
    
    .footer-logo {
        font-size: 18px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .footer-copyright {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .site-header {
        padding: 12px 0;
    }
    
    .site-title a {
        font-size: 16px;
    }
    
    .row {
        gap: 30px;
        margin-top: 15px;
    }
    
    .form-column {
        position: static;
        top: auto;
    }
    
    body.header-visible .form-column {
        transform: translateY(4px);
    }
    
    .newsletter-form {
        width: 100%;
        padding: 12px 0;
    }
    
    .newsletter-form h2 {
        font-size: 18px;
    }
    
    .content-blocks h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .date-header .date-value {
        font-size: 20px;
    }
    
    .content-block h3,
    .block-title {
        font-size: 18px;
    }
    
    .block-date {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .hero-input-wrapper {
        padding: 4px;
        border-radius: 8px;
    }
    
    .hero-email-input {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .hero-submit-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .newsletter-usp {
        margin-top: 16px;
        padding-top: 12px;
    }
    
    .usp-list {
        gap: 8px;
    }
    
    .usp-item {
        font-size: 12px;
        gap: 6px;
    }
    
    .usp-emoji {
        font-size: 13px;
        width: 14px;
        height: 14px;
    }
    
    .lead-magnet-block {
        padding: 20px;
        position: static;
        top: auto;
    }
    
    .lead-magnet-block h3 {
        font-size: 16px;
    }
    
    .story-header,
    .story-title {
        font-size: 18px;
    }
    
    .story-link,
    .story-link-button {
        font-size: 10px;
        padding: 5px 10px;
        min-width: 40px;
    }
    
    .nav-menu.active a {
        font-size: 26px;
        padding: 24px 15px;
    }
    
    .nav-menu.active .menu-item:last-child a {
        font-size: 18px;
        padding: 16px 32px;
        max-width: 180px;
    }
    
    .site-footer {
        padding: 30px 0 20px;
        margin-top: 60px;
    }
    
    .footer-nav-menu {
        gap: 16px;
    }
    
    .footer-nav-menu a {
        font-size: 15px;
    }
    
    .footer-logo {
        font-size: 16px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .nav-menu.active a {
        font-size: 24px;
        padding: 20px 15px;
    }
    
    .nav-menu.active .menu-item:last-child a {
        font-size: 16px;
        padding: 14px 28px;
        max-width: 160px;
    }
}

/* =================================
   BUTTON STYLES - ADD TO END OF style.css
   ================================= */

/* Subscription buttons consistent styling */
#subscribe-button,
.hero-submit-btn,
.export-button,
.subscription-button,
.newsletter-submit {
    background: #6f459e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    min-height: 48px !important;
}

/* Button hover states */
#subscribe-button:hover:not(:disabled),
.hero-submit-btn:hover:not(:disabled),
.export-button:hover:not(:disabled),
.subscription-button:hover:not(:disabled),
.newsletter-submit:hover:not(:disabled) {
    background: #945dd2 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(111, 69, 158, 0.25) !important;
}

/* Button active states */
#subscribe-button:active,
.hero-submit-btn:active,
.export-button:active,
.subscription-button:active,
.newsletter-submit:active {
    transform: translateY(0) !important;
}

/* Button disabled states */
#subscribe-button:disabled,
.hero-submit-btn:disabled,
.export-button:disabled,
.subscription-button:disabled,
.newsletter-submit:disabled {
    background: #d1d5db !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Button loading state */
#subscribe-button.loading,
.hero-submit-btn.loading,
.export-button.loading,
.subscription-button.loading,
.newsletter-submit.loading {
    background: #6366f1 !important;
    color: #ffffff !important;
}

/* Navigation Join Free button consistency */
.nav-menu .menu-item:last-child a {
    background: #6f459e !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    border-radius: 24px !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.nav-menu .menu-item:last-child a:hover {
    background: #945dd2 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Mobile navigation button */
.nav-menu.active .menu-item:last-child a {
    background: #6f459e !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 18px 40px !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.nav-menu.active .menu-item:last-child a:hover {
    background: #945dd2 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(111, 69, 158, 0.25) !important;
}

/* Secondary buttons (if needed) */
.button-secondary,
.btn-secondary {
    background: #737373 !important;
    color: #ffffff !important;
    border: 1px solid #737373 !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.button-secondary:hover,
.btn-secondary:hover {
    background: #525252 !important;
    border-color: #525252 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Link buttons (like story and source links) */
.story-link,
.story-link-button,
.source-link,
.source-link-button {
    /* These keep their existing specific colors as defined earlier in CSS */
}

/* WordPress admin buttons consistency */
.wp-admin .button.button-primary {
    background: #6f459e !important;
    border-color: #6f459e !important;
}

.wp-admin .button.button-primary:hover {
    background: #945dd2 !important;
    border-color: #945dd2 !important;
}


.single-post .wp-block-list:not(.numbered-list) {
    padding: 6px 30px;
}

.single-post .wp-block-list li {
    margin-bottom: 1rem;
}


/* =================================
   NUMBERED & ICON LIST STYLES - ADD TO END OF style.css
   ================================= */

/* Base numbered list style */
.numbered-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 32px 0 !important;
    counter-reset: numbered-counter;
}

.numbered-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-bottom: 32px !important;
    padding: 24px !important;
    counter-increment: numbered-counter;
    position: relative !important;
    background: #fafafa !important;
    border-radius: 12px !important;
    border: 1px solid #f0f0f0 !important;
    transition: all 0.2s ease !important;
    list-style: none !important;
}

.numbered-list li:hover {
    background: #f5f5f5 !important;
    border-color: #e5e5e5 !important;
}

.numbered-list li::before {
    content: counter(numbered-counter) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    color: #8b5cf6 !important;
    border: 2px solid #c4b5fd !important;
    border-radius: 50% !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.numbered-list li p {
    margin: 0 !important;
    flex: 1 !important;
    line-height: 1.6 !important;
    color: #525252 !important;
    font-size: 16px !important;
}

.numbered-list li strong {
    color: #171717 !important;
    font-weight: 600 !important;
}

/* Color scheme variations */
.numbered-list.blue li::before {
    background: transparent !important;
    color: #2563eb !important;
    border: 2px solid #93c5fd !important;
}

.numbered-list.green li::before {
    background: transparent !important;
    color: #059669 !important;
    border: 2px solid #86efac !important;
}

.numbered-list.purple li::before {
    background: transparent !important;
    color: #8b5cf6 !important;
    border: 2px solid #c4b5fd !important;
}

.numbered-list.red li::before {
    background: transparent !important;
    color: #dc2626 !important;
    border: 2px solid #fca5a5 !important;
}

.numbered-list.gray li::before {
    background: transparent !important;
    color: #6b7280 !important;
    border: 2px solid #d1d5db !important;
}

/* Icon list styles */
.icon-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 32px 0 !important;
}

.icon-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-bottom: 32px !important;
    padding: 24px !important;
    position: relative !important;
    background: #fafafa !important;
    border-radius: 12px !important;
    border: 1px solid #f0f0f0 !important;
    transition: all 0.2s ease !important;
    list-style: none !important;
}

.icon-list li:hover {
    background: #f5f5f5 !important;
    border-color: #e5e5e5 !important;
}

/* Checkmark icons */
.icon-list.checkmarks li::before {
    content: "✓" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    color: #059669 !important;
    border: 2px solid #86efac !important;
    border-radius: 50% !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

/* Heart icons */
.icon-list.hearts li::before {
    content: "♥" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    color: #be185d !important;
    border: 2px solid #f9a8d4 !important;
    border-radius: 50% !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

/* Star icons */
.icon-list.stars li::before {
    content: "★" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    color: #d97706 !important;
    border: 2px solid #fbbf24 !important;
    border-radius: 50% !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.icon-list li p {
    margin: 0 !important;
    flex: 1 !important;
    line-height: 1.6 !important;
    color: #525252 !important;
    font-size: 16px !important;
}

.icon-list li strong {
    color: #171717 !important;
    font-weight: 600 !important;
}

/* Size variations */
.numbered-list.size-small li::before,
.icon-list.size-small li::before {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
}

.numbered-list.size-large li::before,
.icon-list.size-large li::before {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .numbered-list li,
    .icon-list li {
        gap: 16px !important;
        margin-bottom: 24px !important;
        padding: 20px !important;
    }
    
    .numbered-list li::before,
    .icon-list li::before {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        margin-top: 1px !important;
    }
    
    .numbered-list li p,
    .icon-list li p {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .numbered-list li,
    .icon-list li {
        gap: 12px !important;
        margin-bottom: 20px !important;
        padding: 16px !important;
    }
    
    .numbered-list li::before,
    .icon-list li::before {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .numbered-list li p,
    .icon-list li p {
        font-size: 14px !important;
    }
}


/* Simple Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: lightboxZoom 0.3s ease-out;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Clickable image cursor */
.entry-content img,
.content-block img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.entry-content img:hover,
.content-block img:hover {
    transform: scale(1.02);
}


/* =================================
   CONSISTENT 655PX CONTENT WIDTH FOR ALL PAGES - ADD TO END OF style.css
   ================================= */

/* Set exact 655px width for all content columns */
.content-column {
    max-width: 655px !important;
    flex: 0 0 655px !important; /* Fixed width instead of flex: 1 */
}

/* Adjust form column to fill remaining space */
.form-column {
    flex: 1 !important; /* Take remaining space after content column */
    min-width: 280px !important; /* Minimum width for functionality */
    max-width: 400px !important; /* Maximum width to prevent too wide sidebar */
}

/* Ensure container can accommodate 655px content + sidebar + gap */
.container {
    max-width: 1200px; /* Keep existing container width */
}

/* Adjust form styling for variable sidebar width */
.newsletter-form {
    padding: 16px 0;
}

.newsletter-form h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.newsletter-form p {
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-input-wrapper {
    margin-bottom: 8px;
}

.hero-email-input {
    padding: 12px 16px;
    font-size: 14px;
}

.hero-submit-btn {
    padding: 12px 20px;
    font-size: 14px;
}

/* Adjust lead magnet block */
.lead-magnet-block {
    padding: 24px 20px;
}

.lead-magnet-block h3 {
    font-size: 18px;
}

.lead-magnet-block p {
    font-size: 13px;
}

/* USP adjustments */
.newsletter-usp {
    margin-top: 16px;
    padding-top: 12px;
}

.usp-item {
    font-size: 12px;
    gap: 8px;
}

.usp-emoji {
    font-size: 14px;
    width: 16px;
    height: 16px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .content-column {
        max-width: 600px !important;
        flex: 0 0 600px !important;
    }
    
    .form-column {
        min-width: 260px !important;
        max-width: 380px !important;
    }
}

@media (max-width: 1024px) {
    .content-column {
        max-width: 550px !important;
        flex: 0 0 550px !important;
    }
    
    .form-column {
        min-width: 280px !important;
        max-width: 320px !important;
    }
}

/* Mobile - all pages use full width */
@media (max-width: 1023px) {
    .content-column,
    .form-column {
        max-width: none !important;
        flex: none !important;
    }
    
    .form-column {
        order: -1;
        position: static;
        top: auto;
        z-index: auto;
        margin: 0 0 10px 0;
        width: 100%;
    }
    
    /* Reset form styling on mobile */
    .newsletter-form {
        width: 80%;
        margin: 30px auto;
        padding: 16px 0;
    }
    
    .newsletter-form h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .newsletter-form p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-email-input {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .hero-submit-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .usp-item {
        font-size: 13px;
        gap: 8px;
    }
    
    .usp-emoji {
        font-size: 14px;
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        width: 100%;
        padding: 12px 0;
    }
    
    .newsletter-form h2 {
        font-size: 18px;
    }
    
    .hero-email-input {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .hero-submit-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .usp-item {
        font-size: 12px;
        gap: 6px;
    }
    
    .usp-emoji {
        font-size: 13px;
        width: 14px;
        height: 14px;
    }
}


/* Single Post Styles - One Column Layout */
.single-post-container {
    max-width: 800px; /* Exact width from the screenshot */
    margin: 0 auto;
    padding: 40px 20px;
    padding-right: 56px;
}

.single-post-content {
    width: 100%;
}

.single-post-article {
    background: #fff;
    <!-- padding: 60px; /* Increased padding for wider content area */ -->
    margin-bottom: 40px;
    border-radius: 8px;
    border-bottom: 1px;
    border-color: #000;
    <!-- box-shadow: 0 2px 6px rgba(0,0,0,0.1); -->
}

.single-post-header {
    margin-bottom: 40px;
}

.back-to-blog {
    margin-bottom: 20px;
}

.back-to-blog a {
    color: #2271b1;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.back-to-blog a:hover {
    color: #135e96;
}

.post-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.post-title {
    margin: 0;
    font-size: 2.2em;
    line-height: 1.2;
    color: #333;
    font-weight: 700;
}

.featured-image {
    margin-bottom: 40px;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.1em;
    max-width: none; /* Remove width limitation for content */
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 1em;
    margin-bottom: 1em;
    color: #333;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.post-content blockquote {
    border-left: 4px solid #2271b1;
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #666;
}

.page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.no-post {
    background: #ffe6e6;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.no-post h2 {
    margin-bottom: 1em;
    color: #d63638;
}

.no-post a {
    color: #2271b1;
    text-decoration: none;
}

/* Subscription Form Shortcode Styles */
.subscription-form-inline {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.subscription-form-inline h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.5em;
}

.subscription-form-inline p {
    margin-bottom: 20px;
    color: #666;
}

.subscription-form-inline .form-group {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.subscription-form-inline input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.subscription-form-inline button {
    background: #2271b1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.subscription-form-inline button:hover {
    background: #135e96;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .single-post-container {
        max-width: 700px;
        padding: 30px 20px;
    }
    
    .single-post-article {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .single-post-container {
        padding: 20px 15px;
    }
    
    .single-post-article {
        padding: 25px 20px;
    }
    
    .post-title {
        font-size: 1.8em;
    }
    
    .post-content {
        font-size: 1em;
    }
    
    .subscription-form-inline .form-group {
        flex-direction: column;
    }
    
    .subscription-form-inline button {
        width: 100%;
    }
}

/* ============================================================================
   FLOATING SUBSCRIPTION BUTTON STYLES
   ============================================================================ */

/* Simple Floating Button Styles */
.floating-sub-btn.floating-simple {
    position: fixed;
    right: 20px;
    top: 20%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    overflow: hidden;
}

.floating-sub-btn.floating-simple:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
    right: 15px;
}

.button-image-simple {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.button-icon-simple {
    font-size: 28px;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Pulse Animation */
.floating-sub-btn.floating-simple::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.3;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* ============================================================================
   MODAL STYLES
   ============================================================================ */

.subscription-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.subscription-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    max-width: 500px;
    margin: 50px auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: #2271b1;
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

.modal-description {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
}

.floating-form .form-group {
    margin-bottom: 20px;
}

/* Override some main form styles for modal context */
.modal-body .newsletter-usp {
    margin: 20px 0;
}

.modal-body .usp-list {
    justify-content: center;
    gap: 20px;
}

.modal-body .form-disclaimer {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

/* ============================================================================
   MOBILE RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .floating-sub-btn.floating-simple {
        width: 60px;
        height: 60px;
        right: 15px;
    }
    
    .button-image-simple {
        width: 40px;
        height: 40px;
    }
    
    .button-icon-simple {
        font-size: 24px;
    }
    
    .modal-content {
        margin: 20px;
        max-width: none;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .floating-form .form-group {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .floating-sub-btn.floating-simple {
        right: 10px;
        width: 55px;
        height: 55px;
    }
    
    .button-image-simple {
        width: 35px;
        height: 35px;
    }
    
    .button-icon-simple {
        font-size: 20px;
    }
}

/* =================================
   SINGLE POST STATIC HEADER STYLES - ADD TO END OF style.css
   ================================= */

/* Static header behavior for single posts */
.single-post-static-header .site-header,
.single .site-header {
    position: static !important; /* Static positioning instead of fixed */
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

/* Remove fixed positioning classes on single posts */
.single-post-static-header .site-header.header-static-single,
.single .site-header.header-static-single {
    position: static !important;
    visibility: visible !important;
    display: block !important;
}

/* Remove form movement animations on single posts */
.single-post-static-header .form-column,
.single .form-column {
    transform: none !important;
    transition: none !important;
}

/* Adjust body padding for static header on single posts */
.single-post-static-header,
.single {
    padding-top: 0 !important; /* No padding needed for static header */
}

/* Override any header animation classes on single posts */
.single-post-static-header .site-header.header-hidden,
.single .site-header.header-hidden,
.single-post-static-header .site-header.header-visible,
.single .site-header.header-visible {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    top: auto !important;
}

/* Ensure TOC positioning accounts for static header */
.single-post-static-header #table-of-contents,
.single #table-of-contents {
    top: 50% !important; /* Keep TOC centered */
}

/* Optimized scroll margin for headings with static header */
.single-post-static-header .post-content h1,
.single-post-static-header .post-content h2,
.single-post-static-header .post-content h3,
.single-post-static-header .post-content h4,
.single-post-static-header .post-content h5,
.single-post-static-header .post-content h6,
.single-post-static-header .post-title,
.single .post-content h1,
.single .post-content h2,
.single .post-content h3,
.single .post-content h4,
.single .post-content h5,
.single .post-content h6,
.single .post-title {
    scroll-margin-top: 20px !important; /* Minimal offset for static header */
}

/* Subscription form scroll margin */
.single-post-static-header .single-post-subscription .newsletter-form h2,
.single .single-post-subscription .newsletter-form h2 {
    scroll-margin-top: 20px !important;
}

/* Remove any conflicting styles */
.single-post-static-header .site-header,
.single .site-header {
    z-index: auto !important; /* Remove high z-index */
    box-shadow: none !important; /* Remove shadow if not needed */
}

/* =================================
   TOC FOOTER COLLISION STYLES - ADD TO END OF table-of-contents.css
   ================================= */

/* Enhanced positioning for TOC near footer */
#table-of-contents {
    transition: transform 0.3s ease-out; /* Smooth transitions when moving up/down */
}

/* When TOC is near footer - add visual indication */
#table-of-contents.toc-near-footer {
    /* Optional: Add subtle visual change when near footer */
    <!-- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */ -->
}

/* Ensure TOC doesn't go below viewport bottom */
#table-of-contents.toc-near-footer {
    max-height: calc(80vh - 100px); /* Reduce max height when near footer */
    overflow-y: auto; /* Enable scrolling if content is too tall */
}

/* Alternative positioning method for very long TOCs */
@media (max-height: 800px) {
    #table-of-contents.toc-near-footer {
        max-height: calc(70vh - 80px);
    }
}

/* Smooth scrollbar when TOC is constrained */
#table-of-contents.toc-near-footer::-webkit-scrollbar {
    width: 6px;
}

#table-of-contents.toc-near-footer::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

#table-of-contents.toc-near-footer::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

#table-of-contents.toc-near-footer::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* =================================
   FOOTER MARGIN ADJUSTMENTS
   ================================= */

/* Ensure footer has enough top margin for TOC clearance */
.site-footer {
    margin-top: 120px !important; /* Increased margin for TOC clearance */
    position: relative;
    z-index: 1; /* Ensure footer is above any background elements */
}

/* Single post specific footer adjustments */
.single-post-static-header .site-footer,
.single .site-footer {
    margin-top: 150px !important; /* Extra margin on single posts */
}

/* =================================
   RESPONSIVE FOOTER BEHAVIOR
   ================================= */

@media (max-width: 1400px) {
    .site-footer {
        margin-top: 100px !important;
    }
    
    .single-post-static-header .site-footer,
    .single .site-footer {
        margin-top: 130px !important;
    }
}

@media (max-width: 1200px) {
    /* When TOC is hidden, reduce footer margin */
    .site-footer {
        margin-top: 80px !important;
    }
    
    .single-post-static-header .site-footer,
    .single .site-footer {
        margin-top: 80px !important;
    }
}

/* =================================
   ENHANCED TOC POSITIONING
   ================================= */

/* Improved transition for all TOC position changes */
#table-of-contents {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                max-height 0.3s ease,
                box-shadow 0.3s ease;
}

/* Prevent TOC from jumping during transitions */
#table-of-contents.toc-visible {
    transform: translateY(-41%);
}

/* Ensure proper positioning on page load */
#table-of-contents:not(.toc-near-footer) {
    transform: translateY(-50%);
}

/* =================================
   DEBUGGING STYLES (remove in production)
   ================================= */

/* Uncomment to visualize footer detection area
.site-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: rgba(255, 0, 0, 0.1);
    pointer-events: none;
    z-index: -1;
}
*/

/* =================================
   FALLBACK FOR EDGE CASES
   ================================= */

/* If TOC gets stuck, this ensures it never goes below viewport */
#table-of-contents {
    bottom: auto !important;
    max-height: 90vh !important;
}

/* Ensure TOC is never completely hidden behind footer */
@media (min-width: 1201px) {
    body {
        min-height: 100vh;
        position: relative;
    }
    
    .site-footer {
        position: relative;
        z-index: 2;
    }
    
    #table-of-contents {
        z-index: 100; /* Lower than header (1000) but above content */
    }
}

.story-link-button,
.source-link-button {
    display: none !important;
}

/* News Items CSS */

/* Container for news items */
.content-block .news-items {
    margin-bottom: 25px;
}

/* Individual news item */
.news-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

/* News title styling */
.news-item .news-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    <!-- margin: 0 0 8px 0; -->
    color: #333;
}

.news-item .news-title-link {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

/* News meta (source) */
.news-item .news-meta {
    margin-bottom: 12px;
}

.news-item .news-source {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

/* News description */
.news-item .news-description {
    margin-bottom: 0;
}

.news-item .news-description p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Block title when news items are present */
.content-block:has(.news-items) .block-title {
    margin-bottom: 20px;
    font-size: 22px;
}

/* Hide date when news items are present */
.content-block:has(.news-items) .block-date {
    display: none;
}

/* Responsive design for mobile */
@media (max-width: 600px) {
    .news-item {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .news-item .news-title {
        font-size: 18px;
    }
    
    .news-item .news-description p {
        font-size: 14px;
    }
}

.story-label {
    font-size: 13px;
    padding-bottom: 6px;
}

/* ================================================
   ENHANCED PAGE BACKGROUND FIX - ADD TO TOP OF style.css
   ================================================ */

/* Force white background for ALL page elements */

/* Specific page containers */
body,
.site-content,
.subscription-page {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.hero-email-input {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #333333 !important;
    background-color: transparent !important;
}

i

/* Override browser default dark styles */
@media (prefers-color-scheme: dark) {

    *::before,
    *::after {
        background-color: #ffffff !important;
        color: #333333 !important;
    }
    
    html,
    body {
        background-color: #ffffff !important;
        color: #333333 !important;
        filter: none !important;
    }
}



/* Override any theme-specific dark styles */
.dark,
.dark-theme,
.theme-dark,
[data-theme="dark"] {
    background-color: #ffffff !important;
    color: #333333 !important;
}