/* ==========================================================================
   Lumina Blog — Unified stylesheet (home + article)
   Prefix: hexa-*
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/material-symbols-outlined.ttf') format('truetype');
}

/* --- Design tokens -------------------------------------------------------- */
:root {
  --hexa-teal: #003b46;
  --hexa-teal-hover: #005a6b;
  --hexa-accent: #0d9488;
  --hexa-white: #ffffff;
  --hexa-text: #003b46;
  --hexa-text-muted: #64748b;
  --hexa-text-light: #94a3b8;
  --hexa-text-body: #475569;
  --hexa-text-strong: #334155;
  --hexa-border: #e2e8f0;
  --hexa-border-light: #cbd5e1;
  --hexa-surface: #f8fafb;
  --hexa-mint: #f0f7f8;
  --hexa-mint-row: #eef6f7;
  --hexa-tag-creativity-bg: #e6f4f1;
  --hexa-tag-creativity-text: #0d6e63;
  --hexa-tag-philosophy-bg: #fdf0e6;
  --hexa-tag-philosophy-text: #b45309;
  --hexa-tag-environment-bg: #e8f2fb;
  --hexa-tag-environment-text: #2563eb;
  --hexa-tag-article-bg: #e8f4f8;
  --hexa-tag-article-text: #0369a1;
  --hexa-nav-scrolled: rgba(255, 255, 255, 0.96);
  --hexa-shadow-hero: 0 16px 40px rgba(0, 59, 70, 0.1);
  --hexa-radius: 8px;
  --hexa-radius-lg: 12px;

  --hexa-max-width: 1440px;
  --hexa-gutter: 36px;
  --hexa-margin-mobile: 24px;
  --hexa-margin-desktop: 48px;
  --hexa-nav-height: 76px;

  --hexa-font-serif: 'Playfair Display', Georgia, serif;
  --hexa-font-sans: 'Inter', system-ui, sans-serif;
  --hexa-font-heading: var(--hexa-font-sans);
  --hexa-transition: all 0.25s ease;
  --hexa-ease-out: cubic-bezier(0.4, 0, 0.2, 1);

  --hexa-text-xs: 0.875rem;
  --hexa-text-sm: 0.9375rem;
  --hexa-text-base: 1.0625rem;
  --hexa-text-md: 1.125rem;
  --hexa-text-lg: 1.25rem;
  --hexa-text-xl: 1.375rem;
  --hexa-text-2xl: 1.625rem;
  --hexa-text-3xl: 2.125rem;
  --hexa-text-4xl: 2.75rem;
  --hexa-text-5xl: 3.375rem;
  --hexa-text-6xl: 4rem;
  --hexa-weight-normal: 400;
  --hexa-weight-medium: 500;
  --hexa-weight-semibold: 600;
  --hexa-weight-bold: 700;
}

/* --- Page themes ------------------------------------------------------------ */
.hexa-page-home {
  --hexa-teal: #052c2e;
  --hexa-teal-hover: #0a4245;
  --hexa-text: #052c2e;
  --hexa-bg: #f9f9f9;
  --hexa-text-muted: #5c6670;
  --hexa-text-light: #8b95a1;
  --hexa-border: #e5e7eb;
  --hexa-tag-creativity-bg: #e8f5f0;
  --hexa-tag-creativity-text: #0a5c52;
  --hexa-tag-philosophy-bg: #fdf0e8;
  --hexa-tag-philosophy-text: #9a4a12;
  --hexa-tag-environment-bg: #e8f0fa;
  --hexa-tag-environment-text: #1d5bb8;
  --hexa-nav-scrolled: rgba(249, 249, 249, 0.96);
  --hexa-shadow-hero: 0 20px 48px rgba(5, 44, 46, 0.12);
  background-color: var(--hexa-bg);
}

.hexa-page-article {
  scroll-behavior: smooth;
}

/* --- Reset & base ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--hexa-white);
  color: var(--hexa-text);
  font-family: var(--hexa-font-sans);
  font-size: var(--hexa-text-base);
  line-height: 1.65;
  font-weight: var(--hexa-weight-normal);
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* --- Layout ---------------------------------------------------------------- */
.hexa-container {
  width: 100%;
  max-width: var(--hexa-max-width);
  margin-inline: auto;
  padding-inline: var(--hexa-margin-mobile);
}

.hexa-main {
  padding-top: var(--hexa-nav-height);
}

.hexa-icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Header & navigation ---------------------------------------------------- */
.hexa-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  background-color: var(--hexa-white);
  border-bottom: 1px solid var(--hexa-border);
  transition: var(--hexa-transition);
}

