/* First Round Inspired Theme - CSS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: rgb(40, 44, 52);
    background-color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(40, 44, 52);
}

h1 { 
    font-size: 60px; 
    line-height: 60px;
}

h2 { 
    font-size: 36px; 
    line-height: 40px;
}

h3 { 
    font-size: 18px; 
    line-height: 28px;
}

h4 { 
    font-size: 1.25rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: rgb(107, 114, 128);
}

a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #666;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: static;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.logo-image {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #666;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
}

.header-actions {
    display: flex;
    align-items: center;
}

.signin-link {
    font-weight: 500;
    color: #666;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    padding: 0.5rem 20px;
    color: #666;
    font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #000;
}

/* Main Featured Section - Three Column Layout */
.main-featured-section {
    padding: 4rem 0;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.three-column-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .three-column-grid {
        flex-direction: row;
        gap: 0;
        align-items: flex-start;
    }
}

/* Column 1: Secondary Articles */
.secondary-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 1rem;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .secondary-column {
        width: 312px;
        border-bottom: none;
        padding-bottom: 0;
    }
}

.secondary-article {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.secondary-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


.secondary-image {
    display: block;
}

.secondary-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.secondary-meta {
    margin: 0.5rem 0 0.5rem 0;
}

.secondary-category {
    display: inline-block;
    background: transparent;
    color: #666;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.secondary-category:hover {
    color: #000;
    border-color: #999;
}

.secondary-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.secondary-title a {
    color: #000;
    text-decoration: none;
}

.secondary-excerpt {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

a.secondary-excerpt:hover {
    color: #333;
}

/* Column 2: Main Featured Article */
.main-column {
    padding-left: 1rem;
}

@media (min-width: 1024px) {
    .main-column {
        width: 658px;
        padding-left: 1rem;
    }
}

.main-featured-article {
    display: flex;
    flex-direction: column;
}

.main-featured-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.main-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Featured Article Video */
.featured-video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background-color: #000;
}

.main-featured-meta {
    margin: 0.5rem 0 0.75rem 0;
}

.main-featured-category {
    display: inline-block;
    background: transparent;
    color: #666;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-featured-category:hover {
    color: #000;
    border-color: #999;
}

.main-featured-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 1.5rem;
}

.main-featured-title a {
    color: rgb(40, 44, 52);
    text-decoration: none;
}

.main-featured-excerpt {
    font-size: 24px;
    color: rgb(107, 114, 128);
    line-height: 32px;
    font-weight: 400;
    display: block;
    text-decoration: none;
}

a.main-featured-excerpt:hover {
    color: #333;
}

/* Column 3: Trending Sidebar */
.trending-column {
    background: transparent;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    height: fit-content;
}

@media (min-width: 1024px) {
    .trending-column {
        width: 312px;
        margin-left: 1rem;
    }
}

.trending-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 0;
    color: rgb(40, 44, 52);
}

.trending-list {
    display: flex;
    flex-direction: column;
}

