/* AbRams component styles. Mobile-first; brand tokens from style.css :root.
   Keep selectors scoped with .arr- prefix to avoid clashing with Kadence. */

/* ---------- Remap Kadence's global palette to the AbRams brand ----------
   Kadence ships a blue palette (palette1/2). Remapping the custom properties
   recolours buttons, links, accents and category labels site-wide in one place. */
:root, body {
  --global-palette1: #FF2F7D;   /* primary accent — buttons, links, active */
  --global-palette2: #E0276E;   /* primary hover (darker pink) */
  --global-palette3: #3B3532;   /* dark — headings, strong text (charcoal) */
  /* Secondary button → brand sage with charcoal text */
  --global-palette-btn-sec-bg: #A8C3A1;
  --global-palette-btn-sec-bg-hover: #97B690;
  --global-palette-btn-sec: #3B3532;
  --global-palette-btn-sec-hover: #3B3532;
}

/* ---------- Hide the page-title "banner" everywhere (the nav already tells you
   where you are). Archives keep their content; Activities filters move into it. */
.home .entry-hero,
body.page .entry-hero,
.archive .entry-hero,
.search .entry-hero,
.blog .entry-hero { display: none !important; }

/* Activities filter bar, now living at the top of the archive content. */
.arr-filters-bar { margin: 0 0 1.75rem; padding-top: .5rem; }

/* ---------- Base ---------- */
html, body { overflow-x: clip; }            /* guard: no horizontal scroll on mobile */
body {
  background-color: var(--arr-cream);
  color: var(--arr-charcoal);
  max-width: 100%;
}
img, svg, iframe, video { max-width: 100%; height: auto; }

/* Enforce brand fonts over Kadence's dynamic typography CSS. */
body, button, input, select, textarea,
.entry-content, p, li, .wp-block-button__link {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}
h1, h2, h3, h4, h5, h6,
.wp-block-heading, .entry-title, .site-title, .entry-hero h1 {
  font-family: "Playfair Display", Georgia, serif !important;
}

/* Hide Kadence's page-title banner on the static front page only. */
.home .page-hero-section { display: none; }

/* Full-bleed sections: keep background edge-to-edge but give content a gutter. */
.entry-content > .wp-block-group.alignfull { padding-inline: clamp(1rem, 4vw, 2rem); }

/* Brand: let the cream page background show on the homepage + archives
   (single posts/pages keep Kadence's white "boxed" card for readability). */
.home .content-bg, /* (front-page hero already hidden via .entry-hero rule above) */
.archive .content-bg.loop-entry,
body.blog .content-bg.loop-entry { background: transparent; box-shadow: none; }
.home .content-bg { padding-block: 0; }

/* ---------- Header: logo + pink "AbRams" wordmark ---------- */
.site-branding .site-title,
.site-header .site-title,
.header-titles .site-title { display: block !important; }
.site-title a,
.site-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--arr-pink) !important;
  text-decoration: none;
  line-height: 1;
}
.site-title a:hover { filter: brightness(.92); }
.site-header img.custom-logo,
.site-branding img,
.site-header-item .site-logo img { max-height: 66px !important; width: auto !important; }

/* ---------- Hero eyebrow pill ---------- */
.arr-eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.1rem;
  background: var(--arr-sage);
  color: var(--arr-charcoal);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .45em 1.2em;
  border-radius: var(--arr-radius-pill);
}

/* ---------- Buttons (pill, 3 variants) ---------- */
.arr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px; /* mobile tap target */
  padding: .65em 1.5em;
  border-radius: var(--arr-radius-pill);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .08s ease, filter .15s ease;
}
.arr-btn:active { transform: translateY(1px); }

