/*
Theme Name: WebWork Child
Theme URI: https://webwork-tracker.com/
Author: Webwork Tracker
Author URI: https://webwork-tracker.com/
Description:  Child theme, based on WebWork
Template: webwork

*/

/* ============================================================
   WebWork Roadmap – Custom Design System
   Colors, typography, and layout matching the main site.
   ============================================================ */

:root {
    --ww-primary: #755AFA;
    --ww-primary-hover: #6449E5;
    --ww-primary-light: #F3F0FF;
    --ww-text: #2B2640;
    --ww-text-secondary: #484A61;
    --ww-title: #3B3C4E;
    --ww-grey-50: #F7F7FA;
    --ww-grey-200: #EDEDF7;
    --ww-grey-300: #DDDDEB;
    --ww-grey-400: #C3C3D9;
    --ww-grey-600: #ABABC2;
    --ww-grey-700: #7D7D99;
    --ww-grey-800: #606078;
    --ww-white: #fff;
    --ww-body-bg: #f8fafc;
    --ww-radius: 11px;
    --ww-radius-sm: 8px;
    --ww-radius-lg: 16px;
    --ww-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ww-shadow: 0 1px 3px rgba(43, 38, 64, 0.06), 0 1px 2px rgba(43, 38, 64, 0.04);
    --ww-shadow-md: 0 4px 12px rgba(43, 38, 64, 0.08);
    --ww-shadow-lg: 0 10px 25px rgba(43, 38, 64, 0.1);
    --ww-container: 1200px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--ww-font) !important;
    color: var(--ww-text);
    background: var(--ww-body-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Hide parent theme elements we don't need */
#header.compact,
#header.classic,
#header.minimalist,
#header.advertising,
#footer:not(.ww-footer),
.epcl-cta,
.search-lightbox,
.side-nav.mobile:not(.ww-mobile-nav),
.menu-overlay:not(.ww-mobile-overlay),
.notice-text,
.global-ads {
    display: none !important;
}

/* Hide "I Recommend This" on category/archive pages */
.category .irecommendthis,
.archive .irecommendthis {
    display: none !important;
}

/* ============================================================
   Container
   ============================================================ */
.ww-container {
    max-width: var(--ww-container);
    margin: 0 auto;
    padding: 0 24px;
}
.ww-container--narrow {
    max-width: 800px;
}

/* ============================================================
   Header
   ============================================================ */
.ww-header {
    background: var(--ww-white);
    border-bottom: 1px solid var(--ww-grey-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}
.ww-header.is-sticky {
    box-shadow: var(--ww-shadow-md);
}
.ww-header__inner {
    max-width: var(--ww-container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 70px;
    gap: 32px;
}
.ww-header__logo img {
    height: 30px;
    width: auto;
    display: block;
}
.ww-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.ww-header__nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ww-text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--ww-radius-sm);
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}
.ww-header__nav a:hover {
    color: var(--ww-primary);
    background: var(--ww-primary-light);
}
.ww-header__nav a.active {
    color: var(--ww-primary);
    font-weight: 600;
}
.ww-header__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.ww-header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--ww-text);
}

/* ============================================================
   Buttons
   ============================================================ */
.ww-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--ww-radius);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--ww-font);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}
.ww-btn--primary {
    background: var(--ww-primary);
    color: var(--ww-white);
}
.ww-btn--primary:hover {
    background: var(--ww-primary-hover);
    color: var(--ww-white);
}
.ww-btn--outline {
    background: transparent;
    color: var(--ww-primary);
    border-color: var(--ww-primary);
}
.ww-btn--outline:hover {
    background: var(--ww-primary-light);
}
.ww-btn--white {
    background: var(--ww-white);
    color: var(--ww-primary);
    font-weight: 600;
}
.ww-btn--white:hover {
    background: var(--ww-grey-50);
    transform: translateY(-1px);
}

/* ============================================================
   Mobile navigation
   ============================================================ */
.ww-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 38, 64, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.ww-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.ww-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--ww-white);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
}
.ww-mobile-nav.is-open {
    transform: translateX(0);
}
.ww-mobile-nav__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.ww-mobile-nav__logo img {
    height: 26px;
    width: auto;
}
.ww-mobile-nav__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--ww-text);
}
.ww-mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.ww-mobile-nav__list li {
    margin: 0;
}
.ww-mobile-nav__list a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--ww-text);
    text-decoration: none;
    border-bottom: 1px solid var(--ww-grey-200);
}
.ww-mobile-nav__list a.active {
    color: var(--ww-primary);
    font-weight: 600;
}
.ww-mobile-nav__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ww-mobile-nav__buttons .ww-btn {
    width: 100%;
    text-align: center;
}

