/**
 * Fabricated Crime blog — layered on top of /fc-film.css (same domain).
 * Tokens (--fc-*), header, menu, footer, buttons and cookie banner come from there.
 */

/* ---------- Listing hero ---------- */
.fc-blog .fc-blog-hero {
    min-height: 62svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    padding: 8rem var(--fc-pad) clamp(2rem, 5vw, 4rem);
}
.fc-blog .fc-blog-hero .fc-h2 { font-size: clamp(4.5rem, 16vw, 16rem); }
.fc-blog .fc-blog-intro {
    max-width: 36rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}
.fc-blog .fc-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.75rem;
    margin-top: clamp(1rem, 3vw, 2rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--fc-line-light);
}
.fc-blog .fc-blog-tags a {
    font-family: var(--fc-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.fc-blog .fc-blog-tags a:hover,
.fc-blog .fc-blog-tags a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Post list ---------- */
.fc-blog .fc-blog-list { padding: clamp(2.5rem, 6vw, 5rem) var(--fc-pad) clamp(5rem, 10vw, 9rem); }
.fc-blog .fc-post-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--fc-ink); }
.fc-blog .fc-post-row {
    position: relative;
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 22rem);
    gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
    border-top: 1px solid var(--fc-ink);
}
.fc-blog .fc-post-row--noimg { grid-template-columns: 11rem minmax(0, 1fr); }
.fc-blog .fc-post-meta { display: grid; gap: 0.4rem; align-content: start; }
.fc-blog .fc-post-meta .fc-eyebrow { color: var(--fc-mute); }
.fc-blog .fc-post-tag { color: var(--fc-ink) !important; }
.fc-blog .fc-post-title {
    font-family: var(--fc-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 5.2vw, 5.2rem);
    line-height: 0.92;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}
.fc-blog .fc-post-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.fc-blog .fc-post-link {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
    transition: background-size 0.6s var(--fc-ease);
}
.fc-blog .fc-post-row:hover .fc-post-link,
.fc-blog .fc-post-link:focus-visible { background-size: 100% 2px; }
.fc-blog .fc-post-excerpt { margin-top: 0.8rem; max-width: 38rem; font-size: 0.95rem; color: var(--fc-mute); }
.fc-blog .fc-post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #f3f1ec; }
.fc-blog .fc-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--fc-ease), filter 0.6s ease; }
.fc-blog .fc-post-row:hover .fc-post-thumb img { transform: scale(1.05); }
@media (hover: hover) {
    .fc-blog .fc-post-thumb img { filter: grayscale(1) contrast(1.05); }
    .fc-blog .fc-post-row:hover .fc-post-thumb img { filter: none; }
}
.fc-blog .fc-blog-empty { font-size: 1.05rem; color: var(--fc-mute); }

.fc-blog .fc-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}
.fc-blog .fc-pagination .fc-eyebrow { color: var(--fc-mute); }
.fc-blog .fc-pagination-link {
    font-family: var(--fc-display);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.fc-blog .fc-pagination-link:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 800px) {
    .fc-blog .fc-post-row,
.fc-blog .fc-post-row--noimg { grid-template-columns: minmax(0, 1fr); }
    .fc-blog .fc-post-meta { grid-auto-flow: column; justify-content: start; gap: 1.25rem; }
    .fc-blog .fc-post-thumb { order: -1; }
}

/* ---------- Article ---------- */
.fc-blog .fc-article { padding-bottom: clamp(3rem, 8vw, 7rem); }
.fc-blog .fc-article-head {
    max-width: 78rem;
    padding: 9rem var(--fc-pad) clamp(1.5rem, 4vw, 3rem);
}
.fc-blog .fc-article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-bottom: 1.5rem; }
.fc-blog .fc-article-meta .fc-eyebrow { color: var(--fc-mute); }
.fc-blog .fc-article-meta a.fc-eyebrow { color: var(--fc-ink); text-decoration: underline; text-underline-offset: 4px; }
.fc-blog .fc-article-title {
    font-family: var(--fc-display);
    font-weight: 400;
    font-size: clamp(3.4rem, 10vw, 9.5rem);
    line-height: 0.9;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}
