/**
 * 石墨 SPA 入口站（僅 body.fate-body--gx-portal）
 *
 * 雜誌式入口：排版主導、單一焦點、不對稱格、文字索引。
 * 影像保留原色（僅壓亮度統一），hover 才提亮——黑白開局過於冷硬。
 */

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500&display=swap");

html.fate-theme-graphite body.fate-body--gx-portal {
    margin: 0;
    min-height: 100%;
    background: #0f1114;
    color: #eae7e1;
    font-family: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

html.fate-theme-graphite body.fate-body--gx-portal .topbar {
    display: none !important;
}

/* ── Nav（落地細橫線，不再浮在留白上） ────────────────── */
html.fate-theme-graphite .gxp-nav {
    position: relative;
    z-index: 20;
    padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 0 0.7rem;
    border-bottom: 1px solid rgba(234, 231, 225, 0.1);
}

html.fate-theme-graphite .gxp-nav__inner {
    width: min(66.5rem, calc(100% - 2.25rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

html.fate-theme-graphite .gxp-nav__brand {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #eae7e1;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-nav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.1rem 1.05rem;
}

html.fate-theme-graphite .gxp-nav__links a {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: rgba(234, 231, 225, 0.62);
    text-decoration: none;
}

html.fate-theme-graphite .gxp-nav__links a:hover {
    color: #eae7e1;
}

html.fate-theme-graphite .gxp-nav__cta {
    padding: 0.18rem 0.5rem;
    border: 1px solid rgba(194, 176, 151, 0.45);
    color: rgba(234, 231, 225, 0.86) !important;
}

/* ── Shell ───────────────────────────────────────────────── */
html.fate-theme-graphite .gxp-portal {
    width: 100%;
    padding-bottom: 2.5rem;
    background:
        radial-gradient(52rem 30rem at 6% 4%, rgba(194, 176, 151, 0.11), transparent 66%),
        radial-gradient(38rem 24rem at 92% 2%, rgba(126, 152, 172, 0.07), transparent 70%);
}

/* ── 影像統一處理 ────────────────────────────────────────── */
html.fate-theme-graphite .gxp-photo {
    position: relative;
    display: block;
    overflow: hidden;
    background: #171a1e;
}

html.fate-theme-graphite .gxp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.02) brightness(0.88);
    transition: filter 0.5s ease, transform 0.9s ease;
}

html.fate-theme-graphite .gxp-photo:hover img {
    filter: saturate(1.14) contrast(1.02) brightness(1);
    transform: scale(1.015);
}

/* ── Lead ────────────────────────────────────────────────── */
html.fate-theme-graphite .gxp-lead {
    width: min(66.5rem, calc(100% - 2.25rem));
    margin: 0 auto;
    padding: 1.5rem 0 0;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.2rem, 2.6vw, 2.2rem);
    align-items: start;
}

/* 編輯式日期列：佔住頂部視覺重量，取代空白 */
html.fate-theme-graphite .gxp-dateline {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.3rem 1rem;
    padding-bottom: 0.55rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid rgba(234, 231, 225, 0.08);
}

html.fate-theme-graphite .gxp-dateline__left {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

html.fate-theme-graphite .gxp-dateline__range {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: #6f6c66;
    font-variant-numeric: tabular-nums;
}

html.fate-theme-graphite .gxp-dateline__right {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    color: rgba(234, 231, 225, 0.34);
}

html.fate-theme-graphite .gxp-dateline__right span + span::before {
    content: "·";
    margin-right: 0.55rem;
    color: rgba(234, 231, 225, 0.22);
}

html.fate-theme-graphite .gxp-lead__intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.1rem;
    align-self: stretch;
    padding-bottom: 0.3rem;
}

html.fate-theme-graphite .gxp-lead__head {
    min-width: 0;
}

html.fate-theme-graphite .gxp-lead__aside {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: auto;
    min-width: 0;
}

html.fate-theme-graphite .gxp-lead__brand {
    margin: 0;
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.12em;
    color: #f2efe9;
}

html.fate-theme-graphite .gxp-lead__tagline {
    margin: 0.55rem 0 0;
    max-width: 34ch;
    font-size: 0.8rem;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: rgba(234, 231, 225, 0.6);
}

html.fate-theme-graphite .gxp-find {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    max-width: 24rem;
    border-bottom: 1px solid rgba(234, 231, 225, 0.22);
}

html.fate-theme-graphite .gxp-find__input {
    min-width: 0;
    border: 0;
    background: transparent;
    color: #eae7e1;
    font: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    padding: 0.5rem 0;
    outline: none;
}

html.fate-theme-graphite .gxp-find__input::placeholder {
    color: #6a6863;
}

html.fate-theme-graphite .gxp-find__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    background: transparent;
    color: #c2b097;
    font: inherit;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    padding: 0.3rem 0;
    cursor: pointer;
}

