@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(/fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(/fonts/oswald-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Rye';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/rye-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --c-bg: #0a0a0a;
    --c-surface: #141414;
    --c-surface-light: #1e1e1e;
    --c-steel: #2d3436;
    --c-text-main: #ecf0f1;
    --c-text-mute: #95a5a6;
    --c-ember: #d35400;
    --c-fire: #e67e22;
    --c-gold: #f39c12;
    --c-heat: #c0392b;
    --c-green: #27ae60;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text-main);
    line-height: 1.7;
}
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}
h1, h2, h3, h4 { font-family: 'Oswald', 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
a { color: var(--c-gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--c-ember); }

/* Navigation */
.site-nav {
    background-color: var(--c-surface);
    border-bottom: 3px solid var(--c-ember);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
    font-family: 'Rye', serif; font-size: 1.3rem;
    color: var(--c-gold); padding: 15px 0; text-transform: uppercase;
}
.nav-logo span { color: var(--c-ember); }
.nav-links { display: flex; list-style: none; gap: 5px; }
.nav-links a {
    display: block; padding: 20px 15px; color: var(--c-text-main);
    font-weight: 600; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 1px; border-bottom: 3px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--c-gold); border-bottom-color: var(--c-ember);
}
.nav-toggle {
    display: none; background: none; border: none;
    color: var(--c-gold); font-size: 1.5rem; cursor: pointer; padding: 10px;
}

/* Content */
.page-wrapper { max-width: 900px; margin: 0 auto; padding: 30px 20px; position: relative; z-index: 1; }

.breadcrumb { font-size: 0.85rem; color: var(--c-text-mute); margin-bottom: 20px; }
.breadcrumb a { color: var(--c-gold); }
.breadcrumb a:hover { text-decoration: underline; }

.page-header {
    background: linear-gradient(135deg, var(--c-ember), var(--c-heat));
    color: white; padding: 50px 40px; border-radius: 16px;
    text-align: center; margin-bottom: 30px;
}
.page-header h1 { font-size: 2.3rem; font-weight: 800; margin-bottom: 15px; color: white; }
.page-header p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

.content-card {
    background: var(--c-surface); padding: 35px; border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3); margin-bottom: 30px;
    border: 1px solid var(--c-steel);
}
.content-card h2 {
    color: var(--c-gold); font-size: 1.6rem; margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 3px solid var(--c-ember);
}
.content-card h3 { color: var(--c-fire); font-size: 1.25rem; margin: 25px 0 15px 0; }
.content-card p { color: var(--c-text-mute); margin-bottom: 15px; }
.content-card ul, .content-card ol { color: var(--c-text-mute); margin: 15px 0 15px 25px; }
.content-card li { margin-bottom: 10px; }

.example-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.example-table th, .example-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--c-steel); }
.example-table th { background: var(--c-ember); color: white; font-weight: 600; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.example-table td { color: var(--c-text-mute); }
.example-table tr:hover { background: var(--c-surface-light); }

.info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px; margin: 20px 0;
}
.info-card {
    background: var(--c-surface-light); padding: 20px; border-radius: 12px;
    border-left: 4px solid var(--c-ember);
}
.info-card h4 { color: var(--c-gold); margin-bottom: 8px; font-family: 'Oswald', sans-serif; }
.info-card p { color: var(--c-text-mute); font-size: 0.95rem; margin: 0; }

.table-wrapper { overflow-x: auto; }

.cta-box {
    background: linear-gradient(135deg, rgba(211,84,0,0.15), rgba(230,126,34,0.15));
    border: 2px solid var(--c-ember); padding: 30px;
    border-radius: 16px; text-align: center; margin: 30px 0;
}
.cta-box h3 { color: var(--c-gold); margin-bottom: 15px; }
.cta-box p { color: var(--c-text-mute); margin-bottom: 20px; }
.cta-button {
    display: inline-block; background: var(--c-ember); color: white;
    padding: 14px 30px; border-radius: 8px; text-decoration: none;
    font-weight: 600; transition: all 0.2s; font-family: 'Oswald', sans-serif;
    text-transform: uppercase; letter-spacing: 1px;
}
.cta-button:hover { background: var(--c-fire); transform: translateY(-2px); color: white; }

.faq-item { border-bottom: 1px solid var(--c-steel); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-weight: 700; color: var(--c-gold); margin-bottom: 12px; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.faq-question::before { content: "Q"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--c-ember); color: white; border-radius: 50%; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.faq-answer { color: var(--c-text-mute); line-height: 1.8; padding-left: 38px; }
.faq-answer .faq-detail { margin-top: 12px; padding: 14px 18px; background: var(--c-surface-light); border-left: 3px solid var(--c-fire); border-radius: 0 8px 8px 0; font-size: 0.92rem; }
.faq-answer .faq-source { display: inline-block; margin-top: 10px; font-size: 0.82rem; color: var(--c-text-mute); opacity: 0.8; }
.faq-answer .faq-source a { color: var(--c-gold); font-weight: 500; }

/* Pro Tip Callout */
.pro-tip { background: linear-gradient(135deg, rgba(243,156,18,0.08), rgba(211,84,0,0.08)); border: 1px solid rgba(243,156,18,0.3); border-left: 4px solid var(--c-gold); padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 20px 0; }
.pro-tip-label { font-family: 'Oswald', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-gold); margin-bottom: 8px; }
.pro-tip p { color: var(--c-text-main); margin: 0; font-size: 0.95rem; line-height: 1.7; }

