/* ============================================================
   common.css — shared components for the NEW Enago Korea pages
   ------------------------------------------------------------
   Reusable section components that can appear on any page
   (styles here, behavior in js/common-new.js, markup per page).
   NOTE: this is a NEW file — never merge old CSS into it.
   Component prefix: .nwst-…
   ============================================================ */

/* ============================================================
   Testimonial slider (연구자들이 말하는 이나고)
   Markup: section.nwst-testi > .nwst-container >
           h2.nwst-testi-title + p.nwst-testi-sub +
           .nwst-testi-slider[data-nwst-slider] +
           .nwst-testi-cta
   ============================================================ */
.nwst-testi {
    background: #293242;
    padding: 60px 0;
}

.nwst-testi .nwst-container,
.nwst-testi .nwst-testi-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.nwst-testi-title {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #fff;
    text-align: center;
    margin: 0 0 29px;
}

.nwst-testi-sub {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    text-align: center;
    margin: 0 0 30px;
}

.nwst-testi-slider {
    position: relative;
    max-width: 768px;
    margin: 0 auto;
}

.nwst-testi-viewport {
    position: relative;
}

.nwst-testi-slide {
    display: none;
    align-items: flex-start;
    gap: 50px;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    min-height: 329px;
}

.nwst-testi-slide.is-active {
    display: flex;
    animation: nwst-testi-fade .45s ease;
}

/* Directional slide-in (like the accepted-papers carousel):
   left/prev button → enters from the right (moves right → left),
   right/next button → enters from the left (moves left → right). */
.nwst-testi-slide.is-active.slide-rtl {
    animation: nwst-testi-in-rtl .45s ease both;
}

.nwst-testi-slide.is-active.slide-ltr {
    animation: nwst-testi-in-ltr .45s ease both;
}

@keyframes nwst-testi-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes nwst-testi-in-rtl {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes nwst-testi-in-ltr {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nwst-testi-slide.is-active,
    .nwst-testi-slide.is-active.slide-rtl,
    .nwst-testi-slide.is-active.slide-ltr {
        animation: none;
    }
}

.nwst-testi-photo {
    flex: none;
    width: 128px;
    height: 128px;
    border: 3px solid #F4F5F5;
    border-radius: 50%;
    overflow: hidden;
}

.nwst-testi-photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.nwst-testi-body {
    flex: 1;
    min-width: 0;
}

.nwst-testi-quote {
    display: block;
    height: 34px;
    overflow: hidden;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 64px;
    color: #D52B1E;
    margin-bottom: 14px;
}

.nwst-testi-text {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #1D1D1D;
    margin: 0 0 22px;
}

.nwst-testi-meta {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.nwst-testi-meta p {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #1D1D1D;
    margin: 0;
}

.nwst-testi-meta p strong {
    font-weight: 600;
}

/* Round prev/next arrows, half outside the card edges */
button.nwst-testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 11.5px rgba(0, 0, 0, .1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform .2s ease, box-shadow .2s ease;
}

button.nwst-testi-arrow:hover {
    box-shadow: 0 2px 14px rgba(0, 0, 0, .2);
}

button.nwst-testi-arrow.prev {
    left: -20px;
}

button.nwst-testi-arrow.next {
    right: -20px;
}

.nwst-testi-arrow svg {
    display: block;
}

/* Dots */
.nwst-testi-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

button.nwst-testi-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
    transition: all .25s ease;
}

button.nwst-testi-dot.is-active {
    width: 12px;
    height: 12px;
    background: #fff;
}

/* Yellow CTA below the slider */
.nwst-testi-cta {
    text-align: center;
    margin-top: 30px;
}

a.nwst-testi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 52px;
    padding: 14px 50px;
    background: #FFDA00;
    border-radius: 3px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    transition: all .3s ease;
}

