*, body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, sans-serif;
    font-size: 16px;
}

*, ::after, ::before {
    box-sizing: inherit;
}

:root {
    --fill-color: #ffffff;
    --neutral-layer-1: #ffffff;
    --neutral-fill-layer-rest: #ffffff;
    --neutral-foreground-rest: #2b2b2b;
    --focus-stroke-outer: #878787;
    --neutral-foreground-hint: #757575;
    --neutral-stroke-rest: #bebebe;
    --neutral-stroke-hover: #979797;
    --neutral-stroke-active: #d5d5d5;
    --neutral-stroke-focus: #bebebe;
    --neutral-stroke-divider-rest: #eaeaea;
    --accent-foreground-rest: #0078d4;
    --accent-foreground-hover: #0066b4;
    --accent-foreground-active: #1181d7;
    --accent-foreground-focus: #0078d4;
    --neutral-fill-rest: #ededed;
    --neutral-fill-hover: #e5e5e5;
    --neutral-fill-active: #f2f2f2;
    --neutral-fill-focus: #ffffff;
    --accent-fill-rest: #0078d4;
    --accent-fill-hover: #006cbe;
    --accent-fill-active: #1683d8;
    --accent-fill-focus: #0078d4;
    --foreground-on-accent-rest: #ffffff;
    --foreground-on-accent-hover: #ffffff;
    --foreground-on-accent-active: #000000;
    --foreground-on-accent-focus: #ffffff;
    --focus-stroke-inner: #fbfdfe;
    --neutral-fill-stealth-rest: #ffffff;
    --neutral-fill-stealth-hover: #f2f2f2;
    --neutral-fill-stealth-active: #f7f7f7;
    --neutral-fill-stealth-focus: #ffffff;
    --neutral-layer-floating: #ffffff;
    --neutral-fill-input-rest: #ffffff;
    --neutral-fill-input-hover: #ffffff;
    --neutral-fill-input-active: #ffffff;
    --neutral-fill-input-focus: #ffffff;
    --tree-item-expand-collapse-hover: #e5e5e5;
    --tree-item-expand-collapse-selected-hover: #e0e0e0;
    --neutral-stroke-strong-rest: #949494;
    --neutral-stroke-strong-hover: #2e2e2e;
    --neutral-stroke-strong-active: #6b6b6b;
    --neutral-stroke-strong-focus: #545454;
    --neutral-layer-card-container: #f7f7f7;
    --neutral-fill-strong-rest: #757575;
    --neutral-fill-strong-hover: #616161;
    --neutral-fill-strong-active: #828282;
    --neutral-fill-strong-focus: #757575;
    --base-layer-luminance: 1;
    --direction: ltr;
    --card-stroke-color: rgba(0, 0, 0, 0.0578);
    --neutral-fill-inverse-rest: #242424;
    --neutral-fill-inverse-hover: #2b2b2b;
    --neutral-fill-inverse-active: #101010;
    --neutral-fill-inverse-focus: #242424;
    --neutral-fill-secondary-rest: #f7f7f7;
    --neutral-fill-secondary-hover: #fafafa;
    --neutral-fill-secondary-active: #fcfcfc;
    --neutral-fill-secondary-focus: #f7f7f7;
    --neutral-foreground-hint-on-bubble-on-rest: #757575;
    --neutral-layer-card: #ffffff;
    --neutral-fill-bubble-rest: #efefef;
    --neutral-fill-bubble-hover: #e8e8e8;
    --gradient-white-fill: linear-gradient(160deg, rgba(237, 237, 237, 0.8), rgba(237, 237, 237, 1)), #ffffff;
    --gradient-background-fill: linear-gradient(160deg, rgba(237, 237, 237, 0), rgba(237, 237, 237, 1));
    --neutral-fill-bubble-on-rest: #fafafa;
}

h1 {
    color: var(--neutral-foreground-rest);
    font-size: 32px;
    font-family: "Eb Garamond", serif;
    font-weight: 600;
}

