/* ============================================================
   ARTICLE / DIGITAL LABS STYLES
   ============================================================ */

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 80px 20px;
    box-sizing: border-box;
    width: 100%;
}

.article-single-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 30px 20px 100px 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Category & Tag Badges */
.article-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e0e7ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.article-cat-badge:hover {
    background-color: #c7d2fe;
    color: #3730a3;
}

body.night-mode .article-cat-badge {
    background-color: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

body.night-mode .article-cat-badge:hover {
    background-color: rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
}

.article-read-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #f1f5f9;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

body.night-mode .article-read-badge {
    background-color: #27272a;
    color: #a1a1aa;
}

/* Article Card in Grid */
.article-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
    text-decoration: none !important;
}

body.night-mode .article-card {
    background: #242424;
    border-color: #383838;
    color: #f1f3f4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

body.night-mode .article-card:hover {
    border-color: #4a4a4a;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.article-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
    overflow: hidden;
}

body.night-mode .article-image-container {
    background: #18181b;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-top-meta {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}

body.night-mode .article-date-row {
    color: #94a3b8;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    margin: 0 0 12px 0;
    transition: color 0.2s ease;
}

.article-card:hover .article-title {
    color: #2563eb;
}

body.night-mode .article-title {
    color: #f8fafc;
}

body.night-mode .article-card:hover .article-title {
    color: #60a5fa;
}

.article-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
    flex-grow: 1;
}

body.night-mode .article-excerpt {
    color: #cbd5e1;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    font-size: 0.85rem;
}

body.night-mode .article-footer {
    border-top-color: #333333;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #334155;
}

body.night-mode .article-author-info {
    color: #e2e8f0;
}

.article-author-avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.8rem;
}

body.night-mode .article-stats {
    color: #94a3b8;
}

/* Categories List / Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    background: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

body.night-mode .category-card {
    background: #242424;
    border-color: #383838;
    color: #f1f3f4;
}

body.night-mode .category-card:hover {
    background: #2a2a2a;
    border-color: #60a5fa;
    color: #60a5fa;
}

.category-card-count {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

body.night-mode .category-card-count {
    background: #333333;
    color: #cbd5e1;
}

/* Tags Cloud */
.tags-cloud-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tag-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.tag-cloud-item:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tag-cloud-item:hover .tag-cloud-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

body.night-mode .tag-cloud-item {
    background: #242424;
    border-color: #383838;
    color: #cbd5e1;
}

body.night-mode .tag-cloud-item:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.tag-cloud-count {
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.72rem;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

body.night-mode .tag-cloud-count {
    background: #383838;
    color: #94a3b8;
}

/* ============================================================
   SINGLE ARTICLE DETAIL PAGE
   ============================================================ */

.article-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 24px;
}

.article-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
    color: #2563eb;
    text-decoration: underline;
}

body.night-mode .article-breadcrumbs,
body.night-mode .article-breadcrumbs a {
    color: #94a3b8;
}

body.night-mode .article-breadcrumbs a:hover {
    color: #60a5fa;
}

.article-single-header {
    margin-bottom: 28px;
}

.article-single-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin: 16px 0;
}

@media screen and (max-width: 768px) {
    .article-single-title {
        font-size: 1.75rem;
    }
}

body.night-mode .article-single-title {
    color: #f8fafc;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.88rem;
    color: #64748b;
}

body.night-mode .article-meta-bar {
    border-bottom-color: #333333;
    color: #94a3b8;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-featured-image-box {
    margin: 30px 0 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 480px;
    background: #0f172a;
}

.article-featured-image {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Article Body Typography / Prose */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 40px;
}

body.night-mode .article-body {
    color: #e2e8f0;
}

.article-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 40px 0 18px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

body.night-mode .article-body h2 {
    color: #f8fafc;
    border-bottom-color: #333333;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0f172a;
    margin: 30px 0 14px 0;
}

body.night-mode .article-body h3 {
    color: #f8fafc;
}

.article-body p {
    margin: 0 0 22px 0;
}

.article-body ul,
.article-body ol {
    margin: 0 0 22px 24px;
    padding-left: 10px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 18px 22px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 24px 0;
    border: 1px solid #1e293b;
}

body.night-mode .article-body pre {
    background: #18181b;
    border-color: #27272a;
}

.article-body code:not(pre code) {
    background: #f1f5f9;
    color: #2563eb;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9em;
}

body.night-mode .article-body code:not(pre code) {
    background: #27272a;
    color: #60a5fa;
}

.article-body blockquote {
    border-left: 4px solid #2563eb;
    padding: 12px 20px;
    margin: 24px 0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #334155;
}

body.night-mode .article-body blockquote {
    background: #1e1e24;
    color: #cbd5e1;
    border-left-color: #60a5fa;
}

/* ============================================================
   WORDPRESS-STYLE POST FOOTER: CATEGORY, TAGS, AUTHOR BOX
   ============================================================ */

.wp-post-meta-footer {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.92rem;
}

body.night-mode .wp-post-meta-footer {
    border-top-color: #333333;
    border-bottom-color: #333333;
}

.wp-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wp-meta-label {
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

body.night-mode .wp-meta-label {
    color: #f1f5f9;
}

.wp-tag-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.wp-tag-pill:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

body.night-mode .wp-tag-pill {
    background: #27272a;
    border-color: #3f3f46;
    color: #cbd5e1;
}

body.night-mode .wp-tag-pill:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* WordPress-Style Author Box */
.wp-author-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    margin: 40px 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

@media screen and (max-width: 640px) {
    .wp-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
}

body.night-mode .wp-author-box {
    background: #242424;
    border-color: #383838;
}

.wp-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.wp-author-details {
    flex-grow: 1;
}

.wp-author-header {
    margin-bottom: 8px;
}

.wp-author-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 4px;
}

