@font-face {
  font-family: "Baloo";
  src: url("../fonts/Baloo-Regular.7ea5a2778c10.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-Regular.54749bf724bf.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-SemiBold.207687c4d64c.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-Bold.8ad9f17b4fdc.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #030505;
  --bg-soft: #121b2f;
  --panel: rgba(22, 28, 42, 0.9);
  --panel-alt: rgba(13, 17, 25, 0.9);
  --card: rgba(24, 29, 41, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(24, 246, 125, 0.32);
  --text: #f8faf8;
  --muted: #b7c0c8;
  --accent: #18f67d;
  --accent-dark: #0dd768;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Parkinsans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(24, 246, 125, 0.1), transparent 18%),
    radial-gradient(circle at 85% 18%, rgba(24, 246, 125, 0.08), transparent 14%),
    linear-gradient(180deg, #000000 0%, #040708 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

main section[id],
header[id] {
  scroll-margin-top: 6rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(24, 246, 125, 0.18);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand img {
  height: 26px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  padding: 0.35rem 0.45rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.6rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  background: var(--accent);
  color: #07110b;
  font-weight: 600;
  border: 1px solid rgba(24, 246, 125, 0.7);
  box-shadow: 0 12px 24px rgba(24, 246, 125, 0.18);
}

.site-nav a.whatsapp-button:hover {
  color: #07110b;
  background: var(--accent);
}

.whatsapp-icon {
  width: 0.75rem;
  height: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon svg {
  width: 1rem;
  height: 1rem;
}

.hero-actions-inline {
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions-form {
  justify-content: flex-start;
}

.portfolio-meta-article {
  margin-top: auto;
}

.service-card-article {
  min-height: 100%;
}

.articles-page,
.article-page,
.chat-public-main {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.surface,
.articles-hero,
.blog-section,
.article-hero,
.article-content,
.article-aside,
.chat-public-card,
.article-share-card {
  background: rgba(10, 14, 22, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.articles-hero,
.blog-section,
.article-hero,
.chat-public-card {
  padding: 1.5rem;
}

.articles-grid,
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.article-card,
.series-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 23, 33, 0.9);
}

.article-card[hidden],
.series-card[hidden],
.series-grid[hidden] {
  display: none !important;
}

.article-card-head,
.series-card-head,
.article-card-footer,
.series-card-footer,
.articles-toolbar,
.article-meta-row,
.article-share-copy,
.chat-public-actions,
.chat-widget-head-top,
.chat-widget-panel-top,
.chat-widget-inline-actions,
.chat-widget-panel-actions,
.chat-widget-thread-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  min-width: min(100%, 420px);
}

.search-shell input {
  background: transparent;
  border: 0;
  color: var(--text);
  width: 100%;
  outline: none;
}

.blog-meta,
.series-card-count,
.article-card-date,
.article-reading-time,
.article-view-helper,
.course-intro,
.chat-public-head p,
.chat-public-empty,
.chat-widget-thread-copy span,
.chat-widget-empty p,
.chat-widget-head p,
.chat-widget-notice span,
.article-comments-empty,
.article-comment-notice,
.article-share-copy-shell span,
.article-share-copy-shell strong,
.messages-thread-status {
  color: var(--muted);
}

.article-mode-switch,
.pagination,
.pill-group,
.article-share-grid,
.chat-widget-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mode-chip,
.pagination button,
.engagement-pill,
.reaction-pill,
.article-share-option,
.article-share-copy-button,
.chat-widget-action,
.chat-widget-send,
.chat-widget-submit,
.chat-widget-top-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.mode-chip.is-active,
.pagination button.is-active,
.article-share-copy-button,
.chat-widget-submit,
.chat-widget-send,
.chat-widget-trigger {
  background: var(--accent);
  color: #07110b;
  border-color: transparent;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.9fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.article-content,
.article-aside {
  padding: 1.5rem;
}

.article-prose,
.article-aside-body,
.article-comments,
.chat-public-workspace,
.chat-public-form,
.chat-widget-form,
.chat-widget-composer,
.chat-widget-thread-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-prose p,
.article-prose li,
.article-aside p,
.article-comment-bubble p,
.chat-bubble-body,
.chat-public-bubble p,
.chat-widget-bubble-text {
  color: var(--muted);
  line-height: 1.7;
}

.article-engagement,
.reaction-strip,
.article-series-list,
.article-comment-thread-list,
.comment-thread-stack,
.chat-public-messages,
.messages-chat,
.chat-widget-messages {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.article-engagement {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.reaction-strip {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.article-comment-form,
.chat-public-form,
.chat-public-reply {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-comment-identity,
.article-comment-compose,
.chat-thread-public-item,
.messages-thread,
.messages-thread-header,
.chat-widget-thread-card,
.chat-widget-chat-head,
.chat-widget-composer,
.chat-widget-view,
.chat-widget-empty-state {
  display: flex;
  gap: 0.85rem;
}

.article-comment-identity,
.messages-thread,
.chat-widget-thread-card,
.chat-thread-public-item,
.chat-widget-chat-head {
  align-items: center;
}

.article-comment-avatar,
.messages-thread-avatar,
.testimonial-avatar-image,
.chat-widget-trigger,
.chat-widget-empty-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.article-comment-avatar,
.messages-thread-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(24, 246, 125, 0.12);
  border: 1px solid rgba(24, 246, 125, 0.2);
  color: var(--accent);
}

.article-comment-grid,
.chat-public-field,
.chat-widget-field,
.chat-widget-composer-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

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

.article-comment-form input,
.article-comment-form textarea,
.chat-public-form input,
.chat-public-form textarea,
.chat-widget-form input,
.chat-widget-composer textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
}

.article-comment-compose textarea,
.chat-widget-composer textarea {
  min-height: 100px;
}

.article-comment-compose {
  align-items: flex-end;
}

.article-comment-compose textarea {
  min-height: 148px;
}

.article-comment-submit {
  min-width: 220px;
  justify-content: center;
}

.chat-public-card-narrow {
  max-width: 620px;
  margin: 0 auto;
}

.chat-public-field.is-full {
  grid-column: 1 / -1;
}

.chat-public-form-compact {
  max-width: 520px;
}

.chat-thread-public-list {
  display: grid;
  gap: 0.85rem;
}

.chat-thread-public-item,
.messages-thread,
.chat-widget-thread-card {
  justify-content: space-between;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.chat-public-bubble,
.chat-bubble,
.chat-widget-bubble {
  max-width: 82%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.chat-public-bubble.is-admin,
.chat-bubble.is-admin,
.chat-widget-bubble.is-admin {
  align-self: flex-end;
  background: rgba(24, 246, 125, 0.12);
  border-color: rgba(24, 246, 125, 0.24);
}

.chat-widget {
  position: fixed;
  right: 5.25rem;
  bottom: 1.2rem;
  z-index: 40;
}

.chat-widget-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 68px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(24, 246, 125, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 82, 82, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(18, 22, 26, 0.96), rgba(11, 14, 18, 0.96));
  color: var(--text);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.chat-widget-trigger:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 246, 125, 0.24);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.32);
}

.chat-widget-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.18), rgba(255, 191, 105, 0.14));
  color: #ffb66b;
}

.chat-widget-trigger-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.chat-widget-trigger-copy strong {
  font-size: 0.96rem;
}

.chat-widget-trigger-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-widget-panel {
  position: fixed;
  right: 1.2rem;
  top: 1rem;
  bottom: 6.9rem;
  width: min(26rem, calc(100vw - 1rem));
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.chat-widget-panel[hidden] {
  display: none !important;
}

.chat-widget-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-height: min(34rem, calc(100dvh - 8rem));
  max-height: 100%;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(24, 246, 125, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 82, 82, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(16, 19, 22, 0.98), rgba(10, 13, 16, 0.98));
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.chat-widget-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 82, 82, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(16, 19, 22, 0.98), rgba(10, 13, 16, 0.98));
}

.chat-widget-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chat-widget-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.16), rgba(255, 191, 105, 0.14));
  color: #ffbf69;
  font-size: 1.2rem;
}

.chat-widget-brand strong {
  display: block;
  font-size: 0.96rem;
}

.chat-widget-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.chat-widget-topbar-actions {
  display: flex;
  gap: 0.55rem;
}

.chat-widget-topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.chat-widget-topbar-link:hover {
  transform: translateY(-2px);
  background: rgba(24, 246, 125, 0.08);
  border-color: rgba(24, 246, 125, 0.18);
}

.chat-widget-body {
  display: grid;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 23, 27, 0.96), rgba(11, 14, 17, 0.98));
}

