/*
Theme Name: GuideFixHQ Editorial
Theme URI: https://guidefixhq.com/
Author: GuideFixHQ
Description: A fast, image-led technology newsroom theme with working topic navigation, dense editorial sections and no public membership surfaces.
Version: 3.0.0
Text Domain: guidefixhq
*/

:root {
  --gfhq-ink: #111817;
  --gfhq-deep: #172823;
  --gfhq-green: #317a45;
  --gfhq-green-dark: #235d35;
  --gfhq-lime: #86a83d;
  --gfhq-coral: #df523d;
  --gfhq-blue: #246a93;
  --gfhq-paper: #ffffff;
  --gfhq-canvas: #f3f5f4;
  --gfhq-soft: #e9eeeb;
  --gfhq-line: #d7ddda;
  --gfhq-muted: #61706b;
  --gfhq-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gfhq-paper);
  color: var(--gfhq-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.admin-bar .gfhq-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.gfhq-wrap {
  width: min(calc(100% - 40px), var(--gfhq-width));
  margin-right: auto;
  margin-left: auto;
}

.screen-reader-text,
.gfhq-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gfhq-skip-link:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  background: var(--gfhq-paper);
  color: var(--gfhq-ink);
  font-weight: 800;
}

.gfhq-kicker {
  color: var(--gfhq-green-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.gfhq-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  color: var(--gfhq-muted);
  font-size: 12px;
  font-weight: 600;
}

.gfhq-post-meta span:not(:first-child)::before {
  margin-right: 12px;
  color: #a7b0ad;
  content: "/";
}

.gfhq-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 0;
  border-radius: 4px;
  background: var(--gfhq-green);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.gfhq-button:hover,
.gfhq-button:focus-visible {
  background: var(--gfhq-green-dark);
}

.gfhq-text-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 850;
}

/* Header */
.gfhq-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: var(--gfhq-paper);
  box-shadow: 0 1px 0 rgba(15, 24, 22, .12);
}

.gfhq-briefing-bar {
  background: var(--gfhq-ink);
  color: #d9e0de;
  font-size: 12px;
}

