/*
Theme Name: Academic Success AI
Theme URI: https://academicsuccess.ai
Description: Custom theme for academicsuccess.ai with animated gradient background and frosted-glass UI — teacher-facing AI prompt library, membership dashboard, pricing, blog, and legal pages.
Author: Academic Success with AI
Author URI: https://academicsuccess.ai
Version: 2.3.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: academic-success-ai
*/

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

/* CRITICAL: Remove ALL text underlines from links sitewide */
/* Using high specificity to override any theme/plugin styles */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active,
.btn,
.btn:link,
.btn:visited,
.btn:hover,
.btn:focus,
.btn:active,
body a,
body a:link,
body a:visited,
body a:hover,
body a:focus,
body a:active,
main a,
main a:hover,
.homepage-main a,
.homepage-main a:hover,
.pricing-card a,
.pricing-card a:hover,
.hero-cta a,
.hero-cta a:hover,
.legal-notice-card a,
.legal-notice-card a:hover,
.legal-notice-card-link,
.legal-notice-card-link:hover,
.legal-notice-card-link h3,
.legal-notice-card-link p {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    background: #292E3D;
    color: #EAEAEA;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}

/* Sticky footer: any short-content page (e.g. a single blog post with just
   a few paragraphs) has slack vertical space which gets pushed above the
   site-wide footer so the colophon always anchors to the bottom. */
body > .site-footer-main {
    margin-top: auto;
}

/* Headings - High Contrast for Visibility */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 128, 254, 0.2);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Strong Text */
strong, b {
    color: #fff;
    font-weight: 600;
}

/* Links - High Contrast - No Underlines Anywhere */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active {
    color: #3cc8ff;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #0080fe;
}

/* Ensure headings inside links have no underline */
a h1, a h2, a h3, a h4, a h5, a h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none !important;
}

/* Card links - no underline */
.legal-notice-card a,
.legal-notice-card-link,
.legal-notice-card-link *,
.usp-card a,
.pricing-card a,
.included-item a {
    text-decoration: none !important;
}

/* Paragraphs */
p {
    margin: 0 0 1rem 0;
    color: #EAEAEA;
}