.chat-widget-body.is-loading {
  opacity: 0.82;
}

.chat-widget-loading,
.chat-widget-view {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 0;
  padding: 1.1rem;
}

.chat-widget-view {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  overflow: hidden;
}

.chat-widget-view[data-chat-widget-view="home"] {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.chat-widget-head-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.chat-widget-head h3 {
  margin-top: 0.45rem;
  font-family: "Baloo", sans-serif;
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.02;
}

.chat-widget-head p,
.chat-widget-thread-copy span,
.chat-widget-bubble small,
.chat-widget-empty,
.chat-widget-field span,
.chat-widget-text-link {
  color: var(--muted);
}

.chat-widget-head p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.chat-widget-notice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.85rem 2.3rem 0.85rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  line-height: 1.4;
  flex-shrink: 0;
  z-index: 1;
}

.chat-widget-notice.is-success {
  border-color: rgba(24, 246, 125, 0.18);
  background: rgba(24, 246, 125, 0.08);
}

.chat-widget-notice.is-danger {
  border-color: rgba(255, 82, 82, 0.2);
  background: rgba(255, 82, 82, 0.08);
}

.chat-widget-notice i {
  margin-top: 0.08rem;
  color: var(--accent);
}

.chat-widget-notice.is-danger i {
  color: #ff9b9b;
}

.chat-widget-notice-close {
  position: absolute;
  top: 0.38rem;
  right: 0.38rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(244, 244, 236, 0.7);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.chat-widget-notice-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.chat-widget-form,
.chat-widget-reply {
  display: grid;
  gap: 0.9rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
  align-content: start;
}

.chat-widget-field {
  display: grid;
  gap: 0.45rem;
}

.chat-widget-field input,
.chat-widget-field textarea,
.chat-widget-field .panel-input,
.chat-widget-field .panel-textarea {
  width: 100%;
  min-height: 62px;
  padding: 0.88rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.chat-widget-field textarea,
.chat-widget-field .panel-textarea {
  min-height: 112px;
  resize: vertical;
}

.chat-widget-field input:focus,
.chat-widget-field textarea:focus,
.chat-widget-field .panel-input:focus,
.chat-widget-field .panel-textarea:focus,
.chat-widget-composer-field textarea:focus,
.chat-widget-composer-field .panel-textarea:focus,
.chat-widget-otp input:focus {
  outline: none;
  border-color: rgba(24, 246, 125, 0.26);
  box-shadow: 0 0 0 4px rgba(24, 246, 125, 0.08);
}

.chat-widget-submit,
.chat-widget-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.78rem 0.96rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #07120e;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chat-widget-submit:hover,
.chat-widget-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(86, 240, 157, 0.16);
}

.chat-widget-toolbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
  margin-left: auto;
}

.chat-widget-toolbar form {
  margin: 0;
}

.chat-widget-action.is-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.chat-widget-inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  padding-top: 0.75rem;
  padding-bottom: 0.15rem;
  background: linear-gradient(180deg, rgba(11, 14, 17, 0), rgba(11, 14, 17, 0.92) 28%, rgba(11, 14, 17, 1) 100%);
}

.chat-widget-text-link {
  font-size: 0.92rem;
}

.chat-widget-error {
  color: #ffb3b3;
  font-size: 0.82rem;
}

.chat-widget-thread-list {
  display: grid;
  gap: 0.45rem;
  grid-auto-rows: max-content;
  align-content: start;
  align-items: start;
  overflow-y: auto;
  min-height: 0;
  padding-right: 0.2rem;
}

.chat-widget-view[data-chat-widget-view="home"] .chat-widget-thread-list {
  padding-top: 0.2rem;
}

.chat-widget-thread-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 74px;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  align-self: start;
}

.chat-widget-thread-card:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 246, 125, 0.18);
  background: rgba(24, 246, 125, 0.05);
}

.chat-widget-thread-copy strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}

.chat-widget-thread-copy span {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.76rem;
  line-height: 1.15;
}

.chat-widget-thread-side {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.chat-widget-thread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(24, 246, 125, 0.12);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
}

.chat-widget-empty {
  display: grid;
  gap: 0.7rem;
  place-items: center;
  padding: 1.4rem;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.chat-widget-empty i {
  color: #ffb66b;
  font-size: 1.2rem;
}

.chat-widget-empty-state {
  display: grid;
  place-items: center;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
}

.chat-widget-empty-state strong {
  color: var(--text);
  font-size: 1rem;
}

.chat-widget-empty-state p {
  font-size: 0.96rem;
  line-height: 1.55;
}

.chat-widget-empty-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 191, 105, 0.08);
  color: #ffb66b;
}