strong, span, a {
    font-size: inherit;
    color: inherit;
}

/* ------------------------------------ header ------------------------------------ */

.header {
    position: sticky;
    z-index: 100;
    top: 0;
    background-color: var(--fill-color);
    color: var(--neutral-foreground-rest);
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 24px;
    height: 46px;
    gap: 20px;
}

.logo {
    font-size: 24px;
    display: flex;
    align-items: center;
}

.logo-text {
    margin: -3px 0 0 4px;
    font-weight: 600;
}

.search {
    width: 760px;
    height: 100%;
    --elevation: 4;
    border-radius: 22px;
    transition: none;
    background: var(--neutral-layer-floating);
    box-shadow: 0 0 calc((var(--elevation) * 0.225px) + 2px) rgba(0, 0, 0, calc(.11 * (2 - var(--background-luminance, 1)))), 0 calc(var(--elevation) * 0.4px) calc((var(--elevation) * 0.9px)) rgba(0, 0, 0, calc(.13 * (2 - var(--background-luminance, 1))));
}

.search__container {
    display: flex;
    align-items: center;
    height: inherit;
    justify-content: space-between;
    padding: 0 15px;
    color: var(--neutral-foreground-hint);
    fill: var(--neutral-foreground-hint);
}

.search__left {
    display: flex;
    gap: 16px;
}

.search__container img {
    height: 30px;
    width: 30px;
}

.header__actions {
    display: flex;
    align-items: center;
}

.action__container {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action__container svg {
    height: 24px;
    width: 24px;
}

.notification {
    position: relative;
}

.notification-count {
    position: absolute;
    top: -5px;
    left: 11px;
    right: unset;
    background: rgb(216, 59, 1);
    border: 1px solid rgb(255, 147, 73);
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.13) 0 3.2px 7.2px, rgba(0, 0, 0, 0.11) 0 0.6px 1.8px;
    border-radius: 16px;
    width: 16px;
    height: 16px;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    padding-bottom: 2px;
    z-index: 1;
}

.action__login {
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 5px;
    padding: 8px 8px;
    font-size: 14px;
    margin-left: 10px;
}

.header__nav {
    height: 46px;
    display: flex;
    align-items: center;
    max-width: 1548px;
    margin: 0 auto;
    gap: 32px;
}

.header__nav a:nth-child(5) {
    display: none;
}

.header__nav a {
    font-size: 14px;
}

.pipe::after {
    content: "";
    height: 14px;
    align-self: center;
    /*padding-inline-start: 18px;*/
    border-inline-end: 1px solid rgb(206, 206, 206);
}

.header__divider {
    height: 0;
    margin: 4px 0;
    border-right: medium;
    border-bottom: medium;
    border-left: medium;
    border-image: none;
    box-sizing: content-box;
    border-top: 1px solid var(--neutral-stroke-divider-rest);
}

/* ------------------------------------ content ------------------------------------ */

.content {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 48px 79px 682px 79px 348px;
    grid-template-areas: "reactions . article. ad" ".         . eocb    . .   ";
    position: relative;
    justify-content: center;
}

.reactions {
    grid-area: reactions;
}


.advertisement {
    grid-area: ad;
}

/* ------------------------------------ article ------------------------------------ */

.article {
    grid-area: article;
}

.article__head {
    margin: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.author {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--neutral-fill-bubble-on-rest);
    border-radius: 8px;
    outline: rgba(0, 0, 0, 0.06) solid 1px;
    padding: 16px 18px;
    margin-bottom: 16px;
}

.author__av {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0e6eb8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    line-height: 1;
}

.author__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.author__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 2px;
}

.author__name {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: #1a1a1a;
}

.author__bio {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #5a5a5a;
}

.author__right,
.author__left,
.author__logo,
.author__follow-btn,
.author__followers {
    /* legacy template hooks — unused */
}