/* ============================================================
   Hero
   ============================================================ */
.ww-hero {
    background: linear-gradient(135deg, var(--ww-white) 0%, var(--ww-primary-light) 100%);
    padding: 64px 0 56px;
    text-align: center;
}
.ww-hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--ww-title);
    margin: 0 0 16px;
    line-height: 1.2;
}
.ww-hero p {
    font-size: 18px;
    color: var(--ww-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.ww-hero--small {
    padding: 40px 0 32px;
    text-align: left;
}
.ww-hero--small h1 {
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ww-hero__count {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

/* Back link */
.ww-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ww-primary);
    text-decoration: none;
    margin-bottom: 16px;
}
.ww-back-link:hover {
    text-decoration: underline;
}

/* Status dot */
.ww-status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ============================================================
   Category pills bar
   ============================================================ */
.ww-categories-bar {
    padding: 24px 0;
    background: var(--ww-white);
    border-bottom: 1px solid var(--ww-grey-200);
}
.ww-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.ww-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--pill-bg);
    color: var(--pill-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid transparent;
}
.ww-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--ww-shadow-md);
    border-color: var(--pill-color);
    color: var(--pill-color);
}
.ww-pill--active {
    border-color: var(--pill-color);
    background: var(--pill-color);
    color: var(--ww-white);
}
.ww-pill--active:hover {
    color: var(--ww-white);
}
.ww-pill--active .ww-pill__icon svg {
    stroke: var(--ww-white);
}
.ww-pill--active .ww-pill__count {
    background: rgba(255, 255, 255, 0.25);
    color: var(--ww-white);
}
.ww-pill__icon {
    display: flex;
    align-items: center;
}
.ww-pill__icon svg {
    stroke: var(--pill-color);
}
.ww-pill__count {
    background: var(--pill-color);
    color: var(--ww-white);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    min-width: 24px;
    text-align: center;
}

/* ============================================================
   Board layout
   ============================================================ */
.ww-board {
    padding: 40px 0 60px;
}
.ww-board__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    align-items: start;
}
.ww-board__col {
    background: var(--ww-white);
    border-radius: var(--ww-radius-lg);
    border: 1px solid var(--ww-grey-200);
    overflow: hidden;
}
a.ww-board__col-header,
.ww-board__col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--col-bg);
    border-bottom: 2px solid var(--col-color);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}
a.ww-board__col-header:hover {
    opacity: 0.8;
}
.ww-board__col-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--col-color);
    flex-shrink: 0;
}
.ww-board__col-header h2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ww-title);
    margin: 0;
    flex: 1;
}
.ww-board__col-count {
    font-size: 12px;
    font-weight: 700;
    background: var(--col-color);
    color: var(--ww-white);
    padding: 2px 8px;
    border-radius: 50px;
}
.ww-board__col-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 120px;
}
.ww-board__col-more {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ww-primary);
    text-decoration: none;
    border-top: 1px solid var(--ww-grey-200);
    transition: background 0.15s;
}
.ww-board__col-more:hover {
    background: var(--ww-primary-light);
    color: var(--ww-primary);
}

/* ============================================================
   Cards
   ============================================================ */
.ww-card {
    display: block;
    background: var(--ww-white);
    border: 1px solid var(--ww-grey-200);
    border-radius: var(--ww-radius);
    padding: 16px;
    text-decoration: none;
    color: var(--ww-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ww-card:hover {
    border-color: var(--ww-primary);
    box-shadow: var(--ww-shadow-md);
    transform: translateY(-2px);
    color: var(--ww-text);
}
.ww-card__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.ww-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ww-title);
    margin: 0 0 6px;
    line-height: 1.4;
}
.ww-card__excerpt {
    font-size: 13px;
    color: var(--ww-grey-700);
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ww-card__meta {
    font-size: 12px;
    color: var(--ww-grey-600);
}
.ww-card__meta time {
    color: var(--ww-grey-600);
}
.ww-card--empty {
    border-style: dashed;
    text-align: center;
    color: var(--ww-grey-600);
}
.ww-card--empty:hover {
    transform: none;
    box-shadow: none;
}
.ww-card--wide {
    padding: 20px 24px;
}
.ww-card--wide .ww-card__title {
    font-size: 18px;
}
.ww-card--wide .ww-card__excerpt {
    font-size: 14px;
    -webkit-line-clamp: 4;
}

/* ============================================================
   Board grid: force 3 columns for the top board
   ============================================================ */
.ww-board__grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   Launched section: full-width 3-column card grid
   ============================================================ */
.ww-launched {
    padding: 0 0 60px;
}
a.ww-launched__header,
.ww-launched__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--col-bg);
    border-radius: var(--ww-radius-lg) var(--ww-radius-lg) 0 0;
    border: 1px solid var(--ww-grey-200);
    border-bottom: 2px solid var(--col-color);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}
