/*
Theme Name: CQCC Daily
Theme URI: https://cqcc.cc/
Description: CQCC 基于 Blocksy 的 Daily News 全站子主题。
Author: CQCC
Template: blocksy
Version: 0.3.10
Text Domain: cqcc-daily
*/

:root {
  --cqcc-black: #050505;
  --cqcc-ink: #111;
  --cqcc-paper: #fff;
  --cqcc-soft: #f5f5f5;
  --cqcc-line: #d9d9d9;
  --cqcc-muted: #777;
  --cqcc-accent: #e4574f;
  --cqcc-blue: #6795ec;
  --cqcc-app: #adc4e5;
  --cqcc-shell: 1290px;
  --cqcc-sans: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --cqcc-serif: Georgia, "Times New Roman", "Songti SC", serif;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

html[data-cqcc-theme="dark"] {
  color-scheme: dark;
  --cqcc-ink: #f5f5f5;
  --cqcc-paper: #111;
  --cqcc-soft: #191919;
  --cqcc-line: #343434;
  --cqcc-muted: #aaa;
}

body.cqcc-daily-site {
  min-width: 320px;
  margin: 0;
  color: var(--cqcc-ink);
  background: var(--cqcc-paper);
  font-family: var(--cqcc-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.cqcc-daily-site *,
body.cqcc-daily-site *::before,
body.cqcc-daily-site *::after {
  box-sizing: border-box;
}

body.cqcc-daily-site img {
  display: block;
  max-width: 100%;
}

body.cqcc-daily-site a {
  color: inherit;
  text-decoration: none;
}

body.cqcc-daily-site button,
body.cqcc-daily-site input,
body.cqcc-daily-site textarea {
  border-radius: 0;
  font: inherit;
}

body.cqcc-daily-site button,
body.cqcc-daily-site a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.cqcc-shell {
  width: min(90%, var(--cqcc-shell));
  margin-inline: auto;
}

.cqcc-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: #000 !important;
  background: #fff;
  transform: translateY(-160%);
}

.cqcc-skip-link:focus {
  transform: translateY(0);
}

.cqcc-icon {
  display: block;
  fill: currentColor;
}

.cqcc-icon-button,
.cqcc-account-link,
.cqcc-subscribe-button,
.cqcc-panel__close {
  border: 0;
  cursor: pointer;
}

.cqcc-icon-button:focus-visible,
.cqcc-account-link:focus-visible,
.cqcc-subscribe-button:focus-visible,
.cqcc-primary-nav a:focus-visible,
.cqcc-panel a:focus-visible,
.cqcc-panel button:focus-visible,
.cqcc-panel input:focus-visible,
.cqcc-button:focus-visible {
  outline: 2px solid var(--cqcc-blue);
  outline-offset: 4px;
}

/* Header */
.cqcc-masthead {
  position: relative;
  z-index: 50;
  color: #fff;
  background: var(--cqcc-black);
}

.cqcc-masthead__top {
  height: 171px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.cqcc-header-tools {
  display: flex;
  align-items: center;
}

.cqcc-header-tools--left {
  justify-content: flex-start;
  gap: 40px;
}

.cqcc-header-tools--right {
  justify-content: flex-end;
  gap: 30px;
}

.cqcc-icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: currentColor;
  background: transparent;
}

.cqcc-icon-button svg {
  width: 20px;
  height: 20px;
}

.cqcc-header-tools--left .cqcc-icon-button:first-child svg {
  width: 18px;
  height: 14px;
}

.cqcc-header-tools--left .cqcc-icon-button {
  width: 20px;
}

.cqcc-mobile-search {
  display: none;
}

.cqcc-brand {
  min-width: 260px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cqcc-brand__name {
  color: #fff;
  font-family: var(--cqcc-serif);
  font-size: 41px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.cqcc-brand__tagline {
  max-width: 320px;
  margin-top: 9px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cqcc-account-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 15px;
}

.cqcc-account-link svg {
  width: 15px;
  height: 15px;
}

.cqcc-subscribe-button {
  min-width: 146px;
  min-height: 42px;
  padding: 10px 18px;
  color: #111;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

.cqcc-nav-row {
  height: 80px;
  background: var(--cqcc-black);
}

.cqcc-nav-row__inner {
  height: 80px;
  display: grid;
  grid-template-columns: 144px 1002px 144px;
  align-items: stretch;
}

.cqcc-search-button {
  width: 20px;
  align-self: center;
  justify-self: start;
}

.cqcc-search-button svg {
  width: 20px;
  height: 20px;
}

.cqcc-primary-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}

.cqcc-primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  padding-inline: 22.5px;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
  white-space: nowrap;
  text-transform: uppercase;
}

.cqcc-primary-nav a:hover,
.cqcc-primary-nav a.is-current {
  color: #fff;
}

.cqcc-primary-nav a.is-current::after,
.cqcc-primary-nav a:hover::after {
  position: absolute;
  right: 22.5px;
  bottom: 0;
  left: 22.5px;
  height: 2px;
  background: var(--cqcc-blue);
  content: "";
}

.cqcc-language {
  align-self: center;
  justify-self: end;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Hero */
.cqcc-hero {
  min-height: 788.46px;
  color: #fff;
  background-color: #151515;
  background-attachment: fixed;
  background-image: var(--cqcc-hero-image);
  background-position: center;
  background-size: cover;
}

.cqcc-hero__grid {
  min-height: 788.46px;
  display: grid;
  grid-template-columns: minmax(0, 2.13fr) minmax(300px, 1fr);
  gap: 100px;
}

.cqcc-hero__lead {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 0;
}

.cqcc-hero__copy {
  max-width: 650px;
}

.cqcc-hot-label,
.cqcc-taxonomy-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.cqcc-hot-label {
  min-height: 31px;
  margin-bottom: 15px;
  padding: 5px 10px;
  background: var(--cqcc-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.cqcc-hero h1 {
  max-width: 650px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(31.0941px, 3.299vw, 47.5056px);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.5;
}

.cqcc-hero h1 a {
  color: inherit;
}

.cqcc-hero__copy > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.65;
}

.cqcc-trending {
  width: 650px;
  max-width: 100%;
  margin-top: 50px;
}

.cqcc-section-kicker {
  min-height: 22.5px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-transform: uppercase;
}

.cqcc-kicker-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.cqcc-trending__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.cqcc-trending-card {
  min-width: 0;
}

.cqcc-trending-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.cqcc-trending-card h2 {
  margin: 23px 0 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.cqcc-breaking {
  min-width: 0;
  padding: 100px 0;
}

.cqcc-breaking h2 {
  min-height: 22.5px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-transform: uppercase;
}

.cqcc-breaking__list {
  display: grid;
  gap: 24px;
}

.cqcc-breaking-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 89px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cqcc-breaking-item img {
  width: 89px;
  height: 89px;
  object-fit: cover;
}

.cqcc-breaking-item h3 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.cqcc-breaking-item time {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  text-transform: uppercase;
}

/* Home content */
.cqcc-content-section {
  padding-block: 60px;
}

.cqcc-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
}

.cqcc-heading-row {
  min-height: 33px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
}

.cqcc-heading-row h2 {
  margin: 0;
  color: var(--cqcc-ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.5;
}

.cqcc-heading-row > a {
  color: var(--cqcc-muted);
  font-size: 13px;
}

.cqcc-feature-story {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background-color: #050505;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.05) 70%), var(--cqcc-card-image);
  background-position: center;
  background-size: cover;
}

.cqcc-feature-story__link {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.cqcc-feature-story__content {
  position: absolute;
  z-index: 2;
  inset: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
}

.cqcc-feature-story__content a {
  pointer-events: auto;
}

.cqcc-taxonomy-label {
  min-height: 32px;
  padding: 9px 13px;
}

.cqcc-feature-story .cqcc-taxonomy-label {
  background: #eb722f;
}

.cqcc-feature-story__label {
  position: absolute;
  z-index: 3;
  top: 50px;
  left: 50px;
  padding-inline: 11px;
}

.cqcc-feature-story__category {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 2px;
  color: #fff;
  background: #000;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-transform: uppercase;
}

.cqcc-feature-story h3 {
  width: 100%;
  margin: 16px 0;
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.5;
}

.cqcc-feature-story time {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.65;
}

.cqcc-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.cqcc-popular-card__media {
  position: relative;
}

.cqcc-popular-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.cqcc-card-labels {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cqcc-popular-card h3 {
  margin: 24px 0 7.04px;
  color: var(--cqcc-ink);
  font-size: 15.7472px;
  font-weight: 700;
  line-height: 1.5;
}

.cqcc-popular-card p {
  margin: 0;
  color: var(--cqcc-muted);
  font-size: 14.8736px;
  line-height: 1.65;
}

.cqcc-app-strip {
  min-height: 199px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 50px;
  align-items: center;
  margin-block: 0 60px;
  padding: 50px;
  color: #fff;
  background-color: var(--cqcc-app);
  background-image: var(--cqcc-app-image);
  background-position: center;
  background-size: cover;
  border-radius: 4px;
}

.cqcc-app-strip .cqcc-kicker {
  display: none;
}

.cqcc-app-strip h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.cqcc-app-strip p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.cqcc-app-strip__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.cqcc-app-strip__actions button,
.cqcc-app-strip__actions a {
  min-width: 142px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 0;
  color: #fff;
  background: #000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cqcc-app-strip__actions .cqcc-app-badge {
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.cqcc-app-badge img {
  width: 150px;
  height: auto;
}

.cqcc-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr);
  gap: 30px;
  padding-top: 0;
  padding-bottom: 60px;
}

.cqcc-editor-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 30px;
}

.cqcc-editor-card,
.cqcc-editor-card__media,
.cqcc-topic-feature__media,
.cqcc-worth-feature .cqcc-card-image {
  position: relative;
}

.cqcc-editor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cqcc-editor-card__media .cqcc-taxonomy-label,
.cqcc-topic-feature__media .cqcc-taxonomy-label {
  position: absolute;
  bottom: 0;
  left: 0;
}

.cqcc-editor-card > div {
  padding-top: 0;
}

.cqcc-editor-card > div:last-child {
  padding-top: 22px;
}

.cqcc-editor-card h3,
.cqcc-worth-list h3 {
  margin: 0 0 10px;
  color: var(--cqcc-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.cqcc-editor-card p {
  margin: 0;
  color: var(--cqcc-muted);
  font-size: 14px;
}

.cqcc-worth-feature .cqcc-card-image {
  display: block;
}

.cqcc-worth-feature img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.cqcc-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  transform: translate(-50%, -50%);
}

.cqcc-play-svg {
  fill: currentColor;
}

.cqcc-worth-feature h3 {
  margin: 15px 0 6px;
  font-size: 17px;
  line-height: 1.45;
}

.cqcc-worth-feature p,
.cqcc-worth-list p {
  margin: 0;
  color: var(--cqcc-muted);
  font-size: 13px;
  text-transform: none;
}

.cqcc-worth-list {
  margin-top: 18px;
}

.cqcc-worth-list article {
  padding: 17px 0;
  border-bottom: 1px solid var(--cqcc-line);
}

.cqcc-worth-list h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.cqcc-home-subscribe {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 28px 30px 30px;
  color: #fff;
  background: #3773c8;
}

.cqcc-home-subscribe h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.cqcc-home-subscribe p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.cqcc-home-subscribe input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  color: #111;
  background: #fff;
  font-size: 13px;
}

.cqcc-home-subscribe button {
  min-height: 42px;
  border: 0;
  color: #fff;
  background: #000;
  cursor: pointer;
}

.cqcc-video-section {
  min-height: 1233px;
  margin-bottom: 60px;
  padding-block: 120px;
  color: #fff;
  background-color: #111;
  background-image: linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)), var(--cqcc-video-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.cqcc-video-grid {
  min-height: 993px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
}

.cqcc-world-feature {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-right: 30px;
}

.cqcc-world-feature__meta {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cqcc-world-feature__meta .cqcc-taxonomy-label {
  background: #4cc62f;
}

.cqcc-world-feature__meta time,
.cqcc-hot-videos time,
.cqcc-world-links time,
.cqcc-topic-list time {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-transform: uppercase;
}

.cqcc-world-feature > h2 {
  max-width: 570px;
  margin: 25px 0 18px;
  color: #fff;
  font-size: 48px;
  line-height: 1.5;
}

.cqcc-world-feature > p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  line-height: 1.65;
}

.cqcc-world-links {
  margin-top: 55px;
}

.cqcc-world-links > h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
}

.cqcc-world-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}

.cqcc-world-links > h3 {
  grid-column: 1 / -1;
}

.cqcc-world-links article {
  min-height: 100px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cqcc-world-links article h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.cqcc-featured-video-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
}

.cqcc-featured-video-link .cqcc-play-svg {
  width: 40px;
  height: 40px;
}

.cqcc-hot-videos {
  min-width: 0;
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.cqcc-hot-videos > h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

.cqcc-hot-videos article {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 25px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cqcc-video-play {
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 15px;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)), var(--cqcc-hot-image);
  background-position: center;
  background-size: cover;
}

.cqcc-hot-videos article h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

.cqcc-topic-section {
  min-height: 770px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.cqcc-topic-column > h2 {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
}

.cqcc-topic-feature img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.cqcc-topic-feature h3 {
  margin: 20px 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

.cqcc-topic-feature > p {
  margin: 0;
  color: var(--cqcc-muted);
  font-size: 14px;
  line-height: 1.7;
}

.cqcc-topic-list {
  margin-top: 28px;
}

.cqcc-topic-list article {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--cqcc-line);
}

.cqcc-topic-list__image,
.cqcc-topic-list__image img {
  display: block;
}

.cqcc-topic-list__image img {
  width: 114px;
  height: 68px;
  object-fit: cover;
}

.cqcc-topic-list time {
  color: var(--cqcc-muted);
}

.cqcc-topic-list h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* Empty state */
.cqcc-empty {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 90px;
}

.cqcc-empty--compact {
  min-height: 360px;
}

.cqcc-empty .cqcc-kicker,
.cqcc-page-hero .cqcc-kicker {
  margin: 0 0 12px;
  color: var(--cqcc-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.cqcc-empty h1,
.cqcc-empty h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.2;
}

.cqcc-empty > p {
  max-width: 660px;
  color: var(--cqcc-muted);
}

.cqcc-empty__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.cqcc-button,
.cqcc-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: #fff !important;
  background: #111;
  font-size: 13px;
  font-weight: 700;
}

.cqcc-button--ghost {
  color: var(--cqcc-ink) !important;
  background: transparent;
  border: 1px solid var(--cqcc-line);
}

/* Archive, search, page and 404 */
.cqcc-page-hero,
.cqcc-search-hero,
.cqcc-single-hero {
  color: #fff;
  background: #0a0a0a;
}

.cqcc-page-hero .cqcc-shell,
.cqcc-search-hero .cqcc-shell {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 70px;
}

.cqcc-page-hero h1,
.cqcc-search-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.1;
}

.cqcc-page-hero__description,
.cqcc-result-count {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
}

.cqcc-archive-section,
.cqcc-page-content,
.cqcc-single-content,
.cqcc-not-found {
  padding-block: 70px 100px;
}

.cqcc-archive-grid,
.cqcc-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 55px 32px;
}

.cqcc-archive-card {
  min-width: 0;
}

.cqcc-archive-card > .cqcc-card-image img {
  width: 100%;
  aspect-ratio: 1.67 / 1;
  object-fit: cover;
}

.cqcc-archive-card__body {
  padding-top: 22px;
}

.cqcc-card-meta,
.cqcc-single-meta,
.cqcc-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.cqcc-card-meta time,
.cqcc-single-meta time {
  color: var(--cqcc-muted);
  font-size: 12px;
}

.cqcc-archive-card h2 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.35;
}

.cqcc-archive-card p {
  margin: 0 0 20px;
  color: var(--cqcc-muted);
  font-size: 14px;
}

.cqcc-read-link {
  min-height: 0;
  padding: 0;
  color: var(--cqcc-ink) !important;
  background: transparent;
}

.navigation.pagination {
  margin-top: 65px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--cqcc-line);
}

.nav-links .current {
  color: #fff;
  background: #111;
  border-color: #111;
}

.cqcc-page-content,
.cqcc-single-content {
  max-width: 900px;
}

.cqcc-page-content .entry-content,
.cqcc-single-body {
  color: var(--cqcc-ink);
  font-size: 18px;
  line-height: 1.9;
}

.cqcc-page-content .entry-content h2,
.cqcc-single-body h2 {
  margin: 2.2em 0 0.7em;
  font-size: 32px;
  line-height: 1.25;
}

.cqcc-page-content .entry-content a,
.cqcc-single-body a {
  color: #315eaa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cqcc-page-action-form {
  max-width: 720px;
  display: grid;
  gap: 12px;
  margin-top: 42px;
  padding: 32px;
  background: var(--cqcc-soft);
  border: 1px solid var(--cqcc-line);
}

.cqcc-page-action-form label {
  font-size: 14px;
  font-weight: 700;
}

.cqcc-page-action-form input,
.cqcc-page-action-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cqcc-line);
  color: var(--cqcc-ink);
  background: var(--cqcc-paper);
}