.fc-blog .fc-article-lede { margin-top: 1.5rem; max-width: 40rem; font-size: 1.2rem; line-height: 1.5; color: var(--fc-mute); }
.fc-blog .fc-article-byline { margin-top: 1.5rem; color: var(--fc-mute); }
.fc-blog .fc-article-byline a { color: var(--fc-ink); text-decoration: underline; text-underline-offset: 4px; }
.fc-blog .fc-article-figure { margin: clamp(1rem, 3vw, 2rem) var(--fc-pad) 0; }
.fc-blog .fc-article-figure img { width: 100%; height: auto; }
.fc-blog .fc-article-figure figcaption,
.fc-blog .gh-content figcaption {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--fc-mute);
}

/* Content grid: main column with wide/full breakouts (kg-width-*) */
.fc-blog .gh-content {
    display: grid;
    grid-template-columns:
        [full-start] minmax(var(--fc-pad), 1fr)
        [wide-start] minmax(0, 7rem)
        [main-start] min(44rem, calc(100% - var(--fc-pad) * 2))
        [main-end] minmax(0, 7rem)
        [wide-end] minmax(var(--fc-pad), 1fr)
        [full-end];
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
    font-size: 1.08rem;
    line-height: 1.75;
}
.fc-blog .gh-content > * { grid-column: main-start / main-end; }
.fc-blog .gh-content > * + * { margin-top: 1.6rem; }
.fc-blog .gh-content > .kg-width-wide { grid-column: wide-start / wide-end; }
.fc-blog .gh-content > .kg-width-full { grid-column: full-start / full-end; }
.fc-blog .gh-content > .kg-width-full img { width: 100%; }