/* Safety Warning Box */
.safety-box { background: linear-gradient(135deg, rgba(192,57,43,0.08), rgba(231,76,60,0.08)); border: 1px solid rgba(192,57,43,0.3); border-left: 4px solid var(--c-heat); padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 20px 0; }
.safety-label { font-family: 'Oswald', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-heat); margin-bottom: 8px; }
.safety-box p { color: var(--c-text-main); margin: 0; font-size: 0.95rem; line-height: 1.7; }
.safety-box .source-cite { font-size: 0.8rem; color: var(--c-text-mute); margin-top: 8px; }
.safety-box .source-cite a { color: var(--c-gold); }

/* Temperature Visual Scale */
.temp-visual { display: flex; align-items: stretch; gap: 0; margin: 20px 0; border-radius: 10px; overflow: hidden; }
.temp-segment { flex: 1; padding: 14px 8px; text-align: center; position: relative; min-width: 0; }
.temp-segment-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.temp-segment-value { font-size: 0.8rem; margin-top: 4px; opacity: 0.9; }
.temp-segment.rare { background: #3498db; color: white; }
.temp-segment.med-rare { background: #2ecc71; color: white; }
.temp-segment.medium { background: #f39c12; color: white; }
.temp-segment.med-well { background: #e67e22; color: white; }
.temp-segment.well-done { background: #c0392b; color: white; }

/* Sources & References */
.sources-section { background: var(--c-surface); border: 1px solid var(--c-steel); border-radius: 16px; padding: 30px 35px; margin-bottom: 30px; }
.sources-section h3 { font-family: 'Oswald', sans-serif; color: var(--c-text-main); font-size: 1.1rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--c-steel); padding-bottom: 12px; }
.source-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(45,52,54,0.5); align-items: flex-start; }
.source-item:last-child { border-bottom: none; }
.source-num { background: var(--c-ember); color: white; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.source-body { flex: 1; }
.source-body a { color: var(--c-gold); font-weight: 600; font-size: 0.95rem; }
.source-body a:hover { color: var(--c-ember); }
.source-body .source-desc { color: var(--c-text-mute); font-size: 0.85rem; margin-top: 3px; line-height: 1.5; }
.source-body .source-type { display: inline-block; background: var(--c-surface-light); color: var(--c-text-mute); font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Comparison Mini Cards */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 20px 0; }
.compare-card { background: var(--c-surface-light); border: 1px solid var(--c-steel); border-radius: 10px; padding: 16px; text-align: center; transition: border-color 0.2s; }
.compare-card:hover { border-color: var(--c-ember); }
.compare-card-title { font-family: 'Oswald', sans-serif; color: var(--c-text-main); font-size: 0.9rem; margin-bottom: 6px; }
.compare-card-stat { color: var(--c-gold); font-weight: 700; font-size: 1.1rem; }
.compare-card-sub { color: var(--c-text-mute); font-size: 0.78rem; margin-top: 4px; }

@media (max-width: 768px) {
    .temp-visual { flex-direction: column; }
    .temp-segment { padding: 10px 14px; text-align: left; display: flex; align-items: center; gap: 10px; }
    .temp-segment-label { font-size: 0.8rem; }
    .temp-segment-value { margin-top: 0; }
    .compare-grid { grid-template-columns: 1fr 1fr; }
    .faq-answer { padding-left: 0; }
    .sources-section { padding: 20px; }
}

.publish-info { text-align: center; color: var(--c-text-mute); font-size: 0.85rem; margin-bottom: 30px; }

.hero-image { width: 100%; border-radius: 12px; margin-bottom: 30px; overflow: hidden; }
.hero-image img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 420px; }
.hero-image .img-credit { text-align: right; font-size: 0.75rem; color: var(--c-text-mute); padding: 6px 12px; }
.hero-image .img-credit a { color: var(--c-text-mute); }

.internal-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.internal-links a {
    display: inline-block; background: var(--c-surface-light); color: var(--c-text-main);
    padding: 8px 16px; border-radius: 8px; text-decoration: none;
    font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
    border: 1px solid var(--c-steel);
}
.internal-links a:hover { background: var(--c-ember); color: white; border-color: var(--c-ember); }

/* Ad Placement Slots */
.ad-slot { min-height: 90px; margin: 25px 0; text-align: center; }
.ad-slot-sidebar { min-height: 250px; }
.ad-slot-in-content { min-height: 250px; margin: 30px 0; }

footer {
    text-align: center; padding: 30px; color: var(--c-text-mute); font-size: 0.9rem;
    border-top: 1px solid var(--c-steel); margin-top: 40px;
}
footer a { color: var(--c-gold); }
footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .page-header h1 { font-size: 1.8rem; }
    .page-header { padding: 30px 20px; }
    .content-card { padding: 25px; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 100%;
        left: 0; right: 0; background: var(--c-surface);
        flex-direction: column; padding: 10px;
        border-bottom: 3px solid var(--c-ember);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 15px; border-bottom: none; border-left: 3px solid transparent; }
    .nav-links a:hover, .nav-links a.active { border-bottom: none; border-left-color: var(--c-ember); }
    .info-grid { grid-template-columns: 1fr; }
}