/**
 * World of AI Hub - Main stylesheet
 * Built with CSS custom properties for easy dark mode switching.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --woah-primary: #2563eb;
    --woah-primary-dark: #1d4ed8;
    --woah-secondary: #0ea5e9;
    --woah-bg: #f8fafc;
    --woah-surface: #ffffff;
    --woah-text: #0f172a;
    --woah-muted: #475569;
    --woah-border: #e2e8f0;
    --woah-radius: 12px;
    --woah-radius-lg: 20px;
    --woah-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --woah-shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.1);
    --woah-gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --woah-header-bg: #ffffff;
    --woah-glass: rgba(255, 255, 255, 0.92);
}

[data-theme="dark"] {
    --woah-bg: #0b1120;
    --woah-surface: #151c2c;
    --woah-text: #f1f5f9;
    --woah-muted: #94a3b8;
    --woah-border: #273449;
    --woah-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    --woah-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.35);
    --woah-header-bg: #0b1120;
    --woah-glass: rgba(11, 17, 32, 0.92);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--woah-bg);
    color: var(--woah-text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--woah-primary);
    text-decoration: none;
}

a:hover {
    color: var(--woah-primary-dark);
}

.woah-section {
    padding: 4rem 0;
}

.woah-page-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn-primary {
    background: var(--woah-gradient);
    border: 0;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--woah-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-outline-primary {
    border-color: var(--woah-primary);
    color: var(--woah-primary);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--woah-primary);
    border-color: var(--woah-primary);
    color: #fff;
}

/* Header */
.woah-header {
    background: var(--woah-header-bg);
    border-bottom: 1px solid var(--woah-border);
    z-index: 1030;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
}

.woah-header__topbar {
    background: var(--woah-bg);
    border-bottom: 1px solid var(--woah-border);
    font-size: 0.8125rem;
    color: var(--woah-muted);
    padding: 0.4rem 0;
}

.woah-header__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.woah-header__tagline i {
    color: var(--woah-primary);
    margin-right: 0.35rem;
}

.woah-header__topbar-menu li {
    display: inline-block;
    margin-left: 1.25rem;
}

.woah-header__topbar-menu a {
    color: var(--woah-muted);
    font-weight: 500;
}

.woah-header__topbar-menu a:hover {
    color: var(--woah-primary);
}

.woah-header__topbar-actions .woah-search-form {
    width: 220px;
}

.woah-header__topbar-actions .woah-search-form .input-group {
    border-radius: 999px;
}

.woah-header__topbar-actions .woah-search-form .form-control {
    height: 32px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
}

.woah-header__topbar-actions .woah-search-form .btn {
    padding: 0.25rem 0.65rem;
}

.woah-header__topbar-actions .woah-dark-mode-toggle {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.woah-header__navbar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.woah-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-right: 2rem;
}

.woah-brand__mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--woah-gradient);
    color: #fff;
    border-radius: 10px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.woah-brand__mark svg {
    width: 26px;
    height: 26px;
}

.woah-brand__text {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.woah-brand__name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--woah-text);
    letter-spacing: -0.02em;
}

.woah-brand__tagline {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--woah-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--woah-text) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--woah-primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--woah-primary) !important;
}

.dropdown-menu-large {
    min-width: 600px;
    padding: 1.5rem;
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    background: var(--woah-glass);
    backdrop-filter: blur(12px);
    box-shadow: var(--woah-shadow-hover);
}

.woah-dark-mode-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--woah-border);
    background: var(--woah-surface);
    color: var(--woah-text);
}

.woah-header__cta {
    font-weight: 600;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
}

.woah-navbar-toggler {
    border: 1px solid var(--woah-border);
    padding: 0.45rem 0.65rem;
}

/* Inner Hero */
.woah-inner-hero {
    position: relative;
    padding: 5rem 0 4rem;
    color: #fff;
    overflow: hidden;
    background: #0f172a;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
}

.woah-inner-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.woah-inner-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.woah-inner-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 60%, rgba(15, 23, 42, 0.5) 100%);
}

.woah-inner-hero .container {
    position: relative;
    z-index: 1;
}

.woah-inner-hero__content {
    max-width: 760px;
}

.woah-inner-hero__title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.woah-inner-hero__subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.woah-inner-hero .woah-breadcrumb__list {
    color: rgba(255, 255, 255, 0.7);
}

.woah-inner-hero .woah-breadcrumb__link {
    color: rgba(255, 255, 255, 0.8);
}

.woah-inner-hero .woah-breadcrumb__link:hover {
    color: #fff;
}

.woah-inner-hero .woah-breadcrumb__current {
    color: #fff;
}