.chat-widget-otp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.chat-widget-otp input {
  width: 100%;
  min-height: 76px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.chat-widget-messages {
  display: grid;
  gap: 0.75rem;
  grid-auto-rows: max-content;
  align-content: start;
  align-items: start;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  padding: 0.2rem 0.1rem 0.2rem 0;
}

.chat-widget-bubble {
  display: grid;
  gap: 0.35rem;
  max-width: 84%;
  height: auto;
  padding: 0.9rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  align-self: start;
}

.chat-widget-bubble strong {
  font-size: 0.82rem;
}

.chat-widget-bubble p {
  font-size: 0.98rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.chat-widget-bubble small {
  font-size: 0.76rem;
}

.chat-widget-bubble-text.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chat-widget-message-toggle {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.chat-widget-message-toggle:hover {
  text-decoration: underline;
}

.chat-widget-bubble.is-visitor {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(24, 246, 125, 0.14), rgba(86, 240, 157, 0.08));
}

.chat-widget-bubble.is-admin {
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-widget-view-conversation {
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
}

.chat-widget-chat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.2rem;
}

.chat-widget-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.chat-widget-chat-head-copy {
  min-width: 0;
}

.chat-widget-chat-head-copy strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.3;
}

.chat-widget-chat-head-copy span {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.chat-widget-messages-empty {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  padding: 0;
}

.chat-widget-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: end;
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 0.75rem;
  padding-bottom: 0.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(11, 14, 17, 0), rgba(11, 14, 17, 0.98) 24%);
}

.chat-widget-composer-field {
  display: grid;
  gap: 0.35rem;
}

.chat-widget-composer-field textarea,
.chat-widget-composer-field .panel-textarea {
  min-height: 54px;
  max-height: 96px;
  padding: 0.82rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  resize: none;
  overflow-y: auto;
  font: inherit;
  line-height: 1.45;
}

.chat-widget-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #07120e;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chat-widget-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(86, 240, 157, 0.16);
}

.article-share-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.article-share-modal[hidden] {
  display: none !important;
}

.article-share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.article-share-card {
  position: relative;
  width: min(720px, 100%);
  padding: 1.5rem;
  z-index: 1;
}

.article-share-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.article-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  border-radius: 16px;
}

.article-share-copy-button {
  min-height: 56px;
  padding: 0.85rem 1.1rem;
  font-size: 0.96rem;
  border-radius: 18px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .articles-grid,
  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .articles-grid,
  .series-grid,
  .article-share-grid,
  .article-comment-grid {
    grid-template-columns: 1fr;
  }

  .articles-page,
  .article-page,
  .chat-public-main {
    width: min(var(--container), calc(100% - 1rem));
    padding-top: 1rem;
  }

  .search-shell,
  .articles-toolbar,
  .article-card-footer,
  .chat-public-actions,
  .article-share-copy {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-widget {
    right: 0.7rem;
    left: 0.7rem;
    bottom: 0.7rem;
  }

  .chat-widget-trigger {
    width: 100%;
    justify-content: center;
  }

  .chat-widget-panel {
    width: 100%;
    right: 0.7rem;
    left: 0.7rem;
    top: 0.7rem;
    bottom: 6.4rem;
  }

  .chat-widget-shell {
    min-height: min(70vh, calc(100dvh - 7.1rem));
    max-height: 100%;
  }

  .chat-widget-toolbar {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }

  .chat-widget-head-top {
    align-items: flex-start;
  }

  .chat-public-bubble,
  .chat-bubble,
  .chat-widget-bubble {
    max-width: 100%;
  }
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 50px;
  padding: 0.9rem 1.45rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-weight: 600;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #08110c;
  box-shadow: 0 20px 45px rgba(24, 246, 125, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0.8rem 0 2.5rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-webuggers-code-bg.6536b2bbc5c0.png") center center / cover no-repeat;
  filter: blur(0.8px) brightness(0.52) saturate(1);
  transform: scale(1.01);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(24, 246, 125, 0.07), transparent 20%),
    radial-gradient(circle at 14% 20%, rgba(24, 246, 125, 0.06), transparent 10%),
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.04), transparent 7%),
    linear-gradient(180deg, rgba(1, 3, 3, 0.54), rgba(1, 3, 3, 0.62) 42%, rgba(1, 3, 3, 0.72));
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 0 2.2rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(24, 246, 125, 0.1);
  border: 1px solid rgba(24, 246, 125, 0.22);
  color: var(--accent);
  font-size: 0.82rem;
}

.hero-badge {
  margin: 0 auto 1rem;
}

.hero-title,
.section-title,
.section-subtitle,
.cta-banner h2,
.pricing-card h3,
.service-card h3,
.portfolio-card h3,
.testimonial-card strong,
.process-card h3,
.story-card h3,
.contact-item strong,
.footer-column h4 {
  font-family: "Baloo", sans-serif;
  font-weight: 400;
}

.hero-title {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(2.6rem, 4.5vw, 4.15rem);
  line-height: 0.98;
}

.hero-title span {
  display: block;
}

.hero-title em,
.section-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-description,
.section-caption,
.service-card p,
.portfolio-card p,
.testimonial-card p,
.process-card p,
.story-card p,
.cta-banner p,
.contact-copy p,
.footer-brand p,
.extra-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-description {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1.08rem;
}

.hero-description strong {
  color: #ffffff;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.65rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 660px;
  margin: 1.8rem auto 0;
}

.metric-card,
.service-card,
.portfolio-card,
.testimonial-card,
.pricing-card,
.process-card,
.story-card,
.value-card,
.extra-card,
.contact-item,
.form-card,
.cta-banner {
  background: rgba(22, 26, 35, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 1rem;
  text-align: center;
  background: rgba(20, 24, 32, 0.58);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.metric-icon,
.service-card-icon,
.value-icon,
.story-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--accent);
  background: rgba(24, 246, 125, 0.1);
  border: 1px solid rgba(24, 246, 125, 0.2);
  border-radius: 999px;
}

.metric-icon svg,
.service-card-icon svg,
.value-icon svg,
.story-icon svg {
  width: 1rem;
  height: 1rem;
}

.metric-card strong {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.55rem;
}

.metric-card span:last-child {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 4rem 0;
}

.section-surface {
  position: relative;
  background:
    radial-gradient(circle at 14% 18%, rgba(24, 246, 125, 0.11), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(24, 246, 125, 0.08), transparent 18%),
    linear-gradient(180deg, #0b1113 0%, #101922 55%, #0d1418 100%);
}

.section-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 246, 125, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 246, 125, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 92%);
  pointer-events: none;
}

.section-surface > .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.98), rgba(11, 15, 22, 0.98));
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading-center {
  text-align: center;
}

.section-heading-center .section-badge {
  margin: 0 auto 0.85rem;
}

.section-title {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
}

.section-title-left {
  margin-top: 0.9rem;
}

.section-caption {
  margin-top: 0.95rem;
  max-width: 760px;
}

.section-heading-center .section-caption {
  margin-left: auto;
  margin-right: auto;
}

.pricing-caption {
  max-width: 980px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 2rem;
  align-items: start;
}

.about-story,
.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.story-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
}

.story-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.about-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.about-figure img {
  width: 100%;
  height: 338px;
  object-fit: cover;
}

