/* Homepage lead and article rivers. */
/* One shared color for every homepage post title and its link states. */
body .fo-home-post-title,
body .fo-home-post-title a {
    color: #191717 !important;
}

/* These media sections show the full image at its intrinsic proportions. */
body :is(.fo-podcast, .fo-video, .publications) .fo-post-img,
body :is(.fo-podcast, .fo-video, .publications) .fo-post-img > a,
body :is(.fo-podcast, .fo-video, .publications) .fo-post-img img {
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 0;
    max-height: none;
}

body :is(.fo-podcast, .fo-video, .publications) .fo-post-img {
    align-self: flex-start;
}

body :is(.fo-podcast, .fo-video, .publications) .fo-post-img img {
    display: block;
    width: 100%;
    object-fit: contain;
}

.fo-home-river .fo-home-river__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 22px;
    margin: 0;
    padding: 0;
}

.fo-home-river .fo-home-river__cards > li {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.fo-home-river .fo-home-river__cards > li:nth-child(n)::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: -11px;
    width: 1px;
    height: 100%;
    background: #d9d9d9;
}

.fo-home-river .fo-home-river__cards > li:last-child::after {
    display: none;
}

.fo-home-river .fo-home-river__cards .fo-post-img {
    width: 100%;
    height: auto;
    margin-bottom: 4px;
    overflow: hidden;
}

.fo-home-river .fo-home-story-meta {
    gap: 8px;
    margin-bottom: 2px;
}

.fo-home-river .fo-home-story-meta .cate-name,
.fo-home-river .fo-home-story-meta .cate-name a {
    margin: 0;
    color: #df0000;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
}

.fo-home-river .fo-home-river__cards h2 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.fo-home-river .fo-author,
.fo-home-river .fo-author a {
    color: #262626;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;
    text-transform: none;
}

@media (max-width: 768px) {
    .fo-home-river .fo-home-river__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fo-home-river .fo-home-river__cards > li:nth-child(2n)::after {
        display: none;
    }
}

.fo-home-top-articles__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fo-home-top-articles__list > li {
    list-style: none;
}

.fo-home-top-articles__list > li::marker {
    content: '';
}

.fo-home-top-articles__list li,
.fo-home-top-articles__list article {
    min-width: 0;
    height: 100%;
}

.fo-home-top-articles__list article {
    display: flex;
    flex-direction: column;
}

.fo-home-top-articles__rank {
    display: block;
    margin-bottom: 6px;
    color: #222;
    font-family: var(--fo-title-font);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.fo-home-top-articles__list h3 {
    margin: 0 0 6px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.fo-home-top-articles__list h3 a {
    color: inherit;
    text-decoration: none;
}

.fo-home-top-articles__list h3 a:hover {
    text-decoration: underline;
}

.fo-home-top-articles__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 10px;
    color: #262626;
    font-size: 14px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
}

.fo-home-top-articles__author {
    margin: auto 0 0;
    padding-top: 4px;
    color: #262626;
    font-size: 12px;
    line-height: 1.25;
}

.fo-home-top-articles__empty {
    margin: 0;
    color: #555;
    font-size: 14px;
}

.fo-home-top-articles__author a {
    color: inherit;
    text-decoration: none;
    font-family: var(--fo-label-font);
}

.swiper-content h2 a{color:#fff !important;}
.fo-home-top-articles__author a:hover,
.fo-home-top-articles__author a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fo-home-top-articles__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
}

@media (max-width: 479px) {
    .fo-home-top-articles__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
}

/* Devil's Advocate homepage feature. */
.fo-devils,
.fo-devils * {
    box-sizing: border-box;
}

.fo-devils__header {
    margin-bottom: 30px;
}

.fo-devils__header h2 {
    width: min(400px, 100%);
    margin: 0 0 10px;
    line-height: 0;
}

.fo-devils__header h2 a,
.fo-devils__header h2 img {
    display: block;
    width: 100%;
}

.fo-devils__header h2 img {
    height: auto;
}

.fo-devils__rule-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #252525;
    text-decoration: none;
}