.cqcc-page-action-form textarea {
  min-height: 180px;
  resize: vertical;
}

.cqcc-page-action-form button {
  min-height: 46px;
  margin-top: 8px;
  padding: 10px 22px;
  border: 0;
  color: #fff;
  background: #111;
  cursor: pointer;
  justify-self: start;
}

.cqcc-single-hero__inner {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 60px;
  align-items: center;
  padding-block: 70px;
}

.cqcc-single-hero h1 {
  margin: 22px 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.1;
}

.cqcc-single-deck {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
}

.cqcc-single-hero__media img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.cqcc-article-note {
  margin: 40px 0;
  padding: 24px;
  background: var(--cqcc-soft);
  border-left: 4px solid var(--cqcc-accent);
}

.cqcc-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 60px;
  padding-top: 35px;
  border-top: 1px solid var(--cqcc-line);
}

.cqcc-related {
  margin-top: 80px;
}

.cqcc-related > h2 {
  margin-bottom: 30px;
}

.cqcc-not-found {
  min-height: 620px;
}

.cqcc-not-found__code {
  margin: 0;
  color: var(--cqcc-accent);
  font-size: 14px;
  font-weight: 700;
}

.cqcc-not-found h1 {
  margin: 15px 0;
  font-size: clamp(50px, 8vw, 110px);
  line-height: 1;
}