.about-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 12, 0.05), rgba(8, 11, 12, 0.48) 72%, rgba(8, 11, 12, 0.82));
}

.about-figure-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
}

.about-figure-copy strong {
  display: block;
  font-family: "Baloo", sans-serif;
  font-size: 1.15rem;
}

.about-figure-copy span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.value-card {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1rem;
  text-align: center;
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.3rem;
  min-height: 310px;
  justify-items: center;
  text-align: center;
}

.service-card h3 {
  margin: 0;
  font-size: 1.45rem;
  text-align: center;
}

.service-card p {
  text-align: center;
  max-width: 28ch;
  margin: 0;
}

.service-card-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.1rem;
  border-radius: 0.75rem;
}

.service-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card ul,
.pricing-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.service-card li,
.pricing-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-card li {
  padding-left: 1.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.35;
}

.service-card ul {
  width: 100%;
  text-align: left;
  margin-top: 0.2rem;
}

.service-card li::before,
.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-card li::before {
  top: 0.12rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: rgba(24, 246, 125, 0.14);
  border: 1px solid rgba(24, 246, 125, 0.24);
}

.pricing-card li::after {
  content: "✓";
  position: absolute;
  left: 0.24rem;
  top: 0.01rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.pricing-button {
  margin-top: auto;
  min-height: 2.85rem;
  font-size: 0.9rem;
}

.section-cta {
  padding-top: 1.5rem;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  background:
    linear-gradient(135deg, rgba(10, 15, 16, 0.92), rgba(17, 24, 24, 0.92)),
    radial-gradient(circle at right, rgba(24, 246, 125, 0.12), transparent 26%);
}

.cta-banner h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.cta-banner p {
  margin: 0.75rem 0 0;
}

.portfolio-slider,
.testimonial-slider {
  margin-top: 1.2rem;
}

.portfolio-slider-head,
.testimonial-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portfolio-slider-dots,
.testimonial-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portfolio-dot,
.testimonial-dot {
  width: 0.6rem;
  height: 0.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.portfolio-dot.is-active,
.testimonial-dot.is-active {
  background: var(--accent);
  transform: scale(1.18);
}

.portfolio-slider-controls,
.testimonial-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.portfolio-nav,
.testimonial-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 246, 125, 0.22);
  background: rgba(13, 18, 24, 0.92);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.portfolio-nav:hover,
.testimonial-nav:hover {
  border-color: rgba(24, 246, 125, 0.55);
  background: rgba(24, 246, 125, 0.1);
  color: var(--accent);
}

.portfolio-nav:disabled,
.testimonial-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.portfolio-viewport,
.testimonial-viewport {
  overflow: hidden;
}

.portfolio-track {
  --portfolio-columns: 4;
  display: flex;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.testimonial-track {
  --testimonial-columns: 3;
  display: flex;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.portfolio-card {
  flex: 0 0 calc((100% - (1rem * (var(--portfolio-columns) - 1))) / var(--portfolio-columns));
  overflow: hidden;
  border-radius: 20px;
  background: #0c1018;
  display: grid;
  grid-template-rows: 168px 1fr;
}

.portfolio-cover {
  position: relative;
  min-height: 168px;
  padding: 0.8rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.1), rgba(6, 9, 14, 0.78)),
    url("../img/hero-webuggers-code-bg.6536b2bbc5c0.png") center / cover no-repeat;
}

.portfolio-card-chic-ec .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.8)),
    linear-gradient(120deg, rgba(243, 157, 177, 0.18), transparent 40%),
    url("../img/hero-webuggers-code-bg.6536b2bbc5c0.png") center top / cover no-repeat;
}

.portfolio-card-fitness-factory .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.8)),
    linear-gradient(120deg, rgba(24, 246, 125, 0.16), transparent 40%),
    url("../img/about-webuggers.6312b7c67ca9.png") center 35% / cover no-repeat;
}

.portfolio-card-passion-ballons .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.82)),
    linear-gradient(120deg, rgba(255, 118, 167, 0.16), transparent 45%),
    url("../img/hero-webuggers-bg.9793a83c7b34.png") center / cover no-repeat;
}

.portfolio-card-billusos .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.82)),
    linear-gradient(120deg, rgba(74, 177, 255, 0.16), transparent 45%),
    url("../img/hero-webuggers-code-bg.6536b2bbc5c0.png") right center / cover no-repeat;
}

.portfolio-card-nova-dental .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.82)),
    linear-gradient(120deg, rgba(113, 232, 216, 0.18), transparent 45%),
    url("../img/about-webuggers.6312b7c67ca9.png") center top / cover no-repeat;
}

.portfolio-card-urban-bites .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.82)),
    linear-gradient(120deg, rgba(255, 162, 77, 0.16), transparent 45%),
    url("../img/hero-webuggers-bg.9793a83c7b34.png") center 28% / cover no-repeat;
}

.portfolio-card-edusmart .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.82)),
    linear-gradient(120deg, rgba(163, 139, 255, 0.16), transparent 45%),
    url("../img/hero-webuggers-code-bg.6536b2bbc5c0.png") center 18% / cover no-repeat;
}

.portfolio-card-casa-aura .portfolio-cover {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.82)),
    linear-gradient(120deg, rgba(255, 214, 102, 0.16), transparent 45%),
    url("../img/about-webuggers.6312b7c67ca9.png") center center / cover no-repeat;
}

.portfolio-cover-badge {
  padding: 0.35rem 0.72rem;
  border-radius: 8px;
  background: var(--accent);
  color: #08110c;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(24, 246, 125, 0.18);
}

.portfolio-body {
  display: grid;
  grid-template-rows: auto 5.9rem 4.1rem auto;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem 1rem 1.05rem;
}

.portfolio-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.portfolio-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.portfolio-stack {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.4rem;
  min-height: 4.1rem;
  max-height: 4.1rem;
  overflow: hidden;
}

.portfolio-stack span {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.52rem;
  border-radius: 6px;
  background: rgba(154, 164, 188, 0.14);
  border: 1px solid rgba(154, 164, 188, 0.12);
  color: rgba(232, 238, 255, 0.78);
  font-size: 0.75rem;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.15rem;
  align-self: end;
}

.portfolio-meta small {
  color: var(--accent);
  font-size: 0.82rem;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(24, 246, 125, 0.6);
  background: transparent;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-link:hover {
  background: rgba(24, 246, 125, 0.12);
  border-color: var(--accent);
}

.portfolio-cta {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-top: 3rem;
  text-align: center;
}

.portfolio-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(24, 246, 125, 0.08), transparent 25%),
    rgba(3, 5, 8, 0.82);
  backdrop-filter: blur(16px);
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 2.4rem);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(24, 246, 125, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.98), rgba(4, 6, 10, 0.98));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(32px) scale(0.96) rotateX(8deg);
  transform-origin: top center;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-modal.is-open .project-modal-dialog {
  transform: translateY(0) scale(1) rotateX(0deg);
}

