/* Rounded category shortcuts. */
.site-header, .masthead { background: #fff; }
.site-header { border-bottom: 0; }
.category-nav, .category-nav .nav-inner { background: #347ef5; }
.masthead { flex-wrap: nowrap; justify-content: space-between; gap: 0 24px; min-height: 92px; padding-top: 0; }
.masthead .brand { flex: 0 0 auto; margin: 0; }
.site-header > .category-nav { width: 100%; margin: 0; overflow: visible; }
.category-nav .nav-inner > a { color: #fff; }
.category-nav .nav-inner > a:hover { color: #fff; }
.category-nav .nav-inner { align-items: center; align-content: center; gap: 10px; min-height: 100px; padding: 10px 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.category-nav .nav-inner::-webkit-scrollbar { display: none; }
.category-scroll-next { display: none; }
.category-nav .nav-inner > a { flex: 0 0 auto; flex-direction: column; justify-content: flex-start; gap: 9px; height: auto; min-width: 66px; font-size: 14px; line-height: 1.6; scroll-snap-align: start; }
.category-nav .nav-inner > a::after { display: none; }
.nav-icon { --nav-color: #347ef5; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--nav-color); box-shadow: none; transition: transform .2s ease; }
.nav-icon .icon { width: 23px; height: 23px; stroke-width: 1.9; }
.nav-icon-news { --nav-color: #53718e; }
.nav-icon-landmark { --nav-color: #ef4059; }
.nav-icon-flag { --nav-color: #e9920b; }
.nav-icon-globe { --nav-color: #00a6d7; }
.nav-icon-cinema { --nav-color: #ad24dc; }
.nav-icon-sports { --nav-color: #12a34a; }
.nav-icon-calendar { --nav-color: #e45a30; }
.nav-icon-chart { --nav-color: #078978; }
.nav-icon-technology { --nav-color: #7350df; }
.category-nav a.active .nav-icon { outline: 2px solid var(--nav-color); outline-offset: 3px; }
.category-nav a:hover .nav-icon { transform: translateY(-3px) rotate(-5deg); }
.category-nav a:focus-visible { outline-offset: -2px; border-radius: 16px; }
.category-dropdown { position: relative; flex: 0 0 auto; align-self: center; margin-left: 8px; font-size: 14px; font-weight: 700; }
.category-dropdown summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 8px; background: #e7eef8; color: #17345c; cursor: pointer; list-style: none; }
.category-dropdown-chevron { display: grid; place-items: center; transform: rotate(90deg); }
.category-dropdown-chevron .icon { width: 16px; height: 16px; }
.category-dropdown[open] .category-dropdown-chevron { transform: rotate(270deg); }
.category-dropdown summary::-webkit-details-marker { display: none; }
.category-dropdown[open] summary { background: #d8e5f5; }
.category-dropdown-panel { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: grid; gap: 3px; min-width: 220px; padding: 8px; border: 1px solid #d8e1ed; border-radius: 10px; background: #fff; box-shadow: 0 14px 35px #14223726; }
.category-dropdown-panel a { padding: 10px 12px; border-radius: 6px; }
.category-dropdown-panel a:hover, .category-dropdown-panel a:focus-visible { background: #edf4ff; }
.category-dropdown summary:focus-visible, .category-dropdown-panel a:focus-visible, .masthead-social a:focus-visible { outline: 3px solid #f4c95d; outline-offset: 3px; }
.masthead-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; margin-left: auto; }
.masthead-social { display: flex; align-items: center; gap: 14px; }
.masthead-social a { display: grid; place-items: center; width: 24px; height: 40px; color: #17345c; }
.masthead-social a:hover { color: #347ef5; }
.masthead-social .icon { width: 20px; height: 20px; stroke-width: 2.5; }
.masthead-tools-divider { width: 1px; height: 28px; background: #c9d4e3; }
.masthead .store-trigger { display: grid; place-items: center; width: 30px; height: 40px; color: #17345c; }
.masthead .store-trigger .icon { width: 21px; height: 21px; stroke-width: 2.2; }
.masthead .search-trigger { position: static; display: flex; flex: 1 1 460px; align-items: center; justify-content: flex-start; gap: 12px; width: auto; max-width: 460px; height: 44px; padding: 0 16px; border: 1px solid #dfe3e9; border-radius: 24px; color: #17345c; background: #f8fafc; box-shadow: none; }
.masthead .search-trigger > .icon { width: 18px; height: 18px; }
.masthead .search-trigger > span { display: block; color: #737b87; font-size: 13px; font-weight: 400; }
.masthead .menu-button { color: #17345c; background: rgb(255 255 255 / 60%); }
.homepage .headline-strip { height: 28px; min-height: 0; align-items: center; gap: 0; padding: 0; margin: 0 auto; border: 0; }
.homepage .headline-strip .headline-items { position: relative; top: 2px; height: 100%; align-items: center; gap: 18px; padding: 0; font-size: 13px; line-height: 1; }
.homepage .headline-strip .headline-items a { line-height: 1.2; }
@media (min-width: 768px) {
    .category-nav > .nav-inner { position: static; left: auto; width: 100%; max-width: 1264px; margin-right: auto; margin-left: auto; padding-right: 32px; padding-left: 32px; transform: none; flex-wrap: wrap; justify-content: space-between !important; overflow-x: visible; white-space: normal; }
}
@media (max-width: 767px) {
    html, body { max-width: 100%; overflow-x: clip; }
    .site-header { width: 100%; max-width: 100%; overflow-x: clip; }
    .utility { height: 38px; gap: 8px; }
    .utility time, .utility > a { display: none; }
    .utility .edition { font-size: 10px; white-space: nowrap; }
    .category-dropdown { display: none; }
    .site-header { border-bottom: 0; }
    .masthead { position: relative; width: 100%; max-width: none; min-height: 0; padding: 10px 12px 0; }
    .masthead .brand { margin: 0 auto; }
    .masthead .site-brand-logo { height: 76px; max-width: calc(100vw - 150px); }
    .masthead .masthead-social { position: static; order: 2; grid-column: 1 / -1; grid-row: 3; flex: 0 0 100%; justify-content: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 4px 4px; margin: 0; transform: none; }
    .masthead-tools { display: contents; }
    .masthead .masthead-social a { flex: 0 0 32px; width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 0; border-radius: 50%; color: #17345c; background: rgb(255 255 255 / 60%); }
    .masthead .masthead-social .icon { width: 17px; height: 17px; }
    .masthead-tools-divider { display: none; }
    .masthead .menu-button { top: 29px; left: 14px; border-radius: 50%; color: #17345c; background: rgb(255 255 255 / 60%); }
    .masthead .store-trigger { position: absolute; top: 29px; right: 58px; width: 40px; height: 40px; border-radius: 50%; color: #17345c; background: rgb(255 255 255 / 60%); }
    .masthead .search-trigger { position: absolute; top: 29px; right: 10px; width: 40px; height: 40px; padding: 0; border: 0; color: #17345c; background: rgb(255 255 255 / 60%); }
    .masthead .search-trigger > span { display: none; }
    .site-header > .category-nav { position: relative; padding-right: 20px; overflow: visible; }
    .category-nav .nav-inner > a { color: #fff; }
    .category-nav .nav-inner { gap: 6px; min-height: 90px; padding: 8px 3px; }
    .category-nav .nav-inner > a { flex-basis: calc((100% - 24px) / 5); min-width: 0; font-size: 12px; gap: 8px; }
    .category-scroll-next:not([hidden]) { position: absolute; top: 12px; right: 0; display: grid; align-items: center; justify-items: end; width: 18px; height: 36px; padding: 0; border: 0; border-radius: 0; color: #fff; background: #347ef5; box-shadow: none; font-size: 30px; }
    .category-scroll-next:not([hidden]) { margin-right: -14px; }
    .category-scroll-next > .icon { width: 20px; height: 20px; stroke-width: 2.5; }
    .nav-icon { width: 42px; height: 42px; }
    .nav-icon .icon { width: 21px; height: 21px; }
}

@media (max-width: 767px) {
    .listing-grid { grid-template-columns: 1fr; gap: 0; }
    .listing-grid > .news-card { display: grid; grid-template-columns: minmax(96px, 31%) minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .listing-grid > .news-card > :first-child { grid-row: 1 / span 2; min-width: 0; }
    .listing-grid .card-image { border-radius: 6px; }
    .listing-grid .card-image img { width: 100%; height: 88px; aspect-ratio: auto; object-fit: cover; }
    .listing-grid .card-content { padding: 0; }
    .listing-grid .news-card h3 { font-size: 15px; line-height: 1.55; margin-bottom: 6px; }
    .listing-grid .category-label { margin-bottom: 3px; }
    .listing-grid .card-excerpt { display: none; }
    .listing-grid .story-meta { grid-column: 2; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-icon { transition: none; }
    .category-nav a:hover .nav-icon { transform: none; }
}

html.mobile-menu-open { overflow: hidden; }
.mobile-menu { position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px)); width: min(340px, calc(100vw - 48px)); max-width: none; height: 100%; height: 100dvh; max-height: none; border: 0; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; box-shadow: 12px 0 48px #17243b26; }
.mobile-menu { width: min(280px, calc(100vw - 48px)); }
.mobile-menu::backdrop { background: #10182880; }
.mobile-menu[open] { animation: mobile-menu-slide-in .32s cubic-bezier(.22, 1, .36, 1) both; }
.mobile-menu[open]::backdrop { animation: mobile-menu-backdrop-in .32s ease both; }
.mobile-menu[open].is-closing { animation: mobile-menu-slide-out .28s cubic-bezier(.4, 0, 1, 1) both; pointer-events: none; }
.mobile-menu[open].is-closing::backdrop { animation: mobile-menu-backdrop-in .28s ease reverse both; }
@keyframes mobile-menu-slide-in {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
@keyframes mobile-menu-slide-out {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
@keyframes mobile-menu-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-menu[open], .mobile-menu[open]::backdrop { animation: none; }
}
.mobile-menu-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-menu-logo { display: block; width: 150px; max-width: 100%; height: auto; }
.mobile-menu-head button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #f7f9fc; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.mobile-menu-links > a { display: flex; align-items: center; gap: 14px; min-height: 50px; margin: 0; padding: 8px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.mobile-menu-links > a:hover, .mobile-menu-links > a.active { color: var(--blue); background: #edf4ff; }
.mobile-menu-links .nav-icon { width: 34px; height: 34px; }
.mobile-menu-links .nav-icon .icon { width: 18px; height: 18px; }
.mobile-menu-pages { border-top: 1px solid var(--line); }
.mobile-menu-pages > a { font-size: 13px; color: var(--muted); }
