.gk-guide {
  --gk-ink: #553028;
  --gk-paper: #fbf3e7;
  --gk-orange: #eb7a00;
  --gk-border: #e6d6c7;
  --gk-stripes: repeating-linear-gradient(135deg, #bb2518 0 6px, #fff7e9 6px 12px);
  color: var(--gk-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.gk-guide :is(h1, h2, h3) {
  margin: 0 0 .65rem;
  color: inherit;
  line-height: 1.12;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 800;
  overflow-wrap: break-word;
}

.gk-guide p { margin: 0 0 1rem; }
.gk-guide a:focus-visible { outline: 3px solid #985013; outline-offset: 4px; }

.gk-guide-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 32vw, 420px);
  margin-top: 15px;
  overflow: hidden;
  border-radius: 1rem;
  background: #17110e;
  color: #fff2df;
}

.gk-guide-hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 61%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.gk-guide-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #17110e 0 38%, rgba(23,17,14,.85) 49%, transparent 77%);
}

.gk-guide-hero-copy { padding: clamp(1.6rem, 5vw, 4.2rem); }
.gk-guide-hero h1 {
  font: 900 clamp(2.4rem, 5.1vw, 5.2rem)/.96 Montserrat, system-ui, sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.gk-guide-hero h1 span { display: block; color: #ffd79f; margin-top: .08em; }
.gk-guide-hero-copy > p:not(.gk-guide-kicker) { max-width: 33ch; font-size: 1.05rem; }

.gk-guide .gk-guide-kicker {
  margin-bottom: .7rem;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gk-guide-hero .gk-guide-kicker { color: #f4c283; }

.gk-guide .gk-guide-button {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .55em;
  padding: .62em 1.12em;
  border: 1px solid transparent;
  border-radius: 100px;
  color: #28160d;
  background: var(--gk-orange);
  font-weight: 750;
  text-decoration: none;
}

.gk-guide .gk-guide-button:hover { color: #28160d; background: #ffab51; }

.gk-guide-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
  margin: 1rem 0 2.4rem;
}

.gk-guide-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  border-radius: .85rem;
  color: #fff !important;
  background: var(--gk-ink);
  font-weight: 700;
  padding: .8rem;
}

.gk-guide-nav a:nth-child(1) { background: #b52b19; }
.gk-guide-nav a:nth-child(3) { background: #1c695a; }
.gk-guide-nav a:nth-child(4) { background: #a34300; }
.gk-guide-nav a:nth-child(5) { background: #234d93; }
.gk-guide-nav a:hover { text-decoration: underline; text-underline-offset: .2em; filter: brightness(1.13); }
.gk-guide-section { margin: clamp(2.6rem, 6vw, 5rem) 0; scroll-margin-top: 7rem; }
.gk-guide-section--cream, .gk-guide-section--dark {
  padding: clamp(1.1rem, 3vw, 2.5rem);
  border-radius: 1rem;
}
.gk-guide-section--cream { border-top: 7px solid transparent; background: linear-gradient(#fbe6c1, #fbe6c1) padding-box, var(--gk-stripes) border-box; }
.gk-guide-section--dark { background: var(--gk-ink); color: #fbe6c1; }
.gk-guide-section--dark .gk-guide-card { color: var(--gk-ink); }
.gk-guide-section-photo { display: block; width: 100%; height: clamp(140px, 21vw, 260px); object-fit: cover; border-radius: .85rem; margin-bottom: 1.3rem; }
.gk-guide-section > header { margin-bottom: 1.3rem; }
.gk-guide-section > header p { max-width: 65ch; }
.gk-guide h2 { font-size: clamp(1.75rem, 3.5vw, 3.25rem); letter-spacing: .01em; }
.gk-guide-section > header h2 { font-size: clamp(1.5rem, 2.65vw, 2.55rem); }
.gk-guide h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.gk-guide-grid, .gk-guide-gifts { display: grid; gap: clamp(.8rem, 2vw, 1.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gk-guide-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gk-guide-grid--sets { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.5rem; }
.gk-guide-grid--sets .gk-guide-card-photo { height: clamp(215px, 23vw, 320px); }
.gk-guide-grid--machines { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gk-guide-gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gk-guide-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--gk-border);
  border-radius: .85rem;
  overflow: hidden;
}

.gk-guide-card-photo {
  display: block;
  height: clamp(180px, 18vw, 225px);
  background: #fff;
}

.gk-guide-card-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gk-guide-card-photo { position: relative; }
.gk-guide-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  background: #b52b19;
  color: #fff;
  font-weight: 800;
  font-size: .76rem;
  padding: .32rem .6rem;
  border-radius: 2rem;
}
.gk-guide-card-copy { display: flex; flex: 1; flex-direction: column; padding: .9rem 1rem 1rem; }
.gk-guide .gk-guide-card-title { color: var(--gk-ink); font-size: 1.03rem; line-height: 1.26; margin: 0 0 .35rem; }
.gk-guide .gk-guide-card-title a { color: var(--gk-ink); text-decoration: underline; text-underline-offset: .12em; }
.gk-guide .gk-guide-card-description { color: #4c423e; font-size: .87rem; line-height: 1.44; margin-bottom: .7rem; }
.gk-guide-offer { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.gk-guide .gk-guide-stock { color: #187739; margin: 0; font-size: .84rem; font-weight: 750; }
.gk-guide .gk-guide-price { margin: 0; font-size: 1.06rem; font-weight: 800; }
.gk-guide .gk-guide-price--sale { color: #b52b19; }
.gk-guide-price del { display: block; color: #715952; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.gk-guide-buy { margin: 0; }
.gk-guide-card .gk-guide-button { color: #fff; background: #a84400; font-size: .86rem; padding: .45em .72em; }
.gk-guide-card .gk-guide-button:hover { color: #251306; background: #ffab51; }
.gk-guide .gk-guide-inline { margin: 1.15rem 0 0; text-align: right; }
.gk-guide .gk-guide-inline a { color: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }

.gk-guide-feature .gk-guide-card { background: var(--gk-paper); }
.gk-guide-feature .gk-guide-card:has(.gk-guide-card-photo) { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.gk-guide-feature .gk-guide-card-photo { height: 100%; max-height: 330px; aspect-ratio: auto; }
.gk-guide-feature .gk-guide-card-copy { justify-content: center; padding: clamp(1.25rem, 4vw, 3.25rem); }
.gk-guide-feature .gk-guide-card-copy > p:not(.gk-guide-kicker):not(.gk-guide-stock) { margin-bottom: 0; }
.gk-guide-feature--pro { margin-top: 1.5rem; }
.gk-guide-feature--pro h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.gk-guide-subscription { border-radius: .85rem; overflow: hidden; }
.gk-guide-subscription { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); background: var(--gk-paper); }
.gk-guide-subscription img { width: 100%; height: 100%; object-fit: cover; }
.gk-guide-subscription > div { align-self: center; padding: clamp(1.25rem, 3vw, 2.6rem); }
.gk-guide-subscription .gk-guide-price { margin-bottom: .5rem; }

@media (max-width: 900px) {
  .gk-guide-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gk-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-guide-gifts { grid-template-columns: minmax(0, 1fr); }
  .gk-guide-subscription img { max-height: 275px; }
}

@media (max-width: 560px) {
  .gk-guide-grid, .gk-guide-feature .gk-guide-card:has(.gk-guide-card-photo) { grid-template-columns: minmax(0, 1fr); }
  .gk-guide-hero-photo { width: 100%; object-position: 60% 50%; }
  .gk-guide-hero::after { background: linear-gradient(90deg, rgba(23,17,14,.94), rgba(23,17,14,.62) 65%, rgba(23,17,14,.25)); }
  .gk-guide-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-guide-card-photo, .gk-guide-feature .gk-guide-card-photo { height: 210px; aspect-ratio: auto; }
  .gk-guide-subscription { grid-template-columns: minmax(0, 1fr); }
  .gk-guide-subscription img { height: 165px; object-position: center 33%; }
}

@media (max-width: 390px) {
  .gk-guide-hero h1:lang(hu) { font-size: min(2.4rem, 7.9vw); }
}