.cqcc-page-search {
  max-width: 650px;
  margin-top: 30px;
}

/* Footer */
.cqcc-footer {
  color: #fff;
  background: #050505;
}

.cqcc-footer-newsletter {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.cqcc-footer-newsletter__inner {
  min-height: 195px;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(480px, 1.45fr);
  gap: 80px;
  align-items: center;
}

.cqcc-footer-newsletter h2 {
  max-width: 380px;
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.45;
}

.cqcc-footer-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  padding: 8px;
  background: #fff;
  border-radius: 3px;
}

.cqcc-footer-newsletter input {
  min-width: 0;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  color: #111;
  background: #fff;
}

.cqcc-footer-newsletter button {
  min-height: 40px;
  border: 0;
  color: #fff;
  background: #3773c8;
  cursor: pointer;
}

.cqcc-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 75px;
  padding-block: 62px 58px;
}

.cqcc-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.cqcc-footer-column strong {
  margin-bottom: 9px;
  color: #fff;
  font-size: 14px;
}

.cqcc-footer-column a,
.cqcc-footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 14px;
  line-height: 1.45;
}

.cqcc-footer-social {
  display: flex;
  gap: 13px;
  margin-top: 15px;
}

.cqcc-footer-social span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.cqcc-footer-brand-row {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.cqcc-brand--footer {
  min-width: 0;
}

.cqcc-brand--footer .cqcc-brand__name {
  font-size: 36px;
}

.cqcc-footer__bottom {
  min-height: 69px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

/* Panels and forms */
body.cqcc-panel-open {
  overflow: hidden;
}

.cqcc-panel-layer {
  position: fixed;
  z-index: 9999;
  inset: 0;
}

.cqcc-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.cqcc-panel {
  position: absolute;
  z-index: 1;
  overflow: auto;
  color: #111;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.cqcc-menu-panel {
  top: 0;
  bottom: 0;
  left: 0;
  width: min(430px, 100%);
  padding: 38px 40px 50px;
  color: #fff;
  background: #070707;
}

.cqcc-dialog-panel {
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - 40px));
  max-height: calc(100vh - 50px);
  padding: 32px 36px 38px;
  transform: translate(-50%, -50%);
}

