@import url('https://fonts.bunny.net/css2?family=Grape+Nuts');
@import url('https://fonts.bunny.net/css2?family=Satisfy');
@import url('https://fonts.bunny.net/css2?family=Indie+Flower');
@import url('https://fonts.bunny.net/css2?family=Lateef');
@import url('https://fonts.bunny.net/css2?family=Coustard');
@import url('https://fonts.bunny.net/css2?family=Architects+Daughter');
@import url('https://fonts.bunny.net/css2?family=Covered+By+Your+Grace');

/*----------------------------------------

  shared cards between index/writings

----------------------------------------*/

:root {
  --landing-card-bg: var(--box-bg, #ffffff);
  --landing-card-border: var(--accent, #e78394);
  --landing-card-border-soft: var(--accent-soft, #e4aebe);

  --landing-head-top: var(--entry-border, var(--accent-soft, #e4aebe));
  --landing-head-bottom: var(--blockquote-bg, #fcf8f9);

  --landing-inner-bg: var(--blockquote-bg, #fcf8f9);
  --landing-inner-bg-soft: var(--link-bg, #f0d9df);
  --landing-inner-border: var(--blockquote-border, #e7cad2);

  --landing-text-soft: var(--text-muted, #896972);
  --landing-heading: var(--heading-color, #59474d);
  --landing-heading-accent: var(--heading-accent, #b64d67);

  --landing-link: var(--link-color, #7a5660);
  --landing-link-visited: var(--landing-heading, #524343);
  --landing-link-hover: var(--landing-heading-accent, #db7575);

  --landing-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.22);
}

.page-shell {
  display: grid;
  gap: 1rem;
}
.hub-card {
  box-sizing: border-box;
  border: 2px solid var(--landing-card-border);
  border-radius: 5px;
  background:
  linear-gradient(
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.12)
  ),
  var(--landing-card-bg);
}
.latest-card, .start-card {
  box-sizing: border-box;
  border: 2px solid var(--landing-card-border);
  border-radius: 5px;
  background:
  linear-gradient(
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.12)
  ),
  var(--landing-card-bg);
}
.home-layout .start-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.45rem;
  padding: 0.7rem;
}
.home-layout .start-card h2 {
  margin: 0;
  font-family: 'Satisfy';
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: lowercase;
}
.home-layout .start-card h2 a, .home-layout .start-card h2 a:visited {
  color: var(--landing-heading);
  line-height: 1.05;
}
.home-layout .start-card h2 a:hover {
  color: var(--landing-heading-accent);
}
.home-layout .start-card p {
  margin: 0.1rem 0;
}
.home-layout .start-card .card-cta {
  margin-top: 0.1rem;
}
.page-intro {
  text-align: center;
}
.page-intro h1 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}
.lede {
  max-width: 95ch;
  margin: 0.75rem auto 0;
  line-height: 1.45;
  text-align: center;
  font-size: 12px;
}
.card-grid, .start-grid, .latest-grid {
  display: grid;
  gap: 1rem;
}
.hub-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.latest-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.start-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* actual cards + style.css removals */

.hub-card, .start-card, .latest-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.85rem;
  overflow: hidden;
}
.start-card p {
  font-size: 0.72rem;
}
.hub-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: -0.85rem -0.85rem 0;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--landing-card-border-soft);
  background: linear-gradient(
    180deg,
    var(--landing-head-top),
    var(--landing-head-bottom)
  );
}
.hub-card-head img {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.hub-card-head h2 {
  flex: 0 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  line-height: 1.15;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-family: 'Architects Daughter';
  color: var(--landing-heading);
}
.hub-card-head::after {
  content: "";
  flex: 1;
  min-width: 2rem;
}
.hub-card-head h2, .start-card h2, .latest-card h3 {
  text-decoration: none;
}
.latest-card h3 {
  font-family: 'Indie Flower';
  font-size: 20px;
}
.hub-card-head a, .start-card h2 a, .latest-card h3 a, .hub-card-head a:visited, .start-card h2 a:visited, .latest-card h3 a:visited {
  color: var(--landing-heading);
  text-decoration: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.hub-card-head a:hover, .start-card h2 a:hover, .latest-card h3 a:hover {
  color: var(--landing-heading-accent);
}
.hub-card li::before, .latest-card li::before, .start-card li::before {
  content: none;
}
.home-layout .latest-card-head h3 {
  margin: 0;
  padding: 0;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  font-family: 'Indie Flower';
  font-size: 0.8rem;
}
.home-layout .latest-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.home-layout .latest-meta .card-category-date {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
.home-layout .latest-date {
  flex: 0 0 auto;
  color: var(--landing-text-soft);
  font-size: 0.90rem;
  font-family: 'Indie Flower';
  line-height: 1;
  letter-spacing: 0.10em;
  font-style: italic;
  white-space: nowrap;
}
/*----------------------------------------
	index latest cards
----------------------------------------*/

.home-layout .latest-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.65rem;
  text-align: left;
}
.home-layout .latest-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  margin: -0.85rem -0.85rem 0;
  padding: 0.55rem 0.7rem 0.5rem;
  background: linear-gradient(
    180deg,
    var(--landing-head-top),
    var(--landing-head-bottom)
  );
  border-bottom: 1px solid var(--landing-card-border-soft);
}
.home-layout .latest-card-head h3 {
  margin: 0;
  padding: 0;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  font-family: 'Indie Flower';
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
}
.home-layout .latest-card-head h3 a, .home-layout .latest-card-head h3 a:visited {
  color: var(--landing-heading);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1.1;
  text-decoration: none;
}
.home-layout .latest-card-head h3 a:hover {
  color: var(--landing-heading-accent);
}
.home-layout .latest-card-head .card-category-date {
  margin: 0;
  padding: 0;
  line-height: 1;
  color: var(--landing-heading-accent);
  background: transparent;
  border: 0;
}
.home-layout .latest-card > p:last-child {
  margin: 0;
}
.latest-card p {
  font-size: 0.79rem;
}
.home-layout .latest-card h3 a, .home-layout .latest-card h3 a:visited {
  color: var(--landing-heading);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1.15;
}
.home-layout .latest-card h3 a:hover {
  color: var(--landing-heading-accent);
}
.home-layout .latest-card h3 a:hover {
  color: var(--landing-heading-accent);
}
.home-layout .latest-card > p:last-child {
  margin: 0;
}
.card-desc {
  margin: 0;
  line-height: 1.35;
  text-align: center;
  font-family: 'Amiko';
  font-size: 12px;
}
.card-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding: 0;
  overflow: hidden;
  border: 2.5px solid var(--landing-card-border-soft);
  border-radius: 0.45rem;
  background: var(--landing-inner-bg-soft);
  font-style: italic;
  box-shadow: none;
}
.card-links p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
  margin: 0;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--landing-inner-border);
  text-align: left;
  line-height: 1.35;
}
.card-links p:last-child {
  border-bottom: 0;
}
.card-links span {
  color: var(--landing-heading-accent);
  font-family: 'Covered By Your Grace';
  font-size: 19px;
  font-weight: 700;
}

/* Prevent global main link styling on s/l/f */

.card-links a, .card-links a:visited {
  color: var(--landing-link);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.card-links a:hover {
  color: var(--landing-link-hover);
}
.card-category-date {
  margin: 0;
  letter-spacing: 0.08em;
  color: var(--landing-heading-accent);
  text-transform: lowercase;
  font-family: Grape Nuts;
  font-size: 16px;
  text-align: left;
  font-weight: 700;
}
.card-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.15rem;
  font-weight: bold;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  text-align: left;
  text-decoration: none;
  font-family: Grape Nuts;
  font-size: 42px;
  font-weight: bold;
}
.section-heading::after {
  content: "";
  flex: 1;
  min-width: 2rem;
  height: var(--divider-height, 1rem);
  margin-left: var(--divider-gap, 0.75rem);
  background-color:
    var(--divider-color, var(--accent-soft));
  -webkit-mask-image: var(--box-divider);
  mask-image: var(--box-divider);
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size:
    auto var(--divider-height, 1rem);
  mask-size:
    auto var(--divider-height, 1rem);
  opacity: var(--divider-opacity, 1);
  pointer-events: none;
}
.divider-heart {
  --box-divider:
    url("/assets/dividers/heart.gif");
  --divider-height: 1.35rem;
  --divider-color: var(--accent-soft);
  --divider-opacity: 0.82;
}
.divider-heart2 {
  --box-divider:
    url("/assets/dividers/hearts.webp");
  --divider-height: 1.55rem;
  --divider-color: var(--border-color);
  --divider-opacity: 0.78;
}
.tiny-note {
  box-sizing: border-box;
  background:
  linear-gradient(
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.12)
  ),
  var(--landing-card-bg);
  margin-top: 1rem;
  padding: 0.10rem;
}
.tiny-note h2 {
  margin: 0 0 0.35rem;
  font-size: 0.90rem;
  font-family: 'Lateef';
  text-align: center;
  text-decoration: underline;
}
.tiny-note p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 0.75em;
  line-height: 1.15;
  text-align: center;
}
.start-card.broider-frame {
    border-style: solid;
    border-color: transparent;
    border-image-source: var(--broider-image);
    border-image-slice: var(--broider-slice);
    border-image-width: var(--broider-width);
    border-image-outset: 3px;
    border-image-repeat: round;
    border-radius: 7px;
}

@media (max-width: 900px) {
  .hub-card-grid, .latest-grid, .start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .hub-card-grid, .latest-grid, .start-grid {
    grid-template-columns: 1fr;
  }
  .hub-card-head {
    align-items: flex-start;
  }
  .page-intro, .hub-intro, .hub-card, .start-card, .latest-card {
    padding: 0.75rem;
  }
}