/* Animated Gradient Background */
#gradient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    left: -999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Main Container */
.splash-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Content Card with Frosted Glass Effect */
.splash-content {
    max-width: 650px;
    width: 100%;
    background: rgba(45, 50, 70, 0.88);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.9s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.site-logo {
    max-width: 220px;
    height: auto;
    margin: 0 auto 25px;
    opacity: 0;
    animation: fadeIn 0.9s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.site-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Site Title Fallback (when no logo) */
.site-title-fallback {
    margin: 0;
    font-size: 2rem;
    color: #0080fe;
}

/* Heading */
.site-heading {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0080fe;
    margin-bottom: 20px;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
    animation-delay: 0.2s;
}

/* Description */
.site-description {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #A0A7B8;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
    animation-delay: 0.4s;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
    animation-delay: 0.6s;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease, outline 0.3s ease;
    text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
    background: rgba(0, 128, 254, 0.2);
    transform: translateY(-2px);
    outline: 2px solid #0080fe;
    outline-offset: 2px;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: #EAEAEA;
    transition: fill 0.3s ease;
}

.social-links a:hover svg,
.social-links a:focus svg {
    fill: #3cc8ff;
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    color: #A0A7B8;
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
    animation-delay: 0.8s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .splash-content {
        padding: 30px 20px;
    }

    .site-logo {
        max-width: 180px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .splash-container {
        padding: 15px;
    }

    .splash-content {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .site-logo {
        max-width: 150px;
        margin-bottom: 20px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    #gradient-canvas {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .splash-content {
        background: white;
        box-shadow: none;
    }

    .social-links {
        display: none;
    }
}

/* ===================================
   SITE HEADER & NAVIGATION
   =================================== */

.site-header {
    background: rgba(20, 23, 35, 0.98);
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding img,
.site-branding .custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title:hover {
    color: #3cc8ff;
}

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

.menu-toggle {
    display: none;
    background: rgba(0, 128, 254, 0.2);
    border: 2px solid rgba(0, 128, 254, 0.4);
    border-radius: 8px;
    padding: 0.625rem;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(0, 128, 254, 0.3);
    border-color: #3cc8ff;
    box-shadow: 0 0 15px rgba(0, 128, 254, 0.4);
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.primary-menu li {
    position: relative;
}

.primary-menu li a {
    color: #EAEAEA;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    font-weight: 500;
    font-size: 1rem;
}

.primary-menu li a:hover,
.primary-menu li a:focus {
    background: rgba(0, 128, 254, 0.25);
    color: #3cc8ff;
    box-shadow: 0 0 15px rgba(0, 128, 254, 0.3);
}

.primary-menu li.current-menu-item > a,
.primary-menu li.current_page_item > a {
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.4) 0%, rgba(60, 200, 255, 0.3) 100%);
    color: #3cc8ff;
    box-shadow: 0 0 15px rgba(0, 128, 254, 0.3);
}

/* Submenu styles */
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 23, 35, 0.99);
    border: 1px solid rgba(0, 128, 254, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    list-style: none;
    margin: 0.5rem 0 0 0;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    display: block;
}

.primary-menu .sub-menu li a {
    padding: 0.75rem 1.25rem;
}

/* Sign Up / Register button style */
.primary-menu li.menu-item-register a,
.primary-menu li a.menu-btn-primary {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 128, 254, 0.4);
}

.primary-menu li.menu-item-register a:hover,
.primary-menu li a.menu-btn-primary:hover {
    background: linear-gradient(135deg, #0070e0 0%, #2ab8ef 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 254, 0.5);
}

/* Login link style */
.primary-menu li.menu-item-login a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-menu li.menu-item-login a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Logout link style */
.primary-menu li.menu-item-logout a {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.primary-menu li.menu-item-logout a:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.5);
}

/* Dashboard link style */
.primary-menu li.menu-item-dashboard a {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.primary-menu li.menu-item-dashboard a:hover {
    background: rgba(34, 197, 94, 0.25);
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.5);
}

/* Profile link style */
.primary-menu li.menu-item-profile a {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.primary-menu li.menu-item-profile a:hover {
    background: rgba(139, 92, 246, 0.25);
    color: #ddd6fe;
    border-color: rgba(139, 92, 246, 0.5);
}

/* Admin link style */
.primary-menu li.menu-item-admin a {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.primary-menu li.menu-item-admin a:hover {
    background: rgba(251, 191, 36, 0.25);
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.5);
}

/* ===================================
   SITE FOOTER
   =================================== */

.site-footer-main {
    background: rgba(15, 18, 28, 0.99);
    border-top: 2px solid rgba(0, 128, 254, 0.3);
    margin-top: 4rem;
    color: #EAEAEA;
}

.footer-widgets {
    padding: 4rem 0 3rem;
}

.footer-widgets-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column {
    color: #EAEAEA;
}

.footer-column .widget {
    margin-bottom: 2rem;
}

.footer-column .widget:last-child {
    margin-bottom: 0;
}

.footer-column .widget-title,
.footer-column h1,
.footer-column h2,
.footer-column h3,
.footer-column h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 128, 254, 0.3);
}

.footer-column p {
    color: #EAEAEA;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #A0A7B8;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: #3cc8ff;
    padding-left: 0.5rem;
}

.footer-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Colophon */
.site-colophon {
    background: rgba(10, 12, 20, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.colophon-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.colophon-text {
    color: #A0A7B8;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

.colophon-text a {
    color: #3cc8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.colophon-text a:hover {
    color: #0080fe;
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .site-header-inner {
        padding: 1rem 1.5rem;
    }

    .footer-widgets-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-header-inner {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .primary-menu {
        display: none;
        position: fixed;
        top: calc(60px + 1rem + 2px);
        left: 0;
        right: 0;
        background: rgba(15, 18, 28, 0.99);
        flex-direction: column;
        padding: 1.5rem;
        border-top: 1px solid rgba(0, 128, 254, 0.3);
        border-bottom: 2px solid rgba(0, 128, 254, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        gap: 0;
    }

    .primary-menu.active {
        display: flex;
    }

    .primary-menu li {
        width: 100%;
    }

    .primary-menu li a {
        padding: 1rem 1.25rem;
        border-radius: 6px;
    }

    .primary-menu .sub-menu {
        position: static;
        display: none;
        background: rgba(0, 128, 254, 0.1);
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        margin: 0.5rem 0;
    }

    .primary-menu li.menu-item-has-children > a::after {
        content: ' ▼';
        font-size: 0.75rem;
        margin-left: 0.5rem;
    }

    /* User menu items - mobile */
    .primary-menu li.menu-item-register,
    .primary-menu li.menu-item-login,
    .primary-menu li.menu-item-dashboard,
    .primary-menu li.menu-item-profile,
    .primary-menu li.menu-item-admin,
    .primary-menu li.menu-item-logout {
        margin-top: 0.5rem;
    }

    .primary-menu li.menu-item-register a,
    .primary-menu li a.menu-btn-primary {
        text-align: center;
    }

    .footer-widgets-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .footer-column:last-child {
        grid-column: 1;
    }

    .colophon-inner {
        padding: 0 1.5rem;
    }
}

/* ===================================
   ACCESSIBILITY & UTILITIES
   =================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #0080fe;
    clip: auto !important;
    clip-path: none;
    color: #fff;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    border-radius: 4px;
}

/* Skip link - only visible on keyboard focus for accessibility */
.skip-link {
    background-color: #0080fe;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
    color: #fff;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    left: -9999em;
    outline: none;
    padding: 15px 23px 14px;
    text-decoration: none !important;
    text-transform: none;
    top: -9999em;
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    left: 6px;
    top: 7px;
    width: auto;
    z-index: 100000;
    border-radius: 4px;
    position: fixed;
    overflow: visible;
}

/* ===================================
   PROMPT ARCHIVE PAGE STYLES
   =================================== */

/* Archive Container */
.prompt-archive {
    padding: 4rem 0;
}

.archive-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Archive Header */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
}

.archive-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 20px rgba(0, 128, 254, 0.4);
}

.archive-description {
    font-size: 1.125rem;
    color: #A0A7B8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Archive Filters */
.plp-archive-filters {
    margin-bottom: 3rem;
}

.plp-archive-filters .plp-filter-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plp-archive-filters .plp-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.plp-archive-filters .plp-filter-label {
    font-weight: 600;
    font-size: 1rem;
    color: #EAEAEA;
    margin-right: 0.5rem;
}

/* Archive Grid */
.plp-archive-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-bottom: 4rem;
}

.plp-archive-grid[data-columns="2"] {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.plp-archive-grid[data-columns="3"] {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.plp-archive-grid[data-columns="4"] {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/*
 * On the prompt CPT archive (/prompts/) we want exactly 4 columns at
 * desktop, regardless of how many minmax tracks would fit. This matches
 * the /prompt-library/ shortcode page layout (see body.page-prompt-library
 * rules above) so both pages feel like the same product.
 */
body.post-type-archive-prompt .plp-archive-grid,
body.post-type-archive-prompt .plp-archive-grid[data-columns="2"],
body.post-type-archive-prompt .plp-archive-grid[data-columns="3"],
body.post-type-archive-prompt .plp-archive-grid[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    body.post-type-archive-prompt .plp-archive-grid,
    body.post-type-archive-prompt .plp-archive-grid[data-columns="2"],
    body.post-type-archive-prompt .plp-archive-grid[data-columns="3"],
    body.post-type-archive-prompt .plp-archive-grid[data-columns="4"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.post-type-archive-prompt .plp-archive-grid,
    body.post-type-archive-prompt .plp-archive-grid[data-columns="2"],
    body.post-type-archive-prompt .plp-archive-grid[data-columns="3"],
    body.post-type-archive-prompt .plp-archive-grid[data-columns="4"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.post-type-archive-prompt .plp-archive-grid,
    body.post-type-archive-prompt .plp-archive-grid[data-columns="2"],
    body.post-type-archive-prompt .plp-archive-grid[data-columns="3"],
    body.post-type-archive-prompt .plp-archive-grid[data-columns="4"] {
        grid-template-columns: 1fr;
    }
}

/*
 * Category pill ("Classroom engagement" / "NQT/ECT Support" / etc.) is
 * the most important navigation cue on a card — users scan by category
 * to find what they need. Was rendering grey-on-dark (#6b7280 on
 * rgba(255,255,255,0.1)) which was both invisible and below WCAG AA
 * contrast.
 *
 * Now: solid orange gradient with white text. Picks an unused colour
 * (FREE = green, MEMBERS/SKU = blue, PREMIUM = purple) so the category
 * stands out at a glance and can't be confused with an access tier.
 * White on #ea580c gives ~4.65:1 contrast — passes WCAG AA for normal
 * text. Subtle drop-shadow lifts it off the dark card.
 *
 * Selectors target every place .plp-card-category appears inside a card
 * grid, so the rule applies on /prompts/, /prompt-library/, taxonomy
 * archives, and the homepage random grid.
 */
.plp-archive-grid .plp-card-category,
.plp-library-grid .plp-card-category,
.plp-library-card .plp-card-category,
.plp-archive-card .plp-card-category,
.plp-prompt-card .plp-card-category {
    /* Tinted orange — matches the visual weight of the MEMBERS / SKU
       pills (which are also tinted, not solid gradients) so the card
       header stays balanced. Light orange text on tinted bg gives
       ~7:1 contrast on the dark frosted-glass card — well above
       WCAG AA. Distinct from blue (MEMBERS/SKU), green (FREE),
       purple (PREMIUM). */
    background: rgba(251, 146, 60, 0.18);
    color: #fdba74;
    border: 1px solid rgba(251, 146, 60, 0.35);
    font-weight: 500;
    box-shadow: none;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
}

/*
 * Card header pills wrap to a second row when they don't all fit on
 * one line — long categories ("Inclusion & Differentiation" etc.) on
 * narrow cards were overflowing the right edge. Wrapping is friendlier
 * than truncating: the user can still read the whole label.
 */
.plp-library-card .plp-card-header,
.plp-archive-card .plp-card-header,
.plp-prompt-card .plp-card-header {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.5rem;
}

/* Pagination */
.plp-pagination,
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    list-style: none;
    padding: 0;
}

.plp-pagination .nav-links,
.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.plp-pagination a,
.plp-pagination span,
.pagination a,
.pagination span {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #EAEAEA;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
    font-size: 0.9375rem;
}

.plp-pagination a:hover,
.plp-pagination a:focus,
.pagination a:hover,
.pagination a:focus {
    background: rgba(0, 128, 254, 0.2);
    border-color: #0080fe;
    color: #3cc8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 254, 0.3);
}

.plp-pagination .current,
.pagination .current {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    border-color: #3cc8ff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 128, 254, 0.4);
}

.plp-pagination .dots,
.pagination .dots {
    background: transparent;
    border: none;
    color: #A0A7B8;
}

/* Archive Responsive */
@media (max-width: 1200px) {
    .archive-title {
        font-size: 2.5rem;
    }

    .plp-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .prompt-archive {
        padding: 2rem 0;
    }

    .archive-container {
        padding: 0 1.5rem;
    }

    .archive-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .archive-title {
        font-size: 2rem;
    }

    .archive-description {
        font-size: 1rem;
    }

    .plp-archive-filters {
        margin-bottom: 2rem;
    }

    .plp-archive-filters .plp-filter-group {
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .plp-archive-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .plp-archive-grid[data-columns="2"],
    .plp-archive-grid[data-columns="3"],
    .plp-archive-grid[data-columns="4"] {
        grid-template-columns: 1fr;
    }

    .plp-pagination a,
    .plp-pagination span,
    .pagination a,
    .pagination span {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   HOMEPAGE TEMPLATE STYLES
   =================================== */

/* Homepage Main Container */
.homepage-main {
    overflow-x: hidden;
}

/* Section Spacing */
.homepage-main section {
    padding: 5rem 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 20px rgba(0, 128, 254, 0.4);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #A0A7B8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.btn:hover,
.btn:focus {
    text-decoration: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(0, 128, 254, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0060cc 0%, #0090e0 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 128, 254, 0.6);
}

.btn-secondary {
    background: rgba(45, 50, 70, 0.88);
    border: 2px solid rgba(0, 128, 254, 0.3);
    color: #EAEAEA !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(0, 128, 254, 0.25);
    border-color: #3cc8ff;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 254, 0.4);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    padding: 8rem 0 6rem 0;
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 128, 254, 0.15);
    border: 1px solid rgba(0, 128, 254, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.hero-badge-icon {
    font-size: 1.25rem;
}

.hero-badge-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #3cc8ff;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 30px rgba(0, 128, 254, 0.5);
}

.hero-gradient-text {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: #A0A7B8;
    line-height: 1.7;
    margin: 0 0 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    color: #3cc8ff;
    font-weight: 700;
    font-size: 1.125rem;
}

.trust-text {
    color: #EAEAEA;
    font-size: 0.9375rem;
}

/* ===================================
   USP SECTION
   =================================== */

.usp-section {
    background: rgba(20, 23, 35, 0.5);
    border-top: 2px solid rgba(0, 128, 254, 0.3);
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
}

.usp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.usp-card {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    position: relative;
}

.usp-card:hover {
    transform: translateY(-8px);
    border-color: #0080fe;
    box-shadow: 0 12px 35px rgba(0, 128, 254, 0.3);
}

.usp-featured {
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.15) 0%, rgba(60, 200, 255, 0.15) 100%);
    border: 2px solid #0080fe;
    box-shadow: 0 8px 25px rgba(0, 128, 254, 0.3);
}

.usp-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 128, 254, 0.4);
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.usp-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
}

.usp-description {
    font-size: 1rem;
    color: #A0A7B8;
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   WHAT'S INCLUDED SECTION
   =================================== */

.included-section {
    background: rgba(15, 18, 28, 0.8);
}

.included-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.included-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(45, 50, 70, 0.82);
    border: 1px solid rgba(0, 128, 254, 0.2);
    will-change: transform;
    border-radius: 12px;
    padding: 1.5rem;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.included-item:hover {
    background: rgba(0, 128, 254, 0.1);
    border-color: #0080fe;
    transform: translateX(8px);
}

.included-check {
    color: #3cc8ff;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.included-text {
    color: #EAEAEA;
    font-size: 1rem;
    font-weight: 500;
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing-section {
    background: rgba(20, 23, 35, 0.5);
    border-top: 2px solid rgba(0, 128, 254, 0.3);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.pricing-featured {
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.1) 0%, rgba(60, 200, 255, 0.1) 100%);
    border: 2px solid #0080fe;
    box-shadow: 0 12px 40px rgba(0, 128, 254, 0.4);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
}

.pricing-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem 0;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.pricing-currency {
    font-size: 2rem;
    font-weight: 700;
    color: #3cc8ff;
    margin-top: 0.5rem;
}

.pricing-amount {
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 128, 254, 0.5);
}

.pricing-billing {
    font-size: 1rem;
    color: #A0A7B8;
    margin: 0;
}

.pricing-features {
    margin-bottom: 2.5rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.feature-check {
    color: #3cc8ff;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text {
    color: #EAEAEA;
    font-size: 1rem;
    font-weight: 500;
}

.btn-pricing {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(0, 128, 254, 0.1);
    border: 1px solid rgba(0, 128, 254, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.guarantee-icon {
    font-size: 1.5rem;
}

.guarantee-text {
    color: #3cc8ff;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Homepage Pricing Grid */
.pricing-grid-homepage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Three-column pricing grid */
.pricing-grid-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
}

.pricing-period {
    font-size: 1.5rem;
    font-weight: 600;
    color: #A0A7B8;
    align-self: flex-end;
    margin-bottom: 0.25rem;
}

.pricing-amount-free {
    font-size: 3rem;
    font-weight: 900;
    color: #3cc8ff;
    line-height: 1;
}

.pricing-feature-disabled {
    opacity: 0.5;
}

.pricing-feature-disabled .feature-text {
    color: #A0A7B8;
}

.feature-x {
    color: #A0A7B8;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-feature-highlight .feature-text {
    color: #3cc8ff;
    font-weight: 600;
}

.pricing-unavailable-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: rgba(255, 193, 7, 0.1);
    border: 2px dashed rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.pricing-unavailable-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffc107;
}

.pricing-unavailable-subtext {
    font-size: 0.875rem;
    color: #A0A7B8;
}

/* Checkout button loading state for theme pricing cards */
.btn-pricing.plp-checkout-btn.plp-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-pricing.plp-checkout-btn.plp-loading .btn-arrow {
    visibility: hidden;
}

.btn-pricing.plp-checkout-btn.plp-loading::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: plp-spin 0.8s linear infinite;
}

@keyframes plp-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .pricing-grid-three {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-grid-homepage {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
    background: rgba(15, 18, 28, 0.8);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.testimonial-card {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: #0080fe;
    box-shadow: 0 12px 35px rgba(0, 128, 254, 0.3);
}

.testimonial-featured {
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.15) 0%, rgba(60, 200, 255, 0.15) 100%);
    border: 2px solid #0080fe;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-right: 0.25rem;
}

.testimonial-text {
    color: #EAEAEA;
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0 0 2rem 0;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: #A0A7B8;
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */

.newsletter-section {
    background: rgba(20, 23, 35, 0.5);
    border-top: 2px solid rgba(0, 128, 254, 0.3);
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.newsletter-subtitle {
    font-size: 1.125rem;
    color: #A0A7B8;
    line-height: 1.7;
    margin: 0;
}

.newsletter-form-wrapper {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(0, 128, 254, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
}

.newsletter-form-placeholder {
    text-align: center;
    padding: 2rem;
}

.form-note {
    color: #A0A7B8;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Contact Form 7 Styling */
.newsletter-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.newsletter-form-wrapper .wpcf7-form-control-wrap {
    display: block;
}

.newsletter-form-wrapper input[type="text"],
.newsletter-form-wrapper input[type="email"] {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(20, 23, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #EAEAEA;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form-wrapper input[type="text"]:focus,
.newsletter-form-wrapper input[type="email"]:focus {
    outline: none;
    border-color: #0080fe;
    box-shadow: 0 0 0 3px rgba(0, 128, 254, 0.2);
}

.newsletter-form-wrapper .wpcf7-acceptance {
    color: #A0A7B8;
    font-size: 0.875rem;
}

.newsletter-form-wrapper input[type="submit"] {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form-wrapper input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 254, 0.4);
}

/* ===================================
   LAUNCH BUNDLE LANDING PAGE
   =================================== */

.launch-bundle-main {
    background: var(--bg-primary, #0a0d14);
}

/* Bundle Hero */
.bundle-hero-section {
    text-align: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, rgba(0, 128, 254, 0.08) 0%, transparent 100%);
}

.bundle-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bundle-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 128, 254, 0.15);
    border: 1px solid rgba(0, 128, 254, 0.3);
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.bundle-hero-badge-icon {
    font-size: 1.25rem;
}

.bundle-hero-badge-text {
    color: #3cc8ff;
    font-size: 0.9375rem;
    font-weight: 600;
}

.bundle-hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 30px rgba(0, 128, 254, 0.5);
}

.bundle-hero-price-line {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin: 0 0 1.5rem 0;
}

.bundle-price-currency {
    font-size: 2rem;
    font-weight: 700;
    color: #3cc8ff;
    margin-top: 0.5rem;
}

.bundle-price-amount {
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 128, 254, 0.5);
}

.bundle-price-detail {
    font-size: 1.25rem;
    color: #A0A7B8;
    align-self: flex-end;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
}

.bundle-hero-subtitle {
    font-size: 1.375rem;
    color: #A0A7B8;
    line-height: 1.6;
    margin: 0 0 2.5rem 0;
}

.bundle-hero-subtitle strong {
    color: #3cc8ff;
}

.bundle-hero-cta {
    margin-bottom: 2rem;
}

.bundle-hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Bundle Container */
.bundle-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* What's Included Section */
.bundle-whats-included {
    padding: 5rem 0;
    background: rgba(20, 23, 35, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bundle-comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.bundle-component {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.bundle-component-premium {
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.1) 0%, rgba(60, 200, 255, 0.1) 100%);
    border: 2px solid #0080fe;
    box-shadow: 0 12px 40px rgba(0, 128, 254, 0.2);
}

.bundle-component-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.bundle-badge-premium {
    background: rgba(0, 128, 254, 0.15);
    border-color: rgba(0, 128, 254, 0.4);
    color: #3cc8ff;
}

.bundle-component-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.bundle-component-value {
    font-size: 0.9375rem;
    color: #A0A7B8;
    margin: 0 0 1.5rem 0;
}

.bundle-component-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.bundle-component-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: #EAEAEA;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bundle-component-features li:last-child {
    border-bottom: none;
}

.bundle-component-note {
    font-size: 0.8125rem;
    color: #A0A7B8;
    font-style: italic;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bundle-plus {
    font-size: 3rem;
    font-weight: 900;
    color: #3cc8ff;
    align-self: center;
    text-shadow: 0 4px 20px rgba(0, 128, 254, 0.5);
}

/* Savings Section */
.bundle-savings-section {
    padding: 5rem 0;
}

.bundle-savings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bundle-savings-card {
    background: rgba(45, 50, 70, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.savings-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.savings-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
}

.savings-description {
    font-size: 0.9375rem;
    color: #A0A7B8;
    line-height: 1.6;
    margin: 0;
}

/* Bundle Final CTA */
.bundle-final-cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.1) 0%, rgba(60, 200, 255, 0.1) 100%);
    border-top: 2px solid rgba(0, 128, 254, 0.3);
}

/* Bundle Responsive */
@media (max-width: 768px) {
    .bundle-hero-title {
        font-size: 2.5rem;
    }

    .bundle-price-amount {
        font-size: 3.5rem;
    }

    .bundle-comparison-grid {
        grid-template-columns: 1fr;
    }

    .bundle-plus {
        text-align: center;
    }

    .bundle-savings-grid {
        grid-template-columns: 1fr;
    }

    .bundle-hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* ===================================
   FINAL CTA SECTION
   =================================== */

.final-cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.1) 0%, rgba(60, 200, 255, 0.1) 100%);
    border-top: 2px solid rgba(0, 128, 254, 0.3);
}

.final-cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.final-cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 30px rgba(0, 128, 254, 0.5);
}

.final-cta-subtitle {
    font-size: 1.25rem;
    color: #A0A7B8;
    margin: 0 0 2.5rem 0;
}

.final-cta-guarantee {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: #A0A7B8;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .homepage-main section {
        padding: 3rem 0;
    }

    .hero-section {
        padding: 5rem 0 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

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

    .pricing-card {
        padding: 2rem;
    }

    .pricing-amount {
        font-size: 4rem;
    }

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

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .final-cta-title {
        font-size: 2rem;
    }

    .final-cta-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
}

/* ===================================
   REGULAR PAGE CONTENT STYLES
   =================================== */

/*
 * Align .content-container (standard pages) with the prompt single
 * container (.plp-single-container in the plugin). The old 1600px /
 * 4rem×3rem layout left content pushed to the edges of ultra-wide
 * displays while looking awkwardly over-padded on medium ones.
 */
.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/*
 * Library page is a grid, not narrative content. Override the 1100px
 * cap on /prompt-library/ specifically so the [prompt_library]
 * shortcode's card grid has room. Other pages (legal, contact, blog
 * posts, /placeholders/) keep the narrower reading width.
 *
 * The grid is forced to exactly 4 columns at desktop (not auto-fill)
 * so the layout matches user expectation regardless of the shortcode's
 * default minmax(300px) or columns="N" attribute. Collapses to 3 at
 * tablet, 2 at narrow tablet, 1 at mobile.
 */
body.page-prompt-library .content-container {
    max-width: 1600px;
    padding-left: 3rem;
    padding-right: 3rem;
}

body.page-prompt-library .plp-library-grid,
body.page-prompt-library .plp-library-grid[data-columns="2"],
body.page-prompt-library .plp-library-grid[data-columns="3"],
body.page-prompt-library .plp-library-grid[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    body.page-prompt-library .plp-library-grid,
    body.page-prompt-library .plp-library-grid[data-columns="2"],
    body.page-prompt-library .plp-library-grid[data-columns="3"],
    body.page-prompt-library .plp-library-grid[data-columns="4"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.page-prompt-library .plp-library-grid,
    body.page-prompt-library .plp-library-grid[data-columns="2"],
    body.page-prompt-library .plp-library-grid[data-columns="3"],
    body.page-prompt-library .plp-library-grid[data-columns="4"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.page-prompt-library .plp-library-grid,
    body.page-prompt-library .plp-library-grid[data-columns="2"],
    body.page-prompt-library .plp-library-grid[data-columns="3"],
    body.page-prompt-library .plp-library-grid[data-columns="4"] {
        grid-template-columns: 1fr;
    }
}

/* Trim the narrow-page container padding on the library page too */
@media (max-width: 768px) {
    body.page-prompt-library .content-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem 0;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #EAEAEA;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

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

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

.no-content {
    text-align: center;
    padding: 4rem 2rem;
}

.no-content h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.no-content p {
    font-size: 1.25rem;
    color: #A0A7B8;
}

/* Responsive content */
@media (max-width: 768px) {
    .content-container {
        padding: 2rem 1.5rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-content {
        font-size: 1rem;
    }
}

/* ===================================
   Contact Page Template
   =================================== */

.contact-main {
    padding: 4rem 0;
    min-height: 70vh;
}

.contact-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #3cc8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #EAEAEA;
    line-height: 1.7;
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-card,
.contact-info-card {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form-card {
    position: relative;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0080fe 0%, #3cc8ff 100%);
    border-radius: 16px 16px 0 0;
}

/* Contact Form 7 Styling */
.contact-form-card .wpcf7 {
    margin: 0;
}

.contact-form-card .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-card .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(20, 23, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card input[type="text"]:focus,
.contact-form-card input[type="email"]:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #3cc8ff;
    box-shadow: 0 0 0 3px rgba(60, 200, 255, 0.2);
}

.contact-form-card textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: rgba(234, 234, 234, 0.5);
}

.contact-form-card .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-form-card .wpcf7-list-item {
    margin: 0;
}

.contact-form-card .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.contact-form-card .wpcf7-acceptance label {
    color: #EAEAEA;
    font-size: 0.9375rem;
    line-height: 1.6;
    cursor: pointer;
}

.contact-form-card .wpcf7-acceptance a {
    color: #3cc8ff;
    text-decoration: underline;
}

.contact-form-card .wpcf7-acceptance a:hover {
    color: #0080fe;
}

.contact-form-card input[type="submit"],
.contact-form-card .wpcf7-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 128, 254, 0.4);
}

.contact-form-card input[type="submit"]:hover,
.contact-form-card .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 254, 0.6);
}

.contact-form-card .wpcf7-response-output,
.contact-form-card .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.contact-form-card .wpcf7-mail-sent-ok {
    background: rgba(76, 209, 55, 0.2);
    border: 1px solid rgba(76, 209, 55, 0.5);
    color: #4cd137;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-form-card .wpcf7-validation-errors,
.contact-form-card .wpcf7-mail-sent-ng {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.5);
    color: #ff6b6b;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-form-card .wpcf7-spinner {
    margin: 0;
}

/* Contact Form Placeholder */
.contact-form-placeholder {
    color: #EAEAEA;
    line-height: 1.7;
}

.contact-form-placeholder strong {
    color: #fff;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.contact-form-placeholder ol,
.contact-form-placeholder ul {
    margin-left: 1.5rem;
}

.contact-form-placeholder li {
    margin-bottom: 0.75rem;
}

.contact-form-placeholder ul {
    list-style: disc;
    margin-top: 0.5rem;
}

/* Contact Info Card */
.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-info-text {
    color: #EAEAEA;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-size: 1.0625rem;
}

.contact-info-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-feature-text strong {
    display: block;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-feature-text p {
    color: #EAEAEA;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 1.5rem;
    }

    .contact-main {
        padding: 3rem 0;
    }

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

    .contact-title {
        font-size: 2rem;
    }

    .contact-intro {
        font-size: 1rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 2rem;
    }

    .contact-feature-icon {
        font-size: 2rem;
    }
}

/* ===================================
   Legal Notices Templates
   =================================== */

/* Legal Notices Overview Page */
.legal-overview-main {
    padding: 4rem 0;
    min-height: 70vh;
}

.legal-overview-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.legal-overview-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-overview-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #3cc8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-overview-intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #EAEAEA;
    line-height: 1.7;
}

/* Legal Notices Grid */
.legal-notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.legal-notice-card {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    position: relative;
}

.legal-notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0080fe 0%, #3cc8ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-notice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 128, 254, 0.3);
    border-color: rgba(60, 200, 255, 0.4);
}

.legal-notice-card:hover::before {
    opacity: 1;
}

.legal-notice-card-link {
    display: block;
    padding: 2.5rem;
    text-decoration: none !important;
    color: inherit;
}

.legal-notice-card-link:hover,
.legal-notice-card-link:focus,
.legal-notice-card-link:active,
.legal-notice-card-link:visited {
    text-decoration: none !important;
}

.legal-notice-card-link .legal-notice-card-title,
.legal-notice-card-link .legal-notice-card-excerpt,
.legal-notice-card-link .legal-notice-card-updated {
    text-decoration: none !important;
}

.legal-notice-card-emoji {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-align: center;
}

.legal-notice-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.legal-notice-card:hover .legal-notice-card-title {
    color: #3cc8ff;
}

.legal-notice-card-excerpt {
    color: #EAEAEA;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.legal-notice-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-notice-card-updated {
    font-size: 0.875rem;
    color: rgba(234, 234, 234, 0.7);
}

.legal-notice-card-arrow {
    font-size: 1.25rem;
    color: #3cc8ff;
    transition: transform 0.3s ease;
}

.legal-notice-card:hover .legal-notice-card-arrow {
    transform: translateX(4px);
}

/* Empty State */
.legal-notices-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    background: rgba(45, 50, 70, 0.4);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.legal-notices-empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.legal-notices-empty h2 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1rem;
}

.legal-notices-empty p {
    color: #EAEAEA;
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

/* Single Legal Notice Page */
.legal-notice-main {
    padding: 4rem 0;
    min-height: 70vh;
}

.legal-notice-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

.legal-notice-article {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb */
.legal-notice-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 0.9375rem;
    flex-wrap: wrap;
}

.legal-notice-breadcrumb a {
    color: #3cc8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-notice-breadcrumb a:hover {
    color: #0080fe;
}

.breadcrumb-separator {
    color: rgba(234, 234, 234, 0.5);
}

.breadcrumb-current {
    color: #EAEAEA;
}

/* Header */
.legal-notice-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.legal-notice-emoji {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.legal-notice-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-notice-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9375rem;
    color: rgba(234, 234, 234, 0.7);
}

.legal-notice-updated time {
    color: #3cc8ff;
}

/* Content */
.legal-notice-content {
    color: #EAEAEA;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.legal-notice-content h2 {
    font-size: 1.75rem;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.legal-notice-content h3 {
    font-size: 1.375rem;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-notice-content h4 {
    font-size: 1.125rem;
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-notice-content p {
    margin-bottom: 1.25rem;
}

.legal-notice-content ul,
.legal-notice-content ol {
    margin-bottom: 1.25rem;
    margin-left: 2rem;
}

.legal-notice-content li {
    margin-bottom: 0.75rem;
}

.legal-notice-content a {
    color: #3cc8ff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-notice-content a:hover {
    color: #0080fe;
}

.legal-notice-content strong {
    color: #fff;
    font-weight: 600;
}

.legal-notice-content code {
    background: rgba(20, 23, 35, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    color: #3cc8ff;
}

.legal-notice-content blockquote {
    border-left: 4px solid #3cc8ff;
    padding-left: 1.5rem;
    margin-left: 0;
    margin-bottom: 1.25rem;
    font-style: italic;
    color: rgba(234, 234, 234, 0.9);
}

/* Footer */
.legal-notice-footer {
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-back-to-legal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: rgba(20, 23, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #3cc8ff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-back-to-legal:hover {
    background: rgba(0, 128, 254, 0.1);
    border-color: #3cc8ff;
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .legal-notices-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .legal-overview-container,
    .legal-notice-container {
        padding: 0 1.5rem;
    }

    .legal-overview-main,
    .legal-notice-main {
        padding: 3rem 0;
    }

    .legal-overview-title {
        font-size: 2rem;
    }

    .legal-overview-intro {
        font-size: 1rem;
    }

    .legal-notices-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .legal-notice-card-link {
        padding: 2rem;
    }

    .legal-notice-card-emoji {
        font-size: 3rem;
    }

    .legal-notice-article {
        padding: 2rem;
    }

    .legal-notice-emoji {
        font-size: 3rem;
    }

    .legal-notice-title {
        font-size: 1.75rem;
    }

    .legal-notice-content {
        font-size: 1rem;
    }

    .legal-notice-content h2 {
        font-size: 1.5rem;
    }

    .legal-notice-content h3 {
        font-size: 1.25rem;
    }
}

/* ===================================
   PRICING PAGE TEMPLATE
   =================================== */

.pricing-page-main {
    padding-top: 0rem;
}

.pricing-page-main .pricing-section {
    padding-top: 3rem;
}

.pricing-page-main .section-title {
    font-size: 3rem;
}

/* FAQ Section */
.pricing-faq-section {
    padding: 5rem 0;
    background: rgba(15, 18, 28, 0.8);
}

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

.faq-item {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.faq-item:hover {
    border-color: rgba(0, 128, 254, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 128, 254, 0.2);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.faq-answer {
    font-size: 1rem;
    color: #A0A7B8;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .pricing-page-main .section-title {
        font-size: 2.25rem;
    }

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

    .faq-item {
        padding: 1.5rem;
    }
}

/* ===================================
   FREE PROMPTS PREVIEW SECTION
   =================================== */

.free-prompts-section {
    padding: 5rem 0;
    background: rgba(15, 18, 28, 0.8);
}

.free-prompts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/*
 * Single-sample hero card — replaced the 6-card `.free-prompts-grid`
 * in v2.3.1. A single random free prompt per visit gives a real taste
 * of the library (visible prompt body, not just a title card) and
 * keeps the homepage uncluttered. Older `.free-prompts-grid .*` rules
 * below are retained for backwards compatibility in case a site reverts
 * to the multi-card shortcode, but they do not apply when the hero
 * markup is in use.
 */
.free-prompt-sample {
    max-width: 780px;
    margin: 0 auto 2.5rem;
    padding: 2rem 2.25rem;
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.08) 0%, rgba(60, 200, 255, 0.02) 60%, transparent 100%), rgba(30, 35, 55, 0.92);
    border: 1px solid rgba(60, 200, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.free-prompt-sample::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 5px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #0080fe 0%, #3cc8ff 100%);
    box-shadow: 0 0 14px rgba(0, 128, 254, 0.55);
}

.free-prompt-sample__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.free-prompt-sample__badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e 0%, #34d399 100%);
    color: #052e16;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.free-prompt-sample__category {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(234, 234, 234, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
}

.free-prompt-sample__title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.free-prompt-sample__title a {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #bfe6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.free-prompt-sample__title a:hover,
.free-prompt-sample__title a:focus-visible {
    text-decoration: underline;
}

.free-prompt-sample__excerpt {
    margin: 0 0 1.25rem;
    color: rgba(234, 234, 234, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.free-prompt-sample__header {
    margin: 0 0 1.25rem;
}

/*
 * The sample embeds the full PLP_Public::render_prompt_box() output
 * so visitors see the actual variable form + "Run in …" launchers.
 * Reset the plugin's default spacing a touch to fit the hero card.
 */
.free-prompt-sample__box {
    margin: 0 0 1.5rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: #EAEAEA;
}

.free-prompt-sample__box .plp-prompt-wrapper {
    color: #EAEAEA;
}

.free-prompt-sample__box .plp-prompt-wrapper hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
}

.free-prompt-sample__box .plp-prompt-text,
.free-prompt-sample__box .plp-prompt-box {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #EAEAEA;
}

/* Hide the rating + meta line on the homepage sample — this is a
   taster, not a rating surface. Users can rate from the full prompt
   page if they want. */
.free-prompt-sample__box .plp-rating-section,
.free-prompt-sample__box .plp-meta-info {
    display: none;
}

.free-prompt-sample__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 640px) {
    .free-prompt-sample {
        padding: 1.5rem 1.25rem;
    }
    .free-prompt-sample__title {
        font-size: 1.35rem;
    }
    .free-prompt-sample__actions .btn {
        width: 100%;
    }
}

.free-prompts-grid {
    margin-bottom: 3rem;
}

/* Override the shortcode grid for homepage display */
.free-prompts-grid .plp-library-shortcode {
    margin: 0;
    padding: 0;
}

.free-prompts-grid .plp-library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Ensure cards have proper styling on homepage */
.free-prompts-grid .plp-library-card {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    will-change: transform;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.free-prompts-grid .plp-library-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 128, 254, 0.4);
    box-shadow: 0 15px 40px rgba(0, 128, 254, 0.2);
}

/* Card header with badges */
.free-prompts-grid .plp-card-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

/* Access badge styling */
.free-prompts-grid .plp-access-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.free-prompts-grid .plp-badge-free {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #fff;
}

/* SKU badge */
.free-prompts-grid .plp-card-sku {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category badge */
.free-prompts-grid .plp-card-category {
    background: rgba(255, 255, 255, 0.1);
    color: #A0A7B8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 500;
}

/* Card title */
.free-prompts-grid .plp-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.free-prompts-grid .plp-card-title a {
    color: #EAEAEA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.free-prompts-grid .plp-card-title a:hover {
    color: #3cc8ff;
}

/* Card excerpt */
.free-prompts-grid .plp-card-excerpt {
    color: #A0A7B8;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Card footer with rating and copies */
.free-prompts-grid .plp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}

.free-prompts-grid .plp-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 0.875rem;
}

.free-prompts-grid .plp-rating-value {
    color: #EAEAEA;
    font-weight: 600;
    margin-left: 0.25rem;
}

.free-prompts-grid .plp-card-copies {
    font-size: 0.8125rem;
    color: #6b7280;
}

/* View Prompt link */
.free-prompts-grid .plp-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3cc8ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease, gap 0.3s ease;
}

.free-prompts-grid .plp-card-link:hover {
    color: #0080fe;
    gap: 0.75rem;
}

.free-prompts-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .free-prompts-grid .plp-library-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .free-prompts-section {
        padding: 3rem 0;
    }

    .free-prompts-grid .plp-library-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   TAXONOMY ARCHIVE TEMPLATES
   (Category & Tag Archives)
   =================================== */

/* Taxonomy Archive Main */
.taxonomy-archive {
    padding: 0 0 4rem 0;
}

/* Taxonomy Header */
.taxonomy-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
}

.taxonomy-icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.taxonomy-tag-icon {
    display: inline-block;
    color: #3cc8ff;
    margin-bottom: 1.5rem;
}

.taxonomy-tag-icon svg {
    width: 64px;
    height: 64px;
}

.taxonomy-term-name {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.taxonomy-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.taxonomy-count {
    font-size: 1rem;
    color: #A0A7B8;
    font-weight: 500;
}

.taxonomy-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.taxonomy-badge-free {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

/* Taxonomy Breadcrumb */
.taxonomy-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    font-size: 0.9375rem;
    flex-wrap: wrap;
}

.taxonomy-breadcrumb a {
    color: #3cc8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.taxonomy-breadcrumb a:hover {
    color: #0080fe;
}

.taxonomy-breadcrumb .breadcrumb-separator {
    color: rgba(234, 234, 234, 0.4);
}

.taxonomy-breadcrumb .breadcrumb-current {
    color: #EAEAEA;
}

/* Frosted Glass Card Enhancement */
.plp-frosted-glass {
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Archive Card Enhancements for Taxonomy Pages */
.taxonomy-archive .plp-archive-card {
    border-radius: 16px;
    padding: 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.taxonomy-archive .plp-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 128, 254, 0.25);
    border-color: rgba(0, 128, 254, 0.4);
}

.taxonomy-archive .plp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.taxonomy-archive .plp-card-sku {
    font-size: 0.75rem;
    font-weight: 600;
    color: #A0A7B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.taxonomy-archive .plp-card-category {
    font-size: 0.75rem;
    color: #3cc8ff;
    font-weight: 500;
}

.taxonomy-archive .plp-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.taxonomy-archive .plp-archive-card:hover .plp-card-title {
    color: #3cc8ff;
}

.taxonomy-archive .plp-card-excerpt {
    font-size: 0.9375rem;
    color: #A0A7B8;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* Card Tags */
.plp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.plp-card-tag {
    font-size: 0.75rem;
    color: #A0A7B8;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.taxonomy-archive .plp-archive-card:hover .plp-card-tag {
    background: rgba(0, 128, 254, 0.2);
    color: #3cc8ff;
}

/* Card Footer */
.taxonomy-archive .plp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.plp-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plp-rating-stars {
    color: #fbbf24;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.plp-rating-value {
    font-size: 0.875rem;
    color: #A0A7B8;
    font-weight: 500;
}

.plp-card-copies {
    font-size: 0.8125rem;
    color: #6b7280;
}

/* No Results State */
.plp-no-results {
    text-align: center;
    padding: 5rem 2rem;
    background: rgba(45, 50, 70, 0.4);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.plp-no-results-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.plp-no-results h2 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1rem;
}

.plp-no-results p {
    color: #A0A7B8;
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   TAXONOMY INDEX PAGES
   (All Categories / All Tags)
   =================================== */

.taxonomy-index {
    padding: 0 0 4rem 0;
}

/* Index Page Header */
.taxonomy-index-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
}

.taxonomy-index-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.2) 0%, rgba(60, 200, 255, 0.2) 100%);
    border: 2px solid rgba(0, 128, 254, 0.3);
    border-radius: 24px;
    margin-bottom: 2rem;
    color: #3cc8ff;
}

.taxonomy-index-icon svg {
    width: 48px;
    height: 48px;
}

.taxonomy-index-header .archive-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.taxonomy-index-header .archive-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Stats Display */
.taxonomy-index-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #A0A7B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Taxonomy Index Grid */
.taxonomy-index-grid {
    margin-bottom: 4rem;
}

/* Taxonomy Card Enhancements */
.taxonomy-card {
    position: relative;
    overflow: hidden;
    text-align: left;
}

.taxonomy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0080fe 0%, #3cc8ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.taxonomy-card:hover {
    border-color: rgba(0, 128, 254, 0.4);
    box-shadow: 0 20px 50px rgba(0, 128, 254, 0.25);
}

.taxonomy-card .plp-category-name {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.taxonomy-card:hover .plp-category-name {
    color: #3cc8ff;
}

.taxonomy-card-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    color: #A0A7B8;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.taxonomy-card:hover .taxonomy-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #3cc8ff;
}

/* CTA Section on Index Pages */
.taxonomy-index-cta {
    margin-top: 4rem;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.1) 0%, rgba(60, 200, 255, 0.1) 100%);
    border: 2px solid rgba(0, 128, 254, 0.3);
    border-radius: 24px;
    text-align: center;
}

.taxonomy-index-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.taxonomy-index-cta p {
    font-size: 1.125rem;
    color: #A0A7B8;
    margin-bottom: 2rem;
}

/* ===================================
   TAGS INDEX PAGE SPECIFIC STYLES
   =================================== */

/* Tags Sections */
.tags-section {
    margin-bottom: 4rem;
}

.tags-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.tags-section-title .section-icon {
    font-size: 1.5rem;
}

/* Popular Tags Grid */
.plp-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.plp-tag-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    will-change: transform;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plp-tag-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 128, 254, 0.4);
    box-shadow: 0 12px 30px rgba(0, 128, 254, 0.2);
}

.plp-tag-card .tag-name {
    font-size: 1rem;
    font-weight: 600;
    color: #EAEAEA;
    transition: color 0.3s ease;
}

.plp-tag-card:hover .tag-name {
    color: #3cc8ff;
}

.plp-tag-card .tag-count {
    font-size: 0.8125rem;
    color: #A0A7B8;
}

.plp-tag-card .tag-arrow {
    color: #A0A7B8;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    opacity: 0;
    transform: translateX(-5px);
}

.plp-tag-card:hover .tag-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #3cc8ff;
}

/* Tags Cloud */
.tags-cloud-wrapper {
    padding: 2.5rem;
    border-radius: 20px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    line-height: 2;
}

.tag-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #EAEAEA;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.tag-cloud-item:hover {
    background: rgba(0, 128, 254, 0.2);
    border-color: #0080fe;
    color: #3cc8ff;
    transform: scale(1.05);
}

.tag-cloud-count {
    font-size: 0.75rem;
    color: #6b7280;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 20px;
}

/* Tag size variations */
.tag-size-1 { font-size: 0.8125rem; }
.tag-size-2 { font-size: 0.9375rem; }
.tag-size-3 { font-size: 1.0625rem; font-weight: 500; }
.tag-size-4 { font-size: 1.1875rem; font-weight: 600; }
.tag-size-5 { font-size: 1.3125rem; font-weight: 700; color: #3cc8ff; }

/* A-Z Navigation */
.tags-az-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(45, 50, 70, 0.4);
    border-radius: 12px;
}

.az-letter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #EAEAEA;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.az-letter-link:hover {
    background: rgba(0, 128, 254, 0.3);
    border-color: #0080fe;
    color: #3cc8ff;
    transform: translateY(-2px);
}

