/*
Theme Name: Pawluxio
Author: Pawluxio
Description: Luxury pet lifestyle theme for Pawluxio. Australia's premium pet blog with Mux video hero and affiliate article layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pawluxio
*/

/* ═══════════════════════════════════════
   ROOT TOKENS
═══════════════════════════════════════ */
:root {
    --cream:     #faf6f0;
    --gold:      #c9a84c;
    --gold-light:#e8d5a3;
    --dark:      #1a1208;
    --muted:     #7a6a52;
    --white:     #fff;
    --card-bg:   #fffdf9;
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { background: var(--cream); font-family: 'Jost', sans-serif; color: var(--dark); overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--gold); text-decoration: none; }
a:hover { color: #a8831f; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.site-nav {
    background: var(--dark);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid #2e2010;
}
.site-logo {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-decoration: none;
}
.site-logo span { color: var(--white); }
.nav-links { display: flex; gap: 24px; align-items: center; list-style: none; }
.nav-links a {
    color: #c8b89a;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.nav-hamburger span {
    width: 22px; height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    display: block;
    transition: all 0.3s;
}
.nav-menu-mobile {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--dark);
    border-bottom: 1px solid #2e2010;
    z-index: 199;
    flex-direction: column;
    padding: 16px 24px 24px;
}
.nav-menu-mobile.open { display: flex; }
.nav-menu-mobile a {
    color: #c8b89a;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid #2e2010;
}
.nav-menu-mobile a:last-child { border-bottom: none; }
.nav-menu-mobile a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   HERO WITH MUX VIDEO
═══════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #1a1208;
}
.hero-video-wrap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-mux {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 177.78vh; min-width: 100%;
    height: 56.25vw; min-height: 100%;
    --controls: none;
    --media-object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,18,8,0.78) 0%, rgba(26,18,8,0.52) 50%, rgba(26,18,8,0.78) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 80px 24px 60px; width: 100%; }
