/*
Theme Name: Blocksy GamEarth
Theme URI: https://blog.gamearth.fr/
Description: Child theme for the GamEarth blog.
Author: Codex
Template: blocksy
Version: 1.3.6
Text Domain: blocksy-gamearth
*/

:root {
  --theme-palette-color-1: #821812;
  --theme-palette-color-2: #e32018;
  --theme-palette-color-3: #5b524f;
  --theme-palette-color-4: #231f20;
  --theme-palette-color-5: #e8d8cf;
  --theme-palette-color-6: #f5ece7;
  --theme-palette-color-7: #fcf8f4;
  --theme-palette-color-8: #ffffff;
  --theme-text-color: var(--theme-palette-color-3);
  --theme-headings-color: var(--theme-palette-color-4);
  --theme-link-initial-color: var(--theme-palette-color-1);
  --theme-link-hover-color: var(--theme-palette-color-2);
  --theme-selection-text-color: #ffffff;
  --theme-selection-background-color: var(--theme-palette-color-2);
  --theme-border-color: rgba(130, 24, 18, 0.12);
  --theme-content-spacing: 1.35rem;
  --theme-content-vertical-spacing: clamp(2.4rem, 4.5vw, 4rem);
  --theme-button-padding: 0.85rem 1.35rem;
  --theme-button-background-initial-color: var(--theme-palette-color-1);
  --theme-button-background-hover-color: #6c130f;
  --theme-button-text-initial-color: #ffffff;
  --theme-button-text-hover-color: #ffffff;
  --ge-ink-soft: #6b615d;
  --ge-surface: rgba(255, 255, 255, 0.94);
  --ge-surface-strong: #ffffff;
  --ge-line: rgba(130, 24, 18, 0.1);
  --ge-shadow: 0 20px 48px rgba(35, 31, 32, 0.06);
  --ge-shadow-strong: 0 28px 72px rgba(35, 31, 32, 0.1);
  --ge-footer-bg: #231f20;
  --ge-brand-font: "Ethnocentric Rg", ethnocentric, "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.07), transparent 28rem),
    linear-gradient(180deg, #fffdfb 0%, var(--theme-palette-color-7) 22rem);
  color: var(--theme-text-color);
  font-family: "Poppins", sans-serif;
}

::selection {
  background: var(--theme-palette-color-2);
  color: #ffffff;
}

a,
button,
input,
textarea,
select {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: var(--theme-palette-color-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(227, 32, 24, 0.36);
  outline-offset: 3px;
}

.skip-link {
  background: var(--theme-palette-color-4);
  color: #ffffff;
}

body.page .hero-section {
  display: none;
}

[data-header*="type-1"] {
  --header-height: 82px;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] {
  --height: 82px;
  background: rgba(252, 248, 244, 0.92);
  border-bottom: 1px solid rgba(130, 24, 18, 0.08);
  box-shadow: 0 14px 40px rgba(35, 31, 32, 0.06);
  backdrop-filter: blur(16px);
}

.ct-container {
  width: min(100% - 36px, 1180px);
}

.site-branding {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.9rem;
}

.site-branding[data-logo="top"] {
  align-items: center;
}

.site-branding .site-logo-container {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.site-branding .site-logo-container img,
.site-branding .custom-logo,
.site-branding .default-logo {
  width: 50px;
  height: auto;
}

.site-branding .site-title-container {
  display: flex;
  align-items: center;
  min-width: 0;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-title {
  --theme-font-size: 1.78rem;
  --theme-line-height: 0.9;
  font-family: var(--ge-brand-font);
  font-size: 1.78rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: none;
  white-space: nowrap;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-title a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--theme-palette-color-4);
  font-family: var(--ge-brand-font);
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.92;
  overflow: hidden;
  text-decoration: none;
  text-wrap: nowrap;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
  --theme-font-size: 0.92rem;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.8rem;
  height: 2px;
  border-radius: 999px;
  background: var(--theme-palette-color-2);
  transform: scaleX(0);
  transform-origin: center;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li:hover > a,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current_page_parent > a {
  color: var(--theme-palette-color-2);
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li:hover > a::after,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a::after,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current_page_parent > a::after {
  transform: scaleX(1);
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu,
.ct-panel[data-behaviour="right-side"] .mobile-menu {
  font-family: "Poppins", sans-serif;
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a {
  color: var(--theme-palette-color-4);
}

[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:hover,
[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:focus-visible {
  color: var(--theme-palette-color-2);
}

.ge-social-menu-item {
  display: flex;
  align-items: center;
}

.ge-social-menu__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 2.1rem;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--theme-palette-color-4);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.ge-social-menu__icon,
.ge-social-links__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
}

.ge-social-menu__icon svg,
.ge-social-links__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.ge-social-menu-item > a::after {
  display: none;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.ge-social-menu-item:hover > a,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.ge-social-menu-item > a:hover,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.ge-social-menu-item > a:focus-visible {
  color: var(--theme-palette-color-2);
  background: transparent;
  transform: translateY(-1px);
}

.ct-header-search,
.ct-header-trigger {
  color: var(--theme-palette-color-1);
}

.ct-header-search:hover,
.ct-header-search:focus-visible,
.ct-header-trigger:hover,
.ct-header-trigger:focus-visible {
  color: var(--theme-palette-color-2);
}

#offcanvas .ct-panel-inner,
#search-modal {
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.18), transparent 18rem),
    rgba(35, 31, 32, 0.97);
}

#search-modal .ct-panel-content {
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

#search-modal .ct-search-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

#search-modal .ct-search-form input[type="search"] {
  margin: 0;
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#search-modal .ct-search-form-controls {
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  padding-right: 0.1rem;
}

#offcanvas .mobile-menu .ct-menu-link,
#offcanvas .mobile-menu .sub-menu .ct-menu-link {
  color: #ffffff;
}

#offcanvas .mobile-menu li.current-menu-item > .ct-menu-link,
#offcanvas .mobile-menu li.current_page_parent > .ct-menu-link,
#offcanvas .mobile-menu .ct-menu-link:hover,
#offcanvas .mobile-menu .ct-menu-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ct-search-form input[type="search"] {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  min-height: 3.25rem;
  padding: 0 1rem;
  border-radius: 18px;
}

#search-modal .ct-search-form button[data-button="icon"] {
  display: inline-flex;
  flex: 0 0 3.25rem;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  min-width: 3.25rem;
  min-height: 3.25rem;
  padding: 0;
  margin: 0;
  border-radius: 18px;
  line-height: 0;
  box-shadow: none;
}

#search-modal .ct-search-form button[data-button="icon"] .ct-search-button-content {
  width: 1rem;
  height: 1rem;
}

