/*
Theme Name: Tarot Soul Path
Theme URI: https://TarotSoulPath.com
Author: Tarot Soul Path Team
Author URI: https://TarotSoulPath.com
Description: A modern, mystical, celestial WordPress theme built specifically for TarotSoulPath.com. Fast, Core Web Vitals optimized, mobile-first, and SEO-ready.
Version: 1.0.0
Text Domain: tarotsoulpath
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-deep: #06070d;
    --bg-main: #0a0b16;
    --bg-surface: #101224;
    --bg-card: #15182e;
    --bg-card-hover: #1b1f3c;
    --gold: #dfb76c;
    --gold-light: #f7e8c3;
    --gold-dark: #b38836;
    --purple-nebula: #6b46c1;
    --indigo-celestial: #3b3270;
    --text-primary: #f2f3f9;
    --text-secondary: #a7abc5;
    --text-muted: #6f7498;
    --border-glass: rgba(223, 183, 108, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(223, 183, 108, 0.6);
    --gold-glow: 0 0 25px rgba(223, 183, 108, 0.28);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --font-heading: 'Cinzel', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container-max: 1220px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

/* Reset & Basics */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(67, 56, 202, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 65%, rgba(107, 70, 193, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(223, 183, 108, 0.05) 0%, transparent 60%);
    background-attachment: fixed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--gold-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.25rem; }

/* Container */
.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 9, 18, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(223, 183, 108, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease, border-color 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.site-header .site-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.brand-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-logo-link:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.site-logo-img {
    height: 60px;
    width: auto;
    max-width: 240px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: all 0.25s ease;
}

.drawer-logo-link {
    display: inline-flex;
    align-items: center;
}

.drawer-logo-img {
    height: 46px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 68px;
    width: auto;
    max-width: 250px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
    transition: opacity 0.2s ease;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 0.9;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    line-height: 1.2;
    white-space: nowrap !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-logo:hover {
    color: #ffffff;
    opacity: 0.95;
}

.site-logo .sparkle-glyph {
    color: var(--gold);
    font-size: 1.15rem;
    filter: drop-shadow(0 0 8px rgba(223, 183, 108, 0.8));
    display: inline-block;
    transition: transform 0.3s ease;
}

.site-logo:hover .sparkle-glyph {
    transform: rotate(20deg) scale(1.15);
}

.site-logo .brand-text {
    background: linear-gradient(180deg, #ffffff 40%, #edd8b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-tagline {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--gold-light);
    opacity: 0.75;
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap !important;
}

/* Primary Desktop Navigation */
.primary-navigation {
    display: flex;
    align-items: center;
}

.primary-navigation .mobile-drawer-header,
.primary-navigation .mobile-drawer-footer {
    display: none !important;
}

.primary-navigation ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.primary-navigation > ul > li {
    position: relative;
    padding: 0;
    margin: 0;
}

.primary-navigation > ul > li > a {
    color: #d1d5e8;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.25px;
    padding: 8px 12px;
    border-radius: 22px;
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-navigation > ul > li > a:hover {
    color: #ffffff;
    background: rgba(223, 183, 108, 0.09);
    border-color: rgba(223, 183, 108, 0.26);
    box-shadow: 0 0 16px rgba(223, 183, 108, 0.12);
    text-shadow: 0 0 10px rgba(223, 183, 108, 0.4);
}

.primary-navigation > ul > li.current-menu-item > a,
.primary-navigation > ul > li.current-menu-ancestor > a {
    color: var(--gold-light);
    background: rgba(223, 183, 108, 0.12);
    border-color: rgba(223, 183, 108, 0.35);
    box-shadow: 0 0 16px rgba(223, 183, 108, 0.18);
    font-weight: 600;
}

/* Sleek geometric chevron for dropdown */
.primary-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: rotate(45deg);
    margin-left: 7px;
    position: relative;
    top: -2px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    opacity: 0.85;
    flex-shrink: 0;
}

.primary-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    top: 1px;
    border-color: #ffffff;
    opacity: 1;
}

/* Submenu Dropdown Box */
.primary-navigation ul.sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 270px;
    background: #090a16 !important;
    background-color: #090a16 !important;
    border: 1px solid rgba(223, 183, 108, 0.3);
    border-top: 2px solid var(--gold);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.98), 0 0 25px rgba(223, 183, 108, 0.15);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s;
    z-index: 1050;
}

/* Invisible bridge so mouse hover doesn't break between link and dropdown */
.primary-navigation ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.primary-navigation li.menu-item-has-children:hover > ul.sub-menu,
.primary-navigation li.menu-item-has-children:focus-within > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.primary-navigation ul.sub-menu li {
    width: 100%;
    padding: 0;
    margin: 0;
}

.primary-navigation ul.sub-menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 500;
    color: #c9cde2;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    text-shadow: none;
    white-space: nowrap !important;
    transition: all 0.18s ease;
}

.primary-navigation ul.sub-menu li a:hover,
.primary-navigation ul.sub-menu li.current-menu-item a {
    background: rgba(223, 183, 108, 0.12);
    border-color: rgba(223, 183, 108, 0.2);
    color: #ffffff;
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(223, 183, 108, 0.4);
}

