/**
 * SilverTeam/GastRock módosítás – 2026-06-02
 * Étteremkritikák gyűjtőoldal manga kártyás listázás.
 *
 * Cél:
 * - sima WordPress oldal sablonhoz tartozó listanézet,
 * - meglévő gastrock_review CPT bejegyzések automatikus megjelenítése,
 * - főoldali Étteremkritika karakter + beszédbuborék hangulat megtartása,
 * - carousel nélküli, reszponzív manga kártyarács.
 */

.gastrock-review-archive-page {
  position: relative;
  overflow: hidden;
  background: #f3ede6;
  color: #111;
}

.gastrock-review-archive-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(rgba(0,0,0,.09) 1px, transparent 1px);
  background-size: 14px 14px;
}

.gastrock-review-archive-hero,
.gastrock-review-archive-list-section {
  position: relative;
  z-index: 1;
}

.gastrock-review-archive-hero {
  padding: 66px 0 36px;
  background:
    linear-gradient(135deg, rgba(255,225,75,.92), rgba(243,237,230,.35) 46%, rgba(226,19,25,.12)),
    #f3ede6;
}

.gastrock-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 9px 15px;
  border: 3px solid #111;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-breadcrumb a {
  color: #111;
  text-decoration: none;
}

.gastrock-breadcrumb a:hover {
  color: #e21319;
}

.gastrock-breadcrumb-separator {
  color: #e21319;
  font-weight: 900;
}

.gastrock-review-archive-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
  gap: 34px;
  align-items: end;
  min-height: 340px;
}

.gastrock-review-archive-hero-copy {
  position: relative;
  max-width: 850px;
  padding: 42px 44px;
  border: 5px solid #111;
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 14px 14px 0 #111;
  overflow: hidden;
}

.gastrock-review-archive-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(0,0,0,.35) 49%, transparent 51% 100%),
    radial-gradient(rgba(0,0,0,.25) 1px, transparent 1px);
  background-size: 46px 46px, 10px 10px;
  mix-blend-mode: multiply;
}

.gastrock-review-archive-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 16px;
  border: 3px solid #111;
  border-radius: 999px;
  background: #ffe14b;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-review-archive-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #111;
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 900;
  line-height: .92;
  text-shadow: 3px 3px 0 #fff;
}

.gastrock-review-archive-intro,
.gastrock-review-archive-intro-text {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #222;
  font-size: var(--gastrock-archive-intro-font-size, 19px);
  line-height: 1.65;
  font-weight: 600;
}

.gastrock-review-archive-intro p:last-child {
  margin-bottom: 0;
}

.gastrock-review-archive-character {
  position: relative;
  justify-self: center;
  align-self: end;
  width: min(340px, 29vw);
  min-width: 230px;
  transform: rotate(3deg);
  transform-origin: bottom center;
  pointer-events: none;
}

.gastrock-review-archive-character img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(10px 12px 0 rgba(0,0,0,.28));
}

.gastrock-review-archive-bubble {
  position: absolute;
  right: 42%;
  top: -48px;
  z-index: 3;
  width: 225px;
  padding: 17px 20px;
  border: 4px solid #111;
  border-radius: 28px;
  background: #fff;
  color: #111;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  box-shadow: 6px 6px 0 #111;
  transform: rotate(-6deg);
}

.gastrock-review-archive-bubble::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: -20px;
  width: 34px;
  height: 34px;
  border-right: 4px solid #111;
  border-bottom: 4px solid #111;
  background: #fff;
  transform: rotate(45deg);
}

.gastrock-review-archive-list-section {
  padding: 38px 0 96px;
}

.gastrock-review-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.gastrock-review-archive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 5px solid #111;
  border-radius: 26px;
  background: rgba(255,255,255,.95);
  box-shadow: 10px 10px 0 #111;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.gastrock-review-archive-card:nth-child(3n+2) {
  transform: rotate(-.55deg);
}

