/*
Theme Name: Greenfield Folio Review
Author: Rowan Merrick
Description: A mobile-first classic WordPress theme for literary editorial sites with a Kendi-inspired layout, dynamic content controls, responsive post grids, and bundled JPG fallback images.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: abk-theme
*/

:root {
  --abk-ink: #11130f;
  --abk-muted: #696d62;
  --abk-paper: #fffaf0;
  --abk-panel: #ffffff;
  --abk-soft: #f4efe2;
  --abk-line: rgba(17, 19, 15, 0.13);
  --abk-lime: #d8ff3f;
  --abk-olive: #37533b;
  --abk-forest: #0d2f28;
  --abk-amber: #ffb84d;
  --abk-shadow: 0 26px 80px rgba(17, 19, 15, 0.15);
  --abk-radius: 28px;
  --abk-radius-small: 16px;
  --abk-shell: min(1180px, calc(100vw - 28px));
  --abk-font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--abk-ink);
  background:
    radial-gradient(circle at -3% 10%, rgba(216, 255, 63, 0.44) 0 150px, transparent 152px),
    radial-gradient(circle at 105% 5%, rgba(55, 83, 59, 0.18) 0 220px, transparent 222px),
    var(--abk-paper);
  font-family: var(--abk-font-main);
  font-size: 16px;
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--abk-lime);
  outline-offset: 3px;
}

.abk-screen-reader,
.abk-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.abk-skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: var(--abk-ink);
  background: var(--abk-lime);
  border-radius: 999px;
  clip: auto;
}

.abk-site-wrap {
  padding: clamp(10px, 3vw, 34px) 0 clamp(22px, 4vw, 52px);
}

.abk-frame,
.abk-footer {
  width: var(--abk-shell);
  margin-right: auto;
  margin-left: auto;
}

.abk-frame {
  overflow: hidden;
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius);
  box-shadow: var(--abk-shadow);
}

.abk-header {
  position: relative;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--abk-line);
}

.abk-header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(14px, 3vw, 30px);
}

.abk-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--abk-ink);
  font-size: 14px;
  font-weight: 900;
}

.abk-brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--abk-panel);
  background: var(--abk-ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 950;
}

.abk-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.abk-logo-link,
.abk-logo img,
.abk-custom-logo {
  display: inline-flex;
  align-items: center;
}

.abk-logo img,
.abk-custom-logo {
  width: auto;
  max-height: 42px;
}

.abk-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.abk-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--abk-ink);
  background: var(--abk-soft);
  border: 1px solid var(--abk-line);
  border-radius: 999px;
  cursor: pointer;
}

.abk-menu-icon,
.abk-menu-icon::before,
.abk-menu-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.abk-menu-icon {
  position: relative;
}

.abk-menu-icon::before,
.abk-menu-icon::after {
  position: absolute;
  left: 0;
}

.abk-menu-icon::before {
  top: -6px;
}

.abk-menu-icon::after {
  top: 6px;
}

.abk-navigation[data-open="true"] .abk-menu-icon {
  background: transparent;
}

.abk-navigation[data-open="true"] .abk-menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.abk-navigation[data-open="true"] .abk-menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.abk-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 14px;
  left: 14px;
  display: none;
  flex-direction: column;
  gap: 6px;
  max-height: min(70vh, 520px);
  margin: 0;
  padding: 12px;
  overflow: auto;
  list-style: none;
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius-small);
  box-shadow: var(--abk-shadow);
}

.abk-navigation[data-open="true"] .abk-menu {
  display: flex;
}