.gfhq-briefing-bar .gfhq-wrap {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gfhq-briefing-bar p {
  margin: 0;
}

.gfhq-briefing-bar strong {
  margin-right: 9px;
  color: #fff;
}

.gfhq-briefing-bar time {
  flex: 0 0 auto;
  color: #aebbb7;
}

.gfhq-header-main {
  display: grid;
  min-height: 78px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.gfhq-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.gfhq-brand .custom-logo-link {
  display: block;
}

.gfhq-brand .custom-logo {
  width: auto;
  max-height: 54px;
}

.gfhq-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: var(--gfhq-coral);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.gfhq-brand-copy {
  display: grid;
  gap: 1px;
}

.gfhq-brand-name {
  color: var(--gfhq-ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.gfhq-brand-name span {
  color: var(--gfhq-green);
}

.gfhq-brand-sub {
  color: var(--gfhq-muted);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
}

.gfhq-primary-navigation {
  justify-self: end;
}

.gfhq-primary-menu,
.gfhq-secondary-menu {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gfhq-primary-menu a {
  display: block;
  padding: 28px 0 25px;
  border-bottom: 3px solid transparent;
  color: var(--gfhq-ink);
  font-size: 13px;
  font-weight: 900;
}

.gfhq-primary-menu a:hover,
.gfhq-primary-menu a:focus-visible {
  border-color: var(--gfhq-green);
  color: var(--gfhq-green-dark);
}

.gfhq-menu-toggle,
.gfhq-search-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 1px solid var(--gfhq-line);
  border-radius: 4px;
  background: var(--gfhq-paper);
  color: var(--gfhq-ink);
  cursor: pointer;
}

.gfhq-search-toggle {
  display: block;
}

.gfhq-search-toggle > span:first-child {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.gfhq-search-toggle > span:first-child::after {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 8px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.gfhq-header-search {
  display: none;
  padding: 14px 0;
  border-top: 1px solid var(--gfhq-line);
  background: var(--gfhq-canvas);
}

.gfhq-header-search.is-open {
  display: block;
}

.gfhq-search-form {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
}

.gfhq-search-form input {
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--gfhq-line);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  outline: 0;
  background: #fff;
  color: var(--gfhq-ink);
}

.gfhq-search-form input:focus {
  border-color: var(--gfhq-green);
  box-shadow: inset 0 0 0 1px var(--gfhq-green);
}

.gfhq-search-form button {
  min-width: 92px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--gfhq-green);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.gfhq-header-search .gfhq-search-form {
  max-width: 680px;
  margin-left: auto;
}

.gfhq-topic-line {
  border-top: 1px solid var(--gfhq-line);
  background: var(--gfhq-canvas);
}

.gfhq-topic-line nav {
  overflow-x: auto;
  scrollbar-width: none;
}

.gfhq-topic-line nav::-webkit-scrollbar {
  display: none;
}

.gfhq-secondary-menu {
  width: max-content;
  min-width: 100%;
  gap: 27px;
}

.gfhq-secondary-menu a {
  display: block;
  padding: 10px 0 9px;
  color: var(--gfhq-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.gfhq-secondary-menu a:hover,
.gfhq-secondary-menu a:focus-visible {
  color: var(--gfhq-coral);
}

/* Top edition */
.gfhq-lead-zone {
  padding: 26px 0 34px;
  background: var(--gfhq-canvas);
  border-bottom: 1px solid var(--gfhq-line);
}

.gfhq-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(320px, .92fr);
  gap: 18px;
  align-items: start;
}

.gfhq-story-carousel,
.gfhq-trending {
  overflow: hidden;
  border: 1px solid var(--gfhq-line);
  border-radius: 7px;
  background: var(--gfhq-paper);
  box-shadow: 0 10px 30px rgba(18, 34, 29, .07);
}

.gfhq-slides {
  position: relative;
}

.gfhq-lead-slide {
  position: relative;
  display: none;
  min-height: 490px;
}

.gfhq-lead-slide.is-active {
  display: block;
}

.gfhq-lead-image {
  display: block;
  min-height: 490px;
  background: var(--gfhq-soft);
}

.gfhq-lead-image img {
  width: 100%;
  height: 490px;
  object-fit: cover;
}

.gfhq-lead-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 790px;
  padding: 26px 30px 28px;
  background: rgba(12, 22, 19, .92);
  color: #fff;
}

.gfhq-lead-overlay .gfhq-kicker {
  color: #afd26b;
}

.gfhq-lead-overlay h1,
.gfhq-lead-overlay h2 {
  max-width: 760px;
  margin: 6px 0 9px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.08;
}

.gfhq-lead-overlay p {
  max-width: 700px;
  margin: 0;
  color: #d4dedb;
  font-size: 15px;
}

.gfhq-lead-overlay .gfhq-post-meta {
  color: #b4c3be;
}

.gfhq-slide-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--gfhq-line);
}

.gfhq-slide-control {
  min-width: 0;
  padding: 10px;
  border: 0;
  border-right: 1px solid var(--gfhq-line);
  border-bottom: 3px solid transparent;
  background: var(--gfhq-paper);
  color: var(--gfhq-ink);
  cursor: pointer;
  text-align: left;
}

.gfhq-slide-control:last-child {
  border-right: 0;
}

.gfhq-slide-control.is-active {
  border-bottom-color: var(--gfhq-green);
  background: #f6f8f7;
}

.gfhq-slide-thumb {
  display: block;
  height: 57px;
  overflow: hidden;
  margin-bottom: 7px;
  border-radius: 3px;
  background: var(--gfhq-soft);
}

.gfhq-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gfhq-slide-control > span:last-child {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gfhq-trending {
  padding: 18px;
  border-top: 4px solid var(--gfhq-lime);
}

.gfhq-block-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gfhq-line);
}

.gfhq-block-heading > span {
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--gfhq-coral);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.gfhq-block-heading h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 950;
  text-transform: uppercase;
}

.gfhq-trend-lead {
  padding: 15px 0 12px;
}

.gfhq-trend-lead .gfhq-thumb {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gfhq-soft);
}