.woah-inner-hero .woah-breadcrumb__separator {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767.98px) {
    .woah-inner-hero {
        padding: 3.5rem 0 3rem;
        min-height: 200px;
    }
    .woah-inner-hero__title {
        font-size: 1.875rem;
    }
}

/* Breadcrumb */
.woah-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
}

.woah-breadcrumb__link {
    color: var(--woah-muted);
}

.woah-breadcrumb__current {
    color: var(--woah-text);
    font-weight: 600;
}

.woah-breadcrumb__separator {
    color: var(--woah-muted);
    font-size: 0.75rem;
}

/* Hero */
.woah-hero {
    padding: 6rem 0 5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: #0f172a;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.woah-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.woah-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.woah-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(15, 23, 42, 0.45) 100%);
}

.woah-hero .container {
    position: relative;
    z-index: 1;
}

.woah-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.woah-hero__title {
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 700px;
}

.woah-hero__lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    font-size: 1.125rem;
}

.woah-hero__search .woah-search-form {
    max-width: 520px;
}

.woah-hero__search .woah-search-form .input-group {
    background: #fff;
    border: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 999px;
}

.woah-hero__search .woah-search-form .form-control {
    background: transparent;
    padding: 1rem 1.25rem;
    border-radius: 999px;
}

.woah-hero__search .woah-search-form .btn {
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    margin-right: 0.25rem;
}

.woah-hero__stats {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

.woah-hero__stats strong {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.woah-hero__stats span {
    font-weight: 500;
}

/* Section headers */
.woah-section__header {
    border-bottom: 1px solid var(--woah-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.woah-section__title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.woah-section__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--woah-primary);
    white-space: nowrap;
}

.woah-section__link:hover {
    color: var(--woah-primary-dark);
}

.woah-section__link i {
    transition: transform 0.2s ease;
}

.woah-section__link:hover i {
    transform: translateX(3px);
}

/* Search */
.woah-search-form {
    position: relative;
}

.woah-search-form .input-group {
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--woah-border);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.woah-search-form .input-group:focus-within {
    border-color: var(--woah-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.woah-search-form .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-left: 1.25rem;
}

.woah-search-form .form-control:focus {
    box-shadow: none;
}

.woah-search-form .btn {
    border: 0;
    background: var(--woah-primary);
    color: #fff;
    padding: 0.5rem 1.1rem;
}

.woah-search-form .btn:hover {
    background: var(--woah-primary-dark);
}

.woah-header__actions .woah-search-form {
    width: 220px;
}

.woah-header__actions .woah-search-form .input-group {
    border-radius: 999px;
}

.woah-header__actions .woah-search-form .form-control {
    height: 38px;
    padding: 0.35rem 0.9rem;
    font-size: 0.875rem;
}

.woah-header__actions .woah-search-form .btn {
    padding: 0.35rem 0.85rem;
}

.woah-live-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: 0 0 var(--woah-radius) var(--woah-radius);
    box-shadow: var(--woah-shadow);
    z-index: 100;
    display: none;
}

.woah-live-search.is-active {
    display: block;
}

.woah-live-search__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--woah-text);
    border-bottom: 1px solid var(--woah-border);
}

.woah-live-search__item:hover {
    background: var(--woah-bg);
}

.woah-live-search__thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.woah-live-search__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.woah-live-search__title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woah-live-search__meta {
    font-size: 0.75rem;
    color: var(--woah-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woah-live-search__sep {
    margin: 0 0.25rem;
}

.woah-live-search__footer {
    padding: 0.5rem 1rem;
    text-align: center;
    border-top: 1px solid var(--woah-border);
    background: var(--woah-bg);
    border-radius: 0 0 var(--woah-radius) var(--woah-radius);
}

.woah-live-search__footer a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--woah-primary);
}

.woah-live-search__footer a:hover {
    text-decoration: underline;
}

.woah-live-search__empty {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--woah-muted);
    text-align: center;
}

/* Cards */
.woah-card {
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    box-shadow: var(--woah-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.woah-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--woah-shadow-hover);
    border-color: rgba(37, 99, 235, 0.25);
}

.woah-card__header {
    position: relative;
}

.woah-card__image-link {
    display: block;
    overflow: hidden;
    background: var(--woah-bg);
}

.woah-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.woah-card__image--logo {
    object-fit: contain;
    padding: 18% 25%;
    background: var(--woah-bg);
}

.woah-card:hover .woah-card__image {
    transform: scale(1.03);
}

.woah-card:hover .woah-card__image--logo {
    transform: none;
}

.woah-card__badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.woah-card__actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.woah-card:hover .woah-card__actions {
    opacity: 1;
}

.woah-card__body {
    padding: 1.25rem;
    flex: 1 1 auto;
}

.woah-card__title a {
    color: var(--woah-text);
}