.gastrock-review-archive-card:nth-child(3n+3) {
  transform: rotate(.55deg);
}

.gastrock-review-archive-card:hover {
  transform: translate(3px, 3px) rotate(0deg);
  box-shadow: 6px 6px 0 #111;
}

.gastrock-review-archive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .10;
  background-image: radial-gradient(rgba(0,0,0,.28) 1px, transparent 1px);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
}

.gastrock-review-archive-image {
  position: relative;
  display: block;
  height: 245px;
  overflow: hidden;
  background: #111;
}

.gastrock-review-archive-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gastrock-review-archive-card:hover .gastrock-review-archive-image img {
  transform: scale(1.05);
}

.gastrock-review-archive-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.42));
  pointer-events: none;
}

.gastrock-review-archive-image-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 32px);
  padding: 7px 13px;
  border: 3px solid #111;
  border-radius: 999px;
  background: #ffe14b;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-review-archive-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 24px 28px;
}

.gastrock-review-archive-card-content h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 33px);
  font-weight: 900;
  line-height: 1.05;
}

.gastrock-review-archive-card-content h2 a {
  color: #111;
  text-decoration: none;
}

.gastrock-review-archive-card-content h2 a:hover {
  color: #e21319;
}

.gastrock-review-archive-card-content p {
  margin: 0 0 20px;
  color: #262626;
  font-size: 16px;
  line-height: 1.58;
}

.gastrock-review-archive-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: auto 0 22px;
}

.gastrock-review-archive-stars {
  display: inline-flex;
  gap: 1px;
  padding: 6px 10px;
  border: 3px solid #111;
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-review-archive-stars span {
  color: #cfcfcf;
  font-size: 21px;
  line-height: 1;
  text-shadow: 1px 1px 0 #111;
}

.gastrock-review-archive-stars span.is-active {
  color: #ffd83d;
}

.gastrock-review-archive-score {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 13px;
  border: 3px solid #111;
  border-radius: 14px;
  background: #e21319;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-review-archive-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 4px solid #111;
  border-radius: 999px;
  background: #e21319;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 5px 5px 0 #111;
  transition: transform .18s ease, box-shadow .18s ease;
}

.gastrock-review-archive-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #111;
}

.gastrock-review-archive-pagination {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.gastrock-review-archive-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gastrock-review-archive-pagination a,
.gastrock-review-archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 3px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-review-archive-pagination .current,
.gastrock-review-archive-pagination a:hover {
  background: #e21319;
  color: #fff;
}

.gastrock-review-archive-empty {
  max-width: 780px;
  margin: 0 auto;
  padding: 38px;
  border: 5px solid #111;
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: 12px 12px 0 #111;
}

.gastrock-review-archive-empty span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 16px;
  border: 3px solid #111;
  border-radius: 999px;
  background: #ffe14b;
  font-weight: 900;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-review-archive-empty h2 {
  margin: 0 0 12px;
  font-weight: 900;
}

.gastrock-review-archive-empty p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 1199px) {
  .gastrock-review-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gastrock-review-archive-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  }

  .gastrock-review-archive-character {
    width: min(280px, 30vw);
  }

  .gastrock-review-archive-bubble {
    right: 36%;
    width: 190px;
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .gastrock-review-archive-hero {
    padding: 46px 0 30px;
  }

  .gastrock-review-archive-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gastrock-review-archive-character {
    justify-self: end;
    width: min(230px, 46vw);
    min-width: 170px;
    margin-top: -20px;
    margin-right: 8px;
  }

  .gastrock-review-archive-hero-copy {
    padding: 32px 28px;
    border-radius: 24px;
    box-shadow: 9px 9px 0 #111;
  }
}

@media (max-width: 767px) {
  .gastrock-review-archive-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gastrock-review-archive-card,
  .gastrock-review-archive-card:nth-child(3n+2),
  .gastrock-review-archive-card:nth-child(3n+3) {
    transform: none;
  }

  .gastrock-review-archive-image {
    height: 225px;
  }
}