.arr-btn--primary { background: var(--arr-pink); color: #fff; }
.arr-btn--primary:hover { filter: brightness(.94); color: #fff; }

.arr-btn--secondary { background: var(--arr-sage); color: var(--arr-charcoal); }
.arr-btn--secondary:hover { filter: brightness(.96); }

.arr-btn--outline {
  background: transparent;
  color: var(--arr-terracotta);
  border-color: var(--arr-terracotta);
}
.arr-btn--outline:hover { background: var(--arr-terracotta); color: #fff; }

/* Core outline button (e.g. hero "Free Resources"): fill terracotta on hover so
   the white text stays readable (was white-on-transparent → invisible). */
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
  background-color: var(--arr-terracotta) !important;
  border-color: var(--arr-terracotta) !important;
  color: #fff !important;
}

/* ---------- Category icon grid (homepage) ---------- */
.arr-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* mobile: 2-up */
  gap: 1.25rem;
}
@media (min-width: 600px) { .arr-icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .arr-icon-grid { grid-template-columns: repeat(6, 1fr); } }

.arr-icon-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
  text-decoration: none;
  color: var(--arr-charcoal);
}
.arr-icon-grid__circle {
  width: clamp(72px, 22vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* tint set per-item via inline style or modifier class */
  background: #fff;
}
.arr-icon-grid__circle svg { width: 52%; height: 52%; }
.arr-icon-grid__label { font-weight: 500; font-size: .95rem; }

/* ---------- Canva responsive embed ---------- */
.arr-canva {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: var(--arr-radius);
}
.arr-canva iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.arr-canva__fullscreen {
  display: inline-block;
  margin-top: .5rem;
  font-size: .9rem;
}

/* ---------- Download button (core/file block, on-brand) ---------- */
.wp-block-file { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.wp-block-file__button {
  background: var(--arr-pink) !important;
  color: #fff !important;
  border-radius: var(--arr-radius-pill) !important;
  padding: .55em 1.4em !important;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}
.wp-block-file__embed { width: 100%; border-radius: var(--arr-radius); margin-bottom: .75rem; }

/* ---------- Pages: cream background (no white card), like the homepage ---------- */
body.page .content-bg { background: transparent !important; box-shadow: none !important; }

/* ---------- Contact page ---------- */
.arr-contact-title { color: var(--arr-pink) !important; }

/* ---------- Fluent Forms — brand the labels, fields, full-width submit ---------- */
.fluentform .ff-el-input--label label { color: var(--arr-pink); font-weight: 600; }
.fluentform .ff-el-form-control {
  background: #fff;
  border-radius: 10px;
  border-color: #E6DFD8;
}
.fluentform .ff-el-group { margin-bottom: 1.1rem; }
.fluentform .ff-btn-submit {
  width: 100%;
  background: var(--arr-pink) !important;
  border-color: var(--arr-pink) !important;
  color: #fff !important;
  border-radius: var(--arr-radius-pill) !important;
  padding: .85em 1.8em !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
}
.fluentform .ff-btn-submit:hover { filter: brightness(.94); }
.fluentform input:focus, .fluentform textarea:focus, .fluentform select:focus {
  border-color: var(--arr-pink) !important;
  box-shadow: 0 0 0 2px rgba(255, 47, 125, .18) !important;
}

/* ---------- Instagram button wrap ---------- */
.arr-instagram-wrap { margin: 1.5rem 0; }

/* ---------- "You might also like…" related block ---------- */
.arr-related { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px dashed var(--arr-sage); }
.arr-related__title { font-size: 1.5rem; margin-bottom: 1rem; }
.arr-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .arr-related__grid { grid-template-columns: repeat(3, 1fr); } }
.arr-related__card { text-decoration: none; color: var(--arr-charcoal); }
.arr-related__card img { border-radius: var(--arr-radius); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.arr-related__name { display: block; margin-top: .5rem; font-weight: 500; line-height: 1.3; }
.arr-related__card:hover .arr-related__name { color: var(--arr-pink); }

/* ---------- Activities in-page filters (compact, labelled rows) ---------- */
.arr-filters-wrap { display: flex; flex-direction: column; gap: .55rem; margin: .5rem 0 0; }
.arr-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0;
}
.arr-filters__label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  color: var(--arr-charcoal);
  opacity: .55;
  min-width: 36px;
  margin-right: .25rem;
}
.arr-filter {
  display: inline-block;
  border: 1px solid #E6DfD8;
  background: #fff;
  color: var(--arr-charcoal);
  border-radius: var(--arr-radius-pill);
  padding: .26em .78em;
  font-size: .82rem;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.arr-filter:hover { border-color: var(--arr-pink); color: var(--arr-pink); }
.arr-filter.is-active,
.arr-filter[aria-pressed="true"] { background: var(--arr-pink); color: #fff; border-color: var(--arr-pink); }

/* ---------- Active navigation highlight ---------- */
.header-navigation .menu-item.current-menu-item > a,
.header-navigation .menu-item.current-menu-ancestor > a,
.header-navigation .menu-item.current_page_item > a {
  color: var(--arr-pink) !important;
  font-weight: 600;
}
.header-navigation .menu-item.current-menu-item > a .nav-drop-title-wrap,
.header-navigation .menu-item.current-menu-item > a { text-underline-offset: 7px; }

/* ---------- Branded footer ---------- */
.arr-footer {
  background: var(--arr-charcoal);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(1.75rem, 3vw, 2.5rem);
}
.arr-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .arr-footer__inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
}
.arr-footer__brand img { height: auto; margin-bottom: .25rem; }
.arr-footer__tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  margin: .6rem 0 .5rem;
}
.arr-footer__tagline span { color: var(--arr-pink); }
.arr-footer__blurb { font-size: .9rem; line-height: 1.65; opacity: .8; max-width: 38ch; }
.arr-footer__heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 .85rem;
}
.arr-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.arr-footer__menu a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .92rem; }
.arr-footer__menu a:hover { color: var(--arr-pink); }
.arr-footer__ig {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.1rem; color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500;
}
.arr-footer__ig:hover { color: var(--arr-pink); }