.woah-card__title a:hover {
    color: var(--woah-primary);
}

.woah-card__excerpt {
    color: var(--woah-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.woah-card__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--woah-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woah-badge {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.woah-badge--free {
    background: #dcfce7;
    color: #166534;
}

.woah-badge--paid {
    background: #fee2e2;
    color: #991b1b;
}

.woah-badge--freemium {
    background: #e0e7ff;
    color: #3730a3;
}

[data-theme="dark"] .woah-badge--free { background: #14532d; color: #bbf7d0; }
[data-theme="dark"] .woah-badge--paid { background: #7f1d1d; color: #fecaca; }
[data-theme="dark"] .woah-badge--freemium { background: #312e81; color: #c7d2fe; }

.woah-bookmark-btn,
.woah-compare-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: var(--woah-surface);
    color: var(--woah-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.woah-bookmark-btn.is-active,
.woah-compare-btn.is-active {
    background: var(--woah-primary);
    color: #fff;
}

/* Categories */
.woah-cat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    color: var(--woah-text);
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.woah-cat-card:hover {
    border-color: var(--woah-primary);
    transform: translateY(-3px);
    box-shadow: var(--woah-shadow-hover);
    color: var(--woah-primary);
}

.woah-cat-card__name {
    font-weight: 600;
}

.woah-cat-card__count {
    font-size: 0.8125rem;
    color: var(--woah-muted);
    background: var(--woah-bg);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

/* Tool single */
.woah-tool-hero {
    background: var(--woah-surface);
    border-bottom: 1px solid var(--woah-border);
    padding: 4rem 0;
}

.woah-tool-hero__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 16px;
    background: var(--woah-bg);
    padding: 0.75rem;
}

.woah-tool-hero__title {
    color: var(--woah-text);
}

.woah-tool-hero__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.woah-tool-content .entry-content {
    font-size: 1.0625rem;
}

.woah-entry--legal .entry-content {
    max-width: 80ch;
    text-align: left;
}

.woah-entry--legal .entry-content h2,
.woah-entry--legal .entry-content h3 {
    text-align: left;
}

.woah-entry--single .entry-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.woah-entry--single .entry-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.woah-entry--single .entry-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--woah-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: background 0.2s ease;
}

.woah-entry--single .entry-category:hover {
    background: var(--woah-primary-dark, #1d4ed8);
    color: #fff;
}

.woah-entry--single .entry-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    color: var(--woah-muted);
    font-size: 0.875rem;
}

.woah-entry--single .entry-image {
    border-radius: var(--woah-radius);
    overflow: hidden;
    box-shadow: var(--woah-shadow);
}

.woah-entry--single .entry-image img {
    width: 100%;
    height: auto;
}

.woah-entry--single .entry-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--woah-text);
}

.woah-entry--single .entry-content > * {
    margin-bottom: 1.5rem;
}

.woah-entry--single .entry-content h2,
.woah-entry--single .entry-content h3,
.woah-entry--single .entry-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.woah-entry--single .entry-content h2 {
    font-size: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--woah-border);
}

.woah-entry--single .entry-content h3 {
    font-size: 1.375rem;
}

.woah-entry--single .entry-content ul,
.woah-entry--single .entry-content ol {
    padding-left: 1.5rem;
}

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

.woah-entry--single .entry-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--woah-primary);
    background: var(--woah-bg);
    border-radius: 0 var(--woah-radius) var(--woah-radius) 0;
    font-style: italic;
}

.woah-entry--single .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.woah-entry--single .entry-content code {
    padding: 0.15rem 0.4rem;
    background: var(--woah-bg);
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--woah-primary);
}

.woah-entry--single .entry-content pre {
    padding: 1rem;
    background: var(--woah-bg);
    border-radius: var(--woah-radius);
    overflow-x: auto;
}

.woah-entry--single .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.woah-entry--single .entry-content th,
.woah-entry--single .entry-content td {
    padding: 0.75rem;
    border: 1px solid var(--woah-border);
}

.woah-entry--single .entry-content th {
    background: var(--woah-bg);
    font-weight: 600;
}

.woah-entry--single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--woah-radius);
}

