/*
Theme Name: Indobase Launch
Theme URI: https://indobase.in/
Author: Indobase
Author URI: https://indobase.in/
Description: Custom blog theme for blog.indobase.in inspired by the Indobase brand.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: indobase-launch
*/

:root {
  --bg: #0a0f16;
  --bg-soft: #101722;
  --panel: rgba(16, 22, 32, 0.96);
  --panel-2: rgba(12, 18, 28, 0.98);
  --text: #f6e2bb;
  --muted: #a59f93;
  --line: rgba(214, 170, 92, 0.12);
  --accent: #d6aa5c;
  --accent-2: #f3d49a;
  --accent-3: #8ad7c1;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --width: 1200px;
  --section-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 170, 92, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(214, 170, 92, 0.06), transparent 22%),
    linear-gradient(180deg, #090d12 0%, #0a1118 44%, #0b131d 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.5), transparent 80%);
  pointer-events: none;
  opacity: 0.18;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

p {
  margin: 0 0 1rem;
}

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(92px);
  opacity: 0.32;
  pointer-events: none;
}

.site-shell::before {
  width: 18rem;
  height: 18rem;
  top: 4rem;
  left: -6rem;
  background: rgba(214, 170, 92, 0.2);
}

.site-shell::after {
  width: 26rem;
  height: 26rem;
  top: 10rem;
  right: -11rem;
  background: rgba(214, 170, 92, 0.12);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 12, 18, 0.78);
  border-bottom: 1px solid rgba(214, 170, 92, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 rgba(214, 170, 92, 0.04);
}

.site-header__inner,
.site-footer__meta,
.footer-cta,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__inner {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__logo {
  width: 134px;
  height: auto;
}

.brand__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-2);
  background: rgba(214, 170, 92, 0.08);
  border: 1px solid rgba(214, 170, 92, 0.16);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.nav-link,
.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.12rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  border: 0;
  color: #241807;
  background: linear-gradient(180deg, #f3d49a 0%, #d6aa5c 100%);
  box-shadow: 0 16px 36px rgba(214, 170, 92, 0.18);
  cursor: pointer;
}

.button:visited,
.button:focus,
.button:hover,
.wp-block-button__link:visited,
.wp-block-button__link:focus,
.wp-block-button__link:hover {
  color: #241807;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(214, 170, 92, 0.14);
  box-shadow: none;
}

.hero {
  padding: 3.8rem 0 2.6rem;
}

