.news-masthead {
    --news-masthead-ink: #241f15;
    --news-masthead-yellow: #ffdc42;
    --news-masthead-menu-column: 94px;
    --news-masthead-brand-size: 26px;
    --news-masthead-band-height: 110px;
    padding-top: calc(var(--header-height, 70px) + env(safe-area-inset-top, 0px));
    background: #fff;
    color: var(--news-masthead-ink);
}

.news-masthead,
.news-masthead + .news-container--editorial {
    --news-masthead-gutter: 0px;
}

html body .news-masthead + .news-container--editorial {
    padding-top: 10px !important;
    padding-right: calc(var(--news-masthead-gutter) + env(safe-area-inset-right, 0px)) !important;
    padding-left: calc(var(--news-masthead-gutter) + env(safe-area-inset-left, 0px)) !important;
}

.news-masthead__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: calc(var(--news-masthead-gutter) + env(safe-area-inset-right, 0px));
    padding-left: calc(var(--news-masthead-gutter) + env(safe-area-inset-left, 0px));
}

.news-masthead__utility {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
}

.news-masthead__rss,
.news-masthead__admin-trigger {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #444033;
    font: 650 13px/1 Pretendard, sans-serif;
    text-decoration: none;
}

.news-masthead__admin {
    position: relative;
    z-index: 46;
}

.news-masthead__admin-trigger {
    cursor: pointer;
}

.news-masthead__admin-menu {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    min-width: 144px;
    padding: 4px;
    border-radius: 9px;
    background: #fff9e5;
}

.news-masthead__admin-menu.show {
    display: grid;
}

.news-masthead__admin-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 12px;
    border-radius: 6px;
    color: var(--news-masthead-ink);
    font-size: 14px;
    text-decoration: none;
}

.news-masthead__main {
    padding: 5px 0;
    background: var(--news-masthead-yellow);
}

.news-masthead__row {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: clamp(8px, 1.5vw, 18px);
    padding-top: 5px;
    padding-bottom: 3px;
}

.news-masthead__brand {
    flex: 0 0 auto;
    margin: 0;
    font-size: var(--news-masthead-brand-size);
    font-weight: 740;
    line-height: 1.15;
    letter-spacing: -0.06em;
}

.news-masthead__brand a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 6px;
    color: var(--news-masthead-ink);
    text-decoration: none;
}

.news-masthead__search {
    display: flex;
    flex: 0 1 510px;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    margin: 0;
    padding: 0 4px 0 12px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
}

.news-masthead__search .news-search-scope,
.news-masthead__search .news-search-scope-native {
    flex-basis: 132px;
}

.news-masthead__search .news-search-scope-native,
.news-masthead__search .news-search-scope__trigger {
    border: 0;
    border-radius: 8px;
    color: var(--news-masthead-ink);
    font-size: 14px;
    text-align: left;
}

.news-masthead__search .news-search-scope__list {
    z-index: 40;
    left: -4px;
    border-color: #e8d69a;
    border-radius: 10px;
    box-shadow: none;
}

.news-masthead__search input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--news-masthead-ink);
    font: inherit;
    font-size: 16px;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.news-masthead__search input::placeholder {
    color: #645c4c;
    opacity: 1;
}

.news-masthead__search input:focus {
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.news-masthead__submit,
.news-masthead__search .news-masthead__clear {
    position: static;
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--news-masthead-ink);
    text-decoration: none;
}

.news-masthead__submit {
    cursor: pointer;
    font-size: 17px;
}

.news-masthead__clear {
    font-size: 14px;
}

.news-masthead__tabs {
    display: grid;
    grid-template-columns: var(--news-masthead-menu-column) minmax(0, 1fr);
    align-items: start;
}

.news-masthead__all {
    position: relative;
    z-index: 35;
    justify-self: start;
}

.news-masthead__all > summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    padding: 0 7px;
    border-radius: 6px;
    color: var(--news-masthead-ink);
    font-size: 14px;
    font-weight: 730;
    list-style: none;
    white-space: nowrap;
    cursor: pointer;
}

.news-masthead__all > summary::-webkit-details-marker {
    display: none;
}

.news-masthead__all[open] > summary,
.news-masthead__all > summary:hover {
    background: #f8c729;
}