.hexa-page-home .hexa-header {
  background-color: var(--hexa-bg);
}

.hexa-header--scrolled {
  background-color: var(--hexa-nav-scrolled);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--hexa-border);
}

.hexa-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: var(--hexa-nav-height);
  gap: 16px;
}

.hexa-header__logo {
  font-family: var(--hexa-font-heading);
  font-size: var(--hexa-text-xl);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
}

.hexa-page-home .hexa-header__logo {
  font-size: var(--hexa-text-2xl);
}

.hexa-header__nav {
  display: none;
}

.hexa-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.hexa-header__search {
  color: var(--hexa-teal);
  transition: var(--hexa-transition);
}

.hexa-header__search:hover {
  opacity: 0.65;
}

.hexa-page-article .hexa-header__search {
  font-size: 20px;
}

.hexa-header__nav-link {
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-muted);
  transition: var(--hexa-transition);
}

.hexa-header__nav-link:hover {
  color: var(--hexa-teal);
}

.hexa-page-article .hexa-header__nav-link {
  font-size: var(--hexa-text-base);
}

.hexa-page-home .hexa-header__nav-link {
  font-size: var(--hexa-text-base);
  color: var(--hexa-text-light);
}

/* --- Buttons ---------------------------------------------------------------- */
.hexa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hexa-font-sans);
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--hexa-transition);
  cursor: pointer;
}

.hexa-btn--solid {
  background-color: var(--hexa-teal);
  color: var(--hexa-white);
  padding: 12px 24px;
  border: 1px solid var(--hexa-teal);
}

.hexa-page-article .hexa-btn--solid {
  border-radius: 6px;
  padding: 10px 20px;
}

.hexa-btn--solid:hover {
  background-color: var(--hexa-teal-hover);
  border-color: var(--hexa-teal-hover);
}

.hexa-btn--outline {
  background-color: transparent;
  color: var(--hexa-teal);
  padding: 11px 26px;
  border: 1px solid var(--hexa-teal);
}

.hexa-page-home .hexa-hero__content .hexa-btn--outline {
  align-self: stretch;
  max-width: 280px;
  padding: 14px 28px;
  text-align: center;
}

.hexa-btn--outline:hover {
  background-color: var(--hexa-teal);
  color: var(--hexa-white);
}

.hexa-posts__more .hexa-btn--solid {
  padding: 12px 32px;
}

.hexa-page-home .hexa-posts__more .hexa-btn--solid {
  min-width: 200px;
  padding: 14px 40px;
}

/* --- Hero (home) ------------------------------------------------------------ */
.hexa-hero {
  padding-block: 48px 64px;
}

.hexa-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hexa-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hexa-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hexa-hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background-color: var(--hexa-border);
  flex-shrink: 0;
}

.hexa-hero__eyebrow-text {
  font-size: var(--hexa-text-xs);
  font-weight: var(--hexa-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hexa-text-light);
  white-space: nowrap;
}

.hexa-hero__title {
  font-family: var(--hexa-font-heading);
  font-size: var(--hexa-text-4xl);
  line-height: 1.12;
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
  max-width: 540px;
}

.hexa-page-home .hexa-hero__title {
  font-size: var(--hexa-text-5xl);
  line-height: 1.08;
}

.hexa-hero__description {
  font-family: var(--hexa-font-sans);
  font-size: var(--hexa-text-lg);
  line-height: 1.7;
  font-weight: var(--hexa-weight-normal);
  color: var(--hexa-text-muted);
  max-width: 520px;
}

.hexa-page-home .hexa-hero__description {
  font-size: var(--hexa-text-xl);
  line-height: 1.75;
}

.hexa-hero__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 4px;
}

.hexa-hero__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hexa-hero__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hexa-hero__author-name {
  font-size: var(--hexa-text-base);
  font-weight: var(--hexa-weight-semibold);
  color: var(--hexa-teal);
}

.hexa-hero__author-meta {
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-light);
}

.hexa-hero__media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--hexa-shadow-hero);
  aspect-ratio: 4 / 5;
}

.hexa-page-home .hexa-hero__media {
  border-radius: 16px;
}

.hexa-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Posts grid & cards (shared) -------------------------------------------- */
.hexa-posts {
  padding-block: 56px 72px;
}

.hexa-posts__header {
  text-align: center;
  margin-bottom: 48px;
}

.hexa-posts__title {
  font-family: var(--hexa-font-heading);
  font-size: var(--hexa-text-4xl);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
}

.hexa-page-home .hexa-posts__title {
  font-size: var(--hexa-text-5xl);
}

.hexa-posts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px var(--hexa-gutter);
}