.woah-entry--single .entry-content a {
    color: var(--woah-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.woah-entry--single .entry-content a:hover {
    color: var(--woah-primary-dark, #1d4ed8);
}

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

.woah-tool-meta {
    background: var(--woah-bg);
    padding: 1.5rem;
    border-radius: var(--woah-radius);
    margin-top: 2rem;
}

.woah-tool-meta ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--woah-border);
}

.woah-tool-meta ul li:last-child {
    border-bottom: 0;
}

.woah-stars {
    color: #f59e0b;
    font-size: 0.875rem;
}

/* Screenshots */
.woah-screenshot {
    display: block;
    border-radius: var(--woah-radius);
    overflow: hidden;
    border: 1px solid var(--woah-border);
}

.woah-screenshot img {
    transition: transform 0.3s ease;
}

.woah-screenshot:hover img {
    transform: scale(1.05);
}

/* Pros & Cons */
.woah-pros-cons__box {
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
}

.woah-pros-cons__box li {
    padding: 0.35rem 0;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

/* FAQ */
.woah-accordion .accordion-item {
    background: var(--woah-surface);
    border-color: var(--woah-border);
}

.woah-accordion .accordion-button {
    background: var(--woah-surface);
    color: var(--woah-text);
}

.woah-accordion .accordion-button:not(.collapsed) {
    background: var(--woah-bg);
    color: var(--woah-primary);
    box-shadow: none;
}

/* TOC */
.woah-toc {
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.woah-toc__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.woah-toc__list {
    margin: 0;
    padding-left: 1rem;
}

.woah-toc__item--level-3 {
    padding-left: 1rem;
}

/* Author box */
.woah-author-box {
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
}

/* Share */
.woah-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.woah-share__link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--woah-bg);
    color: var(--woah-text);
    border: 1px solid var(--woah-border);
    transition: all 0.2s ease;
}

.woah-share__link:hover {
    background: var(--woah-primary);
    color: #fff;
    border-color: var(--woah-primary);
}

.woah-share-section {
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
}

/* Newsletter */
.woah-newsletter-box {
    background: var(--woah-gradient);
    border-radius: var(--woah-radius);
    padding: 3rem;
    color: #fff;
    box-shadow: var(--woah-shadow);
}

.woah-newsletter-message {
    font-size: 0.875rem;
}

/* Filters */
.woah-filter-bar {
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1.25rem;
    box-shadow: var(--woah-shadow);
    position: sticky;
    top: 100px;
}

.woah-filter-bar__header {
    margin-bottom: 0;
}

.woah-filter-bar__title {
    font-size: 1.1rem;
    font-weight: 700;
}

.woah-filter-bar__title i {
    color: var(--woah-primary);
    margin-right: 0.4rem;
}

.woah-filter-toggle[aria-expanded="true"] {
    background: var(--woah-primary);
    border-color: var(--woah-primary);
    color: #fff;
}

.woah-filter-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.woah-filter-body:not(.is-open) {
    display: none;
}

@media (min-width: 992px) {
    .woah-filter-body {
        display: flex !important;
    }
}

.woah-filter-group {
    border-bottom: 1px solid var(--woah-border);
    padding-bottom: 1rem;
}

.woah-filter-group:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.woah-filter-group__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--woah-muted);
    margin-bottom: 0.6rem;
}

.woah-filter-group__label i {
    margin-right: 0.35rem;
    color: var(--woah-primary);
}

.woah-filter-group--search .form-control {
    border-radius: 999px;
    padding-left: 1rem;
    border: 1px solid var(--woah-border);
    background: var(--woah-bg);
}

.woah-filter-group__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    padding: 0;
    font-weight: 700;
    color: var(--woah-text);
    font-size: 0.95rem;
    cursor: pointer;
}

.woah-filter-group__toggle i {
    font-size: 0.8rem;
    color: var(--woah-muted);
    transition: transform 0.2s ease;
}

.woah-filter-group.is-collapsed .woah-filter-options {
    display: none;
}

.woah-filter-group.is-collapsed .woah-filter-group__toggle i {
    transform: rotate(-90deg);
}

.woah-filter-options {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.woah-filter-options.is-scrollable {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.woah-filter-options.is-scrollable::-webkit-scrollbar {
    width: 6px;
}

.woah-filter-options.is-scrollable::-webkit-scrollbar-track {
    background: var(--woah-bg);
    border-radius: 3px;
}

.woah-filter-options.is-scrollable::-webkit-scrollbar-thumb {
    background: var(--woah-border);
    border-radius: 3px;
}

.woah-filter-options.is-scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--woah-muted);
}

.woah-filter-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    margin-bottom: 0;
}

.woah-filter-option:hover {
    background: var(--woah-bg);
}

.woah-filter-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.woah-filter-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--woah-border);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
    color: transparent;
    font-size: 0.8rem;
}

.woah-filter-option:hover .woah-filter-check {
    border-color: var(--woah-primary);
}

.woah-filter-option input:checked + .woah-filter-check {
    background: var(--woah-primary);
    border-color: var(--woah-primary);
    color: #fff;
}

.woah-filter-label {
    flex: 1 1 auto;
    font-size: 0.9375rem;
    color: var(--woah-text);
    text-transform: capitalize;
}

.woah-filter-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--woah-muted);
    background: var(--woah-bg);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.woah-filter-actions {
    padding-top: 0.5rem;
}