/* Blend Kadence's bottom credit bar into the dark footer */
.site-footer, .site-footer .site-footer-row-container-inner { background: var(--arr-charcoal) !important; }
.site-footer .site-footer-wrap .site-info,
.site-footer .footer-html { color: rgba(255,255,255,.7); font-size: .85rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--arr-pink); }

/* ============================================================
   POLISH PASS — cards, article typography, spacing, mobile
   ============================================================ */

/* ---------- Post cards (Latest / Featured freebies on home) ---------- */
.wp-block-latest-posts__list.is-grid { gap: 1.5rem !important; margin-top: 1.5rem; }
.wp-block-latest-posts__list.is-grid > li {
  margin: 0;
  background: #fff;
  border-radius: var(--arr-radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(59, 53, 50, .07);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wp-block-latest-posts__list.is-grid > li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(59, 53, 50, .13);
}
.wp-block-latest-posts__featured-image { display: block; line-height: 0; }
.wp-block-latest-posts__featured-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.wp-block-latest-posts__post-title {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.3;
  margin: 0;
  padding: 1rem 1.1rem 0;
  color: var(--arr-charcoal);
  text-decoration: none;
}
.wp-block-latest-posts__post-title:hover { color: var(--arr-pink); }
.wp-block-latest-posts__post-date { display: block; padding: .4rem 1.1rem 0; font-size: .8rem; opacity: .6; }
.wp-block-latest-posts__post-excerpt { padding: .55rem 1.1rem 1.2rem; margin: 0; font-size: .92rem; line-height: 1.55; }
/* card with no excerpt still gets bottom padding */
.wp-block-latest-posts__list.is-grid > li > :last-child { margin-bottom: 0; }
.wp-block-latest-posts__list.is-grid > li:not(:has(.wp-block-latest-posts__post-excerpt)) .wp-block-latest-posts__post-title { padding-bottom: 1.1rem; }

/* Section heading rhythm on the homepage */
.home .wp-block-heading.has-x-large-font-size { margin-bottom: .25rem; }

/* ---------- Single article typography & spacing ---------- */
.single-content { font-size: 1.07rem; line-height: 1.78; }
.single-content > * + * { margin-top: 1.3rem; }
.single-content h2 { margin-top: 2.4rem; margin-bottom: .2rem; font-size: clamp(1.5rem, 3.2vw, 2.05rem); }
.single-content h3 { margin-top: 1.9rem; margin-bottom: .2rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.single-content :where(img, .wp-block-image img) { border-radius: var(--arr-radius); }
.single-content :where(ul, ol) { padding-left: 1.4rem; }
.single-content li + li { margin-top: .45rem; }
.single-content blockquote {
  border-left: 4px solid var(--arr-pink);
  padding: .25rem 0 .25rem 1.1rem;
  margin-left: 0;
  font-style: italic;
  color: #6b6460;
}

/* ---------- Inline file (PDF) preview ---------- */
.wp-block-file__embed {
  width: 100%;
  border: 1px solid #E6DFD8;
  border-radius: var(--arr-radius);
  box-shadow: 0 3px 14px rgba(59, 53, 50, .06);
}

/* ---------- Spacing now that the title banner is hidden ----------
   Kadence adds a large xxl top margin on .content-area to clear the hero;
   with the hero hidden that's dead space, so drop the top margin and use a
   modest padding instead. */
.home .content-area,
.archive .content-area,
.page .content-area,
.single .content-area { margin-top: 0 !important; }
.archive .content-area,
.page .content-area,
.single .content-area { padding-top: clamp(1.25rem, 3vw, 2rem); }
/* Home: the hero group already carries its own top padding — no extra gap. */
.home .content-area { padding-top: 0 !important; }
/* keep an archive with only a few posts from feeling cramped at the foot */
.archive .content-area { padding-bottom: clamp(2rem, 5vw, 3.5rem); }

/* ---------- Mobile pass ---------- */
@media (max-width: 781px) {
  /* Stack post cards one-up on phones */
  .wp-block-latest-posts__list.is-grid {
    display: grid !important;
    grid-template-columns: 1fr;
  }
  .wp-block-latest-posts__list.is-grid > li { max-width: none; }
  /* Tighter section padding */
  .entry-content > .wp-block-group.alignfull { padding-inline: 1.1rem; }
  /* Filter rows scroll-friendly, never cramped */
  .arr-filters { gap: .35rem; }
  .arr-filters__label { min-width: 0; width: 100%; margin: 0 0 .15rem; }
  /* Single article a touch tighter */
  .single-content { font-size: 1.02rem; }
}
@media (max-width: 480px) {
  .arr-icon-grid { gap: 1rem; }
  .arr-icon-grid__label { font-size: .88rem; }
}

/* ============================================================
   v3 MOCKUP REDESIGN — homepage sections, books, light footer
   ============================================================ */

.arr-section { padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.arr-section > h2 { margin-bottom: 1.6rem; }

/* ghost/outline CTA (mockup) */
.arr-btn--ghost { background: transparent; color: var(--arr-charcoal); border: 2px solid #d9cfc8; }
.arr-btn--ghost:hover { border-color: var(--arr-charcoal); }
.arr-btn--primary { box-shadow: 0 6px 18px rgba(255,47,125,.26); }

/* ---------- HERO (2-column) ---------- */
.arr-hero-section { padding: 0 !important; }
.arr-hero {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}
.arr-h1 { font-family: "Playfair Display", serif; font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.25rem); line-height: 1.05; margin: 0 0 18px; }
.arr-h1 .accent { color: var(--arr-pink); }
.arr-lead { font-size: 1.06rem; color: var(--arr-muted); max-width: 470px; margin: 0 0 24px; }
.arr-lead em { font-family: "Playfair Display", serif; font-style: italic; color: var(--arr-terracotta); }
.arr-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.arr-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: .85rem; color: #7a726d; font-weight: 500; }
.arr-trust span { display: flex; align-items: center; gap: 7px; }
.arr-trust svg { width: 18px; height: 18px; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.arr-trust .t-pink { stroke: var(--arr-pink); } .arr-trust .t-sage { stroke: var(--arr-acc-sage); } .arr-trust .t-must { stroke: var(--arr-acc-mustard); }
.arr-hero__art img { width: 100%; height: auto; border-radius: 24px; display: block; }

/* ---------- CATEGORY TILES ---------- */
.arr-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.arr-cat { border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; text-decoration: none; transition: transform .18s ease; }
.arr-cat:hover { transform: translateY(-5px); }
.arr-cat__badge { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.7); display: grid; place-items: center; margin-bottom: 15px; }
.arr-cat__badge .icon { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.arr-cat h3 { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.2rem; margin: 0 0 7px; }
.arr-cat p { font-size: .82rem; color: var(--arr-muted); line-height: 1.5; margin: 0 0 16px; flex-grow: 1; }
.arr-cat__link { font-weight: 600; font-size: .82rem; }
.arr-cat.c-pink  { background: var(--arr-pink-soft); }  .arr-cat.c-pink, .arr-cat.c-pink h3, .arr-cat.c-pink .arr-cat__badge { color: var(--arr-pink); }
.arr-cat.c-sage  { background: var(--arr-sage-soft); }  .arr-cat.c-sage, .arr-cat.c-sage h3, .arr-cat.c-sage .arr-cat__badge { color: var(--arr-acc-sage); }
.arr-cat.c-blue  { background: var(--arr-blue-soft); }  .arr-cat.c-blue, .arr-cat.c-blue h3, .arr-cat.c-blue .arr-cat__badge { color: var(--arr-acc-blue); }
.arr-cat.c-terra { background: var(--arr-terra-soft); } .arr-cat.c-terra, .arr-cat.c-terra h3, .arr-cat.c-terra .arr-cat__badge { color: var(--arr-terracotta); }
.arr-cat.c-lilac { background: var(--arr-lilac-soft); } .arr-cat.c-lilac, .arr-cat.c-lilac h3, .arr-cat.c-lilac .arr-cat__badge { color: var(--arr-acc-lilac); }
.arr-cat p { color: var(--arr-muted); }

/* ---------- BOOKS teaser (home) ---------- */
.arr-books { background: var(--arr-pink-soft); padding: clamp(1.5rem,4vw,2.6rem); border-radius: 24px; display: grid; grid-template-columns: .95fr 1.25fr .7fr; gap: 32px; align-items: center; }
.arr-books__eyebrow { font-weight: 600; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--arr-pink); margin: 0 0 8px; }
.arr-books__intro h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.4rem,2.6vw,1.7rem); line-height: 1.15; margin: 0 0 12px; }
.arr-books__intro p { font-size: .92rem; color: var(--arr-muted); margin: 0 0 18px; }
.arr-covers { display: flex; gap: 12px; justify-content: center; }
.arr-cover { width: 31%; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; font-family: "Playfair Display", serif; font-weight: 700; box-shadow: 0 8px 20px rgba(59,53,50,.18); text-decoration: none; }
.arr-cover img { width: 100%; height: 100%; object-fit: cover; }
.arr-cover.cv1 { background: var(--arr-terracotta); } .arr-cover.cv2 { background: var(--arr-sage); transform: translateY(-10px); } .arr-cover.cv3 { background: var(--arr-mustard); color: var(--arr-charcoal); }
.arr-book-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; font-size: .9rem; font-weight: 500; }
.arr-book-feats li { display: flex; align-items: center; gap: 9px; }
.arr-book-feats li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--arr-pink); flex-shrink: 0; }