.hero-badge {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 16px;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 2px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: clamp(1.8rem, 5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 14px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
    color: #c8b89a;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.7;
    font-weight: 300;
}
.paw-divider { color: var(--gold); font-size: 1.2rem; letter-spacing: 6px; opacity: 0.6; }

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section { padding: 48px 24px; max-width: 1500px; margin: 0 auto; }
.section-label {
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════
   CATEGORY PILLS
═══════════════════════════════════════ */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.cat-pill {
    background: var(--dark);
    color: var(--gold-light);
    border: 1px solid #2e2010;
    padding: 14px 10px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.82rem;
    letter-spacing: 1px;
    transition: all 0.25s;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    display: block;
}
.cat-pill:hover, .cat-pill.active {
    background: #2d1f0a;
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}
.cat-pill .cat-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* ═══════════════════════════════════════
   CONTENT WRAPPER
═══════════════════════════════════════ */
.content-wrapper { max-width: 1500px; margin: 0 auto; padding: 48px 32px; }

/* ═══════════════════════════════════════
   ARTICLE CARDS (archive/home)
═══════════════════════════════════════ */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.article-card {
    background: var(--card-bg);
    border: 1px solid #e8ddd0;
    border-radius: 6px;
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover { box-shadow: 0 4px 20px rgba(201,168,76,0.12); transform: translateY(-2px); }
.article-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.35;
    color: var(--dark);
}
.article-card h2 a { color: var(--dark); text-decoration: none; }
.article-card h2 a:hover { color: var(--gold); }
.article-card .card-meta {
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ddd0;
}
.article-card p { font-size: 0.88rem; line-height: 1.7; color: #3a2e20; margin-bottom: 14px; }
.read-more-btn {
    background: var(--gold);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}
.read-more-btn:hover { background: #b8943e; color: var(--dark); }

/* ═══════════════════════════════════════
   FULL ARTICLES (homepage loop)
═══════════════════════════════════════ */
.articles-list { display: flex; flex-direction: column; gap: 56px; }
.article-full {
    background: var(--card-bg);
    border: 1px solid #e8ddd0;
    border-radius: 8px;
    padding: 36px 40px;
}
.article-full-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    line-height: 1.25;
    margin-bottom: 10px;
}
.article-full-title a { color: var(--dark); text-decoration: none; }
.article-full-title a:hover { color: var(--gold); }
.article-full-meta {
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8ddd0;
}
.article-full-meta a { color: var(--muted); text-decoration: none; }
.article-full-meta a:hover { color: var(--gold); }
.article-full-content p { font-size: 0.95rem; line-height: 1.85; color: #3a2e20; margin-bottom: 14px; }
.article-full-content h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin: 28px 0 10px; color: var(--dark); }
.article-full-content h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin: 20px 0 8px; color: var(--dark); }
.article-full-content ul { margin: 0 0 16px 20px; }
.article-full-content li { font-size: 0.9rem; line-height: 1.7; color: #3a2e20; margin-bottom: 4px; }
.article-full-footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e8ddd0;
}
.article-permalink {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.article-permalink:hover { color: var(--gold); }
@media (max-width: 768px) {
    .article-full { padding: 24px 18px; }
}

/* ═══════════════════════════════════════
   STATIC PAGES (Privacy Policy, Disclaimer etc.)
═══════════════════════════════════════ */

/* Hero banner */
.page-hero {
    background: var(--dark);
    padding: 56px 32px 48px;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}
.page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--gold);
    line-height: 1.2;
    margin: 12px 0 10px;
}
.page-hero-sub {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7a6a52;
    margin: 0;
}
.paw-breadcrumbs--light a     { color: #7a6a52; }
.paw-breadcrumbs--light span  { color: #7a6a52; }
.paw-breadcrumbs--light a:hover { color: var(--gold); }

/* Page body */
.page-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 52px 32px 72px;
}

/* Content typography */
.page-content p {
    font-size: 1rem;
    line-height: 2;
    color: #3a2e20;
    margin-bottom: 18px;
}
.page-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin: 44px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-light);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--dark);
    margin: 28px 0 8px;
}
.page-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-content a:hover { color: #a8831f; }
.page-content ul,
.page-content ol {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style: none;
}
.page-content ul li,
.page-content ol li {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #3a2e20;
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
}
.page-content ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.6rem;
    top: 6px;
}
.page-content ol { counter-reset: page-ol; }
.page-content ol li { counter-increment: page-ol; }
.page-content ol li::before {
    content: counter(page-ol) ".";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Highlighted notice box (for em/strong paragraphs) */
.page-content strong { color: var(--dark); font-weight: 700; }
.page-content em     { color: #7a6a52; font-style: italic; }

/* Section divider blocks for h3 */
.page-content h3 + p {
    background: #fffbf5;
    border-left: 3px solid var(--gold-light);
    border-radius: 0 4px 4px 0;
    padding: 14px 18px;
    margin-left: 0;
}

/* Back button */
.page-back-row {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e8ddd0;
    text-align: center;
}
.page-back-btn {
    display: inline-block;
    background: var(--dark);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.page-back-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

@media (max-width: 768px) {
    .page-hero  { padding: 40px 18px 32px; }
    .page-wrap  { padding: 36px 18px 52px; }
    .page-content h3 + p { padding: 12px 14px; }
}

/* ═══════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════ */
.paw-breadcrumbs {
    max-width: 900px;
    margin: 0 auto 8px;
    padding: 16px 32px 0;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.5px;
}
.paw-breadcrumbs a { color: var(--muted); text-decoration: none; }
.paw-breadcrumbs a:hover { color: var(--gold); }
.paw-breadcrumbs span[aria-hidden] { margin: 0 6px; }
@media (max-width: 768px) {
    .paw-breadcrumbs { padding: 12px 20px 0; }
}

/* ═══════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════ */
.single-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 32px;
}
.single-article h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 12px;
}
.single-meta {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ddd0;
}
.single-article p { font-size: 0.95rem; line-height: 1.85; color: #3a2e20; margin-bottom: 14px; }
.single-article h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin: 28px 0 10px; color: var(--dark); }
.single-article h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin: 20px 0 8px; color: var(--dark); }