body.night-mode .wp-author-kicker {
    color: #60a5fa;
}

.wp-author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

body.night-mode .wp-author-name {
    color: #f8fafc;
}

.wp-author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin: 8px 0 14px 0;
}

body.night-mode .wp-author-bio {
    color: #cbd5e1;
}

.wp-author-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.88rem;
    color: #2563eb;
}

@media screen and (max-width: 640px) {
    .wp-author-links {
        justify-content: center;
    }
}

.wp-author-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wp-author-links a:hover {
    text-decoration: underline;
}

body.night-mode .wp-author-links a {
    color: #60a5fa;
}

/* Post Navigation (Prev / Next) */
.wp-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

@media screen and (max-width: 640px) {
    .wp-post-nav {
        grid-template-columns: 1fr;
    }
}

.wp-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.wp-nav-card:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

body.night-mode .wp-nav-card {
    background: #242424;
    border-color: #383838;
}

body.night-mode .wp-nav-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.wp-nav-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.night-mode .wp-nav-label {
    color: #94a3b8;
}

.wp-nav-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

body.night-mode .wp-nav-title {
    color: #f1f5f9;
}

/* Related Articles Section */
.related-articles-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

body.night-mode .related-articles-section {
    border-top-color: #333333;
}

.related-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.night-mode .related-section-title {
    color: #f8fafc;
}

/* ============================================================
   SHARE SECTION STYLES
   ============================================================ */
.wp-share-section {
    margin: 35px 0;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.2s ease;
}

body.night-mode .wp-share-section {
    background: #1e1e1e;
    border-color: #2e2e2e;
}

.wp-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.wp-share-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

body.night-mode .wp-share-title {
    color: #f1f5f9;
}

.wp-share-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

body.night-mode .wp-share-subtitle {
    color: #94a3b8;
}

.wp-share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.share-btn i {
    font-size: 0.95rem;
}

/* X / Twitter */
.share-x {
    background: #000000;
    color: #ffffff !important;
}
.share-x:hover {
    background: #242424;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
body.night-mode .share-x {
    background: #111111;
    border-color: #333333;
}
body.night-mode .share-x:hover {
    background: #222222;
}

/* Facebook */
.share-facebook {
    background: #1877f2;
    color: #ffffff !important;
}
.share-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

/* LinkedIn */
.share-linkedin {
    background: #0a66c2;
    color: #ffffff !important;
}
.share-linkedin:hover {
    background: #095196;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}

/* WhatsApp */
.share-whatsapp {
    background: #25d366;
    color: #ffffff !important;
}
.share-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* Telegram */
.share-telegram {
    background: #229ed9;
    color: #ffffff !important;
}
.share-telegram:hover {
    background: #1e8dc2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35);
}

/* Copy Link */
.share-copy {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
}
.share-copy:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
body.night-mode .share-copy {
    background: #282828;
    color: #e2e8f0 !important;
    border-color: #404040;
}
body.night-mode .share-copy:hover {
    background: #333333;
    border-color: #555555;
    color: #ffffff !important;
}

.share-copy.copied {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #047857 !important;
}
body.night-mode .share-copy.copied {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
}

/* ==========================================================================
   UNSUBSCRIBE PAGE & NEWSLETTER STYLING
   ========================================================================== */

/* Alerts */
.article-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.article-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.article-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.night .article-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.night .article-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Newsletter Box */
.article-newsletter-box {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    padding: 40px 32px;
    margin-top: 48px;
    margin-bottom: 30px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3), 0 8px 10px -6px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-newsletter-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.article-newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.article-newsletter-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.75rem;
}

.article-newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.article-newsletter-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.article-newsletter-form {
    width: 100%;
}

.article-newsletter-input-wrap {
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.night .article-newsletter-input-wrap {
    background: #1e293b;
    border: 1px solid #334155;
}

.article-newsletter-input-wrap .input-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.article-newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px 12px 42px;
    font-size: 0.95rem;
    background: transparent;
    color: #0f172a;
    border-radius: 8px;
}

.night .article-newsletter-input {
    color: #f8fafc;
}

.article-newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.article-newsletter-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.article-newsletter-privacy {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 640px) {
    .article-newsletter-box {
        padding: 30px 20px;
    }
    .article-newsletter-input-wrap {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }
    .article-newsletter-input {
        width: 100%;
    }
    .article-newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Unsubscribe Card */
.unsubscribe-card {
    max-width: 540px;
    margin: 60px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.night .unsubscribe-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.unsubscribe-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 20px;
}

.unsubscribe-icon.success {
    background: #ecfdf5;
    color: #10b981;
}

.unsubscribe-icon.error {
    background: #fef2f2;
    color: #ef4444;
}

.night .unsubscribe-icon.success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.night .unsubscribe-icon.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.unsubscribe-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.night .unsubscribe-title {
    color: #f8fafc;
}

.unsubscribe-message {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

.night .unsubscribe-message {
    color: #94a3b8;
}

.unsubscribe-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.unsubscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.unsubscribe-btn.primary {
    background: #2563eb;
    color: #ffffff;
}

.unsubscribe-btn.primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.unsubscribe-btn.secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.night .unsubscribe-btn.secondary {
    background: #334155;
    color: #f8fafc;
    border-color: #475569;
}

.unsubscribe-btn.secondary:hover {
    background: #e2e8f0;
}

.night .unsubscribe-btn.secondary:hover {
    background: #475569;
}