.hexa-posts__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* --- 404 Not Found ------------------------------------------------------------ */
.hexa-not-found {
  padding-block: 64px 48px;
}

.hexa-not-found__panel {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding: 0;
}

.hexa-not-found__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hexa-not-found__eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--hexa-teal);
  opacity: 0.35;
}

.hexa-not-found__eyebrow-text {
  font-size: var(--hexa-text-xs);
  font-weight: var(--hexa-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hexa-teal);
}

.hexa-not-found__code {
  font-family: var(--hexa-font-heading);
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: var(--hexa-weight-bold);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--hexa-teal);
  opacity: 0.14;
  margin: 0 0 8px;
  user-select: none;
}

.hexa-not-found__title {
  font-family: var(--hexa-font-heading);
  font-size: clamp(2rem, 5vw, var(--hexa-text-4xl));
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hexa-not-found__description {
  max-width: 420px;
  margin: 0 auto 28px;
  font-size: var(--hexa-text-base);
  line-height: 1.7;
  color: var(--hexa-text-muted);
}

.hexa-not-found__actions {
  display: flex;
  justify-content: center;
}

.hexa-page-not-found .hexa-posts {
  padding-top: 24px;
}

@media (min-width: 768px) {
  .hexa-not-found {
    padding-block: 88px 56px;
  }
}

.hexa-card {
  display: flex;
  flex-direction: column;
  background-color: var(--hexa-white);
  border-radius: var(--hexa-radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(5, 44, 46, 0.04);
  color: inherit;
}

a.hexa-card:focus-visible {
  outline: 2px solid var(--hexa-teal);
  outline-offset: 2px;
}

.hexa-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #f1f5f9;
}

.hexa-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hexa-card:hover .hexa-card__image {
  transform: scale(1.03);
}

.hexa-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 28px;
}

.hexa-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--hexa-text-xs);
  font-weight: var(--hexa-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.hexa-card__tag--creativity {
  background-color: var(--hexa-tag-creativity-bg);
  color: var(--hexa-tag-creativity-text);
}

.hexa-card__tag--philosophy {
  background-color: var(--hexa-tag-philosophy-bg);
  color: var(--hexa-tag-philosophy-text);
}

.hexa-card__tag--environment {
  background-color: var(--hexa-tag-environment-bg);
  color: var(--hexa-tag-environment-text);
}

.hexa-card__title {
  font-family: var(--hexa-font-heading);
  font-size: var(--hexa-text-2xl);
  line-height: 1.3;
  font-weight: var(--hexa-weight-bold);
  letter-spacing: -0.02em;
  color: var(--hexa-teal);
  transition: var(--hexa-transition);
}

.hexa-card:hover .hexa-card__title {
  opacity: 0.75;
}

.hexa-card__excerpt {
  font-size: var(--hexa-text-base);
  line-height: 1.65;
  color: var(--hexa-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hexa-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.hexa-card__meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-light);
}

.hexa-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--hexa-text-light);
  flex-shrink: 0;
}

.hexa-card__arrow {
  color: var(--hexa-text-light);
  font-size: 20px;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hexa-card:hover .hexa-card__arrow {
  color: var(--hexa-teal);
  transform: translateX(3px);
}

/* --- Footer ----------------------------------------------------------------- */
.hexa-footer {
  border-top: 1px solid var(--hexa-border);
  padding-block: 28px;
}

.hexa-page-home .hexa-footer {
  background-color: var(--hexa-bg);
}

.hexa-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hexa-footer__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hexa-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hexa-footer__logo {
  font-family: var(--hexa-font-heading);
  font-size: var(--hexa-text-xl);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
}

.hexa-footer__logo--image {
  display: inline-flex;
  align-items: center;
}

.hexa-footer__logo-image {
  display: block;
  max-height: 32px;
  width: auto;
}

.hexa-footer__copyright {
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-light);
  line-height: 1.55;
}

.hexa-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hexa-footer__link {
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-light);
  transition: var(--hexa-transition);
}

.hexa-footer__link:hover {
  color: var(--hexa-teal);
}

.hexa-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hexa-footer__social-link {
  color: var(--hexa-text-light);
  transition: var(--hexa-transition);
}

.hexa-footer__social-link:hover {
  color: var(--hexa-teal);
}

/* --- Article layout --------------------------------------------------------- */
.hexa-main.hexa-article-layout {
  padding-top: calc(var(--hexa-nav-height) + 36px);
  padding-bottom: 56px;
}