.gfhq-trend-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gfhq-trend-lead .gfhq-thumb > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 15px;
  background: rgba(11, 20, 18, .9);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.gfhq-trend-row {
  display: grid;
  grid-template-columns: 91px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--gfhq-line);
}

.gfhq-trend-row .gfhq-thumb {
  display: block;
  height: 69px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--gfhq-soft);
}

.gfhq-trend-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gfhq-trend-row h3 {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.gfhq-trend-row .gfhq-kicker,
.gfhq-trend-row .gfhq-post-meta {
  font-size: 9px;
}

.gfhq-trend-row .gfhq-post-meta {
  margin-top: 5px;
}

/* Main newsroom */
.gfhq-latest-zone {
  padding: 52px 0 60px;
}

.gfhq-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: start;
}

.gfhq-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 5px;
  border-bottom: 3px solid var(--gfhq-ink);
}

.gfhq-section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gfhq-section-symbol {
  display: block;
  width: 10px;
  height: 34px;
  border-radius: 2px;
  background: var(--gfhq-green);
  transform: skew(-12deg);
}

.gfhq-section-heading h2 {
  margin: 1px 0 0;
  font-size: 29px;
  font-weight: 950;
  line-height: 1.08;
}

.gfhq-section-heading > a {
  flex: 0 0 auto;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--gfhq-green-dark);
  font-size: 12px;
  font-weight: 850;
}

.gfhq-stream-story {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gfhq-line);
}

.gfhq-stream-story .gfhq-thumb {
  display: block;
  height: 152px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gfhq-soft);
}

.gfhq-stream-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.gfhq-stream-story:hover img {
  transform: scale(1.025);
}

.gfhq-stream-story h3 {
  margin: 4px 0 7px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.18;
}

.gfhq-stream-story p {
  margin: 0;
  color: var(--gfhq-muted);
  font-size: 14px;
}

.gfhq-home-sidebar {
  position: sticky;
  top: 135px;
  display: grid;
  gap: 22px;
}

.admin-bar .gfhq-home-sidebar {
  top: 167px;
}

.gfhq-guide-panel,
.gfhq-track-panel {
  padding: 24px;
  border-radius: 6px;
}

.gfhq-guide-panel {
  background: var(--gfhq-deep);
  color: #fff;
}

.gfhq-guide-panel .gfhq-kicker {
  color: #b8d876;
}

.gfhq-guide-panel h2,
.gfhq-track-panel h2 {
  margin: 3px 0 16px;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.12;
}

.gfhq-guide-panel ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: guide;
}

.gfhq-guide-panel li {
  border-top: 1px solid rgba(255, 255, 255, .15);
  counter-increment: guide;
}

.gfhq-guide-panel li a {
  position: relative;
  display: block;
  padding: 15px 0 15px 35px;
}

.gfhq-guide-panel li a::before {
  position: absolute;
  top: 15px;
  left: 0;
  color: #b8d876;
  content: counter(guide, decimal-leading-zero);
  font-size: 13px;
  font-weight: 900;
}

.gfhq-guide-panel strong,
.gfhq-guide-panel span {
  display: block;
}

.gfhq-guide-panel strong {
  font-size: 14px;
  line-height: 1.3;
}

.gfhq-guide-panel span {
  margin-top: 5px;
  color: #b8c5c1;
  font-size: 11px;
}

.gfhq-track-panel {
  border-top: 4px solid var(--gfhq-coral);
  background: var(--gfhq-canvas);
}

.gfhq-track-panel nav {
  border-top: 1px solid var(--gfhq-line);
}

.gfhq-track-panel nav a {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--gfhq-line);
  font-size: 13px;
  font-weight: 800;
}

.gfhq-track-panel nav b {
  color: var(--gfhq-coral);
  font-size: 18px;
}

