/*
Theme Name: 定格姿态 - Pose Guide
Theme URI: https://example.com
Description: 一个专为展示拍照动作/姿势设计的WordPress主题。采用暗黑奢华摄影工作室风格，支持分类筛选、搜索、详情页展示。模仿「定格姿态」PHP项目设计。
Version: 1.0.0
Author: QClaw
Author URI: https://qclaw.ai
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pose-guide
Tags: photography, portfolio, grid-layout, dark, one-column, custom-colors, featured-images, theme-options
*/

/* ============================================
   定格姿态 - Photography Pose Guide (WP Theme)
   Design: Dark luxury photography studio
   Colors: Charcoal #1a1a1a / Warm white #f5f0eb / Gold #c9a96e
   ============================================ */

/* --- Theme: 暗夜黑金 (default) --- */
:root,
[data-theme="dark"] {
    --color-bg: #0f0f0f;
    --color-bg-elevated: #1a1a1a;
    --color-bg-card: #1e1e1e;
    --color-surface: #252525;
    --color-border: #333333;
    --color-text: #f5f0eb;
    --color-text-secondary: #a09890;
    --color-text-muted: #6b6560;
    --color-accent: #c9a96e;
    --color-accent-hover: #dbbf8a;
    --color-accent-dim: rgba(201, 169, 110, 0.15);
    --color-overlay-hero: rgba(15, 15, 15, 0.3), rgba(15, 15, 15, 0.1) 40%, rgba(15, 15, 15, 0.6) 80%, rgba(15, 15, 15, 1) 100%;
    --color-overlay-card: rgba(15, 15, 15, 0.95), rgba(15, 15, 15, 0.4) 50%, transparent 100%;
    --color-nav-bg: rgba(15, 15, 15, 0.92);
    --color-search-bg: rgba(255, 255, 255, 0.08);
    --color-search-border: rgba(255, 255, 255, 0.15);
    --color-lightbox-bg: rgba(0, 0, 0, 0.92);
    --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Theme: 暖白经典 --- */
[data-theme="warm"] {
    --color-bg: #f8f5f0;
    --color-bg-elevated: #efe9e1;
    --color-bg-card: #ffffff;
    --color-surface: #e8e0d6;
    --color-border: #d4ccc2;
    --color-text: #2a2420;
    --color-text-secondary: #6b5e52;
    --color-text-muted: #9a8e82;
    --color-accent: #a07850;
    --color-accent-hover: #b8895f;
    --color-accent-dim: rgba(160, 120, 80, 0.12);
    --color-overlay-hero: rgba(248, 245, 240, 0.3), rgba(248, 245, 240, 0.1) 40%, rgba(248, 245, 240, 0.6) 80%, rgba(248, 245, 240, 1) 100%;
    --color-overlay-card: rgba(248, 245, 240, 0.95), rgba(248, 245, 240, 0.4) 50%, transparent 100%;
    --color-nav-bg: rgba(248, 245, 240, 0.92);
    --color-search-bg: rgba(0, 0, 0, 0.05);
    --color-search-border: rgba(0, 0, 0, 0.12);
    --color-lightbox-bg: rgba(0, 0, 0, 0.88);
}

/* --- Theme: 深海蓝调 --- */
[data-theme="ocean"] {
    --color-bg: #0b1622;
    --color-bg-elevated: #111f30;
    --color-bg-card: #152538;
    --color-surface: #1a2d42;
    --color-border: #263d56;
    --color-text: #e8edf2;
    --color-text-secondary: #8fa3b8;
    --color-text-muted: #5a7389;
    --color-accent: #4da8c4;
    --color-accent-hover: #6dbdd6;
    --color-accent-dim: rgba(77, 168, 196, 0.15);
    --color-overlay-hero: rgba(11, 22, 34, 0.3), rgba(11, 22, 34, 0.1) 40%, rgba(11, 22, 34, 0.6) 80%, rgba(11, 22, 34, 1) 100%;
    --color-overlay-card: rgba(11, 22, 34, 0.95), rgba(11, 22, 34, 0.4) 50%, transparent 100%;
    --color-nav-bg: rgba(11, 22, 34, 0.92);
    --color-search-bg: rgba(255, 255, 255, 0.06);
    --color-search-border: rgba(255, 255, 255, 0.1);
    --color-lightbox-bg: rgba(0, 0, 0, 0.92);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* --- Typography --- */
.text-accent {
    color: var(--color-accent);
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background-color: var(--color-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
}

.logo-icon {
    font-size: 22px;
    color: var(--color-accent);
}

.logo-accent {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 12px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- Theme Switcher --- */
.theme-switcher {
    display: flex;
    gap: 8px;
}

.theme-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    border-color: var(--color-accent);
    transform: scale(1.15);
}

.theme-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        var(--color-bg) 0%,
        transparent 30%,
        transparent 50%,
        var(--color-bg) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 720px;
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-search {
    margin-bottom: 40px;
}

.search-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    background: var(--color-search-bg);
    border: 1px solid var(--color-search-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.search-form:focus-within {
    border-color: var(--color-accent);
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
}

.search-input::placeholder {
    color: var(--color-text-muted);
}

.search-btn {
    padding: 14px 28px;
    background: var(--color-accent);
    border: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: 1px;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--color-accent-hover);
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 13px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--color-accent);
    color: #1a1a1a;
}

.btn-arrow {
    display: inline-block;
    margin-left: 8px;
}

/* --- Animations --- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s var(--transition-smooth) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

/* --- Categories Section --- */
.categories-section {
    background-color: var(--color-bg);
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tag:hover,
.category-tag.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-dim);
}

.category-count {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-text-muted);
}