.ct-search-form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.ge-shell {
  gap: 1.6rem;
}

.ge-shell--home {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.ge-masthead {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: clamp(0.95rem, 2vw, 1.25rem);
  padding: clamp(2.2rem, 4vw, 3.3rem);
  border: 1px solid var(--ge-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.1), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 236, 231, 0.92));
  box-shadow: var(--ge-shadow-strong);
  text-align: center;
}

.ge-masthead::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #821812 0%, #e32018 100%);
}

.ge-masthead__eyebrow {
  margin: 0;
  color: var(--theme-palette-color-1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ge-masthead__title,
.ge-masthead h1 {
  margin: 0;
  max-width: 23ch;
  color: var(--theme-palette-color-4);
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  text-wrap: balance;
}

.ge-masthead__intro,
.ge-section-intro {
  max-width: 48rem;
  margin: 0;
  color: var(--ge-ink-soft);
  font-size: 1.02rem;
  line-height: 1.78;
}

.ge-button-row {
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.1rem;
  width: 100%;
}

.ge-button-row .wp-block-button__link,
.ge-empty-state__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--theme-palette-color-1);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.ge-button-row .wp-block-button__link:hover,
.ge-button-row .wp-block-button__link:focus-visible,
.ge-empty-state__button:hover,
.ge-empty-state__button:focus-visible {
  background: #6c130f;
  color: #ffffff;
  transform: translateY(-1px);
}

.ge-button-row .is-style-outline .wp-block-button__link {
  border-color: rgba(130, 24, 18, 0.18);
  background: transparent;
  color: var(--theme-palette-color-1);
}

.ge-button-row .is-style-outline .wp-block-button__link:hover,
.ge-button-row .is-style-outline .wp-block-button__link:focus-visible {
  border-color: rgba(130, 24, 18, 0.28);
  background: rgba(130, 24, 18, 0.06);
  color: var(--theme-palette-color-2);
}

.ge-category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ge-category-pills__group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.ge-category-pills__children {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ge-category-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(130, 24, 18, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--theme-palette-color-1);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.ge-category-pills a.ge-category-pills__child {
  min-height: 2.05rem;
  padding: 0.38rem 0.75rem;
  border-color: rgba(35, 31, 32, 0.1);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ge-ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.ge-category-pills a:hover,
.ge-category-pills a:focus-visible {
  border-color: rgba(227, 32, 24, 0.25);
  background: rgba(227, 32, 24, 0.08);
  color: var(--theme-palette-color-2);
}

.ge-section {
  gap: 1.15rem;
}

.ge-shell--home .ge-section {
  display: grid;
  gap: clamp(1.45rem, 2.6vw, 1.9rem);
  padding-top: clamp(0.45rem, 1.4vw, 0.9rem);
}

.ge-note-band,
.ge-empty-state,
.ge-topic-section,
[data-prefix="blog"] .entry-card,
[data-prefix="categories"] .entry-card,
[data-prefix="search"] .entry-card,
[data-prefix="author"] .entry-card,
[data-prefix="single_blog_post"] [class*="ct-container"] > article[class*="post"],
.single-ge_resource [class*="ct-container"] > article[class*="type-ge_resource"] {
  border: 1px solid var(--ge-line);
  border-radius: 28px;
  background: var(--ge-surface);
  box-shadow: var(--ge-shadow);
}

.ge-note-band {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 235, 231, 0.85));
}

.ge-note-band h2,
.ge-topic-section__header h2,
.ge-section h2 {
  margin: 0;
  color: var(--theme-palette-color-4);
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.ge-shell--home .ge-section h2 {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  text-align: left;
  padding-left: 0;
  border-left: 0;
  font-size: clamp(1.95rem, 3vw, 2.55rem);
  line-height: 1.06;
}

.ge-note-band p {
  margin: 0;
  max-width: 48rem;
  color: var(--ge-ink-soft);
  line-height: 1.78;
}

.ge-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.ge-editorial-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(130, 24, 18, 0.08);
  border-radius: 24px;
  background: var(--ge-surface-strong);
  box-shadow: 0 18px 42px rgba(35, 31, 32, 0.05);
}

.ge-editorial-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, #4e1d19 0%, #231f20 100%);
}

