@charset "UTF-8";
/* =========================================================================
   G-Mart skin — homepage layouts (load after the theme file, homepage only)
   gm-fp-* = Direction 1 "Front Page" homepage
   gm-cp-* = Direction 2 "Comic Page" homepage
   Three regimes: phone <=479, tablet 480-999, desktop >=1000.
   Reading order on phone = source order (no display:contents).
   ========================================================================= */
/* ---------------- Direction 1: Front Page ---------------- */
.gm-fp {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0; }

.gm-fp > * {
  padding-top: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gm-rule);
  min-width: 0; }

.gm-fp__lead {
  grid-area: lead; }

.gm-fp__subs {
  grid-area: subs; }

.gm-fp__foc {
  grid-area: foc; }

.gm-fp__more {
  grid-area: more; }

.gm-fp__extra {
  grid-area: extra; }

/* earlier weeks and the admin's featured sections */
/* "More in the shop" is a full-width row right after the lead (headline + New Releases) at every size */
.gm-fp {
  grid-template-areas: "lead" "more" "subs" "foc" "extra"; }

/* phone */
@media (min-width: 480px) {
  /* tablet */
  .gm-fp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
    grid-template-areas: "lead lead" "more more" "subs subs" "foc foc" "extra extra"; } }
@media (min-width: 1000px) {
  /* desktop */
  .gm-fp {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: 40px;
    grid-template-areas: "lead subs" "more more" "foc foc" "extra extra"; }

  .gm-fp__subs {
    border-left: 1px solid var(--gm-rule);
    padding-left: 32px;
    margin-left: -8px; } }
/* the home page: banners run edge to edge, then the page column (pills, lead, ...) */
.gm-main--home {
  padding-top: 0; }

.gm-home-body {
  padding-bottom: 0; }

.gm-fp__group + .gm-fp__group {
  margin-top: 36px; }

.gm-fp__extra .gm-sechead {
  margin-top: 0; }

.gm-home__suffix {
  margin-top: 24px; }

/* group title line: the heading may hold links and an inline H1; keep them title-sized */
.gm-sechead__title a, .gm-sechead__title strong {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none; }

.gm-sechead__title a:hover {
  text-decoration: underline; }

.gm-sechead__note {
  font-size: 14px;
  font-weight: 600; }

.gm-sechead__note a {
  font-size: inherit; }

.gm-sechead__sub {
  margin: -8px 0 16px;
  font-size: 14px;
  color: var(--gm-text-2); }

.gm-fp__subnote {
  margin: 0 0 12px;
  color: var(--gm-text-2); }

.gm-fp__kicker a {
  color: inherit;
  text-decoration: none; }

.gm-fp__kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gm-blue); }

.gm-fp__title {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap; }

/* the week's books: the first 4 large (they resize), the rest in a fixed-size grid */
.gm-fp__covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; }

.gm-fp__morenew {
  grid-template-columns: repeat(4, 140px);
  gap: 28px 20px;
  margin-top: 24px; }

.gm-sechead__title .gm-sechead__all {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gm-blue);
  text-decoration: none; }

.gm-sechead__title .gm-sechead__all:hover {
  text-decoration: underline; }

.gm-fp__subs > .gm-card__more {
  display: block;
  text-align: center;
  margin-top: 10px; }

@media (max-width: 999px) {
  .gm-fp__title {
    font-size: 32px; }

  .gm-fp__morenew {
    grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .gm-fp__title {
    font-size: 24px;
    white-space: normal; }

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

  .gm-fp__morenew {
    gap: 14px 8px; }

  .gm-fp__morenew .gm-card__title {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden; }

  .gm-fp__morenew .gm-card__desc {
    display: none; }

  .gm-fp__morenew .gm-card__more {
    font-size: 11px; } }
/* Last Week and the featured sections: rows end evenly (counts are multiples of 4) */
.gm-fp__group .gm-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 1000px) {
  .gm-fp__group .gm-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.gm-fp__subtitle {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800; }

.gm-rowlist {
  margin: 0 0 16px;
  padding: 0;
  list-style: none; }

/* subscription row: [cover] [title + blurb + back issues] [tag above Subscribe button] */
.gm-fp__subtitle a {
  color: inherit;
  text-decoration: none; }

.gm-fp__subtitle a:hover {
  text-decoration: underline; }

.gm-fp__pubs {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5; }

.gm-rowlist li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--gm-rule-soft); }

