/* Sport & Fitness refinements */

.gh-navigation-logo img {
    max-height: 70px;
}

/* AI and health disclosures remain clear without taking focus from the article. */
.gh-content .ki-widget {
    margin: 1.25em 0 !important;
    padding: 12px 15px !important;
    border-left-width: 3px !important;
    border-radius: 14px !important;
    font-size: 0.82em !important;
    line-height: 1.5 !important;
    color: var(--color-secondary-text) !important;
    box-shadow: 0 6px 18px rgba(21, 23, 26, 0.08);
}

.gh-content .ki-widget > p:first-child {
    margin-bottom: 3px !important;
    font-size: 1em !important;
    line-height: 1.3 !important;
}

.gh-content .ki-widget-health {
    color: #1f6255 !important;
}

.gh-content .ki-widget-ai {
    color: #3d519c !important;
}

.gh-content .ki-widget-health > p:first-child {
    color: #195447 !important;
}

.gh-content .ki-widget-ai > p:first-child {
    color: #31458e !important;
}

.gh-content .ki-widget-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.3;
}

.gh-content .ki-widget-details > summary::-webkit-details-marker {
    display: none;
}

.gh-content .ki-widget-details > summary::after {
    content: "Details anzeigen";
    flex: 0 0 auto;
    font-size: 0.9em;
    font-weight: 600;
}

.gh-content .ki-widget-details[open] > summary::after {
    content: "Schließen";
}

.gh-content .ki-widget-details-content {
    margin-top: 8px;
}

/* Image treatment for cards, post covers and inline images. */
.gh-card-image {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(21, 23, 26, 0.12);
}

.gh-article-image,
.gh-content .kg-image-card {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(21, 23, 26, 0.14);
}

.gh-article-image img,
.gh-content .kg-image {
    border-radius: inherit;
}

@media (max-width: 767px) {
    .gh-card-image {
        border-radius: 14px;
    }

    .gh-article-image,
    .gh-content .kg-image-card {
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(21, 23, 26, 0.12);
    }
}

/* Images inserted as plain HTML by the publishing pipeline. */
.gh-content > img,
.gh-content > p > img,
.gh-content > a > img {
    display: block;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(21, 23, 26, 0.14);
}

@media (max-width: 767px) {
    .gh-content > img,
    .gh-content > p > img,
    .gh-content > a > img {
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(21, 23, 26, 0.12);
    }
}

/* Interactive calorie calculator, mounted by calorie-calculator.js. */
.ki-calorie-widget { margin: 2.2em 0; }
.calorie-calculator { padding: clamp(22px, 4vw, 38px); border: 1px solid #eadfd8; border-radius: 22px; background: linear-gradient(135deg, #fff8f4, #fffdfb); box-shadow: 0 16px 38px rgba(83, 48, 32, .09); color: #342923; }
.calorie-calculator__intro { max-width: 590px; }
.calorie-calculator__eyebrow { margin: 0 0 5px; color: #a34e2c; font-size: .78em; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.calorie-calculator h2 { margin: 0; font-size: clamp(1.7em, 3vw, 2.25em); letter-spacing: -.035em; }
.calorie-calculator__intro > p:last-child { margin: 8px 0 0; color: #64534a; }
.calorie-calculator__form { margin-top: 25px; }
.calorie-calculator__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.calorie-calculator__field { display: grid; gap: 6px; color: #563f33; font-size: .86em; font-weight: 650; }
.calorie-calculator__field input, .calorie-calculator__field select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #d9c8bd; border-radius: 10px; background: #fff; color: #342923; font: inherit; font-weight: 500; }
.calorie-calculator__field input:focus, .calorie-calculator__field select:focus { outline: 3px solid rgba(197, 111, 75, .22); border-color: #be6946; }
.calorie-calculator__button { margin-top: 20px; min-height: 46px; padding: 0 19px; border: 0; border-radius: 10px; background: #a8502f; color: #fff; cursor: pointer; font: inherit; font-weight: 700; }
.calorie-calculator__button:hover { background: #8e4024; }
.calorie-calculator__error { margin: 12px 0 0; color: #a12525; font-size: .9em; }
.calorie-calculator__result { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: #382b25; color: #fff; }
.calorie-calculator__result-label { margin: 0; color: #eadbd3; font-size: .83em; }
.calorie-calculator__result strong { display: block; margin-top: 2px; font-size: clamp(2em, 5vw, 3em); letter-spacing: -.05em; line-height: 1.1; }
.calorie-calculator__result div { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 13px; color: #eadbd3; font-size: .82em; }
.calorie-calculator__result b { margin-left: 4px; color: #fff; }
.calorie-calculator__note { margin: 18px 0 0; color: #756158; font-size: .76em; line-height: 1.5; }
@media (max-width: 560px) { .calorie-calculator { border-radius: 17px; } .calorie-calculator__grid { grid-template-columns: 1fr; } .calorie-calculator__button { width: 100%; } }