.cqcc-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
}

.cqcc-panel__header p {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.cqcc-panel__close {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: currentColor;
  background: transparent;
}

.cqcc-drawer-nav {
  display: grid;
  margin-top: 22px;
}

.cqcc-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.cqcc-drawer-nav small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.cqcc-drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.cqcc-panel-intro {
  margin: 24px 0 0;
  color: #666;
}

.cqcc-dialog-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.cqcc-dialog-form label {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
}

.cqcc-dialog-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #bbb;
  color: #111;
  background: #fff;
}

.cqcc-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cqcc-inline-form input {
  border-right: 0 !important;
}

.cqcc-inline-form button,
.cqcc-form-submit {
  min-height: 48px;
  padding: 10px 20px;
  border: 0;
  color: #fff;
  background: #111;
  font-weight: 700;
  cursor: pointer;
}

.cqcc-checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cqcc-form-link,
.cqcc-rss-link {
  display: inline-block;
  margin-top: 12px;
  color: #315eaa !important;
  font-size: 13px;
  text-decoration: underline !important;
}

.cqcc-honeypot {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.cqcc-form-notice {
  margin-top: 18px;
  padding: 12px 14px;
  background: #eef6e9;
  border-left: 3px solid #5b983c;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .cqcc-primary-nav {
    gap: 13px;
  }

  .cqcc-primary-nav a {
    font-size: 11px;
  }

  .cqcc-hero__grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(290px, 0.9fr);
    gap: 45px;
  }

  .cqcc-editor-grid {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .cqcc-shell {
    width: min(calc(100% - 48px), var(--cqcc-shell));
  }

  .cqcc-masthead__top {
    height: 70px;
    display: flex;
    justify-content: flex-start;
    padding-top: 0;
    border: 0;
  }

  .cqcc-brand {
    min-width: 0;
    align-items: flex-start;
    text-align: left;
  }

  .cqcc-brand__name {
    font-size: 29px;
    letter-spacing: -0.025em;
  }

  .cqcc-brand__tagline {
    display: none;
  }

  .cqcc-header-tools--left {
    position: absolute;
    top: 14px;
    right: 17px;
    gap: 0;
  }

  .cqcc-header-tools--left .cqcc-icon-button:nth-child(1) {
    order: 3;
  }

  .cqcc-header-tools--left .cqcc-icon-button:nth-child(2) {
    order: 1;
  }

  .cqcc-mobile-search {
    display: inline-grid;
    order: 2;
  }

  .cqcc-header-tools--right,
  .cqcc-nav-row {
    display: none;
  }

  .cqcc-hero {
    min-height: 0;
    color: var(--cqcc-ink);
    background: var(--cqcc-paper);
  }

  .cqcc-hero__grid {
    width: 100%;
    min-height: 0;
    display: block;
  }

  .cqcc-hero__lead {
    position: relative;
    isolation: isolate;
    min-height: 461px;
    padding: 100px 24px;
    color: #fff;
    background-color: #151515;
    background-attachment: fixed;
    background-image: var(--cqcc-hero-image);
    background-position: center;
    background-size: cover;
  }

  .cqcc-hero .cqcc-hero__grid {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
  }

  .cqcc-hero__copy {
    max-width: 620px;
  }

  .cqcc-hot-label {
    min-height: 0;
    margin-bottom: 15px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
  }

  .cqcc-hero h1 {
    margin-bottom: 16px;
    font-size: 31.0941px;
    letter-spacing: normal;
    line-height: 1.5;
  }

  .cqcc-hero__copy > p {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .cqcc-trending {
    display: none;
  }

  .cqcc-breaking {
    display: none;
  }

  .cqcc-news-grid,
  .cqcc-editor-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .cqcc-video-section {
    min-height: 0;
    padding-block: 75px;
    background-attachment: scroll;
  }

  .cqcc-video-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .cqcc-world-feature {
    min-height: 850px;
    padding-right: 0;
  }

  .cqcc-hot-videos {
    margin-top: 70px;
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .cqcc-hot-videos article {
    min-height: 250px;
  }

  .cqcc-topic-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .cqcc-feature-story {
    min-height: 570px;
  }

  .cqcc-app-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cqcc-app-strip__actions {
    justify-content: flex-start;
  }

  .cqcc-archive-grid,
  .cqcc-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cqcc-single-hero__inner {
    grid-template-columns: 1fr;
  }

  .cqcc-footer-newsletter__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 55px;
  }

  .cqcc-footer-newsletter h2 {
    max-width: 560px;
  }

  .cqcc-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 65px;
  }

  .cqcc-footer-brand-row {
    min-height: 125px;
  }
}

