/*
Theme Name: Kadence Child (WordleHints)
Description: Lightweight, high-performance child theme for WordleHints daily clues, strategy guides & word archives.
Author: WordleHints Editorial Team
Template: kadence
Version: 1.1.0
Text Domain: kadence-child
*/

/* ==========================================================================
   1. Accessibility Baseline & Focus States
   ========================================================================== */

/* Visible focus outline with 4.5:1 contrast */
:focus-visible {
    outline: 2px solid var(--global-palette1, #10b981) !important;
    outline-offset: 2px !important;
}

/* Ensure skip link is clearly visible on focus */
.skip-link:focus,
.skip-to-content:focus {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 999999 !important;
    background: var(--global-palette1, #10b981) !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    outline: 2px solid #ffffff !important;
}

/* Ensure minimum 44px tap target for mobile touch */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.kadence-menu-toggle,
.entry-content a.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   2. Design System Tokens & Difficulty Badges
   ========================================================================== */

.difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Easy (Green) */
.badge-easy {
    background-color: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Medium (Amber) */
.badge-medium {
    background-color: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Medium+ (Orange) */
.badge-medium-plus {
    background-color: rgba(249, 115, 22, 0.12);
    color: #c2410c;
    border: 1px solid rgba(249, 115, 22, 0.35);
}

/* Hard (Red) */
.badge-hard {
    background-color: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Dark Mode Adjustments for Badges */
[data-theme="dark"] .badge-easy,
.color-switch-dark .badge-easy {
    background-color: rgba(16, 185, 129, 0.22);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.5);
}

[data-theme="dark"] .badge-medium,
.color-switch-dark .badge-medium {
    background-color: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.5);
}

[data-theme="dark"] .badge-medium-plus,
.color-switch-dark .badge-medium-plus {
    background-color: rgba(249, 115, 22, 0.22);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.5);
}

[data-theme="dark"] .badge-hard,
.color-switch-dark .badge-hard {
    background-color: rgba(239, 68, 68, 0.22);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.5);
}

/* ==========================================================================
   3. Header & Navigation (Dark Header Polish)
   ========================================================================== */

#masthead,
.site-header,
.site-header-wrap,
.site-main-header-wrap,
.site-top-header-wrap,
.site-bottom-header-wrap,
.site-header-row,
.site-header-row-container-inner,
.site-mobile-header-wrap,
#main-header,
#mobile-header {
    background-color: #0f172a !important;
    border-bottom: 1px solid #1e293b !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#masthead.item-is-fixed,
.site-header.item-is-fixed,
.kadence-sticky-header.item-is-fixed,
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
    background-color: #0f172a !important;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.35) !important;
}

/* Brand logo image constraints & single-logo enforcement on dark header */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding a.brand,
.site-branding a.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.site-branding a.brand img.custom-logo,
.site-branding img.custom-logo,
.site-branding .custom-logo,
.site-header .custom-logo,
#masthead .custom-logo {
    height: auto !important;
    max-height: 92px !important;
    width: auto !important;
    max-width: 251px !important;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-branding a.brand:hover img,
.site-branding a.custom-logo-link:hover img {
    transform: scale(1.02);
}

/* Explicitly suppress any duplicate dark-mode secondary tags to guarantee only one logo renders */
.site-branding a.brand img.kadence-dark-mode-logo {
    display: none !important;
}

/* Desktop: hide mobile compact logo; display desktop logo */
@media (min-width: 1025px) {
    .site-branding a.brand img.extra-custom-logo {
        display: none !important;
    }
}

/* Tablet & Mobile: hide desktop logo; display mobile compact logo */
@media (max-width: 1024px) {
    .site-branding a.brand img.custom-logo,
    .site-header .custom-logo,
    #masthead .custom-logo {
        max-height: 72px !important;
        max-width: 220px !important;
    }
    .site-mobile-header-wrap .site-branding a.brand img.custom-logo:not(.extra-custom-logo) {
        display: none !important;
    }
    .site-mobile-header-wrap .site-branding a.brand img.extra-custom-logo {
        display: block !important;
        max-height: 48px !important;
        max-width: 190px !important;
    }
}

@media (max-width: 767px) {
    .site-mobile-header-wrap .site-header-row-container-inner {
        min-height: 60px;
    }
    .site-mobile-header-wrap .site-branding a.brand img.extra-custom-logo,
    .mobile-logo img {
        max-height: 40px !important;
        max-width: 165px !important;
    }
}

@media (max-width: 400px) {
    .site-mobile-header-wrap .site-branding a.brand img.extra-custom-logo,
    .mobile-logo img {
        max-height: 34px !important;
        max-width: 140px !important;
    }
}

/* Brand logo typography fallback on dark header */
.site-branding .site-title,
.site-branding a.brand,
.site-branding a.brand .site-title,
.site-branding a.brand .site-title-wrap,
.site-branding .site-title-wrap,
.site-title-wrap .site-title,
.site-header .site-title,
.site-header .site-branding .site-title,
.site-header a.brand,
.site-title,
p.site-title,
div.site-title,
.site-title a,
a.brand,
a.brand:hover,
a.brand:visited {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.site-branding a.brand:hover .site-title,
.site-branding .site-title:hover,
.site-header .site-branding a.brand:hover,
.site-header a.brand:hover,
.site-title:hover,
.site-title a:hover {
    color: #34d399 !important;
}

.color-switch-dark .site-branding .site-title,
[data-theme="dark"] .site-branding .site-title,
.color-switch-dark .site-title,
[data-theme="dark"] .site-title,
.color-switch-dark a.brand,
[data-theme="dark"] a.brand {
    color: #f8fafc !important;
}

.color-switch-dark .site-branding a.brand:hover .site-title,
[data-theme="dark"] .site-branding a.brand:hover .site-title {
    color: #34d399 !important;
}

/* Brand Dot indicator */
.site-title a span.brand-dot,
.wordle-brand-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--global-palette1, #10b981) !important;
    margin-left: 2px;
}

/* Navigation items spacing and light color contrast on dark header */
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.main-navigation .primary-menu-container ul.menu > li > a,
.header-navigation .header-menu-container > ul > li > a,
.header-navigation .header-menu-container ul.menu > li > a,
.primary-menu-container ul.menu > li > a,
.header-navigation li.menu-item > a,
#site-navigation ul li a,
#primary-menu > li > a,
#primary-menu li a {
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    color: #f1f5f9 !important;
    text-decoration: none !important;
    transition: color 0.15s ease, background-color 0.15s ease;
}