a.nwst-testi-btn:hover,
a.nwst-testi-btn:focus {
    color: #000;
    text-decoration: none;
    background: #F2CF00;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

@media screen and (max-width: 991px) {
    .nwst-testi-slider {
        max-width: calc(100% - 40px);
    }
}

/* ============================================================
   Accepted papers carousel (투고 성공 논문)
   Markup: section.nwst-ap > .nwst-container >
           h2.nwst-ap-title + .nwst-ap-stage[data-nwst-papers]
           ( .nwst-ap-main > .nwst-ap-slide* | .nwst-ap-thumbs )
           + .nwst-ap-nav (prev/next)
   Layout per Figma "Accepted papers section"; carousel behavior
   in js/common-new.js (featured slide + next-covers strip).
   ============================================================ */
.nwst-ap {
    background: #F4ECE6;
    padding: 80px 0;
}

.nwst-ap-title {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #000;
    text-align: center;
    margin: 0;
}

.nwst-ap-stage {
    max-width: 1080px;
    margin: 0 auto;
    padding-top: 50px;
    display: flex;
    align-items: flex-end;
    gap: 48px;
}

.nwst-ap-main {
    flex: 0 0 694px;
    max-width: 100%;
}

.nwst-ap-slide {
    display: none;
    align-items: flex-end;
    gap: 20px;
    /* fixed cover height keeps every slide the same height — no reflow jump */
    min-height: 277px;
}

.nwst-ap-slide.is-active {
    display: flex;
    animation: nwst-ap-fade .45s ease both;
}

.nwst-ap-cover {
    flex: 0 0 215px;
}

.nwst-ap-cover img,
.nwst-ap-thumb img {
    display: block;
    width: 100%;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    background: #FFFFFF;
    aspect-ratio: 215 / 277;
    -o-object-fit: cover;
    object-fit: cover;
}

.nwst-ap-thumb img {
    aspect-ratio: 153 / 198;
}

.nwst-ap-info {
    flex: 1 1 auto;
    min-width: 0;
}

.nwst-ap-if {
    display: inline-block;
    background: #283342;
    border-radius: 4px;
    padding: 4px 16px;
    font-family: 'Open Sans', 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.nwst-ap-paper {
    font-family: 'Open Sans', 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #141414;
    margin: 0 0 20px;
}

.nwst-ap-meta {
    display: flex;
    gap: 4px;
    margin: 0 0 9px;
    font-family: 'Open Sans', 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #283342;
}

.nwst-ap-meta:last-child {
    margin-bottom: 0;
}

.nwst-ap-meta b {
    font-weight: 600;
    color: #283341;
    flex: 0 0 auto;
}

.nwst-ap-thumbs {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    gap: 32px;
    overflow: hidden;
}

.nwst-ap-thumb {
    flex: 0 0 153px;
    animation: nwst-ap-fade .45s ease both;
    cursor: pointer;
    transition: transform .2s ease;
}

.nwst-ap-thumb:hover,
.nwst-ap-thumb:focus {
    transform: translateY(-4px);
    outline: 0;
}

.nwst-ap-thumb:hover img,
.nwst-ap-thumb:focus img {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

@keyframes nwst-ap-fade {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nwst-ap-slide.is-active,
    .nwst-ap-thumb {
        animation: none;
    }
}

/* Bottom-centered round prev/next; "더 보기" link pinned to the stage's right edge */
.nwst-ap-nav {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 32px;
}

/* Inside the carousel nav the card-more link keeps its look (new-homepage.css)
   but is pinned to the stage's right edge, on the arrows' line */
.nwst-ap-nav a.nwst-card-more {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 40px;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

button.nwst-ap-arrow {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 11.5px rgba(0, 0, 0, .1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .2s ease;
}

button.nwst-ap-arrow:hover {
    box-shadow: 0 2px 14px rgba(0, 0, 0, .2);
}

button.nwst-ap-arrow svg {
    display: block;
}

/* ============================================================
   FAQ accordion (자주 하는 질문)
   Markup: section.nwst-faq > .nwst-container >
           h2.nwst-faq-title + .nwst-faq-list[data-nwst-faq]
           ( .nwst-faq-item > button.nwst-faq-q + .nwst-faq-a )
   Behavior in js/common-new.js — one item open at a time.
   ============================================================ */
.nwst-faq {
    background: #F4F5F5;
    padding: 60px 0;
}

.nwst-faq .nwst-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.nwst-faq-title {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #000;
    text-align: center;
    margin: 0 0 30px;
}

.nwst-faq-list {
    max-width: 1080px;
    margin: 0 auto;
}

.nwst-faq-item {
    border-bottom: 1px solid #DDDDDD;
}

button.nwst-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 16px 0;
    margin: 0;
    background: none;
    border: 0;
    outline: 0;
    cursor: pointer;
    text-align: left;
}

.nwst-faq-qtext {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
    color: #000;
}

.nwst-faq-qtext b {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 27px;
    color: #000;
    flex: none;
}

.nwst-faq-icon {
    flex: none;
    margin-top: 6px;
    transition: transform .25s ease;
}

.nwst-faq-item.is-open .nwst-faq-icon {
    transform: rotate(180deg);
}

/* Answer collapses/expands with an animated height (js/common-new.js drives
   the px values); bottom spacing lives on the last <p> so the closed state
   collapses to a true 0 height. */
.nwst-faq-a {
    height: 0;
    overflow: hidden;
    padding: 0 10px 0 28px;
    transition: height .35s ease;
}

.nwst-faq-item.is-open .nwst-faq-a {
    height: auto;
}

.nwst-faq-a p {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    margin: 0 0 8px;
}

.nwst-faq-a p:last-child {
    margin-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .nwst-faq-a {
        transition: none;
    }
}

@media screen and (max-width: 767px) {
    .nwst-faq {
        padding: 44px 0;
    }

    .nwst-faq-title {
        font-size: 24px;
        line-height: 36px;
        margin-bottom: 20px;
    }

    .nwst-faq-a {
        padding-left: 20px;
    }
}

@media screen and (max-width: 991px) {
    .nwst-ap-thumbs {
        display: none;
    }

    .nwst-ap-main {
        flex: 1 1 auto;
    }
}

@media screen and (max-width: 767px) {
    .nwst-ap {
        padding: 50px 0;
    }

    .nwst-ap-title {
        font-size: 24px;
        line-height: 36px;
    }

    .nwst-ap-stage {
        padding-top: 30px;
    }

    .nwst-ap-slide,
    .nwst-ap-slide.is-active {
        flex-direction: column;
        align-items: center;
    }

    .nwst-ap-cover {
        flex: 0 0 auto;
        width: 180px;
    }

    .nwst-ap-info {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .nwst-testi {
        padding: 44px 0;
    }

    .nwst-testi-title {
        font-size: 24px;
        line-height: 36px;
        margin-bottom: 16px;
    }

    .nwst-testi-sub {
        font-size: 16px;
        line-height: 26px;
    }

    .nwst-testi-slide {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        min-height: 0;
        padding: 20px 28px;
    }

    .nwst-testi-photo {
        width: 96px;
        height: 96px;
    }

    .nwst-testi-body {
        width: 100%;
    }

    .nwst-testi-quote {
        height: 26px;
        font-size: 48px;
        line-height: 48px;
        margin-bottom: 10px;
    }

    .nwst-testi-text {
        font-size: 13px;
        line-height: 21px;
        margin-bottom: 16px;
    }

    .nwst-testi-meta {
        gap: 8px 30px;
    }

    .nwst-testi-meta p {
        font-size: 13px;
        line-height: 21px;
    }

    button.nwst-testi-arrow.prev {
        left: -14px;
    }

    button.nwst-testi-arrow.next {
        right: -14px;
    }
}

/* ============================================================
   Editor profiles (학문 분야별 전문 에디터) — Figma order-7 section
   Markup: section.nwst-editors[data-nwst-editors] > .nwst-container >
           h2.nwst-editors-title + p.nwst-editors-sub +
           .nwst-editors-tabs (button[data-nwst-etab]) +
           .nwst-editors-pane[data-nwst-epane]
           ( .nwst-editors-carousel > arrow.prev + .nwst-editors-track + arrow.next
             + p.nwst-editors-more ) + .nwst-editors-cta
   The dark pill tab bar overlaps the white panel below it.
   Behavior in js/common-new.js — tab switching + paged scrolling.
   ============================================================ */
.nwst-editors {
    /* Sand/50 */
    background: #FAF8F6;
    padding: 80px 0;
}

.nwst-editors .nwst-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
}

.nwst-editors-title {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #000;
    text-align: center;
    margin: 0 0 30px;
}

.nwst-editors-sub {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #535C68;
    text-align: center;
    margin: 0 0 50px;
}

/* dark pill tab bar (Figma Frame 2095585348: 1010×61, radius 50),
   overlapping the white panel below by half its height */
.nwst-editors-tabs {
    display: flex;
    position: relative;
    z-index: 2;
    width: 1010px;
    max-width: 100%;
    margin: 0 auto -31px;
    padding: 5px;
    background: #293242;
    box-shadow: 0px 0px 20px rgba(246, 216, 217, 0.5);
    border-radius: 50px;
}

.nwst-editors-tabs button {
    flex: 1 1 0;
    padding: 12px 20px;
    border: 0;
    background: transparent;
    border-radius: 50px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    white-space: nowrap;
    cursor: pointer;
}

.nwst-editors-tabs button.is-active {
    background: #FFFFFF;
    font-weight: 600;
    color: #293242;
}

/* white rounded panel that hosts the carousel (Background+Border+Shadow) */
.nwst-editors-pane {
    background: #FFFFFF;
    border: 1px solid rgba(230, 230, 230, 0.76);
    box-shadow: 0px 0px 20px rgba(29, 29, 29, 0.05);
    border-radius: 20px;
    padding: 50px 25px 21px;
}

.nwst-editors-carousel {
    position: relative;
}

/* clip box; js/common-new.js wraps the cards in a .nwst-editors-strip and
   loops them one card per arrow click by reordering + translating the strip */
.nwst-editors-track {
    overflow: hidden;
}

.nwst-editors-strip {
    display: flex;
    gap: 15px;
}

/* flat slides separated by faded vertical dividers (no card chrome) */
a.nwst-editors-card {
    flex: 0 0 calc((100% - 30px) / 3);
    position: relative;
    display: block;
    padding: 0 20px;
    min-height: 285px;
    border-radius: 4px;
    text-decoration: none;
}

a.nwst-editors-card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: linear-gradient(1.14deg, rgba(222, 222, 222, 0) 0%, rgba(222, 222, 222, 0.65) 50%, rgba(222, 222, 222, 0) 100%);
}

a.nwst-editors-card:last-child::after {
    display: none;
}

a.nwst-editors-card:hover,
a.nwst-editors-card:focus {
    text-decoration: none;
}

.nwst-editors-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    min-height: 100px;
    padding: 10px 0;
}

.nwst-editors-photo {
    flex: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
}

.nwst-editors-degree {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #000;
    min-width: 0;
}

.nwst-editors-degree strong {
    display: block;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
}

/* flag chip pinned to the head's top-right (Figma 32×20, radius 3) */
.nwst-editors-flag {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 20px;
    border-radius: 3px;
    -o-object-fit: cover;
    object-fit: cover;
}

/* centered experience row over a hairline (Figma HorizontalBorder) */
.nwst-editors-exp {
    border-top: 1px solid #E5E5E5;
    padding: 7px 0 16px;
    text-align: left;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
}

.nwst-editors-exp strong {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    margin-right: 8px;
    vertical-align: middle;
}

.nwst-editors-aoe {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: #000;
    margin-bottom: 6px;
}

.nwst-editors-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.nwst-editors-tags li {
    background: #E5E5E5;
    border-radius: 3px;
    padding: 6.4px 8px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 14px;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

/* round prev/next just outside the white panel (Figma Button - previous/next) */
button.nwst-editors-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0px 1px 4px 2px #CCCCCC;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

button.nwst-editors-arrow.prev {
    left: -45px;
}

button.nwst-editors-arrow.next {
    right: -45px;
}

.nwst-editors-arrow svg {
    display: block;
}

.nwst-editors-more {
    text-align: right;
    margin: 10px 0 0;
}

.nwst-editors-more a {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #0000FF;
    text-decoration: underline;
}

.nwst-editors-more a:hover,
.nwst-editors-more a:focus {
    color: #0000FF;
    text-decoration: none;
}

/* yellow quote CTA below the panel (Figma Link 236×60) */
.nwst-editors-cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

a.nwst-editors-btn {
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 236px;
    height: 60px;
    background: #FFDA00;
    border-bottom: 2px solid #E9C700;
    border-radius: 3px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #000000;
    text-decoration: none;
    transition: background-color .2s ease-in-out;
}

a.nwst-editors-btn:hover,
a.nwst-editors-btn:focus {
    color: #000000;
    text-decoration: none;
    /* same hover as .new_mid_cta on top-impact-editing.htm */
    background-color: #E9C700;
}

@media screen and (max-width: 1279px) {

    /* narrower viewports: arrows tuck inside the panel */
    button.nwst-editors-arrow.prev {
        left: -14px;
    }

    button.nwst-editors-arrow.next {
        right: -14px;
    }
}

@media screen and (max-width: 991px) {
    .nwst-editors-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 30px;
    }

    .nwst-editors-tabs button {
        flex: 1 0 auto;
        padding: 10px 16px;
        font-size: 16px;
    }

    a.nwst-editors-card {
        flex-basis: calc((100% - 15px) / 2);
    }
}

@media screen and (max-width: 767px) {
    .nwst-editors {
        padding: 50px 0;
    }

    .nwst-editors-title {
        font-size: 24px;
        line-height: 36px;
    }

    .nwst-editors-pane {
        padding: 40px 16px 16px;
    }

    a.nwst-editors-card {
        flex-basis: 100%;
    }
}