.hexa-article-layout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.hexa-article__title {
  font-size: var(--hexa-text-4xl);
  line-height: 1.15;
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hexa-article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.hexa-article__meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hexa-article__meta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hexa-article__meta-name {
  font-size: var(--hexa-text-base);
  font-weight: var(--hexa-weight-semibold);
  color: var(--hexa-teal);
  line-height: 1.35;
}

.hexa-article__meta-date {
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-light);
  line-height: 1.35;
}

.hexa-article__meta-share {
  color: var(--hexa-text-light);
  font-size: 20px;
  transition: var(--hexa-transition);
}

.hexa-article__meta-share:hover {
  color: var(--hexa-teal);
}

.hexa-article__figure {
  margin-bottom: 32px;
}

.hexa-article__figure-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--hexa-radius-lg);
  background-color: var(--hexa-mint);
}

.hexa-article__body {
  color: var(--hexa-text-body);
  font-size: var(--hexa-text-md);
  line-height: 1.75;
}

.hexa-article__body p {
  margin-bottom: 24px;
}

.hexa-article__section-title {
  background-color: var(--hexa-mint);
  border: 1px solid var(--hexa-border);
  border-radius: var(--hexa-radius);
  padding: 16px 18px;
  margin-bottom: 24px;
  text-align: center;
}

.hexa-article__section-title h2 {
  font-size: var(--hexa-text-xl);
  font-weight: var(--hexa-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hexa-teal);
}

.hexa-article__highlight {
  text-decoration: underline;
  text-decoration-color: var(--hexa-accent);
  text-underline-offset: 3px;
  color: var(--hexa-text-strong);
}

.hexa-article__resources {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.hexa-article__resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background-color: var(--hexa-mint-row);
  border-radius: var(--hexa-radius);
}

.hexa-article__resource-text {
  font-size: var(--hexa-text-base);
  color: var(--hexa-text-strong);
  flex: 1;
  line-height: 1.55;
}

.hexa-article__copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--hexa-teal);
  color: var(--hexa-white);
  font-size: var(--hexa-text-xs);
  font-weight: var(--hexa-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: var(--hexa-transition);
}

.hexa-article__copy-btn:hover {
  background-color: var(--hexa-teal-hover);
}

.hexa-article__copy-btn .hexa-icon {
  font-size: 12px;
}

.hexa-article__copy-btn--copied {
  background-color: #0a6b62;
}

.hexa-copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, 12px);
  background-color: var(--hexa-teal);
  color: var(--hexa-white);
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 59, 70, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hexa-copy-toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hexa-article__inline-figure {
  margin-block: 32px;
}

.hexa-article__inline-image {
  width: 100%;
  border-radius: var(--hexa-radius-lg);
  object-fit: cover;
}

.hexa-article__quote {
  border-left: 3px solid var(--hexa-accent);
  padding-left: 20px;
  margin-block: 32px;
  font-size: var(--hexa-text-lg);
  font-weight: var(--hexa-weight-medium);
  font-style: italic;
  line-height: 1.7;
  color: var(--hexa-text-strong);
}

.hexa-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hexa-article__tag {
  background-color: var(--hexa-tag-article-bg);
  color: var(--hexa-tag-article-text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
}

.hexa-article__bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background-color: var(--hexa-surface);
  border: 1px solid var(--hexa-border);
  border-radius: var(--hexa-radius-lg);
  text-align: center;
}

.hexa-article__bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hexa-article__bio-name {
  font-size: var(--hexa-text-lg);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
}

.hexa-article__bio-text {
  font-size: var(--hexa-text-base);
  line-height: 1.65;
  color: var(--hexa-text-muted);
  max-width: 380px;
}

.hexa-article__bio-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.hexa-article__bio-social-link {
  color: var(--hexa-text-light);
  font-size: 18px;
  transition: var(--hexa-transition);
}

.hexa-article__bio-social-link:hover {
  color: var(--hexa-teal);
}

/* --- Sidebar (article) ------------------------------------------------------ */
.hexa-sidebar__sticky {
  position: sticky;
  top: calc(var(--hexa-nav-height) + 12px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hexa-sidebar__heading {
  font-size: var(--hexa-text-lg);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  margin-bottom: 16px;
}

.hexa-sidebar__posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hexa-sidebar__post {
  display: flex;
  gap: 12px;
}

.hexa-sidebar__post-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background-color: var(--hexa-surface);
  flex-shrink: 0;
}

.hexa-sidebar__post-title {
  font-size: var(--hexa-text-base);
  font-weight: var(--hexa-weight-semibold);
  color: var(--hexa-teal);
  line-height: 1.45;
  transition: var(--hexa-transition);
}

.hexa-sidebar__post:hover .hexa-sidebar__post-title {
  color: var(--hexa-accent);
}

.hexa-sidebar__post-date {
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-light);
  margin-top: 3px;
}