.project-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 8, 11, 0.72);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
}

.project-modal-cover {
  position: relative;
  min-height: 320px;
  padding: 1.4rem;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(4, 6, 10, 0.2), rgba(4, 6, 10, 0.82)),
    var(--project-modal-cover, url("../img/hero-webuggers-code-bg.6536b2bbc5c0.png")) center / cover no-repeat;
}

.project-modal-badges {
  position: absolute;
  top: 1.2rem;
  right: 4.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  max-width: 55%;
}

.project-modal-badges span,
.project-modal-stack span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(24, 246, 125, 0.12);
  border: 1px solid rgba(24, 246, 125, 0.22);
  color: var(--accent);
  font-size: 0.78rem;
}

.project-modal-cover-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.project-modal-kicker,
.project-modal-label {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-modal-cover-copy h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.project-modal-cover-copy p:last-child {
  margin: 0.8rem 0 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.project-modal-body {
  display: grid;
  gap: 1.6rem;
  padding: 1.5rem;
}

.project-modal-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  gap: 1.2rem;
}

.project-modal-copy,
.project-modal-stack-wrap,
.project-modal-gallery-wrap {
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-modal-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.project-modal-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.project-modal-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 246, 125, 0.24);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-modal-gallery-item {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.project-modal-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 0.8;
  object-fit: cover;
}

.testimonial-card {
  flex: 0 0 calc((100% - (1rem * (var(--testimonial-columns) - 1))) / var(--testimonial-columns));
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.45rem;
  padding: 1.4rem 1.25rem 1.3rem;
  text-align: center;
}

.quote-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(24, 246, 125, 0.14);
  border: 1px solid rgba(24, 246, 125, 0.22);
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.stars {
  margin: 0.15rem 0 0.4rem;
  color: var(--accent);
  letter-spacing: 0.16rem;
}

.testimonial-card p {
  margin: 0;
  min-height: 4.8rem;
  font-size: 0.94rem;
  font-style: italic;
}

.testimonial-avatar,
.testimonial-avatar-image {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  margin-top: 0.2rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
  display: inline-block;
  background-image: url("../img/about-webuggers.6312b7c67ca9.png");
  background-size: 240%;
  background-repeat: no-repeat;
}

.testimonial-avatar-1 {
  background-position: 24% 44%;
}

.testimonial-avatar-2 {
  background-position: 64% 40%;
}

.testimonial-avatar-3 {
  background-position: 82% 34%;
}

.testimonial-avatar-4 {
  background-position: 42% 30%;
}

.testimonial-avatar-5 {
  background-position: 58% 58%;
}

.testimonial-avatar-image {
  object-fit: cover;
}

.testimonial-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.testimonial-card small {
  color: var(--accent);
}

.pricing-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.25rem 1.05rem 1.05rem;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.98), rgba(4, 6, 9, 0.98));
  overflow: hidden;
}

.pricing-card-featured {
  border-color: rgba(24, 246, 125, 0.6);
  background:
    linear-gradient(180deg, rgba(18, 26, 28, 0.98), rgba(8, 12, 14, 0.98)),
    radial-gradient(circle at top, rgba(24, 246, 125, 0.12), transparent 32%);
  box-shadow: 0 24px 48px rgba(9, 15, 14, 0.52);
}

.pricing-top-badge {
  display: inline-flex;
  width: calc(100% + 2.1rem);
  margin: -1.25rem -1.05rem 0;
  padding: 0.72rem 0.85rem;
  justify-content: center;
  border-radius: 0;
  background: var(--accent);
  color: #08110c;
  font-size: 0.76rem;
  font-weight: 700;
}

.pricing-card-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.32rem;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.pricing-pitch {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  width: 100%;
  min-height: 2.6rem;
  max-width: 30ch;
  font-size: 0.78rem;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.15rem;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
}

.price small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 500;
}

.pricing-card ul {
  display: grid;
  gap: 0.58rem;
  margin: 0;
}

.section-heading-spaced {
  margin-top: 3rem;
}

.section-subtitle {
  font-size: 2rem;
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.extra-card,
.process-card {
  padding: 1.3rem;
}

.extra-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.7rem;
}

.extra-card h4,
.process-card h3,
.contact-item strong {
  margin: 0;
  font-size: 1.35rem;
}

.extra-card p {
  margin: 0;
}

.extra-card strong {
  color: var(--accent);
}

.extra-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(24, 246, 125, 0.1);
  border: 1px solid rgba(24, 246, 125, 0.2);
}

.extra-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.process-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  gap: 0.85rem;
  min-height: 230px;
  padding: 3rem 1rem 1.25rem;
}

.process-step-badge {
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(24, 246, 125, 0.12);
  color: var(--accent);
  border: 1px solid rgba(24, 246, 125, 0.22);
  font-size: 0.8rem;
  font-weight: 600;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(24, 246, 125, 0.1);
  border: 1px solid rgba(24, 246, 125, 0.2);
}

.process-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.process-card h3 {
  font-size: 1.12rem;
}

.process-card p {
  margin: 0;
  font-size: 0.93rem;
}

.contact-list {
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: rgba(6, 9, 12, 0.92);
}

.contact-badge {
  margin-bottom: 0.9rem;
}

.contact-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10px;
  color: var(--accent);
  background: rgba(24, 246, 125, 0.1);
  border: 1px solid rgba(24, 246, 125, 0.18);
}

.contact-item-icon svg {
  width: 1rem;
  height: 1rem;
}

.contact-item-copy {
  display: grid;
  gap: 0.18rem;
}