.primary-navigation ul.sub-menu li a::before,
.primary-navigation ul.sub-menu li a::after {
    display: none !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-search-trigger {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(223, 183, 108, 0.22);
    color: var(--gold-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    flex-shrink: 0;
    padding: 0;
}

.btn-search-trigger:hover {
    border-color: var(--gold);
    background: rgba(223, 183, 108, 0.14);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(223, 183, 108, 0.3);
    transform: scale(1.05);
}

.btn-search-trigger svg {
    display: block;
    width: 17px;
    height: 17px;
    stroke: currentColor;
    transition: stroke 0.2s ease;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 20px;
    border-radius: 30px;
    background: linear-gradient(135deg, #dfb76c 0%, #b88a38 100%);
    color: #070810 !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap !important;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(223, 183, 108, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 235, 175, 0.35);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-header-cta:hover {
    background: linear-gradient(135deg, #f0ca82 0%, #ca9b45 100%);
    box-shadow: 0 6px 24px rgba(223, 183, 108, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #05060b !important;
}

.btn-header-cta .cta-sparkle {
    font-size: 0.85rem;
    color: #070810;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(223, 183, 108, 0.25);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-nav-toggle:hover {
    border-color: var(--gold);
    background: rgba(223, 183, 108, 0.12);
}

.mobile-nav-toggle .toggle-icon-bar {
    width: 20px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .toggle-icon-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .toggle-icon-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .toggle-icon-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Breadcrumbs */
.tarot-breadcrumbs {
    padding: 14px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.tarot-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.tarot-breadcrumbs a {
    color: var(--text-secondary);
}

.tarot-breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumb-separator {
    color: var(--border-glass);
    margin: 0 2px;
}

/* Hero Section */
.hero-section {
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(223, 183, 108, 0.1);
    border: 1px solid rgba(223, 183, 108, 0.25);
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 22px;
}

.hero-title {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    background: linear-gradient(180deg, #ffffff 30%, #e2d3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    max-width: 680px;
    margin: 0 auto 34px;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #080911;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 30px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px rgba(223, 183, 108, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    color: #05060b;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(223, 183, 108, 0.65);
}

.btn-hero-secondary {
    background: rgba(18, 20, 38, 0.8);
    border: 1px solid var(--border-glass);
    color: var(--gold-light);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--gold);
    background: rgba(223, 183, 108, 0.12);
    color: #fff;
    transform: translateY(-3px);
}

/* Feature Grid & Cards */
.section-wrapper {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.section-title {
    margin-bottom: 12px;
}

.section-desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(223, 183, 108, 0.4));
}

.tool-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.tool-card-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: auto;
}

.tool-card:hover .tool-card-cta {
    color: var(--gold-light);
    gap: 10px;
}

/* Today's Card Spotlight */
.today-spotlight-card {
    background: linear-gradient(135deg, rgba(20, 23, 46, 0.85) 0%, rgba(10, 11, 22, 0.95) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 35px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 35px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.today-card-image-wrap {
    text-align: center;
}

.today-card-image-wrap img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glass);
    transition: transform 0.3s ease;
}

.today-card-image-wrap:hover img {
    transform: scale(1.03) rotate(-1deg);
}

.today-spotlight-badge {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.today-spotlight-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.today-spotlight-keywords {
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 16px;
}

.today-spotlight-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* 78 Cards Explore & Grid */
.cards-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold);
    color: #080911;
    border-color: var(--gold);
    font-weight: 600;
}

.card-search-input {
    background: rgba(10, 11, 22, 0.8);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    min-width: 240px;
}

.card-search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(223, 183, 108, 0.3);
}

.tarot-cards-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
}

.tarot-grid-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.tarot-grid-card-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.grid-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 2 / 3.4;
    overflow: hidden;
    position: relative;
    background: #000;
}

.grid-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tarot-grid-card-item:hover .grid-card-thumb-wrap img {
    transform: scale(1.06);
}

.grid-card-meta {
    padding: 14px 12px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-card-name {
    font-size: 0.98rem;
    color: #fff;
    margin-bottom: 4px;
}

.grid-card-arcana {
    font-size: 0.75rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Single Tarot Card Page */
.single-tarot-card-header {
    background: linear-gradient(180deg, rgba(16, 18, 36, 0.9) 0%, rgba(10, 11, 22, 0.95) 100%);
    border-bottom: 1px solid var(--border-glass);
    padding: 40px 0 50px;
    margin-bottom: 40px;
}

.single-card-hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
}

.single-card-img-box {
    text-align: center;
}

.single-card-img-box img {
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.single-card-details-box .card-badge {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.single-card-details-box h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.card-taxonomy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.chip {
    padding: 4px 12px;
    border-radius: 14px;
    background: rgba(223, 183, 108, 0.1);
    border: 1px solid rgba(223, 183, 108, 0.25);
    font-size: 0.8rem;
    color: var(--gold-light);
}

/* Card Content Tabs & Layout */
.card-single-body-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-bottom: 60px;
}

.card-quick-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-subtle);
}

.card-quick-nav-pills a {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.card-quick-nav-pills a:hover {
    background: var(--gold);
    color: #080911;
    border-color: var(--gold);
}

/* Content Sections */
.tarot-card-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
}

.tarot-card-section h2 {
    color: var(--gold-light);
    margin-bottom: 16px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tarot-card-section h2::before {
    content: '✦';
    color: var(--gold);
    font-size: 1rem;
}

.tarot-card-section p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.tarot-card-section p:last-child {
    margin-bottom: 0;
}

/* Keywords Box */
.tarot-keywords-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.keywords-column {
    padding: 16px;
    border-radius: 10px;
    background: rgba(10, 11, 22, 0.6);
    border: 1px solid var(--border-subtle);
}

.keywords-column.upright {
    border-left: 4px solid #2ecc71;
}

.keywords-column.reversed {
    border-left: 4px solid #e74c3c;
}

.keywords-column h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.keywords-column.upright h4 { color: #2ecc71; }
.keywords-column.reversed h4 { color: #e74c3c; }

.keywords-column p {
    font-size: 0.92rem !important;
    color: var(--text-secondary) !important;
}

/* Yes / No Verdict Box */
.yes-no-badge-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(10, 11, 22, 0.7);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    margin-top: 15px;
}

.yes-no-verdict {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verdict-yes {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 2px solid #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
}

.verdict-no {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 2px solid #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}

.verdict-maybe {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 2px solid #f1c40f;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget-title {
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-glass);
}

/* Affiliate Box */
.affiliate-recommend-box {
    background: radial-gradient(circle at 50% 0%, rgba(223, 183, 108, 0.15) 0%, rgba(20, 23, 46, 0.95) 75%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.affiliate-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 8px;
}

.affiliate-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.affiliate-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.5;
}

.affiliate-btn {
    display: block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #080911;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.affiliate-btn:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 183, 108, 0.4);
}

/* Table of Contents (Single Post) */
.tarot-post-toc {
    background: rgba(14, 16, 34, 0.85);
    border: 1px solid rgba(223, 183, 108, 0.28);
    border-radius: 14px;
    margin: 28px 0 34px;
    padding: 16px 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tarot-post-toc:hover {
    border-color: rgba(223, 183, 108, 0.45);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 183, 108, 0.12);
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    gap: 15px;
}

.toc-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.toc-title .sparkle-glyph {
    color: var(--gold);
    font-size: 1rem;
    filter: drop-shadow(0 0 6px var(--gold));
}

.toc-toggle-btn {
    background: rgba(223, 183, 108, 0.12);
    border: 1px solid rgba(223, 183, 108, 0.35);
    color: var(--gold-light);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s ease;
}

.toc-toggle-btn:hover {
    background: rgba(223, 183, 108, 0.22);
    border-color: var(--gold);
    color: #fff;
    transform: scale(1.03);
}

.toc-toggle-icon {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    display: inline-block;
}

.toc-header[aria-expanded="true"] .toc-toggle-icon {
    transform: rotate(180deg);
}

.toc-content {
    display: none !important; /* Strictly collapsed by default */
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-content.is-open {
    display: block !important;
    animation: tocSlideDown 0.25s ease forwards;
}

@keyframes tocSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-item {
    font-size: 0.92rem;
    line-height: 1.5;
}

.toc-item.toc-level-3 {
    padding-left: 16px;
}

.toc-item.toc-level-4 {
    padding-left: 32px;
}

.toc-item a {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 3px 8px;
    border-radius: 6px;
}

.toc-item a:hover {
    color: #ffffff;
    background: rgba(223, 183, 108, 0.1);
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(223, 183, 108, 0.4);
}

.toc-item-star {
    color: var(--gold);
    font-size: 0.72rem;
    opacity: 0.85;
}

/* Scroll Offset for Sticky Header */
.card-main-content h2,
.card-main-content h3,
.card-main-content h4,
[id^="toc-"] {
    scroll-margin-top: 96px;
}

/* Related Posts Section (Single Post) */
.related-posts-section {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(223, 183, 108, 0.2);
}

.related-posts-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.related-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--gold);
    font-weight: 600;
}

.related-heading {
    font-size: 1.35rem;
    color: #ffffff;
    font-family: var(--font-heading);
    margin: 0;
}

.related-view-all {
    font-size: 0.85rem;
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.related-view-all:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 680px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.related-post-card {
    background: rgba(14, 16, 34, 0.75);
    border: 1px solid rgba(223, 183, 108, 0.2);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.related-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(223, 183, 108, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(223, 183, 108, 0.12);
}

.related-card-image-link {
    display: block;
    overflow: hidden;
    height: 135px;
    position: relative;
    background: linear-gradient(135deg, rgba(22, 25, 52, 0.9) 0%, rgba(10, 11, 24, 0.95) 100%);
    text-decoration: none;
}

.related-card-thumb img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post-card:hover .related-card-thumb img {
    transform: scale(1.05);
}

.related-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: 
        radial-gradient(circle at 50% 40%, rgba(223, 183, 108, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #101228 0%, #080914 100%);
    border-bottom: 1px solid rgba(223, 183, 108, 0.15);
}

.related-card-placeholder .placeholder-glyph {
    color: var(--gold);
    font-size: 1.4rem;
    filter: drop-shadow(0 0 8px rgba(223, 183, 108, 0.6));
    transition: transform 0.3s ease;
}

.related-post-card:hover .placeholder-glyph {
    transform: rotate(20deg) scale(1.15);
}

.related-card-placeholder .placeholder-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    opacity: 0.8;
}

.related-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.related-tag {
    color: var(--gold);
    font-weight: 600;
}

.related-bullet {
    opacity: 0.4;
}

.related-card-title {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.related-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-card-title a:hover {
    color: var(--gold-light);
}

.related-card-excerpt {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 16px 0;
    flex: 1;
}

.related-read-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-read-more .read-more-arrow {
    transition: transform 0.2s ease;
}

.related-post-card:hover .related-read-more .read-more-arrow {
    transform: translateX(4px);
}

.related-post-card:hover .related-read-more {
    color: var(--gold-light);
}

/* Monetization Ad Slots */
.ad-slot-container {
    background: rgba(10, 11, 22, 0.5);
    border: 1px dashed rgba(223, 183, 108, 0.25);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    margin: 25px 0;
}

.ad-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

/* FAQ Accordion / List */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 14px;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Newsletter Box */
.celestial-newsletter-box {
    background: radial-gradient(circle at 50% 50%, rgba(67, 56, 202, 0.2) 0%, rgba(10, 11, 22, 0.95) 80%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    margin: 60px 0 40px;
    box-shadow: var(--shadow-card);
}

.newsletter-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.newsletter-desc {
    max-width: 580px;
    margin: 0 auto 25px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 240px;
    padding: 12px 18px;
    background: rgba(18, 20, 38, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-submit {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #080911;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 183, 108, 0.5);
}

/* Footer */
.site-footer {
    background: #04050a;
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-col-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 12px;
}

.footer-col-brand p {
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 340px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 18px;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--gold);
    padding-left: 4px;
}

/* Legal Disclaimer Box in Footer */
.footer-disclaimer-box {
    background: rgba(18, 20, 38, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 30px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
}

/* Search Modal Overlay */
.search-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 13, 0.92);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.search-modal-overlay.is-active {
    display: flex;
}

.search-modal-box {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.search-modal-box form {
    display: flex;
    gap: 10px;
}

.search-modal-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 16px 24px;
    border-radius: 30px;
    color: #fff;
    font-size: 1.1rem;
}

.search-modal-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(223, 183, 108, 0.3);
}

.search-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .card-single-body-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Medium-large screens adjustment (Compact Laptops) */
@media (max-width: 1320px) and (min-width: 1081px) {
    .site-header .site-container {
        padding: 0 16px;
    }
    .header-inner {
        gap: 12px;
    }
    .brand-wrapper .site-tagline {
        display: none;
    }
    .site-logo {
        font-size: 1.15rem;
        gap: 6px;
    }
    .primary-navigation ul {
        gap: 3px;
    }
    .primary-navigation > ul > li > a {
        padding: 7px 9px;
        font-size: 0.81rem;
        letter-spacing: 0.15px;
    }
    .btn-header-cta {
        padding: 0 14px;
        font-size: 0.8rem;
        height: 38px;
    }
    .btn-search-trigger {
        width: 38px;
        height: 38px;
    }
}

/* Mobile & Tablet Navigation Drawer (<= 1080px) */
@media (max-width: 1080px) {
    .site-header .header-inner {
        height: 64px;
        gap: 10px;
    }

    .brand-wrapper {
        min-width: 0;
        overflow: hidden;
    }

    .site-logo-img {
        height: 48px;
        max-width: 175px;
    }

    .site-logo {
        font-size: 1.15rem;
    }

    .site-tagline {
        display: none !important;
    }

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

    .btn-header-cta {
        display: none !important;
    }

    .primary-navigation {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: #090a16;
        border-left: 1px solid rgba(223, 183, 108, 0.2);
        padding: 24px 20px 40px;
        overflow-y: auto;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
        z-index: 9999;
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
    }

    .primary-navigation.mobile-active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .primary-navigation .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-drawer-header .drawer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-heading);
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--gold-light);
    }

    .mobile-drawer-close {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(223, 183, 108, 0.2);
        color: var(--gold);
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .mobile-drawer-close:hover {
        background: rgba(223, 183, 108, 0.15);
        color: #fff;
    }

    .primary-navigation > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }

    .primary-navigation > ul > li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .primary-navigation > ul > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 10px;
        font-size: 0.95rem;
        width: 100%;
        border-radius: 8px;
        border: none;
    }

    .primary-navigation .menu-item-has-children > a::after {
        content: '+';
        border: none;
        width: auto;
        height: auto;
        font-size: 1.25rem;
        font-weight: 300;
        transform: none;
        top: 0;
        margin-left: 0;
        color: var(--gold);
    }

    .primary-navigation .menu-item-has-children.open-submenu > a::after {
        content: '−';
        transform: none;
    }

    /* Mobile sub-menu accordion */
    .primary-navigation ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        background: rgba(16, 18, 38, 0.95) !important;
        border: 1px solid rgba(223, 183, 108, 0.15);
        border-top: 1px solid rgba(223, 183, 108, 0.25);
        border-radius: 8px;
        padding: 6px 4px;
        margin: 4px 0 10px;
        display: none;
    }

    .primary-navigation li.menu-item-has-children.open-submenu > ul.sub-menu {
        display: flex;
    }

    .primary-navigation ul.sub-menu li a {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .primary-navigation .mobile-drawer-footer {
        display: block;
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .btn-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 13px 20px;
        border-radius: 30px;
        background: linear-gradient(135deg, #dfb76c 0%, #b88a38 100%);
        color: #070810 !important;
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.4px;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 4px 18px rgba(223, 183, 108, 0.35);
    }
}

@media (max-width: 768px) {
    .single-card-hero-grid, .today-spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .single-card-img-box img, .today-card-image-wrap img {
        max-width: 200px;
        margin: 0 auto;
    }

    .tarot-keywords-box {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LEARN TAROT HUB (page-learn-tarot.php)
   ========================================================================== */

/* 1. Hero Section */
.learn-hero-section {
    position: relative;
    background-color: #080911;
    background-image: 
        radial-gradient(circle at 80% 40%, rgba(79, 45, 127, 0.25) 0%, transparent 60%),
        linear-gradient(90deg, rgba(8, 9, 17, 0.98) 0%, rgba(8, 9, 17, 0.90) 45%, rgba(8, 9, 17, 0.45) 100%),
        url('assets/images/learn-tarot-hero.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(223, 183, 108, 0.2);
    padding: 50px 0 40px;
}

.learn-hero-inner {
    max-width: 720px;
}

.learn-breadcrumb-wrap {
    margin-bottom: 14px;
}

.learn-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.8vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #faecd3 0%, var(--gold) 50%, #c49a45 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.learn-hero-subtitle {
    font-size: 1.15rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 14px;
    line-height: 1.45;
}

.learn-hero-desc {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 640px;
}

/* 2. Content Categories Bar */
.learn-categories-section {
    background: rgba(10, 12, 26, 0.95);
    border-bottom: 1px solid rgba(223, 183, 108, 0.16);
    padding: 24px 0;
}

.learn-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.learn-cat-card {
    background: rgba(18, 21, 46, 0.7);
    border: 1px solid rgba(223, 183, 108, 0.2);
    border-radius: 12px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.learn-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.learn-cat-card:hover {
    transform: translateY(-4px);
    background: rgba(26, 31, 64, 0.95);
    border-color: rgba(223, 183, 108, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 15px rgba(223, 183, 108, 0.14);
}

.learn-cat-card:hover::before {
    opacity: 1;
}

.cat-card-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(223, 183, 108, 0.1);
    border: 1px solid rgba(223, 183, 108, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
    transition: transform 0.25s ease;
}

.learn-cat-card:hover .cat-card-icon-box {
    transform: scale(1.1);
    border-color: var(--gold);
}

.cat-card-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.cat-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 8px;
    line-height: 1.35;
}

.cat-card-count {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gold);
    transition: transform 0.2s ease;
    display: inline-block;
}

.learn-cat-card:hover .cat-card-count {
    color: #ffffff;
    transform: translateX(3px);
}

/* Main Layout Grid (Content + Sidebar) */
.learn-main-container {
    padding-top: 36px;
    padding-bottom: 50px;
    width: 100%;
    max-width: var(--container-max);
    box-sizing: border-box;
}

.learn-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.learn-content-column {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.learn-sidebar-column {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

/* 3. Featured Guide Section */
.featured-guide-section {
    margin-bottom: 35px;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title-with-star {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.sparkle-star {
    color: var(--gold);
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(223, 183, 108, 0.6));
}

.section-header-link {
    font-size: 0.85rem;
    color: var(--gold-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.section-header-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.featured-guide-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: rgba(14, 16, 36, 0.85);
    border: 1px solid rgba(223, 183, 108, 0.28);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
}

.featured-guide-card:hover {
    border-color: rgba(223, 183, 108, 0.5);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(223, 183, 108, 0.12);
}

.featured-card-thumb-wrap {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: block;
    background: #090a16;
}

.featured-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-guide-card:hover .featured-card-img {
    transform: scale(1.04);
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(9, 10, 22, 0.7) 100%);
    pointer-events: none;
}

.featured-card-content {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-block;
    background: rgba(223, 183, 108, 0.12);
    border: 1px solid rgba(223, 183, 108, 0.35);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    width: fit-content;
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 0 0 10px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.featured-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-card-title a:hover {
    color: var(--gold-light);
}

.featured-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.featured-card-meta-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.featured-card-meta-bottom .meta-icon {
    font-size: 0.85rem;
    margin-right: 2px;
}

.meta-dot {
    opacity: 0.4;
}

.featured-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold) 0%, #c49a45 100%);
    color: #080911;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.22s ease;
    box-shadow: 0 3px 12px rgba(223, 183, 108, 0.3);
}

.featured-read-btn:hover {
    background: #ffffff;
    color: #080911;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(223, 183, 108, 0.5);
}

/* 5. Category Filter Bar */
.learn-filter-section {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.filter-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(223, 183, 108, 0.2);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--gold);
    color: #080911;
    border-color: var(--gold);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(223, 183, 108, 0.3);
}

/* 6. Article Grid */
.learn-articles-section {
    margin-bottom: 30px;
}

.articles-count-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.learn-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.learn-article-card {
    background: rgba(14, 16, 36, 0.8);
    border: 1px solid rgba(223, 183, 108, 0.18);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.learn-article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(223, 183, 108, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(223, 183, 108, 0.1);
}

.article-card-thumb-link {
    display: block;
    text-decoration: none;
}

.article-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #090a16;
    position: relative;
}

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

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

.article-card-fallback-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: radial-gradient(circle, rgba(223, 183, 108, 0.15) 0%, #090a16 75%);
}

.fallback-star {
    font-size: 1.5rem;
    color: var(--gold);
}

.fallback-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-light);
}

.article-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-header {
    margin-bottom: 6px;
}

.article-card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold);
}

.article-card-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    line-height: 1.38;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card-title a:hover {
    color: var(--gold-light);
}

.article-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* 7. Pagination */
.learn-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0 10px;
}

.learn-pagination-wrap a.page-numbers,
.learn-pagination-wrap span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(14, 16, 36, 0.85);
    border: 1px solid rgba(223, 183, 108, 0.24);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.learn-pagination-wrap a.page-numbers:hover {
    background: rgba(223, 183, 108, 0.18);
    border-color: var(--gold);
    color: #ffffff;
}

.learn-pagination-wrap span.page-numbers.current {
    background: var(--gold);
    color: #080911;
    border-color: var(--gold);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(223, 183, 108, 0.4);
}

/* 8. Sidebar Widgets */
.sidebar-new-tarot-box {
    background: radial-gradient(circle at 100% 0%, rgba(223, 183, 108, 0.18) 0%, rgba(18, 21, 46, 0.95) 75%);
    border: 1px solid rgba(223, 183, 108, 0.35);
    border-radius: 14px;
    padding: 24px 20px;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.new-tarot-sun-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(223, 183, 108, 0.45);
    margin-bottom: 12px;
}

.new-tarot-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0 0 8px;
}

.new-tarot-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 16px;
}

