/* Strona /opinie */

.opinions-page {
   display: flex;
   flex-direction: column;
}

.opinions-page #hero {
   overflow: hidden;
   background: #161523;
}

.opinions-page .opinions-hero-section {
   position: relative;
   box-sizing: border-box;
   display: flex;
   width: 100%;
   flex-shrink: 0;
   flex-direction: column;
   justify-content: flex-end;
   overflow: hidden;
   height: 339px;
   min-height: 339px;
   max-height: 339px;
   padding: 0;
   overflow: hidden;
}

@media (min-width: 1920px) {
   .opinions-page .opinions-hero-section {
      width: 100vw;
      max-width: none;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
   }
}

.opinions-hero-media {
   position: absolute;
   inset: 0;
   z-index: 0;
   display: block;
   overflow: hidden;
}

.opinions-hero-media img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: 45% 50%;
}

@media (min-width: 768px) {
   .opinions-hero-media img {
      object-position: center center;
   }
}

.opinions-page #hero::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: 1;
   background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0.1) 100%
   );
   pointer-events: none;
}

@media (max-width: 767px) {
   .opinions-page #hero::after {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
   }
}

.opinions-hero-content {
   position: absolute;
   z-index: 2;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   padding: 1rem;
   color: #fff;
   pointer-events: none;
}

.opinions-hero-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   width: 100%;
   max-width: 1024px;
   margin-left: auto;
   margin-right: auto;
   pointer-events: auto;
}

.opinions-hero-text {
   width: 100%;
   max-width: 28rem;
   justify-self: center;
   text-align: center;
}

.opinions-hero-spacer {
   min-height: 1px;
}

.opinions-hero-title {
   font-size: 2.5rem;
   line-height: 1.15;
   font-weight: 700;
   color: #fff;
}

.opinions-hero-title-line {
   display: block;
}

.opinions-hero-subtitle {
   font-size: 1rem;
   line-height: 1.4;
   margin-top: 0.75rem;
   text-align: center;
   color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
   .opinions-hero-content {
      padding: 1.5rem 2rem;
   }
}

@media (min-width: 1024px) {
   .opinions-hero-content {
      padding: 1.5rem 3rem;
   }
}

@media (max-width: 767px) {
   .opinions-hero-title-comma {
      display: none;
   }
}

#kategorie-opinii {
   flex-shrink: 0;
   background: #161523;
   padding: 2rem 1rem 1.5rem;
}

@media (min-width: 768px) {
   #kategorie-opinii {
      padding: 2.5rem 1rem 2rem;
   }
}

.opinions-category-nav {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1rem;
   max-width: 64rem;
   margin-left: auto;
   margin-right: auto;
}

.opinions-category-nav__row {
   display: flex;
   width: 100%;
   flex-direction: column;
   align-items: stretch;
   gap: 0.75rem;
}

@media (min-width: 768px) {
   .opinions-category-nav__row {
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
   }
}

.photo-share-category.opinions-category-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   max-width: 100%;
   height: 3rem;
   padding: 0 1rem;
   border-radius: 9999px;
   background-color: #f1c50e;
   color: #171717;
   font-size: 0.875rem;
   font-weight: 700;
   text-decoration: none;
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
   transition: background-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 768px) {
   .photo-share-category.opinions-category-btn {
      width: 250px;
      max-width: none;
      height: 52px;
      flex-shrink: 0;
   }
}

.photo-share-category.opinions-category-btn:hover {
   background-color: #e0b80d;
   color: #171717;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   filter: brightness(1.03);
}

.photo-share-category.opinions-category-btn:active {
   filter: brightness(0.97);
}

#opinie {
   flex-shrink: 0;
   background: #161523;
   padding: 0 1rem 3rem;
}

@media (min-width: 768px) {
   #opinie {
      padding-bottom: 4rem;
   }
}

.opinions-list-wrap {
   max-width: 48rem;
   margin-left: auto;
   margin-right: auto;
}

.opinions-list {
   padding: 0;
   margin: 0;
   list-style: none;
}