.gm-rowlist__cover {
  display: block;
  width: 52px;
  height: 78px; }

.gm-rowlist img {
  width: 52px;
  height: 78px;
  object-fit: cover;
  display: block; }

.gm-rowlist li.gm-rowlist__nocover {
  grid-template-columns: minmax(0, 1fr) auto; }

/* no cover: [text][side] */
.gm-rowlist__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0; }

.gm-rowlist__title {
  color: var(--gm-ink);
  font-weight: 700;
  text-decoration: none; }

.gm-rowlist__title:hover {
  text-decoration: underline; }

.gm-rowlist__blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--gm-text-2); }

.gm-rowlist__blurb * {
  font-size: inherit; }

/* a title with several subscriptions: one line each (name, Subscribe, Back issues) */
.gm-rowlist__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 4px; }

.gm-rowlist__subname {
  font-size: 14px;
  font-weight: 600; }

.gm-rowlist__side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-align: center; }

.gm-rowlist__side .gm-tag {
  align-self: center; }

@media (max-width: 479px) {
  /* phone: the Subscribe button drops under the text, full width */
  .gm-rowlist li {
    grid-template-columns: 52px minmax(0, 1fr); }

  .gm-rowlist li.gm-rowlist__nocover {
    grid-template-columns: minmax(0, 1fr); }

  .gm-rowlist__side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 10px; }

  .gm-rowlist__side .gm-tag {
    align-self: center;
    flex: none; }

  .gm-rowlist__side .gm-btn {
    flex: 1; } }
.gm-fp__more {
  border-left: 0;
  padding-left: 0;
  margin-left: 0; }

.gm-fp__more ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 32px; }

@media (min-width: 480px) {
  .gm-fp__more ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .gm-fp__more ul {
    grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gm-fp__more a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--gm-rule-soft);
  color: var(--gm-ink);
  text-decoration: none; }

.gm-fp__more a strong {
  font-size: 18px; }

.gm-fp__more a span {
  font-size: 14px;
  color: var(--gm-text-3); }

.gm-fp__more a:hover strong {
  text-decoration: underline; }

.gm-fp__foc .gm-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px; }

@media (max-width: 479px) {
  .gm-fp__foc .gm-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; }

  .gm-fp__foc .gm-card {
    flex: 0 0 120px;
    scroll-snap-align: start; } }
/* ---------------- Direction 2: Comic Page ---------------- */
.gm-cp {
  display: flex;
  flex-direction: column;
  gap: 14px; }

.gm-cp__tier1 {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "splash splash" "subs foc"; }

@media (min-width: 1000px) {
  .gm-cp__tier1 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas: "splash subs" "splash foc"; }

  .gm-cp__splash {
    justify-content: space-between; } }
/* spread the splash to the height of the two side panels */
.gm-cp__splash {
  grid-area: splash;
  border: 3px solid var(--gm-ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0; }

.gm-cp__title {
  margin: 0;
  font-family: var(--gm-font-display);
  text-transform: uppercase;
  font-size: 92px;
  line-height: .92;
  font-weight: 900; }

.gm-cp__dek {
  margin: 0;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--gm-text-2); }

.gm-cp__covers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px; }

.gm-cp__covers a {
  display: block;
  border: 3px solid var(--gm-ink); }

.gm-cp__covers img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover; }

.gm-cp__splash > .gm-btn {
  align-self: flex-start; }

.gm-cp__panel {
  border: 3px solid var(--gm-ink);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0; }

.gm-cp__panel h2 {
  margin: 0;
  font-family: var(--gm-font-display);
  text-transform: uppercase;
  font-size: 36px;
  line-height: .95;
  font-weight: 900; }

.gm-cp__panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4; }

.gm-cp__panelcovers {
  display: flex;
  gap: 10px; }

.gm-cp__panelcovers a {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-decoration: none; }