.hero__panel,
.card,
.entry-card,
.sidebar-card,
.footer-cta,
.pagination .page-numbers,
.feature-card,
.showcase-window {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(214, 170, 92, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__panel,
.entry-card,
.sidebar-card,
.footer-cta {
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(214, 170, 92, 0.08);
  border: 1px solid rgba(214, 170, 92, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 1.85rem;
  align-items: stretch;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1,
.archive-title,
.entry-title {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2.9rem, 6vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero p,
.archive-description,
.section-heading p,
.card p,
.entry-meta,
.entry-taxonomy,
.site-footer__meta,
.footer-cta p {
  color: var(--muted);
}

.hero p {
  max-width: 35rem;
  font-size: 0.98rem;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

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

.stat {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(214, 170, 92, 0.1);
}

.stat strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.hero-window {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(7, 10, 15, 0.92);
  border: 1px solid rgba(246, 197, 95, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow);
}

.hero-window__bar {
  display: flex;
  gap: 0.55rem;
  padding: 0.92rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(214, 170, 92, 0.12);
}

.hero-window__bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero-window__body,
.showcase-window {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.hero-window__body {
  min-height: 100%;
}

.hero-code,
.showcase-window__pane {
  padding: 1.3rem 1.35rem;
}

.hero-code,
.showcase-window__pane:first-child {
  border-right: 1px solid rgba(246, 197, 95, 0.12);
}

.hero-code__title {
  margin-bottom: 0.8rem;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-code pre,
.showcase-window pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.85rem;
  line-height: 1.72;
  color: #efe2c5;
}

.hero-code code,
.showcase-window code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: transparent;
  padding: 0;
}

.hero-live,
.mini-panel,
.showcase-window__pane--alt {
  padding: 1.3rem;
}

.hero-live__head,
.mini-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.hero-live__head span,
.mini-panel__head span {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(214, 170, 92, 0.12);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-live__list,
.mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-live__list li,
.mini-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(214, 170, 92, 0.1);
}

.hero-live__list li:first-child,
.mini-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hero-live__list span,
.mini-list span,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3a2706;
  background: linear-gradient(180deg, #f3d49a 0%, #d6aa5c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-live__list strong,
.mini-list strong {
  display: block;
  font-size: 0.88rem;
}

.hero-live__list small,
.mini-list small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.section-heading {
  align-items: end;
  margin: 0 0 1.7rem;
}

.section-heading--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.section-heading p,
.footer-cta h2,
.footer-cta p,
.site-footer__meta p {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 34rem;
  font-size: 0.94rem;
  line-height: 1.8;
}

.homepage-section {
  padding: 4.8rem 0;
}

.homepage-section--last {
  padding-bottom: 5rem;
}

.feature-grid {
  display: grid;
  gap: 1.4rem;
}

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

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(214, 170, 92, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 45%);
  pointer-events: none;
}

.feature-card h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.12rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.showcase-window {
  overflow: hidden;
  border-radius: 22px;
}

.showcase-window__pane--alt {
  background: rgba(255, 255, 255, 0.018);
}

.schema-table {
  display: grid;
  gap: 0.75rem;
}

.schema-table__row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.7fr;
  gap: 0.75rem;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: #efe2c5;
  font-size: 0.84rem;
  line-height: 1.55;
}

.schema-table__row--head {
  color: var(--muted);
  font-weight: 600;
  background: transparent;
  padding: 0 0 0.5rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem;
  padding-bottom: 3.2rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 170, 92, 0.24);
}

.card__meta,
.entry-meta,
.entry-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card h3,
.entry-card__title,
.widget-title {
  margin: 0.85rem 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
}

.card__footer {
  margin-top: auto;
  padding-top: 1.4rem;
}

.card__link {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.92rem;
}

.card__link:hover {
  color: var(--accent);
}

.archive-head {
  padding: 3.5rem 0 1.25rem;
}

.archive-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.site-main {
  padding: 0 0 4.5rem;
}

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.6rem;
  align-items: start;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.85;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2rem 0 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre {
  margin: 0 0 1.1rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1rem;
  color: #efe2c5;
}

.entry-content pre,
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.entry-content pre {
  overflow: auto;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(214, 170, 92, 0.12);
  box-shadow: var(--shadow-soft);
}

.entry-content code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(214, 170, 92, 0.08);
}

.entry-content pre code {
  padding: 0;
  background: transparent;
}

.entry-content a {
  color: var(--accent);
}

.entry-content a:hover {
  color: #fff;
}

.sidebar-card + .sidebar-card {
  margin-top: 1rem;
}

.sidebar-card h3 {
  margin-top: 0;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-reset li + li {
  margin-top: 0.75rem;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0 0 2.5rem;
}

.pagination .page-numbers {
  min-width: 46px;
  min-height: 46px;
  padding: 0.7rem 1rem;
  text-align: center;
}

.pagination .current {
  background: linear-gradient(180deg, #f3d49a 0%, #d6aa5c 100%);
  color: #241807;
}

.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
}

.site-footer {
  padding: 0 0 3rem;
}

.footer-cta {
  position: relative;
  overflow: hidden;
  align-items: flex-end;
  padding: 2rem 2.2rem;
}

.footer-cta::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(214, 170, 92, 0.16), transparent 58%);
  pointer-events: none;
}

.site-footer__meta {
  padding-top: 1rem;
  border-top: 1px solid rgba(214, 170, 92, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--accent-2);
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 170, 92, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (max-width: 1024px) {
  .post-grid,
  .entry-layout,
  .hero__stats,
  .feature-grid--four,
  .hero__grid,
  .showcase-window,
  .hero-window__body {
    grid-template-columns: 1fr;
  }

  .site-header__inner,
  .site-footer__meta,
  .footer-cta,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .homepage-section {
    padding: 3.8rem 0;
  }

  .hero-code,
  .showcase-window__pane:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 197, 95, 0.12);
  }

  .feature-grid--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 2.2rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .brand__eyebrow {
    display: none;
  }

  .hero__panel,
  .card,
  .entry-card,
  .sidebar-card,
  .footer-cta,
  .feature-card,
  .showcase-window {
    border-radius: 20px;
  }

  .feature-grid--four,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .schema-table__row {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    padding: 1.5rem;
  }
}

/* Editorial blog layout inspired by Supabase's content structure, tuned to Indobase branding. */
.hero--editorial {
  padding: 3rem 0 1.6rem;
}

.hero__panel--editorial {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero__copy--editorial {
  max-width: 48rem;
}

.hero__copy--editorial h1 {
  max-width: 16ch;
}

.hero__copy--editorial p {
  max-width: 43rem;
  font-size: 1rem;
}

.hero-pills,
.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hero-pill,
.topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 170, 92, 0.12);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1;
}