.new-tarot-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4f2d7f 0%, #301b52 100%);
    border: 1px solid rgba(223, 183, 108, 0.45);
    color: #fbf5e8;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 9px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.new-tarot-btn:hover {
    background: linear-gradient(135deg, var(--gold) 0%, #c49a45 100%);
    color: #080911;
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(223, 183, 108, 0.45);
}

.popular-guides-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-guide-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: transform 0.2s ease;
}

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

.popular-guide-item:hover {
    transform: translateX(4px);
}

.popular-thumb-wrap {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #090a16;
    border: 1px solid rgba(223, 183, 108, 0.2);
}

.popular-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
}

.popular-meta-wrap {
    flex: 1;
    min-width: 0;
}

.popular-item-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.35;
    margin: 0 0 3px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.popular-guide-item:hover .popular-item-title {
    color: var(--gold-light);
}

.popular-item-time {
    font-size: 0.74rem;
    color: var(--gold-light);
    display: block;
}

/* Recommended Tools List */
.recommended-tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rec-tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(223, 183, 108, 0.14);
    text-decoration: none;
    transition: all 0.22s ease;
}

.rec-tool-item:hover {
    background: rgba(223, 183, 108, 0.12);
    border-color: var(--gold);
    transform: translateX(4px);
}

.tool-bullet-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rec-tool-text {
    flex: 1;
}