/* Hover states */
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container ul.menu > li > a:hover,
.header-navigation .header-menu-container > ul > li > a:hover,
.primary-menu-container ul.menu > li > a:hover,
.header-navigation li.menu-item > a:hover,
#site-navigation ul li a:hover,
#primary-menu > li > a:hover,
#primary-menu li a:hover {
    color: #34d399 !important;
    background-color: rgba(52, 211, 153, 0.12) !important;
}

/* Active / Current menu item */
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.menu-item.current_page_item > a,
.main-navigation .primary-menu-container ul.menu > li.current-menu-item > a,
.header-navigation .header-menu-container > ul > li.current-menu-item > a,
.primary-menu-container ul.menu > li.current-menu-item > a,
.header-navigation li.menu-item.current-menu-item > a,
#site-navigation ul li.current-menu-item > a,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a,
#primary-menu > li > a[aria-current="page"] {
    color: #34d399 !important;
    font-weight: 700;
    background-color: rgba(52, 211, 153, 0.12) !important;
}

/* Sub-menus dropdown */
.header-navigation .header-menu-container ul ul,
.header-navigation ul.sub-menu {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px !important;
}

.header-navigation .header-menu-container ul ul li.menu-item > a,
.header-navigation ul.sub-menu li a {
    color: #f1f5f9 !important;
    background: transparent !important;
}

.header-navigation .header-menu-container ul ul li.menu-item > a:hover,
.header-navigation ul.sub-menu li a:hover {
    color: #34d399 !important;
    background-color: rgba(52, 211, 153, 0.12) !important;
}

/* Mobile Header & Drawer */
.site-mobile-header-wrap,
.site-mobile-header-wrap .site-header-row-container-inner {
    min-height: 58px;
    padding: 0 1rem;
    background-color: #0f172a !important;
}

.site-mobile-header-wrap .site-branding .site-title,
.site-mobile-header-wrap a.brand .site-title,
.mobile-site-branding .site-title {
    color: #f8fafc !important;
}

#mobile-toggle,
.mobile-nav-trigger-button,
.kadence-menu-toggle,
.mobile-toggle-open,
.menu-toggle-icon,
.menu-toggle-icon svg,
.kadence-svg-iconset svg,
.kadence-menu-svg {
    color: #f8fafc !important;
    fill: #f8fafc !important;
}

#mobile-toggle:hover .kadence-menu-svg,
#mobile-toggle:hover .menu-toggle-icon {
    color: #34d399 !important;
    fill: #34d399 !important;
}

.mobile-navigation ul li a,
#mobile-drawer .mobile-navigation ul li a {
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 0.875rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: #f1f5f9 !important;
    border-bottom: 1px solid #1e293b !important;
}

.mobile-navigation ul li a:hover,
.mobile-navigation ul li.current-menu-item > a,
#mobile-drawer .mobile-navigation ul li a:hover,
#mobile-drawer .mobile-navigation ul li.current-menu-item > a {
    color: #34d399 !important;
    background-color: rgba(52, 211, 153, 0.08) !important;
}

.color-switch-dark .mobile-navigation ul li a,
[data-theme="dark"] .mobile-navigation ul li a {
    border-bottom-color: #1e293b !important;
    color: #f1f5f9 !important;
}

#mobile-drawer .drawer-inner,
#mobile-drawer .drawer-header,
#mobile-drawer .drawer-content {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

/* ==========================================================================
   4. Single Header Dark Mode Toggle (Priority 1)
   ========================================================================== */

/* Wrapper in desktop and mobile header */
.wordle-theme-toggle-wrap {
    display: inline-flex;
    align-items: center;
    margin-left: 0.75rem;
}

/* Single 44x44px accessible touch target */
.wordle-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #334155;
    border-radius: 10px;
    background-color: #1e293b;
    color: #f1f5f9;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wordle-theme-toggle:hover {
    background-color: #0f172a;
    border-color: #10b981;
    color: #34d399;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.wordle-theme-toggle:active {
    transform: scale(0.95);
}

.wordle-theme-toggle:focus-visible {
    outline: 2px solid var(--global-palette1, #10b981) !important;
    outline-offset: 2px !important;
}

/* Light mode icon state: show Moon icon, hide Sun icon */
.wordle-theme-toggle .wordle-icon-sun {
    display: none;
}
.wordle-theme-toggle .wordle-icon-moon {
    display: block;
    color: #e2e8f0;
    transition: color 0.2s ease;
}

/* Dark mode styling & icon state: show Sun icon, hide Moon icon */
.color-switch-dark .wordle-theme-toggle,
[data-theme="dark"] .wordle-theme-toggle {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

.color-switch-dark .wordle-theme-toggle:hover,
[data-theme="dark"] .wordle-theme-toggle:hover {
    background-color: #0f172a;
    border-color: #10b981;
    color: #34d399;
}

.color-switch-dark .wordle-theme-toggle .wordle-icon-sun,
[data-theme="dark"] .wordle-theme-toggle .wordle-icon-sun {
    display: block;
    color: #fbbf24; /* warm sun amber */
}

.color-switch-dark .wordle-theme-toggle .wordle-icon-moon,
[data-theme="dark"] .wordle-theme-toggle .wordle-icon-moon {
    display: none;
}

/* Strict suppression of redundant Kadence Pro floating/shortcode switchers */
.kadence-color-palette-fixed-switcher,
.kadence-color-palette-switcher {
    display: none !important;
}

/* ==========================================================================
   5. Modern Structured Footer (Dark Footer Polish & High Contrast Visibility)
   ========================================================================== */

.wordle-footer,
.site-footer,
#colophon {
    background-color: #0f172a !important;
    border-top: 1px solid #1e293b !important;
    padding: 3.5rem 0 1.75rem;
    margin-top: 4rem;
    color: #cbd5e1 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.color-switch-dark .wordle-footer,
[data-theme="dark"] .wordle-footer,
.color-switch-dark .site-footer,
[data-theme="dark"] .site-footer,
.color-switch-dark #colophon,
[data-theme="dark"] #colophon {
    background-color: #0f172a !important;
    border-top-color: #1e293b !important;
    color: #cbd5e1 !important;
}

.wordle-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 3-Column Footer Grid */
.wordle-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.25fr 1.25fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
}

/* Column 1: Brand */
.wordle-footer-brand-col {
    display: flex;
    flex-direction: column;
}

.wordle-footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    margin-bottom: 0.85rem;
}

.wordle-brand-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff !important;
    line-height: 1.2;
}

.color-switch-dark .wordle-brand-title,
[data-theme="dark"] .wordle-brand-title {
    color: #ffffff !important;
}

.wordle-brand-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #25c78a !important;
    margin-left: 2px;
    vertical-align: baseline;
}

.wordle-footer-desc,
.site-footer p.wordle-footer-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #cbd5e1 !important;
    margin-bottom: 1.25rem;
    max-width: 380px;
}