.woah-filter-actions .btn {
    border-radius: 999px;
    font-weight: 600;
}

.woah-toolbar {
    gap: 1rem;
}

.woah-toolbar .woah-results-count {
    font-weight: 600;
    color: var(--woah-text);
    white-space: nowrap;
}

.woah-toolbar .woah-sort {
    width: auto;
    min-width: 160px;
    max-width: 220px;
    border-radius: 999px;
    padding-left: 1rem;
    padding-right: 2rem;
    border-color: var(--woah-border);
    background-color: var(--woah-surface);
    color: var(--woah-text);
    cursor: pointer;
}

.woah-toolbar .woah-sort:focus {
    border-color: var(--woah-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.woah-filter-search-wrap {
    position: relative;
}

.woah-filter-options--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.woah-filter-option--chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem 0.35rem 0.55rem;
    border: 1px solid var(--woah-border);
    border-radius: 999px;
    background: var(--woah-surface);
    margin-bottom: 0;
    transition: all 0.15s ease;
}

.woah-filter-option--chip:hover {
    border-color: var(--woah-primary);
    background: var(--woah-bg);
}

.woah-filter-option--chip .woah-filter-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
}

.woah-filter-option--chip .woah-filter-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.woah-filter-option--chip input:checked + .woah-filter-check {
    background: #fff;
    border-color: #fff;
    color: var(--woah-primary);
}

.woah-filter-option--chip input:checked ~ .woah-filter-label {
    color: #fff;
}

.woah-filter-option--chip:has(input:checked) {
    background: var(--woah-primary);
    border-color: var(--woah-primary);
}

.woah-ajax-results {
    position: relative;
    min-height: 200px;
}

.woah-ajax-results.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    z-index: 10;
}

.woah-ajax-results.is-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--woah-border);
    border-top-color: var(--woah-primary);
    border-radius: 50%;
    animation: woah-spin 0.8s linear infinite;
    z-index: 11;
}

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

[data-theme="dark"] .woah-ajax-results.is-loading::after {
    background: rgba(11, 17, 32, 0.7);
}

/* Pagination */
.woah-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.woah-pagination ul {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.4rem;
    margin: 0;
    list-style: none;
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: 999px;
    box-shadow: var(--woah-shadow);
}

.woah-pagination li {
    display: flex;
}

.woah-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: transparent;
    border: 0;
    color: var(--woah-text);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.woah-pagination .page-numbers:hover,
.woah-pagination .page-numbers:focus {
    background: var(--woah-bg);
    color: var(--woah-primary);
}

.woah-pagination .page-numbers.current {
    background: var(--woah-gradient);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.woah-pagination .page-numbers.dots {
    background: transparent;
    color: var(--woah-muted);
    min-width: auto;
}

.woah-pagination .page-numbers.dots:hover {
    background: transparent;
    color: var(--woah-text);
    transform: none;
}

/* Sidebar */
.woah-sidebar {
    position: sticky;
    top: 100px;
}

.woah-sidebar .widget {
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1.5rem;
    box-shadow: var(--woah-shadow);
    margin-bottom: 1.5rem;
}

.woah-sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--woah-border);
    color: var(--woah-text);
}

.woah-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woah-sidebar .widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--woah-border);
}

.woah-sidebar .widget ul li:last-child {
    border-bottom: 0;
}

.woah-sidebar .widget ul li a {
    color: var(--woah-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.woah-sidebar .widget ul li a::after {
    content: "\2192";
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    color: var(--woah-primary);
    margin-left: auto;
}

.woah-sidebar .widget ul li a:hover {
    color: var(--woah-primary);
}

.woah-sidebar .widget ul li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.woah-sidebar .widget ul li a .post-count {
    margin-left: 0.25rem;
    color: var(--woah-muted);
    font-weight: 400;
}

.woah-sidebar .widget_search .woah-search-form {
    width: 100%;
}

.woah-sidebar .widget_search .input-group {
    border-radius: 999px;
}

.woah-sidebar__sticky {
    position: sticky;
    top: 100px;
}

/* Footer */
.woah-footer {
    background: var(--woah-surface);
    border-top: 1px solid var(--woah-border);
    padding: 4rem 0 2rem;
}

.woah-footer__brand .woah-brand {
    margin-right: 0;
}

.woah-footer__title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.woah-footer__menu li {
    margin-bottom: 0.5rem;
}

.woah-footer__menu a {
    color: var(--woah-muted);
}

.woah-footer__menu a:hover {
    color: var(--woah-primary);
}

.woah-social-links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.woah-social-links__item {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
    color: var(--woah-muted);
    font-size: 1rem;
    transition: all 0.15s ease;
}

.woah-social-links__item:hover {
    background: var(--woah-primary);
    border-color: var(--woah-primary);
    color: #fff;
    transform: translateY(-2px);
}

.woah-footer__share {
    border-top: 1px solid var(--woah-border);
    border-bottom: 1px solid var(--woah-border);
    text-align: center;
}

.woah-footer__share-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--woah-muted);
}