.rec-tool-name {
    display: block;
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 600;
}

.rec-tool-action {
    display: block;
    font-size: 0.74rem;
    color: var(--gold-light);
    opacity: 0.85;
}

/* 9. Bottom CTA Banner */
.learn-bottom-cta-banner {
    background: 
        radial-gradient(circle at 15% 50%, rgba(79, 45, 127, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, rgba(16, 18, 42, 0.96) 0%, rgba(9, 10, 22, 0.98) 100%);
    border-top: 1px solid rgba(223, 183, 108, 0.25);
    border-bottom: 1px solid rgba(223, 183, 108, 0.25);
    padding: 45px 0;
    margin-top: 30px;
}

.bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.bottom-cta-text-wrap {
    flex: 1;
    min-width: 280px;
}

.bottom-cta-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.bottom-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    color: #ffffff;
    margin: 0 0 6px;
}

.bottom-cta-desc {
    color: var(--text-secondary);
    font-size: 0.94rem;
    margin: 0;
    line-height: 1.6;
}

.bottom-cta-gold-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dfb76c 0%, #c49a45 100%);
    color: #080911;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(223, 183, 108, 0.35);
    white-space: nowrap;
}

.bottom-cta-gold-btn:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(223, 183, 108, 0.55);
}

/* Desktop / Mobile Visibility for New to Tarot Box */
.mobile-only-new-tarot {
    display: none;
}