@media (max-width: 575px) {
  .gastrock-review-archive-hero {
    padding-top: 34px;
  }

  .gastrock-breadcrumb {
    font-size: 12px;
    border-width: 2px;
  }

  .gastrock-review-archive-hero-copy {
    padding: 26px 18px;
    border-width: 4px;
  }

  .gastrock-review-archive-hero h1 {
    font-size: 40px;
  }

  .gastrock-review-archive-intro,
  .gastrock-review-archive-intro-text {
    font-size: 16px;
  }

  .gastrock-review-archive-character {
    width: 165px;
    min-width: 0;
    margin-top: -8px;
  }

  .gastrock-review-archive-bubble {
    right: 58px;
    top: -22px;
    width: 145px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .gastrock-review-archive-list-section {
    padding-bottom: 68px;
  }

  .gastrock-review-archive-card {
    border-width: 4px;
    border-radius: 22px;
    box-shadow: 8px 8px 0 #111;
  }

  .gastrock-review-archive-card-content {
    padding: 23px 18px 26px;
    text-align: center;
  }

  .gastrock-review-archive-rating {
    justify-content: center;
  }

  .gastrock-review-archive-button {
    align-self: center;
  }
}

/*
 * SilverTeam/GastRock módosítás – 2026-06-02
 * Étteremkritika gyűjtőoldal – erősebb manga háttér, gradient eltávolítás.
 *
 * Cél:
 * - a pasztelles gradient helyett képregény/manga oldal hangulat,
 * - nagyobb, SVG-ből méretezett kritikus karakter,
 * - halftone pöttyök, speedline/sugár minták és fekete panelhatárok,
 * - a meglévő kártyás listázás megtartása.
 */
.gastrock-review-archive-page {
  background:
    radial-gradient(circle at 14% 18%, rgba(255,225,75,.30) 0 95px, transparent 96px),
    radial-gradient(circle at 88% 12%, rgba(226,19,25,.13) 0 120px, transparent 121px),
    #fff8e8;
}

.gastrock-review-archive-page::before {
  opacity: .22;
  background-image:
    radial-gradient(rgba(0,0,0,.16) 1.1px, transparent 1.2px),
    linear-gradient(135deg, rgba(0,0,0,.035) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.035) 50%, rgba(0,0,0,.035) 75%, transparent 75%, transparent);
  background-size: 13px 13px, 34px 34px;
}

.gastrock-review-archive-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 46px;
  background: #fff3cf !important;
  border-bottom: 6px solid #111;
}

.gastrock-review-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .70;
  background-image:
    repeating-conic-gradient(from -24deg at 78% 48%, rgba(0,0,0,.095) 0deg 1.7deg, transparent 1.8deg 9.5deg),
    radial-gradient(rgba(0,0,0,.18) 1.25px, transparent 1.35px);
  background-size: auto, 12px 12px;
  mix-blend-mode: multiply;
}

.gastrock-review-archive-hero::after {
  content: "";
  position: absolute;
  right: -9vw;
  top: -70px;
  z-index: 0;
  width: 45vw;
  height: 125%;
  min-width: 420px;
  background: #e21319;
  clip-path: polygon(30% 0, 100% 0, 78% 100%, 0 100%);
  opacity: .94;
  box-shadow: -10px 0 0 #111;
}

.gastrock-review-archive-hero .container,
.gastrock-review-archive-list-section .container {
  position: relative;
  z-index: 2;
}

.gastrock-review-archive-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 470px);
  gap: 28px;
  align-items: center;
  min-height: 420px;
}

.gastrock-review-archive-hero-copy {
  max-width: 800px;
  padding: 46px 50px;
  background: #fffdf5;
  border-radius: 10px 36px 10px 36px;
  border: 6px solid #111;
  box-shadow: 16px 16px 0 #111;
}