.category-tag.active .category-count {
    background: var(--color-accent);
    color: #1a1a1a;
}

/* --- Sort Bar --- */
.sort-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.search-result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.search-result-info strong {
    color: var(--color-accent);
}

.search-clear {
    color: var(--color-accent);
    margin-left: 8px;
    font-size: 13px;
}

.sort-btns {
    display: flex;
    gap: 6px;
}

.sort-btn {
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 12px;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.sort-btn:hover,
.sort-btn.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-dim);
}

/* --- Pose Grid --- */
.pose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pose-card-wrapper {
    animation: fadeUp 0.6s var(--transition-smooth) forwards;
    animation-delay: var(--delay, 0s);
}

.pose-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
}

.pose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.pose-card-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.pose-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.pose-card:hover .pose-card-img {
    transform: scale(1.06);
}

.pose-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--color-bg-card) 0%,
        var(--color-bg-card) 20%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pose-card:hover .pose-card-overlay {
    opacity: 1;
}

.pose-card-category {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.pose-card-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.pose-card-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pose-card-info {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pose-card-tag {
    font-size: 12px;
    color: var(--color-accent);
    padding: 3px 10px;
    border: 1px solid var(--color-accent-dim);
    border-radius: 4px;
}

.pose-card-stars {
    font-size: 12px;
    color: var(--color-text-muted);
}

.pose-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    color: var(--color-text-muted);
}

.placeholder-icon {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.4;
}

.placeholder-text {
    font-size: 12px;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.page-numbers {
    display: flex;
    gap: 4px;
    align-items: center;
}

.page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.page-num:hover {
    background: var(--color-accent-dim);
    color: var(--color-accent);
}

.page-num.active {
    background: var(--color-accent);
    color: #1a1a1a;
    font-weight: 600;
}

.page-ellipsis {
    color: var(--color-text-muted);
    padding: 0 4px;
}

.page-jump {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.page-jump input {
    width: 60px;
    padding: 6px 8px;
    font-size: 13px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    text-align: center;
    font-family: var(--font-body);
}

.page-jump input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.page-jump span {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* --- Featured Section --- */
.featured-section {
    background-color: var(--color-bg-elevated);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 16px;
}

.featured-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.featured-card-large {
    grid-row: 1 / -1;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        transparent 60%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.featured-category {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.featured-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.featured-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.featured-link {
    font-size: 12px;
    color: var(--color-accent);
    margin-top: 8px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* --- Detail Page --- */
.detail-hero {
    padding-top: 100px;
    padding-bottom: 24px;
}

.back-link {
    font-size: 13px;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--color-accent);
}

.detail-content {
    padding-bottom: 80px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.detail-image-section {
    position: sticky;
    top: 100px;
}

.detail-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.detail-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.detail-img:hover {
    transform: scale(1.02);
}

.zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 11px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.detail-main-image:hover .zoom-hint {
    opacity: 1;
}

.detail-thumbs {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.detail-thumb.active {
    border-color: var(--color-accent);
}

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

.detail-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    color: var(--color-text-muted);
}

.detail-breadcrumb {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-sep {
    color: var(--color-border);
}

.breadcrumb-current {
    color: var(--color-text-secondary);
}

.detail-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.detail-alt-name {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.detail-category-badge {
    padding: 6px 16px;
    border: 1px solid var(--color-accent-dim);
    border-radius: 6px;
    font-size: 12px;
    color: var(--color-accent);
}

.difficulty-stars {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Detail Actions */
.detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.action-btn-large {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--color-accent-dim);
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

.action-btn-large:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    transform: translateY(-2px);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.detail-tag {
    padding: 4px 14px;
    background: var(--color-surface);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.detail-description,
.detail-tips {
    margin-top: 24px;
}

.detail-section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.detail-desc-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tip-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tip-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
}

.tip-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    padding-top: 4px;
}

/* --- Related Section --- */
.related-section {
    background-color: var(--color-bg-elevated);
}

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

.related-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.related-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.related-info {
    padding: 16px;
}

.related-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.related-category {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* --- Footer --- */
.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-link {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-copy {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-lightbox-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 80px 0;
    color: var(--color-text-muted);
}

.empty-icon {
    font-size: 48px;
    opacity: 0.4;
    display: block;
    margin-bottom: 16px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pose-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 240px;
    }

    .featured-card-large {
        grid-row: 1 / -1;
    }

    .related-scroll {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-nav-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .pose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-image-section {
        position: static;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .featured-card-large {
        grid-row: auto;
    }

    .related-scroll {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .pose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pose-card-info {
        padding: 10px 12px;
    }

    .pose-card-name {
        font-size: 14px;
    }

    .category-nav {
        gap: 6px;
    }

    .category-tag {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* WordPress specific overrides */
.wp-caption {
    max-width: 100%;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
