/**
 * SilverTeam/Gastrock módosítás – 2026-06-01
 * Hírlevél feliratkozó szekció.
 *
 * Cél: a Csigusz világa alatt egy külön, középre rendezett,
 * Zenés receptek / Háromnyelvű / Étteremkritika hangulatához illeszkedő
 * manga/review stílusú kártya jelenjen meg.
 */

.gastrock-newsletter-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0 105px;
  background: #f4efe7;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

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

.gastrock-newsletter-section::after {
  content: "NEWSLETTER";
  position: absolute;
  right: -58px;
  top: 40px;
  padding: 8px 78px;
  border: 4px solid #111;
  background: #ffe14b;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
  transform: rotate(12deg);
  box-shadow: 6px 6px 0 #111;
  pointer-events: none;
}

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

.gastrock-newsletter-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 470px;
}

.gastrock-newsletter-card {
  position: relative;
  z-index: 3;
  width: min(860px, 100%);
  border: 5px solid #111;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  box-shadow: 14px 14px 0 rgba(0,0,0,.92);
  overflow: hidden;
}

.gastrock-newsletter-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,.22) 1px, transparent 1px);
  background-size: 42px 42px, 10px 10px;
  mix-blend-mode: multiply;
}

.gastrock-newsletter-card::after {
  content: "";
  position: absolute;
  left: -34px;
  top: -34px;
  width: 130px;
  height: 130px;
  border: 5px solid #111;
  border-radius: 50%;
  background: #e21319;
  box-shadow: 8px 8px 0 #111;
  opacity: .95;
}

.gastrock-newsletter-card-inner {
  position: relative;
  z-index: 2;
  padding: clamp(46px, 6vw, 78px) clamp(28px, 7vw, 92px);
  text-align: center;
}

.gastrock-newsletter-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 8px 20px;
  border: 3px solid #111;
  border-radius: 999px;
  background: #ffe14b;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 #111;
}

.gastrock-newsletter-title {
  position: relative;
  display: inline-block;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 0 12px 12px;
  color: #111;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.04;
}

.gastrock-newsletter-title::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 7px;
  background: #e21319;
  border: 2px solid #111;
  box-shadow: 4px 4px 0 #111;
  transform: skewX(-12deg);
}

.gastrock-newsletter-text {
  max-width: 650px;
  margin: 0 auto;
  color: #222;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 500;
}

.gastrock-newsletter-button-wrap {
  margin-top: 34px;
}

.gastrock-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 36px;
  border: 4px solid #111;
  border-radius: 999px;
  background: #e21319;
  color: #fff !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 7px 7px 0 #111;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.gastrock-newsletter-button:hover,
.gastrock-newsletter-button:focus {
  background: #ffcf2e;
  color: #111 !important;
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 #111;
}

.gastrock-newsletter-character {
  position: absolute;
  z-index: 4;
  bottom: 0;
  pointer-events: none;
}

.gastrock-newsletter-character img {
  display: block;
  width: auto;
  max-width: min(330px, 28vw);
  max-height: 450px;
  filter: drop-shadow(10px 14px 0 rgba(0,0,0,.24));
}

.gastrock-newsletter-character-left {
  left: 0;
  transform: translateX(-18%) rotate(-2deg);
}

.gastrock-newsletter-character-right {
  right: 0;
  transform: translateX(18%) rotate(2deg);
}

@media screen and (max-width: 1199px) {
  .gastrock-newsletter-stage {
    min-height: 420px;
  }

  .gastrock-newsletter-card {
    width: min(760px, 100%);
  }

  .gastrock-newsletter-character img {
    max-width: min(250px, 25vw);
    max-height: 360px;
  }
}

@media screen and (max-width: 991px) {
  .gastrock-newsletter-section {
    padding: 76px 0 88px;
  }

  .gastrock-newsletter-section::after {
    display: none;
  }

  .gastrock-newsletter-stage {
    min-height: 0;
    padding: 0 0 130px;
  }

  .gastrock-newsletter-card {
    width: 100%;
  }

  .gastrock-newsletter-character img {
    max-width: 180px;
    max-height: 250px;
  }

  .gastrock-newsletter-character-left {
    left: 6%;
    transform: translateY(65%) rotate(-3deg);
  }

  .gastrock-newsletter-character-right {
    right: 6%;
    transform: translateY(65%) rotate(3deg);
  }
}

@media screen and (max-width: 767px) {
  .gastrock-newsletter-section {
    padding: 58px 0 74px;
  }

  .gastrock-newsletter-stage {
    padding-bottom: 0;
  }

  .gastrock-newsletter-mobile-characters-off .gastrock-newsletter-character {
    display: none !important;
  }

  .gastrock-newsletter-mobile-characters-on .gastrock-newsletter-stage {
    padding-bottom: 120px;
  }

  .gastrock-newsletter-card {
    border-width: 4px;
    border-radius: 24px;
    box-shadow: 9px 9px 0 rgba(0,0,0,.92);
  }

  .gastrock-newsletter-card::after {
    width: 88px;
    height: 88px;
    left: -28px;
    top: -28px;
    border-width: 4px;
    box-shadow: 5px 5px 0 #111;
  }

  .gastrock-newsletter-card-inner {
    padding: 42px 22px 46px;
  }

  .gastrock-newsletter-subtitle {
    font-size: 12px;
    padding: 7px 14px;
  }

  .gastrock-newsletter-title {
    font-size: 31px;
  }

  .gastrock-newsletter-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .gastrock-newsletter-button {
    min-height: 54px;
    padding: 13px 28px;
    font-size: 16px;
  }

  .gastrock-newsletter-character img {
    max-width: 145px;
    max-height: 210px;
  }

  .gastrock-newsletter-character-left {
    left: 3%;
    transform: translateY(70%) rotate(-4deg);
  }

  .gastrock-newsletter-character-right {
    right: 3%;
    transform: translateY(70%) rotate(4deg);
  }
}