.hexa-sidebar__newsletter {
  background-color: var(--hexa-teal);
  border-radius: var(--hexa-radius-lg);
  padding: 24px;
  color: var(--hexa-white);
}

.hexa-sidebar__newsletter-title {
  font-family: var(--hexa-font-serif);
  font-size: var(--hexa-text-xl);
  font-weight: var(--hexa-weight-bold);
  margin-bottom: 6px;
}

.hexa-sidebar__newsletter-desc {
  font-size: var(--hexa-text-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.hexa-sidebar__input {
  width: 100%;
  background-color: var(--hexa-white);
  border: none;
  border-radius: 4px;
  color: var(--hexa-teal);
  font-size: var(--hexa-text-base);
  padding: 12px 14px;
  margin-bottom: 10px;
  outline: none;
}

.hexa-sidebar__input::placeholder {
  color: var(--hexa-text-light);
}

.hexa-sidebar__submit {
  width: 100%;
  background-color: var(--hexa-white);
  color: var(--hexa-teal);
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 4px;
  transition: var(--hexa-transition);
}

.hexa-sidebar__submit:hover {
  background-color: #f1f5f9;
}

.hexa-sidebar__categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hexa-sidebar__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--hexa-border);
  border-radius: var(--hexa-radius);
  transition: var(--hexa-transition);
}

.hexa-sidebar__category:hover {
  background-color: var(--hexa-mint);
}

.hexa-sidebar__category-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hexa-sidebar__category-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hexa-sidebar__category-icon--teal {
  background-color: #e0f2f1;
  color: var(--hexa-accent);
}

.hexa-sidebar__category-icon--blue {
  background-color: #eff6ff;
  color: #3b82f6;
}

.hexa-sidebar__category-icon--amber {
  background-color: #fff7ed;
  color: #ea580c;
}

.hexa-sidebar__category-icon .hexa-icon {
  font-size: 16px;
}

.hexa-sidebar__category-name {
  font-size: var(--hexa-text-base);
  font-weight: var(--hexa-weight-semibold);
  color: var(--hexa-teal);
}

.hexa-sidebar__category-count {
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-medium);
  color: var(--hexa-text-light);
  margin-top: 1px;
}

.hexa-sidebar__category-arrow {
  color: var(--hexa-border-light);
  font-size: 16px;
}

.hexa-sidebar__category:hover .hexa-sidebar__category-arrow {
  color: var(--hexa-teal);
}

/* --- Recommended & FAQ (article) -------------------------------------------- */
.hexa-recommended {
  background-color: var(--hexa-white);
  padding-block: 64px;
  border-top: 1px solid var(--hexa-border);
}

.hexa-recommended__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.hexa-recommended__title {
  font-size: var(--hexa-text-3xl);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
}

.hexa-recommended__view-all {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background-color: var(--hexa-teal);
  color: var(--hexa-white);
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 6px;
  transition: var(--hexa-transition);
}

.hexa-recommended__view-all:hover {
  background-color: var(--hexa-teal-hover);
}

.hexa-recommended .hexa-posts__grid {
  margin-top: 0;
}

.hexa-faq {
  background-color: var(--hexa-mint);
  padding-block: 64px 72px;
}

.hexa-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hexa-faq__title {
  font-size: var(--hexa-text-4xl);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
}

.hexa-faq__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hexa-faq__desc {
  font-size: var(--hexa-text-base);
  line-height: 1.6;
  color: var(--hexa-text-muted);
  max-width: 220px;
  margin: 0;
}

.hexa-faq__item {
  border-bottom: 1px solid var(--hexa-border);
  padding-block: 24px;
}

.hexa-faq__item:first-child {
  border-top: 1px solid var(--hexa-border);
}

.hexa-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.hexa-faq__question-text {
  font-size: var(--hexa-text-lg);
  font-weight: var(--hexa-weight-semibold);
  color: var(--hexa-teal);
  line-height: 1.5;
  padding-right: 20px;
}

.hexa-faq__toggle {
  font-size: 22px;
  font-weight: 300;
  color: var(--hexa-teal);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.35s var(--hexa-ease-out);
}

.hexa-faq__item--open .hexa-faq__toggle {
  transform: rotate(45deg);
}

.hexa-faq__answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  font-size: var(--hexa-text-base);
  line-height: 1.7;
  color: var(--hexa-text-muted);
  max-width: 560px;
  margin-top: 0;
  transition:
    max-height 0.4s var(--hexa-ease-out),
    opacity 0.35s ease,
    margin-top 0.35s ease;
}