.fc-blog .gh-content h2,
.fc-blog .gh-content h3,
.fc-blog .gh-content h4 {
    font-family: var(--fc-display);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.fc-blog .gh-content > h2 { margin-top: 3rem; font-size: clamp(2.6rem, 5vw, 3.8rem); }
.fc-blog .gh-content > h3 { margin-top: 2.5rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.fc-blog .gh-content > h4 { margin-top: 2rem; font-size: 1.7rem; }
.fc-blog .gh-content a { text-decoration: underline; text-underline-offset: 3px; }
.fc-blog .gh-content a:hover { opacity: 0.6; }
.fc-blog .gh-content strong { font-weight: 500; }
.fc-blog .gh-content ul,
.fc-blog .gh-content ol { padding-left: 1.4rem; }
.fc-blog .gh-content ul { list-style: disc; }
.fc-blog .gh-content ol { list-style: decimal; }
.fc-blog .gh-content li + li { margin-top: 0.4rem; }
.fc-blog .gh-content blockquote {
    padding-left: 1.5rem;
    border-left: 3px solid var(--fc-ink);
    font-size: 1.3rem;
    line-height: 1.5;
}
.fc-blog .gh-content blockquote.kg-blockquote-alt {
    padding: 0;
    border: 0;
    font-family: var(--fc-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}
.fc-blog .gh-content hr { border: 0; border-top: 1px solid var(--fc-ink); width: 100%; }
.fc-blog .gh-content img,
.fc-blog .gh-content video { max-width: 100%; height: auto; }
.fc-blog .gh-content figure { margin-left: 0; margin-right: 0; }
.fc-blog .gh-content pre {
    overflow-x: auto;
    padding: 1.25rem;
    background: var(--fc-ink);
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.6;
}
.fc-blog .gh-content code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.9em; }
.fc-blog .gh-content :not(pre) > code { padding: 0.1em 0.35em; background: #f1efea; }
.fc-blog .gh-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.fc-blog .gh-content th,
.fc-blog .gh-content td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--fc-line); text-align: left; }
.fc-blog .gh-content th { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* Editor cards */
.fc-blog .kg-card { margin-top: 2rem; }
.fc-blog .kg-image-card img,
.fc-blog .kg-gallery-image img { width: 100%; }
.fc-blog .kg-gallery-container { display: flex; flex-direction: column; gap: 0.5rem; }
.fc-blog .kg-gallery-row { display: flex; gap: 0.5rem; }
.fc-blog .kg-gallery-image { flex: 1 1 0; }
.fc-blog .kg-gallery-image img { height: 100%; object-fit: cover; }
.fc-blog .kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.fc-blog .kg-embed-card iframe { max-width: 100%; }
.fc-blog .kg-bookmark-card { width: 100%; }
.fc-blog .kg-bookmark-container {
    display: flex;
    min-height: 8rem;
    border: 1px solid var(--fc-ink);
    color: var(--fc-ink);
    text-decoration: none !important;
}
.fc-blog .kg-bookmark-content { flex: 1; padding: 1.1rem 1.25rem; }
.fc-blog .kg-bookmark-title { font-weight: 500; line-height: 1.3; }
.fc-blog .kg-bookmark-description { margin-top: 0.4rem; font-size: 0.88rem; line-height: 1.45; color: var(--fc-mute); }
.fc-blog .kg-bookmark-metadata { margin-top: 0.7rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--fc-mute); }
.fc-blog .kg-bookmark-icon { width: 1.1rem; height: 1.1rem; }
.fc-blog .kg-bookmark-thumbnail { position: relative; flex: 0 0 30%; }
.fc-blog .kg-bookmark-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-blog .kg-callout-card { display: flex; gap: 0.9rem; padding: 1.25rem 1.5rem; border: 1px solid var(--fc-ink); }
.fc-blog .kg-callout-emoji { font-size: 1.4rem; line-height: 1.4; }
.fc-blog .kg-button-card { display: flex; }
.fc-blog .kg-btn {
    display: inline-flex;
    padding: 0.9rem 1.8rem;
    background: var(--fc-ink);
    color: #fff !important;
    border: 1px solid var(--fc-ink);
    font-family: var(--fc-display);
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
}
.fc-blog .kg-btn:hover { background: #fff; color: var(--fc-ink) !important; opacity: 1 !important; }
.fc-blog .kg-video-card video { width: 100%; }
.fc-blog .kg-file-card-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--fc-ink); color: var(--fc-ink); text-decoration: none !important; }
.fc-blog .kg-toggle-card { padding: 1rem 1.25rem; border: 1px solid var(--fc-ink); }
.fc-blog .kg-toggle-heading { display: flex; justify-content: space-between; cursor: pointer; font-weight: 500; }

@media (max-width: 600px) {
    .fc-blog .kg-bookmark-container { flex-direction: column-reverse; }
    .fc-blog .kg-bookmark-thumbnail { flex-basis: auto; min-height: 10rem; }
    .fc-blog .kg-gallery-row { flex-direction: column; }
}

/* Post footer + next/prev */
.fc-blog .fc-article-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    width: min(44rem, calc(100% - var(--fc-pad) * 2));
    margin: clamp(2.5rem, 6vw, 4rem) auto 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--fc-ink);
}
.fc-blog .fc-article-foot .fc-eyebrow { color: var(--fc-mute); }
.fc-blog .fc-article-tags { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.fc-blog .fc-article-tags a {
    font-family: var(--fc-display);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.fc-blog .fc-article-tags a:hover { text-decoration: underline; text-underline-offset: 4px; }

.fc-blog .fc-article-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
    padding: clamp(3rem, 7vw, 6rem) var(--fc-pad);
}
.fc-blog .fc-article-nav-item { display: grid; gap: 0.6rem; align-content: start; transition: opacity 0.3s ease; }
.fc-blog .fc-article-nav:hover .fc-article-nav-item { opacity: 0.45; }
.fc-blog .fc-article-nav:hover .fc-article-nav-item:hover { opacity: 1; }
.fc-blog .fc-article-nav-item .fc-eyebrow { opacity: 0.6; }
.fc-blog .fc-article-nav-title {
    font-family: var(--fc-display);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 0.95;
    text-transform: uppercase;
}