.desktop-only-new-tarot {
    display: flex;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile 375px - 500px)
   ========================================================================== */

@media (max-width: 1024px) {
    .site-header .site-container {
        padding: 0 20px !important;
    }

    .learn-layout-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .learn-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
        max-width: 100%;
    }

    .learn-sidebar-column {
        margin-top: 24px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .mobile-only-new-tarot {
        display: flex;
        margin-top: 20px;
        margin-bottom: 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .desktop-only-new-tarot {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Global Container on Mobile */
    .site-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .site-header .site-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .learn-main-container {
        padding-top: 22px !important;
        padding-bottom: 36px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .learn-layout-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 20px !important;
    }

    .learn-content-column {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    /* Compact horizontal category cards on mobile */
    .learn-categories-section {
        padding: 16px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .learn-categories-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .learn-cat-card {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        padding: 12px 14px !important;
        gap: 14px !important;
        border-radius: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .cat-card-icon-box {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.25rem !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    .cat-card-content {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .cat-card-name {
        font-size: 0.92rem !important;
        margin: 0 0 2px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .cat-card-desc {
        font-size: 0.76rem !important;
        margin: 0 0 2px !important;
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .cat-card-count {
        font-size: 0.75rem !important;
    }

    /* Featured Guide Mobile */
    .featured-guide-section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 24px !important;
    }

    .featured-guide-card {
        grid-template-columns: minmax(0, 1fr) !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .featured-card-thumb-wrap {
        height: 190px !important;
        min-height: 160px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .featured-card-content {
        padding: 16px 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .featured-card-title {
        font-size: 1.12rem !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .featured-card-excerpt {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .featured-card-meta-bottom {
        font-size: 0.76rem !important;
        margin-bottom: 14px !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .featured-read-btn {
        font-size: 0.84rem !important;
        padding: 8px 16px !important;
    }

    /* Mobile New to Tarot CTA */
    .sidebar-new-tarot-box {
        padding: 16px 14px !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .new-tarot-sun-img {
        width: 58px !important;
        height: 58px !important;
        margin-bottom: 8px !important;
    }

    .new-tarot-title {
        font-size: 1.15rem !important;
        margin-bottom: 4px !important;
    }

    .new-tarot-desc {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
        margin-bottom: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .new-tarot-btn {
        font-size: 0.84rem !important;
        padding: 8px 18px !important;
    }

    /* Category Filter Section & Pills Bar Mobile */
    .learn-filter-section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        margin-bottom: 16px !important;
    }

    .filter-pills-bar {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding-bottom: 8px !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        box-sizing: border-box !important;
    }

    .filter-pills-bar::-webkit-scrollbar {
        display: none !important;
    }

    .filter-pill {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 6px 13px !important;
        font-size: 0.8rem !important;
    }

    /* Article Grid Mobile */
    .learn-articles-section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 24px !important;
    }

    .learn-articles-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .learn-article-card {
        border-radius: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .article-card-thumb-wrap {
        aspect-ratio: 16 / 9 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-card-body {
        padding: 14px 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .article-card-title {
        font-size: 0.98rem !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .article-card-excerpt {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    /* 78 Tarot Cards Archive & Homepage Grid Mobile */
    .tarot-cards-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .tarot-grid-card-item {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .grid-card-meta {
        padding: 8px 6px !important;
    }

    .grid-card-name {
        font-size: 0.84rem !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .grid-card-arcana {
        font-size: 0.68rem !important;
    }

    /* Sidebar Widgets Mobile */
    .learn-sidebar-column {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .sidebar-widget {
        padding: 16px 14px !important;
        margin-bottom: 16px !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .sidebar-widget-title {
        font-size: 1.02rem !important;
        margin-bottom: 12px !important;
    }

    .popular-thumb-wrap {
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0 !important;
    }

    .popular-meta-wrap {
        min-width: 0 !important;
        flex: 1 !important;
    }

    .popular-item-title {
        font-size: 0.82rem !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .rec-tool-item {
        padding: 8px 10px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .rec-tool-name {
        font-size: 0.84rem !important;
    }

    .rec-tool-action {
        font-size: 0.72rem !important;
    }

    /* Bottom CTA Banner Mobile */
    .learn-bottom-cta-banner {
        padding: 30px 0 !important;
        margin-top: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .bottom-cta-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .bottom-cta-text-wrap {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bottom-cta-title {
        font-size: 1.25rem !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .bottom-cta-desc {
        font-size: 0.86rem !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .bottom-cta-btn-wrap {
        width: 100% !important;
    }

    .bottom-cta-gold-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 18px !important;
        font-size: 0.88rem !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    /* Single Post & Content Mobile Guards */
    .article-full-content,
    .entry-content,
    .single-post-container {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .article-full-content table,
    .entry-content table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
    }

    .article-full-content pre,
    .entry-content pre {
        max-width: 100% !important;
        overflow-x: auto !important;
    }

    .tarot-post-toc {
        padding: 14px 16px !important;
        margin: 20px 0 24px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .site-header .site-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .site-logo-img {
        height: 40px !important;
        max-width: 145px !important;
    }

    .learn-hero-section {
        padding: 24px 0 18px !important;
    }

    .learn-hero-title {
        font-size: 1.85rem !important;
    }

    .learn-hero-subtitle {
        font-size: 0.95rem !important;
    }

    .learn-hero-desc {
        font-size: 0.84rem !important;
    }

    .featured-card-thumb-wrap {
        height: 170px !important;
    }

    .featured-card-title {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 360px) {
    .tarot-cards-archive-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ==========================================================================
   TAROT COMBINATIONS HUB & RESULT PAGES
   ========================================================================== */

/* 1. Combinations Hero Sections */
.combinations-hero-section,
.single-combination-hero {
    position: relative;
    background-color: #080911;
    background-image: 
        radial-gradient(circle at 75% 25%, rgba(94, 53, 177, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(223, 183, 108, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(8, 9, 17, 0.95) 0%, rgba(11, 13, 26, 0.98) 100%);
    border-bottom: 1px solid rgba(223, 183, 108, 0.22);
    padding: 45px 0 35px;
    overflow: hidden;
}

.combinations-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.combinations-breadcrumb-wrap,
.combination-breadcrumb-wrap {
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
}

.single-combination-hero .combination-breadcrumb-wrap {
    justify-content: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 14px;
    background: rgba(223, 183, 108, 0.1);
    border: 1px solid rgba(223, 183, 108, 0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sparkle-glyph {
    color: var(--gold);
    font-size: 0.85rem;
}

.combinations-hero-title,
.combination-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4.4vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.single-combination-hero .combination-main-title {
    text-align: left;
}

.combinations-hero-subtitle,
.combination-main-subtitle {
    font-size: 1.12rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.45;
}

.single-combination-hero .combination-main-subtitle {
    text-align: left;
    max-width: 780px;
}

.combinations-hero-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 650px;
}

/* 2. Combination Selector Box */
.combination-selector-section {
    padding: 40px 0 50px;
    background: #07080f;
}

.selector-card-box {
    background: radial-gradient(circle at 50% 0%, rgba(32, 37, 75, 0.45) 0%, rgba(12, 14, 29, 0.95) 80%);
    border: 1px solid rgba(223, 183, 108, 0.28);
    border-radius: 18px;
    padding: 36px 32px 34px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(223, 183, 108, 0.08);
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.selector-box-header {
    text-align: center;
    margin-bottom: 28px;
}

.selector-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.selector-title .sparkle-star {
    color: var(--gold);
    font-size: 1.2rem;
    vertical-align: middle;
}

.selector-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 580px;
    line-height: 1.5;
}

/* Selector Controls Row */
.selector-controls-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: end;
    margin-bottom: 26px;
}

.card-select-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.select-label {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.4px;
}

.label-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(223, 183, 108, 0.18);
    border: 1px solid var(--gold);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.custom-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.card-search-filter {
    width: 100%;
    box-sizing: border-box;
    background: rgba(18, 20, 42, 0.85);
    border: 1px solid rgba(223, 183, 108, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s ease;
}

.card-search-filter::placeholder {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.card-search-filter:focus {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(223, 183, 108, 0.3);
    background: rgba(24, 28, 58, 0.95);
}

.tarot-card-dropdown {
    width: 100%;
    box-sizing: border-box;
    background: #0f1227;
    border: 1px solid rgba(223, 183, 108, 0.35);
    border-radius: 8px;
    padding: 11px 14px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tarot-card-dropdown:focus {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(223, 183, 108, 0.35);
}

.tarot-card-dropdown optgroup {
    background: #0a0c1b;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem;
}

.tarot-card-dropdown option {
    background: #11142a;
    color: #ffffff;
    padding: 6px 10px;
    font-size: 0.9rem;
}

.selector-connector-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px;
}

.connector-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(223, 183, 108, 0.12);
    border: 1px solid rgba(223, 183, 108, 0.4);
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(223, 183, 108, 0.2);
}

/* 3. Live Dual-Card Preview Display */
.live-preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px 16px;
    background: rgba(8, 10, 22, 0.6);
    border: 1px dashed rgba(223, 183, 108, 0.22);
    border-radius: 14px;
    margin-bottom: 22px;
}

.preview-card-item {
    width: 145px;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-card-frame {
    background: #0e1124;
    border: 1px solid rgba(223, 183, 108, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.28s ease;
}

.preview-card-item:hover .preview-card-frame {
    border-color: var(--gold);
    box-shadow: 0 10px 28px rgba(223, 183, 108, 0.25);
    transform: translateY(-3px);
}

.preview-card-art {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.7;
    background: #080914;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.preview-card-item:hover .preview-card-img {
    transform: scale(1.04);
}

.preview-card-item.is-placeholder .preview-card-img {
    opacity: 0.35;
    filter: grayscale(80%);
}

.preview-card-art .placeholder-glyph {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: var(--gold);
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(223, 183, 108, 0.6));
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.preview-card-item:not(.is-placeholder) .placeholder-glyph {
    display: none;
}

.preview-card-meta {
    padding: 10px 8px;
    background: #0b0d1e;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-card-suit {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 2px;
}

.preview-card-name {
    font-family: var(--font-heading);
    font-size: 0.86rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-middle-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-middle-badge .symbol-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(223, 183, 108, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Validation and Status Notices */
.selector-validation-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.88rem;
    margin-bottom: 18px;
    text-align: center;
}

.selector-status-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(223, 183, 108, 0.12);
    border: 1px solid rgba(223, 183, 108, 0.35);
    color: var(--gold-light);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.88rem;
    margin-bottom: 18px;
    text-align: center;
}

/* Explore Button */
.selector-action-row {
    text-align: center;
    margin-top: 6px;
}

.btn-explore-combination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #dfb76c 0%, #b88a38 100%);
    color: #070810;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(223, 183, 108, 0.38);
    letter-spacing: 0.3px;
}

.btn-explore-combination:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(223, 183, 108, 0.55);
    background: linear-gradient(135deg, #faecd3 0%, #dfb76c 100%);
}

.btn-explore-combination:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    filter: grayscale(40%);
}

/* 6. Popular Combinations Section */
.popular-combinations-section {
    padding: 60px 0 50px;
    background: #080912;
    border-top: 1px solid rgba(223, 183, 108, 0.12);
}

.section-heading-center {
    text-align: center;
    margin-bottom: 38px;
}

.section-kicker {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.popular-combinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.popular-comb-card {
    background: rgba(14, 17, 36, 0.7);
    border: 1px solid rgba(223, 183, 108, 0.2);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.popular-comb-card:hover {
    transform: translateY(-4px);
    border-color: rgba(223, 183, 108, 0.5);
    background: rgba(22, 27, 56, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(223, 183, 108, 0.12);
}

.popular-comb-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 22px 18px;
    box-sizing: border-box;
}

.popular-dual-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.thumb-frame {
    width: 64px;
    height: 108px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(223, 183, 108, 0.35);
    background: #090a18;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease;
}

.popular-comb-card:hover .thumb-left {
    transform: rotate(-3deg) scale(1.05);
}

.popular-comb-card:hover .thumb-right {
    transform: rotate(3deg) scale(1.05);
}

.thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-connector {
    color: var(--gold);
    font-size: 1.15rem;
    font-weight: 700;
}

.popular-comb-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.popular-comb-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.35;
}

.popular-comb-card:hover .popular-comb-title {
    color: var(--gold-light);
}

.popular-comb-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}

.popular-comb-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.popular-comb-card:hover .popular-comb-cta {
    gap: 9px;
    color: var(--gold-light);
}

/* 7. Browse by Tarot Card Section */
.browse-by-card-section {
    padding: 60px 0 50px;
    background: #06070e;
    border-top: 1px solid rgba(223, 183, 108, 0.12);
}

.browse-tabs-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.browse-tab-btn {
    background: rgba(18, 21, 44, 0.7);
    border: 1px solid rgba(223, 183, 108, 0.22);
    border-radius: 25px;
    padding: 9px 18px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.browse-tab-btn:hover {
    color: #ffffff;
    border-color: rgba(223, 183, 108, 0.45);
    background: rgba(26, 31, 64, 0.85);
}

.browse-tab-btn.active {
    background: linear-gradient(135deg, rgba(223, 183, 108, 0.25) 0%, rgba(223, 183, 108, 0.1) 100%);
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 0 15px rgba(223, 183, 108, 0.2);
}

.browse-tab-pane {
    display: none;
}

.browse-tab-pane.is-active {
    display: block;
}

.compact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.browse-card-btn {
    background: rgba(14, 17, 36, 0.6);
    border: 1px solid rgba(223, 183, 108, 0.18);
    border-radius: 8px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    transition: all 0.22s ease;
    width: 100%;
    box-sizing: border-box;
}

.browse-card-btn:hover {
    background: rgba(24, 29, 60, 0.95);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.browse-card-thumb {
    width: 54px;
    height: 92px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid rgba(223, 183, 108, 0.25);
    background: #090a16;
}

.browse-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.browse-card-name {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    color: #ffffff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.browse-card-btn:hover .browse-card-name {
    color: var(--gold-light);
}

/* 9. How It Works Section */
.combinations-how-it-works-section {
    padding: 60px 0 50px;
    background: #080912;
    border-top: 1px solid rgba(223, 183, 108, 0.12);
}

.how-it-works-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: rgba(14, 17, 36, 0.65);
    border: 1px solid rgba(223, 183, 108, 0.2);
    border-radius: 14px;
    padding: 30px 22px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(223, 183, 108, 0.4);
    background: rgba(20, 24, 52, 0.85);
}

.step-badge {
    position: absolute;
    top: 14px;
    left: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(223, 183, 108, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-wrap {
    font-size: 2rem;
    margin: 8px 0 14px;
    color: var(--gold);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 8. Educational SEO Content Section */
.combinations-edu-section {
    padding: 60px 0 50px;
    background: #06070e;
    border-top: 1px solid rgba(223, 183, 108, 0.12);
}

.edu-content-box {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(12, 14, 30, 0.65);
    border: 1px solid rgba(223, 183, 108, 0.2);
    border-radius: 16px;
    padding: 40px 36px;
    box-sizing: border-box;
}

.edu-header {
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(223, 183, 108, 0.18);
}

.edu-main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    color: #ffffff;
    margin-bottom: 12px;
}

.edu-lead {
    font-size: 1.02rem;
    color: var(--gold-light);
    line-height: 1.65;
    margin: 0;
}

.edu-article-body .edu-block {
    margin-bottom: 26px;
}

.edu-article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.edu-article-body p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.edu-article-body ul,
.edu-article-body ol {
    margin: 10px 0 16px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

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

.edu-article-body strong {
    color: #ffffff;
}

/* 14. Bottom Call To Action Banner */
.combinations-bottom-cta {
    padding: 55px 0;
    background: radial-gradient(circle at 50% 50%, rgba(94, 53, 177, 0.25) 0%, rgba(6, 7, 14, 0.98) 75%);
    border-top: 1px solid rgba(223, 183, 108, 0.22);
}

.combinations-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(16, 19, 42, 0.65);
    border: 1px solid rgba(223, 183, 108, 0.3);
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-text-side {
    max-width: 620px;
}

.cta-kicker {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.cta-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cta-btn-side {
    flex-shrink: 0;
}

.cta-gold-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dfb76c 0%, #b88a38 100%);
    color: #070810;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(223, 183, 108, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cta-gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(223, 183, 108, 0.55);
    color: #070810;
}

/* ==========================================================================
   SINGLE TAROT COMBINATION RESULT PAGE TEMPLATE
   ========================================================================== */

.single-combination-page {
    background: #080911;
    min-height: 100vh;
}

.combination-content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding-top: 36px;
    padding-bottom: 50px;
}

/* Dual Cards Visual Showcase */
.dual-cards-display {
    margin-bottom: 34px;
}

.dual-cards-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.comb-card-frame {
    width: 220px;
    background: #0d1024;
    border: 1px solid rgba(223, 183, 108, 0.35);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(223, 183, 108, 0.1);
    text-align: center;
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.comb-card-frame:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.comb-card-art-link {
    display: block;
    aspect-ratio: 1 / 1.7;
    overflow: hidden;
    background: #060710;
}

.comb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.comb-card-frame:hover .comb-card-img {
    transform: scale(1.05);
}

.comb-card-caption {
    padding: 14px 12px;
    background: #090b1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.comb-card-arcana {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    margin-bottom: 4px;
}

.comb-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin: 0 0 8px;
    line-height: 1.3;
}

.comb-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comb-card-title a:hover {
    color: var(--gold-light);
}

.card-meaning-pill-link {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(223, 183, 108, 0.1);
    border: 1px solid rgba(223, 183, 108, 0.25);
    transition: all 0.2s ease;
}

.card-meaning-pill-link:hover {
    background: rgba(223, 183, 108, 0.22);
    color: #ffffff;
}

.comb-cards-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.connector-glyph-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(223, 183, 108, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(223, 183, 108, 0.25);
}

/* 11. Quick Meaning Highlight Box */
.quick-meaning-highlight-box {
    margin-bottom: 34px;
}

.quick-meaning-inner {
    background: radial-gradient(circle at 50% 0%, rgba(223, 183, 108, 0.15) 0%, rgba(18, 21, 46, 0.95) 100%);
    border: 1px solid rgba(223, 183, 108, 0.4);
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.quick-meaning-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 15px;
    background: rgba(223, 183, 108, 0.18);
    border: 1px solid var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.quick-keywords-bar {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(223, 183, 108, 0.18);
}

.quick-keywords-bar strong {
    color: var(--gold);
    margin-right: 6px;
}

.keywords-list {
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.quick-meaning-text {
    font-size: 1.05rem;
    color: #f1f3f9;
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}

/* Detailed Meanings Prose */
.combination-article-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.meaning-section-block {
    background: rgba(14, 17, 36, 0.6);
    border: 1px solid rgba(223, 183, 108, 0.18);
    border-radius: 14px;
    padding: 28px 28px 26px;
    box-sizing: border-box;
}

.advice-highlight-block {
    background: radial-gradient(circle at 10% 10%, rgba(223, 183, 108, 0.12) 0%, rgba(14, 17, 36, 0.75) 100%);
    border-color: rgba(223, 183, 108, 0.35);
}

.meaning-section-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.section-icon {
    font-size: 1.25rem;
}

.meaning-section-prose {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.meaning-section-prose p {
    margin-bottom: 12px;
}

.meaning-section-prose p:last-child {
    margin-bottom: 0;
}

.meaning-inline-cta {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(223, 183, 108, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.inline-cta-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.inline-cta-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* 12. Related Combinations in Result Page */
.related-combinations-section {
    margin-bottom: 40px;
    padding-top: 10px;
}

.related-comb-heading {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.related-comb-heading .sparkle-star {
    color: var(--gold);
    font-size: 1.15rem;
}

.related-combinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-comb-card {
    background: rgba(14, 17, 36, 0.65);
    border: 1px solid rgba(223, 183, 108, 0.18);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.related-comb-card:hover {
    transform: translateY(-3px);
    border-color: rgba(223, 183, 108, 0.45);
    background: rgba(22, 27, 56, 0.85);
}

.related-comb-link {
    display: flex;
    flex-direction: column;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.related-dual-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.thumb-mini {
    width: 48px;
    height: 82px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(223, 183, 108, 0.25);
    background: #080914;
}

.thumb-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-plus {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
}

.related-comb-info {
    text-align: center;
}

.related-comb-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.related-comb-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

/* 13. Explore Another Combination Component */
.explore-another-section {
    margin-bottom: 40px;
}

.explore-another-box {
    background: radial-gradient(circle at 50% 0%, rgba(32, 37, 75, 0.4) 0%, rgba(12, 14, 29, 0.9) 100%);
    border: 1px solid rgba(223, 183, 108, 0.28);
    border-radius: 16px;
    padding: 30px 28px;
    text-align: center;
}

.explore-another-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.explore-another-title .sparkle-star {
    color: var(--gold);
    font-size: 1.15rem;
}

.explore-another-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.quick-selector-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.quick-select-col {
    flex: 1;
    min-width: 180px;
    text-align: left;
}

.quick-select-col label {
    display: block;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.another-card-select {
    width: 100%;
    padding: 10px 12px;
    background: #0f1227;
    border: 1px solid rgba(223, 183, 108, 0.35);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
}

.another-card-select:focus {
    border-color: var(--gold);
}

.quick-plus-col {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    align-self: flex-end;
    padding-bottom: 8px;
}

.quick-action-col {
    align-self: flex-end;
}

.btn-quick-explore {
    background: linear-gradient(135deg, #dfb76c 0%, #b88a38 100%);
    color: #080912;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-quick-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(223, 183, 108, 0.4);
}

.quick-validation-notice {
    margin-top: 14px;
    color: #fca5a5;
    font-size: 0.85rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-block;
}

/* ==========================================================================
   RESPONSIVE DESIGN RULES FOR TAROT COMBINATIONS
   ========================================================================== */

/* Tablet (<= 992px) */
@media (max-width: 992px) {
    .popular-combinations-grid,
    .related-combinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .how-it-works-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comb-card-frame {
        width: 180px;
    }

    .combinations-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }

    .cta-btn-side {
        width: 100%;
    }

    .cta-gold-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Mobile Screen (<= 768px) */
@media (max-width: 768px) {
    .combinations-hero-section,
    .single-combination-hero {
        padding: 30px 0 24px;
    }

    .combinations-hero-title,
    .combination-main-title {
        font-size: 1.95rem;
    }

    .single-combination-hero .combination-main-title {
        text-align: center;
    }

    .single-combination-hero .combination-main-subtitle {
        text-align: center;
    }

    .single-combination-hero .combination-breadcrumb-wrap {
        justify-content: center;
    }

    .selector-card-box {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .selector-title {
        font-size: 1.35rem;
    }

    .selector-controls-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .selector-connector-plus {
        padding-bottom: 0;
        margin: -4px 0;
    }

    .connector-circle {
        width: 32px;
        height: 32px;
        font-size: 1.15rem;
    }

    /* Live Preview Mobile: Keep cards side by side comfortably */
    .live-preview-container {
        gap: 12px;
        padding: 16px 8px;
    }

    .preview-card-item {
        width: 125px;
    }

    .preview-card-name {
        font-size: 0.78rem;
    }

    .preview-card-suit {
        font-size: 0.62rem;
    }

    .preview-middle-badge .symbol-plus {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .btn-explore-combination {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.98rem;
        box-sizing: border-box;
    }

    .popular-combinations-grid,
    .related-combinations-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .browse-tabs-bar {
        gap: 6px;
    }

    .browse-tab-btn {
        padding: 7px 12px;
        font-size: 0.78rem;
    }

    .compact-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
        gap: 8px;
    }

    .browse-card-btn {
        padding: 8px 4px;
    }

    .browse-card-thumb {
        width: 44px;
        height: 74px;
    }

    .browse-card-name {
        font-size: 0.72rem;
    }

    /* Single Result Dual Cards Mobile: Responsive side-by-side */
    .dual-cards-row {
        gap: 12px;
    }

    .comb-card-frame {
        width: 140px;
        border-radius: 10px;
    }

    .comb-card-caption {
        padding: 10px 6px;
    }

    .comb-card-title {
        font-size: 0.88rem;
    }

    .card-meaning-pill-link {
        font-size: 0.68rem;
        padding: 2px 7px;
    }

    .connector-glyph-circle {
        width: 32px;
        height: 32px;
        font-size: 1.15rem;
    }

    .quick-meaning-inner {
        padding: 20px 16px;
    }

    .quick-keywords-bar {
        font-size: 0.85rem;
    }

    .quick-meaning-text {
        font-size: 0.94rem;
    }

    .meaning-section-block {
        padding: 20px 16px;
    }

    .meaning-section-heading {
        font-size: 1.18rem;
    }

    .meaning-section-prose {
        font-size: 0.92rem;
    }

    .meaning-inline-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-selector-row {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-plus-col {
        align-self: center;
        padding-bottom: 0;
    }

    .btn-quick-explore {
        width: 100%;
        padding: 12px;
    }

    .edu-content-box {
        padding: 24px 18px;
    }

    .edu-main-title {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile (<= 480px & 375px) */
@media (max-width: 480px) {
    .preview-card-item {
        width: 105px;
    }

    .comb-card-frame {
        width: 125px;
    }

    .compact-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Zero Horizontal Overflow Guard */
.tarot-combinations-hub-page,
.single-combination-page,
.selector-card-box,
.live-preview-container,
.combinations-cta-inner,
.edu-content-box,
.quick-meaning-inner {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}