.opinions-list__item {
   margin-bottom: 2rem;
   padding-bottom: 2rem;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opinions-list__item:last-child {
   margin-bottom: 0;
   padding-bottom: 0;
   border-bottom: 0;
}

.opinions-list__empty {
   text-align: center;
   color: rgba(255, 255, 255, 0.7);
}

.opinions-google-link {
   margin-top: 1.5rem;
   text-align: center;
   font-size: 0.875rem;
   color: rgba(255, 255, 255, 0.9);
}

.opinions-google-link a {
   color: inherit;
   text-decoration: underline;
}

.opinions-google-link a:hover {
   color: #fff;
}

/* Zakładki kategorii */
.opinions-category-btn {
   opacity: 0.62;
   text-transform: uppercase;
}

.opinions-category-btn.is-active,
.opinions-category-btn:hover {
   opacity: 1;
}

.opinions-category-nav--all-active .opinions-category-btn:not(.opinions-category-btn--all) {
   opacity: 1;
}

.opinions-category-btn.is-active {
   box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.opinions-category-btn--all {
   height: 1.5rem !important;
   width: auto !important;
   max-width: none !important;
   min-width: 0;
   padding: 0 0.875rem !important;
   font-size: 0.625rem !important;
   letter-spacing: 0.04em;
}

@media (min-width: 768px) {
   .opinions-category-btn--all {
      height: 1.625rem !important;
      padding: 0 1rem !important;
      font-size: 0.6875rem !important;
   }
}

.opinions-category-btn:focus-visible {
   outline: 3px solid rgba(255, 255, 255, 0.9);
   outline-offset: 4px;
}

.opinions-list__header {
   width: 100%;
}

.opinions-list__meta {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 0.5rem 0.625rem;
}

.opinions-list__author {
   font-size: 0.875rem;
   font-weight: 700;
   color: #fff;
   line-height: 1.5rem;
}

.opinions-list__city {
   font-size: 0.875rem;
   color: rgba(255, 255, 255, 0.6);
   line-height: 1.5rem;
}

.opinions-list__comment {
   display: block;
   width: 100%;
   margin: 0.75rem 0 0;
   padding: 0;
   font-size: 0.875rem;
   line-height: 1.625;
   color: rgba(255, 255, 255, 0.9);
}

/* Gwiazdki (jak na landingach koncertów) */
.opinions-list__header .opinions-stars-outer {
   position: relative;
   display: inline-block;
   flex-shrink: 0;
   font-size: 1.5rem;
   color: #6b6b73;
   line-height: 1;
   top: 0.05em;
}

.opinions-list__header .opinions-stars-inner {
   position: absolute;
   top: 0;
   left: 0;
   color: #f1c50e;
   overflow: hidden;
   white-space: nowrap;
}

.opinions-list__header .opinions-stars-outer::before,
.opinions-list__header .opinions-stars-inner::before {
   content: "★★★★★";
   letter-spacing: 0.05em;
}

.opinions-list__source-link {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   width: 1.5rem;
   height: 1.5rem;
   border-radius: 9999px;
   border: 1px solid rgba(255, 255, 255, 0.35);
   color: rgba(255, 255, 255, 0.9);
   text-decoration: none;
   transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.opinions-list__source-link:hover {
   border-color: rgba(255, 255, 255, 0.75);
   background: rgba(255, 255, 255, 0.1);
   color: #fff;
}

.opinions-list__source-link:focus-visible {
   outline: 2px solid #f1c50e;
   outline-offset: 2px;
}

/* Galeria */
.opinions-gallery-section {
   flex-shrink: 0;
   background: #fff;
   padding: 2.5rem 1rem;
   scroll-margin-top: 6rem;
}

@media (min-width: 768px) {
   .opinions-gallery-section {
      padding: 3.5rem 1rem;
   }
}

.opinions-gallery-wrap {
   max-width: 56rem;
   margin-left: auto;
   margin-right: auto;
}

.opinions-gallery-title {
   margin: 0 0 1.5rem;
   text-align: center;
   font-size: 1.5rem;
   font-weight: 700;
   color: #171717;
}

@media (min-width: 768px) {
   .opinions-gallery-title {
      font-size: 1.875rem;
   }
}

.opinions-gallery__counter {
   margin-top: 1rem;
   text-align: center;
   font-size: 0.875rem;
   color: #737373;
}

.opinions-gallery {
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.opinions-gallery__viewport {
   flex: 1 1 auto;
   min-width: 0;
}

.opinions-gallery__grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 0.5rem;
}

@media (min-width: 640px) {
   .opinions-gallery__grid {
      gap: 0.75rem;
   }
}

.opinions-gallery__item {
   aspect-ratio: 1;
   overflow: hidden;
   border-radius: 0.5rem;
   background: #f3f3f5;
}

.opinions-gallery__item a {
   display: block;
   width: 100%;
   height: 100%;
}

.opinions-gallery__item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.25s ease;
}

.opinions-gallery__item a:hover img {
   transform: scale(1.04);
}

.opinions-gallery__nav {
   flex: 0 0 auto;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 2rem;
   height: 2rem;
   padding: 0;
   border: 1px solid #d4d4d8;
   border-radius: 9999px;
   background: #fff;
   color: #27272a;
   cursor: pointer;
   transition: background-color 0.2s, border-color 0.2s;
}

.opinions-gallery__nav:hover {
   background: #f4f4f5;
   border-color: #a1a1aa;
}

.opinions-gallery__nav:focus-visible {
   outline: 2px solid #f1c50e;
   outline-offset: 2px;
}

.opinions-gallery__nav[disabled] {
   opacity: 0.35;
   cursor: not-allowed;
}

/* Pływający przycisk */
.opinions-fab {
   position: fixed;
   right: 0;
   top: 50%;
   z-index: 9000;
   transform: translateY(-50%);
   display: flex;
   align-items: center;
   justify-content: center;
   max-width: 3.25rem;
   padding: 1rem 0.65rem;
   border-radius: 0.5rem 0 0 0.5rem;
   background: #f1c50e;
   color: #161523;
   font-size: 0.7rem;
   font-weight: 700;
   line-height: 1.25;
   text-align: center;
   text-decoration: none;
   text-transform: uppercase;
   letter-spacing: 0.02em;
   box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.18);
   transition: background-color 0.2s, box-shadow 0.2s;
   writing-mode: vertical-rl;
   text-orientation: mixed;
}

.opinions-fab:hover {
   background: #e0b80d;
   color: #161523;
   box-shadow: -6px 6px 20px rgba(0, 0, 0, 0.22);
}

.opinions-fab:focus-visible {
   outline: 3px solid #fff;
   outline-offset: 2px;
}

@media (min-width: 768px) {
   .opinions-fab {
      max-width: none;
      padding: 1.1rem 0.85rem;
      font-size: 0.75rem;
   }
}