.hexa-faq__item--open .hexa-faq__answer {
  max-height: 20rem;
  opacity: 1;
  margin-top: 16px;
}

.hexa-faq__answer .hexa-article__resource {
  margin-bottom: 0;
}

/* FAQ block inside post content */
.entry-content .hexa-faq--content {
  margin-block: 48px;
  padding: 40px 28px;
  border-radius: var(--hexa-radius-lg);
}

.entry-content .hexa-faq--content .hexa-faq__grid {
  gap: 28px;
}

.entry-content .hexa-faq--content .hexa-faq__title {
  margin-bottom: 0;
}

.entry-content .hexa-faq--content .hexa-faq__desc {
  margin: 0;
}

.entry-content .hexa-faq--content .hexa-faq__item--open .hexa-faq__answer {
  max-height: 32rem;
}

@media (min-width: 768px) {
  .entry-content .hexa-faq--content {
    padding: 48px 40px;
  }

  .entry-content .hexa-faq--content .hexa-faq__grid {
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* --- Responsive ------------------------------------------------------------- */
@media (min-width: 768px) {
  .hexa-container {
    padding-inline: var(--hexa-margin-desktop);
  }

  .hexa-header__inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .hexa-header__logo {
    justify-self: start;
  }

  .hexa-header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
    justify-self: center;
  }

  .hexa-page-article .hexa-header__nav {
    gap: 28px;
  }

  .hexa-header__actions {
    justify-self: end;
  }

  .hexa-hero {
    padding-block: 64px 80px;
  }

  .hexa-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }

  .hexa-hero__title {
    font-size: var(--hexa-text-5xl);
  }

  .hexa-page-home .hexa-hero__title {
    font-size: var(--hexa-text-6xl);
  }

  .hexa-posts__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 48px;
    column-gap: var(--hexa-gutter);
  }

  .hexa-footer__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
  }

  .hexa-footer__links {
    gap: 28px;
    justify-self: center;
  }

  .hexa-footer__social {
    justify-self: end;
  }

  .hexa-article__title {
    font-size: 2.5rem;
  }

  .hexa-article__section-title h2 {
    font-size: var(--hexa-text-2xl);
  }

  .hexa-article__bio {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .hexa-article-layout__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

  .hexa-recommended__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hexa-recommended__view-all {
    align-self: center;
  }

  .hexa-faq__grid {
    grid-template-columns: 220px 1fr;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .hexa-hero__title {
    font-size: var(--hexa-text-5xl);
  }

  .hexa-page-home .hexa-hero__title {
    font-size: clamp(3.25rem, 4vw, var(--hexa-text-6xl));
    line-height: 1.06;
    max-width: 620px;
  }

  .hexa-posts__title,
  .hexa-page-home .hexa-posts__title {
    font-size: var(--hexa-text-5xl);
  }

  .hexa-card__excerpt {
    font-size: var(--hexa-text-md);
  }

  .hexa-posts__grid {
    row-gap: 56px;
  }

  .hexa-article__title {
    font-size: 2.75rem;
  }

  .hexa-article-layout__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
  }

  .hexa-recommended__title {
    font-size: var(--hexa-text-4xl);
  }

  .hexa-faq__title {
    font-size: var(--hexa-text-5xl);
  }
}

/* --- Accessibility & SEO helpers -------------------------------------------- */
.hexa-skip-link {
  position: absolute;
  top: -1000px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  background-color: var(--hexa-teal);
  color: var(--hexa-white);
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-semibold);
  border-radius: 4px;
  text-decoration: none;
}

.hexa-skip-link:focus {
  top: 16px;
}

.hexa-breadcrumbs {
  padding-top: calc(var(--hexa-nav-height) + 12px);
  padding-bottom: 0;
}

.hexa-breadcrumbs + .hexa-main {
  padding-top: 12px;
}

.hexa-breadcrumbs + .hexa-main.hexa-article-layout {
  padding-top: 12px;
}

.hexa-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hexa-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  font-size: var(--hexa-text-sm);
  color: var(--hexa-text-light);
}

.hexa-breadcrumbs__item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--hexa-text-light);
  opacity: 0.6;
}

.hexa-breadcrumbs__link {
  color: var(--hexa-text-muted);
  transition: var(--hexa-transition);
}

.hexa-breadcrumbs__link:hover {
  color: var(--hexa-teal);
}

.hexa-breadcrumbs__current {
  color: var(--hexa-teal);
  font-weight: var(--hexa-weight-medium);
}

.hexa-article__meta-name a {
  color: inherit;
  text-decoration: none;
}

.hexa-article__meta-name a:hover {
  color: var(--hexa-teal);
}