.contact-item-copy span {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-item-copy strong {
  color: var(--muted);
  font-size: 0.98rem;
}

.form-card {
  padding: 1.4rem;
}

.message-stack {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.flash {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.flash-success {
  background: rgba(24, 246, 125, 0.1);
  border-color: rgba(24, 246, 125, 0.2);
}

.flash-error {
  background: rgba(255, 95, 95, 0.08);
  border-color: rgba(255, 95, 95, 0.16);
}

.contact-form,
.form-split {
  display: grid;
  gap: 1rem;
}

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

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.form-control:focus {
  outline: 2px solid rgba(24, 246, 125, 0.16);
  border-color: rgba(24, 246, 125, 0.34);
}

.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #ffbcbc;
  font-size: 0.9rem;
}

.button-submit {
  width: 100%;
}

.site-footer {
  border-top: 1px solid rgba(24, 246, 125, 0.14);
  padding: 2.8rem 0 1.4rem;
  background: #07090d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-column h4 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--accent);
}

.footer-column a,
.footer-column span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-column-links,
.footer-column-contact {
  justify-self: end;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-item svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
  flex: 0 0 auto;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #08110c;
  box-shadow: 0 18px 36px rgba(24, 246, 125, 0.28);
}

.floating-whatsapp svg {
  width: 1.45rem;
  height: 1.45rem;
}

@media (max-width: 1120px) {
  .site-nav a {
    font-size: 0.8rem;
  }

  .whatsapp-button {
    padding-inline: 0.7rem;
  }

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

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

  .footer-column-links,
  .footer-column-contact {
    justify-self: start;
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .portfolio-track {
    --portfolio-columns: 2;
  }

  .testimonial-track {
    --testimonial-columns: 2;
  }

  .project-modal-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.7rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .whatsapp-button {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .about-grid,
  .contact-grid,
  .cta-banner,
  .form-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    justify-items: start;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-modal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero-actions,
  .hero-metrics,
  .service-grid,
  .pricing-grid,
  .extras-grid,
  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-track {
    --portfolio-columns: 1;
  }

  .testimonial-track {
    --testimonial-columns: 1;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-slider-head,
  .testimonial-slider-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-modal {
    padding: 0.8rem;
  }

  .project-modal-dialog {
    max-height: calc(100vh - 1.6rem);
  }

  .project-modal-cover {
    min-height: 240px;
    padding: 1rem;
  }

  .project-modal-badges {
    position: static;
    max-width: none;
    margin-bottom: auto;
    justify-content: flex-start;
  }

  .project-modal-gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-modal-gallery {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .section,
  .hero-section {
    padding: 3rem 0;
  }
}

/* Final chat widget overrides to preserve contrast on the dark shell. */
.chat-widget-view .chat-widget-submit,
.chat-widget-view .chat-widget-action:not(.is-ghost),
.chat-widget-view .chat-widget-send {
  background: linear-gradient(135deg, #92ff63, #59e596) !important;
  color: #07120e !important;
  border: 1px solid rgba(146, 255, 99, 0.45) !important;
  box-shadow: 0 16px 32px rgba(86, 240, 157, 0.18);
}

.chat-widget-view .chat-widget-submit,
.chat-widget-view .chat-widget-action {
  min-height: 56px;
  font-size: 0.98rem;
  font-weight: 800;
}

.chat-widget-view .chat-widget-submit i,
.chat-widget-view .chat-widget-submit span,
.chat-widget-view .chat-widget-action i,
.chat-widget-view .chat-widget-action span,
.chat-widget-view .chat-widget-send i {
  color: inherit !important;
}

.chat-widget-view .chat-widget-send {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}

.chat-widget-view .chat-widget-action.is-ghost,
.chat-widget-view .chat-widget-text-link {
  color: #f5f6ef !important;
}

.chat-widget-view .chat-widget-action.is-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none;
}

.chat-widget-view .chat-widget-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-size: 0.96rem;
  font-weight: 700;
}

.chat-widget-view .chat-widget-inline-actions {
  align-items: center;
}

.chat-widget-view .chat-widget-inline-actions .chat-widget-submit {
  min-width: 210px;
}

.chat-widget-view .chat-widget-toolbar {
  width: 100%;
  justify-content: flex-end;
}

.chat-widget-view .chat-widget-toolbar > * {
  flex: 0 0 auto;
}

.chat-portal-main {
  padding-top: 2.25rem;
}

.chat-portal-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(24, 246, 125, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 82, 82, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(16, 19, 22, 0.98), rgba(10, 13, 16, 0.98));
  box-shadow: var(--shadow);
}

.chat-portal-shell-narrow {
  width: min(760px, 100%);
}

.chat-portal-topbar {
  padding: 1.1rem 1.3rem;
}

.chat-portal-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.chat-portal-body {
  display: grid;
  gap: 1.15rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(20, 23, 27, 0.96), rgba(11, 14, 17, 0.98));
}

.chat-portal-head {
  margin-bottom: 0.2rem;
}

.chat-portal-head h1 {
  font-family: "Baloo", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  font-weight: 400;
  margin-top: 0.4rem;
}

.chat-portal-head p {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.65;
}

.chat-portal-form {
  max-width: 620px;
}

.chat-portal-form-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.chat-portal-form-wide .chat-public-field.is-full {
  grid-column: 1 / -1;
}

.chat-portal-actions {
  margin-top: 0.2rem;
  flex-wrap: wrap;
}

.chat-portal-actions .chat-widget-submit,
.chat-portal-actions .chat-widget-action {
  min-width: 220px;
}

.chat-portal-shell .chat-widget-submit,
.chat-portal-shell .chat-widget-action:not(.is-ghost) {
  background: linear-gradient(135deg, #92ff63, #59e596) !important;
  color: #07120e !important;
  border: 1px solid rgba(146, 255, 99, 0.45) !important;
  box-shadow: 0 16px 32px rgba(86, 240, 157, 0.18);
}

.chat-portal-shell .chat-widget-submit i,
.chat-portal-shell .chat-widget-submit span,
.chat-portal-shell .chat-widget-action i,
.chat-portal-shell .chat-widget-action span {
  color: inherit !important;
}

.chat-portal-shell .chat-widget-action.is-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f5f6ef !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none;
}

.chat-portal-thread-list {
  margin-top: 0.15rem;
}

.chat-portal-empty {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.chat-portal-workspace {
  min-height: 560px;
}

.chat-portal-messages {
  min-height: 360px;
  max-height: 560px;
  padding-right: 0.15rem;
  overflow-y: auto;
}

.chat-portal-reply textarea,
.chat-portal-form-wide textarea,
.chat-portal-form textarea,
.chat-portal-form input {
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.chat-portal-reply textarea,
.chat-portal-form-wide textarea,
.chat-portal-form textarea {
  min-height: 140px;
}

@media (max-width: 820px) {
  .chat-portal-form-wide {
    grid-template-columns: 1fr;
  }

  .chat-portal-actions .chat-widget-submit,
  .chat-portal-actions .chat-widget-action {
    min-width: 0;
    width: 100%;
  }

  .chat-portal-workspace {
    min-height: auto;
  }

  .chat-portal-messages {
    max-height: 420px;
  }
}

/* --------------------------------------------------------------------------
   Blog explorer and article editorial refresh
   -------------------------------------------------------------------------- */

.blog-explorer-page,
.article-editorial-page {
  display: grid;
  gap: 1.8rem;
}

.blog-explorer-page .articles-hero,
.blog-explorer-page .blog-section,
.article-editorial-page .article-hero,
.article-editorial-page .article-layout {
  border-radius: 34px;
  border: 1px solid rgba(159, 255, 112, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 82, 82, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(26, 30, 37, 0.98), rgba(19, 24, 30, 0.98));
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.22);
}

.blog-explorer-page .articles-hero,
.article-editorial-page .article-hero {
  padding: 1.6rem 1.8rem;
}

.blog-explorer-page .articles-toolbar {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

.blog-explorer-page .search-shell {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.blog-explorer-page .articles-toolbar-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-explorer-page .article-mode-switch {
  align-items: center;
}

.blog-explorer-page .articles-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-left: auto;
  color: var(--text);
}

.blog-explorer-page .articles-hero h1,
.article-editorial-page .article-hero h1 {
  max-width: 18ch;
}

.blog-explorer-page .blog-section {
  padding: 1.45rem;
}

.blog-explorer-page .articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
}

.blog-explorer-page .article-card,
.blog-preview-grid .article-card,
.article-editorial-page .article-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(31, 35, 43, 0.96);
  border: 1px solid rgba(159, 255, 112, 0.14);
}

.blog-explorer-page .article-card:hover,
.blog-preview-grid .article-card:hover,
.article-editorial-page .article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 255, 112, 0.26);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.24);
}