.gastrock-review-archive-hero-copy::before {
  opacity: .17;
  background-image:
    repeating-linear-gradient(-10deg, transparent 0 10px, rgba(0,0,0,.18) 11px, transparent 12px 28px),
    radial-gradient(rgba(0,0,0,.28) 1px, transparent 1.2px);
  background-size: auto, 11px 11px;
}

.gastrock-review-archive-hero-copy::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  border: 5px solid #111;
  background: #ffe14b;
  transform: rotate(12deg);
  box-shadow: 7px 7px 0 #111;
}

.gastrock-review-archive-kicker {
  background: #ffe14b;
  border-width: 4px;
  box-shadow: 5px 5px 0 #111;
}

.gastrock-review-archive-hero h1 {
  font-size: clamp(46px, 6.3vw, 90px);
  text-shadow: 4px 4px 0 #ffe14b, 7px 7px 0 rgba(0,0,0,.12);
}

.gastrock-review-archive-character {
  z-index: 4;
  width: min(455px, 35vw);
  min-width: 330px;
  transform: rotate(-1.5deg) translateY(18px);
}

.gastrock-review-archive-character img {
  filter: drop-shadow(12px 12px 0 rgba(0,0,0,.42));
}

.gastrock-review-archive-bubble {
  right: 22%;
  top: -18px;
  width: 235px;
  background: #fffdf5;
  border-width: 5px;
  box-shadow: 7px 7px 0 #111;
}

.gastrock-review-archive-list-section {
  padding: 74px 0 104px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,248,232,.74)),
    radial-gradient(rgba(0,0,0,.10) 1px, transparent 1.2px);
  background-size: auto, 12px 12px;
}

.gastrock-review-archive-card {
  background: #fffdf7;
}

.gastrock-review-archive-card::after {
  content: "";
  position: absolute;
  right: -32px;
  top: 18px;
  z-index: 0;
  width: 78px;
  height: 38px;
  border: 4px solid #111;
  background: #ffe14b;
  transform: rotate(12deg);
  opacity: .95;
}

@media (max-width: 1199px) {
  .gastrock-review-archive-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    min-height: 380px;
  }

  .gastrock-review-archive-character {
    width: min(380px, 34vw);
    min-width: 280px;
  }
}

@media (max-width: 991px) {
  .gastrock-review-archive-hero {
    padding: 40px 0 34px;
  }

  .gastrock-review-archive-hero::after {
    right: -160px;
    width: 430px;
    opacity: .36;
  }

  .gastrock-review-archive-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  .gastrock-review-archive-character {
    justify-self: center;
    width: min(285px, 58vw);
    min-width: 220px;
    margin-top: 0;
    margin-right: 0;
    transform: rotate(-1.5deg);
  }

  .gastrock-review-archive-bubble {
    right: 50%;
    top: -28px;
    transform: translateX(55%) rotate(-6deg);
  }

  .gastrock-review-archive-list-section {
    padding-top: 52px;
  }
}

@media (max-width: 575px) {
  .gastrock-review-archive-hero-copy {
    padding: 26px 20px 30px;
    border-radius: 8px 24px 8px 24px;
    box-shadow: 9px 9px 0 #111;
  }

  .gastrock-review-archive-hero-copy::after {
    width: 46px;
    height: 46px;
    right: -12px;
    bottom: 14px;
  }

  .gastrock-review-archive-hero h1 {
    font-size: 41px;
    text-shadow: 3px 3px 0 #ffe14b;
  }

  .gastrock-review-archive-character {
    width: min(230px, 70vw);
    min-width: 0;
  }

  .gastrock-review-archive-bubble {
    right: 50%;
    top: -18px;
    width: 150px;
    padding: 10px 12px;
    font-size: 13px;
    border-width: 4px;
    transform: translateX(62%) rotate(-6deg);
  }
}