a.ww-launched__header:hover {
    opacity: 0.8;
}
.ww-launched__header h2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ww-title);
    margin: 0;
    flex: 1;
}
.ww-launched__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 16px;
}

.ww-launched__more {
    display: block;
    text-align: center;
    padding: 16px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ww-primary);
    text-decoration: none;
    border: 1px solid var(--ww-grey-200);
    border-radius: var(--ww-radius);
    transition: background 0.15s;
}
.ww-launched__more:hover {
    background: var(--ww-primary-light);
    color: var(--ww-primary);
}

@media (max-width: 900px) {
    .ww-board__grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .ww-launched__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .ww-board__grid--3col {
        grid-template-columns: 1fr;
    }
    .ww-launched__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Category page header
   ============================================================ */
.ww-cat-header {
    background: var(--ww-white);
    border-bottom: 1px solid var(--ww-grey-200);
    padding: 0;
}
.ww-cat-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
}
.ww-cat-header__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.ww-cat-header__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--ww-radius-sm);
    color: var(--ww-grey-700);
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.1s, color 0.1s;
}
.ww-cat-header__back:hover {
    background: var(--ww-grey-50);
    color: var(--ww-primary);
}
.ww-cat-header__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ww-cat-header__left h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ww-title);
    margin: 0;
    white-space: nowrap;
}
.ww-cat-header__total {
    font-size: 12px;
    font-weight: 600;
    color: var(--ww-grey-600);
    background: var(--ww-grey-50);
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
}
.ww-cat-header__page {
    font-size: 12px;
    color: var(--ww-grey-600);
    white-space: nowrap;
    padding-left: 6px;
    border-left: 1px solid var(--ww-grey-300);
}

/* Small pills for category nav */
.ww-cat-header__pills {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.ww-pill-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ww-grey-700);
    text-decoration: none;
    transition: background 0.1s, color 0.1s;
    white-space: nowrap;
}
.ww-pill-sm:hover {
    background: var(--ww-grey-50);
    color: var(--ww-text);
}
.ww-pill-sm__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ps-color);
    flex-shrink: 0;
}
.ww-pill-sm--active {
    background: var(--ww-grey-50);
    color: var(--ww-text);
    font-weight: 600;
}
.ww-pill-sm--active:hover {
    background: var(--ww-grey-200);
}

/* ============================================================
   List grid (category page)
   ============================================================ */
.ww-list {
    padding: 40px 0 60px;
}
.ww-list__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ============================================================
   Pagination
   ============================================================ */
.ww-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.ww-pagination a,
.ww-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--ww-radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--ww-text-secondary);
    border: 1px solid var(--ww-grey-300);
    transition: all 0.15s;
}
.ww-pagination a:hover {
    border-color: var(--ww-primary);
    color: var(--ww-primary);
    background: var(--ww-primary-light);
}
.ww-pagination .current {
    background: var(--ww-primary);
    color: var(--ww-white);
    border-color: var(--ww-primary);
}

/* Empty state */
.ww-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ww-grey-600);
    font-size: 16px;
}

/* ============================================================
   Single post — breadcrumb
   ============================================================ */
.ww-post-breadcrumb {
    background: var(--ww-white);
    border-bottom: 1px solid var(--ww-grey-200);
    padding: 12px 0;
}
.ww-post-breadcrumb__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ww-grey-600);
    overflow: hidden;
}
.ww-post-breadcrumb__nav a {
    color: var(--ww-grey-700);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}