html.fate-theme-graphite .gxp-find__submit:hover {
    color: #d9cab3;
}

/* 地區捷徑：實用導覽，視覺壓在搜尋之下 */
html.fate-theme-graphite .gxp-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.85rem;
}

html.fate-theme-graphite .gxp-cities a {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 0.34rem 0.5rem;
    border: 1px solid rgba(234, 231, 225, 0.16);
    color: rgba(234, 231, 225, 0.68);
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

html.fate-theme-graphite .gxp-cities a:hover {
    border-color: rgba(194, 176, 151, 0.55);
    color: #d9cab3;
}

/* 首屏精選文索引：把左欄空白換成可點的情報目錄 */
html.fate-theme-graphite .gxp-picks {
    padding-top: 1rem;
    border-top: 1px solid rgba(234, 231, 225, 0.1);
    min-width: 0;
}

html.fate-theme-graphite .gxp-picks__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    color: #7c776f;
}

html.fate-theme-graphite .gxp-picks__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

html.fate-theme-graphite .gxp-picks__item + .gxp-picks__item {
    border-top: 1px solid rgba(234, 231, 225, 0.06);
}

html.fate-theme-graphite .gxp-picks__link {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.42rem 0;
    color: inherit;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-picks__no {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: #5f5c57;
    font-variant-numeric: tabular-nums;
}

html.fate-theme-graphite .gxp-picks__title {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 0.84rem;
    line-height: 1.42;
    letter-spacing: 0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.18s ease;
}

html.fate-theme-graphite .gxp-picks__link:hover .gxp-picks__title {
    color: #d9cab3;
}

html.fate-theme-graphite .gxp-picks__link:hover .gxp-picks__no {
    color: #a08c6b;
}

/* 評分：只給數字，不加星號圖示 */
html.fate-theme-graphite .gxp-score {
    color: #c2b097;
    font-variant-numeric: tabular-nums;
}

html.fate-theme-graphite .gxp-score::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.55em;
    margin: 0 0.4em;
    background: rgba(234, 231, 225, 0.24);
    vertical-align: -0.05em;
}

/* 主推精選文：圖片 + 文字卡（無封面時落成純排版卡） */
html.fate-theme-graphite .gxp-feature {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-feature__visual {
    aspect-ratio: 4 / 3;
    max-height: 19rem;
}

html.fate-theme-graphite .gxp-feature__visual img {
    filter: saturate(1.12) contrast(1.03) brightness(0.94);
}

html.fate-theme-graphite .gxp-feature:hover .gxp-feature__visual img {
    filter: saturate(1.16) contrast(1.03) brightness(1.06);
}

html.fate-theme-graphite .gxp-feature__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 14, 17, 0) 58%, rgba(12, 14, 17, 0.5) 100%);
    pointer-events: none;
}

html.fate-theme-graphite .gxp-feature__copy {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding-top: 0.65rem;
}

html.fate-theme-graphite .gxp-feature--text .gxp-feature__copy {
    position: relative;
    padding: 1rem 1.05rem 1.1rem;
    background: linear-gradient(150deg, rgba(35, 39, 45, 0.9), rgba(20, 23, 27, 0.9));
    border: 1px solid rgba(234, 231, 225, 0.09);
    min-height: 11rem;
    justify-content: flex-end;
}

html.fate-theme-graphite .gxp-feature__kicker {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #c2b097;
}

html.fate-theme-graphite .gxp-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    color: #c2b097;
}

html.fate-theme-graphite .gxp-feature__title {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.62rem);
    line-height: 1.34;
    letter-spacing: 0.03em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.fate-theme-graphite .gxp-feature:hover .gxp-feature__title {
    color: #e6d6bd;
}

html.fate-theme-graphite .gxp-feature__excerpt {
    font-size: 0.78rem;
    line-height: 1.7;
    color: #8d8b85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.fate-theme-graphite .gxp-feature__meta {
    margin-top: 0.1rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: #6f6c66;
}

/* 標籤：付費等狀態 */
html.fate-theme-graphite .gxp-tag {
    display: inline-block;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    line-height: 1;
    padding: 0.2rem 0.34rem;
    border: 1px solid rgba(194, 176, 151, 0.5);
    color: #c2b097;
    white-space: nowrap;
}