/* ═══════════════════════════════════════
   AFFILIATE BOXES (in single post)
═══════════════════════════════════════ */
.affiliate-box {
    background: #fffbf3;
    border: 1px solid var(--gold-light);
    border-radius: 6px;
    margin: 14px 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.aff-img-wrap {
    width: 120px; min-width: 120px;
    background: #f9f5ee;
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
}
.aff-img-wrap img { width: 100px; height: 100px; object-fit: contain; }
.aff-body { padding: 14px; flex: 1; min-width: 180px; }
.aff-name  { color: var(--gold); font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.aff-desc  { color: #5a4a32; font-size: 0.85rem; line-height: 1.6; margin-bottom: 8px; }
.aff-price { color: #2a6a2a; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.aff-btn {
    background: var(--gold);
    color: var(--dark);
    padding: 9px 16px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
}
.aff-btn:hover { background: #b8943e; color: var(--dark); }

/* Rich article extras */
.article-overview {
    font-size: 0.95rem; line-height: 1.8; color: #5a4a32;
    margin-bottom: 20px; padding: 14px 18px;
    background: #fff8f0; border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0; font-style: italic;
}
.product-highlights {
    font-size: 0.88rem; line-height: 1.7; color: #3a2e20;
    margin: 0 0 10px; padding: 10px 14px;
    background: #f9f5ee; border-radius: 0 0 5px 5px;
    border-top: 1px dashed #e8d5a3;
}
.pros-list { list-style: none; margin: 0 0 14px 14px; padding: 0; }
.pros-list li { font-size: 0.88rem; color: #2a5a2a; padding: 3px 0 3px 22px; position: relative; line-height: 1.6; }
.pros-list li::before { content: "✓"; position: absolute; left: 0; color: #4a9a4a; font-weight: 700; }
.expert-tip-box {
    background: linear-gradient(135deg, #fffbf0, #fff6e0);
    border: 1px solid #e8d5a3; border-radius: 6px;
    padding: 20px 24px; margin: 24px 0;
}
.expert-tip-box h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: #1a1208; margin-bottom: 8px; }
.expert-tip-box p  { font-size: 0.92rem; line-height: 1.8; color: #4a3a20; margin: 0; }
.faq-section { margin: 24px 0; }
.faq-section > h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #1a1208; margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid #e8ddd0; padding-bottom: 14px; margin-bottom: 14px; }
.faq-q { font-size: 0.92rem; font-weight: 600; color: #1a1208; margin-bottom: 6px; }
.faq-a { font-size: 0.9rem; line-height: 1.7; color: #4a3a28; margin: 0; }

/* ═══════════════════════════════════════
   QUIZ SECTION
═══════════════════════════════════════ */
.quiz-section {
    background: #fff8f0;
    border-top: 1px solid #e8ddd0;
    border-bottom: 1px solid #e8ddd0;
    padding: 48px 24px;
}
.quiz-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.quiz-inner .section-title { font-size: clamp(1.3rem, 4vw, 1.8rem); margin-bottom: 8px; }
.quiz-inner p { color: var(--muted); margin-bottom: 24px; font-size: 0.9rem; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.quiz-opt {
    background: var(--white);
    border: 2px solid #e8ddd0;
    border-radius: 6px;
    padding: 14px 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-family: 'Playfair Display', serif;
    touch-action: manipulation;
}
.quiz-opt:hover, .quiz-opt.selected { border-color: var(--gold); background: #fffbf3; }
.quiz-opt .opt-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.quiz-result {
    background: var(--dark);
    color: var(--gold-light);
    padding: 18px 20px;
    border-radius: 6px;
    display: none;
    text-align: left;
    line-height: 1.7;
    margin-top: 14px;
}
.quiz-result.visible { display: block; }
.quiz-result h4 { font-family: 'Playfair Display', serif; color: var(--gold); margin-bottom: 8px; }

/* ═══════════════════════════════════════
   PAGINATION
═══════════════════════════════════════ */
.pagination { text-align: center; padding: 32px 0; }
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #e8ddd0;
    border-radius: 3px;
    color: var(--muted);
    font-size: 0.85rem;
    text-decoration: none;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
    background: var(--dark);
    padding: 36px 24px;
    text-align: center;
    border-top: 1px solid #2e2010;
}
.footer-logo { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: 8px; text-decoration: none; }
.footer-logo span { color: var(--white); }
.site-footer p { color: #7a6a52; font-size: 0.78rem; line-height: 1.8; }
.site-footer a { color: var(--muted); text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: var(--gold); }
.footer-links { margin: 14px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .content-wrapper { padding: 32px 20px; }
}

@media (max-width: 768px) {
    .site-nav { padding: 0 16px; height: 60px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .site-logo { font-size: 1.3rem; }
    .hero { min-height: 400px; }
    .hero-content { padding: 56px 16px 36px; }
    .section { padding: 36px 16px; }
    .content-wrapper { padding: 24px 16px; }
    .articles-grid { grid-template-columns: 1fr; }
    .single-article { padding: 32px 20px; }
    .affiliate-box { flex-direction: column; }
    .aff-img-wrap { width: 100%; min-width: unset; height: 160px; }
    .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .quiz-section { padding: 36px 16px; }
    .quiz-options { grid-template-columns: 1fr 1fr; gap: 8px; }
    .site-footer { padding: 28px 16px; }
    .footer-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .cats-grid { grid-template-columns: repeat(2, 1fr); }
    .quiz-options { grid-template-columns: 1fr; }
    .section-title { font-size: 1.4rem; }
}
