.m-home {
    display: grid;
    gap: 12px;
    padding-bottom: 8px;
    width: 100%;
    margin: 10px 0 0px 0;
}

.m-home-hero,
.m-home-section {
    padding: 14px 12px;
    border: 0;
    background: #fff;
    box-shadow: none;
}

.m-home-hero {
    display: grid;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 14px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 58%);
}

.m-home-hero::before {
    display: none;
}

.m-home-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.m-home-hero__lead {
    display: grid;
    gap: 8px;
}

.m-home-hero h1 {
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: 0;
}

.m-home-hero p {
    /* max-width: 17em; */
    font-size: 14px;
    line-height: 1.6;
    color: var(--m-text-soft);
}

.m-home-hero__kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding-left: 4px;
    border-left: 3px solid var(--m-primary);
    border-radius: 6px;
    background: transparent;
    color: var(--m-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.m-home-hero__eyebrow {
    color: var(--m-text-faint);
    font-size: 11px;
    line-height: 1.4;
    text-align: right;
}

.m-home-hero__entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.m-home-hero__entry {
    display: grid;
    gap: 6px;
    min-height: 86px;
    padding: 12px;
    border: 1px solid var(--m-border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--m-text);
}

.m-home-hero__entry span {
    color: var(--m-text-faint);
    font-size: 11px;
    line-height: 1.4;
}

.m-home-hero__entry strong {
    font-size: 18px;
    line-height: 1.35;
}

.m-home-hero__entry--primary {
    border-color: #d7e5fb;
    background: #fff;
}

.m-home-hero__quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.m-home-hero__quick a {
    display: grid;
    gap: 4px;
    min-height: 72px;
    padding: 10px;
    border: 1px solid var(--m-border);
    background: var(--m-surface-soft);
    color: var(--m-text);
}

.m-home-hero__quick strong {
    font-size: 14px;
    line-height: 1.35;
}

.m-home-hero__quick span {
    color: var(--m-text-faint);
    font-size: 12px;
    line-height: 1.45;
}

.m-home-section--daily {
    background: #fff;
}

.m-home-section__head,
.m-home-list-card__head,
.m-home-daily__quote-top,
.m-home-daily__quote-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.m-home-section__head {
    align-items: center;
}

.m-home-section__head > div,
.m-home-list-card__head > div {
    min-width: 0;
}

.m-home-section__head > div {
    flex: 1 1 auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.m-home-section__head h2 {
    font-size: 18px;
    line-height: 1.4;
}

.m-home-section__head p,
.m-home-list-card__desc {
    margin-top: 2px;
    color: var(--m-text-faint);
    font-size: 13px;
    line-height: 1.6;
}

.m-home-section__head p {
    margin-top: 0;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

.m-home-section__more,
.m-home-list-card__head a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--m-primary);
    font-size: 13px;
    font-weight: 700;
}

.m-home-channel-grid,
.m-home-daily__grid,
.m-home-quick-grid,
.m-home-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.m-home-channel-grid {
    margin-top: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.m-home-channel-card,
.m-home-daily__item,
.m-home-daily__quote,
.m-home-list-card {
    border: 1px solid var(--m-border);
    border-radius: 6px;
    background: #fff;
}

.m-home-channel-card {
    display: block;
    min-height: 0;
    padding: 12px 11px;
    background: #fff;
}

.m-home-channel-card strong {
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--m-text);
}

.m-home-channel-card span {
    display: block;
    color: var(--m-text-faint);
    font-size: 12px;
    line-height: 1.65;
}

.m-home-daily {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.m-home-daily__quote {
    padding: 12px;
    background: #fff;
}

.m-home-daily__badge,
.m-home-daily__type {
    color: var(--m-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.m-home-daily__quote-tip,
.m-home-daily__item em {
    display: block;
    color: var(--m-text-faint);
    font-size: 12px;
    line-height: 1.6;
}

.m-home-daily__quote strong {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.6;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.m-home-daily__quote-link {
    display: inline;
    padding: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--m-primary);
    font-size: 12px;
    font-weight: 700;
}

.m-home-daily__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.m-home-daily__item {
    position: relative;
    display: block;
    /* min-height: 68px; */
    padding: 10px 46px 9px 10px;
    background: #fff;
}

.m-home-daily__type {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    min-height: 20px;
    padding: 0 5px;
    border: 1px solid var(--m-border);
    border-radius: 6px;
    background: var(--m-surface-soft);
    color: var(--m-primary);
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

.m-home-daily__body {
    display: grid;
    align-content: start;
    gap: 2px;
    /* min-height: 48px; */
}

.m-home-daily__body em {
    overflow: hidden;
    color: var(--m-text-faint);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-home-daily__body strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--m-text);
    font-size: 14px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 0;
}

.m-home-quick-grid,
.m-home-stack {
    margin-top: 12px;
}

.m-home-quick-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.m-home-quick-group {
    min-width: 0;
    /* padding: 10px 10px 4px; */
    border: 0;
    border-radius: 6px;
    background: #fff;
}

.m-home-quick-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--m-border);
}

.m-home-quick-group__head h3 {
    position: relative;
    min-width: 0;
    padding-left: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.m-home-quick-group__head h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 16px;
    background: var(--m-primary);
    transform: translateY(-50%);
}

.m-home-quick-group__head a {
    flex: 0 0 auto;
    color: var(--m-primary);
    font-size: 12px;
    font-weight: 700;
}

.m-home-list-card {
    padding: 12px 12px 2px;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
}

.m-home-list-card__head {
    align-items: flex-start;
}

.m-home-list-card__head h3 {
    font-size: 16px;
    line-height: 1.45;
}

.m-home-quick-list,
.m-home-article-list {
    display: grid;
    gap: 0;
    margin-top: 6px;
    border-top: 1px solid var(--m-border);
}

.m-home-quick-list a,
.m-home-article-list a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--m-border);
    color: var(--m-text);
}