.ge-editorial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ge-shell--home .ge-editorial-card--ge_resource .ge-editorial-card__media {
  display: none;
}

.ge-editorial-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ge-editorial-card__media--placeholder span {
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.ge-editorial-card__body {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
}

.ge-editorial-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ge-editorial-card__type,
.ge-editorial-card__term {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.18rem 0.72rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.ge-editorial-card__type {
  background: rgba(130, 24, 18, 0.08);
  color: var(--theme-palette-color-1);
}

.ge-editorial-card__term {
  background: rgba(35, 31, 32, 0.05);
  color: var(--theme-palette-color-4);
}

.ge-editorial-card__term:hover,
.ge-editorial-card__term:focus-visible {
  background: rgba(227, 32, 24, 0.08);
  color: var(--theme-palette-color-2);
}

.ge-editorial-card__title {
  margin: 0;
  color: var(--theme-palette-color-4);
  font-size: 1.35rem;
  line-height: 1.22;
  text-wrap: balance;
}

.ge-editorial-card__title a {
  color: inherit;
  text-decoration: none;
}

.ge-editorial-card__title a:hover,
.ge-editorial-card__title a:focus-visible {
  color: var(--theme-palette-color-2);
}

.ge-editorial-card__excerpt {
  margin: 0;
  color: var(--ge-ink-soft);
  line-height: 1.72;
}

.ge-editorial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--theme-palette-color-1);
  font-size: 0.9rem;
  font-weight: 600;
}

.ge-editorial-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.ge-editorial-card__cta::after {
  content: "→";
}

.ge-topic-section--ge_resource {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ge-topic-section--ge_resource + .ge-topic-section--ge_resource {
  padding-top: 1.15rem;
  border-top: 1px solid var(--ge-line);
}

.ge-topic-section--ge_resource .ge-topic-section__header {
  margin-bottom: 0.75rem;
}

.ge-topic-section--ge_resource .ge-topic-section__header h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.ge-resource-groups {
  display: grid;
  gap: 0.95rem;
}

.ge-resource-subsection {
  display: grid;
  gap: 0.65rem;
}

.ge-resource-subsection + .ge-resource-subsection {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(130, 24, 18, 0.1);
}

.ge-resource-subsection__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.ge-resource-subsection__header h3 {
  margin: 0;
  color: var(--theme-palette-color-4);
  font-family: "Raleway", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.2;
}

.ge-resource-subsection__header::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  flex: none;
  border-radius: 999px;
  background: var(--theme-palette-color-2);
}