.hexa-article__meta-sep {
  margin-inline: 6px;
  opacity: 0.5;
}

.hexa-breadcrumbs__rank-math .rank-math-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--hexa-text-sm);
  color: var(--hexa-text-light);
}

.hexa-breadcrumbs__rank-math .rank-math-breadcrumb p {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.hexa-breadcrumbs__rank-math .rank-math-breadcrumb a {
  color: var(--hexa-text-muted);
  text-decoration: none;
  transition: var(--hexa-transition);
}

.hexa-breadcrumbs__rank-math .rank-math-breadcrumb a:hover {
  color: var(--hexa-teal);
}

.hexa-breadcrumbs__rank-math .rank-math-breadcrumb .last {
  color: var(--hexa-teal);
  font-weight: var(--hexa-weight-medium);
}

.hexa-breadcrumbs__rank-math .rank-math-breadcrumb .separator {
  opacity: 0.45;
}

/* --- WordPress integration ----------------------------------------------- */

/* Fixed header must sit below the logged-in admin bar */
.admin-bar {
  --hexa-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar {
    --hexa-admin-bar-height: 46px;
  }
}

.admin-bar .hexa-header {
  top: var(--hexa-admin-bar-height);
}

.admin-bar .hexa-breadcrumbs {
  padding-top: calc(var(--hexa-nav-height) + var(--hexa-admin-bar-height) + 12px);
}

.admin-bar .hexa-sidebar__sticky {
  top: calc(var(--hexa-admin-bar-height) + var(--hexa-nav-height) + 12px);
}

.hexa-header__logo.custom-logo-link,
.hexa-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--hexa-font-heading);
  font-size: var(--hexa-text-xl);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  letter-spacing: -0.02em;
}

.hexa-page-home .hexa-header .custom-logo-link {
  font-size: var(--hexa-text-2xl);
}

.hexa-header__logo img,
.custom-logo {
  max-height: 40px;
  width: auto;
}

.hexa-load-more:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hexa-posts__skeleton {
  display: contents;
}

.hexa-card--skeleton {
  pointer-events: none;
}

.hexa-skeleton-block {
  background: linear-gradient(
    90deg,
    #e8eef0 0%,
    #f4f8f9 45%,
    #e8eef0 90%
  );
  background-size: 200% 100%;
  animation: hexa-skeleton-shimmer 1.35s ease-in-out infinite;
  border-radius: 6px;
}

.hexa-skeleton-block--media {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
}

.hexa-skeleton-block--tag {
  width: 96px;
  height: 28px;
  border-radius: 999px;
}

.hexa-skeleton-block--title {
  width: 78%;
  height: 28px;
}

.hexa-skeleton-block--line {
  width: 100%;
  height: 14px;
}

.hexa-skeleton-block--short {
  width: 88%;
}

.hexa-skeleton-block--meta {
  width: 42%;
  height: 14px;
  margin-top: auto;
}

@keyframes hexa-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Subscribe modal */
.hexa-subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hexa-subscribe-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.hexa-subscribe-open {
  overflow: hidden;
}

.hexa-subscribe-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 44, 46, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hexa-subscribe-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 1;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.hexa-subscribe-modal--open .hexa-subscribe-modal__dialog {
  transform: translateY(0) scale(1);
}

.hexa-subscribe-modal__panel {
  background-color: var(--hexa-teal);
  border-radius: var(--hexa-radius-lg);
  padding: 32px 28px 28px;
  color: var(--hexa-white);
  box-shadow: 0 24px 48px rgba(0, 59, 70, 0.24);
}

.hexa-subscribe-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--hexa-white);
  font-size: 20px;
  transition: var(--hexa-transition);
}

.hexa-subscribe-modal__close:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

.hexa-subscribe-modal__title {
  font-family: var(--hexa-font-serif);
  font-size: var(--hexa-text-2xl);
  font-weight: var(--hexa-weight-bold);
  margin-bottom: 8px;
  padding-right: 36px;
}