.hero-pill:hover,
.topic-pill:hover {
  color: var(--accent-2);
  border-color: rgba(214, 170, 92, 0.24);
}

.blog-shell {
  padding: 0 0 5rem;
}

.featured-post {
  margin-bottom: 3rem;
}

.featured-post__card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(16, 22, 32, 0.98) 0%, rgba(12, 18, 28, 1) 100%);
  border: 1px solid rgba(214, 170, 92, 0.14);
  box-shadow: var(--shadow);
}

.featured-post__content {
  padding: 2rem 2rem 2.1rem;
}

.post-kicker,
.editorial-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(214, 170, 92, 0.1);
  border: 1px solid rgba(214, 170, 92, 0.16);
  color: var(--accent-2);
}

.featured-post__title {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.featured-post__excerpt {
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.85;
}

.featured-post__footer,
.editorial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.post-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.author-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 170, 92, 0.08);
  color: var(--text);
  font-size: 0.82rem;
}

.featured-post__visual {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(214, 170, 92, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%),
    linear-gradient(180deg, rgba(20, 28, 39, 0.85) 0%, rgba(13, 18, 28, 0.98) 100%);
  border-left: 1px solid rgba(214, 170, 92, 0.12);
}

.featured-post__visual::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(214, 170, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(214, 170, 92, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.02);
}

.featured-post__visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 1.9rem;
}

.featured-post__label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: rgba(214, 170, 92, 0.1);
  border: 1px solid rgba(214, 170, 92, 0.16);
  color: var(--accent-2);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.featured-post__visual-inner strong {
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--text);
}

.featured-post__visual-inner p {
  margin-top: 0.85rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.posts-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.posts-section__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.posts-section__head .topic-pills {
  margin-top: 0;
  justify-content: flex-end;
}

.editorial-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 22, 32, 0.9) 0%, rgba(12, 18, 28, 0.98) 100%);
  border: 1px solid rgba(214, 170, 92, 0.1);
  box-shadow: var(--shadow-soft);
}

.editorial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 170, 92, 0.24);
}

.editorial-card__visual {
  position: relative;
  min-height: 132px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(214, 170, 92, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    linear-gradient(180deg, rgba(28, 38, 52, 0.85) 0%, rgba(14, 19, 28, 0.98) 100%);
  border: 1px solid rgba(214, 170, 92, 0.12);
}

.editorial-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0%, transparent 42%, rgba(214, 170, 92, 0.08) 100%);
  pointer-events: none;
}

.editorial-card__visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1rem;
}

.editorial-card__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: rgba(214, 170, 92, 0.1);
  border: 1px solid rgba(214, 170, 92, 0.16);
  color: var(--accent-2);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.editorial-card__visual-inner strong {
  font-size: 1.05rem;
  line-height: 1.12;
  text-transform: capitalize;
}

.editorial-card__visual-inner small {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.editorial-card__title {
  margin: 0.95rem 0 0.7rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.editorial-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.editorial-card__footer {
  margin-top: auto;
  padding-top: 1.3rem;
}

.site-main {
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .featured-post__card,
  .editorial-feed {
    grid-template-columns: 1fr;
  }

  .posts-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .posts-section__head .topic-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .hero--editorial {
    padding-top: 2.4rem;
  }

  .featured-post__content,
  .featured-post__visual-inner,
  .editorial-card {
    padding: 1.35rem;
  }

  .featured-post__footer,
  .editorial-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
