/**
 * SilverTeam/Gastrock módosítás – 2026-05-28
 * Étteremkritika főoldali szekció manga / review card stílus.
 */
.gastrock-review-section {
  position: relative;
  overflow: hidden;
  padding: 95px 0 105px;
  background-color: #f3ede6;
  background-size: cover;
  background-position: center;
}

.gastrock-review-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: radial-gradient(rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 14px 14px;
}

.gastrock-review-inner {
  position: relative;
  z-index: 2;
}

.gastrock-review-heading {
  margin-bottom: 38px;
}

.gastrock-review-small-title {
  margin: 0 0 6px;
  color: #e21319;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
}

.gastrock-review-main-title {
  display: inline-block;
  position: relative;
  margin: 0;
  color: #161616;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(255,255,255,.85);
}

.gastrock-review-main-title::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -12px;
  height: 8px;
  background: #e21319;
  border: 2px solid #111;
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,.18);
}

.gastrock-review-stage {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 225px 18px 18px;
}

.gastrock-review-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 52%) minmax(320px, 1fr);
  gap: 0;
  min-height: 430px;
  overflow: hidden;
  border: 5px solid #111;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 14px 14px 0 rgba(0,0,0,.92);
}

.gastrock-review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  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: 42px 42px, 10px 10px;
  mix-blend-mode: multiply;
}

.gastrock-review-image-link,
.gastrock-review-image-wrap {
  display: block;
  height: 100%;
}

.gastrock-review-image-wrap {
  position: relative;
  overflow: hidden;
  background: #111;
}

.gastrock-review-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(0,0,0,.22));
  pointer-events: none;
}

.gastrock-review-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform .35s ease;
}

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

.gastrock-review-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 46px 44px 42px;
}

.gastrock-review-label {
  align-self: flex-start;
  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: .04em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #111;
}

.gastrock-review-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.05;
}

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

.gastrock-review-text {
  margin: 0 0 22px;
  color: #222;
  font-size: 18px;
  line-height: 1.65;
}

.gastrock-review-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.gastrock-review-stars {
  display: inline-flex;
  gap: 2px;
  padding: 6px 12px;
  border: 3px solid #111;
  border-radius: 15px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0,0,0,.88);
}

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

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

.gastrock-review-score {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 16px;
  border: 3px solid #111;
  border-radius: 15px;
  background: #e21319;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(0,0,0,.88);
}

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

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

.gastrock-review-character {
  position: absolute;
  right: -18px;
  bottom: -8px;
  z-index: 5;
  width: min(330px, 28vw);
  transform: rotate(3deg);
  transform-origin: bottom center;
  pointer-events: none;
}

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

.gastrock-review-bubble {
  position: absolute;
  right: 42%;
  top: -40px;
  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-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);
}

@media (max-width: 1199px) {
  .gastrock-review-stage {
    padding-right: 170px;
  }

  .gastrock-review-character {
    width: 250px;
    right: -6px;
  }

  .gastrock-review-bubble {
    width: 190px;
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .gastrock-review-section {
    padding: 70px 0 80px;
  }

  .gastrock-review-stage {
    padding: 12px 12px 150px;
  }

  .gastrock-review-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
    box-shadow: 9px 9px 0 #111;
  }

  .gastrock-review-image-wrap img {
    min-height: 280px;
    max-height: 390px;
  }

  .gastrock-review-content {
    padding: 30px 26px 34px;
  }

  .gastrock-review-character {
    right: 10px;
    bottom: 0;
    width: min(210px, 46vw);
  }

  .gastrock-review-bubble {
    right: 42%;
    top: -28px;
    width: 170px;
    padding: 12px 14px;
  }
}

@media (max-width: 575px) {
  .gastrock-review-section {
    padding: 54px 0 68px;
  }

  .gastrock-review-main-title {
    font-size: 34px;
  }

  .gastrock-review-card {
    border-width: 4px;
  }

  .gastrock-review-image-wrap img {
    min-height: 220px;
  }

  .gastrock-review-content {
    padding: 24px 18px 28px;
    text-align: center;
  }

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

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

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

  .gastrock-review-character {
    width: 160px;
    right: 4px;
  }

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

/**
 * SilverTeam/Gastrock módosítás – 2026-05-28
 * Étteremkritika carousel finomítás az új külön admin fülhöz.
 */
.gastrock-review-carousel {
  position: relative;
  z-index: 3;
}

.gastrock-review-carousel .owl-stage-outer {
  overflow: hidden;
  padding: 18px 18px 26px;
  margin: -18px -18px -26px;
}

.gastrock-review-carousel .owl-item {
  opacity: .28;
  transition: opacity .25s ease;
}

.gastrock-review-carousel .owl-item.active {
  opacity: 1;
}

.gastrock-review-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-right: 210px;
}

.gastrock-review-carousel .owl-dot {
  width: 18px;
  height: 18px;
  border: 3px solid #111 !important;
  border-radius: 999px;
  background: #fff !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.9);
  transition: transform .18s ease, background .18s ease;
}

.gastrock-review-carousel .owl-dot.active,
.gastrock-review-carousel .owl-dot:hover {
  background: #e21319 !important;
  transform: scale(1.12);
}

.gastrock-review-slide {
  padding: 0;
}

.gastrock-review-card-empty {
  display: flex;
  align-items: center;
  min-height: 360px;
}