.abk-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 12px;
  color: var(--abk-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.abk-menu a:hover,
.abk-menu a:focus-visible,
.abk-menu a[aria-current="page"] {
  color: var(--abk-panel);
  background: var(--abk-ink);
}

.abk-header-cta {
  display: none;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  color: var(--abk-panel);
  background: var(--abk-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.abk-main {
  min-height: 58vh;
}

.abk-hero {
  position: relative;
  padding: clamp(24px, 5vw, 58px) clamp(18px, 4vw, 42px) clamp(36px, 7vw, 86px);
  overflow: hidden;
  background: var(--abk-paper);
  border-bottom: 1px solid var(--abk-line);
}

.abk-hero-grid {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
}

.abk-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.abk-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--abk-ink);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.abk-kicker::before {
  width: 6px;
  height: 6px;
  background: var(--abk-lime);
  border-radius: 50%;
  content: "";
}

.abk-hero-title {
  max-width: 700px;
  margin: 0;
  color: var(--abk-ink);
  font-size: clamp(46px, 12vw, 92px);
  font-weight: 950;
  line-height: 0.92;
}

.abk-hero-text {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--abk-muted);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 720;
}

.abk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.abk-button,
.abk-button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.abk-button {
  color: var(--abk-panel);
  background: var(--abk-ink);
}

.abk-button::after {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--abk-ink);
  background: var(--abk-lime);
  border-radius: 50%;
  content: "→";
}

.abk-button-secondary {
  color: var(--abk-ink);
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
}

.abk-button:hover,
.abk-button:focus-visible,
.abk-button-secondary:hover,
.abk-button-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(17, 19, 15, 0.16);
}

.abk-benefit-list {
  display: grid;
  max-width: 560px;
  margin-top: 34px;
  border-top: 1px solid var(--abk-line);
}

.abk-benefit-list span {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--abk-line);
  font-size: 13px;
  font-weight: 850;
}

.abk-benefit-list span::before {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--abk-ink);
  background: var(--abk-lime);
  border-radius: 7px;
  content: "✓";
  font-size: 12px;
}

.abk-visual {
  position: relative;
  min-height: clamp(430px, 62vw, 660px);
}

.abk-mosaic-main {
  position: relative;
  overflow: hidden;
  height: clamp(360px, 52vw, 610px);
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius);
  box-shadow: var(--abk-shadow);
}

.abk-mosaic-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abk-lime-float {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 22px;
  display: grid;
  gap: 6px;
  width: min(210px, 48%);
  padding: 16px;
  color: var(--abk-ink);
  background: var(--abk-lime);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(17, 19, 15, 0.14);
}

.abk-lime-float span {
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.abk-lime-float strong {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 950;
  line-height: 0.92;
}

.abk-mosaic-stack {
  position: absolute;
  right: 18px;
  bottom: -34px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.abk-mosaic-card {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: var(--abk-panel);
  border: 1px solid rgba(17, 19, 15, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(17, 19, 15, 0.12);
}

.abk-mosaic-card:nth-child(1) {
  transform: translateY(-22px) rotate(-2deg);
}

.abk-mosaic-card:nth-child(2) {
  transform: translateY(18px);
}

.abk-mosaic-card:nth-child(3) {
  transform: translateY(-10px) rotate(2deg);
}

.abk-mosaic-card img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
}

.abk-mosaic-card figcaption {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.94);
}

.abk-mosaic-card figcaption span,
.abk-empty-figure figcaption span {
  color: var(--abk-muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.abk-mosaic-card figcaption strong,
.abk-empty-figure figcaption strong {
  color: var(--abk-ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
}

.abk-section {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 42px);
  background: var(--abk-soft);
}

.abk-section + .abk-section {
  border-top: 1px solid var(--abk-line);
}

.abk-feature-strip {
  background: var(--abk-panel);
}

.abk-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.abk-section-title {
  max-width: 760px;
  margin: 0;
  color: var(--abk-ink);
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 950;
  line-height: 0.98;
}

.abk-section-text {
  max-width: 500px;
  margin: 0;
  color: var(--abk-muted);
  font-size: 14px;
  font-weight: 680;
}

.abk-feature-grid {
  display: grid;
  gap: 14px;
}

.abk-lime-card,
.abk-mini-card,
.abk-chip-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--abk-radius-small);
}

.abk-lime-card,
.abk-mini-card {
  display: grid;
  min-height: 178px;
  align-content: space-between;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
}

.abk-lime-card {
  background: var(--abk-lime);
}

.abk-mini-card {
  background: var(--abk-soft);
  border: 1px solid var(--abk-line);
}

.abk-lime-card small,
.abk-mini-card small {
  color: var(--abk-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.abk-lime-card strong,
.abk-mini-card strong {
  display: block;
  color: var(--abk-ink);
  font-size: clamp(34px, 8vw, 62px);
  font-weight: 950;
  line-height: 0.9;
}

.abk-lime-card span,
.abk-mini-card span {
  color: var(--abk-muted);
  font-size: 13px;
  font-weight: 700;
}

.abk-chip-card {
  display: flex;
  min-height: 150px;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 8px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--abk-ink);
}

.abk-chip-card span,
.abk-term-list a {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--abk-ink);
  background: var(--abk-panel);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.abk-chip-card span:nth-child(2n),
.abk-term-list a:nth-child(2n) {
  background: var(--abk-lime);
}

.abk-chip-card span:nth-child(3n),
.abk-term-list a:nth-child(3n) {
  background: var(--abk-amber);
}

.abk-widget-area {
  display: grid;
  gap: 16px;
}

.abk-widget-area > * {
  margin-top: 0;
  margin-bottom: 0;
}

.abk-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.abk-post-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--abk-ink);
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius-small);
}