/* A-Z Grid */
.tags-az-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.tags-letter-group {
    background: rgba(45, 50, 70, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.letter-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3cc8ff;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 128, 254, 0.3);
}

.letter-tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.letter-tags-list li {
    margin-bottom: 0.5rem;
}

.letter-tags-list li:last-child {
    margin-bottom: 0;
}

.letter-tags-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #EAEAEA;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.letter-tags-list a:hover {
    background: rgba(0, 128, 254, 0.15);
    color: #3cc8ff;
    padding-left: 1rem;
}

.tag-count-badge {
    font-size: 0.75rem;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 20px;
}

/* ===================================
   TAXONOMY RESPONSIVE STYLES
   =================================== */

@media (max-width: 1200px) {
    .taxonomy-index-header .archive-title {
        font-size: 2.5rem;
    }

    .tags-az-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .taxonomy-archive,
    .taxonomy-index {
        padding: 0 0 2rem 0;
    }

    .archive-container {
        padding: 0 1.5rem;
    }

    .taxonomy-icon {
        font-size: 3rem;
    }

    .taxonomy-tag-icon svg {
        width: 48px;
        height: 48px;
    }

    .taxonomy-index-icon {
        width: 80px;
        height: 80px;
    }

    .taxonomy-index-icon svg {
        width: 36px;
        height: 36px;
    }

    .taxonomy-index-header .archive-title {
        font-size: 2rem;
    }

    .taxonomy-index-header .archive-description {
        font-size: 1rem;
    }

    .taxonomy-index-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 2rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .taxonomy-breadcrumb {
        font-size: 0.875rem;
        gap: 0.5rem;
    }

    .plp-tags-grid {
        grid-template-columns: 1fr;
    }

    .tags-cloud-wrapper {
        padding: 1.5rem;
    }

    .tags-az-nav {
        padding: 1rem;
    }

    .az-letter-link {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }

    .tags-az-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .taxonomy-index-cta {
        padding: 3rem 2rem;
    }

    .taxonomy-index-cta h2 {
        font-size: 1.5rem;
    }

    .taxonomy-index-cta p {
        font-size: 1rem;
    }

    /* Masonry fallback to grid on mobile */
    .plp-layout-masonry .plp-archive-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0;
    }

    .plp-layout-masonry .plp-archive-card {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .taxonomy-index-header .archive-title {
        font-size: 1.75rem;
    }

    .taxonomy-index-stats {
        width: 100%;
    }

    .tags-section-title {
        font-size: 1.25rem;
    }

    .plp-tag-card {
        padding: 1rem;
    }
}

