/*
Theme Name: NewsPlanet Premium
Theme URI: https://newsplanet.co.uk/
Author: NewsPlanet UK
Description: A fast, responsive editorial magazine theme for NewsPlanet UK.
Version: 1.1.0
Text Domain: newsplanet-premium
*/

:root {
  --np-ink: #101828;
  --np-muted: #667085;
  --np-paper: #ffffff;
  --np-soft: #f5f7f9;
  --np-line: #e4e7ec;
  --np-navy: #0a2540;
  --np-red: #e32538;
  --np-red-dark: #bc1930;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--np-paper);
  color: var(--np-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .np-site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
.np-site-header a:focus-visible,
.np-site-header button:focus-visible,
.np-search-form input:focus-visible,
.np-search-form button:focus-visible {
  outline: 3px solid rgba(227,37,56,.38);
  outline-offset: 3px;
}
.np-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto; margin: 0; padding: 12px 16px;
  left: 10px; top: 10px; background: white; color: var(--np-navy); z-index: 99999;
}

.np-utility { background: var(--np-navy); color: #d9e4ee; font-size: 12px; }
.np-utility-inner { min-height: 35px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.np-utility p { margin: 0; }
.np-utility-tagline { color: #a9bdd0; letter-spacing: .06em; text-transform: uppercase; }
.np-utility-links { justify-self: end; display: flex; gap: 20px; }
.np-utility-links a:hover { color: white; }

.np-site-header { background: white; position: relative; z-index: 50; }
.np-header-main { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.np-brand { display: inline-flex; align-items: center; gap: 11px; }
.np-brand-mark { width: 43px; height: 43px; border-radius: 50% 50% 50% 14%; display: grid; place-items: center; background: var(--np-red); color: white; font: 800 24px/1 Georgia, serif; box-shadow: inset -8px -8px 0 rgba(125,0,20,.15); }
.np-brand-name { color: var(--np-navy); font: 800 clamp(23px,3vw,30px)/1 Georgia,serif; letter-spacing: -.04em; }
.np-brand-name em { color: var(--np-red); font-style: normal; margin-left: 3px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 290px; max-height: 58px; }
.np-header-actions { display: flex; align-items: center; gap: 12px; }
.np-search-button { border: 0; background: transparent; color: #344054; padding: 11px 12px; }
.np-search-button span { font-size: 22px; vertical-align: -2px; margin-right: 3px; }
.np-subscribe-button { background: var(--np-red); color: white; font-size: 13px; font-weight: 700; padding: 13px 18px; border-radius: 4px; transition: .2s ease; }
.np-subscribe-button:hover { background: var(--np-red-dark); transform: translateY(-1px); color: white; }
.np-menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--np-line); background: white; border-radius: 4px; padding: 10px; }
.np-menu-button span { display: block; height: 2px; background: var(--np-navy); margin: 4px 0; }
.np-search-panel { display: none; background: var(--np-soft); border-top: 1px solid var(--np-line); padding: 18px 0; }
.np-search-panel.is-open { display: block; }
.np-search-form { display: flex; align-items: center; gap: 18px; }
.np-search-form label { font-weight: 800; white-space: nowrap; }
.np-search-form > div { flex: 1; display: flex; }
.np-search-form input[type="search"] { flex: 1; min-width: 0; border: 1px solid #cfd5dd; padding: 12px 14px; border-radius: 4px 0 0 4px; outline: none; }
.np-search-form input[type="search"]:focus { border-color: var(--np-navy); }
.np-search-form button { border: 0; background: var(--np-navy); color: white; font-weight: 700; padding: 0 22px; border-radius: 0 4px 4px 0; }

.np-main-nav { border-top: 1px solid var(--np-line); border-bottom: 1px solid var(--np-line); }
.np-nav-inner { min-height: 51px; overflow-x: auto; scrollbar-width: none; }
.np-nav-inner > ul { display: flex; align-items: center; gap: clamp(20px,3vw,38px); min-height: 51px; margin: 0; padding: 0; list-style: none; }
.np-nav-inner a { height: 51px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 800; color: #344054; position: relative; white-space: nowrap; }
.np-nav-inner a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--np-red); transform: scaleX(0); transition: .2s ease; }
.np-nav-inner a:hover, .np-nav-inner .current-menu-item > a, .np-nav-inner .current_page_item > a { color: var(--np-red); }
.np-nav-inner a:hover::after, .np-nav-inner .current-menu-item > a::after, .np-nav-inner .current_page_item > a::after { transform: scaleX(1); }

.np-ticker { background: var(--np-soft); border-bottom: 1px solid var(--np-line); }
.np-ticker-inner { min-height: 44px; display: flex; align-items: center; gap: 20px; overflow: hidden; }
.np-ticker strong { height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--np-red); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.np-ticker strong i { width: 7px; height: 7px; border-radius: 50%; background: var(--np-red); box-shadow: 0 0 0 5px rgba(227,37,56,.12); }
.np-ticker-copy { display: flex; gap: 20px; white-space: nowrap; color: #475467; font-size: 13px; }
.np-ticker-copy a:hover { color: var(--np-red); }

.np-eyebrow { color: var(--np-red); margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.np-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 25px; }
.np-section-heading h1 { margin: 3px 0 0; color: var(--np-navy); font: 800 clamp(34px,5vw,57px)/.98 Georgia,serif; letter-spacing: -.045em; }
.np-section-heading > p { max-width: 390px; margin: 0 0 4px; color: var(--np-muted); line-height: 1.6; }
.np-hero { padding-top: 48px; padding-bottom: 74px; }
.np-hero-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: 245px 245px; gap: 14px; }
.np-story-tile { position: relative; min-height: 245px; overflow: hidden; background: var(--np-navy); border-radius: 4px; }
.np-story-tile.is-large { grid-row: 1 / span 2; }
.np-story-tile:nth-child(4) { grid-column: 2 / span 2; }
.np-story-tile > a { display: block; height: 100%; color: white; }
.np-story-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; }
.np-story-tile:hover .np-story-image { transform: scale(1.035); }
.np-story-shade { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 22%,rgba(3,13,24,.86) 100%); }
.np-story-tile.is-large .np-story-shade { background: linear-gradient(180deg,rgba(3,13,24,.05) 20%,rgba(3,13,24,.92) 100%); }
.np-story-content { position: absolute; inset: auto 0 0; color: white; padding: 23px; }
.np-story-tile.is-large .np-story-content { padding: 34px; }
.np-category-chip { display: inline-block; background: var(--np-red); color: white; padding: 5px 8px; border-radius: 2px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.np-story-content h2 { margin: 13px 0 11px; max-width: 650px; color: white; font: 800 clamp(32px,4vw,52px)/1.03 Georgia,serif; letter-spacing: -.035em; }
.np-story-content h3 { margin: 10px 0 8px; max-width: 540px; color: white; font: 700 clamp(19px,2.2vw,26px)/1.08 Georgia,serif; }
.np-story-content p { margin: 0 0 16px; max-width: 550px; color: #e8edf2; line-height: 1.55; }
.np-story-meta { display: flex; gap: 19px; font-size: 11px; color: #d6dee6; text-transform: uppercase; letter-spacing: .05em; }

.np-latest-section { background: var(--np-soft); padding: 76px 0 82px; border-top: 1px solid var(--np-line); border-bottom: 1px solid var(--np-line); }
.np-latest-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 62px; align-items: start; }
.np-section-title-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 21px; border-bottom: 3px solid var(--np-navy); }
.np-section-title-row h2, .np-sidebar-heading h2 { margin: 4px 0 0; color: var(--np-navy); font: 800 38px/1 Georgia,serif; letter-spacing: -.035em; }
.np-category-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.np-category-links a { color: var(--np-muted); padding: 7px 9px; font-size: 11px; font-weight: 800; border-radius: 3px; }
.np-category-links a:hover { background: var(--np-navy); color: white; }
.np-latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 27px 24px; padding-top: 28px; }
.np-post-card { background: white; border: 1px solid var(--np-line); min-width: 0; transition: transform .22s ease,box-shadow .22s ease; }
.np-post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,24,40,.08); }
.np-post-image { display: block; height: 185px; overflow: hidden; background: #dde5ec; }
.np-post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.np-post-card:hover .np-post-image img { transform: scale(1.035); }
.np-post-copy { padding: 21px 21px 23px; }
.np-post-kicker { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #8a94a2; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.np-post-kicker span:first-child { color: var(--np-red); }
.np-post-copy h3 { margin: 0; color: var(--np-navy); font: 800 23px/1.13 Georgia,serif; letter-spacing: -.025em; }
.np-post-copy > p { color: var(--np-muted); margin: 12px 0 18px; line-height: 1.6; font-size: 14px; }
.np-read-link { display: inline-flex; align-items: center; gap: 9px; color: var(--np-navy); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.np-read-link span { color: var(--np-red); font-size: 18px; transition: transform .2s ease; }
.np-read-link:hover span { transform: translateX(4px); }
.np-empty-card { display: grid; place-items: center; min-height: 300px; padding: 30px; text-align: center; background: white; border: 1px dashed #cfd5dd; color: var(--np-muted); }
.np-empty-card strong { display: block; color: var(--np-navy); font: 700 22px/1.2 Georgia,serif; margin-bottom: 8px; }

.np-sidebar { position: sticky; top: 24px; }
.np-sidebar-heading { padding-bottom: 18px; border-bottom: 3px solid var(--np-red); }
.np-popular-list { list-style: none; padding: 0; margin: 0; }
.np-popular-list li { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid #d9dee5; }
.np-popular-list > li > span { color: #c9d0d8; font: italic 700 29px/1 Georgia,serif; }
.np-popular-list h3 { margin: 0; color: var(--np-navy); font: 700 17px/1.26 Georgia,serif; }
.np-popular-list p { margin: 8px 0 0; color: #8a94a2; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.np-editors-note { margin-top: 30px; background: var(--np-navy); color: white; padding: 28px; position: relative; overflow: hidden; }
.np-editors-note::after { content: "N"; position: absolute; right: -12px; bottom: -38px; color: rgba(255,255,255,.05); font: 800 130px/1 Georgia,serif; }
.np-editors-note h3 { margin: 10px 0; color: white; font: 800 26px/1.06 Georgia,serif; position: relative; z-index: 1; }
.np-editors-note > p:last-child { color: #c8d4df; font-size: 13px; line-height: 1.6; margin-bottom: 0; position: relative; z-index: 1; }

.np-category-section { padding-top: 92px; padding-bottom: 52px; }
.np-category-block { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 510px; margin-bottom: 40px; border: 1px solid var(--np-line); background: white; }
.np-category-block.is-reverse { grid-template-columns: .95fr 1.05fr; }
.np-category-block.is-reverse .np-category-image { order: 2; }
.np-category-image { min-height: 440px; background-size: cover; background-position: center; background-color: #e8edf2; }
.np-category-copy { padding: clamp(38px,5vw,66px); align-self: center; }
.np-category-copy h2 { margin: 11px 0 18px; max-width: 570px; color: var(--np-navy); font: 800 clamp(32px,4vw,48px)/1.03 Georgia,serif; letter-spacing: -.04em; }
.np-feature-summary { margin: 0 0 26px; color: var(--np-muted); font-size: 16px; line-height: 1.7; }
.np-feature-links { list-style: none; margin: 0 0 29px; padding: 0; border-top: 1px solid var(--np-line); }
.np-feature-links li { border-bottom: 1px solid var(--np-line); }
.np-feature-links a { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; color: #344054; font-size: 14px; font-weight: 700; }
.np-feature-links a span { color: var(--np-red); }
.np-feature-links a:hover { color: var(--np-red); }
.np-outline-link { display: inline-flex; border: 1px solid var(--np-navy); color: var(--np-navy); padding: 12px 17px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transition: .2s ease; }
.np-outline-link:hover { background: var(--np-navy); color: white; }

.np-weekend { background: var(--np-navy); color: white; margin-top: 20px; }
.np-weekend-inner { min-height: 500px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.np-weekend-copy { align-self: center; padding: 70px 70px 70px 0; }
.np-eyebrow.is-light { color: #ff8792; }
.np-weekend-copy h2 { margin: 12px 0 20px; color: white; font: 800 clamp(36px,4.5vw,58px)/1.01 Georgia,serif; letter-spacing: -.04em; }
.np-weekend-copy > p:not(.np-eyebrow) { color: #c7d5e1; line-height: 1.7; max-width: 530px; }
.np-weekend-copy a { display: inline-flex; align-items: center; gap: 12px; margin-top: 17px; color: white; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.np-weekend-copy a span { color: #ff6674; font-size: 19px; }
.np-weekend-image { min-height: 500px; position: relative; background: center/cover no-repeat url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1400&q=85'); }
.np-weekend-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--np-navy) 0%,transparent 26%); }

.np-newsletter { margin-top: 84px; margin-bottom: 84px; padding: 48px 56px; background: #f1f4f7; border-left: 5px solid var(--np-red); display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.np-newsletter h2 { margin: 7px 0 10px; color: var(--np-navy); font: 800 clamp(29px,3.5vw,41px)/1.04 Georgia,serif; letter-spacing: -.035em; }
.np-newsletter p:last-child { margin: 0; color: var(--np-muted); line-height: 1.6; }
.np-newsletter .np-subscribe-button { white-space: nowrap; }

.np-site-footer { background: #071b2e; color: #c3d0db; padding-top: 70px; }
.np-footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 60px; padding-bottom: 55px; }
.np-site-footer .np-brand-name { color: white; }
.np-footer-about > p { max-width: 400px; margin: 22px 0 0; color: #8fa3b5; line-height: 1.7; font-size: 14px; }
.np-footer-grid h3 { margin: 6px 0 20px; color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.np-footer-grid > div:not(.np-footer-about) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.np-footer-grid > div:not(.np-footer-about) a { color: #98aabd; font-size: 13px; }
.np-footer-grid > div:not(.np-footer-about) a:hover { color: white; }
.np-footer-bottom { min-height: 66px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #778b9e; font-size: 11px; }

.np-content-shell { width: min(1120px,calc(100% - 40px)); margin: 0 auto; padding: 68px 0 90px; }
.np-page-header { max-width: 800px; margin-bottom: 38px; }
.np-page-header h1 { color: var(--np-navy); font: 800 clamp(38px,6vw,66px)/1.02 Georgia,serif; letter-spacing: -.045em; margin: 8px 0 14px; }
.np-page-header p { color: var(--np-muted); line-height: 1.7; }
.np-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px 24px; }
.np-article { max-width: 820px; margin: 0 auto; }
.np-article-header { margin-bottom: 34px; }
.np-article-header h1 { color: var(--np-navy); font: 800 clamp(38px,6vw,66px)/1.02 Georgia,serif; letter-spacing: -.045em; margin: 10px 0 18px; }
.np-article-meta { color: var(--np-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.np-article-image { margin: 0 0 36px; }
.np-entry-content { color: #344054; font-size: 18px; line-height: 1.82; }
.np-entry-content h2, .np-entry-content h3 { color: var(--np-navy); font-family: Georgia,serif; line-height: 1.15; margin-top: 1.6em; }
.np-entry-content a { color: var(--np-red); text-decoration: underline; }
.np-entry-content img { margin: 28px auto; }
.np-pagination { margin-top: 45px; }
.np-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.np-pagination a, .np-pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--np-line); }
.np-pagination .current, .np-pagination a:hover { background: var(--np-navy); color: white; }

@media (max-width: 920px) {
  .np-utility-inner { grid-template-columns: 1fr 1fr; }
  .np-utility-tagline { display: none; }
  .np-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 235px 235px; }
  .np-story-tile.is-large { grid-column: 1 / span 2; grid-row: auto; }
  .np-story-tile:nth-child(4) { grid-column: 1 / span 2; }
  .np-latest-layout { grid-template-columns: 1fr; gap: 52px; }
  .np-sidebar { position: static; }
  .np-category-block, .np-category-block.is-reverse { grid-template-columns: 1fr 1fr; }
  .np-newsletter { grid-template-columns: 1fr; gap: 30px; }
  .np-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .np-footer-grid > div:last-child { grid-column: 2; }
  .np-archive-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar .np-site-header { top: 46px; }
}

@media (max-width: 700px) {
  .np-shell, .np-content-shell { width: min(100% - 28px,1180px); }
  .np-utility-links, .np-search-button, .np-subscribe-button { display: none; }
  .np-utility-inner { grid-template-columns: 1fr; text-align: center; }
  .np-header-main { min-height: 76px; }
  .np-brand-mark { width: 37px; height: 37px; }
  .np-brand-name { font-size: 23px; }
  .np-menu-button { display: block; }
  .np-main-nav { display: none; position: absolute; left: 0; right: 0; top: 111px; background: white; box-shadow: 0 20px 35px rgba(16,24,40,.15); }
  .np-main-nav.is-open { display: block; }
  .np-nav-inner { padding: 8px 14px 16px; overflow: visible; }
  .np-nav-inner > ul { display: grid; gap: 0; width: 100%; min-height: 0; margin: 0; padding: 0; }
  .np-nav-inner a { height: 45px; border-bottom: 1px solid var(--np-line); }
  .np-nav-inner a::after { display: none; }
  .np-search-form { display: block; }
  .np-search-form label { display: block; margin-bottom: 10px; }
  .np-ticker-copy span:nth-child(n+2), .np-ticker-copy a:nth-child(n+2) { display: none; }
  .np-hero { padding-top: 34px; }
  .np-section-heading { display: block; }
  .np-section-heading > p { margin-top: 16px; }
  .np-hero-grid { grid-template-columns: 1fr; grid-template-rows: 410px repeat(3,230px); }
  .np-story-tile.is-large, .np-story-tile:nth-child(4) { grid-column: auto; grid-row: auto; }
  .np-story-tile.is-large .np-story-content { padding: 24px; }
  .np-story-content h2 { font-size: 36px; }
  .np-story-content p { display: none; }
  .np-latest-section { padding: 58px 0; }
  .np-section-title-row { display: block; }
  .np-category-links { justify-content: flex-start; margin-top: 18px; }
  .np-latest-grid, .np-archive-grid { grid-template-columns: 1fr; }
  .np-post-image { height: 215px; }
  .np-category-section { padding-top: 62px; padding-bottom: 25px; }
  .np-category-block, .np-category-block.is-reverse { display: flex; flex-direction: column; min-height: 0; }
  .np-category-block.is-reverse .np-category-image { order: 0; }
  .np-category-image { min-height: 250px; height: 250px; }
  .np-category-copy { padding: 30px 25px 34px; }
  .np-category-copy h2 { font-size: 34px; }
  .np-weekend-inner { display: flex; flex-direction: column; }
  .np-weekend-copy { padding: 58px 14px 40px; }
  .np-weekend-image { min-height: 310px; height: 310px; }
  .np-weekend-image::before { background: linear-gradient(180deg,var(--np-navy) 0%,transparent 35%); }
  .np-newsletter { margin-top: 58px; margin-bottom: 58px; padding: 36px 24px; }
  .np-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .np-footer-about { grid-column: 1 / span 2; }
  .np-footer-grid > div:last-child { grid-column: auto; }
  .np-footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
  .np-footer-bottom p { margin: 0; }
}

@media (max-width: 430px) {
  .np-story-content h2 { font-size: 31px; }
  .np-hero-grid { grid-template-rows: 385px repeat(3,215px); }
}
