/*
Theme Name: GC Guide
Theme URI: http://www.wp.cc/
Author: GC
Description: A clean buying-guide theme for WordPress content sites.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gc-guide
*/

:root {
    --gc-ink: #17202a;
    --gc-muted: #5d6875;
    --gc-line: #d9e0e8;
    --gc-soft: #f5f7fa;
    --gc-paper: #ffffff;
    --gc-accent: #0f766e;
    --gc-accent-strong: #0b5f59;
    --gc-warm: #b45309;
    --gc-max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    color: var(--gc-ink);
    background: var(--gc-paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
}

a {
    color: var(--gc-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

.gc-site-header {
    border-bottom: 1px solid var(--gc-line);
    background: rgba(255, 255, 255, 0.96);
}

.gc-header-inner,
.gc-section-inner,
.gc-content-shell {
    width: min(var(--gc-max), calc(100% - 32px));
    margin: 0 auto;
}

.gc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
}

.gc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gc-ink);
    text-decoration: none;
}

.gc-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gc-line);
    border-radius: 50%;
    background: #eef8f5;
    color: var(--gc-accent);
}

.gc-brand-mark svg {
    width: 30px;
    height: 30px;
}

.gc-brand-mark path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.gc-brand-copy {
    display: grid;
    gap: 2px;
}

.gc-brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.gc-brand-tagline {
    color: var(--gc-muted);
    font-size: 13px;
}

.gc-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--gc-muted);
    font-size: 15px;
}

.gc-nav a {
    color: var(--gc-muted);
    text-decoration: none;
}

.gc-nav a:hover {
    color: var(--gc-accent);
}

.gc-hero {
    background: linear-gradient(180deg, #eef8f5 0%, #ffffff 100%);
    border-bottom: 1px solid var(--gc-line);
}

.gc-hero-compact .gc-hero-inner {
    padding-top: 38px;
    padding-bottom: 34px;
}

.gc-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 42px;
    align-items: center;
    padding: 56px 0 42px;
}

.gc-eyebrow {
    margin: 0 0 12px;
    color: var(--gc-accent-strong);
    font-size: 14px;
    font-weight: 800;
}

.gc-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: 0;
}

.gc-hero-copy {
    margin: 18px 0 0;
    max-width: 720px;
    color: var(--gc-muted);
    font-size: 18px;
}

.gc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.gc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--gc-accent);
    border-radius: 6px;
    background: var(--gc-accent);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.gc-button:hover {
    background: var(--gc-accent-strong);
    color: #ffffff;
}

.gc-button-secondary {
    background: transparent;
    color: var(--gc-accent);
}

.gc-button-secondary:hover {
    background: #e7f3ef;
    color: var(--gc-accent-strong);
}

.gc-hero-panel {
    border: 1px solid var(--gc-line);
    border-radius: 8px;
    background: var(--gc-paper);
    padding: 22px;
    box-shadow: 0 18px 48px rgba(23, 32, 42, 0.08);
}

.gc-hero-panel h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.gc-check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-check-list li {
    padding-left: 24px;
    position: relative;
}

.gc-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gc-accent);
}

.gc-section {
    padding: 42px 0;
}

.gc-section-muted {
    background: var(--gc-soft);
}

.gc-section-title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.25;
}

.gc-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gc-card {
    border: 1px solid var(--gc-line);
    border-radius: 8px;
    background: var(--gc-paper);
    padding: 20px;
}

.gc-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.gc-card p {
    margin: 0;
    color: var(--gc-muted);
}

.gc-post-list {
    display: grid;
    gap: 16px;
}

.gc-post-item {
    border-bottom: 1px solid var(--gc-line);
    padding: 0 0 18px;
}

.gc-post-item h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.35;
}

.gc-post-item h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.35;
}

.gc-post-item h3 a {
    color: var(--gc-ink);
    text-decoration: none;
}

.gc-post-item h2 a {
    color: var(--gc-ink);
    text-decoration: none;
}

.gc-post-item h3 a:hover {
    color: var(--gc-accent);
}

.gc-post-item h2 a:hover {
    color: var(--gc-accent);
}

.gc-post-meta {
    color: var(--gc-muted);
    font-size: 14px;
}

.gc-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.gc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border: 1px solid var(--gc-line);
    border-radius: 6px;
    padding: 0 12px;
    background: var(--gc-paper);
    color: var(--gc-ink);
    text-decoration: none;
}

.gc-pagination .page-numbers.current {
    border-color: var(--gc-accent);
    background: var(--gc-accent);
    color: #fff;
    font-weight: 800;
}

.gc-article-hero {
    border-bottom: 1px solid var(--gc-line);
    background: linear-gradient(180deg, #f6fbf9 0%, #ffffff 100%);
    padding: 38px 0 34px;
}

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

.gc-breadcrumb a {
    color: var(--gc-muted);
    text-decoration: none;
}

.gc-breadcrumb a:hover {
    color: var(--gc-accent);
}

.gc-article-title {
    margin: 8px 0 12px;
    max-width: 920px;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.15;
    letter-spacing: 0;
}

.gc-back-link {
    margin: 14px 0 0;
}

.gc-back-link a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid var(--gc-line);
    border-radius: 6px;
    padding: 0 12px;
    background: var(--gc-soft);
    color: var(--gc-ink);
    text-decoration: none;
}

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

.gc-content-shell {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    gap: 56px;
    align-items: start;
    padding: 36px 0 52px;
}

.gc-article {
    min-width: 0;
}

.gc-article-header {
    margin-bottom: 28px;
    border-left: 4px solid var(--gc-accent);
    padding: 14px 18px;
    background: var(--gc-soft);
    color: var(--gc-muted);
}

.gc-article-header p {
    margin: 0;
}

.gc-article-content {
    font-size: 18px;
}

.gc-article-content > *:first-child {
    margin-top: 0;
}

.gc-article-content h2 {
    margin: 42px 0 14px;
    padding-top: 8px;
    border-top: 1px solid var(--gc-line);
    font-size: 28px;
    line-height: 1.25;
}

.gc-article-content h3 {
    margin: 26px 0 10px;
    font-size: 22px;
}

.gc-article-content p,
.gc-article-content ul {
    margin-top: 0;
    margin-bottom: 20px;
}

.gc-article-content li + li {
    margin-top: 8px;
}

.gc-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
    position: sticky;
    top: 24px;
}

.gc-sidebar-box {
    border: 1px solid var(--gc-line);
    border-radius: 8px;
    padding: 18px;
    background: var(--gc-soft);
}

.gc-sidebar-box h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.gc-sidebar-box p {
    margin: 0;
    color: var(--gc-muted);
    font-size: 15px;
}

.gc-footer {
    border-top: 1px solid var(--gc-line);
    padding: 26px 0;
    color: var(--gc-muted);
    font-size: 14px;
}

.gc-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 820px) {
    .gc-header-inner,
    .gc-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .gc-brand {
        align-items: flex-start;
    }

    .gc-hero-inner,
    .gc-content-shell {
        grid-template-columns: 1fr;
    }

    .gc-article-hero {
        padding: 28px 0;
    }

    .gc-sidebar {
        position: static;
    }

    .gc-card-grid {
        grid-template-columns: 1fr;
    }
}