html.fate-theme-graphite .gxp-tag--paid {
    border-color: rgba(194, 176, 151, 0.42);
    color: #d9cab3;
}

/* ── Blocks ──────────────────────────────────────────────── */
html.fate-theme-graphite .gxp-block {
    width: min(66.5rem, calc(100% - 2.25rem));
    margin: 2.6rem auto 0;
}

html.fate-theme-graphite .gxp-block--last {
    margin-bottom: 0.5rem;
}

html.fate-theme-graphite .gxp-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.55rem;
    margin-bottom: 0.8rem;
    border-top: 1px solid rgba(234, 231, 225, 0.16);
}

/* 討論區精選文是入口的主秀：標題比其他區塊高一階 */
html.fate-theme-graphite .gxp-block--stories .gxp-block__head {
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(234, 231, 225, 0.16);
}

html.fate-theme-graphite .gxp-block--stories .gxp-block__title {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #ece8e1;
}

html.fate-theme-graphite .gxp-block--stories .gxp-block__more {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
}

html.fate-theme-graphite .gxp-block__title {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: #b9b3a8;
}

html.fate-theme-graphite .gxp-block__more {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    color: #c2b097;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-block__more:hover {
    color: #d9cab3;
}

html.fate-theme-graphite .gxp-block--empty {
    color: #8d8b85;
    font-size: 0.82rem;
}

html.fate-theme-graphite .gxp-block--empty a {
    color: #c2b097;
}

/* ── 精選格：不對稱 ──────────────────────────────────────── */
html.fate-theme-graphite .gxp-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
}

html.fate-theme-graphite .gxp-grid__item {
    min-width: 0;
}

html.fate-theme-graphite .gxp-grid__item--lead {
    grid-row: span 2;
}

html.fate-theme-graphite .gxp-grid__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-grid__visual {
    aspect-ratio: 4 / 3;
}

html.fate-theme-graphite .gxp-grid__item--lead .gxp-grid__visual {
    flex: 1 1 auto;
    aspect-ratio: auto;
    min-height: 18rem;
}

html.fate-theme-graphite .gxp-grid__caption {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0 0.15rem;
}

html.fate-theme-graphite .gxp-grid__name {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    line-height: 1.35;
}

html.fate-theme-graphite .gxp-grid__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.1rem 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: #6f6c66;
}

html.fate-theme-graphite .gxp-grid__loc {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: #6f6c66;
}

html.fate-theme-graphite .gxp-grid__link:hover .gxp-grid__name {
    color: #d9cab3;
}

/* ── 索引：文字 ──────────────────────────────────────────── */
html.fate-theme-graphite .gxp-index {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
    border-bottom: 1px solid rgba(234, 231, 225, 0.1);
}

html.fate-theme-graphite .gxp-index__item {
    border-top: 1px solid rgba(234, 231, 225, 0.1);
    min-width: 0;
}

html.fate-theme-graphite .gxp-index__item:nth-child(-n + 2) {
    border-top: 0;
}

html.fate-theme-graphite .gxp-index__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.5rem 0;
    color: inherit;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-index__meta {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    min-width: 0;
}