.gm-cp__panelcovers img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 2px solid var(--gm-ink); }

.gm-cp__panelcovers .gm-tag {
  text-align: center; }

.gm-cp__panel .gm-btn {
  margin-top: auto; }

.gm-cp__subs {
  grid-area: subs;
  background: var(--gm-blue);
  color: #fff; }

.gm-cp__foc {
  grid-area: foc;
  background: var(--gm-ink);
  color: #fff; }

.gm-cp__foc img {
  border-color: #fff; }

.gm-cp__foc .gm-btn {
  background: var(--gm-yellow);
  color: var(--gm-ink);
  border-color: #fff; }

.gm-cp__subs .gm-btn {
  background: #fff;
  color: var(--gm-ink); }

@media (max-width: 999px) {
  .gm-cp__title {
    font-size: 72px; }

  .gm-cp__panel h2 {
    font-size: 30px; } }
@media (max-width: 479px) {
  .gm-cp__splash {
    padding: 18px 16px;
    gap: 14px; }

  .gm-cp__title {
    font-size: 54px; }

  .gm-cp__dek {
    font-size: 16px; }

  .gm-cp__covers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    order: 3;
    margin-top: 0; }

  .gm-cp__covers a:nth-child(n+5) {
    display: none; }

  .gm-cp__splash > .gm-btn {
    order: 4;
    align-self: stretch; }

  .gm-cp__panel {
    padding: 12px;
    gap: 10px; }

  .gm-cp__panel h2 {
    font-size: 24px; }

  .gm-cp__panel p {
    font-size: 13px; }

  .gm-cp__panelcovers a {
    flex: 0 0 72px; }

  .gm-cp__panelcovers a:nth-child(n+2) {
    display: none; }

  .gm-cp__panel .gm-btn {
    font-size: 15px;
    padding: 0 6px; } }
/* story panels: varied widths on desktop (a 12-column "page"), 2 up on tablet, 1 up on phone */
.gm-cp__stories {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr); }

@media (min-width: 480px) {
  .gm-cp__stories {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .gm-cp__stories {
    grid-template-columns: repeat(12, minmax(0, 1fr)); }

  /* rhythm repeats every 6 panels: rows of 5+4+3 and 3+4+5 columns */
  .gm-cp__stories > :nth-child(6n+1) {
    grid-column: span 5; }

  .gm-cp__stories > :nth-child(6n+2) {
    grid-column: span 4; }

  .gm-cp__stories > :nth-child(6n+3) {
    grid-column: span 3; }

  .gm-cp__stories > :nth-child(6n+4) {
    grid-column: span 3; }

  .gm-cp__stories > :nth-child(6n+5) {
    grid-column: span 4; }

  .gm-cp__stories > :nth-child(6n+6) {
    grid-column: span 5; } }
@media (max-width: 1199px) and (min-width: 1000px) {
  /* narrow desktop: keep 3-col panels readable */
  .gm-cp__stories .gm-hcard {
    grid-template-columns: 88px minmax(0, 1fr); }

  .gm-cp__stories .gm-hcard__cover {
    width: 88px;
    height: 132px; } }
@media (max-width: 479px) {
  .gm-cp__stories > :nth-child(n+7) {
    display: none; } }
.gm-cp__seeall {
  display: none; }

@media (max-width: 479px) {
  .gm-cp__seeall {
    display: flex; } }
.gm-cp__shop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; }

@media (max-width: 999px) {
  .gm-cp__shop {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gm-cp__shop a {
  border: 3px solid var(--gm-ink);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--gm-ink);
  text-decoration: none;
  min-width: 0; }

.gm-cp__shop a:hover {
  background: var(--gm-yellow); }

.gm-cp__shop strong {
  font-family: var(--gm-font-display);
  text-transform: uppercase;
  font-size: 26px;
  font-weight: 900;
  line-height: 1; }

.gm-cp__shop span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--gm-text-2); }

@media (max-width: 479px) {
  .gm-cp__shop a {
    padding: 12px; }

  .gm-cp__shop strong {
    font-size: 21px; }

  .gm-cp__shop span {
    font-size: 13px; } }

/*# sourceMappingURL=gm-home.css.map */