.article-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8.1;
  background: linear-gradient(135deg, rgba(22, 26, 31, 1), rgba(14, 17, 23, 1));
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card-media-visual {
  display: grid;
  align-content: end;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(24, 246, 125, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(10, 13, 18, 1), rgba(16, 23, 28, 1));
}

.article-card-media-visual span,
.article-card-media-visual strong {
  position: relative;
  z-index: 1;
}

.article-card-media-visual span {
  color: rgba(159, 255, 112, 0.86);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card-media-visual strong {
  font-family: "Baloo", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.08;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.62rem;
  padding: 0.9rem 0.9rem 0.85rem;
}

.blog-explorer-page .article-card-head,
.blog-preview-grid .article-card-head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
}

.blog-explorer-page .blog-meta,
.blog-preview-grid .blog-meta,
.article-editorial-page .blog-meta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 255, 112, 0.18);
  background: rgba(159, 255, 112, 0.08);
  color: #a7f876;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.blog-explorer-page .article-card-date,
.blog-preview-grid .article-card-date,
.article-editorial-page .article-card-date,
.article-editorial-page .article-meta-row span:first-child {
  color: #f7c170;
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-explorer-page .article-card h2,
.article-editorial-page .article-card h2 {
  font-size: clamp(1.42rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.blog-explorer-page .article-card h2,
.blog-preview-grid .article-card h3 {
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.16;
}

.blog-explorer-page .article-card p,
.blog-preview-grid .article-card p,
.article-editorial-page .article-card p {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.56;
}

.blog-explorer-page .article-card p,
.blog-preview-grid .article-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-explorer-page .article-card-footer,
.blog-preview-grid .article-card-footer {
  margin-top: auto;
  padding-top: 0.1rem;
}

.article-card-link {
  color: #8fff69;
  font-weight: 700;
  font-size: 0.88rem;
}

.blog-explorer-footer {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.blog-preview-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.blog-preview-actions .button-secondary {
  min-width: 280px;
  border-radius: 999px;
}

.blog-explorer-footer .button-secondary {
  min-width: 280px;
  border-radius: 999px;
}

.article-editorial-page .article-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.1rem;
  align-items: start;
}

.article-editorial-page .article-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.85rem;
}

.article-editorial-page .article-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 0.75rem;
  color: rgba(245, 246, 239, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.article-back-link:hover {
  color: #8fff69;
}

.article-editorial-page .article-hero .section-tag,
.article-editorial-page .article-meta-row,
.article-editorial-page .article-engagement,
.article-editorial-page .article-share-row {
  margin-top: 0;
}

.article-editorial-page .article-hero p {
  max-width: 62ch;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
}

.article-editorial-page .article-meta-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.article-editorial-page .article-hero-media {
  min-height: 0;
  max-height: 380px;
  aspect-ratio: 1 / 0.92;
  align-self: start;
  border-radius: 28px;
  overflow: hidden;
}

.article-editorial-page .article-hero-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-editorial-page .article-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(380px, 1fr);
  gap: 1.25rem;
  padding: 1.3rem;
  align-items: start;
}

.article-editorial-page .article-content,
.article-editorial-page .article-aside {
  background: rgba(20, 24, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
}

.article-editorial-page .article-content {
  padding: 1.6rem;
}

.article-editorial-page .article-prose h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  font-family: "Baloo", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.article-editorial-page .article-prose figure {
  margin: 1.4rem 0;
}

.article-editorial-page .article-prose img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-editorial-page .article-prose pre {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(8, 12, 16, 0.94);
  border: 1px solid rgba(159, 255, 112, 0.1);
}

.article-editorial-page .article-aside {
  position: sticky;
  top: 5.75rem;
  padding: 1rem;
}

.article-editorial-page .article-aside-body {
  gap: 1.1rem;
}

.article-editorial-page .article-aside .section-tag,
.article-editorial-page .article-comments .section-tag,
.article-editorial-page .article-series-nav .section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 255, 112, 0.2);
  background: rgba(159, 255, 112, 0.09);
  color: #98ff62;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-editorial-page .article-aside-head {
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.article-editorial-page .article-aside-head .section-tag {
  margin-bottom: 0.35rem;
}

.article-editorial-page .article-comments-head .section-tag {
  margin-bottom: 0.28rem;
}

.article-editorial-page .article-aside-body > p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.64;
}

.article-editorial-page .article-aside-body > h3,
.article-editorial-page .article-comments h2,
.article-editorial-page .article-series-nav h3 {
  margin: 0;
  font-family: "Baloo", sans-serif;
  font-weight: 400;
}

.article-editorial-page .article-aside-body > h3 {
  font-size: 1.7rem;
  line-height: 1;
}

.article-editorial-page .article-comments {
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 32px;
  border: 1px solid rgba(159, 255, 112, 0.14);
  background:
    radial-gradient(circle at top right, rgba(24, 246, 125, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(40, 69, 67, 0.62), rgba(32, 45, 40, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.article-editorial-page .article-comments-head {
  gap: 0.45rem;
}

.article-editorial-page .article-comments-head h2 {
  font-size: 1.2rem;
  line-height: 1.02;
}

.article-editorial-page .article-comments-head p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.article-editorial-page .article-comment-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(159, 255, 112, 0.16);
  background: rgba(159, 255, 112, 0.08);
  color: rgba(245, 246, 239, 0.94);
  font-size: 0.88rem;
  line-height: 1.45;
}

.article-editorial-page .article-comment-notice i {
  color: #f3f7ea;
  font-size: 1rem;
}

.article-editorial-page .article-comment-form {
  gap: 0.7rem;
  padding: 0.8rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
}

.article-editorial-page .article-comment-identity {
  align-items: flex-start;
  gap: 0.65rem;
}

.article-editorial-page .article-comment-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(245, 246, 239, 0.9);
}

.article-editorial-page .article-comment-grid {
  gap: 0.55rem;
}

.article-editorial-page .article-comment-form input,
.article-editorial-page .article-comment-form textarea {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 246, 239, 0.92);
  padding: 0.78rem 0.95rem;
  font-size: 0.88rem;
}

.article-editorial-page .article-comment-form input::placeholder,
.article-editorial-page .article-comment-form textarea::placeholder {
  color: rgba(245, 246, 239, 0.42);
}

.article-editorial-page .article-comment-compose {
  position: relative;
  align-items: stretch;
}

.article-editorial-page .article-comment-compose textarea {
  min-height: 108px;
  padding-right: 4.25rem;
  resize: vertical;
}

.article-editorial-page .article-comment-submit {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  min-width: 0;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border-radius: 13px;
  box-shadow: 2px 2px 0 #050807;
}

.article-editorial-page .article-comment-submit span {
  display: none;
}

.article-editorial-page .article-comment-submit i {
  font-size: 0.9rem;
}

.article-editorial-page .article-comments-empty {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.article-editorial-page .article-comment-thread-list {
  gap: 0.9rem;
}

.article-editorial-page .article-comment-node {
  display: grid;
  gap: 0.8rem;
}

.article-editorial-page .article-comment-row {
  display: flex;
}

.article-editorial-page .article-comment-bubble {
  width: min(100%, 100%);
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.article-editorial-page .article-comment-bubble.is-reply {
  margin-left: auto;
  background: rgba(159, 255, 112, 0.08);
  border-color: rgba(159, 255, 112, 0.16);
}

.article-editorial-page .article-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.article-editorial-page .article-comment-meta strong {
  font-size: 0.9rem;
  line-height: 1;
}

.article-editorial-page .article-comment-meta small {
  color: rgba(245, 246, 239, 0.62);
  font-size: 0.76rem;
}

.article-editorial-page .article-comment-bubble p {
  margin: 0;
  color: rgba(245, 246, 239, 0.92);
  font-size: 0.88rem;
  line-height: 1.5;
}

.article-editorial-page .article-comment-actions {
  display: flex;
}

.article-editorial-page .article-comment-reply-link {
  color: #98ff62;
  font-size: 0.8rem;
  font-weight: 700;
}

.article-editorial-page .article-comment-children {
  display: grid;
  gap: 0.85rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(159, 255, 112, 0.16);
}

.article-editorial-page .article-series-nav {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-editorial-page .article-series-nav-head {
  display: grid;
  gap: 0.45rem;
}

.article-editorial-page .article-series-nav h3 {
  font-size: 1.08rem;
  line-height: 1.05;
}

.article-editorial-page .article-series-list {
  gap: 0.6rem;
}

.article-editorial-page .article-series-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-editorial-page .article-series-item:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 255, 112, 0.22);
  background: rgba(159, 255, 112, 0.06);
}

.article-editorial-page .article-series-item-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(159, 255, 112, 0.1);
  border: 1px solid rgba(159, 255, 112, 0.18);
  color: #98ff62;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-editorial-page .article-series-item-copy {
  color: rgba(245, 246, 239, 0.92);
  font-size: 0.88rem;
  line-height: 1.35;
}

.article-editorial-page .article-series-item-state {
  color: #98ff62;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-editorial-page .article-series-item.is-current {
  border-color: rgba(159, 255, 112, 0.22);
  background: rgba(159, 255, 112, 0.07);
}

.article-editorial-page .article-aside-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.article-editorial-page .article-aside-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-editorial-page .article-aside-toggle:hover {
  transform: translateY(-1px);
  background: rgba(24, 246, 125, 0.08);
  border-color: rgba(24, 246, 125, 0.22);
}

.article-editorial-page .article-aside-toggle i {
  transition: transform 180ms ease;
}

.article-editorial-page .article-layout.is-aside-collapsed {
  grid-template-columns: minmax(0, 1fr) 96px;
}

.article-editorial-page .article-layout.is-aside-collapsed .article-aside {
  align-self: stretch;
  padding: 1rem 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(circle at top center, rgba(24, 246, 125, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(36, 60, 58, 0.86), rgba(30, 50, 48, 0.92));
}

.article-editorial-page .article-layout.is-aside-collapsed .article-aside-head {
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.article-editorial-page .article-layout.is-aside-collapsed .article-aside-head .section-tag {
  display: none;
}

.article-editorial-page .article-layout.is-aside-collapsed .article-aside-body {
  display: none;
}

.article-editorial-page .article-layout.is-aside-collapsed .article-aside-toggle {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.article-editorial-page .article-layout.is-aside-collapsed .article-aside-toggle i {
  transform: rotate(180deg);
}

@media (max-width: 980px) {
  .article-editorial-page .article-layout,
  .article-editorial-page .article-hero-layout {
    grid-template-columns: 1fr;
  }

  .article-editorial-page .article-aside {
    position: static;
  }

  .article-editorial-page .article-layout.is-aside-collapsed {
    grid-template-columns: 1fr;
  }

  .article-comment-compose {
    align-items: stretch;
  }

  .article-comment-submit {
    min-width: 0;
    width: 100%;
  }

  .article-editorial-page .article-comment-submit {
    position: static;
    width: 100%;
    height: auto;
    padding: 0.82rem 1rem;
    border-radius: 16px;
    box-shadow: none;
  }

  .article-editorial-page .article-comment-submit span {
    display: inline;
  }

  .article-editorial-page .article-comment-compose textarea {
    min-height: 120px;
    padding-right: 0.95rem;
  }
}

@media (max-width: 820px) {
  .blog-explorer-page .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .blog-explorer-page .articles-grid {
    grid-template-columns: 1fr;
  }

  .blog-explorer-page .articles-hero,
  .article-editorial-page .article-hero,
  .blog-explorer-page .blog-section,
  .article-editorial-page .article-layout {
    border-radius: 24px;
  }

  .blog-explorer-page .articles-hero,
  .article-editorial-page .article-hero {
    padding: 1.45rem;
  }

  .blog-explorer-page .articles-toolbar-meta-row {
    align-items: stretch;
  }

  .blog-explorer-page .articles-meta {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .article-editorial-page .article-hero h1 {
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .article-editorial-page .article-hero-media {
    max-height: 300px;
    aspect-ratio: 16 / 11;
  }

  .article-editorial-page .article-layout,
  .blog-explorer-page .blog-section {
    padding: 1rem;
  }

  .article-editorial-page .article-comments {
    padding: 0.9rem;
    border-radius: 24px;
  }

  .article-editorial-page .article-comments-head h2,
  .article-editorial-page .article-aside-body > h3 {
    font-size: 1.45rem;
  }

  .article-editorial-page .article-comment-grid {
    grid-template-columns: 1fr;
  }

  .article-editorial-page .article-comment-identity {
    flex-direction: column;
  }

  .article-card-media {
    aspect-ratio: 16 / 8.7;
  }

  .blog-explorer-page .article-mode-switch {
    width: 100%;
  }

  .blog-explorer-page .article-mode-switch .mode-chip {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
  }

  .blog-explorer-footer .button-secondary {
    min-width: 0;
    width: 100%;
  }

  .blog-preview-actions .button-secondary {
    min-width: 0;
    width: 100%;
  }
}