/* Topic desks */
.gfhq-desk-section {
  padding: 10px 0 58px;
}

.gfhq-desk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
}

.gfhq-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--gfhq-line);
  border-radius: 6px;
  background: var(--gfhq-paper);
}

.gfhq-card .gfhq-thumb {
  display: block;
  height: 158px;
  overflow: hidden;
  background: var(--gfhq-soft);
}

.gfhq-card .gfhq-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.gfhq-card:hover .gfhq-thumb img {
  transform: scale(1.025);
}

.gfhq-card-body {
  padding: 16px;
}

.gfhq-card h3 {
  margin: 5px 0 8px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
}

.gfhq-card p {
  margin: 0;
  color: var(--gfhq-muted);
  font-size: 13px;
}

.gfhq-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gfhq-card-featured .gfhq-thumb {
  height: 312px;
}

.gfhq-card-featured h3 {
  font-size: 27px;
}

.gfhq-method-strip {
  padding: 40px 0;
  border-top: 1px solid var(--gfhq-line);
  background: var(--gfhq-canvas);
}

.gfhq-method-strip .gfhq-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 42px;
}

.gfhq-method-strip h2 {
  margin: 3px 0 0;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.15;
}

.gfhq-method-strip p {
  margin: 0;
  color: var(--gfhq-muted);
  font-size: 14px;
}

.gfhq-empty-edition {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.2fr .8fr;
  padding-top: 32px;
  padding-bottom: 42px;
}

.gfhq-empty-edition img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.gfhq-empty-edition > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: var(--gfhq-deep);
  color: #fff;
}

.gfhq-empty-edition .gfhq-kicker {
  color: #b8d876;
}

.gfhq-empty-edition h1 {
  margin: 8px 0 18px;
  font-size: 43px;
  font-weight: 950;
  line-height: 1.05;
}

.gfhq-empty-edition p {
  color: #c7d2ce;
}

.gfhq-empty-edition .gfhq-admin-note {
  padding: 13px;
  border-left: 3px solid #b8d876;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
}

/* Listings and articles */
.gfhq-page-shell {
  padding-top: 42px;
  padding-bottom: 70px;
}

.gfhq-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: start;
}

.gfhq-main-column {
  min-width: 0;
}

.gfhq-listing-header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--gfhq-ink);
}

.gfhq-listing-header h1 {
  margin: 4px 0 0;
  font-size: 43px;
  font-weight: 950;
  line-height: 1.08;
}

.gfhq-listing-description {
  max-width: 760px;
  color: var(--gfhq-muted);
}

.gfhq-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gfhq-card-grid .gfhq-card .gfhq-thumb {
  height: 220px;
}

.gfhq-pagination {
  margin-top: 32px;
}

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

.page-numbers {
  padding: 8px 12px;
  border: 1px solid var(--gfhq-line);
  border-radius: 3px;
}

.page-numbers.current {
  border-color: var(--gfhq-deep);
  background: var(--gfhq-deep);
  color: #fff;
}

.gfhq-empty-state {
  padding: 30px;
  border-top: 4px solid var(--gfhq-coral);
  background: var(--gfhq-canvas);
}

.gfhq-empty-state h2 {
  margin-top: 0;
  font-size: 28px;
  font-weight: 950;
}

.gfhq-empty-state .gfhq-search-form {
  max-width: 560px;
}

.gfhq-sidebar {
  position: sticky;
  top: 135px;
  display: grid;
  gap: 20px;
}

.admin-bar .gfhq-sidebar {
  top: 167px;
}

.gfhq-panel {
  padding: 22px;
  border-top: 4px solid var(--gfhq-coral);
  border-radius: 5px;
  background: var(--gfhq-canvas);
}

.gfhq-panel-title {
  margin: 4px 0 16px;
  font-size: 25px;
  font-weight: 950;
  line-height: 1.12;
}

.gfhq-sidebar .gfhq-search-form {
  grid-template-columns: minmax(0, 1fr) 74px;
}

.gfhq-sidebar .gfhq-search-form button {
  min-width: 74px;
  padding: 0 8px;
}