.woah-footer__share .woah-share__link {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
    background: transparent;
}

.woah-footer__share .woah-share__link:hover {
    background: var(--woah-primary);
    color: #fff;
}

.woah-footer__bottom {
    text-align: center;
}

@media (min-width: 768px) {
    .woah-footer__bottom {
        text-align: left;
    }
}

.woah-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding-left: 0;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .woah-footer__legal {
        justify-content: flex-end;
    }
}

.woah-footer__legal li {
    display: inline-block;
    margin: 0;
}

.woah-footer__legal a {
    color: var(--woah-muted);
    font-size: 0.875rem;
}

/* Ad slots */
.woah-ad-slot {
    text-align: center;
    overflow: hidden;
}

.woah-ad-widget {
    background: var(--woah-bg);
    border: 1px dashed var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1rem;
}

/* Compare bar */
.woah-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--woah-text);
    color: #fff;
    padding: 0.75rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1040;
}

.woah-compare-bar.is-active {
    transform: translateY(0);
}

/* Prompt box */
.woah-prompt-box {
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1.25rem;
}

.woah-prompt-text {
    white-space: pre-wrap;
    margin: 0;
    padding-right: 6rem;
    background: transparent;
    border: 0;
    color: var(--woah-text);
}

/* 404 */
.woah-404 {
    padding: 6rem 0;
}

.woah-404__code {
    background: var(--woah-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--woah-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 100000;
}

.skip-link:focus {
    top: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .woah-hero {
        padding: 4rem 0;
    }
    .woah-section {
        padding: 2.5rem 0;
    }
    .dropdown-menu-large {
        min-width: 100%;
    }
    .woah-card__actions {
        opacity: 1;
    }
}

@media (max-width: 575.98px) {
    .woah-hero__title {
        font-size: 2rem;
    }
    .woah-newsletter-box {
        padding: 1.5rem;
    }
}

/* Prompt Library enhancements */

.woah-card--prompt .woah-card__body {
    display: flex;
    flex-direction: column;
}

.woah-card--prompt .woah-card__excerpt {
    flex-grow: 1;
}

.woah-card--prompt .woah-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--woah-border);
}

.woah-card--prompt .woah-card__footer > .d-flex {
    width: 100%;
}

.woah-single-prompt__description {
    color: var(--woah-muted);
}

.woah-prompt-box {
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1.25rem;
}

.woah-prompt-text {
    margin: 0;
    padding-right: 6rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--woah-text);
    max-height: 500px;
    overflow-y: auto;
}

.woah-prompt-text h2 {
    font-size: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.woah-prompt-text h2:first-child {
    margin-top: 0;
}

.woah-prompt-text p {
    margin-bottom: 0.75rem;
}

.woah-prompt-text p:last-child {
    margin-bottom: 0;
}

.woah-prompt-text pre {
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1rem;
    font-family: var(--bs-font-monospace, monospace);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.woah-prompt-text--generator {
    min-height: 220px;
    max-height: 600px;
    padding: 1rem;
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
}

.woah-prompt-box .woah-copy-prompt {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.woah-prompt-section {
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1.25rem;
}

.woah-prompt-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.woah-prompt-list {
    margin: 0;
    padding-left: 1.25rem;
}

.woah-prompt-list li {
    margin-bottom: 0.5rem;
    color: var(--woah-text);
}

.woah-prompt-example {
    background: var(--woah-bg);
    border-left: 4px solid var(--woah-primary);
    padding: 1rem;
    border-radius: 0 var(--woah-radius) var(--woah-radius) 0;
    color: var(--woah-text);
}

.woah-related-prompt {
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    transition: all 0.15s ease;
}

.woah-related-prompt:hover {
    border-color: var(--woah-primary);
    box-shadow: var(--woah-shadow);
}

.woah-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1rem;
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    text-decoration: none;
    transition: all 0.15s ease;
}

.woah-cat-card:hover {
    border-color: var(--woah-primary);
    transform: translateY(-2px);
}

.woah-cat-card__name {
    font-weight: 600;
    color: var(--woah-text);
}

.woah-cat-card__count {
    font-size: 0.75rem;
    color: var(--woah-muted);
}

/* AI Prompt Generator */
.woah-generator-card .woah-card__body,
.woah-generator-output .woah-card__body {
    padding: 1.5rem;
}

.woah-generator-form .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--woah-text);
}