.color-switch-dark .wordle-footer-desc,
[data-theme="dark"] .wordle-footer-desc {
    color: #cbd5e1 !important;
}

/* Social Media Icons (Directly under brand description) */
.wordle-footer-social {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.wordle-social-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wordle-social-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: inline-flex !important;
}

/* Perfect Flexbox Centering Inside Social Boxes */
.wordle-social-list li a,
.site-footer .wordle-social-list li a,
.site-footer ul.wordle-social-list li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 10px !important;
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    text-decoration: none !important;
    transform: none !important;
}

.wordle-social-list li a svg,
.site-footer .wordle-social-list li a svg,
.site-footer ul.wordle-social-list li a svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    fill: currentColor !important;
    transition: transform 0.25s ease, fill 0.2s ease !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

/* Base Social Icon Hover State */
.wordle-social-list li a:hover,
.site-footer ul.wordle-social-list li a:hover {
    transform: translateY(-3px) scale(1.06) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}

.wordle-social-list li a:hover svg,
.site-footer ul.wordle-social-list li a:hover svg {
    transform: scale(1.12) !important;
    fill: #ffffff !important;
}

/* Platform-Specific Brand Hover Colors */
/* Facebook: Meta Blue */
.wordle-social-list li a[href*="facebook"]:hover,
.site-footer ul.wordle-social-list li a[href*="facebook"]:hover {
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.45) !important;
}

/* Instagram: Sunset Vibrant Gradient */
.wordle-social-list li a[href*="instagram"]:hover,
.site-footer ul.wordle-social-list li a[href*="instagram"]:hover {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%) !important;
    border-color: #fd1d1d !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(253, 29, 29, 0.45) !important;
}

/* YouTube: Brand Red */
.wordle-social-list li a[href*="youtube"]:hover,
.site-footer ul.wordle-social-list li a[href*="youtube"]:hover {
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.45) !important;
}

/* Pinterest: Authentic Red */
.wordle-social-list li a[href*="pinterest"]:hover,
.site-footer ul.wordle-social-list li a[href*="pinterest"]:hover {
    background-color: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(230, 0, 35, 0.45) !important;
}

/* X / Twitter: Dark Sky Cyan */
.wordle-social-list li a[href*="x.com"]:hover,
.wordle-social-list li a[href*="twitter"]:hover,
.site-footer ul.wordle-social-list li a[href*="x.com"]:hover,
.site-footer ul.wordle-social-list li a[href*="twitter"]:hover {
    background-color: #000000 !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.4) !important;
}

/* LinkedIn: Professional Sapphire */
.wordle-social-list li a[href*="linkedin"]:hover,
.site-footer ul.wordle-social-list li a[href*="linkedin"]:hover {
    background-color: #0a66c2 !important;
    border-color: #0a66c2 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(10, 102, 194, 0.45) !important;
}

.wordle-social-list li a:focus-visible {
    outline: 2px solid #25c78a !important;
    outline-offset: 2px !important;
}

/* Columns 2 & 3: Link lists & Section Headings */
.wordle-footer-heading,
.site-footer h2.wordle-footer-heading,
.site-footer h3.wordle-footer-heading,
.site-footer .widget-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #f8fafc !important;
    margin-top: 0 !important;
    margin-bottom: 1.15rem !important;
    line-height: 1.3 !important;
}

.color-switch-dark .wordle-footer-heading,
[data-theme="dark"] .wordle-footer-heading,
.color-switch-dark .site-footer .widget-title,
[data-theme="dark"] .site-footer .widget-title {
    color: #f8fafc !important;
}

.wordle-footer-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.wordle-footer-nav-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Scope link text styling specifically to text nav lists */
.wordle-footer-nav-list li a,
.wordle-footer-links-col ul li a {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}

.color-switch-dark .wordle-footer-nav-list li a,
[data-theme="dark"] .wordle-footer-nav-list li a,
.color-switch-dark .wordle-footer-links-col ul li a,
[data-theme="dark"] .wordle-footer-links-col ul li a {
    color: #e2e8f0 !important;
}

.wordle-footer-nav-list li a:hover,
.wordle-footer-links-col ul li a:hover {
    color: #25c78a !important;
    transform: translateX(3px);
}

/* Bottom Row: Disclaimer & Legal Quick Links */
.wordle-footer-bottom {
    border-top: 1px solid #1e293b !important;
    padding-top: 1.5rem;
    margin-top: 0.75rem;
}

.color-switch-dark .wordle-footer-bottom,
[data-theme="dark"] .wordle-footer-bottom {
    border-top-color: #1e293b !important;
}

.wordle-footer-bottom-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.wordle-footer-copyright {
    flex: 1;
    min-width: 280px;
}

.wordle-copy-text,
.site-footer p.wordle-copy-text {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #cbd5e1 !important;
    margin: 0 0 0.5rem !important;
}

.wordle-copy-text strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.color-switch-dark .wordle-copy-text,
[data-theme="dark"] .wordle-copy-text {
    color: #cbd5e1 !important;
}

.wordle-disclaimer-text,
.site-footer p.wordle-disclaimer-text {
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    max-width: 680px;
}

.color-switch-dark .wordle-disclaimer-text,
[data-theme="dark"] .wordle-disclaimer-text {
    color: #94a3b8 !important;
}

.wordle-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.wordle-footer-legal-links a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.15s ease;
}

.color-switch-dark .wordle-footer-legal-links a,
[data-theme="dark"] .wordle-footer-legal-links a {
    color: #cbd5e1 !important;
}

.wordle-footer-legal-links a:hover {
    color: #25c78a !important;
    text-decoration: underline;
}

.wordle-footer-sep {
    color: #64748b !important;
    font-size: 0.65rem;
}

/* Fallback catch-all for any elements inside .site-footer */
.site-footer p,
.site-footer li {
    color: #cbd5e1 !important;
}
.site-footer a {
    color: #e2e8f0 !important;
}
.site-footer a:hover {
    color: #25c78a !important;
}

/* ==========================================================================
   6. Modern Floating Back-to-Top Button
   ========================================================================== */

.wordle-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.2s ease,
                box-shadow 0.2s ease;
    pointer-events: none;
}

.wordle-back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: #ffffff;
    transition: transform 0.2s ease;
}

.wordle-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wordle-back-to-top:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.wordle-back-to-top:hover svg {
    transform: translateY(-2px);
}

.wordle-back-to-top:active {
    transform: translateY(-1px) scale(0.96);
}

.wordle-back-to-top:focus-visible {
    outline: 3px solid #10b981 !important;
    outline-offset: 3px !important;
}