.news-masthead .news-masthead__all-links {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    box-sizing: border-box;
    width: min(154px, calc(100vw - 2 * var(--news-masthead-gutter) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    min-height: 0;
    max-height: max(88px, calc(100vh - var(--header-height, 70px) - var(--news-masthead-band-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 10px));
    max-height: max(88px, calc(100dvh - var(--header-height, 70px) - var(--news-masthead-band-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 10px));
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(24, 27, 33, .12);
}

.news-masthead__all:not([open]) > .news-masthead__all-links {
    display: none;
}

.news-masthead__all-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.news-masthead .news-masthead__all-link {
    display: flex;
    min-width: 0;
    min-height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    padding: 0 11px;
    border-radius: 0;
    background: transparent;
    color: #272c33;
    font-size: 14px;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    text-decoration: none;
}

.news-masthead .news-masthead__all-link[aria-current="page"] {
    color: #181b21;
    font-weight: 760;
}

.news-masthead .news-masthead__all-link:hover {
    background: #f2f4f6;
    color: #181b21;
}

.news-masthead .news-masthead__all-home {
    background: #ffdd2d;
    color: #181b21;
    font-weight: 740;
}

.news-masthead .news-masthead__all-home:hover {
    background: #f5ce12;
}

@media (max-width: 768px), (pointer: coarse) {
    .news-masthead .news-masthead__all-link {
        min-height: 44px;
    }
}

.news-masthead .news-masthead__all-links .news-editorial-nav__label-extension {
    display: inline;
}

.news-masthead .news-nav.news-editorial-nav {
    position: relative;
    z-index: auto;
    top: auto;
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: clamp(2px, 0.5vw, 8px);
    margin: 0 0 0 -10px;
    padding: 0 0 2px;
    overflow-x: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
}

.news-masthead .news-nav .nav-btn,
.news-masthead .news-nav .nav-btn.active,
.news-masthead .news-nav .nav-btn[aria-current="page"] {
    display: inline-flex;
    min-height: 44px;
    padding: 0 12px !important;
    border-radius: 7px;
    background: transparent;
    box-shadow: none;
    color: var(--news-masthead-ink);
    font-size: 15px !important;
    font-weight: 680 !important;
    white-space: nowrap;
    text-decoration: none;
}

.news-masthead .news-nav .nav-btn.active,
.news-masthead .news-nav .nav-btn[aria-current="page"] {
    background: var(--news-masthead-ink);
    color: #fff;
    font-weight: 740 !important;
}

.news-masthead .news-nav .nav-btn:first-child {
    padding-left: 10px !important;
}

.news-masthead .news-nav .nav-btn::after {
    content: none;
}

.news-masthead .news-nav .nav-btn:not(.active):hover,
.news-masthead__brand a:hover {
    background: #f8c729;
    color: var(--news-masthead-ink);
}

.news-masthead__rss:hover,
.news-masthead__admin-trigger:hover,
.news-masthead__admin-menu a:hover,
.news-masthead__submit:hover,
.news-masthead__search .news-masthead__clear:hover {
    background: #fff0b3;
    color: var(--news-masthead-ink);
}

.news-masthead a:focus-visible,
.news-masthead button:focus-visible,
.news-masthead select:focus-visible,
.news-masthead__all > summary:focus-visible,
.news-masthead .news-masthead__all-links a:focus-visible,
.news-masthead .news-nav .nav-btn:focus-visible,
.news-masthead__search .news-masthead__clear:focus-visible {
    outline: none !important;
    background: #4c3820;
    box-shadow: none;
    color: #fff;
}

.news-masthead .news-nav .nav-btn.active:focus-visible {
    background: #fff;
    color: #21180a;
}

.news-masthead .news-masthead__all-link:focus-visible {
    background: #dce2e9;
    color: #181b21;
}

.news-masthead__search .news-search-scope__list [role="option"]:is(:hover, .is-highlighted) {
    background: #fff0b3;
    color: #21180a;
}

@media (forced-colors: active) {
    .news-masthead :is(a, button, select, summary):focus-visible,
    .news-masthead .news-nav .nav-btn:focus-visible {
        outline: 2px solid Highlight !important;
        outline-offset: -2px;
    }
}

html[data-is-tablet-mode="desktop"] .news-masthead,
html[data-is-tablet-mode="desktop"] .news-masthead + .news-container--editorial {
    --news-masthead-gutter: 24px;
}

@media (max-width: 1260px) {
    .news-masthead,
    .news-masthead + .news-container--editorial {
        --news-masthead-gutter: 24px;
    }
}

html[data-is-tablet-mode="mobile"] .news-masthead,
html[data-is-tablet-mode="mobile"] .news-masthead + .news-container--editorial {
    --news-masthead-gutter: 14px;
}

html[data-is-tablet-mode="mobile"] .news-masthead {
    --news-masthead-brand-size: 22px;
    padding-top: calc(var(--header-height, 56px) + env(safe-area-inset-top, 0px));
}

@media (max-width: 1024px) {
    html:not([data-is-tablet-mode="desktop"]) .news-masthead,
    html:not([data-is-tablet-mode="desktop"]) .news-masthead + .news-container--editorial {
        --news-masthead-gutter: 14px;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead {
        padding-top: calc(var(--header-height, 56px) + env(safe-area-inset-top, 0px));
    }
}

@media (max-width: 768px) {
    html:not([data-is-tablet-mode="desktop"]) .news-masthead {
        --news-masthead-brand-size: 22px;
        --news-masthead-band-height: 153px;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead__row {
        display: grid;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 3px 8px;
        padding-top: 4px;
        padding-bottom: 2px;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead__utility {
        grid-column: 2;
        grid-row: 1;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead__rss,
    html:not([data-is-tablet-mode="desktop"]) .news-masthead__admin-trigger {
        width: 44px;
        min-height: 44px;
        justify-content: center;
        padding: 0;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead__utility-label {
        display: none;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead__search {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 44px;
        padding-left: 6px;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead__search .news-search-scope,
    html:not([data-is-tablet-mode="desktop"]) .news-masthead__search .news-search-scope-native {
        flex-basis: 113px;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead .news-nav {
        gap: 2px;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead .news-nav .nav-btn {
        padding-right: 9px !important;
        padding-left: 9px !important;
        font-size: 14px !important;
    }

    html:not([data-is-tablet-mode="desktop"]) .news-masthead .news-nav .nav-btn:first-child {
        padding-left: 10px !important;
    }
}

@media (max-width: 380px) {
    html:not([data-is-tablet-mode="desktop"]) .news-masthead,
    html:not([data-is-tablet-mode="desktop"]) .news-masthead + .news-container--editorial {
        --news-masthead-gutter: 12px;
    }
}