.woah-generator-output {
    position: relative;
}

.woah-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--woah-surface-rgb, 255, 255, 255), 0.85);
    backdrop-filter: blur(2px);
    border-radius: var(--woah-radius);
    z-index: 10;
}

.woah-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--woah-border);
    border-top-color: var(--woah-primary);
    border-radius: 50%;
    animation: woah-spin 0.8s linear infinite;
}

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

/* Toast notifications */
.woah-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--woah-shadow);
    padding: 0.75rem 1rem;
}

.woah-toast .btn-close {
    padding: 0.5rem;
}

/* Share section */
.woah-share-section {
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
}

/* Prompt char count */
.woah-char-count {
    font-size: 0.75rem;
}

/* Dark mode compatibility */
[data-theme="dark"] .woah-prompt-box,
[data-theme="dark"] .woah-prompt-text--generator,
[data-theme="dark"] .woah-prompt-example,
[data-theme="dark"] .woah-share-section {
    background: var(--woah-bg);
}

/* Homepage CTA */
.woah-cta-card {
    background: linear-gradient(135deg, var(--woah-primary) 0%, #1d4ed8 100%);
    color: #fff;
}

.woah-cta-card h2,
.woah-cta-card p {
    color: #fff;
}

.woah-cta-card .btn-light {
    color: var(--woah-primary);
}

/* AI Prompt Generator output box */
.woah-generator-output__box {
    position: relative;
    min-height: 220px;
    background: var(--woah-bg);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    padding: 1.25rem;
    overflow: hidden;
}

.woah-generator-output__box.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.woah-generator-output__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 360px;
    color: var(--woah-muted);
}

.woah-generator-output__placeholder i {
    opacity: 0.6;
}

.woah-generator-output__text {
    font-family: var(--bs-font-monospace, monospace);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--woah-text);
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

.woah-prompt-text--generated {
    min-height: 180px;
    max-height: 520px;
    overflow-y: auto;
}

/* Hide placeholder when d-none is applied */
.woah-generator-output__placeholder.d-none {
    display: none !important;
}

/* Global entry content typography */
.woah-entry .entry-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--woah-text);
}

.woah-entry .entry-content > *:last-child {
    margin-bottom: 0;
}

.woah-entry .entry-content h1,
.woah-entry .entry-content h2,
.woah-entry .entry-content h3,
.woah-entry .entry-content h4,
.woah-entry .entry-content h5,
.woah-entry .entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--woah-text);
}

.woah-entry .entry-content h1 { font-size: 2.25rem; }
.woah-entry .entry-content h2 { font-size: 1.875rem; }
.woah-entry .entry-content h3 { font-size: 1.5rem; }
.woah-entry .entry-content h4 { font-size: 1.25rem; }
.woah-entry .entry-content h5 { font-size: 1.125rem; }
.woah-entry .entry-content h6 { font-size: 1rem; }

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

.woah-entry .entry-content a {
    color: var(--woah-primary);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.woah-entry .entry-content a:hover {
    color: var(--woah-primary-dark, #1d4ed8);
}

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

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

.woah-entry .entry-content li > ul,
.woah-entry .entry-content li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.woah-entry .entry-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--woah-primary);
    background: var(--woah-bg);
    border-radius: 0 var(--woah-radius) var(--woah-radius) 0;
    font-style: italic;
}

.woah-entry .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.woah-entry .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--woah-radius);
}

.woah-entry .entry-content figure {
    margin: 1.5rem 0;
}

.woah-entry .entry-content figcaption {
    font-size: 0.875rem;
    color: var(--woah-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.woah-entry .entry-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    overflow: hidden;
}

.woah-entry .entry-content th,
.woah-entry .entry-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--woah-border);
    text-align: left;
}

.woah-entry .entry-content th {
    background: var(--woah-bg);
    font-weight: 600;
}

.woah-entry .entry-content tr:last-child td {
    border-bottom: 0;
}

.woah-entry .entry-content code {
    background: var(--woah-bg);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-family: var(--bs-font-monospace, monospace);
    font-size: 0.9em;
    color: var(--woah-primary);
}

.woah-entry .entry-content pre {
    background: var(--woah-bg);
    padding: 1rem;
    border-radius: var(--woah-radius);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--woah-border);
}

.woah-entry .entry-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.woah-entry .entry-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--woah-border);
    opacity: 1;
}

/* Page-specific readability */
.woah-section--page .woah-entry {
    padding: 0;
}

.woah-section--page .entry-content h2:first-child,
.woah-section--single .entry-content h2:first-child {
    margin-top: 0;
}

/* Contact Form 7 */
.wpcf7 {
    background: var(--woah-surface);
    border: 1px solid var(--woah-border);
    border-radius: var(--woah-radius);
    box-shadow: var(--woah-shadow);
    padding: 1.5rem;
}

