:root {
    --gsg-ink: oklch(0.21 0 0);
    --gsg-muted: oklch(0.46 0 0);
    --gsg-surface: oklch(1 0 0);
    --gsg-surface-alt: oklch(0.97 0.002 240);
    --gsg-border: oklch(0.90 0.004 240);
    --gsg-accent: oklch(0.55 0.14 148);
    --gsg-radius: 8px;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gsg-ink);
    background: var(--gsg-surface);
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    height: auto;
    border-style: none;
}
.gsg-page-shell a,
.gsg-archive-shell a {
    color: inherit;
    text-decoration: none;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.gsg-page-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 64px;
}
.gsg-archive-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 64px;
}
.page-header .entry-title {
    margin: 0 0 24px;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gsg-ink);
}
.gsg-prose {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gsg-ink);
}
.gsg-prose h2 {
    margin: 32px 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.gsg-prose h3 {
    margin: 24px 0 8px;
    font-size: 18px;
    font-weight: 600;
}
.gsg-prose p {
    margin: 0 0 14px;
}
.gsg-prose ul, .gsg-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.gsg-prose li {
    margin-bottom: 6px;
}
.gsg-prose a {
    color: var(--gsg-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gsg-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    display: block;
    overflow-x: auto;
}
.gsg-prose th, .gsg-prose td {
    padding: 12px 14px;
    border: 1px solid var(--gsg-border);
    text-align: left;
    vertical-align: top;
}
.gsg-prose th {
    background: var(--gsg-surface-alt);
    font-weight: 600;
}
.gsg-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 1024px) {
    .gsg-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .gsg-archive-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
.gsg-archive-card {
    display: flex;
    flex-direction: column;
    background: var(--gsg-surface);
    border: 1px solid var(--gsg-border);
    border-radius: var(--gsg-radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.gsg-archive-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.gsg-archive-card__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gsg-surface-alt);
}
.gsg-archive-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gsg-archive-card__body {
    padding: 18px 20px 20px;
}
.gsg-archive-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}
.gsg-archive-card__title a:hover {
    color: var(--gsg-accent);
}
.gsg-archive-card__excerpt {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--gsg-muted);
}
.gsg-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
}
.gsg-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--gsg-border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}
.gsg-pagination .page-numbers.current {
    background: var(--gsg-ink);
    color: var(--gsg-surface);
    border-color: var(--gsg-ink);
}
.gsg-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.gsg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    min-height: 44px;
    background: var(--gsg-ink);
    color: var(--gsg-surface);
    border: 1px solid var(--gsg-ink);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}
.gsg-btn--outline {
    background: transparent;
    color: var(--gsg-ink);
}

.elementor-social-icon svg {
    fill: #fff;
}