html.fate-theme-graphite .gxp-index__name {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.fate-theme-graphite .gxp-index__loc {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: #6f6c66;
    white-space: nowrap;
}

html.fate-theme-graphite .gxp-index__link:hover .gxp-index__name {
    color: #d9cab3;
}

/* ── 人物 ────────────────────────────────────────────────── */
html.fate-theme-graphite .gxp-profiles {
    list-style: none;
    margin: 0;
    padding: 0 0 0.15rem;
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

html.fate-theme-graphite .gxp-profiles__item {
    flex: 0 0 6.1rem;
    scroll-snap-align: start;
}

html.fate-theme-graphite .gxp-profiles__link {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    color: inherit;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-profiles__visual {
    aspect-ratio: 3 / 4;
    margin-bottom: 0.3rem;
}

html.fate-theme-graphite .gxp-profiles__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22%;
    box-sizing: border-box;
    color: #5f5c57;
}

html.fate-theme-graphite .gxp-profiles__name {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.fate-theme-graphite .gxp-profiles__store {
    font-size: 0.6rem;
    color: #6f6c66;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── 精選文：封面條列（三欄，主秀延伸） ─────────────────── */
html.fate-theme-graphite .gxp-stories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding-top: 0.75rem;
}

html.fate-theme-graphite .gxp-stories__item {
    min-width: 0;
}

html.fate-theme-graphite .gxp-stories__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

html.fate-theme-graphite .gxp-stories__thumb {
    aspect-ratio: 16 / 10;
    width: 100%;
}

html.fate-theme-graphite .gxp-stories__thumb img {
    filter: saturate(1.06) brightness(0.9);
}

html.fate-theme-graphite .gxp-stories__link:hover .gxp-stories__thumb img {
    filter: saturate(1.14) brightness(1.02);
}

html.fate-theme-graphite .gxp-stories__body {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

html.fate-theme-graphite .gxp-stories__title {
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 0.92rem;
    line-height: 1.45;
    letter-spacing: 0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.fate-theme-graphite .gxp-stories__link:hover .gxp-stories__title {
    color: #d9cab3;
}

html.fate-theme-graphite .gxp-stories__excerpt {
    font-size: 0.7rem;
    line-height: 1.55;
    color: #7d7a74;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.fate-theme-graphite .gxp-stories__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.45rem;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: #6f6c66;
}

html.fate-theme-graphite .gxp-stories__meta > span + span:not(.gxp-tag)::before {
    content: "·";
    margin-right: 0.45rem;
    color: rgba(234, 231, 225, 0.22);
}

/* ── Breakpoints ─────────────────────────────────────────── */
@media (max-width: 900px) {
    html.fate-theme-graphite .gxp-lead {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
        padding-top: 1.2rem;
        align-items: start;
    }

    html.fate-theme-graphite .gxp-lead__intro {
        display: contents;
        padding-bottom: 0;
    }

    /* 手機／平板：品牌 → 精選主文 → 地區與索引（主秀不能被左欄內容推到第二屏） */
    html.fate-theme-graphite .gxp-lead__head {
        order: 1;
    }

    html.fate-theme-graphite .gxp-feature {
        order: 2;
    }

    html.fate-theme-graphite .gxp-lead__aside {
        order: 3;
        margin-top: 0;
    }

    html.fate-theme-graphite .gxp-feature__visual {
        aspect-ratio: 16 / 10;
        max-height: 18rem;
    }

    html.fate-theme-graphite .gxp-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    html.fate-theme-graphite .gxp-grid__item--lead {
        grid-column: span 2;
        grid-row: auto;
    }

    html.fate-theme-graphite .gxp-grid__item--lead .gxp-grid__visual {
        aspect-ratio: 16 / 10;
        min-height: 0;
        flex: 0 0 auto;
    }

    html.fate-theme-graphite .gxp-index {
        grid-template-columns: 1fr;
    }

    html.fate-theme-graphite .gxp-index__item:nth-child(-n + 2) {
        border-top: 1px solid rgba(234, 231, 225, 0.1);
    }

    html.fate-theme-graphite .gxp-index__item:first-child {
        border-top: 0;
    }
}

@media (max-width: 767px) {
    html.fate-theme-graphite .gxp-nav__inner,
    html.fate-theme-graphite .gxp-lead,
    html.fate-theme-graphite .gxp-block {
        width: calc(100% - 1.1rem);
    }

    html.fate-theme-graphite .gxp-nav__links a:not(.gxp-nav__cta) {
        display: none;
    }

    html.fate-theme-graphite .gxp-lead {
        padding-top: 1rem;
    }

    html.fate-theme-graphite .gxp-lead__brand {
        letter-spacing: 0.08em;
    }

    html.fate-theme-graphite .gxp-feature__visual {
        aspect-ratio: 16 / 10;
        max-height: 15rem;
    }

    html.fate-theme-graphite .gxp-grid {
        gap: 0.4rem;
    }

    html.fate-theme-graphite .gxp-stories {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
    }

    html.fate-theme-graphite .gxp-grid__name {
        font-size: 0.78rem;
    }

    html.fate-theme-graphite .gxp-grid__loc {
        display: none;
    }

    html.fate-theme-graphite .gxp-grid__item--lead .gxp-grid__loc {
        display: block;
    }

    html.fate-theme-graphite .gxp-cities a {
        display: inline-flex;
        align-items: center;
        min-height: 2.35rem;
        padding: 0 0.6rem;
    }

    html.fate-theme-graphite .gxp-profiles__item {
        flex-basis: 4.9rem;
    }

    html.fate-theme-graphite .gxp-portal {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 420px) {
    html.fate-theme-graphite .gxp-lead__brand {
        font-size: 1.9rem;
    }
}