@media (max-width: 560px) {
  .cqcc-shell {
    width: 88%;
  }

  .cqcc-masthead__top {
    width: 100%;
    padding-inline: 6%;
  }

  .cqcc-icon-button {
    width: 40px;
  }

  .cqcc-hero__lead {
    min-height: 461px;
    padding-top: 100px;
    padding-inline: 6%;
  }

  .cqcc-hot-label {
    margin-bottom: 15px;
  }

  .cqcc-hero h1 {
    font-size: 31.0941px;
    letter-spacing: normal;
    line-height: 1.5;
  }

  .cqcc-hero__copy > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .cqcc-breaking__list,
  .cqcc-popular-grid,
  .cqcc-editor-cards,
  .cqcc-world-links,
  .cqcc-archive-grid,
  .cqcc-related__grid {
    grid-template-columns: 1fr;
  }

  .cqcc-content-section {
    padding-block: 60px;
  }

  .cqcc-heading-row {
    min-height: 33px;
    margin-bottom: 25px;
  }

  .cqcc-heading-row h2 {
    line-height: 1.5;
  }

  .cqcc-heading-row > a {
    display: none;
  }

  .cqcc-feature-story {
    min-height: 520px;
  }

  .cqcc-feature-story__content {
    inset: 0;
    padding: 28px;
  }

  .cqcc-feature-story__label {
    top: 30px;
    left: 30px;
  }

  .cqcc-feature-story h3 {
    font-size: 34px;
  }

  .cqcc-app-strip {
    width: calc(100% - 48px);
    margin-bottom: 58px;
    padding: 34px 28px;
  }

  .cqcc-app-strip__actions {
    flex-direction: column;
  }

  .cqcc-app-strip__actions button,
  .cqcc-app-strip__actions a {
    width: 100%;
  }

  .cqcc-app-strip__actions .cqcc-app-badge {
    width: auto;
    align-self: flex-start;
  }

  .cqcc-video-play {
    min-height: 200px;
  }

  .cqcc-topic-list article {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .cqcc-topic-list__image img {
    width: 96px;
    height: 58px;
  }

  .cqcc-editor-grid {
    gap: 58px;
  }

  .cqcc-world-feature {
    min-height: 0;
  }

  .cqcc-world-feature > h2 {
    margin-top: 28px;
    font-size: 36px;
    line-height: 1.35;
  }

  .cqcc-world-feature__meta {
    align-items: flex-start;
  }

  .cqcc-world-links {
    margin-top: 45px;
  }

  .cqcc-featured-video-link {
    margin-top: 55px;
  }

  .cqcc-home-subscribe {
    padding-inline: 24px;
  }

  .cqcc-page-hero .cqcc-shell,
  .cqcc-search-hero .cqcc-shell {
    min-height: 260px;
  }

  .cqcc-page-hero h1,
  .cqcc-search-hero h1 {
    font-size: 45px;
  }

  .cqcc-archive-section,
  .cqcc-page-content,
  .cqcc-single-content,
  .cqcc-not-found {
    padding-block: 55px 75px;
  }

  .cqcc-single-hero__inner {
    min-height: 0;
    padding-block: 55px;
  }

  .cqcc-single-hero h1 {
    font-size: 43px;
  }

  .cqcc-post-navigation {
    grid-template-columns: 1fr;
  }

  .cqcc-footer-newsletter__inner {
    gap: 24px;
    padding-block: 48px;
  }

  .cqcc-footer-newsletter h2 {
    font-size: 23px;
  }

  .cqcc-footer-newsletter form {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .cqcc-footer-newsletter button {
    min-height: 44px;
  }

  .cqcc-footer-columns {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 52px;
  }

  .cqcc-footer-brand-row {
    min-height: 120px;
  }

  .cqcc-brand--footer {
    align-items: center;
    text-align: center;
  }

  .cqcc-footer__bottom {
    min-height: 100px;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
  }

  .cqcc-dialog-panel {
    width: calc(100% - 24px);
    padding: 26px 24px 30px;
  }

  .cqcc-menu-panel {
    padding-inline: 28px;
  }

  .cqcc-inline-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cqcc-inline-form input {
    border-right: 1px solid #bbb !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