.abk-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.36 / 1;
  background: var(--abk-soft);
}

.abk-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.abk-post-card:hover .abk-card-image,
.abk-post-card:focus-within .abk-card-image {
  transform: scale(1.035);
}

.abk-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.abk-card-meta,
.abk-single-meta {
  color: var(--abk-muted);
  font-size: 13px;
  font-weight: 850;
}

.abk-card-title {
  margin: 10px 0;
  color: var(--abk-ink);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 950;
  line-height: 1.02;
}

.abk-card-title a {
  color: var(--abk-ink);
}

.abk-card-title a:hover,
.abk-card-title a:focus-visible {
  color: var(--abk-olive);
}

.abk-card-excerpt {
  color: var(--abk-muted);
  font-size: 14px;
  font-weight: 620;
}

.abk-card-excerpt p {
  margin: 0;
}

.abk-text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--abk-ink);
  border-bottom: 3px solid var(--abk-lime);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.abk-empty {
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 12% 12%, rgba(216, 255, 63, 0.42) 0 110px, transparent 112px),
    var(--abk-soft);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius-small);
}

.abk-empty-showcase {
  display: grid;
  gap: 24px;
}

.abk-empty-copy {
  max-width: 720px;
}

.abk-empty-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
}

.abk-empty-text {
  margin: 0;
  color: var(--abk-muted);
}

.abk-empty-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.abk-empty-figure {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(17, 19, 15, 0.1);
}

.abk-empty-image {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.abk-empty-figure figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--abk-line);
}

.abk-empty-figure figcaption small {
  color: var(--abk-muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
}

.abk-pagination {
  margin-top: 28px;
}

.abk-pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.abk-pagination-link {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--abk-ink);
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: 999px;
  font-weight: 850;
}

.abk-pagination-current,
.abk-pagination-link:hover,
.abk-pagination-link:focus-visible {
  background: var(--abk-lime);
}

.abk-single-wrap {
  width: min(80vw, 1040px);
  margin: clamp(28px, 5vw, 60px) auto;
  overflow: hidden;
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius);
  box-shadow: var(--abk-shadow);
}

.abk-single-header {
  padding: clamp(26px, 5vw, 56px);
  color: var(--abk-panel);
  background: var(--abk-ink);
}

.abk-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--abk-panel);
  border-bottom: 3px solid var(--abk-lime);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.abk-single-title {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: clamp(40px, 8vw, 82px);
  font-weight: 950;
  line-height: 0.98;
}