.gfhq-trending-list {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: stories;
}

.gfhq-trending-list li {
  padding: 13px 0;
  border-top: 1px solid var(--gfhq-line);
  counter-increment: stories;
}

.gfhq-trending-list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
}

.gfhq-trending-list a::before {
  color: var(--gfhq-coral);
  content: counter(stories, decimal-leading-zero);
  font-size: 14px;
  font-weight: 950;
}

.gfhq-trending-list strong,
.gfhq-trending-list small {
  display: block;
}

.gfhq-trending-list strong {
  font-size: 13px;
  line-height: 1.3;
}

.gfhq-trending-list small {
  margin-top: 4px;
  color: var(--gfhq-muted);
  font-size: 9px;
  text-transform: uppercase;
}

.gfhq-topic-panel nav {
  border-top: 1px solid var(--gfhq-line);
}

.gfhq-topic-panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gfhq-line);
  font-size: 13px;
  font-weight: 750;
}

.gfhq-topic-panel nav b {
  color: var(--gfhq-coral);
}

.gfhq-article {
  overflow: hidden;
  border: 1px solid var(--gfhq-line);
  border-radius: 6px;
  background: var(--gfhq-paper);
}

.gfhq-article-header {
  padding: 42px 46px 30px;
}

.gfhq-article-header h1,
.gfhq-article > h1 {
  max-width: 900px;
  margin: 7px 0 14px;
  font-size: 50px;
  font-weight: 950;
  line-height: 1.05;
}

.gfhq-article > h1 {
  padding: 42px 46px 0;
}

.gfhq-article-deck {
  max-width: 780px;
  margin: 0;
  color: var(--gfhq-muted);
  font-size: 19px;
}

.gfhq-featured {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gfhq-soft);
}

.gfhq-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gfhq-article-content {
  max-width: 780px;
  padding: 42px 34px 56px;
  margin: 0 auto;
  color: #25302d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.72;
}

.gfhq-article-content > :first-child {
  margin-top: 0;
}

.gfhq-article-content h2,
.gfhq-article-content h3 {
  color: var(--gfhq-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 950;
  line-height: 1.18;
}

.gfhq-article-content h2 {
  margin-top: 40px;
  font-size: 29px;
}

.gfhq-article-content h3 {
  margin-top: 28px;
  font-size: 22px;
}

.gfhq-article-content a {
  color: var(--gfhq-blue);
  text-decoration: underline;
}

.gfhq-article-content img {
  margin: 28px auto;
}

.gfhq-article-content blockquote {
  padding: 18px 22px;
  margin: 28px 0;
  border-left: 4px solid var(--gfhq-coral);
  background: var(--gfhq-canvas);
}

.gfhq-article-content code {
  padding: 2px 5px;
  border-radius: 3px;
  background: #edf1ef;
  font-family: Consolas, monospace;
  font-size: .9em;
}

.gfhq-article-content pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 4px;
  background: var(--gfhq-deep);
  color: #e8efec;
  font-family: Consolas, monospace;
  font-size: 14px;
}

.gfhq-source-note {
  padding: 20px 22px;
  margin-top: 42px;
  border-top: 4px solid var(--gfhq-green);
  background: var(--gfhq-canvas);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.gfhq-source-note strong {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.gfhq-source-note p {
  margin: 7px 0;
  color: var(--gfhq-muted);
}

.gfhq-source-note a {
  font-weight: 850;
}

.gfhq-article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 46px 38px;
}

.gfhq-article-footer a {
  padding: 6px 9px;
  border: 1px solid var(--gfhq-line);
  border-radius: 3px;
  color: var(--gfhq-muted);
  font-size: 12px;
  font-weight: 750;
}

/* Footer */
.gfhq-footer {
  border-top: 5px solid var(--gfhq-coral);
  background: var(--gfhq-deep);
  color: #d6e0dd;
}

.gfhq-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 54px;
  padding: 48px 0;
}

.gfhq-footer .gfhq-brand-name {
  color: #fff;
}