/* ---------- BOOKS page grid ---------- */
.arr-books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px){ .arr-books-grid { grid-template-columns: repeat(2,1fr); } }
.arr-book { background: #fff; border-radius: var(--arr-radius); overflow: hidden; box-shadow: 0 4px 18px rgba(59,53,50,.07); display: flex; flex-direction: column; padding-bottom: 1.1rem; }
.arr-book__cover { aspect-ratio: 3/4; background: var(--arr-pink-soft); display: grid; place-items: center; overflow: hidden; }
.arr-book__cover img { width: 100%; height: 100%; object-fit: cover; }
.arr-book__ph { font-family: "Playfair Display", serif; font-weight: 700; color: var(--arr-pink); padding: 1rem; text-align: center; }
.arr-book__title { font-family: "Playfair Display", serif; font-size: 1.15rem; margin: .9rem 0 .2rem; padding-inline: 1.25rem; }
.arr-book__meta { font-size: .85rem; color: var(--arr-muted); margin: 0 0 .5rem; padding-inline: 1.25rem; }
.arr-book__excerpt { font-size: .9rem; color: var(--arr-muted); margin: 0 0 1rem; padding-inline: 1.25rem; line-height: 1.55; }
.arr-book__order { margin: auto 1.25rem 0; }
.arr-book__order { margin: auto 1.1rem 0; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--arr-whatsapp); color: #fff; font-weight: 600; padding: .7em 1.2em; border-radius: var(--arr-radius-pill); text-decoration: none; }
.arr-book__order:hover { filter: brightness(.95); color: #fff; }
.arr-book__order.is-disabled { background: #e6dfd8; color: #8a807a; font-size: .82rem; }
.arr-books-delivery { margin-top: 2rem; padding: 1.1rem 1.3rem; background: var(--arr-sage-soft); border-radius: var(--arr-radius); font-size: .92rem; color: var(--arr-charcoal); }
.arr-books-empty { padding: 1rem; background: var(--arr-mustard-soft); border-radius: var(--arr-radius); }

/* ---------- POPULAR resources ---------- */
.arr-pop-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.4rem; }
.arr-pop-head h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.4rem,2.8vw,1.85rem); margin: 0; }
.arr-pop-head a { color: var(--arr-pink); font-weight: 600; font-size: .9rem; }
.arr-pop-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.arr-pop { border-radius: 14px; overflow: hidden; box-shadow: 0 3px 14px rgba(59,53,50,.07); transition: transform .18s ease; text-decoration: none; color: var(--arr-charcoal); background: #fff; display: flex; flex-direction: column; }
.arr-pop:hover { transform: translateY(-4px); }
.arr-pop__img { aspect-ratio: 1/1; background: var(--arr-sage-soft); }
.arr-pop__img img { width: 100%; height: 100%; object-fit: cover; }
.arr-pop__meta { padding: 11px 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.arr-tag { align-self: flex-start; font-size: .62rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: 20px; }
.arr-pop__title { font-family: "Playfair Display", serif; font-weight: 700; font-size: .98rem; line-height: 1.25; }

/* ---------- FREE LIBRARY ---------- */
.arr-lib { background: var(--arr-cream); border: 1px solid #f0e3da; border-radius: 24px; padding: clamp(1.5rem,4vw,2.5rem); display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 30px; align-items: center; }
.arr-lib__badge { aspect-ratio: 1/1; max-width: 150px; margin: 0 auto; border-radius: 22px; background: linear-gradient(135deg, var(--arr-mustard-soft), var(--arr-pink-soft)); display: grid; place-items: center; }
.arr-lib__badge svg { width: 62px; height: 62px; stroke: var(--arr-terracotta); stroke-width: 1.5; fill: none; }
.arr-lib__text h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.3rem,2.6vw,1.6rem); margin: 0 0 6px; }
.arr-lib__sub { font-size: .9rem; color: var(--arr-muted); margin: 0 0 12px; }
.arr-lib-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.arr-lib-feats li { display: flex; align-items: center; gap: 9px; }
.arr-lib-feats li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--arr-sage); color: #fff; font-size: 11px; display: grid; place-items: center; flex-shrink: 0; }
.arr-lib__placeholder { background: #fff; border: 1px dashed #e0d8d2; border-radius: 14px; padding: 1rem; font-size: .85rem; color: var(--arr-muted); text-align: center; }
.arr-lib__nospam { font-size: .72rem; color: #9a938e; margin: .6rem 0 0; text-align: center; }
.arr-lib__connect { font-size: .82rem; color: var(--arr-muted); margin: .9rem 0 0; text-align: center; }
.arr-lib__connect a { color: var(--arr-acc-sage); font-weight: 600; }

/* ---------- LIGHT FOOTER (override the earlier charcoal styles) ---------- */
.arr-footer { background: var(--arr-cream); color: var(--arr-charcoal); border-top: 1px solid #f0e8e2; padding: clamp(2.5rem,5vw,3.5rem) clamp(1rem,4vw,2rem) 1.5rem; }
.arr-footer__inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px){ .arr-footer__inner { grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr; gap: 2.2rem; } }
.arr-footer__logo { display: inline-block; text-decoration: none; }
.arr-footer__logo img { max-height: 70px; width: auto; }
.arr-footer__tagline { font-family: "Playfair Display", serif; font-size: 1.05rem; margin: .7rem 0 .5rem; color: var(--arr-charcoal); }
.arr-footer__tagline span { color: var(--arr-pink); }
.arr-footer__blurb { font-size: .88rem; line-height: 1.6; color: var(--arr-muted); max-width: 34ch; }
.arr-footer__heading { font-family: "Poppins", sans-serif; font-weight: 600; font-size: .92rem; color: var(--arr-charcoal); margin: 0 0 .85rem; }
.arr-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.arr-footer__menu a { color: var(--arr-muted); text-decoration: none; font-size: .9rem; }
.arr-footer__menu a:hover { color: var(--arr-pink); }
.arr-footer__social { display: flex; gap: 12px; margin-top: .4rem; }
.arr-footer__social a { width: 38px; height: 38px; border-radius: 50%; background: var(--arr-pink-soft); color: var(--arr-pink); display: grid; place-items: center; }
.arr-footer__social a:hover { background: var(--arr-pink); color: #fff; }

/* Kadence credit bar → light to match */
.site-footer, .site-footer .site-footer-row-container-inner { background: var(--arr-cream) !important; }
.site-footer .site-footer-wrap .site-info, .site-footer .footer-html { color: #9a938e; font-size: .82rem; }
.site-footer a { color: var(--arr-muted); }
.site-footer a:hover { color: var(--arr-pink); }

/* ---------- Mockup responsive ---------- */
@media (max-width: 920px){
  .arr-hero { grid-template-columns: 1fr; gap: 28px; }
  .arr-hero__art { order: -1; }
  .arr-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .arr-books { grid-template-columns: 1fr; text-align: center; }
  .arr-book-feats { align-items: center; }
  .arr-pop-grid { grid-template-columns: repeat(2, 1fr); }
  .arr-lib { grid-template-columns: 1fr; }
}