.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin-bottom: 1rem;
}

.wpcf7-form label {
    display: block;
    font-weight: 500;
    color: var(--woah-text);
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0.35rem;
}

.wpcf7-form label br {
    display: none;
}

.wpcf7-form .form-control,
.wpcf7-form .form-select,
.wpcf7-form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"] {
    width: 100%;
    border-radius: var(--woah-radius);
    border: 1px solid var(--woah-border);
    background: var(--woah-surface);
    color: var(--woah-text);
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7-form .form-control:focus,
.wpcf7-form .form-select:focus,
.wpcf7-form textarea:focus,
.wpcf7-form input:focus {
    border-color: var(--woah-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.wpcf7-form textarea {
    min-height: 120px;
}

.wpcf7-form .wpcf7-submit {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
}

.wpcf7-form .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: var(--woah-radius);
    border: 1px solid;
    font-size: 0.9375rem;
}

.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ng {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #166534;
}

.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

[data-theme="dark"] .wpcf7-form .form-control,
[data-theme="dark"] .wpcf7-form .form-select,
[data-theme="dark"] .wpcf7-form textarea,
[data-theme="dark"] .wpcf7-form input {
    background: var(--woah-bg);
    color: var(--woah-text);
}

[data-theme="dark"] .wpcf7-form .wpcf7-response-output.wpcf7-validation-errors,
[data-theme="dark"] .wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ng {
    background: #7f1d1d;
    border-color: #b91c1c;
    color: #fecaca;
}

[data-theme="dark"] .wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #14532d;
    border-color: #166534;
    color: #bbf7d0;
}

/* Floating affiliate banner */
.woah-affiliate-banner-float {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    box-shadow: 0 -4px 20px rgba(37, 99, 235, 0.3);
}

.woah-affiliate-banner-float__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.woah-affiliate-banner-float__link:hover,
.woah-affiliate-banner-float__link:focus {
    color: #fff;
    opacity: 0.95;
}

.woah-affiliate-banner-float__badge {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.woah-affiliate-banner-float__text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.woah-affiliate-banner-float__cta {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 0.4rem;
    background: #fff;
    color: #2563eb;
}

.woah-affiliate-banner-float__close {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woah-affiliate-banner-float__close:hover,
.woah-affiliate-banner-float__close:focus {
    background: rgba(255, 255, 255, 0.35);
}

/* Add bottom padding so content isn't hidden behind the banner */
body {
    padding-bottom: 4rem;
}

@media (max-width: 576px) {
    .woah-affiliate-banner-float__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .woah-affiliate-banner-float__cta {
        width: 100%;
        text-align: center;
    }

    body {
        padding-bottom: 7rem;
    }
}

/* Cookie consent banner */
.woah-cookie-consent--hidden .woah-cookie-consent {
    display: none;
}

.woah-cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 4.5rem;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: #1e293b;
    color: #f8fafc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: 1100px;
    margin: 0 auto;
}

.woah-cookie-consent__content {
    flex: 1 1 0;
    min-width: 240px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.woah-cookie-consent__content p {
    margin: 0;
}

.woah-cookie-consent__content a {
    color: #93c5fd;
    text-decoration: underline;
}

.woah-cookie-consent__content a:hover {
    color: #bfdbfe;
}

.woah-cookie-consent__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.woah-cookie-consent__actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #f8fafc;
}

.woah-cookie-consent__actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 576px) {
    .woah-cookie-consent {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 7rem;
        flex-direction: column;
        align-items: stretch;
    }

    .woah-cookie-consent__actions {
        flex-direction: column;
    }

    .woah-cookie-consent__actions .btn {
        width: 100%;
    }
}

/* Amazon affiliate disclosure */
.woah-amazon-disclosure {
    position: fixed;
    right: 1rem;
    bottom: 3.8rem;
    z-index: 9998;
    font-size: 0.7rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.woah-amazon-disclosure a {
    color: #64748b;
    text-decoration: underline;
}

.woah-amazon-disclosure a:hover {
    color: #334155;
}

[data-theme="dark"] .woah-amazon-disclosure {
    background: rgba(30, 41, 59, 0.9);
    color: #94a3b8;
}

[data-theme="dark"] .woah-amazon-disclosure a {
    color: #94a3b8;
}

[data-theme="dark"] .woah-amazon-disclosure a:hover {
    color: #cbd5e1;
}

@media (max-width: 576px) {
    .woah-amazon-disclosure {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 6.5rem;
        text-align: center;
    }
}
/* Visitor counter */
.woah-visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--woah-muted);
    white-space: nowrap;
}

.woah-visitor-counter i {
    color: var(--woah-primary);
}
