/*
 * Hidden Games – Professor Charlie
 * Premium detective editorial, post 11512 only.
 */

body.single-post .hg-case {
    --hg-forest: #173b32;
    --hg-deep: #102a25;
    --hg-gold: #c4a16a;
    --hg-paper: #f7f2e8;
    --hg-ink: #292b27;

    max-width: 900px;
    margin: 0 auto;
    color: var(--hg-ink);
    font-size: 17px;
    line-height: 1.85;
}

body.single-post .hg-case > p {
    margin: 0 0 25px;
}

body.single-post .hg-kicker {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #bca276;
    background: #f8f1e5;
    color: #775c35;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.single-post .hg-lead {
    margin: 28px 0 35px !important;
    color: var(--hg-forest);
    font-family: Georgia, serif;
    font-size: clamp(25px, 3.5vw, 38px);
    line-height: 1.42;
    letter-spacing: -.5px;
}

body.single-post .hg-case h2 {
    position: relative;
    margin: 58px 0 22px;
    padding-top: 24px;
    border-top: 1px solid #d9cbb5;
    color: var(--hg-forest);
    font-family: Georgia, serif;
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

body.single-post .hg-case h2::before {
    content: "✦";
    position: absolute;
    top: -13px;
    left: 0;
    padding-right: 12px;
    background: white;
    color: var(--hg-gold);
    font-size: 21px;
}

body.single-post .hg-case h3 {
    color: #f8edda;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.3;
    text-transform: none;
}

body.single-post .hg-note {
    margin: 38px 0;
    padding: 32px 36px;
    border: 1px solid #d7c5a8;
    border-left: 5px solid var(--hg-gold);
    background: var(--hg-paper);
    box-shadow: 0 10px 30px rgba(49, 37, 20, .045);
}

body.single-post .hg-note-label {
    color: #806238;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

body.single-post .hg-note p {
    margin: 14px 0 0;
}

body.single-post .hg-product {
    position: relative;
    margin: 42px 0;
    padding: 42px;
    overflow: hidden;
    border: 1px solid var(--hg-gold);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, #2b5145 0%, transparent 45%),
        var(--hg-deep);
    color: #f5efdf;
    box-shadow: 0 18px 40px rgba(16, 42, 37, .14);
}

body.single-post .hg-product p,
body.single-post .hg-product strong {
    color: #f5efdf;
}

body.single-post .hg-product-label {
    color: #dfc08b !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

body.single-post .hg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 15px;
    padding: 15px 24px;
    border-radius: 5px;
    background: #d9b77c;
    color: #173329 !important;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

body.single-post .hg-button:hover {
    background: #f0d49d;
    transform: translateY(-2px);
}

body.single-post .hg-ending {
    margin-top: 48px !important;
    padding: 35px 0;
    border-top: 1px solid #d9cbb5;
    color: var(--hg-forest);
    font-family: Georgia, serif;
    font-size: clamp(22px, 2.8vw, 29px);
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 650px) {
    body.single-post .hg-case {
        font-size: 16px;
        line-height: 1.75;
    }

    body.single-post .hg-case h2 {
        margin-top: 44px;
    }

    body.single-post .hg-note,
    body.single-post .hg-product {
        padding: 25px 22px;
    }

    body.single-post .hg-button {
        width: 100%;
    }
}

/* Hidden Games – tvåspaltig produktpresentation */
body.single-post .hg-product {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: 32px;
    align-items: center;
}

body.single-post .hg-product .hg-product-label {
    grid-column: 1 / -1;
}

body.single-post .hg-product-image {
    grid-column: 1;
    grid-row: 2 / span 4;
    margin: 0;
    padding: 18px;
    background: #fffaf0;
    border-radius: 10px;
}

body.single-post .hg-product-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

body.single-post .hg-product h3,
body.single-post .hg-product > p:not(.hg-product-label) {
    grid-column: 2;
}

@media (max-width: 700px) {
    body.single-post .hg-product {
        display: block;
    }

    body.single-post .hg-product-image {
        margin: 20px 0;
    }
}

/* Hidden Games – säker bildvisning */
body.single-post .hg-hero-image {
    display: block !important;
    margin: 0 0 36px !important;
    width: 100% !important;
}

body.single-post .hg-hero-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

body.single-post .hg-product-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-post .hg-product-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}