@media (max-width: 600px) {
    .author {
        padding: 14px;
        gap: 12px;
    }
    .author__av {
        width: 44px;
        height: 44px;
        font-size: 13px;
    }
    .author__name {
        font-size: 15px;
    }
    .author__bio {
        font-size: 13px;
    }
}

.date {
    margin: 20px 0;
}

.read-time {
    color: rgb(19, 161, 14);
    background: url("assets/ClockLight.svg") left center no-repeat;
    padding-inline-start: 24px;
    margin-inline-start: 4px;
    pointer-events: none;
    display: inline-block;
}

.article__body {
    text-align: start;
    line-height: 26px;
}

.article__body p {
    font-size: 17px;
    margin-bottom: 16px;
}

.article__body .article__subhead {
    font-family: "Eb Garamond", serif;
    font-size: clamp(24px, 4.2vw, 30px);
    font-weight: 600;
    line-height: 1.28;
    margin: 36px 0 14px;
    letter-spacing: -0.02em;
    color: var(--neutral-foreground-rest);
}

.article__body .article__subhead a {
    text-decoration: none;
}

.article__body img {
    margin-bottom: 36px;
    width: 100%;
    border-radius: 6px;
}

.article__body .order_block img {
    width: auto;
    max-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
}

.article__body .story-card {
    margin: 28px 0 40px;
    padding: 24px 22px 8px;
    border: 2px solid #9eb3cc;
    border-radius: 12px;
    background: linear-gradient(165deg, #d8e2ef 0%, #cad6e8 55%, #c0cee3 100%);
    box-shadow: 0 4px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 28px rgba(15, 40, 70, 0.14), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article__body .story-card .article__subhead {
    margin-top: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.article__body .story-card img {
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 599px) {
    .article__body .story-card {
        padding: 18px 14px 4px;
        margin: 22px 0 32px;
    }
}

.article__body p a {
    text-decoration: none;
    color: var(--accent-foreground-rest);
}

.screen {
    width: auto !important;
}

/* ------------------------------------ reactions ------------------------------------ */

.reactions {
    margin: 32px 0;
}

.reactions__container {
    position: sticky;
    top: 150px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.reactions__item img, .reactions__item svg {
    width: 20px;
    height: 20px;
}

.reactions__item {
    border-radius: 12px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.12) 0 0 2px 0, rgba(0, 0, 0, 0.14) 0 2px 4px 0;
}

/* ------------------------------------ comments ------------------------------------ */

.comments__top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e9ebee;
    margin-bottom: 40px;
    padding: 10px 0;
    align-items: center;
}

.comments__sort {
    display: flex;
    gap: 10px;
    align-items: center;
}

.article__comments {
    padding: 12px;
    border: 1px solid #dddfe2;
    border-radius: 3px;
}

.article__comments-ketocare {
    margin-top: 8px;
}

.comment {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ededed;
    margin-bottom: 20px;
}

.comment__avatar {
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.comment__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comment__name, .comment__text, .comment__date, .likes span, .dislikes span {
    font-size: 14px;
}

.comment__date {
    color: #6e7780;
}

.comment__votes {
    display: flex;
    gap: 10px;
    color: #a1a7ad;
    fill: #a1a7ad;
    margin-bottom: 15px;
    margin-top: 5px;
}

.likes svg, .dislikes svg {
    height: 15px;
    width: 15px;
    vertical-align: middle;
}

.action__btn {
    background-color: #0078d4;
    border-radius: 4px;
    padding: 16px 28px;
    line-height: 1.35;
    font-size: 18px;
    font-weight: 600;
    display: block;
    color: #fff !important;
    max-width: 420px;
    text-align: center;
    margin: 0 auto;
}
.action__btn span {
    font-size: inherit;
    font-weight: inherit;
}

/* ------------------------------------ footer ------------------------------------ */

.footer {
    margin-top: 32px;
    background: rgba(242, 242, 242, .95);
    display: block;
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__bar {
    max-width: 960px;
    margin: 0 auto 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer__left,
.footer__right {
    font-size: 13px;
    color: #444;
}

.footer__right {
    display: flex;
    gap: 8px 16px;
    flex-wrap: wrap;
}

.footer__right a {
    color: #0e6eb8;
    text-decoration: none;
    white-space: nowrap;
}

.footer__right a:hover {
    text-decoration: underline;
}

.footer__legal {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 12px;
    line-height: 1.55;
    color: #666;
}

.footer__legal p {
    margin: 0 0 10px;
}

.footer__legal p:last-child {
    margin-bottom: 0;
}

.footer__legal a {
    color: #0e6eb8;
    word-break: break-word;
}

/* ------------------------------------ adaptive ------------------------------------ */

@media (max-width: 1580px) {
    .header__nav {
        width: 1236px;
    }
}

@media (min-width: 1264px) and (max-width: 1575px) {
    .content {
        grid-template-columns: 48px 79px 682px 79px 348px;
    }
}

@media (min-width: 942px) and (max-width: 1263px) {
    .content {
        grid-template-areas:
"reactions . article . ad";
        grid-template-columns: 26px 24px 535px 41px 348px;
    }

    .reactions {
        grid-area: none;
        position: absolute;
        margin-inline-start: 16px;
        height: 100%;
    }
}

@media (max-width: 1051px) {
    .content {
        grid-template-areas:
"reactions . article .";
        grid-template-columns: 1fr 24px 612px 1fr;
    }

    .reactions {
        grid-area: reactions;
        position: static;
        margin-inline-start: 16px;
        height: 100%;
    }

    .advertisement {
        display: none;
    }

    .footer {
        padding: 16px 16px 24px;
    }

    .footer__bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .content {
        gap: 24px;
        grid-template-areas:
"reactions article .";
        grid-template-columns: 1fr 520px 1fr;
    }

    .footer {
        padding: 14px 12px 22px;
    }
}

@media (max-width: 599px) {
    .content {
        grid-template-areas:
"article article";
        grid-template-columns: 1fr 1fr;
        padding: 0 10px;
    }

    .reactions {
        display: none;
    }

    .screen {
        width: 100% !important;
    }

    h1 {
        font-size: 24px;
        padding-top: 8px;
        padding-bottom: 3px;
        font-weight: 400;
    }
}

@media (max-width: 1268px) {
    .header__nav {
        width: 924px;
    }
}

@media (max-width: 956px) {
    .header__nav {
        width: 630px;
    }
}

@media (max-width: 670px) {
    .header__nav {
        width: 350px;
    }

    .header__nav a:nth-child(5) {
        display: block;
    }

    .header__actions a:nth-child(n):not(:nth-child(3)) {
        display: none;
    }

    .header__nav a:nth-last-child(-n+4) {
        display: none;
    }
}

@media (max-width: 455px) {
    .search__left span {
        display: none;
    }
}

/* Story blocks */
.reader-story{margin:1.25rem 0;padding:1rem 0;border-top:1px solid #e5e5e5;}
.reader-story h3{font-size:1.15rem;margin:.75rem 0 .35rem;}
.reader-story .who{color:#666;font-size:.9rem;margin-bottom:.75rem;}
.article__body ul{padding-left:1.25rem;}
.article__body blockquote{border-left:3px solid #0299ff;margin:1rem 0;padding:.5rem 1rem;background:#f7f9fc;}
#cookie-banner.is-on{display:flex!important;}


/* Photo placeholders */
.photo-ph{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;margin:1.25rem 0;padding:1.5rem 1rem;min-height:180px;
  border:2px dashed #c5c9d0;background:#f6f7f9;text-align:center;color:#555;
}
.photo-ph svg{width:40px;height:40px;opacity:.45;fill:#666;}
.photo-ph b{font-size:14px;color:#222;}
.photo-ph span{font-size:13px;line-height:1.45;max-width:520px;}
.photo-ph--story{min-height:140px;padding:1rem;}
.disclaimer-box{
  margin:1.25rem 0;padding:1rem 1.1rem;background:#fff8e6;border-left:4px solid #e6a800;
  font-size:15px;line-height:1.5;
}
.article__body .note{font-size:14px;color:#555;font-style:italic;}
.article__body .lead{font-size:1.15rem;font-weight:700;}
.article__body ul.checks{padding-left:1.25rem;}
.article__body blockquote{
  margin:1rem 0;padding:.75rem 1rem;border-left:3px solid #0299ff;background:#f7f9fc;
}


/* ===== Icexin landing extras ===== */
.header--simple .header__top--logo-right {
  justify-content: center;
  margin: 12px 28px 8px;
}
.header--simple .header__divider {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.content {
  grid-template-columns: minmax(0, 720px) !important;
  grid-template-areas: "article" !important;
  justify-content: center;
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 16px;
  box-sizing: border-box;
}
.content > .reactions,
.content > .advertisement {
  display: none !important;
}
.article {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.highlight-phrase {
  color: #c62828;
  font-style: italic;
}
.author-note {
  margin: 2rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  background: #f7fbfe;
  border: 1px solid rgba(14, 110, 184, 0.22);
  border-left: 4px solid #0e6eb8;
  border-radius: 6px;
}
.author-note__title {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0e6eb8;
  letter-spacing: -0.01em;
}
.author-note p {
  margin: 0 0 0.85rem;
}
.author-note p:last-child {
  margin-bottom: 0;
}
.author-note__list {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  list-style: disc;
}
.author-note__list li {
  margin: 0 0 0.65rem;
  line-height: 1.5;
}
.author-note__list li:last-child {
  margin-bottom: 0;
}
.author-note__accent {
  font-weight: 600;
  color: #333;
  background: #f0f4f8;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
  list-style-position: inside;
  margin-left: -0.25rem !important;
}
.order_block {
  display: block !important;
}
.logo--brand {
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3f8fc 0%, #e8f2fa 100%);
  border: 1px solid rgba(14, 110, 184, 0.18);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0e6eb8;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo--brand .logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #123;
  letter-spacing: -0.02em;
}
.author__av {
  width: 96px;
  height: 96px;
  overflow: hidden;
  padding: 0;
  flex: none;
}
.author__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .author__av {
    width: 80px;
    height: 80px;
  }
}
.author__av-fallback {
  font-size: 18px;
  font-weight: 700;
}
.article__deck {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: #444;
  max-width: 42em;
}
.article-photo {
  margin: 1.25rem 0 1.5rem;
}
.article-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 0 !important;
}
.article-photo figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
  font-style: italic;
}
.product-link {
  color: #0e6eb8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.ingredient {
  margin: 1rem 0 1.35rem;
  padding: 0.85rem 1rem;
  background: #f7f9fc;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
}
.ingredient h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}
.ingredient__role {
  margin: 0 0 0.55rem !important;
  font-size: 13px;
  color: #666;
  font-style: italic;
}
.ingredient p { margin: 0 0 0.55rem; }
.ingredient__mech {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}
.ingredient__study {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #444 !important;
  margin-bottom: 0 !important;
}
.ingredient__study a { color: #0e6eb8; }
.story-block {
  margin: 1.75rem 0 2rem;
  padding: 1.15rem 1.15rem 0.5rem;
  border: 1px solid rgba(14, 110, 184, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #eef6fc 0%, #e3f0fa 100%);
  box-shadow: 0 6px 18px rgba(14, 110, 184, 0.08);
}
.story-block .article__subhead { margin-top: 0; }
.story-block__who {
  font-weight: 700;
  color: #333;
  margin: 0.25rem 0 0.85rem !important;
}
.footer__research {
  margin-top: 8px;
}
.footer__research-title {
  font-weight: 700;
  margin: 0 0 8px;
  color: #333;
}
.footer__research ul {
  margin: 0 0 10px;
  padding-left: 1.15rem;
}
.footer__research li { margin-bottom: 6px; }
.footer__research-note {
  font-size: 11.5px;
  color: #777;
  margin: 0 !important;
}