.ww-post-breadcrumb__nav a:hover {
    color: var(--ww-primary);
}
.ww-post-breadcrumb__nav > span:last-child {
    color: var(--ww-text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   Single post — layout with sidebar
   ============================================================ */
.ww-post-layout {
    padding: 32px 0 60px;
}
.ww-post-layout__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.ww-post-layout__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.ww-post-layout__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: var(--badge-bg);
    color: var(--badge-color);
    border: 1px solid var(--badge-color);
    transition: opacity 0.15s;
}
.ww-post-layout__badge:hover {
    opacity: 0.8;
    color: var(--badge-color);
}
.ww-post-layout__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--badge-color);
    flex-shrink: 0;
}
.ww-post-layout__meta time {
    font-size: 13px;
    color: var(--ww-grey-700);
}
.ww-post-layout__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ww-title);
    margin: 0 0 24px;
    line-height: 1.3;
}
.ww-post-layout__image {
    margin-bottom: 24px;
    border-radius: var(--ww-radius);
    overflow: hidden;
}
.ww-post-layout__image img {
    width: 100%;
    height: auto;
    display: block;
}
.ww-post-layout__body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ww-text);
}
.ww-post-layout__body h2 { font-size: 24px; font-weight: 600; color: var(--ww-title); margin: 28px 0 12px; }
.ww-post-layout__body h3 { font-size: 20px; font-weight: 600; color: var(--ww-title); margin: 24px 0 10px; }
.ww-post-layout__body p { margin: 0 0 16px; }
.ww-post-layout__body img { max-width: 100%; height: auto; border-radius: var(--ww-radius); }
.ww-post-layout__body a { color: var(--ww-primary); }
.ww-post-layout__body a:hover { text-decoration: underline; }
.ww-post-layout__body ul,
.ww-post-layout__body ol { padding-left: 24px; margin: 0 0 16px; }
.ww-post-layout__body li { margin-bottom: 8px; }
.ww-post-layout__body blockquote {
    border-left: 4px solid var(--ww-primary);
    padding: 12px 20px;
    margin: 20px 0;
    background: var(--ww-primary-light);
    border-radius: 0 var(--ww-radius) var(--ww-radius) 0;
    color: var(--ww-text-secondary);
}

/* ============================================================
   Single post — sidebar
   ============================================================ */
.ww-sidebar-block {
    background: var(--ww-white);
    border: 1px solid var(--ww-grey-200);
    border-radius: var(--ww-radius);
    padding: 20px;
    margin-bottom: 20px;
}
.ww-sidebar-block h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ww-title);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ww-sidebar-cats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ww-sidebar-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--ww-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--ww-text-secondary);
    text-decoration: none;
    transition: background 0.1s;
}
.ww-sidebar-cat:hover {
    background: var(--ww-grey-50);
    color: var(--ww-text);
}
.ww-sidebar-cat--active {
    background: var(--ww-grey-50);
    color: var(--sc-color);
    font-weight: 600;
}
.ww-sidebar-cat__icon {
    display: flex;
    align-items: center;
    color: var(--sc-color);
}
.ww-sidebar-cat__icon svg {
    stroke: var(--sc-color);
}
.ww-sidebar-related {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ww-sidebar-related__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ww-grey-200);
    font-size: 13px;
    font-weight: 500;
    color: var(--ww-text);
    text-decoration: none;
    line-height: 1.4;
}
.ww-sidebar-related__item:last-child {
    border-bottom: none;
}
.ww-sidebar-related__item:hover {
    color: var(--ww-primary);
}
.ww-sidebar-related__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.ww-sidebar-block__more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ww-primary);
    text-decoration: none;
}
.ww-sidebar-block__more:hover {
    text-decoration: underline;
}
.ww-single-content {
    padding: 40px 0 60px;
}
.ww-article {
    background: var(--ww-white);
    border-radius: var(--ww-radius-lg);
    border: 1px solid var(--ww-grey-200);
    overflow: hidden;
}
.ww-article__image {
    width: 100%;
    overflow: hidden;
}
.ww-article__image img {
    width: 100%;
    height: auto;
    display: block;
}
.ww-article__body {
    padding: 32px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--ww-text);
}
.ww-article__body h1,
.ww-article__body h2,
.ww-article__body h3,
.ww-article__body h4 {
    color: var(--ww-title);
    margin-top: 32px;
    margin-bottom: 12px;
}
.ww-article__body h2 { font-size: 24px; }
.ww-article__body h3 { font-size: 20px; }
.ww-article__body p { margin: 0 0 16px; }
.ww-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ww-radius);
}
.ww-article__body a {
    color: var(--ww-primary);
}
.ww-article__body a:hover {
    text-decoration: underline;
}
.ww-article__body ul,
.ww-article__body ol {
    padding-left: 24px;
    margin: 0 0 16px;
}
.ww-article__body li {
    margin-bottom: 8px;
}
.ww-article__body blockquote {
    border-left: 4px solid var(--ww-primary);
    padding: 12px 20px;
    margin: 20px 0;
    background: var(--ww-primary-light);
    border-radius: 0 var(--ww-radius) var(--ww-radius) 0;
    color: var(--ww-text-secondary);
}