.m-home-quick-list a {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.m-home-quick-group .m-home-quick-list {
    margin-top: 6px;
    border-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.m-home-quick-group--stack .m-home-quick-list {
    grid-template-columns: 1fr;
}

.m-home-quick-group .m-home-quick-list a {
    display: grid;
    gap: 2px;
    min-height: 56px;
    padding: 7px 8px;
    border: 1px solid var(--m-border);
    border-radius: 6px;
    background: var(--m-surface-soft);
}

.m-home-quick-group .m-home-quick-list li:last-child a,
.m-home-quick-group .m-home-quick-list li a {
    border-bottom: 0;
}

.m-home-quick-list__text,
.m-home-article-list__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.m-home-quick-group .m-home-quick-list__text {
    color: var(--m-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 1;
}

.m-home-quick-group .m-home-quick-list__meta {
    display: block;
    overflow: hidden;
    color: var(--m-text-faint);
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-home-quick-list li:last-child a,
.m-home-article-list li:last-child a {
    border-bottom: 0;
}

.m-home-article-list__text {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.m-home-article-list__date {
    flex: 0 0 auto;
    padding-top: 2px;
    color: var(--m-text-faint);
    font-size: 12px;
    white-space: nowrap;
}

.m-home-list-card__head h3,
.m-home-list-card__head a,
.m-home-quick-list a,
.m-home-article-list__text {
    letter-spacing: 0;
}

.m-home-links-section .m-home-section__head p {
    white-space: normal;
}

.m-home-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    gap: 8px;
}

.m-home-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(216, 226, 239, 0.9);
    border-radius: 6px;
    background: rgba(243, 247, 252, 0.92);
    color: var(--m-text-soft);
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 350px) {
    .m-home-channel-grid,
    .m-home-daily__grid {
        grid-template-columns: 1fr;
    }

    .m-home-hero h1 {
        font-size: 24px;
        max-width: none;
    }

    .m-home-hero__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .m-home-list-card__head,
    .m-home-daily__quote-top,
    .m-home-daily__quote-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .m-home-hero__entry-grid,
    .m-home-hero__quick {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 560px) {
    .m-home-stack--dual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 720px) {
    .m-home-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .m-home-stack > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
