/* OpenWork Reviews — Front UI (v1 mock) */
.owr{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  color:#0F172A;
}

html.owr-lock, body.owr-lock{ overflow:hidden; }

/* ===== HERO ===== */
.owr-hero{
  background: radial-gradient(1200px 420px at 20% 20%, #FFFFFF 0%, #F7FAFF 45%, #EFF6FF 100%);
  border-radius: 28px;
  padding: 54px 34px;
  margin: 0 0 18px;
  box-shadow: 0 18px 44px rgba(17,24,39,.08);
}
.owr-hero__wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:center;
}
.owr-hero__title{
  margin:0 0 10px;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color:#111827;
}
.owr-accent{ color:#FFC400; }
.owr-hero__subtitle{
  margin:0 0 18px;
  font-size: 18px;
  line-height: 1.7;
  color:#334155;
  max-width: 56ch;
}
.owr-hero__bullets{
  margin: 22px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 14px;
}
.owr-hero__bullet{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  color:#111827;
  font-weight: 700;
}
.owr-hero__ico{
  width:30px;height:30px;
  border-radius: 999px;
  flex: 0 0 30px;
  display:inline-block;
  box-shadow: 0 10px 22px rgba(17,24,39,.10);
  background-repeat:no-repeat;
  background-position:center;
  background-size: 16px 16px;
}

/* Icon variants (SVG data) */
.owr-hero__bullet--check .owr-hero__ico{background-color:#D1FAE5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='%23065F46' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.owr-hero__bullet--chat .owr-hero__ico{background-color:#DBEAFE;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2h9A3.5 3.5 0 0 1 20 5.5v6A3.5 3.5 0 0 1 16.5 15H11l-4.2 3a.9.9 0 0 1-1.4-.74V15A3.5 3.5 0 0 1 4 11.5v-6Z' stroke='%231D4ED8' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}
.owr-hero__bullet--shield .owr-hero__ico{background-color:#FEF3C7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2 20 6v6c0 5-3.5 9.4-8 10-4.5-.6-8-5-8-10V6l8-4Z' stroke='%2392400E' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m8.5 12 2.2 2.2L15.8 9' stroke='%2392400E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.owr-hero__bullet--link .owr-hero__ico{background-color:#E0E7FF;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 13a5 5 0 0 1 0-7l1.2-1.2a5 5 0 0 1 7 7L17 13' stroke='%234338CA' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M14 11a5 5 0 0 1 0 7L12.8 19.2a5 5 0 1 1-7-7L7 11' stroke='%234338CA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.owr-hero__bullet--tg .owr-hero__ico{background-color:#E0F2FE;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M21.8 2.6 2.7 10.3c-1 .4-.9 1.8.2 2.1l4.8 1.5 1.8 5.5c.3.9 1.4 1.1 2 .4l2.7-3.1 5 3.7c.8.6 1.9.1 2.1-.9l2.7-15.6c.2-1.2-1-2.1-2.2-1.4Z' fill='%230F172A'/%3E%3C/svg%3E")}
.owr-hero__bullet--star .owr-hero__ico{background-color:#FFEDD5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m12 2 3 7 7 .6-5.3 4.6 1.7 7-6.4-3.8-6.4 3.8 1.7-7L2 9.6 9 9l3-7Z' stroke='%239A3412' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}

.owr-hero__right{display:flex;justify-content:flex-end}
.owr-hero__img{max-width: 520px;width:100%;height:auto;display:block}

/* ===== FILTERBAR ===== */
.owr-filterbar{
  display:flex;
  align-items:center;
  gap: 12px;
  background:#fff;
  border-radius: 999px;
  padding: 10px 10px;
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
  overflow:hidden;
}
.owr-filterbar__scroll{
  display:flex;
  align-items:center;
  gap: 10px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  flex:1 1 auto;
  padding: 2px 2px;
}
.owr-filterbar__scroll::-webkit-scrollbar{ display:none; }

.owr-chip{
  flex: 0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.10);
  background:#fff;
  color:#111827;
  text-decoration:none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
.owr-chip:hover{ background:#F8FAFC; border-color: rgba(17,24,39,.16); }
.owr-chip.is-active{
  background:#FFC400 !important;
  border-color:#FFC400 !important;
  color:#111827 !important;
  box-shadow:none !important;
}

.owr-countpill{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background:#F3F4F6;
  color:#111827;
  font-weight: 800;
  border:1px solid rgba(17,24,39,.10);
}

.owr-filterbar__nav{ display:flex; gap: 8px; flex:0 0 auto; }
.owr-fnav{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  color:#111827;
  font-weight: 900;
  cursor:pointer;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
.owr-fnav:hover{ background:#F3F4F6; }

/* ===== TOOLBAR (found + sort) ===== */
.owr-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 12px 2px 14px;
  color:#64748B;
  font-weight: 600;
}
.owr-toolbar b{ color:#111827; font-weight: 800; }

.owr-sort{
  display:flex;
  align-items:center;
  gap: 10px;
  background:#fff;
  border:1px solid rgba(17,24,39,.10);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
.owr-sort__label{ color:#64748B; font-weight:700; }
.owr-sort__select{
  border:none;
  background:transparent;
  font-weight: 800;
  color:#111827;
  outline:none;
  padding-right: 8px;
}

/* ===== GRID ===== */
.owr-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.owr-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.owr-card__shots{
  position:relative;
  display:block;
  text-decoration:none;
  color:inherit;
}
.owr-shots{
  display:grid;
  gap: 8px;
  padding: 12px;
  padding-top: 42px; /* space for badge/dots */
  background: #F8FAFC;
}
.owr-shots--1 .owr-shots{ grid-template-columns: 1fr; }
.owr-shots--2 .owr-shots{ grid-template-columns: repeat(2, 1fr); }
.owr-shots--3 .owr-shots{ grid-template-columns: repeat(3, 1fr); }
.owr-shot{
  border-radius: 14px;
  overflow:hidden;
  background:#E2E8F0;
  height: 210px;
}
.owr-shots--2 .owr-shot,
.owr-shots--3 .owr-shot{ height: 190px; }

.owr-shot img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.owr-placeholder{
  height: 220px;
  margin: 12px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#F1F5F9;
  color:#334155;
  font-weight: 800;
}

.owr-badge{
  position:absolute;
  top: 12px;
  left: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background:#FFF7DB;
  color:#111827;
  box-shadow: 0 10px 22px rgba(17,24,39,.10);
}

/* preset colors */
.owr-badge--work{ background:#FFDF73; color:#1F2937; }
.owr-badge--visa{ background:#CFE5FF; color:#0B3B7A; }
.owr-badge--ins{ background:#D7F5D4; color:#14532D; }
.owr-badge--support{ background:#E9D5FF; color:#4C1D95; }
.owr-badge--consult{ background:#E5E7EB; color:#111827; }

.owr-more{
  position:absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(15,23,42,.78);
  color:#fff;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

.owr-dots{
  position:absolute;
  top: 14px;
  right: 14px;
  display:flex;
  gap: 5px;
}
.owr-dots span{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.14);
}

.owr-card__body{ padding: 14px 16px 16px; }

.owr-card__text{
  color:#334155;
  line-height: 1.65;
  white-space: pre-line;
  display:-webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow:hidden;
  margin: 0 0 10px;
}

.owr-card__meta{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  color:#64748B;
  font-weight: 700;
  margin: 0 0 8px;
}

.owr-card__who strong{ color:#111827; }
.owr-card__city{ margin-left: 10px; color:#64748B; font-weight:700; }

.owr-card__vac{
  display:flex;
  align-items:center;
  gap: 8px;
  color:#64748B;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 12px;
}
.owr-card__vacname{ color:#111827; font-weight:800; }

.owr-card__cta{ margin-top: auto; }

.owr-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border-radius: 12px;
  padding: 12px 14px;
  background:#FFC400;
  color:#111827 !important;
  text-decoration:none;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17,24,39,.10);
}
.owr-btn:hover{ background:#E6AE00; color:#111827 !important; }

/* ===== PAGINATION ===== */
.owr-pages{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:center;
  margin: 18px 0 10px;
}
.owr-page{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border:1px solid rgba(17,24,39,.10);
  background:#fff;
  color:#111827;
  text-decoration:none;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
.owr-page:hover{ background:#F8FAFC; border-color: rgba(17,24,39,.16); }
.owr-page.is-active{ background:#FFC400; border-color:#FFC400; box-shadow:none; }
.owr-page--prev, .owr-page--next{ min-width: 44px; }

/* ===== FORM ===== */
.owr-form{
  margin-top: 18px;
  background:#fff;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
  padding: 20px;
}
.owr-form__head h2{ margin: 0 0 6px; }
.owr-form__note{ margin: 0 0 14px; color:#334155; }

.owr-form__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
.owr-panel{
  background:#F8FAFC;
  border:1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  padding: 16px;
}
.owr-row{ margin: 0 0 12px; }
.owr-row label{ display:block; font-weight: 900; margin: 0 0 6px; color:#111827; }
.owr-row input[type="text"],
.owr-row input[type="url"],
.owr-row select,
.owr-row textarea{
  width:100%;
  border:1px solid rgba(17,24,39,.12);
  border-radius: 12px;
  padding: 10px 12px;
  background:#fff;
}
.owr-row small{ display:block; margin-top: 6px; color:#64748B; }

.owr-check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-weight: 800;
  color:#111827;
}
.owr-check input{ margin-top: 3px; }

.owr-file{
  position:absolute !important;
  left:-9999px !important;
  width:1px;height:1px;
  opacity:0;
}

.owr-upload{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  cursor:pointer;
  font-weight: 900;
  color:#111827;
}
.owr-upload:hover{ background:#F8FAFC; }

.owr-files{
  margin-top: 8px;
  color:#64748B;
  font-weight: 700;
}

.owr-form__msg{ margin-top: 10px; font-weight: 900; }

/* ===== SEO ===== */
.owr-seo{
  margin-top: 18px;
  background:#fff;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
  padding: 18px;
}
.owr-seo h2{ margin: 0 0 10px; }
.owr-seo__box{ overflow:hidden; position:relative; }
.owr-seo__toggle{
  margin-top: 10px;
  border:none;
  background:transparent;
  color:#111827;
  font-weight: 900;
  cursor:pointer;
  text-decoration: underline;
}

.owr-empty{
  padding: 18px;
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
  color:#334155;
  font-weight: 800;
}

/* ===== ICONS (meta) ===== */
.owr-ico{
  display:inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -2px;
  background-repeat:no-repeat;
  background-position:center;
  background-size: 16px 16px;
}
.owr-ico-user{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 21a8 8 0 1 0-16 0' stroke='%2364748B' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 13a5 5 0 1 0-5-5 5 5 0 0 0 5 5Z' stroke='%2364748B' stroke-width='2'/%3E%3C/svg%3E");
}
.owr-ico-pin{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22s7-5.2 7-12a7 7 0 0 0-14 0c0 6.8 7 12 7 12Z' stroke='%2364748B' stroke-width='2'/%3E%3Cpath d='M12 13a3 3 0 1 0-3-3 3 3 0 0 0 3 3Z' stroke='%2364748B' stroke-width='2'/%3E%3C/svg%3E");
}
.owr-ico-link{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10 13a5 5 0 0 1 0-7l1.2-1.2a5 5 0 0 1 7 7L17 13' stroke='%2364748B' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M14 11a5 5 0 0 1 0 7L12.8 19.2a5 5 0 1 1-7-7L7 11' stroke='%2364748B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ===== LIGHTBOX ===== */
.owr-lightbox{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.82);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.owr-lightbox.is-open{ display:flex; }
.owr-lightbox__img{
  max-width: min(92vw, 980px);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  background:#fff;
}
.owr-lightbox__close{
  position:absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border:none;
  background: rgba(255,255,255,.14);
  color:#fff;
  font-size: 28px;
  cursor:pointer;
}
.owr-lightbox__prev, .owr-lightbox__next{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border:none;
  background: rgba(255,255,255,.14);
  color:#fff;
  font-size: 30px;
  cursor:pointer;
}
.owr-lightbox__prev{ left: 18px; }
.owr-lightbox__next{ right: 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
  .owr-hero__title{ font-size: 38px; }
  .owr-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px){
  .owr-hero{ padding: 30px 18px; }
  .owr-hero__wrap{ grid-template-columns: 1fr; }
  .owr-hero__title{ font-size: 32px; }
  .owr-filterbar__nav{ display:none; }
  .owr-toolbar{ flex-direction: column; align-items:flex-start; }
  .owr-grid{ grid-template-columns: 1fr; }
  .owr-form__grid{ grid-template-columns: 1fr; }
  .owr-shot{ height: 210px; }
}
/* ===== SEO block: fade + toggle ===== */
.owr-seo{ text-align:center; }
.owr-seo__box{
  position:relative;
  overflow:hidden;
  max-width: 860px;
  margin: 0 auto;
}
.owr-seo__box::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 72px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events:none;
  opacity: 1;
  transition: opacity .18s ease;
}
.owr-seo.is-open .owr-seo__box::after{ opacity: 0; }

.owr-seo__toggle{
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 10px;
  font-weight: 800;
  text-decoration: underline;
  color:#111827;
  cursor:pointer;
}

/* Hide filterbar arrows */
.owr-filterbar__nav{ display:none !important; }

/* ===== Mobile hint: categories are swipeable ===== */
.owr-filterbar{ position: relative; overflow: hidden; }

/* Scroll area: leave space so the next chip is partially visible */
.owr-filterbar__scroll{
  padding-right: 46px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.owr-filterbar__scroll > *{ scroll-snap-align: start; }

/* Right fade to indicate more content */
.owr-filterbar::after{
  content:"";
  position:absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
  opacity: 1;
  transition: opacity .18s ease;
}

/* Hide fade when user already scrolled to end (JS will toggle class) */
.owr-filterbar.is-end::after{ opacity: 0; }

/* “Swipe hint” label (mobile only) */
@media (max-width: 700px){
  .owr-filterbar::before{
    content:"Гортайте →";
    position:absolute;
    right: 12px;
    bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(17,24,39,.55);
    pointer-events:none;
    opacity: 1;
    transition: opacity .18s ease;
  }
  .owr-filterbar.is-hinted::before{ opacity: 0; }
}
/* ===== Lightbox buttons clickable ===== */
html.owr-noscroll, html.owr-noscroll body { overflow: hidden; }

.owr-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.72);
  z-index: 999999;
}
.owr-lightbox.is-open{ display:flex; }

.owr-lightbox__img{
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  display:block;
}

.owr-lightbox__close,
.owr-lightbox__prev,
.owr-lightbox__next{
  position: absolute;
  z-index: 1000000;
  pointer-events: auto;
}

.owr-lightbox__close{ top: 16px; right: 16px; }
.owr-lightbox__prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.owr-lightbox__next{ right: 16px; top: 50%; transform: translateY(-50%); }

/* Щоб карточка не зливалася з фоном */
.owr-card{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10); /* дуже тонка рамка */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06); /* м’яке відділення від фону */
}

.owr-card:hover{
  border-color: rgba(15, 23, 42, .16);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .10);
  transform: translateY(-1px);
}
/* FIX: текст на кнопці "Надіслати відгук" */
.owr-form .owr-btn,
.owr-form button.owr-btn,
#owrReviewForm .owr-btn {
  color: #fff !important;
}

/* якщо при наведенні змінюється стиль — фіксуємо також */
.owr-form .owr-btn:hover,
.owr-form .owr-btn:focus,
.owr-form .owr-btn:active {
  color: #fff !important;
}
/* FIX: вирівнювання checkbox + текст в ряд */
.owr-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.owr-check input[type="checkbox"]{
  margin: 0;
  transform: translateY(-1px); /* тонке підняття — можна 0 або -2px */
}
