/* =========================================================
   NOW PAGE — Sweet Georgia
   Refactored to Design Tokens + fixed grid sizing
   ========================================================= */

.now-page {
  padding-bottom: 60px;
}

/* =========================================================
   HERO
   ========================================================= */

.now-hero-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 40px;
}

/* grid children must be shrinkable */
.now-left-hero,
.now-photo-wrap {
  min-width: 0;
}

.now-left-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.now-h1 {
  font-size: 34px;
  margin: 20px 0;
}

.now-kicker {
  color: var(--sg-accent-primary);
}

.now-lead span {
  font-size: 15px;
  opacity: 0.85;
  color: var(--sg-text-main);
}

.now-meta {
  margin-top: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

/* BUTTON */

.now-btn {
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--sg-accent-primary);
  color: var(--sg-frame-text);
  transition: background 0.2s ease;
}

.now-btn:hover {
  background: var(--sg-hover-light);
}

.now-btn--ghost {
  background: transparent;
  border: 1px solid var(--sg-border-light);
  color: var(--sg-text-main);
}

/* =========================================================
   WEATHER + FX STRIP
   ========================================================= */

.now-hero-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 20px;
}

.strip-card {
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--sg-block-grad-start), var(--sg-block-grad-end));
  border: 1px solid var(--sg-border-light);
  color: var(--sg-block-text);
}

.strip-title {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.strip-big {
  font-size: 36px;
  font-weight: 800;
}

.fx-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  font-size: 14px;
}

/* =========================================================
   PHOTO
   ========================================================= */

.now-photo-wrap {
  position: relative;
}

.now-photo {
  width: 100%;
  min-height: 600px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--sg-frame-bg);
  border-radius: 16px;
}

.now-photo-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  color: var(--sg-frame-text);
  background: rgba(47, 53, 59, 0.65);
  backdrop-filter: blur(10px);
  border-radius: 12px;
}

/* =========================================================
   SECOND ROW
   ========================================================= */

.now-nowrow {
  padding: 20px 0 40px;
}

.now-nowrow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* critical: let cards shrink inside grid */
.now-nowrow__grid > * {
  min-width: 0;
}

.now-box {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--sg-block-grad-start), var(--sg-block-grad-end));
  border: 1px solid var(--sg-border-light);
  color: var(--sg-block-text);
  min-width: 0;
	
  display: flex;
  flex-direction: column;
  height: 100%;
}

.now-box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  min-width: 0;
}

.now-box-head > div {
  min-width: 0;
}

.now-badge {
  flex: 0 0 auto;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sg-accent-secondary);
  color: var(--sg-frame-text);
}

/* =========================================================
   FLIGHTS
   ========================================================= */

.flight-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px 0;
  align-items: center;
}

.flight-time {
  font-weight: 700;
}

.now-flight__route {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flight-status {
  font-size: 12px;
  opacity: 0.8;
  white-space: nowrap;
}

/* =========================================================
   REVIEW / NEWS / TOUR CARD CONTENT
   ========================================================= */

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
height: 100%;
  flex: 1;
}
/*.review-quote{	min-height: calc(100% - 40px)!important;}*/
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.review-author {
  min-width: 0;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date {
  flex: 0 0 auto;
  font-size: 13px;
  opacity: 0.6;
  white-space: nowrap;
}

.review-text-wrapper {
  position: relative;
  min-width: 0;

  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
	
  flex: 1;
}
.review-quote{height: 100%;}
.review-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(245, 242, 237, 0) 0%, var(--sg-block-grad-end) 100%);
  pointer-events: none;
}

.review-more {
  font-size: 14px;
  color: var(--sg-accent-primary);
  transition: opacity 0.2s ease;
}

.review-more:hover {
  opacity: 0.8;
}

/* Ссылку прижимаем вниз */
.review-more,
.now-box a.now-more-link {
  margin-top: auto;
} 
/* =========================================================
   EVENT
   ========================================================= */

.block--event .event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.block--event .event-grid > * {
  min-width: 0;
}

.block--event .event-photo {
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.block--event .event-date,
.block--event .event-cat,
.block--event .event-addr,
.block--event .event-owner {
  font-size: 14px;
  opacity: 0.8;
}

.block--event .event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .now-hero-grid {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .now-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .now-hero-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .block--event .event-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .now-hero-strip {
    grid-template-columns: 1fr;
  }

  .now-nowrow__grid {
    grid-template-columns: 1fr;
  }

  .flight-row {
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-areas:
      "t r"
      "s s";
    row-gap: 6px;
  }

  .flight-time { grid-area: t; }
  .now-flight__route { grid-area: r; }
  .flight-status { grid-area: s; }

  .block--event .event-photo {
    height: 200px;
    min-height: 200px;
    order: -1;
  }

  .block--event .event-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .now-h1 {
    font-size: 24px;
  }

  .strip-big {
    font-size: 26px;
  }

  .now-photo {
    min-height: 360px;
  }
}