.ge-topic-section--ge_resource .ge-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource {
  border-color: rgba(130, 24, 18, 0.1);
  border-radius: 14px;
  box-shadow: none;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__media {
  display: none;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__body {
  gap: 0.48rem;
  padding: 0.85rem 0.95rem;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__type {
  display: none;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__meta {
  gap: 0.35rem;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__term {
  min-height: 1.45rem;
  padding: 0.08rem 0.48rem;
  border-radius: 999px;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__term--level-1,
.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__term--level-2,
.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__term--level-3 {
  background: rgba(35, 31, 32, 0.04);
  color: var(--ge-ink-soft);
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__title {
  font-size: 0.98rem;
  line-height: 1.25;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__excerpt,
.ge-topic-section--ge_resource .ge-editorial-card--ge_resource time {
  display: none;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__footer {
  justify-content: flex-start;
  color: var(--theme-palette-color-1);
  font-size: 0.78rem;
}

.ge-topic-section--ge_resource .ge-editorial-card--ge_resource .ge-editorial-card__cta {
  font-weight: 700;
}

.ge-empty-state {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  padding: 2rem;
  text-align: center;
}

.ge-empty-state h3 {
  margin: 0;
  color: var(--theme-palette-color-4);
  font-size: 1.28rem;
  line-height: 1.2;
}

.ge-empty-state p {
  margin: 0;
  max-width: 42rem;
  color: var(--ge-ink-soft);
  line-height: 1.75;
}

.ge-topic-sections {
  display: grid;
  gap: 1.5rem;
}

.ge-category-archive {
  display: grid;
  gap: 1.5rem;
}

.ge-category-archive__results,
.ge-category-empty {
  padding: clamp(1.7rem, 3vw, 2.2rem);
}

.ge-category-empty {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.ge-category-empty .ge-topic-section__header {
  margin-bottom: 0;
}

.ge-category-empty__search {
  width: min(100%, 34rem);
}

.ge-category-empty__search .ge-sidebar-search {
  width: 100%;
}

.ge-category-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.ge-topic-section {
  padding: clamp(1.7rem, 3vw, 2.2rem);
}

.ge-topic-section__header {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.ge-topic-section__eyebrow {
  margin: 0;
  color: var(--theme-palette-color-1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ge-topic-section__header p:last-child {
  margin: 0;
  max-width: 52rem;
  color: var(--ge-ink-soft);
  line-height: 1.75;
}

.ge-subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.ge-subcategory-list a {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(35, 31, 32, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ge-ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.ge-subcategory-list a:hover,
.ge-subcategory-list a:focus-visible {
  border-color: rgba(227, 32, 24, 0.22);
  background: rgba(227, 32, 24, 0.07);
  color: var(--theme-palette-color-2);
}

.ge-topic-section__subcategories {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(130, 24, 18, 0.1);
}

.ge-topic-section__subcategories .ge-subcategory-list {
  margin: 0;
}

.hero-section {
  margin-bottom: 1.35rem;
  padding: clamp(1.9rem, 3.5vw, 2.5rem);
  border: 1px solid var(--ge-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 236, 231, 0.88));
  box-shadow: var(--ge-shadow);
}

.hero-section .entry-header {
  display: grid;
  gap: 0.5rem;
}

.hero-section .page-title {
  margin: 0;
  color: var(--theme-palette-color-4);
  font-family: "Raleway", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  text-wrap: balance;
}

.hero-section .ct-title-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--theme-palette-color-1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-section .page-description p {
  margin: 0;
  max-width: 46rem;
  color: var(--ge-ink-soft);
  line-height: 1.75;
}

[data-prefix="single_blog_post"] .hero-section .entry-header::before,
.single-ge_resource .hero-section .entry-header::before {
  display: none;
  content: none;
}

[data-prefix="blog"] .entries,
[data-prefix="categories"] .entries,
[data-prefix="search"] .entries,
[data-prefix="author"] .entries {
  gap: 1.5rem;
}

[data-prefix="blog"] .entry-card,
[data-prefix="categories"] .entry-card,
[data-prefix="search"] .entry-card,
[data-prefix="author"] .entry-card {
  padding: 1.25rem;
}

[data-prefix="blog"] .entry-card .ct-media-container,
[data-prefix="categories"] .entry-card .ct-media-container,
[data-prefix="search"] .entry-card .ct-media-container,
[data-prefix="author"] .entry-card .ct-media-container {
  overflow: hidden;
  margin: 1rem 0 1.1rem;
  border-radius: 18px;
}

[data-prefix="blog"] .entry-card .entry-title a,
[data-prefix="categories"] .entry-card .entry-title a,
[data-prefix="search"] .entry-card .entry-title a,
[data-prefix="author"] .entry-card .entry-title a {
  color: var(--theme-palette-color-4);
  text-decoration: none;
}

[data-prefix="blog"] .entry-card .entry-title a:hover,
[data-prefix="blog"] .entry-card .entry-title a:focus-visible,
[data-prefix="categories"] .entry-card .entry-title a:hover,
[data-prefix="categories"] .entry-card .entry-title a:focus-visible,
[data-prefix="search"] .entry-card .entry-title a:hover,
[data-prefix="search"] .entry-card .entry-title a:focus-visible,
[data-prefix="author"] .entry-card .entry-title a:hover,
[data-prefix="author"] .entry-card .entry-title a:focus-visible {
  color: var(--theme-palette-color-2);
}

[data-prefix="blog"] .entry-card .entry-excerpt,
[data-prefix="categories"] .entry-card .entry-excerpt,
[data-prefix="search"] .entry-card .entry-excerpt,
[data-prefix="author"] .entry-card .entry-excerpt {
  color: var(--ge-ink-soft);
}

[data-prefix="blog"] .entry-card .entry-excerpt br,
[data-prefix="categories"] .entry-card .entry-excerpt br,
[data-prefix="search"] .entry-card .entry-excerpt br,
[data-prefix="author"] .entry-card .entry-excerpt br {
  display: none;
}

[data-prefix="blog"] .entry-card .entry-meta,
[data-prefix="categories"] .entry-card .entry-meta,
[data-prefix="search"] .entry-card .entry-meta,
[data-prefix="author"] .entry-card .entry-meta {
  color: var(--theme-palette-color-1);
}

[data-prefix="blog"] .entry-card .meta-categories a,
[data-prefix="categories"] .entry-card .meta-categories a,
[data-prefix="search"] .entry-card .meta-categories a,
[data-prefix="author"] .entry-card .meta-categories a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

[data-prefix="single_blog_post"] [class*="ct-container"] > article[class*="post"],
.single-ge_resource [class*="ct-container"] > article[class*="type-ge_resource"] {
  overflow: hidden;
}

[data-prefix="ge_resource_single"] [class*="ct-container"] > article[class*="type-ge_resource"],
.single-ge_resource [class*="ct-container"] > article[class*="type-ge_resource"] {
  --has-boxed: var(--true);
  --has-wide: var(--false);
  --theme-boxed-content-spacing: 40px;
  --theme-boxed-content-border-radius: 3px;
  --theme-boxed-content-box-shadow: 0px 12px 18px -6px rgba(34, 56, 101, 0.04);
  background-color: var(--theme-palette-color-8);
}

[data-prefix="single_blog_post"] .hero-section,
.single-ge_resource .hero-section {
  margin-bottom: 1.1rem;
}

[data-prefix="single_blog_post"] .entry-header .page-title,
.single-ge_resource .entry-header .page-title {
  line-height: 1.08;
}

[data-prefix="single_blog_post"] .entry-content,
.single-ge_resource .entry-content {
  color: #342f2d;
}

[data-prefix="single_blog_post"] .hero-section .page-description,
.single-ge_resource .hero-section .page-description,
[data-prefix="single_blog_post"] .hero-section .entry-meta,
.single-ge_resource .hero-section .entry-meta {
  display: none;
}

[data-prefix="single_blog_post"] .entry-content p,
[data-prefix="single_blog_post"] .entry-content li,
.single-ge_resource .entry-content p,
.single-ge_resource .entry-content li {
  line-height: 1.88;
  font-size: 1.05rem;
}

[data-prefix="single_blog_post"] .entry-content h2,
[data-prefix="single_blog_post"] .entry-content h3,
.single-ge_resource .entry-content h2,
.single-ge_resource .entry-content h3 {
  margin-top: 2.3rem;
  color: var(--theme-palette-color-4);
  line-height: 1.15;
}

[data-prefix="single_blog_post"] .entry-content blockquote,
.single-ge_resource .entry-content blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--theme-palette-color-1);
  border-radius: 0 18px 18px 0;
  background: var(--theme-palette-color-6);
}

[data-prefix="single_blog_post"] .entry-content ul li::marker,
[data-prefix="single_blog_post"] .entry-content ol li::marker,
.single-ge_resource .entry-content ul li::marker,
.single-ge_resource .entry-content ol li::marker {
  color: var(--theme-palette-color-1);
}

[data-prefix="single_blog_post"] .entry-content a,
.single-ge_resource .entry-content a {
  color: var(--theme-palette-color-1);
  overflow-wrap: anywhere;
}

[data-prefix="single_blog_post"] .entry-content p a[href^="http"],
[data-prefix="single_blog_post"] .entry-content li a[href^="http"],
.single-ge_resource .entry-content p a[href^="http"],
.single-ge_resource .entry-content li a[href^="http"] {
  margin-inline: 0.18em;
  word-break: break-word;
}

[data-prefix="single_blog_post"] .entry-content p a[href^="http"]::before,
[data-prefix="single_blog_post"] .entry-content p a[href^="http"]::after,
[data-prefix="single_blog_post"] .entry-content li a[href^="http"]::before,
[data-prefix="single_blog_post"] .entry-content li a[href^="http"]::after,
.single-ge_resource .entry-content p a[href^="http"]::before,
.single-ge_resource .entry-content p a[href^="http"]::after,
.single-ge_resource .entry-content li a[href^="http"]::before,
.single-ge_resource .entry-content li a[href^="http"]::after {
  content: " ";
  white-space: pre;
}

[data-prefix="single_blog_post"] .entry-content a:hover,
[data-prefix="single_blog_post"] .entry-content a:focus-visible,
.single-ge_resource .entry-content a:hover,
.single-ge_resource .entry-content a:focus-visible {
  color: var(--theme-palette-color-2);
}

[data-prefix="single_blog_post"] .entry-content > :first-child,
.single-ge_resource .entry-content > :first-child {
  margin-top: 0;
}

[data-prefix="single_blog_post"] .entry-content p:empty,
.single-ge_resource .entry-content p:empty {
  display: none;
}

.ge-article-spotlight {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ge-article-spotlight__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: min(100%, 46rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ge-article-spotlight__item {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ge-line);
  border-radius: 18px;
  background: rgba(245, 236, 231, 0.56);
}

.ge-article-spotlight__label {
  color: var(--theme-palette-color-1);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ge-article-spotlight__value,
.ge-article-spotlight__value a {
  color: var(--theme-palette-color-4);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.ge-article-spotlight__value a:hover,
.ge-article-spotlight__value a:focus-visible {
  color: var(--theme-palette-color-2);
}

.ge-article-spotlight__media {
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  box-shadow: var(--ge-shadow);
}

.ge-article-spotlight__media img {
  display: block;
  width: 100%;
  height: auto;
}

.ge-quiz {
  --ge-quiz-progress: 0%;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(1.05rem, 2vw, 1.45rem);
  margin: clamp(1.6rem, 3vw, 2.2rem) 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ge-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.09), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 236, 231, 0.9));
  box-shadow: var(--ge-shadow);
}

.ge-quiz::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #821812 0%, #e32018 100%);
}

.ge-quiz__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  align-items: start;
  text-align: left;
}

.ge-quiz__heading {
  display: grid;
  gap: 0.45rem;
}

.ge-quiz__eyebrow,
.ge-quiz__result-eyebrow {
  margin: 0;
  color: var(--theme-palette-color-1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ge-quiz h2,
.ge-quiz__question-title,
.ge-quiz__result-title {
  margin: 0;
  color: var(--theme-palette-color-4);
  font-family: "Raleway", sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.ge-quiz h2,
[data-prefix="single_blog_post"] .entry-content .ge-quiz h2,
.single-ge_resource .entry-content .ge-quiz h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.12;
}

.ge-quiz__question-title,
.ge-quiz__result-title,
[data-prefix="single_blog_post"] .entry-content .ge-quiz .ge-quiz__question-title,
.single-ge_resource .entry-content .ge-quiz .ge-quiz__question-title,
[data-prefix="single_blog_post"] .entry-content .ge-quiz .ge-quiz__result-title,
.single-ge_resource .entry-content .ge-quiz .ge-quiz__result-title {
  font-size: clamp(1.18rem, 2.1vw, 1.55rem);
  line-height: 1.16;
}

.ge-quiz__intro,
.ge-quiz__helper,
.ge-quiz__result-text,
.ge-quiz__noscript {
  margin: 0;
  color: var(--ge-ink-soft);
  font-size: 1rem;
  line-height: 1.72;
  text-align: left;
}

[data-prefix="single_blog_post"] .entry-content .ge-quiz p,
.single-ge_resource .entry-content .ge-quiz p,
[data-prefix="single_blog_post"] .entry-content .ge-quiz li,
.single-ge_resource .entry-content .ge-quiz li {
  font-size: 1rem;
  line-height: 1.72;
}

.ge-quiz__intro {
  max-width: 48rem;
}

.ge-quiz__progress {
  display: grid;
  gap: 0.45rem;
  justify-self: stretch;
  width: 100%;
  color: var(--theme-palette-color-1);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
}

.ge-quiz__progress-track {
  position: relative;
  overflow: hidden;
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.1);
}

.ge-quiz__progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--ge-quiz-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, #821812 0%, #e32018 100%);
}

.ge-quiz__stage {
  min-height: 8rem;
}

.ge-quiz__question,
.ge-quiz__result {
  display: grid;
  gap: 1rem;
}

.ge-quiz__choices {
  display: grid;
  gap: 0.75rem;
}

.ge-quiz__choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 4rem;
  padding: 0.88rem 1rem;
  border: 1px solid rgba(130, 24, 18, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--theme-palette-color-4);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.ge-quiz__choice:hover,
.ge-quiz__choice:focus-visible {
  border-color: rgba(227, 32, 24, 0.24);
  background: rgba(227, 32, 24, 0.06);
  color: var(--theme-palette-color-4);
  transform: translateY(-1px);
}

.ge-quiz__choice-marker {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.08);
  color: var(--theme-palette-color-1);
  font-size: 0.82rem;
  font-weight: 800;
}

.ge-quiz__choice-label {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ge-quiz__nav,
.ge-quiz__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ge-quiz__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(130, 24, 18, 0.16);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

.ge-quiz__button--primary {
  border-color: transparent;
  background: var(--theme-palette-color-1);
  color: #ffffff;
}

.ge-quiz__button--primary:hover,
.ge-quiz__button--primary:focus-visible {
  background: #6c130f;
  color: #ffffff;
  transform: translateY(-1px);
}

.ge-quiz__button--ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--theme-palette-color-1);
}

.ge-quiz__button--ghost:hover,
.ge-quiz__button--ghost:focus-visible {
  border-color: rgba(227, 32, 24, 0.22);
  background: rgba(227, 32, 24, 0.07);
  color: var(--theme-palette-color-2);
}

.ge-quiz__result {
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(130, 24, 18, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.ge-quiz__scores {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ge-quiz__scores li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(130, 24, 18, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.ge-quiz__scores span {
  color: var(--theme-palette-color-4);
  font-weight: 600;
}

.ge-quiz__scores strong {
  color: var(--theme-palette-color-1);
}

.pagination a,
.ct-pagination a {
  color: var(--theme-palette-color-1);
}

.pagination a:hover,
.pagination a:focus-visible,
.ct-pagination a:hover,
.ct-pagination a:focus-visible {
  color: var(--theme-palette-color-2);
}

.ct-container[data-sidebar="right"] {
  align-items: start;
}

.ct-container[data-sidebar="right"] > article,
.ct-container[data-sidebar="right"] > .ge-sidebar,
.ct-container[data-sidebar="right"] > aside {
  align-self: start;
  min-height: 0;
}

.ct-container[data-sidebar="right"] > aside {
  display: block;
}

.ct-container[data-sidebar="right"] > aside > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ge-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  height: fit-content;
  overflow-anchor: none;
}

.ge-sidebar-card,
.ct-container[data-sidebar="right"] > aside .widget {
  display: grid;
  flex: none;
  align-content: start;
  gap: 0.55rem;
  min-height: 0;
  padding: 1.1rem 1.1rem 1.05rem;
  border: 1px solid var(--ge-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.07), transparent 16rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--ge-shadow);
}

.ge-sidebar-card > *,
.ct-container[data-sidebar="right"] > aside .widget > * {
  margin: 0;
}

.ge-sidebar-card__eyebrow {
  margin: 0;
  color: var(--theme-palette-color-1);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.35;
}

.ge-sidebar-card__title,
.ct-container[data-sidebar="right"] > aside .widget-title {
  margin: 0;
  color: var(--theme-palette-color-4);
  font-family: "Raleway", sans-serif;
  font-size: 1.12rem;
  line-height: 1.18;
}

.ge-sidebar-card__empty {
  margin: 0;
  color: var(--ge-ink-soft);
  line-height: 1.7;
}

.ge-sidebar-search {
  display: grid;
  gap: 0.4rem;
}

.ge-sidebar-search__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem;
  border: 1px solid rgba(130, 24, 18, 0.14);
  border-radius: 20px;
  background: rgba(245, 236, 231, 0.66);
}

.ge-sidebar-search input[type="search"] {
  min-width: 0;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--theme-palette-color-4);
  box-shadow: none;
}

.ge-sidebar-search input[type="search"]::placeholder {
  color: var(--ge-ink-soft);
}

.ge-sidebar-search input[type="search"]:focus {
  outline: none;
}

.ge-sidebar-search button,
.ge-sidebar-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.68rem 0.95rem;
  border: 0;
  border-radius: 14px;
  background: var(--theme-palette-color-1);
  color: #ffffff;
  font-weight: 600;
  line-height: 0;
  text-decoration: none;
}

.ge-sidebar-search button {
  min-width: 2.75rem;
  padding: 0;
  border-radius: 16px;
}

.ge-sidebar-search button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.ge-sidebar-card__button {
  margin-top: 0.15rem;
}

.ge-sidebar-search button:hover,
.ge-sidebar-search button:focus-visible,
.ge-sidebar-card__button:hover,
.ge-sidebar-card__button:focus-visible {
  background: #6c130f;
  color: #ffffff;
}

.ge-sidebar-list,
.ge-sidebar-taxonomy {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ge-sidebar-list__link,
.ge-sidebar-taxonomy a {
  display: grid;
  gap: 0.18rem;
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(130, 24, 18, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.ge-sidebar-list__title,
.ge-sidebar-taxonomy span {
  color: var(--theme-palette-color-4);
  font-weight: 700;
  line-height: 1.35;
}

.ge-sidebar-list__meta,
.ge-sidebar-taxonomy small {
  color: var(--ge-ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ge-sidebar-list__link:hover,
.ge-sidebar-list__link:focus-visible,
.ge-sidebar-taxonomy a:hover,
.ge-sidebar-taxonomy a:focus-visible {
  border-color: rgba(227, 32, 24, 0.22);
  background: rgba(227, 32, 24, 0.06);
  color: inherit;
  transform: translateY(-1px);
}

.ge-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ge-social-links__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(130, 24, 18, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--theme-palette-color-4);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.ge-social-links__label {
  display: none;
}

.ge-social-links__link:hover,
.ge-social-links__link:focus-visible {
  border-color: rgba(227, 32, 24, 0.2);
  background: rgba(227, 32, 24, 0.06);
  color: var(--theme-palette-color-2);
  transform: translateY(-1px);
}

.ct-footer {
  display: none;
}

.ge-site-footer {
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.2), transparent 18rem),
    var(--ge-footer-bg);
}

.ge-site-footer .ct-container {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
}

.ge-site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.ge-site-footer__title {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ge-site-footer__links {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ge-site-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.ge-site-footer__links a:hover,
.ge-site-footer__links a:focus-visible {
  color: #ffffff;
}

.ge-site-footer__social {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ge-site-footer__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ge-social-links--sidebar {
  justify-content: center;
}

.ge-sidebar-card--social {
  justify-items: center;
  text-align: center;
  padding-bottom: 1.15rem;
}

.ge-sidebar-card--social .ge-sidebar-card__eyebrow {
  display: block;
  margin-bottom: 0.15rem;
}

.ge-social-links--footer {
  justify-content: center;
}

.ge-social-links--footer .ge-social-links__link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ge-social-links--footer .ge-social-links__link:hover,
.ge-social-links--footer .ge-social-links__link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.ge-site-footer__bottom {
  margin-top: 1.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ge-site-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  text-align: center;
}

.ge-masthead__eyebrow,
.ge-masthead__intro,
.ge-section-intro,
.ge-note-band,
.ge-topic-section__eyebrow,
.ge-topic-section__header p:last-child {
  display: none;
}

.ct-comments-container {
  margin-top: clamp(0.9rem, 2vw, 1.35rem);
}

.ct-comments {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--ge-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.08), transparent 16rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--ge-shadow);
}

.comment-reply-title {
  margin: 0 0 1rem;
  color: var(--theme-palette-color-4);
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.comment-form > p {
  margin: 0;
}

.comment-notes,
.required-field-message {
  color: var(--ge-ink-soft);
  line-height: 1.65;
}

.comment-form label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--theme-palette-color-4);
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(130, 24, 18, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: var(--theme-palette-color-4);
}

.comment-form textarea {
  min-height: 12rem;
  resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: rgba(227, 32, 24, 0.36);
  box-shadow: 0 0 0 4px rgba(227, 32, 24, 0.08);
}

.comment-form-cookies-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ge-ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.comment-form-cookies-consent input {
  margin-top: 0.22rem;
}

.form-submit {
  margin-top: 0.25rem;
}

.form-submit .submit {
  min-height: 3rem;
  padding: 0.88rem 1.3rem;
  border-radius: 14px;
  background: var(--theme-palette-color-1);
  color: #ffffff;
}

.form-submit .submit:hover,
.form-submit .submit:focus-visible {
  background: #6c130f;
}

[data-prefix="search"] .hero-section .entry-header {
  display: grid;
  gap: 0.8rem;
}

[data-prefix="search"] .hero-section .entry-header::before {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.1);
  color: var(--theme-palette-color-1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  content: "Recherche";
}

[data-prefix="search"] .hero-section .page-title {
  max-width: 16ch;
  line-height: 1.08;
}

[data-prefix="search"] .entry-card {
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--ge-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(227, 32, 24, 0.06), transparent 15rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--ge-shadow);
}

[data-prefix="search"] .entry-card .entry-title {
  margin: 0;
}

[data-prefix="search"] .entry-card .entry-excerpt p {
  margin: 0;
}

[data-prefix="search"] .entry-card .entry-meta:last-of-type {
  color: var(--ge-ink-soft);
  font-size: 0.9rem;
}

[data-prefix="search"] .entry-card .meta-author {
  display: none;
}

@media (max-width: 1099.98px) {
  .ge-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ge-site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 999.98px) {
  [data-header*="type-1"] {
    --header-height: 74px;
  }

  [data-header*="type-1"] .ct-header [data-row*="middle"] {
    --height: 74px;
  }

  .site-branding .site-logo-container img,
  .site-branding .custom-logo,
  .site-branding .default-logo {
    width: 44px;
  }

  [data-header*="type-1"] .ct-header [data-id="logo"] .site-title {
    --theme-font-size: 1.22rem;
    font-size: 1.22rem;
    letter-spacing: 0.06em;
  }

  .ge-masthead__title,
  .ge-masthead h1 {
    max-width: 100%;
  }

  .ge-sidebar {
    position: static;
  }

  [data-prefix="ge_resource_single"] [class*="ct-container"] > article[class*="type-ge_resource"],
  .single-ge_resource [class*="ct-container"] > article[class*="type-ge_resource"] {
    --theme-boxed-content-spacing: 35px;
  }

  #offcanvas .mobile-menu > ul > li.ge-social-menu-item {
    display: inline-flex;
    width: auto;
    margin: 0.2rem 0.6rem 0 0;
  }

  #offcanvas .mobile-menu > ul > li.ge-social-menu-item .ct-menu-link {
    padding: 0.5rem 0.25rem;
  }

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

  .comment-form .comment-notes,
  .comment-form .comment-form-field-input-url,
  .comment-form .comment-form-field-textarea,
  .comment-form .comment-form-cookies-consent,
  .comment-form .form-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .ct-container {
    width: min(100% - 24px, 1180px);
  }

  .site-branding {
    gap: 0.7rem;
  }

  .site-branding .site-logo-container img,
  .site-branding .custom-logo,
  .site-branding .default-logo {
    width: 40px;
  }

  [data-header*="type-1"] .ct-header [data-id="logo"] .site-title {
    --theme-font-size: 0.9rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  [data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a::after {
    display: none;
  }

  #search-modal .ct-search-form,
  .ge-sidebar-search__field {
    grid-template-columns: 1fr;
  }

  .ge-masthead,
  .hero-section,
  .ge-note-band,
  .ge-quiz,
  .ge-topic-section,
  [data-prefix="blog"] .entry-card,
  [data-prefix="categories"] .entry-card,
  [data-prefix="search"] .entry-card,
  [data-prefix="author"] .entry-card,
  [data-prefix="single_blog_post"] [class*="ct-container"] > article[class*="post"],
  .single-ge_resource [class*="ct-container"] > article[class*="type-ge_resource"] {
    border-radius: 22px;
  }

  .ge-card-grid {
    grid-template-columns: 1fr;
  }

  [data-prefix="ge_resource_single"] [class*="ct-container"] > article[class*="type-ge_resource"],
  .single-ge_resource [class*="ct-container"] > article[class*="type-ge_resource"] {
    --theme-boxed-content-spacing: 20px;
  }

  .ge-quiz__header {
    grid-template-columns: 1fr;
  }

  .ge-quiz__progress {
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }

  .ge-quiz__choice {
    min-height: 3.7rem;
  }

  .ge-quiz__button {
    width: 100%;
  }

  .ge-quiz {
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 22px;
  }

  .ge-quiz h2,
  [data-prefix="single_blog_post"] .entry-content .ge-quiz h2,
  .single-ge_resource .entry-content .ge-quiz h2 {
    font-size: 1.42rem;
    line-height: 1.16;
  }

  .ge-quiz__question-title,
  .ge-quiz__result-title,
  [data-prefix="single_blog_post"] .entry-content .ge-quiz .ge-quiz__question-title,
  .single-ge_resource .entry-content .ge-quiz .ge-quiz__question-title,
  [data-prefix="single_blog_post"] .entry-content .ge-quiz .ge-quiz__result-title,
  .single-ge_resource .entry-content .ge-quiz .ge-quiz__result-title {
    font-size: 1.18rem;
    line-height: 1.18;
  }

  .ge-quiz__choice {
    grid-template-columns: 1.85rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.78rem;
    font-size: 0.94rem;
  }

  .ge-quiz__choice-marker {
    width: 1.85rem;
    height: 1.85rem;
  }

  .ge-button-row .wp-block-button,
  .ge-button-row .wp-block-button__link {
    width: 100%;
  }

  .ge-category-pills {
    justify-content: flex-start;
  }

  .ge-article-spotlight__item {
    min-width: 100%;
  }

  .ge-article-spotlight__meta {
    grid-template-columns: 1fr;
  }

  .comment-form {
    grid-template-columns: 1fr;
  }

  .ge-site-footer__grid {
    grid-template-columns: 1fr;
  }
}