.abk-single-content {
  padding: clamp(26px, 5vw, 56px);
  color: var(--abk-ink);
  background: var(--abk-panel);
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.78;
}

.abk-single-content > * {
  margin-top: 0;
  margin-bottom: 1.22em;
}

.abk-single-content h2,
.abk-single-content h3,
.abk-single-content h4 {
  margin-top: 1.65em;
  margin-bottom: 0.55em;
  line-height: 1.05;
}

.abk-single-content h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.abk-single-content h3 {
  font-size: clamp(25px, 4vw, 36px);
}

.abk-single-content a {
  color: var(--abk-ink);
  border-bottom: 3px solid var(--abk-lime);
  font-weight: 820;
}

.abk-single-content blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
  background: var(--abk-soft);
  border-left: 6px solid var(--abk-lime);
  border-radius: var(--abk-radius-small);
}

.abk-single-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.abk-single-content th,
.abk-single-content td {
  padding: 12px;
  border: 1px solid var(--abk-line);
}

.abk-single-content img {
  border-radius: var(--abk-radius-small);
}

.abk-single-footer {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 5vw, 56px);
  background: var(--abk-panel);
  border-top: 1px solid var(--abk-line);
}

.abk-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.abk-post-nav {
  display: grid;
  gap: 12px;
}

.abk-post-nav a {
  display: block;
  padding: 16px;
  color: var(--abk-ink);
  background: var(--abk-soft);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius-small);
  font-weight: 850;
}

.abk-post-nav-label {
  display: block;
  color: var(--abk-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.abk-footer {
  margin-top: 18px;
  padding: 28px clamp(18px, 4vw, 38px);
  color: var(--abk-ink);
  background: var(--abk-panel);
  border: 1px solid var(--abk-line);
  border-radius: var(--abk-radius);
}

.abk-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.abk-footer-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 950;
}

.abk-footer-text {
  max-width: 520px;
  margin: 0;
  color: var(--abk-muted);
}

.abk-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.abk-footer-menu a {
  color: var(--abk-muted);
  font-size: 14px;
  font-weight: 850;
}

.abk-footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  color: var(--abk-muted);
  border-top: 1px solid var(--abk-line);
  font-size: 13px;
}

@media (min-width: 720px) {
  .abk-feature-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr);
  }

  .abk-chip-card {
    grid-column: 1 / -1;
  }

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

  .abk-post-card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .abk-post-card:first-child .abk-card-media {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .abk-empty-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .abk-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  }

  .abk-footer-menu {
    justify-content: flex-end;
  }
}

@media (min-width: 940px) {
  .abk-menu-toggle {
    display: none;
  }

  .abk-menu {
    position: static;
    display: flex;
    flex-direction: row;
    width: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .abk-menu a {
    min-height: 38px;
    padding: 8px 12px;
  }

  .abk-header-cta {
    display: inline-flex;
  }

  .abk-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .abk-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    align-items: end;
  }

  .abk-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .abk-post-card:first-child {
    grid-column: 1 / 3;
  }
}

@media (max-width: 560px) {
  :root {
    --abk-shell: min(100vw - 16px, 1180px);
  }

  .abk-site-wrap {
    padding-top: 8px;
  }

  .abk-frame,
  .abk-footer {
    border-radius: 18px;
  }

  .abk-header-inner {
    min-height: 66px;
    padding: 0 12px;
  }

  .abk-brand {
    max-width: calc(100vw - 96px);
  }

  .abk-hero {
    padding: 28px 14px 44px;
  }

  .abk-hero-title {
    font-size: clamp(42px, 13vw, 60px);
  }

  .abk-mosaic-main {
    height: 360px;
  }

  .abk-lime-float {
    top: 16px;
    right: 16px;
  }

  .abk-mosaic-stack {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .abk-mosaic-card:nth-child(1),
  .abk-mosaic-card:nth-child(2),
  .abk-mosaic-card:nth-child(3) {
    transform: none;
  }

  .abk-single-wrap {
    width: 80vw;
  }
}