@media (max-width: 991px) {
  .gastrock-review-carousel .owl-dots {
    padding-right: 0;
    margin-top: 22px;
  }

  .gastrock-review-carousel .owl-stage-outer {
    padding: 14px 14px 22px;
    margin: -14px -14px -22px;
  }
}

@media (max-width: 575px) {
  .gastrock-review-carousel .owl-dot {
    width: 16px;
    height: 16px;
  }
}

/**
 * SilverTeam/Gastrock módosítás – 2026-05-29
 * Étteremkritika mobil karakter + beszédbuborék végső javítás.
 *
 * Cél:
 * - mobilon a karakter a kiemelt ételfotón belül maradjon,
 * - a karakter alja a fotó aljához igazodjon, ne lógjon a szöveges blokkba,
 * - a buborék a karakter feje fölött/mellett legyen, enyhén döntve,
 * - a karakter válla/karja ne vágódjon le.
 */
@media (max-width: 991px) {
  .gastrock-review-image-wrap {
    position: relative;
    overflow: hidden;
  }

  .gastrock-review-stage > .gastrock-review-character {
    display: none !important;
  }

  .gastrock-review-mobile-character-on-image {
    position: absolute;
    right: -6px;
    bottom: 0;
    z-index: 8;
    display: block;
    width: min(190px, 37vw);
    transform: rotate(0deg);
    transform-origin: bottom center;
    pointer-events: none;
  }

  .gastrock-review-mobile-character-on-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    filter: drop-shadow(7px 8px 0 rgba(0,0,0,.28));
  }

  .gastrock-review-mobile-bubble-on-image {
    position: absolute;
    right: 28px;
    top: -10px;
    z-index: 9;
    display: block;
    width: 152px;
    padding: 9px 12px;
    border: 3px solid #111;
    border-radius: 22px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.08;
    text-align: center;
    box-shadow: 4px 4px 0 #111;
    transform: rotate(-10deg);
  }

  .gastrock-review-mobile-bubble-on-image::after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: -12px;
    width: 22px;
    height: 22px;
    border-right: 3px solid #111;
    border-bottom: 3px solid #111;
    background: #fff;
    transform: rotate(45deg);
  }

  .gastrock-review-mobile-character-disabled .gastrock-review-mobile-character-on-image,
  .gastrock-review-mobile-bubble-disabled .gastrock-review-mobile-bubble-on-image {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .gastrock-review-mobile-character-on-image {
    right: -4px;
    width: min(150px, 38vw);
  }

  .gastrock-review-mobile-bubble-on-image {
    right: 22px;
    top: -8px;
    width: 122px;
    padding: 7px 9px;
    font-size: 11px;
    border-radius: 18px;
    transform: rotate(-9deg);
  }

  .gastrock-review-mobile-bubble-on-image::after {
    right: 24px;
    bottom: -10px;
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 390px) {
  .gastrock-review-mobile-character-on-image {
    right: -2px;
    width: min(138px, 37vw);
  }

  .gastrock-review-mobile-bubble-on-image {
    right: 18px;
    top: -6px;
    width: 114px;
    font-size: 10.5px;
  }
}


/**
 * SilverTeam/Gastrock módosítás – 2026-05-29
 * Étteremkritika desktop layout visszaállítás.
 *
 * A mobilos karakter/buborék javítás marad, de asztali nézetben visszaállítjuk
 * a korábbi széles review kártya arányait. A buborék magasabb z-indexet kap,
 * hogy a karakter előtt jelenjen meg.
 */
@media (min-width: 992px) {
  .gastrock-review-stage {
    max-width: 1320px !important;
    padding: 18px 270px 18px 18px !important;
  }

  .gastrock-review-card {
    grid-template-columns: minmax(520px, 52%) minmax(390px, 1fr) !important;
    min-height: 430px !important;
  }

  .gastrock-review-image-wrap img {
    min-height: 430px !important;
    max-height: none !important;
  }

  .gastrock-review-content {
    padding: 44px 46px 44px 42px !important;
  }

  .gastrock-review-character {
    right: -14px !important;
    bottom: -8px !important;
    z-index: 20 !important;
    width: min(330px, 28vw) !important;
    transform: rotate(3deg) !important;
  }

  .gastrock-review-bubble {
    right: 80px !important;
    top: -34px !important;
    z-index: 30 !important;
    width: 220px !important;
    padding: 16px 20px !important;
    font-size: 18px !important;
    transform: rotate(-6deg) !important;
  }

  .gastrock-review-bubble::after {
    right: 38px !important;
    bottom: -18px !important;
  }

  .gastrock-review-carousel .owl-dots {
    padding-right: 240px !important;
  }

  .gastrock-review-mobile-character-on-image,
  .gastrock-review-mobile-bubble-on-image {
    display: none !important;
  }
}

/* ==========================================================
 * SILVERTEAM / GASTROCK NOTE – 2026-06-05
 * Főoldali Étteremkritika szekció függőleges térköz csökkentése.
 * A felső és alsó padding célzottan kisebb lett minden nézeten.
 * ========================================================== */
.gastrock-review-section {
  padding-top: 34px !important;
  padding-bottom: 38px !important;
}

@media (max-width: 991px) {
  .gastrock-review-section {
    padding-top: 30px !important;
    padding-bottom: 34px !important;
  }
}

@media (max-width: 767px) {
  .gastrock-review-section {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }
}