.hexa-subscribe-modal__desc {
  font-size: var(--hexa-text-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
}

.hexa-subscribe-modal__input {
  width: 100%;
  background-color: var(--hexa-white);
  border: none;
  border-radius: 4px;
  color: var(--hexa-teal);
  font-size: var(--hexa-text-base);
  padding: 12px 14px;
  margin-bottom: 10px;
  outline: none;
}

.hexa-subscribe-modal__input::placeholder {
  color: var(--hexa-text-light);
}

.hexa-subscribe-modal__submit {
  width: 100%;
  background-color: var(--hexa-white);
  color: var(--hexa-teal);
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 4px;
  transition: var(--hexa-transition);
}

.hexa-subscribe-modal__submit:hover {
  background-color: #f1f5f9;
}

.hexa-subscribe-modal__success {
  font-size: var(--hexa-text-lg);
  font-weight: var(--hexa-weight-semibold);
  text-align: center;
  padding: 16px 0 8px;
}

.hexa-subscribe-modal__rss {
  display: inline-block;
  margin-top: 16px;
  font-size: var(--hexa-text-sm);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hexa-subscribe-modal__rss:hover {
  color: var(--hexa-white);
}

.admin-bar .hexa-subscribe-modal {
  top: var(--hexa-admin-bar-height, 32px);
}

/* AJAX search modal */
.hexa-search-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 24px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hexa-search-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.hexa-search-open {
  overflow: hidden;
}

.hexa-search-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 44, 46, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hexa-search-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  z-index: 1;
  transform: translateY(-8px);
  transition: transform 0.25s ease;
}

.hexa-search-modal--open .hexa-search-modal__dialog {
  transform: translateY(0);
}

.hexa-search-modal__panel {
  background-color: var(--hexa-white);
  border-radius: var(--hexa-radius-lg);
  padding: 28px 24px 20px;
  box-shadow: 0 24px 48px rgba(0, 59, 70, 0.2);
}

.hexa-search-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--hexa-surface);
  color: var(--hexa-teal);
  font-size: 20px;
  transition: var(--hexa-transition);
}

.hexa-search-modal__close:hover {
  background-color: var(--hexa-mint);
}

.hexa-search-modal__title {
  font-size: var(--hexa-text-xl);
  font-weight: var(--hexa-weight-bold);
  color: var(--hexa-teal);
  margin-bottom: 16px;
  padding-right: 40px;
}

.hexa-search-modal__field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hexa-border);
  border-radius: var(--hexa-radius);
  padding: 0 14px;
  background-color: var(--hexa-surface);
}

.hexa-search-modal__icon {
  color: var(--hexa-text-light);
  font-size: 22px;
}

.hexa-search-modal__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: var(--hexa-text-base);
  color: var(--hexa-teal);
  padding: 14px 0;
  outline: none;
}

.hexa-search-modal__input::placeholder {
  color: var(--hexa-text-light);
}

.hexa-search-modal__results {
  margin-top: 20px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
}

.hexa-search-results__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hexa-search-results__link {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--hexa-radius);
  transition: var(--hexa-transition);
}

.hexa-search-results__link:hover {
  background-color: var(--hexa-mint);
}

.hexa-search-results__thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--hexa-surface);
}

.hexa-search-results__thumb--placeholder {
  background-color: var(--hexa-mint);
}

.hexa-search-results__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hexa-search-results__title {
  font-size: var(--hexa-text-base);
  font-weight: var(--hexa-weight-semibold);
  color: var(--hexa-teal);
  line-height: 1.4;
}

.hexa-search-results__excerpt {
  font-size: var(--hexa-text-sm);
  color: var(--hexa-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hexa-search-results__date {
  font-size: var(--hexa-text-sm);
  color: var(--hexa-text-light);
}

.hexa-search-results__all {
  display: inline-flex;
  margin-top: 16px;
  font-size: var(--hexa-text-sm);
  font-weight: var(--hexa-weight-semibold);
  color: var(--hexa-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hexa-search-results__hint,
.hexa-search-results__loading,
.hexa-search-results__empty {
  font-size: var(--hexa-text-sm);
  color: var(--hexa-text-muted);
  line-height: 1.6;
  padding: 8px 2px;
}

.hexa-search-results__item--skeleton {
  pointer-events: none;
}

.hexa-search-results__skeleton {
  display: flex;
  gap: 12px;
  padding: 10px;
}

.hexa-skeleton-block--search-thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
}

.hexa-skeleton-block--search-title {
  width: 72%;
  height: 18px;
}

.hexa-skeleton-block--search-line {
  width: 100%;
  height: 12px;
}

.hexa-skeleton-block--search-date {
  width: 35%;
  height: 12px;
}

.admin-bar .hexa-search-modal {
  padding-top: calc(96px + var(--hexa-admin-bar-height, 32px));
}

.hexa-header__search.hexa-search-open {
  color: var(--hexa-teal);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--hexa-radius-lg);
}

.entry-content a {
  color: var(--hexa-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  border-left: 3px solid var(--hexa-accent);
  padding-left: 20px;
  margin-block: 32px;
  font-size: var(--hexa-text-lg);
  font-weight: var(--hexa-weight-medium);
  font-style: italic;
  line-height: 1.7;
  color: var(--hexa-text-strong);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