.trending-item {
    width: 100%;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
    background: transparent;
    border-radius: 0;
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-link {
    display: block;
    width: 100%;
    color: #000;
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

.trending-link:hover {
    background-color: transparent;
}

.trending-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trending-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-title-link {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    color: #000;
    text-decoration: none;
}

/* Trending Section */
.trending-section {
    padding: 3rem 0;
    background: #fafafa;
}

.trending-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 0;
    color: rgb(40, 44, 52);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}


.trending-title-link {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.trending-title-link a {
    color: #000;
}

/* Featured Article */
.featured-article {
    padding: 4rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-badge {
    background: #000;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.featured-date {
    color: #666;
    font-size: 0.875rem;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.featured-title a {
    color: #000;
}

.featured-excerpt {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.featured-author {
    display: flex;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-initial {
    font-weight: 600;
    color: #666;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #000;
}

.author-title {
    color: #666;
    font-size: 0.875rem;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Articles Section */
.articles-section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: rgb(40, 44, 52);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.article-card:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.article-category a {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-date {
    color: #999;
    font-size: 0.875rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.article-title a {
    color: #000;
}

.article-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.article-author {
    margin-bottom: 1rem;
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.newsletter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-content {
    max-width: none;
}

.newsletter-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 2rem;
    color: #fff;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.feature {
    display: flex;
    flex-direction: column;
}

.feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.3;
}

.feature p {
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
}

.form-group {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
}

.newsletter-form .form-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px 0 0 6px;
    font-size: 0.875rem;
    background: #fff;
    border-right: none;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.newsletter-form .form-group input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-form .form-group button {
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-group button:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-message {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    color: #fff;
    padding: 0.75rem;
    border-radius: 6px;
}

/* Show form messages when Ghost sets form state or .show class */
.form-message.show,
form[data-members-form].success .form-message[data-members-form-success],
form[data-members-form].error .form-message[data-members-form-error] {
    display: block;
}

.form-message[data-members-form-success] {
    background: rgba(209, 250, 229, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-error,
.form-message[data-members-form-error] {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Phone Mockup */
.newsletter-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #d4af37;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(-3deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.phone-header {
    background: #fff;
    padding: 8px 16px 4px;
    border-bottom: 1px solid #f0f0f0;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.phone-icons {
    display: flex;
    gap: 4px;
}

.phone-content {
    padding: 20px;
    height: calc(100% - 40px);
    overflow-y: auto;
}

.phone-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-number {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    margin-right: 8px;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
}

.phone-article {
    color: #000;
}

.article-meta {
    margin-bottom: 12px;
}

.article-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-right: 8px;
}

.article-subtitle {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #000;
}

.article-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 16px;
}

.article-link {
    font-size: 14px;
    color: #00a8cc;
    text-decoration: underline;
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
}

.article-image {
    margin-top: 20px;
}

.placeholder-image {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.gear-icon,
.block-icon,
.chart-icon {
    font-size: 24px;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.block-icon {
    animation-delay: 0.5s;
}

.chart-icon {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}


/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: #fafafa;
}

.section-subtitle {
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.testimonial blockquote {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.875rem;
}

/* Latest Reads Section */
.latest-reads-section {
    padding-top: 4rem;
    background: #fff;
    margin-bottom: 3em;
}

.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.latest-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: rgb(40, 44, 52);
    margin: 0;
}

.latest-link {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-link:hover {
    color: #666;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.latest-article {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0;
    transition: all 0.2s ease;
    overflow: hidden;
}

.latest-article:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.latest-image {
    margin-bottom: 0;
    display: block;
}

.latest-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.latest-meta {
    margin: 0.75rem 1.5rem 0.5rem 1.5rem;
}

.latest-category {
    display: inline-block;
    background: transparent;
    color: #666;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.latest-category:hover {
    color: #000;
    border-color: #999;
}

.latest-article-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 1.5rem 0.75rem 1.5rem;
}

.latest-article-title a {
    color: #000;
}

.latest-excerpt {
    color: #666;
    margin: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.5;
    display: block;
    text-decoration: none;
}

a.latest-excerpt:hover {
    color: #333;
}

/* Post Page */
.post-page {
    padding: 2rem 0;
}

.post-header {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-category a {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
}

.post-date {
    color: #999;
    font-size: 0.875rem;
}

.post-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 2rem;
    color: rgb(40, 44, 52);
}

.post-author {
    margin-bottom: 2rem;
}

.post-feature-image {
    margin: 2rem 0;
}

.post-feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.post-content {
    padding: 2rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 769px) {
    .content-wrapper h1,
    .content-wrapper h2,
    .content-wrapper h3,
    .content-wrapper h4,
    .content-wrapper h5,
    .content-wrapper h6 {
        margin-top: 1rem;
    }
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.post-footer {
    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
}

.post-tags {
    margin-bottom: 2rem;
}

.post-tags h4 {
    margin-bottom: 1rem;
    color: #000;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #000;
    color: #fff;
}

.post-share h4 {
    margin-bottom: 1rem;
    color: #000;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.share-button:hover {
    background: #000;
    color: #fff;
}

/* Page */
.page {
    padding: 2rem 0;
}

.page-header {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.page-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
    color: rgb(40, 44, 52);
}

.page-content {
    padding: 2rem 0;
}

/* Error Page */
.error-page {
    padding: 4rem 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
}

.error-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.error-button:hover {
    background: #333;
}

/* Author Page */
.author-page {
    padding: 2rem 0;
}

.author-header {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.author-posts {
    padding: 2rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.post-card:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.post-title a {
    color: #000;
}

.post-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: block;
    text-decoration: none;
}

a.post-excerpt:hover {
    color: #333;
}

.post-image {
    display: block;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* Tag Page */
.tag-page {
    padding: 2rem 0;
}


.tag-posts {
    padding: 2rem 0;
}

/* Tag Navigation */
.tag-navigation {
    padding: 0 0 1rem 0;
}

.tag-nav-container {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.tag-nav-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0.5rem 0;
}

.tag-nav-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tag-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tag-nav-link:hover {
    border-color: hsl(220 91% 56%);
    background: hsl(220 91% 56% / 0.1);
    color: hsl(220 91% 56%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px hsl(220 91% 56% / 0.2);
}

.tag-nav-link.active {
    background: hsl(220 91% 56%);
    border-color: hsl(220 91% 56%);
    color: #ffffff;
    box-shadow: 0 2px 8px hsl(220 91% 56% / 0.3);
}

.tag-page-title {
    text-align: center;
}

.tag-page-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Footer */
.site-footer {
    background: #f1f2f4;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 500px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #000;
}

.footer-section h3 a {
    color: #000;
    text-decoration: none;
    pointer-events: auto;
    display: inline;
}

.footer-section h3 a:hover {
    color: #000;
    text-decoration: none;
}

.footer-section a {
    display: block;
    color: #6b7280;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

.footer-section a:hover {
    color: #000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #000;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #000;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        font-size: 0.65rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Newsletter Popup Styles */
.newsletter-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(3px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.newsletter-popup {
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    border-radius: 0;
    padding: 2rem 0;
    max-width: none;
    width: 100vw;
    min-height: auto;
    height: auto;
    position: relative;
    box-shadow: none;
    animation: popupSlideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    pointer-events: none;
}


.popup-content {
    position: relative;
    z-index: 5;
    text-align: left;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem 2rem 0 2rem;
}

.popup-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 1rem;
    color: #fff;
}

.popup-description {
    font-size: 24px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 32px;
    font-weight: 400;
}

.popup-form-group {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    width: 100%;
    max-width: none;
}

.popup-form-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-right: none;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.popup-form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.popup-form-group input::placeholder {
    color: #666;
}

.popup-form-group button {
    padding: 0.875rem 1.5rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.popup-form-group button:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.popup-signin {
    font-size: 0.875rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.popup-signin a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

.popup-signin a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.popup-form-message {
    font-size: 0.875rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: none;
    padding: 0.75rem;
    border-radius: 6px;
}

/* Show popup success message */
form[data-members-form].success .popup-form-message[data-members-form-success],
.popup-form-message[data-members-form-success].success,
.popup-form-message.show {
    display: block;
}

.popup-form-message[data-members-form-success] {
    background: rgba(209, 250, 229, 0.2);
    border: 1px solid rgba(167, 243, 208, 0.3);
}

/* Show popup error message */
form[data-members-form].error .popup-form-message[data-members-form-error],
.popup-form-message.popup-form-error.error,
.popup-form-message.popup-form-error.show {
    display: block;
}

.popup-form-message.popup-form-error,
.popup-form-message[data-members-form-error] {
    color: #ffeb3b;
    background: rgba(255, 235, 59, 0.1);
    border: 1px solid rgba(255, 235, 59, 0.3);
}

.popup-not-now {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.not-now-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.not-now-link:hover {
    color: #fff;
    text-decoration: none;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .three-column-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .secondary-column {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding-right: 0;
        padding-bottom: 2rem;
        order: 2;
    }
    
    .main-column {
        width: 100%;
        border-right: none;
        padding: 0;
        order: 1;
    }
    
    .trending-column {
        width: 100%;
        margin-left: 0;
        order: 3;
    }
    
    .main-featured-title {
        font-size: 2rem;
    }
    
    .main-featured-image img,
    .featured-video {
        height: 300px;
    }
    
    .trending-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .newsletter-mockup {
        display: none;
    }
    
    .newsletter-title {
        font-size: 1.875rem;
    }
    
    .newsletter-features {
        gap: 1.25rem;
        text-align: left;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
        transform: rotate(0deg);
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 6px;
        border-right: 1px solid #e5e5e5;
    }
    
    .form-group button {
        border-radius: 6px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    
    .tag-nav-scroll {
        gap: 0.75rem;
        padding: 0.25rem 0;
    }
    
    .tag-nav-link {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .tag-page-title h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        font-size: 0.65rem !important;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* Popup Responsive Styles */
    .newsletter-popup {
        padding: 1.5rem 0;
        margin: 0;
    }
    
    .popup-content {
        padding: 0.5rem 1rem 0 1rem;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-description {
        font-size: 1rem;
    }
    
    .popup-form-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .popup-form-group input,
    .popup-form-group button {
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .popup-form-group button {
        border-color: #000;
    }
    
    .tag-nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .tag-page-title h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .main-featured-section {
        padding: 2rem 0;
    }
    
    .main-featured-title {
        font-size: 1.75rem;
    }
    
    .main-featured-image img,
    .featured-video {
        height: 250px;
    }
    
    .secondary-image img {
        height: 150px;
    }
    
    .trending-column {
        padding: 1rem;
    }
    
    .articles-section {
        padding: 2rem 0;
    }
    
    .newsletter-section {
        padding: 2rem 0;
    }
    
    .newsletter-mockup {
        display: none;
    }
    
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .article-card {
        padding: 1rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
}

/* Collection Section */
.collection-section {
    padding: 4rem 0;
}

.collection-section .container {
    background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
    padding: 2rem 2rem;
    border-radius: 8px;
}

.collection-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.collection-left {
    max-width: 500px;
}

.collection-header {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3B82F6;
    margin-bottom: 3rem;
}

.collection-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
    color: rgb(40, 44, 52);
    margin-bottom: 1.5rem;
}

.collection-description {
    font-size: 24px;
    color: rgb(107, 114, 128);
    margin-bottom: 2rem;
    line-height: 32px;
    font-weight: 400;
}

.collection-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.collection-button:hover {
    background-color: #333;
}

.collection-right {
    max-width: 500px;
}

.collection-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.collection-article {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.collection-article:last-child {
    border-bottom: none;
}

.collection-article-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.collection-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-article-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.collection-article-title a {
    color: inherit;
    text-decoration: none;
}

.collection-article-title a:hover {
    text-decoration: underline;
}

/* Responsive Design for Collection Section */
@media (max-width: 768px) {
    .collection-section {
        padding: 3rem 0;
    }
    
    .collection-section .container {
        padding: 3rem 1.5rem;
    }
    
    .collection-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .collection-title {
        font-size: 2.25rem;
    }
    
    .collection-article {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .collection-article-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .collection-section {
        padding: 2rem 0;
    }
    
    .collection-section .container {
        padding: 2rem 1rem;
    }
    
    .collection-title {
        font-size: 1.875rem;
    }
    
    .collection-article-image {
        height: 150px;
    }
}

/* Skip the Surface Level Subscribe Section */
.skip-surface-level-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}

.skip-surface-level-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.skip-surface-level-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
    .skip-surface-level-layout {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
        text-align: left;
        max-width: 1000px;
        margin: 0 auto;
    }
}

.skip-surface-level-content {
    flex: 1;
}

.skip-surface-level-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: #3B82F6;
    margin-bottom: 1rem;
    position: relative;
}

.skip-surface-level-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #10B981);
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .skip-surface-level-title {
        font-size: 2.5rem;
    }
}

.skip-surface-level-description {
    font-size: 24px;
    color: rgb(107, 114, 128);
    line-height: 32px;
    margin: 0;
    font-weight: 400;
}

.skip-surface-level-form {
    flex-shrink: 0;
}

.subscribe-form {
    width: 100%;
}

.skip-surface-level-form .form-group {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #3B82F6, #10B981) border-box;
    transition: all 0.3s ease;
}

.skip-surface-level-form .form-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

@media (min-width: 768px) {
    .form-group {
        width: 400px;
    }
}

.skip-surface-level-form .form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #1e293b;
    font-weight: 500;
}

.skip-surface-level-form .form-group input:focus {
    background: rgba(59, 130, 246, 0.05);
}

.skip-surface-level-form .form-group input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.skip-surface-level-form .form-group button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skip-surface-level-form .form-group button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.skip-surface-level-form .form-group button:hover::before {
    left: 100%;
}

.skip-surface-level-form .form-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Responsive Design for Skip Surface Level Section */
@media (max-width: 768px) {
    .skip-surface-level-section {
        padding: 3rem 0;
    }
    
    .skip-surface-level-layout {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .skip-surface-level-title {
        font-size: 1.75rem;
    }
    
    .skip-surface-level-form .form-group {
        flex-direction: column;
        gap: 0;
    }
    
    .skip-surface-level-form .form-group input {
        border-radius: 10px 10px 0 0;
    }
    
    .skip-surface-level-form .form-group button {
        border-radius: 0 0 10px 10px;
    }
}

@media (max-width: 480px) {
    .skip-surface-level-section {
        padding: 2rem 0;
    }
    
    .skip-surface-level-layout {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .skip-surface-level-title {
        font-size: 1.5rem;
    }
    
    .skip-surface-level-description {
        font-size: 1rem;
    }
}

/* ========================================
   ARTICLE PAGE STYLES
   ======================================== */

.article-page {
    background: #fff;
    min-height: 100vh;
}

/* Article Hero Section */
.article-hero {
    padding: 1em 0;
    background: #fff;
}

.hero-category-centered {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-category-centered a {
    background: #f8f8f8;
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-block;
}

.hero-category-centered a:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hero-image-column {
    position: relative;
}

.hero-image {
    position: sticky;
    top: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

/* Hero Video Styles */
.hero-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
}

.hero-video:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.hero-content-column {
    padding-left: 1rem;
}


.hero-meta {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.hero-date {
    color: #999;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: rgb(40, 44, 52);
}

.hero-excerpt {
    font-size: 24px;
    line-height: 32px;
    color: rgb(107, 114, 128);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 400;
}

.hero-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-author .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-author .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-author .author-initial {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #666;
}

.hero-author .author-info {
    flex: 1;
}

.hero-author .author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.hero-author .author-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Date and Author Below Excerpt in Right Column */
.hero-meta-below-excerpt {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.hero-date {
    font-weight: 600;
    color: #000;
}

.meta-separator {
    color: #ccc;
    font-weight: 300;
}

.hero-author-text {
    color: #000;
    font-weight: 600;
}

.hero-author-text .author-name {
    color: #3B82F6;
    font-weight: 600;
}

/* Article Subscribe Section */
.article-subscribe-section {
    padding: 1.5rem 0;
}

.subscribe-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.subscribe-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 0;
}

.subscribe-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.article-subscribe-title {
    font-size: 2rem;
}

.article-subscribe-title .mobile-br {
    display: none;
}

.subscribe-description {
    font-size: 24px;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 32px;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.subscribe-form {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Persistent Subscribe Button */
.persistent-subscribe-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.persistent-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.persistent-subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscribe-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 16px;
    height: 16px;
}

.subscribe-btn-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .persistent-subscribe-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.625rem 1rem;
    }
    
    .subscribe-btn-text {
        font-size: 0.8rem;
    }
    
    .subscribe-btn-icon {
        width: 14px;
        height: 14px;
    }
    
    .subscribe-btn-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* Ensure button stays above other elements */
.persistent-subscribe-btn {
    position: fixed !important;
    z-index: 1000 !important;
}

/* Subscribe Dialog Popup Styles */
.subscribe-dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subscribe-dialog-overlay.show {
    display: flex;
    opacity: 1;
}

.subscribe-dialog {
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 750px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(59, 130, 246, 0.2);
    animation: dialogSlideIn 0.3s ease-out;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
}

.subscribe-dialog-overlay.show .subscribe-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.subscribe-dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    pointer-events: none;
}

.dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dialog-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.dialog-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.dialog-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 1rem;
    color: #fff;
}

.dialog-description {
    font-size: 24px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 32px;
    font-weight: 400;
}

.dialog-form-group {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dialog-form-group input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-right: none;
    color: #000;
    transition: all 0.2s ease;
    outline: none;
}

.dialog-form-group input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.dialog-form-group input::placeholder {
    color: #666;
}

.dialog-form-group button {
    padding: 1rem 1.5rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dialog-form-group button:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
}

.dialog-form-message {
    font-size: 0.875rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: none;
    padding: 0.75rem;
    border-radius: 6px;
}

/* Show dialog success message */
form[data-members-form].success .dialog-form-message[data-members-form-success],
.dialog-form-message[data-members-form-success].success,
.dialog-form-message.show {
    display: block;
}

.dialog-form-message[data-members-form-success] {
    background: rgba(209, 250, 229, 0.2);
    border: 1px solid rgba(167, 243, 208, 0.3);
}

/* Show dialog error message */
form[data-members-form].error .dialog-form-message[data-members-form-error],
.dialog-form-message.dialog-form-error.error,
.dialog-form-message.dialog-form-error.show {
    display: block;
}

.dialog-form-message.dialog-form-error,
.dialog-form-message[data-members-form-error] {
    color: #ffeb3b;
    background: rgba(255, 235, 59, 0.1);
    border: 1px solid rgba(255, 235, 59, 0.3);
}

@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Desktop-only line break */
.desktop-only {
    display: inline;
}

/* Mobile-only line break */
.mobile-only {
    display: none;
}

/* Mobile responsive adjustments for dialog */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: inline;
    }
    
    .subscribe-dialog-overlay {
        padding: 1rem;
    }
    
    .subscribe-dialog {
        padding: 2rem 1.5rem;
        max-width: none;
        margin: 0 1rem;
    }
    
    .dialog-title {
        font-size: 2rem;
    }
    
    .dialog-description {
        font-size: 0.95rem;
    }
    
    .dialog-form-group input,
    .dialog-form-group button {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

.subscribe-form .form-group {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    width: 100%;
    max-width: none;
}

.subscribe-form .form-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-right: none;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.subscribe-form .form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.subscribe-form .form-group input::placeholder {
    color: #666;
}

.subscribe-form .form-group button {
    padding: 0.875rem 1.5rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.subscribe-form .form-group button:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.subscribe-signin {
    font-size: 0.875rem;
    color: #fff;
    margin: 0;
    opacity: 0.9;
}

.subscribe-signin a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.subscribe-signin a:hover {
    opacity: 0.8;
}

.form-message {
    font-size: 0.875rem;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    display: none;
}

/* Show success message when form is in success state */
form[data-members-form].success .form-message[data-members-form-success],
.form-message[data-members-form-success].success {
    display: block;
}

.form-message[data-members-form-success] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Show error message when form is in error state */
form[data-members-form].error .form-message[data-members-form-error],
.form-message[data-members-form-error].error,
.form-message.form-error.error {
    display: block;
}

.form-message.form-error,
.form-message[data-members-form-error] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Article Content */
.article-content {
    padding: 1rem 0;
}

.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: rgb(107, 114, 128);
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: rgb(40, 44, 52);
}

@media (min-width: 769px) {
    .content-wrapper h1,
    .content-wrapper h2,
    .content-wrapper h3,
    .content-wrapper h4,
    .content-wrapper h5,
    .content-wrapper h6 {
        margin-top: 1rem;
    }
}

.content-wrapper h1 {
    font-size: 60px;
    line-height: 60px;
}

.content-wrapper h2 {
    font-size: 36px;
    line-height: 40px;
}

.content-wrapper h3 {
    font-size: 24px;
    line-height: 28px;
}

.content-wrapper h4 {
    font-size: 1.25rem;
    line-height: 1.4;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.content-wrapper blockquote {
    border-left: 4px solid #000;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.content-wrapper code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.content-wrapper pre {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.content-wrapper pre code {
    background: none;
    padding: 0;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.content-wrapper a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.content-wrapper a:hover {
    text-decoration-color: #000;
}

/* Social Share Section */
.social-share-section {
    padding: 1rem 0;
    background: #fff;
}

.social-share-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin-bottom: 1.5rem;
}

.social-share-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.share-label {
    font-weight: 600;
    color: #000;
    font-size: 0.95rem;
}

.social-share-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-share-btn:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

.social-share-btn svg {
    width: 16px;
    height: 16px;
}

/* Suggested Articles Section */
.suggested-articles-section {
    padding: 1rem 0;
    background: #fff;
}

.suggested-articles-title {
    font-size: 36px !important;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(40, 44, 52);
    text-align: left;
    margin-bottom: 2rem;
}

.suggested-articles-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin: 0rem 0;
}

.suggested-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.suggested-article {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 0.5rem 0;
    min-height: 176px; /* 160px image + 8px top padding + 8px bottom padding */
}

.suggested-article-image {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    overflow: hidden;
}

.suggested-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    margin: 0;
    vertical-align: top;
}

.suggested-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.content-wrapper .suggested-article-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: rgb(40, 44, 52);
    margin-bottom: 1rem;
}

.suggested-article-title a {
    color: rgb(40, 44, 52);
    text-decoration: none;
    transition: color 0.2s ease;
}

.suggested-article-title a:hover {
    color: #666;
}

.suggested-article-excerpt {
    font-size: 18px;
    color: rgb(107, 114, 128);
    line-height: 28px;
    margin: 0;
    font-weight: 400;
}

/* Article Footer */
.article-footer {
    padding: 3rem 0;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.article-tags h4,
.article-share h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #fff;
    color: #666;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #666;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.share-button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.share-button svg {
    width: 18px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-hero {
        padding: 2rem 0;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content-column {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hero-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .hero-author .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .content-wrapper {
        font-size: 22px;
    }
    
    .content-wrapper h1 {
        font-size: 2.25rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.875rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.625rem;
    }
    
    .content-wrapper h4 {
        font-size: 1.375rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-button {
        justify-content: center;
    }
    
    .social-share-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-share-buttons {
        justify-content: center;
    }
    
    .suggested-articles-section {
        padding: 2rem 0;
    }
    
    .suggested-articles-title {
        font-size: 1.5rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem;
    }
    
    .suggested-articles-divider {
        display: none;
    }
    
    .suggested-articles-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .suggested-article {
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 0;
        transition: all 0.2s ease;
        overflow: hidden;
        display: block;
        text-align: left;
    }
    
    .suggested-article:hover {
        border-color: #000;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .suggested-article-image {
        width: 100%;
        height: 200px;
        margin-bottom: 0;
        display: block;
    }
    
    .suggested-article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
    
    .suggested-article-content {
        flex: none;
        display: block;
        text-align: left;
        align-items: stretch;
    }
    
    .suggested-article-title {
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0 1.5rem 0.75rem 1.5rem;
    }
    
    .suggested-article-excerpt {
        color: #666;
        margin: 0 1.5rem 1.5rem 1.5rem;
        line-height: 1.5;
        font-size: 0.95rem;
        display: block;
        text-decoration: none;
    }
    
    a.suggested-article-excerpt:hover {
        color: #333;
    }
    
    .article-subscribe-section {
        padding: 1rem 0;
    }
    
    .subscribe-box {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .subscribe-title {
        font-size: 1.875rem;
    }
    
    .article-subscribe-title .mobile-br {
        display: inline;
    }
    
    .subscribe-form .form-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .subscribe-form .form-group input,
    .subscribe-form .form-group button {
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .subscribe-form .form-group button {
        border-color: #000;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .content-wrapper {
        font-size: 22px;
    }
    
    .content-wrapper h1 {
        font-size: 2rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.75rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .content-wrapper h4 {
        font-size: 1.25rem;
    }
}


/* Button text responsive visibility */
.btn-text-mobile {
    display: none;
}

.btn-text-desktop {
    display: inline;
}

@media (max-width: 768px) {
    .btn-text-mobile {
        display: inline;
    }
    
    .btn-text-desktop {
        display: none;
    }
}

/* Koenig Editor Required CSS Classes */
.kg-width-wide {
    width: 100%;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Custom Footer CTA and Site Styling Enhancements */

/* Match main site colors */
:root {
  --color-primary: #2563eb;
  --color-secondary: #0d9488;
  --gradient-primary: linear-gradient(to right, #0d9488, #2563eb);
  --gradient-secondary: linear-gradient(to right, #14b8a6, #3b82f6);
}

/* Style adjustments to match main site */
.gh-head-brand img {
  height: 2.5rem;
}

.gh-button-primary {
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.gh-button-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Card hover effects */
.post-card {
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Custom Footer CTA hover effect */
.custom-footer-cta a:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Copyright text sizing */
.copyright-text {
    font-size: 0.75rem !important;
}

@media (max-width: 768px) {
    .copyright-text {
        font-size: 0.65rem !important;
    }
}