.gfhq-footer .gfhq-brand-sub,
.gfhq-footer p,
.gfhq-footer nav a {
  color: #adbbb7;
}

.gfhq-footer p {
  max-width: 460px;
}

.gfhq-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.gfhq-footer nav strong {
  margin-bottom: 5px;
  color: #fff;
}

.gfhq-footer nav a {
  font-size: 14px;
}

.gfhq-footer nav a:hover {
  color: #fff;
}

.gfhq-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #91a19c;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .gfhq-primary-menu {
    gap: 14px;
  }

  .gfhq-primary-menu a {
    font-size: 12px;
  }

  .gfhq-lead-grid {
    grid-template-columns: minmax(0, 1.7fr) 310px;
  }

  .gfhq-lead-overlay h1,
  .gfhq-lead-overlay h2 {
    font-size: 35px;
  }

  .gfhq-content-grid,
  .gfhq-content-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
  }
}

@media (max-width: 960px) {
  .gfhq-header-main {
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
  }

  .gfhq-menu-toggle {
    display: block;
    justify-self: end;
  }

  .gfhq-menu-toggle > span:first-child,
  .gfhq-menu-toggle > span:first-child::before,
  .gfhq-menu-toggle > span:first-child::after {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .gfhq-menu-toggle > span:first-child {
    top: 19px;
  }

  .gfhq-menu-toggle > span:first-child::before {
    top: -6px;
    left: 0;
  }

  .gfhq-menu-toggle > span:first-child::after {
    top: 6px;
    left: 0;
  }

  .gfhq-primary-navigation {
    position: absolute;
    top: 109px;
    right: 0;
    left: 0;
    display: none;
    padding: 13px 20px 18px;
    background: var(--gfhq-paper);
    border-top: 1px solid var(--gfhq-line);
    box-shadow: 0 16px 24px rgba(17, 24, 23, .13);
  }

  .admin-bar .gfhq-primary-navigation {
    top: 109px;
  }

  .gfhq-primary-navigation.is-open {
    display: block;
  }

  .gfhq-primary-menu {
    display: grid;
    gap: 0;
  }

  .gfhq-primary-menu a {
    padding: 11px 0;
    border-bottom: 1px solid var(--gfhq-line);
    font-size: 13px;
  }

  .gfhq-lead-grid,
  .gfhq-content-grid,
  .gfhq-content-layout {
    grid-template-columns: 1fr;
  }

  .gfhq-trending {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 0 16px;
  }

  .gfhq-block-heading {
    grid-column: 1 / -1;
  }

  .gfhq-trend-lead {
    grid-row: span 2;
  }

  .gfhq-home-sidebar,
  .gfhq-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfhq-desk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfhq-card-featured {
    grid-column: span 2;
    grid-row: auto;
  }

  .gfhq-method-strip .gfhq-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .gfhq-method-strip .gfhq-button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  body.admin-bar .gfhq-header {
    top: 46px;
  }

  .gfhq-wrap {
    width: min(calc(100% - 28px), var(--gfhq-width));
  }

  .gfhq-briefing-bar .gfhq-wrap {
    min-height: 28px;
  }

  .gfhq-briefing-bar p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gfhq-briefing-bar p span,
  .gfhq-briefing-bar time {
    display: none;
  }

  .gfhq-header-main {
    min-height: 66px;
  }

  .gfhq-brand-mark {
    width: 38px;
    height: 38px;
  }

  .gfhq-brand-name {
    font-size: 20px;
  }

  .gfhq-brand-sub {
    display: none;
  }

  .gfhq-menu-toggle,
  .gfhq-search-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .gfhq-menu-toggle > span:first-child {
    top: 17px;
    left: 8px;
  }

  .gfhq-search-toggle > span:first-child {
    top: 9px;
    left: 9px;
  }

  .gfhq-primary-navigation {
    top: 94px;
  }

  .gfhq-lead-zone {
    padding: 14px 0 22px;
  }

  .gfhq-lead-slide,
  .gfhq-lead-image {
    min-height: 0;
  }

  .gfhq-lead-image img {
    height: 260px;
  }

  .gfhq-lead-overlay {
    position: static;
    max-width: none;
    padding: 20px;
    background: var(--gfhq-deep);
  }

  .gfhq-lead-overlay h1,
  .gfhq-lead-overlay h2 {
    font-size: 29px;
  }

  .gfhq-lead-overlay p {
    font-size: 14px;
  }

  .gfhq-slide-controls {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .gfhq-slide-control {
    min-width: 132px;
    scroll-snap-align: start;
  }

  .gfhq-trending {
    display: block;
  }

  .gfhq-trend-lead {
    grid-row: auto;
  }

  .gfhq-latest-zone {
    padding: 36px 0 46px;
  }

  .gfhq-section-heading {
    align-items: flex-start;
  }

  .gfhq-section-heading h2 {
    font-size: 25px;
  }

  .gfhq-stream-story {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0;
  }

  .gfhq-stream-story .gfhq-thumb {
    height: 100px;
  }

  .gfhq-stream-story h3 {
    margin-top: 3px;
    font-size: 17px;
  }

  .gfhq-stream-story p,
  .gfhq-stream-story .gfhq-post-meta span,
  .gfhq-stream-story .gfhq-post-meta time + span {
    display: none;
  }

  .gfhq-home-sidebar,
  .gfhq-sidebar,
  .gfhq-card-grid {
    grid-template-columns: 1fr;
  }

  .gfhq-desk-grid {
    grid-template-columns: 1fr;
  }

  .gfhq-card-featured {
    grid-column: auto;
  }

  .gfhq-card-featured .gfhq-thumb,
  .gfhq-card .gfhq-thumb,
  .gfhq-card-grid .gfhq-card .gfhq-thumb {
    height: 210px;
  }

  .gfhq-card-featured h3 {
    font-size: 23px;
  }

  .gfhq-method-strip .gfhq-wrap,
  .gfhq-footer-grid,
  .gfhq-empty-edition {
    grid-template-columns: 1fr;
  }

  .gfhq-method-strip .gfhq-wrap {
    gap: 22px;
  }

  .gfhq-empty-edition {
    padding-top: 18px;
  }

  .gfhq-empty-edition img {
    height: 300px;
  }

  .gfhq-empty-edition > div {
    padding: 30px 24px;
  }

  .gfhq-empty-edition h1 {
    font-size: 34px;
  }

  .gfhq-listing-header h1 {
    font-size: 34px;
  }

  .gfhq-article-header,
  .gfhq-article > h1 {
    padding-right: 22px;
    padding-left: 22px;
  }

  .gfhq-article-header {
    padding-top: 28px;
  }

  .gfhq-article-header h1,
  .gfhq-article > h1 {
    font-size: 36px;
  }

  .gfhq-article-deck {
    font-size: 17px;
  }

  .gfhq-article-content {
    padding: 30px 22px 42px;
    font-size: 17px;
  }

  .gfhq-article-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .gfhq-footer-grid {
    gap: 32px;
  }

  .gfhq-footer-bottom {
    display: grid;
  }
}

@media (max-width: 430px) {
  .gfhq-brand {
    gap: 8px;
  }

  .gfhq-brand-name {
    font-size: 18px;
  }

  .gfhq-primary-navigation {
    padding-right: 14px;
    padding-left: 14px;
  }

  .gfhq-lead-image img {
    height: 220px;
  }

  .gfhq-lead-overlay h1,
  .gfhq-lead-overlay h2 {
    font-size: 26px;
  }

  .gfhq-section-heading > a {
    display: none;
  }

  .gfhq-stream-story {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .gfhq-stream-story .gfhq-thumb {
    height: 84px;
  }

  .gfhq-stream-story h3 {
    font-size: 15px;
  }

  .gfhq-card-featured .gfhq-thumb,
  .gfhq-card .gfhq-thumb,
  .gfhq-card-grid .gfhq-card .gfhq-thumb {
    height: 180px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