/* ============================================================
   Blog / News archive + single post
============================================================ */
.blog-archive .archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 128, 254, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.blog-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.35);
}

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

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.03);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.35rem 1.5rem;
    flex: 1 1 auto;
}

.blog-card__meta {
    font-size: 0.8125rem;
    color: rgba(234, 234, 234, 0.65);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.blog-card__meta a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(234, 234, 234, 0.45);
}

.blog-card__meta a:hover,
.blog-card__meta a:focus {
    color: #3cc8ff;
    border-bottom-color: #3cc8ff;
}

.blog-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.blog-card__title a {
    color: #EAEAEA;
    text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus {
    color: #3cc8ff;
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: rgba(234, 234, 234, 0.8);
    line-height: 1.55;
}

.blog-card__link {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3cc8ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card__link:hover,
.blog-card__link:focus {
    color: #0080fe;
}

/* Single post (news/blog) — matched to .plp-single-container so
   news posts, pages, and prompts all share one consistent content
   width + inset. Previous 780px was too narrow compared to prompt
   pages (1100px) and made blog posts feel disconnected. */
.single-post .single-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.single-post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.single-post-breadcrumb {
    font-size: 0.875rem;
    color: rgba(234, 234, 234, 0.65);
    margin-bottom: 1rem;
}

.single-post-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.single-post-breadcrumb a:hover,
.single-post-breadcrumb a:focus {
    color: #3cc8ff;
}

.single-post-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: #EAEAEA;
    margin: 0 0 0.75rem;
}

.single-post-meta {
    font-size: 0.9rem;
    color: rgba(234, 234, 234, 0.65);
}

.single-post-meta__sep {
    margin: 0 0.35rem;
}

.single-post-thumbnail {
    margin-bottom: 2rem;
    border-radius: 14px;
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #EAEAEA;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.single-post-content p {
    margin: 0 0 1.25rem;
}

.single-post-content a {
    color: #3cc8ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 1.25rem 1.5rem;
}

.single-post-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid #3cc8ff;
    background: rgba(60, 200, 255, 0.08);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.single-post-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(234, 234, 234, 0.75);
}