.fo-devils__rule {
    flex: 1;
    border-top: 3px solid #767676;
}

.fo-devils__rule-row svg {
    flex: 0 0 16px;
}

.fo-devils__body {
    display: grid;
    grid-template-columns: minmax(0, 2.12fr) minmax(0, 1fr);
    gap: 22px;
}

.fo-devils__lead {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.fo-devils__lead-content,
.fo-devils__card-content {
    min-width: 0;
}

.fo-devils__lead-image {
    display: block;
    aspect-ratio: 16 / 10;
    min-width: 0;
    overflow: hidden;
}

.fo-devils__lead-image img,
.fo-devils__card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fo-devils__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 24px;
    gap: 12px;
    margin-bottom: 5px;
}

.fo-devils__category,
.fo-devils__category a {
    color: #df0000;
    font-family: var(--second-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

.fo-devils__bookmark {
    display: inline-flex;
    flex: 0 0 auto;
}

.fo-devils__bookmark a {
    color: #171717;
    transition: color 160ms ease;
}

.fo-devils__bookmark a:hover,
.fo-devils__bookmark a:focus-visible {
    color: #df0000;
}

.fo-devils__bookmark a,
.fo-devils__bookmark svg,
.fo-devils__bookmark img {
    display: block;
    width: 18px;
    height: 19px;
}

.fo-devils__bookmark .cbxwpbkmarktrig {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.fo-devils__bookmark .cbxwpbkmarktrig::before {
    display: none;
    content: none;
}

.fo-devils__bookmark .cbxwpbkmarktrig-icon {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 19px;
    background: url('../images/bookmark-off.svg') center / contain no-repeat;
}

.fo-devils__bookmark .cbxwpbkmarktrig:not(.cbxwpbkmarktrig-marked):hover .cbxwpbkmarktrig-icon,
.fo-devils__bookmark .cbxwpbkmarktrig:not(.cbxwpbkmarktrig-marked):focus-visible .cbxwpbkmarktrig-icon {
    background-image: url('../images/bookmark-hover.svg');
}

.fo-devils__bookmark .cbxwpbkmarktrig-marked .cbxwpbkmarktrig-icon {
    background-image: url('../images/bookmark-on.svg');
}

.fo-devils__bookmark .cbxwpbkmarktrig-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.fo-devils h3 {
    margin: 0;
    color: #171717;
    font-family: var(--fo-title-font);
    font-weight: 700;
}

.fo-devils h3 a {
    color: inherit;
    text-decoration: none;
}

.fo-devils h3 a:hover {
    text-decoration: underline;
}

.fo-devils__lead h3 {
    margin-bottom: 6px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.2;
}

.fo-devils__byline,
.fo-devils__card-author {
    margin: 0 0 10px;
    color: #444;
    font-size: 12px;
    line-height: 1.3;
}

.fo-devils__byline a,
.fo-devils__card-author a {
    color: inherit;
    text-decoration: none;
    font-family:var(--fo-label-font);
}

.fo-devils__byline {
    margin: 20px 0 0;
    font-size: 12px;
        font-family:var(--fo-label-font);
}
.fo-author a, .fo-podcast  .fo-author-light a,
.publication-right .fo-author-light a{color:#262626; font-weight:400; text-transform:capitalize;}

.fo-author-light a{color:#fff;}

.fo-devils__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #262626;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.fo-devils__more {
    min-width: 0;
    padding-left: 16px;
    border-left: 1px solid #d9d9d9;
}

.fo-devils__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
    gap: 12px;
    padding: 0 0 16px;
    margin: 0 0 14px;
    border-bottom: 1px solid #d9d9d9;
}

.fo-devils__card:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.fo-devils__card h3 {
    font-size: 18px;
    line-height: 1.2;
}

.fo-devils__card-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.fo-devils__card-author {
    display: none;
}

@media (min-width: 600px) and (max-width: 1023px) {
    .fo-devils__header {
        margin-bottom: 18px;
    }

    .fo-devils__header h2 {
        width: 360px;
    }

    .fo-devils__body {
        grid-template-columns: minmax(0, .64fr) minmax(0, 1fr);
        column-gap: 24px;
        row-gap: 14px;
    }

    .fo-devils__lead {
        display: contents;
    }

    .fo-devils__lead-content {
        grid-column: 1;
        align-self: center;
    }

    .fo-devils__lead-image {
        grid-column: 2;
        order: initial;
        align-self: center;
        min-height: 0;
        margin: 0;
        aspect-ratio: 16 / 10;
    }

    .fo-devils__lead h3 {
        font-size: clamp(18px, 2.45vw, 24px);
        line-height: 1.3;
    }


    .fo-devils__more {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: -1px;
        padding: 16px 0 0;
        border-top: 1px solid #d9d9d9;
        border-left: 0;
    }

    .fo-devils__card {
        grid-template-columns: minmax(0, 1fr) clamp(64px, 12vw, 96px);
        gap: 10px;
        margin: 0;
        padding: 0 14px;
        border-right: 1px solid #d9d9d9;
        border-bottom: 0;
    }

    .fo-devils__card:first-child {
        padding-left: 0;
    }

    .fo-devils__card:last-child {
        padding-right: 0;
        border-right: 0;
    }

    .fo-devils__card h3 {
        font-size: clamp(14px, 1.85vw, 18px);
        line-height: 1.2;
    }

    .fo-devils__card .fo-devils__meta {
        gap: 4px;
        margin-bottom: 5px;
    }

    .fo-devils__card .fo-devils__bookmark a,
    .fo-devils__card .fo-devils__bookmark svg,
    .fo-devils__card .fo-devils__bookmark img,
    .fo-devils__card .fo-devils__bookmark .cbxwpbkmarktrig-icon {
        width: 12px;
        height: 16px;
    }

    .fo-devils__card .fo-devils__bookmark .cbxwpbkmarktrig-icon {
        flex-basis: 12px;
    }

    .fo-devils__card-image {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 599px) {
    .fo-devils__header {
        margin-bottom: 24px;
    }

    .fo-devils__header h2 {
        width: 200px;
        margin-bottom: 8px;
    }

    .fo-devils__rule-row {
        gap: 7px;
    }

    .fo-devils__body {
        display: block;
    }

    .fo-devils__lead {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .fo-devils__lead-content {
        order: 1;
    }

    .fo-devils__lead-image {
        order: 2;
        margin: 12px 0 0;
        aspect-ratio: 1.58 / 1;
    }

    .fo-devils__lead h3 {
        font-size: 23px;
        line-height: 1.16;
    }

    .fo-devils__byline {
        margin-bottom: 12px;
    }

    .fo-devils__summary {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.3;
        -webkit-line-clamp: 4;
    }

    .fo-devils__more {
        margin-top: 12px;
        padding: 0;
        border-left: 0;
    }

    .fo-devils__card {
        grid-template-columns: minmax(0, 1fr) 80px;
        gap: 14px;
        padding: 10px 0;
        margin: 0;
     
        border-bottom: 0;
    }

    

    .fo-devils__card h3 {
        font-size: 18px;
        line-height: 1.17;
    }

    .fo-devils__card-image {
        aspect-ratio: 1 / 1;
    }

    
}

/* Newsletter signup below the interactive gallery. */
.fo-home-newsletter,
.fo-home-newsletter * {
    box-sizing: border-box;
}

.fo-home-newsletter__panel {
    padding: 38px clamp(20px, 5vw, 62px) 40px;
    border: 2px solid #df0000;
    border-radius: 16px;
    background: #f8d0d0;
    color: #000;
}

.fo-home-newsletter h2 {
    margin: 0 0 22px;
    text-align: center;
    font-size: clamp(32px, 2.45vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.fo-home-newsletter__choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fo-home-newsletter__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 210px;
    padding: 22px 26px 20px;
    border: 2px solid #fff;
    border-radius: 14px;
    box-shadow: 0 2px 3px #0002;
}

.fo-home-newsletter__card:has(input:checked) {
    border-color: #df0000;
    background: #ed7b7b;
}

.fo-home-newsletter__card label {
    display: block;
    position: relative;
    padding-right: 31px;
    cursor: pointer;
}

.fo-home-newsletter__card input[type="checkbox"] {
    appearance: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.fo-home-newsletter__card input[type="checkbox"]:checked {
    border-color: #df0000;
}

.fo-home-newsletter__card input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #df0000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fo-home-newsletter__card input[type="checkbox"]:focus-visible,
.fo-home-newsletter :is(input[type="email"], button, a):focus-visible {
    outline: 2px solid #b60000;
    outline-offset: 3px;
}

.fo-home-newsletter__name,
.fo-home-newsletter__description,
.fo-home-newsletter__frequency {
    display: block;
}

.fo-home-newsletter__name {
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.fo-home-newsletter__description,
.fo-home-newsletter__frequency {
    font-size: 18px;
    line-height: 1.3;
}

.fo-home-newsletter__frequency {
    margin-top: 16px;
}

.fo-home-newsletter__card > a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  color: #000;
  font-size: 18px;
  line-height: 1.3;
  text-decoration: underline;
  opacity: 0.75;
}

.fo-home-newsletter__signup {
    display: flex;
    width: 100%;
    height: 38px;
    margin-top: 20px;
    border: 1px solid #777;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.fo-home-newsletter__signup input[type="email"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 13px;
}

.fo-home-newsletter__signup button {
    flex: 0 0 95px;
    height: 100%;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: #df0000;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.fo-home-newsletter__signup button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.fo-home-newsletter__legal {
    margin: 13px 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
}

.fo-home-newsletter__legal a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .fo-home-newsletter__choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fo-home-newsletter__card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .fo-home-newsletter.container {
        width: calc(100% - 10px) !important;
    }

    .fo-home-newsletter__panel {
        padding: 38px 26px 40px;
    }

    .fo-home-newsletter h2 {
        margin-bottom: 22px;
        font-size: 22px;
        line-height: 1.15;
    }

    .fo-home-newsletter__choices {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .fo-home-newsletter__card:last-child {
        grid-column: auto;
    }

    .fo-home-newsletter__card {
        min-height: 82px;
        padding: 14px 13px;
    }

    .fo-home-newsletter__name {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .fo-home-newsletter__description {
        font-size: 14px;
    }

    .fo-home-newsletter__frequency,
    .fo-home-newsletter__card > a {
        display: none;
    }

    .fo-home-newsletter__signup button {
        flex-basis: 87px;
    }
}

@media (max-width: 399px) {
    .fo-home-newsletter__panel {
        padding-right: 18px;
        padding-left: 18px;
    }

    .fo-home-newsletter h2 {
        font-size: 20px;
    }
}

/* Curated lead content is supplied by homepage-lead.php. */
.fo-home-lead,
.fo-home-lead * {
    box-sizing: border-box;
}

.fo-home-lead {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 2.2fr) minmax(0, 0.96fr);
    align-items: stretch;
    gap: 32px;
    margin-top: 24px;
    margin-bottom: 48px;
    color: #262626;
    font-family: var(--fo-body-font);
}

.fo-home-lead :is(article, aside) {
    min-width: 0;
}

.fo-home-lead a {
color: inherit;
    text-decoration: none;
}

.fo-home-lead a:hover {
    text-decoration: underline;
}

.fo-home-lead a:focus-visible {
    outline: 2px solid #df0000;
    outline-offset: 4px;
}

.fo-home-support {
    position: relative;
    padding: 36px 28px;
    background: #000;
    color: #fff;
}

.fo-home-support::after {
    content: "";
    position: absolute;
    top: 0;
    right: -17px;
    bottom: 0;
    border-right: 1px solid #d9d9d9;
}

.fo-home-support h2 {
    padding: 0;
    margin: 0 0 12px;
    font-family: var(--fo-title-font);
    font-size: clamp(24px, 2.1vw, 28px);
    line-height: 1.2;
    font-weight: 700;
}

.fo-home-support p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.3;
}

.fo-home-support .fo-home-support__compact {
    display: none;
}

.fo-home-support .fo-home-support__button {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    color: #000;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.fo-home-feature {
    display: flex;
    flex-direction: column;
    margin: 0;
  
    border-radius: 0 0 4px 4px;
}

.fo-home-feature__image {
    display: block;
    aspect-ratio: 8 / 5;
    overflow: hidden;
}

.fo-home-feature__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.fo-home-feature__content {
    flex: 1;
    padding: 18px 24px 22px;
    background: #fff;
    border-radius:4px;
    position: relative;
  z-index: 999;
  top: -3px;
  box-shadow: 0 2px 8px #0003;
}

.fo-home-story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 24px;
    margin-bottom: 10px;
}

.fo-home-lead .fo-home-category {
    color: #df0000;
    font-family: var(--fo-label-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.fo-home-bookmark {
    display: inline-flex;
    flex: 0 0 24px;
    justify-content: flex-end;
}

.fo-home-bookmark a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    color: #171717;
    transition: color 160ms ease;
}

.fo-home-bookmark a:hover,
.fo-home-bookmark a:focus-visible {
    color: #df0000;
}

.fo-home-bookmark svg {
    width: 18px;
    height: 21px;
}

.fo-home-bookmark .cbxwpbkmarktrig {
    display: inline-flex;
    margin: 0;
}

.fo-home-bookmark .cbxwpbkmarktrig::before {
    display: none;
}

.fo-home-bookmark .cbxwpbkmarktrig-icon {
    display: inline-block;
    width: 18px;
    height: 21px;
    background: url('../images/bookmark-off.svg') center / contain no-repeat;
    transition: background-image 160ms ease;
}

.fo-home-bookmark .cbxwpbkmarktrig:not(.cbxwpbkmarktrig-marked):hover .cbxwpbkmarktrig-icon,
.fo-home-bookmark .cbxwpbkmarktrig:not(.cbxwpbkmarktrig-marked):focus-visible .cbxwpbkmarktrig-icon {
    background-image: url('../images/bookmark-hover.svg');
}

.fo-home-bookmark .cbxwpbkmarktrig-marked .cbxwpbkmarktrig-icon {
    background-image: url('../images/bookmark-on.svg');
}

.fo-home-bookmark .cbxwpbkmarktrig-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.fo-home-lead .fo-home-feature__title {
    margin: 0 0 8px;
    padding: 0;
    font-family: var(--fo-title-font);
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: break-word;
}

.fo-home-feature__summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.3;
}

.fo-home-feature__byline {
    font-family: var(--fo-label-font);
    font-size: 12px;
    line-height: 1.3;
}

.fo-home-feature__byline>span {
    padding: 0 5px;
}

.fo-home-feature__byline time {
    font-family: var(--fo-body-font);
}

.fo-home-editors {
    display: flex;
    flex-direction: column;
    position: relative;
}

.fo-home-editors::before {
  content: "";
  position: absolute;
  top: 0;
  left: -17px;
  bottom: 0;
  border-right: 1px solid #d9d9d9;
}


.fo-home-editors .fo-section-label {
    padding: 0;
    margin: 0 0 18px;
}

.fo-home-editors__list {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 24px;
    
}

.fo-home-editor-card {
    margin: 0;
    padding: 0;
}

.fo-home-editor-card .fo-home-story-meta {
    margin-bottom: 8px;
}

.fo-home-editor-card h3 {
    margin: 0 0 6px;
    padding: 0;
    font-family: var(--fo-title-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.fo-home-editor-card p {
    display: -webkit-box;

    overflow: hidden;
    font-size: 12px;
    line-height: 16px;
    margin: 0;
    color: #414141;
}

/* Narrow desktop: avoid empty space from equal-height Editor's Picks rows. */
@media (min-width: 1025px) and (max-width: 1250px) {
    .fo-home-editors__list {
        grid-template-rows: none;
        grid-auto-rows: auto;
        align-content: start;
        gap: 16px;
    }

   .fo-home-editor-card p {
        display: -webkit-box;
  overflow: hidden;
  margin: 0 0 10px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
    }
    .fo-home-feature__summary{
        -webkit-line-clamp: 5;
    }
}

@media (min-width:870px) and (max-width: 1024px) {
  .fo-home-feature__summary {
font-size:12px;
    -webkit-line-clamp: 8;
  }
}

@media (min-width:769px) and (max-width: 869px) {
  .fo-home-feature__summary {
font-size:12px;
    -webkit-line-clamp: 5;
  }
}

/* Compact desktop/tablet: story first, then the support strip and editor row. */
@media (max-width: 1024px) {
    .fo-home-lead {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
.fo-home-feature__content{top: 0;}
    .fo-home-feature {
        grid-row: 1;
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }

    .fo-home-feature__image {
        align-self: start;
    }

    .fo-home-feature__content {
        padding: 16px;
    }

    .fo-home-lead .fo-home-feature__title {
        display: -webkit-box;
   
        overflow: hidden;
        font-size: 18px;
        line-height: 1.2;
    }

   

  .fo-home-editors::before{display:none;}
 

    .fo-home-support {
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 16px;
        align-items: start;
        padding: 16px;
    }

    .fo-home-support::after {
        display: none;
    }

    .fo-home-support .fo-home-support__desktop,
    .fo-home-support .fo-home-support__detail {
        display: none;
    }

    .fo-home-support .fo-home-support__compact {
        display: block;
    }

    .fo-home-support h2 {
        margin: 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .fo-home-support p {
        grid-column: 1 / -1;
        margin: 0;
        font-size: 12px;
    }

    .fo-home-support .fo-home-support__button {
        grid-column: 2;
        grid-row: 1;
        padding: 5px 9px;
        font-size: 14px;
    }

    .fo-home-editors {
        grid-row: 3;
        padding: 0;
        border-left: 0;
    }

    .fo-home-editors__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 0;
        padding: 16px 0;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .fo-home-editor-card {
        padding: 0 16px;
        border-left: 1px solid #ddd;
    }

    .fo-home-editor-card:first-child {
        padding-left: 0;
        border-left: 0;
    }

    .fo-home-editor-card:last-child {
        padding-right: 0;
    }

    .fo-home-editor-card h3 {
        font-size: 14px;
        margin: 0;
    }

    .fo-home-editor-card p {
        display: none;
    }
     .fo-home-newsletter__choices {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .fo-home-newsletter__card > a, .fo-home-newsletter__frequency{display:none;}
  .fo-home-newsletter__card{min-height:inherit;}
  .fo-home-newsletter__description, .fo-home-newsletter__frequency {
  font-size: 14px;
}
.fo-home-newsletter__name{margin-bottom:15px;}
}

/* Mobile reading order: support, category/title/byline, image, summary, editors. */
@media (max-width: 768px) {
    .fo-home-lead {
        margin-top: 20px;
        gap: 24px;
    }

   .fo-home-support {
    grid-row: 1;
    margin-left: -56px;
    margin-right: -56px;
    padding-left: 56px;
    padding-right: 56px;
  }

    .fo-home-feature {
        grid-row: 2;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .fo-home-feature__content {
        display: contents;
    }

    .fo-home-feature .fo-home-story-meta {
        grid-row: 1;
        margin-bottom: 8px;
    }

    .fo-home-lead .fo-home-feature__title {
        display: block;
        grid-row: 2;
        font-size: 24px;
        margin-bottom: 6px;
    }

    .fo-home-feature__byline {
        grid-row: 3;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .fo-home-feature__image {
        grid-row: 4;
        width: 100%;
    }

    .fo-home-feature__summary {
        grid-row: 5;
        margin: 14px 0 8px;
        font-size: 14px;
        line-height: 1.3;
        -webkit-line-clamp: 4;
    }

    .fo-home-editors .fo-section-label {
        margin-bottom: 18px;
    }
    .fo-home-lead .fo-home-editor-card .fo-home-category{
font-size:12px;
    }
    .fo-home-river .fo-home-story-meta .cate-name, .fo-home-river .fo-home-story-meta .cate-name a {
  font-size: 12px;
}
.fo-home-river .fo-home-river__cards h2 {
  font-size: 14px;
}
 .fo-home-top-articles__list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 15px 24px;

  }
  .fo-home-top-articles__list article {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .fo-home-top-articles__list article .fo-home-top-articles__summary,
  .fo-home-top-articles__list article .fo-home-top-articles__author{display:none;}
  .fo-home-top-articles__rank{font-size:24px;}
  .fo-home-top-articles__list h3{font-size:16px;}
  .fo-home-top-articles__list > li {

  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 10px;
}
 .fo-home-top-articles__list > li:last-child{border:none; padding-bottom:0;}

 .fo-home-newsletter h2 {
  font-size: clamp(24px, 2.45vw, 32px);
}
.fo-home-newsletter__name{font-size:16px;}
 .fo-devils__header h2 {
    width: 200px;
  }
   .fo-devils__body {
    grid-template-columns: 1fr;

  }
    .fo-devils__lead-image {
    grid-column: inherit;
    }
     .fo-devils__lead h3 {
    font-size: clamp(24px, 2.45vw, 24px);

  }
  .fo-devils__lead-content{display: flex; flex-wrap:wrap;}
  .fo-devils__summary{order:4;}
  .fo-devils__byline {
  margin: 0 0 20px 0;

}
.fo-devils__more {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-top: -1px;
    padding: 16px 0 0;
    border-top: 1px solid #d9d9d9;
    border-left: 0;
  }
  .fo-devils__card{padding:0; border-bottom:1px solid #d9d9d9; padding-bottom:15px; margin-bottom:15px;}
   .fo-devils__card h3 {
    font-size: clamp(18px, 1.85vw, 18px);
    line-height: 1.2;
  }
  .fo-devils__category, .fo-devils__category a {
  font-size: 12px;
}
.podcast-right .fo-post-content h2, .podcast-left-post .fo-post-content h2 {
  font-size: 18px;
  margin: 0 0 5px;
  line-height: 1.2;
}
.publication-left {
  width: 100%;
  text-align: center;
}
.publication-right {
  width: 100%;
}
 .fo-home-newsletter.container {
    width: calc(100% - 32px) !important;
  }
}

@media (max-width: 479px) {
    .fo-home-support {
    grid-row: 1;
    margin-left: -32px;
    margin-right: -32px;
  }
  .podcast-in-section.h-pod-main .podcast-left-post article .fo-post-title {
    font-size: 18px;
    line-height: 1.2;
    margin-top:15px;
  }
  .fo-home-big-news .fo-top-post-content .fo-author, .fo-author {
    font-size: 12px;
  }
 
}
@media (max-width: 479px) {
    .fo-home-lead {
        margin-top: 16px;
        gap: 22px;
    }

    .fo-home-support {
        margin: 0 -16px;
        padding: 16px;
        gap: 8px;
    }
.fo-devils__more{margin-top: 15px;}
  

    .fo-home-lead .fo-home-feature__title {
        font-size: 24px;
    }

    .fo-home-feature__summary {
        -webkit-line-clamp: 5;
    }

    .fo-home-editors__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fo-home-editor-card:nth-child(n + 3) {
        display: none;
    }

    .fo-home-editor-card:nth-child(2) {
        padding-right: 0;
    }

    .fo-home-editor-card h3 {
        font-size: 14px;
    }
}