.color-switch-dark .wordle-back-to-top,
[data-theme="dark"] .wordle-back-to-top {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.45);
}

.color-switch-dark .wordle-back-to-top:hover,
[data-theme="dark"] .wordle-back-to-top:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 28px rgba(16, 185, 129, 0.65);
}

/* ==========================================================================
   7. Card Layouts & Reading Content Width
   ========================================================================== */

.card-container {
    background: var(--global-palette9, #ffffff);
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

[data-theme="dark"] .card-container,
.color-switch-dark .card-container {
    background: var(--global-palette7, #1e293b);
    border-color: var(--global-palette6, #334155);
}

.reading-content-width {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   8. Responsive Media Queries & Mobile Polish
   ========================================================================== */

@media (max-width: 900px) {
    .wordle-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .wordle-footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .wordle-footer {
        padding: 2.5rem 0 1.25rem;
        margin-top: 2.5rem;
    }
    .wordle-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .wordle-footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .wordle-back-to-top {
        bottom: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
}

/* Ultra-compact Mobile Viewports (<=400px, 360px) */
@media (max-width: 400px) {
    .site-mobile-header-wrap .site-header-row-container-inner {
        padding: 0 0.75rem;
    }
    .site-title,
    .site-title a,
    .site-branding .site-title,
    a.brand .site-title {
        font-size: 1.25rem !important;
    }
    .wordle-theme-toggle-wrap {
        margin-left: 0.375rem;
    }
}

/* ==========================================================================
   9. Prefers Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   10. Wordle Pattern & Archive Hero & Breadcrumbs Modern System
   ========================================================================== */

.wordle-archive-hero,
.wordle-pattern-hero {
    position: relative;
    background-color: #ffffff;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    margin-top: 0 !important;
    margin-bottom: 2.75rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

/* ==========================================================================
   Hero Section Top Margin Removal & Flush Header Alignment
   ========================================================================== */

#primary.content-area.wordle-home-content-area,
#primary.content-area.wordle-archive-content-area,
#primary.content-area.wordle-pattern-content-area,
.wordle-home-content-area,
.wordle-home-content-area.content-area,
.wordle-archive-content-area,
.wordle-archive-content-area.content-area,
.wordle-pattern-content-area,
.wordle-pattern-content-area.content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wordle-home-container {
    padding-top: 0 !important;
}

.wordle-home-hero,
.wordle-archive-hero,
.wordle-pattern-hero,
.wordle-month-hero,
.wordle-year-hero,
.wordle-trust-hero,
.wordle-hero,
.entry-hero {
    margin-top: 0 !important;
}

.wordle-home-hero {
    padding-top: 1.5rem !important;
}

@media (min-width: 860px) {
    .wordle-home-hero {
        padding-top: 2rem !important;
    }
}

.wordle-pattern-hero::after,
.wordle-archive-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Breadcrumbs */
.wordle-breadcrumbs,
.wordle-archive-breadcrumbs {
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
}

.wordle-breadcrumbs ol,
.wordle-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.875rem;
    line-height: 1.4;
}

.wordle-breadcrumbs li,
.wordle-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

.wordle-breadcrumbs li::before,
.wordle-breadcrumbs li::after {
    content: none !important;
    display: none !important;
}

.wordle-breadcrumb-link,
.wordle-breadcrumbs a,
.wordle-breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--global-palette5, #64748b);
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.wordle-breadcrumb-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
}

.wordle-breadcrumb-link:hover,
.wordle-breadcrumbs a:hover,
.wordle-breadcrumb-link:focus,
.wordle-breadcrumbs a:focus,
.wordle-breadcrumb-item a:hover,
.wordle-breadcrumb-item a:focus {
    color: var(--global-palette1, #10b981);
    background-color: rgba(16, 185, 129, 0.08);
    text-decoration: none;
}

.wordle-breadcrumb-sep,
.wordle-breadcrumb-separator {
    color: var(--global-palette6, #94a3b8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    opacity: 0.7;
    padding: 0 0.15rem;
}

.wordle-breadcrumb-sep svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}

.wordle-breadcrumb-current,
.wordle-breadcrumbs span[aria-current="page"],
.wordle-breadcrumb-item[aria-current="page"] {
    display: inline-flex;
    align-items: center;
    color: var(--global-palette3, #0f172a);
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    background-color: rgba(15, 23, 42, 0.04);
    border-radius: 6px;
}

/* Hero Badge */
.wordle-hero-badge-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.wordle-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #047857;
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    padding: 0.3rem 0.75rem;
}

.wordle-hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--global-palette5, #64748b);
    background-color: var(--global-palette8, #f1f5f9);
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 9999px;
    padding: 0.3rem 0.75rem;
}

.wordle-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: wordle-pulse 2s infinite;
}

@keyframes wordle-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Stats Bar */
.wordle-archive-stats-bar,
.wordle-archive-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.wordle-stat-item,
.wordle-stat-card {
    background: #ffffff;
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 14px;
    padding: 1.125rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease;
}

.wordle-stat-item:hover,
.wordle-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.wordle-stat-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--global-palette1, #10b981);
    flex-shrink: 0;
}

.wordle-stat-type .wordle-stat-icon-wrap {
    background-color: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.wordle-stat-latest .wordle-stat-icon-wrap {
    background-color: rgba(245, 158, 11, 0.08);
    color: #d97706;
}

.wordle-stat-status .wordle-stat-icon-wrap {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.wordle-stat-data {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wordle-stat-number {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--global-palette3, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wordle-stat-count .wordle-stat-number {
    color: var(--global-palette1, #10b981);
}

.wordle-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--global-palette5, #64748b);
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .wordle-archive-hero,
    .wordle-pattern-hero {
        padding: 1.75rem 1.75rem;
        margin-bottom: 2rem;
    }

    .wordle-archive-stats-bar,
    .wordle-archive-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
}

@media (max-width: 600px) {
    .wordle-archive-hero,
    .wordle-pattern-hero {
        padding: 1.25rem 1rem;
        border-radius: 14px;
        margin-top: 1rem;
        margin-bottom: 1.75rem;
    }

    .wordle-archive-title {
        font-size: 1.625rem;
    }

    .wordle-archive-lead {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .wordle-archive-stats-bar,
    .wordle-archive-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem;
    }

    .wordle-stat-item,
    .wordle-stat-card {
        padding: 0.75rem 0.875rem;
        gap: 0.625rem;
        border-radius: 10px;
    }

    .wordle-stat-icon-wrap {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .wordle-stat-icon-wrap svg {
        width: 16px;
        height: 16px;
    }

    .wordle-stat-number {
        font-size: 1.125rem;
    }

    .wordle-stat-label {
        font-size: 0.6875rem;
    }
}

/* ==========================================================================
   11. Authoritative WordleHints Dark Mode System
   Inverts Kadence palette variables and enforces WCAG 2.2 AA dark styling across the entire site.
   ========================================================================== */

html.color-switch-dark,
body.color-switch-dark,
html[data-theme="dark"],
body[data-theme="dark"] {
    color-scheme: dark !important;
    --global-palette1: #10b981 !important;
    --global-palette2: #059669 !important;
    --global-palette3: #f8fafc !important;
    --global-palette4: #cbd5e1 !important;
    --global-palette5: #94a3b8 !important;
    --global-palette6: #334155 !important;
    --global-palette7: #0f172a !important;
    --global-palette8: #1e293b !important;
    --global-palette9: #0b1120 !important;
    --global-palette9rgb: 11, 17, 32 !important;
    --global-content-bg: #0b1120 !important;
    background-color: #0b1120 !important;
    color: #f8fafc !important;
}

/* Global canvas and wrappers */
html.color-switch-dark body,
body.color-switch-dark,
html.color-switch-dark #wrapper,
body.color-switch-dark #wrapper,
html.color-switch-dark #inner-wrap,
body.color-switch-dark #inner-wrap,
html.color-switch-dark .site,
body.color-switch-dark .site,
html.color-switch-dark #primary,
body.color-switch-dark #primary,
html.color-switch-dark #main,
body.color-switch-dark #main,
html.color-switch-dark .site-main,
body.color-switch-dark .site-main,
html.color-switch-dark .entry-content-wrap,
body.color-switch-dark .entry-content-wrap,
html.color-switch-dark .entry-content,
body.color-switch-dark .entry-content,
html.color-switch-dark .content-container,
body.color-switch-dark .content-container,
html.color-switch-dark .wordle-home-content-area,
body.color-switch-dark .wordle-home-content-area {
    background-color: #0b1120 !important;
    color: #f8fafc !important;
}

/* Desktop and Mobile Headers */
html.color-switch-dark .site-header,
body.color-switch-dark .site-header,
html.color-switch-dark .site-main-header-wrap,
body.color-switch-dark .site-main-header-wrap,
html.color-switch-dark .site-top-header-wrap,
body.color-switch-dark .site-top-header-wrap,
html.color-switch-dark .site-header-row,
body.color-switch-dark .site-header-row,
html.color-switch-dark .site-mobile-header-wrap,
body.color-switch-dark .site-mobile-header-wrap {
    background-color: #0f172a !important;
    border-bottom: 1px solid #1e293b !important;
    color: #f8fafc !important;
}

/* Header Navigation Links */
html.color-switch-dark #site-navigation ul li a,
body.color-switch-dark #site-navigation ul li a,
html.color-switch-dark .primary-menu-container ul.menu > li > a,
body.color-switch-dark .primary-menu-container ul.menu > li > a {
    color: #f1f5f9 !important;
}

html.color-switch-dark #site-navigation ul li a:hover,
body.color-switch-dark #site-navigation ul li a:hover,
html.color-switch-dark .primary-menu-container ul.menu > li > a:hover,
body.color-switch-dark .primary-menu-container ul.menu > li > a:hover,
html.color-switch-dark #site-navigation ul li.current-menu-item > a,
body.color-switch-dark #site-navigation ul li.current-menu-item > a,
html.color-switch-dark .primary-menu-container ul.menu > li.current-menu-item > a,
body.color-switch-dark .primary-menu-container ul.menu > li.current-menu-item > a {
    color: #34d399 !important;
    background-color: rgba(52, 211, 153, 0.12) !important;
}

/* Mobile Drawer */
html.color-switch-dark #mobile-drawer,
body.color-switch-dark #mobile-drawer,
html.color-switch-dark .drawer-inner,
body.color-switch-dark .drawer-inner,
html.color-switch-dark .mobile-navigation,
body.color-switch-dark .mobile-navigation {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

/* Headings in Dark Mode */
html.color-switch-dark h1, body.color-switch-dark h1,
html.color-switch-dark h2, body.color-switch-dark h2,
html.color-switch-dark h3, body.color-switch-dark h3,
html.color-switch-dark h4, body.color-switch-dark h4,
html.color-switch-dark h5, body.color-switch-dark h5,
html.color-switch-dark h6, body.color-switch-dark h6,
html.color-switch-dark .entry-title, body.color-switch-dark .entry-title,
html.color-switch-dark .wordle-section-heading, body.color-switch-dark .wordle-section-heading {
    color: #f8fafc !important;
}

/* Homepage Hero in Dark Mode */
html.color-switch-dark .wordle-home-hero,
body.color-switch-dark .wordle-home-hero {
    background: linear-gradient(180deg, #0f172a 0%, #0b1120 100%) !important;
    border-bottom: 1px solid #1e293b !important;
}

/* Cards, Content Blocks & Containers in Dark Mode */
html.color-switch-dark .wordle-today-card,
body.color-switch-dark .wordle-today-card,
html.color-switch-dark .wordle-recent-card,
body.color-switch-dark .wordle-recent-card,
html.color-switch-dark .wordle-browse-card,
body.color-switch-dark .wordle-browse-card,
html.color-switch-dark .wordle-pattern-card,
body.color-switch-dark .wordle-pattern-card,
html.color-switch-dark .wordle-guide-card,
body.color-switch-dark .wordle-guide-card,
html.color-switch-dark .wordle-faq-item,
body.color-switch-dark .wordle-faq-item,
html.color-switch-dark .wordle-cta-box,
body.color-switch-dark .wordle-cta-box,
html.color-switch-dark .wordle-hero-visual,
body.color-switch-dark .wordle-hero-visual,
html.color-switch-dark .wordle-card,
body.color-switch-dark .wordle-card,
html.color-switch-dark .card-container,
body.color-switch-dark .card-container,
html.color-switch-dark .wordle-archive-summary-card,
body.color-switch-dark .wordle-archive-summary-card,
html.color-switch-dark .wordle-archive-grid-item,
body.color-switch-dark .wordle-archive-grid-item,
html.color-switch-dark .wordle-cross-link-card,
body.color-switch-dark .wordle-cross-link-card,
html.color-switch-dark .entry-content .wp-block-group,
body.color-switch-dark .entry-content .wp-block-group {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

/* Card titles and interactive headings */
html.color-switch-dark .wordle-today-card h2,
body.color-switch-dark .wordle-today-card h2,
html.color-switch-dark .wordle-recent-card-title,
body.color-switch-dark .wordle-recent-card-title,
html.color-switch-dark .wordle-faq-question,
body.color-switch-dark .wordle-faq-question,
html.color-switch-dark .wordle-browse-card-title,
body.color-switch-dark .wordle-browse-card-title,
html.color-switch-dark .wordle-guide-card-title,
body.color-switch-dark .wordle-guide-card-title {
    color: #f8fafc !important;
}

/* Body copy, descriptions, subtitles in Dark Mode */
html.color-switch-dark .wordle-home-lead,
body.color-switch-dark .wordle-home-lead,
html.color-switch-dark .wordle-today-desc,
body.color-switch-dark .wordle-today-desc,
html.color-switch-dark .wordle-guide-card-desc,
body.color-switch-dark .wordle-guide-card-desc,
html.color-switch-dark .wordle-why-card-desc,
body.color-switch-dark .wordle-why-card-desc,
html.color-switch-dark .wordle-faq-answer,
body.color-switch-dark .wordle-faq-answer,
html.color-switch-dark .wordle-cta-desc,
body.color-switch-dark .wordle-cta-desc,
html.color-switch-dark .wordle-section-subheading,
body.color-switch-dark .wordle-section-subheading,
html.color-switch-dark .wordle-home-container,
body.color-switch-dark .wordle-home-container,
html.color-switch-dark p,
body.color-switch-dark p,
html.color-switch-dark li,
body.color-switch-dark li {
    color: #cbd5e1 !important;
}

/* Secondary cards / search wrappers / why cards */
html.color-switch-dark .wordle-search-box-wrap,
body.color-switch-dark .wordle-search-box-wrap,
html.color-switch-dark .wordle-why-card,
body.color-switch-dark .wordle-why-card {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

/* Search inputs and buttons */
html.color-switch-dark .wordle-search-input,
body.color-switch-dark .wordle-search-input,
html.color-switch-dark input[type="text"],
body.color-switch-dark input[type="text"],
html.color-switch-dark input[type="search"],
body.color-switch-dark input[type="search"] {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.color-switch-dark .wordle-btn-secondary,
body.color-switch-dark .wordle-btn-secondary {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.color-switch-dark .wordle-btn-secondary:hover,
body.color-switch-dark .wordle-btn-secondary:hover {
    background-color: #0f172a !important;
    border-color: #475569 !important;
}

/* Drawers, clue accordions, spoiler hints */
html.color-switch-dark .wordle-quick-hint,
body.color-switch-dark .wordle-quick-hint,
html.color-switch-dark .wordle-drawer,
body.color-switch-dark .wordle-drawer,
html.color-switch-dark .wordle-drawer-header,
body.color-switch-dark .wordle-drawer-header,
html.color-switch-dark .wordle-drawer-content,
body.color-switch-dark .wordle-drawer-content,
html.color-switch-dark .wordle-clue-card,
body.color-switch-dark .wordle-clue-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Archive tables, stats, filter bars */
html.color-switch-dark .wordle-archive-table,
body.color-switch-dark .wordle-archive-table,
html.color-switch-dark .wordle-stat-card,
body.color-switch-dark .wordle-stat-card,
html.color-switch-dark .wordle-stat-item,
body.color-switch-dark .wordle-stat-item,
html.color-switch-dark .wordle-filter-bar,
body.color-switch-dark .wordle-filter-bar {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Breadcrumbs and Pattern Hero in Dark Mode */
html.color-switch-dark .wordle-archive-hero,
body.color-switch-dark .wordle-archive-hero,
html.color-switch-dark .wordle-pattern-hero,
body.color-switch-dark .wordle-pattern-hero {
    background-color: #0f172a !important;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #334155 !important;
    box-shadow: 0 8px 28px -4px rgba(0, 0, 0, 0.5) !important;
}

html.color-switch-dark .wordle-breadcrumbs a,
body.color-switch-dark .wordle-breadcrumbs a {
    color: #94a3b8 !important;
}

html.color-switch-dark .wordle-breadcrumbs a:hover,
body.color-switch-dark .wordle-breadcrumbs a:hover {
    color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.15) !important;
}

html.color-switch-dark .wordle-breadcrumb-sep,
body.color-switch-dark .wordle-breadcrumb-sep {
    color: #475569 !important;
}

html.color-switch-dark .wordle-breadcrumb-current,
body.color-switch-dark .wordle-breadcrumb-current,
html.color-switch-dark .wordle-breadcrumbs span[aria-current="page"],
body.color-switch-dark .wordle-breadcrumbs span[aria-current="page"] {
    color: #f8fafc !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

html.color-switch-dark .wordle-hero-badge,
body.color-switch-dark .wordle-hero-badge {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
}

html.color-switch-dark .wordle-hero-status-pill,
body.color-switch-dark .wordle-hero-status-pill {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

/* ==========================================================================
   12. WordleHints Trust, Editorial & Legal Page System (Workstream 3)
   ========================================================================== */

.wordle-trust-page-wrapper {
    background-color: var(--global-palette9, #f8fafc);
    min-height: calc(100vh - 350px);
}

.wordle-trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* Compact Hero */
.wordle-trust-hero {
    position: relative;
    background-color: #ffffff;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.wordle-trust-breadcrumbs {
    margin-bottom: 1.25rem;
}

.wordle-trust-hero-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.wordle-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #047857;
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    padding: 0.3rem 0.75rem;
}

.wordle-trust-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--global-palette5, #64748b);
    background-color: var(--global-palette8, #f1f5f9);
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 9999px;
    padding: 0.3rem 0.75rem;
}

.wordle-trust-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--global-palette3, #0f172a);
    margin: 0.5rem 0 0.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.wordle-trust-lead {
    font-size: 1.125rem;
    color: var(--global-palette4, #475569);
    max-width: 760px;
    line-height: 1.6;
    margin: 0;
}

/* Layout Grid */
.wordle-trust-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.75rem;
    align-items: start;
}

/* Sticky Sidebar */
.wordle-trust-sidebar-sticky {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wordle-trust-sidebar-box {
    background: #ffffff;
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wordle-trust-sidebar-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--global-palette3, #0f172a);
    margin: 0 0 0.875rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wordle-trust-toc-list,
.wordle-trust-policy-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wordle-trust-toc-list li,
.wordle-trust-policy-nav-list li {
    margin: 0 !important;
    padding: 0 !important;
}

.wordle-trust-toc-link,
.wordle-trust-policy-nav-list a {
    display: block;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--global-palette5, #64748b);
    text-decoration: none;
    transition: all 0.2s ease;
}

.wordle-trust-toc-link:hover,
.wordle-trust-policy-nav-list a:hover {
    color: var(--global-palette1, #10b981);
    background-color: rgba(16, 185, 129, 0.08);
    text-decoration: none;
}

.wordle-trust-policy-nav-list a.active {
    color: var(--global-palette1, #10b981);
    background-color: rgba(16, 185, 129, 0.12);
    font-weight: 700;
}

/* Content Area - 65-78 Character Reading Width */
.wordle-trust-content-col {
    min-width: 0;
}

.wordle-trust-body {
    max-width: 760px;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--global-palette4, #334155);
}

.wordle-trust-body h2 {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--global-palette3, #0f172a);
    margin-top: 2.75rem;
    margin-bottom: 1.125rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--global-palette6, #f1f5f9);
    letter-spacing: -0.02em;
    scroll-margin-top: 100px;
}

.wordle-trust-body h2:first-of-type {
    margin-top: 0;
}

.wordle-trust-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--global-palette3, #0f172a);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 100px;
}

.wordle-trust-body p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.wordle-trust-body ul,
.wordle-trust-body ol {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
}

.wordle-trust-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.wordle-trust-body a {
    color: var(--global-palette1, #10b981);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.wordle-trust-body a:hover {
    color: #059669;
}

.wordle-trust-body blockquote,
.wordle-trust-callout {
    background-color: rgba(16, 185, 129, 0.05);
    border-left: 4px solid var(--global-palette1, #10b981);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-size: 1rem;
    color: var(--global-palette3, #0f172a);
}

.wordle-trust-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
}

.wordle-trust-body th,
.wordle-trust-body td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--global-palette6, #e2e8f0);
}

.wordle-trust-body th {
    background-color: var(--global-palette8, #f8fafc);
    font-weight: 700;
    color: var(--global-palette3, #0f172a);
}

/* Contact Form Styling */
.wordle-contact-form-wrap {
    background: #ffffff;
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 16px;
    padding: 2.25rem;
    margin-top: 2.5rem;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.wordle-contact-heading {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--global-palette3, #0f172a) !important;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.wordle-contact-sub {
    font-size: 1rem;
    color: var(--global-palette5, #64748b);
    margin-bottom: 1.75rem;
}

.wordle-contact-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.wordle-contact-alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #047857;
}

.wordle-contact-alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

.wordle-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.wordle-form-group {
    margin-bottom: 1.25rem;
}

.wordle-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--global-palette3, #0f172a);
    margin-bottom: 0.4rem;
}

.wordle-form-group label .required {
    color: #ef4444;
}

.wordle-form-input,
.wordle-form-select,
.wordle-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--global-palette6, #cbd5e1);
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--global-palette3, #0f172a);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wordle-form-input:focus,
.wordle-form-select:focus,
.wordle-form-textarea:focus {
    outline: none;
    border-color: var(--global-palette1, #10b981);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.wordle-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.wordle-btn-submit:hover,
.wordle-btn-submit:focus {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

/* Bottom Help Card */
.wordle-trust-footer-cta {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--global-palette6, #e2e8f0);
    border-radius: 14px;
    padding: 1.75rem;
    margin-top: 3.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.wordle-trust-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--global-palette1, #10b981);
}

.wordle-trust-cta-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--global-palette3, #0f172a);
    margin: 0 0 0.35rem 0;
}

.wordle-trust-cta-text p {
    font-size: 0.9375rem;
    color: var(--global-palette5, #64748b);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .wordle-trust-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wordle-trust-sidebar-sticky {
        position: static;
    }
}

@media (max-width: 600px) {
    .wordle-trust-hero {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
        margin-bottom: 1.75rem;
    }

    .wordle-trust-title {
        font-size: 1.75rem;
    }

    .wordle-trust-lead {
        font-size: 1rem;
    }

    .wordle-form-grid {
        grid-template-columns: 1fr;
    }

    .wordle-contact-form-wrap {
        padding: 1.5rem 1.25rem;
    }

    .wordle-trust-footer-cta {
        flex-direction: column;
        padding: 1.25rem;
    }
}

/* Dark Mode Overrides for Trust Page */
html.color-switch-dark .wordle-trust-page-wrapper,
body.color-switch-dark .wordle-trust-page-wrapper {
    background-color: #0b1120 !important;
}

html.color-switch-dark .wordle-trust-hero,
body.color-switch-dark .wordle-trust-hero,
html.color-switch-dark .wordle-trust-sidebar-box,
body.color-switch-dark .wordle-trust-sidebar-box,
html.color-switch-dark .wordle-contact-form-wrap,
body.color-switch-dark .wordle-contact-form-wrap,
html.color-switch-dark .wordle-trust-footer-cta,
body.color-switch-dark .wordle-trust-footer-cta {
    background-color: #0f172a !important;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4) !important;
}

html.color-switch-dark .wordle-trust-title,
body.color-switch-dark .wordle-trust-title,
html.color-switch-dark .wordle-trust-body h2,
body.color-switch-dark .wordle-trust-body h2,
html.color-switch-dark .wordle-trust-body h3,
body.color-switch-dark .wordle-trust-body h3,
html.color-switch-dark .wordle-trust-sidebar-heading,
body.color-switch-dark .wordle-trust-sidebar-heading,
html.color-switch-dark .wordle-contact-heading,
body.color-switch-dark .wordle-contact-heading,
html.color-switch-dark .wordle-trust-cta-text h4,
body.color-switch-dark .wordle-trust-cta-text h4,
html.color-switch-dark .wordle-form-group label,
body.color-switch-dark .wordle-form-group label {
    color: #f8fafc !important;
}

html.color-switch-dark .wordle-trust-lead,
body.color-switch-dark .wordle-trust-lead,
html.color-switch-dark .wordle-trust-body,
body.color-switch-dark .wordle-trust-body,
html.color-switch-dark .wordle-trust-body p,
body.color-switch-dark .wordle-trust-body p,
html.color-switch-dark .wordle-trust-body li,
body.color-switch-dark .wordle-trust-body li,
html.color-switch-dark .wordle-trust-toc-link,
body.color-switch-dark .wordle-trust-toc-link,
html.color-switch-dark .wordle-trust-policy-nav-list a,
body.color-switch-dark .wordle-trust-policy-nav-list a,
html.color-switch-dark .wordle-contact-sub,
body.color-switch-dark .wordle-contact-sub,
html.color-switch-dark .wordle-trust-cta-text p,
body.color-switch-dark .wordle-trust-cta-text p {
    color: #cbd5e1 !important;
}

html.color-switch-dark .wordle-trust-body h2 {
    border-bottom-color: #334155 !important;
}

html.color-switch-dark .wordle-trust-body th {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

html.color-switch-dark .wordle-trust-body td,
html.color-switch-dark .wordle-trust-body th,
html.color-switch-dark .wordle-trust-body table {
    border-color: #334155 !important;
}

html.color-switch-dark .wordle-form-input,
body.color-switch-dark .wordle-form-input,
html.color-switch-dark .wordle-form-select,
body.color-switch-dark .wordle-form-select,
html.color-switch-dark .wordle-form-textarea,
body.color-switch-dark .wordle-form-textarea {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html.color-switch-dark .wordle-trust-badge,
body.color-switch-dark .wordle-trust-badge {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
}

html.color-switch-dark .wordle-trust-updated,
body.color-switch-dark .wordle-trust-updated {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

/* ==========================================================================
   13. WORDLE STRATEGY GUIDES HUB & CARDS
   ========================================================================== */

.wordle-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 2.5rem 0;
}

@media (max-width: 768px) {
    .wordle-guides-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.wordle-guide-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.wordle-guide-card:hover {
    transform: translateY(-3px);
    border-color: #25c78a;
    box-shadow: 0 10px 25px -5px rgba(37, 199, 138, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.wordle-guide-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background-color: #ecfdf5;
    color: #065f46;
    margin-bottom: 0.85rem;
    align-self: flex-start;
}

.wordle-guide-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
}

.wordle-guide-card h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.wordle-guide-card h3 a:hover {
    color: #059669;
    text-decoration: underline;
}

.wordle-guide-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.wordle-guide-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.85rem;
    margin-top: auto;
}

.wordle-guide-card-arrow {
    color: #059669;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.2s ease;
}

.wordle-guide-card:hover .wordle-guide-card-arrow {
    transform: translateX(4px);
}

/* Guides Hub & Cards - Dark Mode */
html.color-switch-dark .wordle-guide-card,
body.color-switch-dark .wordle-guide-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

html.color-switch-dark .wordle-guide-card:hover,
body.color-switch-dark .wordle-guide-card:hover {
    border-color: #34d399 !important;
    box-shadow: 0 10px 25px -5px rgba(52, 211, 153, 0.2) !important;
}

html.color-switch-dark .wordle-guide-card-badge,
body.color-switch-dark .wordle-guide-card-badge {
    background-color: rgba(37, 199, 138, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(37, 199, 138, 0.3) !important;
}

html.color-switch-dark .wordle-guide-card h3 a,
body.color-switch-dark .wordle-guide-card h3 a {
    color: #f8fafc !important;
}

html.color-switch-dark .wordle-guide-card h3 a:hover,
body.color-switch-dark .wordle-guide-card h3 a:hover {
    color: #34d399 !important;
}

html.color-switch-dark .wordle-guide-card p,
body.color-switch-dark .wordle-guide-card p {
    color: #cbd5e1 !important;
}

html.color-switch-dark .wordle-guide-card-meta,
body.color-switch-dark .wordle-guide-card-meta {
    border-top-color: #334155 !important;
    color: #94a3b8 !important;
}

html.color-switch-dark .wordle-guide-card-arrow,
body.color-switch-dark .wordle-guide-card-arrow {
    color: #34d399 !important;
}

/* Hintzo Strategic Article Components */
.wordle-guide-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1e293b;
    margin-bottom: 1.5rem;
}
html.color-switch-dark .wordle-guide-lead,
body.color-switch-dark .wordle-guide-lead {
    color: #e2e8f0 !important;
}

.wordle-table-responsive {
    overflow-x: auto;
    margin: 1.75rem 0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wordle-styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}
.wordle-styled-table thead tr {
    background-color: #143d30;
    color: #f8fafc;
}
.wordle-styled-table th,
.wordle-styled-table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #e2e8f0;
}
.wordle-styled-table tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}
.wordle-styled-table tbody tr:hover {
    background-color: #f0fdf4;
}

html.color-switch-dark .wordle-styled-table,
body.color-switch-dark .wordle-styled-table {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
html.color-switch-dark .wordle-styled-table thead tr,
body.color-switch-dark .wordle-styled-table thead tr {
    background-color: #0f172a !important;
    color: #34d399 !important;
}
html.color-switch-dark .wordle-styled-table th,
html.color-switch-dark .wordle-styled-table td,
body.color-switch-dark .wordle-styled-table th,
body.color-switch-dark .wordle-styled-table td {
    border-color: #334155 !important;
}
html.color-switch-dark .wordle-styled-table tbody tr:nth-of-type(even),
body.color-switch-dark .wordle-styled-table tbody tr:nth-of-type(even) {
    background-color: #162032 !important;
}
html.color-switch-dark .wordle-styled-table tbody tr:hover,
body.color-switch-dark .wordle-styled-table tbody tr:hover {
    background-color: #1e3a30 !important;
}

.wordle-callout {
    padding: 1.25rem 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 1.75rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.wordle-callout-tip {
    background-color: #f0fdf4;
    border-left: 4px solid #25c78a;
    color: #14532d;
}
.wordle-callout-warning {
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #78350f;
}
html.color-switch-dark .wordle-callout-tip,
body.color-switch-dark .wordle-callout-tip {
    background-color: rgba(37, 199, 138, 0.12) !important;
    border-left-color: #34d399 !important;
    color: #a7f3d0 !important;
}
html.color-switch-dark .wordle-callout-warning,
body.color-switch-dark .wordle-callout-warning {
    background-color: rgba(245, 158, 11, 0.12) !important;
    border-left-color: #fbbf24 !important;
    color: #fde68a !important;
}

.wordle-badge-tier {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tier-s { background-color: #dcfce7; color: #15803d; }
.tier-a { background-color: #ecfdf5; color: #047857; }
.tier-b { background-color: #fef3c7; color: #b45309; }
.tier-c { background-color: #f1f5f9; color: #475569; }
.tier-d { background-color: #fee2e2; color: #991b1b; }
.tier-f { background-color: #f3f4f6; color: #4b5563; }

html.color-switch-dark .tier-s, body.color-switch-dark .tier-s { background-color: rgba(34, 197, 94, 0.2) !important; color: #86efac !important; }
html.color-switch-dark .tier-a, body.color-switch-dark .tier-a { background-color: rgba(16, 185, 129, 0.2) !important; color: #6ee7b7 !important; }
html.color-switch-dark .tier-b, body.color-switch-dark .tier-b { background-color: rgba(245, 158, 11, 0.2) !important; color: #fde68a !important; }
html.color-switch-dark .tier-c, body.color-switch-dark .tier-c { background-color: rgba(148, 163, 184, 0.2) !important; color: #cbd5e1 !important; }
html.color-switch-dark .tier-d, body.color-switch-dark .tier-d { background-color: rgba(239, 68, 68, 0.2) !important; color: #fca5a5 !important; }
html.color-switch-dark .tier-f, body.color-switch-dark .tier-f { background-color: rgba(107, 114, 128, 0.2) !important; color: #9ca3af !important; }