.single-post-terms__label {
    font-weight: 600;
    color: #EAEAEA;
    margin-right: 0.35rem;
}

.single-post-terms a {
    color: #3cc8ff;
    text-decoration: none;
}

.single-post-terms a:hover,
.single-post-terms a:focus {
    text-decoration: underline;
}

.single-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.single-post-navigation__link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #EAEAEA;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.single-post-navigation__link:hover,
.single-post-navigation__link:focus {
    background: rgba(0, 128, 254, 0.12);
    border-color: rgba(0, 128, 254, 0.45);
    color: #EAEAEA;
}

.single-post-navigation__link--next {
    text-align: right;
    align-items: flex-end;
}

.single-post-navigation__direction {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(234, 234, 234, 0.65);
}

.single-post-navigation__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .single-post-navigation {
        grid-template-columns: 1fr;
    }
    .single-post-navigation__link--next {
        text-align: left;
        align-items: flex-start;
    }
    .single-post-title {
        font-size: 1.75rem;
    }
}

/* ============================================================
   352 Consent — theme integration (ALWAYS DARK, NEVER FLIPS)

   The plugin declares its palette tokens on :root in banner.css
   (lines 13–28 for defaults, lines 764–775 inside
   @media (prefers-color-scheme: dark) for the dark variant).
   Because banner.css loads after style.css, any :root declaration
   here loses the cascade on pure source order — which is why the
   banner was rendering with a white background on a light-mode OS
   despite this override block existing.

   Fix: declare the palette tokens on the component roots
   (.tc-consent-banner, .tc-consent-settings-link, .tc-consent-nojs)
   instead of :root. A custom property declared on a component
   shadows any :root-level declaration for every var() reference
   inside that component — regardless of load order and regardless
   of the visitor's OS colour-scheme preference. The banner is
   therefore always dark and theme-matched; no light-mode variant
   exists here on purpose, so a visitor on a light OS never sees a
   light banner rendered over the theme's dark gradient background.

   Contrast note: #EAEAEA text on rgba(20,23,35,0.96) surface is
   ~15:1, well past WCAG AAA.
============================================================ */
.tc-consent-banner,
.tc-consent-settings-link,
.tc-consent-nojs {
    /* Match the theme's accent gradient stops and dark surface tokens. */
    --tcc-primary: #0080fe;
    --tcc-primary-hover: #0070e0;
    --tcc-secondary: rgba(255, 255, 255, 0.12);
    --tcc-secondary-hover: rgba(255, 255, 255, 0.2);
    --tcc-bg: rgba(20, 23, 35, 0.96);
    --tcc-text: #EAEAEA;
    --tcc-border: rgba(255, 255, 255, 0.18);
    --tcc-focus: #3cc8ff;
    --tcc-radius: 12px;
    --tcc-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
    --tcc-heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --tcc-body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* Banner surface — frosted glass backdrop so gradient page bg shows through. */
.tc-consent-banner {
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-top: 2px solid rgba(0, 128, 254, 0.35);
    color: var(--tcc-text);
}

.tc-consent-banner--top {
    border-top: none;
    border-bottom: 2px solid rgba(0, 128, 254, 0.35);
}

.tc-consent-banner--bottom-left,
.tc-consent-banner--bottom-right,
.tc-consent-banner--center {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

/* Title + description — explicit colour so inherited content-area
   rules (e.g. .plp-prompt-content: #374151) can never bleed in. */
.tc-consent-banner__title {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tc-consent-banner__description {
    color: rgba(234, 234, 234, 0.85);
}

.tc-consent-banner__description a {
    color: #3cc8ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tc-consent-banner__description a:hover,
.tc-consent-banner__description a:focus-visible {
    color: #66d4ff;
}

/* Primary button — gradient matches .btn-primary elsewhere in the theme. */
.tc-consent-banner .tc-consent-btn--primary {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 128, 254, 0.4);
}

.tc-consent-banner .tc-consent-btn--primary:hover,
.tc-consent-banner .tc-consent-btn--primary:focus-visible {
    background: linear-gradient(135deg, #0070e0 0%, #2ab8ef 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 128, 254, 0.55);
}

/* Secondary (Reject) — low-contrast glass pill so it doesn't compete
   visually with Accept but still has clearly legible white text. */
.tc-consent-banner .tc-consent-btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.tc-consent-banner .tc-consent-btn--secondary:hover,
.tc-consent-banner .tc-consent-btn--secondary:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Tertiary (Customise) — outline on the dark surface. */
.tc-consent-banner .tc-consent-btn--tertiary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #EAEAEA;
}

.tc-consent-banner .tc-consent-btn--tertiary:hover,
.tc-consent-banner .tc-consent-btn--tertiary:focus-visible {
    background: rgba(0, 128, 254, 0.12);
    border-color: rgba(0, 128, 254, 0.55);
    color: #ffffff;
}

/* Preferences drawer */
.tc-consent-preferences {
    border-top-color: rgba(255, 255, 255, 0.12);
}

/* Category cards — invert the plugin's "subtle dark on light" to "subtle
   light on dark" so the cards separate visually on the dark surface. */
.tc-consent-banner .tc-consent-category {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-consent-banner .tc-consent-category:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.tc-consent-banner .tc-consent-category__name {
    color: #ffffff;
}

.tc-consent-banner .tc-consent-category__description {
    color: rgba(234, 234, 234, 0.78);
    opacity: 1;
}

/* "Always on" pill for strictly-necessary cookies. */
.tc-consent-banner .tc-consent-category__always {
    background-color: rgba(60, 200, 255, 0.18);
    color: #3cc8ff;
}

/* Toggle switch — theme accent when on, visible track when off. */
.tc-consent-banner .tc-consent-toggle__slider {
    background-color: rgba(255, 255, 255, 0.25);
}

.tc-consent-banner .tc-consent-toggle__input:checked + .tc-consent-toggle__slider {
    background-color: #0080fe;
}

.tc-consent-banner .tc-consent-toggle__input:focus-visible + .tc-consent-toggle__slider {
    box-shadow: 0 0 0 3px rgba(60, 200, 255, 0.45);
}

/* "Cookie Settings" floating re-open button (fixed bottom-left pill
   rendered by class-banner.php#tc-consent-settings-link). Plugin
   defaults to a nearly-white translucent background with dark text,
   which becomes an invisible blob over the theme's dark gradient. We
   override to a theme-matching frosted-dark pill with bright text
   and a visible accent border. Using the #id selector (0,1,0,0) to
   beat the plugin's .class selector (0,0,1,0) on every property
   regardless of CSS load order. */
#tc-consent-settings-link.tc-consent-settings-link,
.tc-consent-settings-link {
    background-color: rgba(20, 23, 35, 0.9);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    backdrop-filter: blur(12px) saturate(180%);
    color: #ffffff;
    border: 1px solid rgba(60, 200, 255, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    text-decoration: none;
    font-weight: 600;
}

#tc-consent-settings-link.tc-consent-settings-link:visited,
.tc-consent-settings-link:visited {
    color: #ffffff;
    text-decoration: none;
}

#tc-consent-settings-link.tc-consent-settings-link:hover,
#tc-consent-settings-link.tc-consent-settings-link:focus-visible,
.tc-consent-settings-link:hover,
.tc-consent-settings-link:focus-visible {
    background-color: rgba(0, 128, 254, 0.92);
    color: #ffffff;
    border-color: #3cc8ff;
    box-shadow: 0 6px 20px rgba(0, 128, 254, 0.55);
    text-decoration: none;
}

#tc-consent-settings-link.tc-consent-settings-link:focus-visible,
.tc-consent-settings-link:focus-visible {
    outline: 2px solid #3cc8ff;
    outline-offset: 3px;
}

#tc-consent-settings-link.tc-consent-settings-link:active,
.tc-consent-settings-link:active {
    color: #ffffff;
    text-decoration: none;
}

/* No-JS notice — the plugin hides the banner via JS, so the inline
   fallback must still read correctly on the theme's dark page. */
.tc-consent-nojs {
    background: rgba(20, 23, 35, 0.96);
    color: #EAEAEA;
    border-color: rgba(0, 128, 254, 0.35);
}

.tc-consent-nojs p {
    color: #EAEAEA;
}

/* No @media (prefers-color-scheme: light) override block here.
   The theme renders dark always, regardless of the visitor's OS
   setting — if a light-mode block were active, light content would
   sit on the theme's dark gradient and disappear. The dark rules
   above are the only rendering path. */

/* ============================================================
   352 Consent — Cookie Policy page

   The plugin's policy.css ships with light-mode defaults
   (#f5f5f5 callouts, #666 muted text, white table rows) which
   disappear on the theme's dark frosted-glass pages.

   IMPORTANT — specificity note: the plugin's policy.css is
   enqueued AFTER the theme's style.css, so rules of equal
   specificity (`.tcc-cookie-policy p { color: #333 }` from the
   plugin vs `.tcc-cookie-policy p { color: #EAEAEA }` from here)
   lose the cascade on source order. Prefixing every rule below
   with `body` bumps specificity from 0,0,1,0 or 0,0,2,0 to
   0,0,2,1+ so our overrides win regardless of load order — and
   without needing `!important` everywhere.
============================================================ */
body .tcc-cookie-policy {
    color: #EAEAEA;
}

body .tcc-cookie-policy h2,
body .tcc-cookie-policy h3,
body .tcc-cookie-policy h4 {
    color: #ffffff;
}

body .tcc-cookie-policy p,
body .tcc-cookie-policy li,
body .tcc-cookie-policy dt,
body .tcc-cookie-policy dd {
    color: rgba(234, 234, 234, 0.9);
}

body .tcc-cookie-policy strong,
body .tcc-cookie-policy b {
    color: #ffffff;
}

/*
 * Surface tone reference for the cookie-policy blocks below.
 *
 * The theme uses a dark animated gradient (rgba(41, 46, 61) ~ 16%
 * lightness) as the page backdrop. To feel like "cards on glass"
 * instead of bright panels, the tcc-* block backgrounds are kept
 * at 5-8% opacity of a tinted navy — quiet enough to read as
 * regions, never as solid white slabs. Using !important on the
 * background/border here so we always win against the plugin's
 * `background-color: #f5f5f5` even if WordPress happens to load
 * policy.css after the theme style.css on a given cache miss.
 */

/* "This policy was last updated…" callout. */
body .tcc-cookie-policy .tcc-policy-updated,
body .tcc-policy-updated {
    background: rgba(30, 35, 55, 0.55) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid #3cc8ff !important;
    color: #EAEAEA !important;
    border-radius: 8px;
}
body .tcc-cookie-policy .tcc-policy-updated,
body .tcc-cookie-policy .tcc-policy-updated p,
body .tcc-cookie-policy .tcc-policy-updated em,
body .tcc-policy-updated,
body .tcc-policy-updated p,
body .tcc-policy-updated em {
    color: #EAEAEA !important;
}

/* Cookie service cards (per third-party provider) — a subtle
   translucent card, never the bright white slab the plugin ships. */
body .tcc-cookie-policy .tcc-cookie-service,
body .tcc-cookie-service {
    background: rgba(30, 35, 55, 0.45) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
}

body .tcc-cookie-policy .tcc-cookie-service h3,
body .tcc-cookie-service h3 {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

body .tcc-cookie-policy .tcc-service-category,
body .tcc-service-category {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(234, 234, 234, 0.78) !important;
}

/* Cookie table inside service cards. */
body .tcc-cookie-policy .tcc-cookie-table,
body .tcc-cookie-table {
    color: #EAEAEA !important;
    background: transparent !important;
}

body .tcc-cookie-policy .tcc-cookie-table th,
body .tcc-cookie-table th {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body .tcc-cookie-policy .tcc-cookie-table td,
body .tcc-cookie-table td {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    color: rgba(234, 234, 234, 0.9) !important;
}

body .tcc-cookie-policy .tcc-cookie-table tbody tr:hover,
body .tcc-cookie-table tbody tr:hover {
    background: rgba(0, 128, 254, 0.06) !important;
}

body .tcc-cookie-policy .tcc-cookie-table code,
body .tcc-cookie-table code {
    background: rgba(0, 0, 0, 0.35) !important;
    color: #66d4ff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media screen and (max-width: 600px) {
    body .tcc-cookie-policy .tcc-cookie-table tbody tr,
    body .tcc-cookie-table tbody tr {
        background: rgba(30, 35, 55, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    body .tcc-cookie-policy .tcc-cookie-table td,
    body .tcc-cookie-table td {
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }
}

/* "Manage your consent" panel + button */
body .tcc-cookie-policy .tcc-consent-manager,
body .tcc-consent-manager {
    background: rgba(30, 35, 55, 0.5) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    color: #EAEAEA !important;
}

body .tcc-cookie-policy .tcc-consent-manager p,
body .tcc-consent-manager p {
    color: rgba(234, 234, 234, 0.9) !important;
}

body .tcc-manage-consent-btn {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 128, 254, 0.35);
}
body .tcc-manage-consent-btn:hover,
body .tcc-manage-consent-btn:focus-visible {
    background: linear-gradient(135deg, #0070e0 0%, #2ab8ef 100%);
    color: #ffffff;
    outline: none;
    box-shadow: 0 6px 22px rgba(0, 128, 254, 0.5);
}
body .tcc-manage-consent-btn:focus-visible {
    outline: 2px solid #3cc8ff;
    outline-offset: 2px;
}

/* Data-controller contact block */
body .tcc-cookie-policy .tcc-contact-details,
body .tcc-contact-details {
    background: rgba(30, 35, 55, 0.5) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    color: #EAEAEA !important;
}

body .tcc-cookie-policy .tcc-contact-details a,
body .tcc-contact-details a {
    color: #3cc8ff;
}

body .tcc-cookie-policy .tcc-contact-details a:hover,
body .tcc-cookie-policy .tcc-contact-details a:focus-visible,
body .tcc-contact-details a:hover,
body .tcc-contact-details a:focus-visible {
    color: #66d4ff;
}

/* "Synced from…" disclosure line */
body .tcc-cookie-policy .tcc-sync-notice,
body .tcc-sync-notice {
    color: rgba(234, 234, 234, 0.65);
}

body .tcc-cookie-policy hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body .tcc-cookie-policy a {
    color: #3cc8ff;
}

body .tcc-cookie-policy a:hover,
body .tcc-cookie-policy a:focus-visible {
    color: #66d4ff;
}

/* No @media (prefers-color-scheme: light) block here either — the
   theme is always dark regardless of OS preference. A light-mode
   override would swap white panels and dark text onto a permanently
   dark page, which is exactly the "bright white block on dark bg"
   regression that prompted this removal. */


/* ===================================================================
   HOMEPAGE — "Try a Free Prompt" horizontal hero
   ===================================================================
   Replaces the older vertical .free-prompt-sample block. Lays out a
   single sample prompt across the page width: meta + variable inputs
   on the left, live prompt preview + copy/run actions on the right.
   The .plp-* classes inside this hero are the same ones that
   public.js binds to, so live preview / copy / run-in buttons all
   work without any extra JS — even for guests, because we render the
   inputs directly instead of going through PLP_Variables::render_variable_form()
   (which would gate guests with a sign-in CTA).
   =================================================================== */

.free-prompt-hero-section {
    padding: 4rem 0 4.5rem;
    background: rgba(15, 18, 28, 0.65);
}

.free-prompt-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.free-prompt-hero {
    position: relative;
    background: rgba(45, 50, 70, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 2.25rem 2.25rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.free-prompt-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.free-prompt-hero__badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e 0%, #34d399 100%);
    color: #052e16;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.free-prompt-hero__category {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(60, 200, 255, 0.15);
    color: #3cc8ff;
    border: 1px solid rgba(60, 200, 255, 0.25);
    font-size: 0.75rem;
    font-weight: 500;
}

.free-prompt-hero__title {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.free-prompt-hero__title a {
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #bfe6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.free-prompt-hero__title a:hover,
.free-prompt-hero__title a:focus-visible {
    text-decoration: underline;
}

.free-prompt-hero__excerpt {
    margin: 0 0 1.25rem;
    color: rgba(234, 234, 234, 0.78);
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: 70ch;
}

.free-prompt-hero__panels {
    display: grid;
    grid-template-columns: minmax(260px, 38fr) minmax(0, 62fr);
    gap: 2rem;
    align-items: start;
}

.free-prompt-hero__panel-title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(234, 234, 234, 0.6);
    margin: 0 0 0.625rem 0;
}

/* Left column — variable inputs */
.free-prompt-hero__inputs .plp-variables-form,
.free-prompt-hero__var-grid {
    /* Override the in-page-content .plp-variables-form padding/bg from
       public.css/public-modern.css — this lives in a card already, the
       extra glass background + padding would be redundant. */
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 1.25rem 0 !important;
}

.free-prompt-hero__var-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem 0.75rem;
}

.free-prompt-hero__var-field {
    display: block;
    grid-template-columns: none;
    margin: 0 !important;
}

.free-prompt-hero__var-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(234, 234, 234, 0.85);
    margin: 0 0 0.25rem 0;
}

.free-prompt-hero__var-field input,
.free-prompt-hero__var-field select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #EAEAEA;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.free-prompt-hero__var-field input::placeholder {
    color: rgba(234, 234, 234, 0.4);
}

.free-prompt-hero__var-field input:focus,
.free-prompt-hero__var-field select:focus {
    outline: none;
    border-color: #0080fe;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 128, 254, 0.18);
}

.free-prompt-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
}

/* Right column — live preview + actions */
.free-prompt-hero__box {
    background: linear-gradient(135deg, #1a1d2e 0%, #252a3d 100%);
    border: 1px solid rgba(0, 128, 254, 0.45);
    border-radius: 12px;
    padding: 1.125rem 1.25rem;
    margin-bottom: 0.875rem;
    max-height: 340px;
    overflow-y: auto;
    box-shadow: inset 0 0 25px rgba(0, 128, 254, 0.15);
}

.free-prompt-hero__box .plp-prompt-text {
    font-family: ui-monospace, 'SF Mono', Monaco, 'Cascadia Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
}

.free-prompt-hero__box .plp-variable-highlight {
    background: linear-gradient(135deg, rgba(0, 128, 254, 0.3), rgba(60, 200, 255, 0.3));
    color: #5dd4ff;
    padding: 0.05em 0.35em;
    border-radius: 4px;
    border: 1px solid rgba(0, 128, 254, 0.45);
    font-weight: 600;
}

.free-prompt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.free-prompt-hero__copy {
    background: linear-gradient(135deg, #0080fe 0%, #3cc8ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.free-prompt-hero__copy:hover,
.free-prompt-hero__copy:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 128, 254, 0.4);
    outline: none;
}

.free-prompt-hero__copy.plp-copied {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.free-prompt-hero__run-label {
    font-size: 0.75rem;
    color: rgba(234, 234, 234, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.25rem;
    margin-right: -0.125rem;
}

.free-prompt-hero__run-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #EAEAEA;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.free-prompt-hero__run-btn:hover,
.free-prompt-hero__run-btn:focus {
    background: rgba(0, 128, 254, 0.2);
    border-color: rgba(0, 128, 254, 0.5);
    color: #fff;
    outline: none;
}

@media (max-width: 900px) {
    .free-prompt-hero__panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .free-prompt-hero {
        padding: 1.25rem 1.25rem 1.5rem;
    }
    .free-prompt-hero__title {
        font-size: 1.4rem;
    }
    .free-prompt-hero__var-grid {
        grid-template-columns: 1fr;
    }
    .free-prompt-hero__run-label {
        width: 100%;
        margin: 0.25rem 0 0;
    }
}

/* ===================================================================
   HOMEPAGE — "More Free Prompts to Try" grid
   ===================================================================
   Restored from v2.3.0 (deleted in v2.3.2 commit 8bfaa87 when the
   single hero sample block replaced it). New wrapper class
   .free-prompts-grid-section to avoid colliding with the hero's
   styling above. Container/grid/cta classes inside reuse the
   existing .free-prompts-* rules already in this file.
   =================================================================== */

.free-prompts-grid-section {
    padding: 5rem 0;
    background: rgba(15, 18, 28, 0.8);
}