/* Related posts */
.ww-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--ww-grey-200);
}
.ww-related h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ww-title);
    margin: 0 0 16px;
}
.ww-related__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ww-related__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ww-grey-200);
    text-decoration: none;
    color: var(--ww-text);
    transition: background 0.1s;
}
.ww-related__item:first-child {
    border-top: 1px solid var(--ww-grey-200);
}
.ww-related__item:hover {
    background: var(--ww-grey-50);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: var(--ww-radius-sm);
}
.ww-related__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}
.ww-related__item h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ww-title);
    margin: 0 0 2px;
    line-height: 1.4;
}
.ww-related__item time {
    font-size: 12px;
    color: var(--ww-grey-600);
}
.ww-related__all {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ww-primary);
    text-decoration: none;
}
.ww-related__all:hover {
    text-decoration: underline;
}

/* ============================================================
   CTA section
   ============================================================ */
.ww-cta {
    background: linear-gradient(135deg, var(--ww-primary) 0%, #9B8AFF 100%);
    padding: 56px 0;
}
.ww-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.ww-cta__text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--ww-white);
    margin: 0 0 8px;
}
.ww-cta__text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.ww-footer {
    background: var(--ww-white);
    border-top: 1px solid var(--ww-grey-200);
    padding: 40px 0;
}
.ww-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--ww-grey-200);
}
.ww-footer__brand img {
    height: 28px;
    width: auto;
}
.ww-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.ww-footer__links a {
    font-size: 14px;
    color: var(--ww-text-secondary);
    text-decoration: none;
    font-weight: 500;
}
.ww-footer__links a:hover {
    color: var(--ww-primary);
}
.ww-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    gap: 24px;
}
.ww-footer__copy {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ww-footer__copy p {
    font-size: 13px;
    color: var(--ww-grey-700);
    margin: 0;
}
.ww-footer__legal {
    display: flex;
    gap: 16px;
}
.ww-footer__legal a {
    font-size: 13px;
    color: var(--ww-grey-700);
    text-decoration: none;
}
.ww-footer__legal a:hover {
    color: var(--ww-primary);
}
.ww-footer__social {
    display: flex;
    gap: 12px;
}
.ww-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ww-grey-50);
    color: var(--ww-grey-700);
    transition: background 0.15s, color 0.15s;
}
.ww-footer__social a:hover {
    background: var(--ww-primary-light);
    color: var(--ww-primary);
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet / 2-col board */
@media (max-width: 1024px) {
    .ww-header__nav {
        display: none;
    }
    .ww-header__actions {
        display: none;
    }
    .ww-header__hamburger {
        display: block;
        margin-left: auto;
    }
    .ww-board__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ww-post-layout__grid {
        grid-template-columns: 1fr;
    }
    .ww-hero h1 {
        font-size: 32px;
    }
    .ww-cta__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .ww-board__grid {
        grid-template-columns: 1fr;
    }
    .ww-list__grid {
        grid-template-columns: 1fr;
    }
    .ww-hero {
        padding: 40px 0 32px;
    }
    .ww-hero h1 {
        font-size: 26px;
    }
    .ww-hero p {
        font-size: 15px;
    }
    .ww-hero--small h1 {
        font-size: 24px;
    }
    .ww-pills {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .ww-pill {
        flex-shrink: 0;
    }
    .ww-cat-header__bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
        gap: 10px;
    }
    .ww-cat-header__pills {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        padding-bottom: 4px;
    }
    .ww-pill-sm {
        flex-shrink: 0;
    }
    .ww-post-layout__grid {
        grid-template-columns: 1fr;
    }
    .ww-post-layout__title {
        font-size: 22px;
    }
    .ww-footer__top {
        flex-direction: column;
        gap: 24px;
    }
    .ww-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    .ww-footer__copy {
        flex-direction: column;
        gap: 12px;
    }
    .ww-footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ww-footer__social {
        justify-content: center;
    }
    .ww-cta__text h2 {
        font-size: 22px;
    }
    .ww-article__body {
        padding: 20px;
    }
    .ww-header__inner {
        height: 60px;
    }
}

/* ============================================================
   WordPress admin bar fix
   ============================================================ */
body.admin-bar .ww-header {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .ww-header {
        top: 46px;
    }
}
