/* ==================================================
   DESKTOP / DEFAULT
   ================================================== */
.ok-feed-tools { width: 100%; min-width: 0; margin-bottom: 14px; }
.ok-feed-tools form {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.ok-feed-tools input[type="search"] {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}
.ok-feed-tools select { width: 100%; min-width: 0; }
.ok-feed-tools input,
.ok-feed-tools select,
.ok-feed-tools button {
  min-height: 46px;
  border: 1px solid #a2a9b1;
  border-radius: 11px;
  background: #fff;
  padding: 0 12px;
}
.ok-feed-tools button {
  min-width: 94px;
  background: var(--ok-blue);
  color: #fff;
  border-color: var(--ok-blue);
  font-weight: 700;
}

.ok-feed { width: 100%; min-width: 0; display: grid; gap: 0; }
.ok-feed-card { min-width: 0; border: 0; border-bottom: 1px solid #dcdfe3; border-radius: 0; background: transparent; overflow: visible; }
.ok-feed-open { display: block; width: 100%; min-width: 0; border: 0; background: transparent; text-align: left; padding: 7px 2px; }
.ok-feed-title-row { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; row-gap: 1px; }
.ok-feed-open strong { font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.ok-feed-category { margin-left: 8px; font-size: 12px; line-height: 1.3; font-weight: 400; color: var(--ok-muted); overflow-wrap: anywhere; }
.ok-feed-open span { font-size: 12px; color: var(--ok-muted); }
.ok-feed-metrics { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; }

.ok-pagination { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; }
.ok-pagination a { min-width: 0; overflow-wrap: anywhere; }

.ok-detail { min-width: 0; overflow-wrap: anywhere; }
.ok-detail-photo { display: block; border: 0; background: transparent; padding: 0; margin: 0 auto 16px; max-width: 100%; }
.ok-detail-photo img { display: block; max-width: 100%; height: auto; margin: auto; border-radius: 10px; }
.ok-detail h2 { overflow-wrap: anywhere; }
.ok-kicker,
.ok-meta { color: var(--ok-muted); font-size: 13px; }
.ok-chip { display: inline-block; max-width: 100%; padding: 6px 9px; border-radius: 999px; background: #f0f4ff; color: #274f9d; margin: 3px; font-size: 13px; overflow-wrap: anywhere; }
.ok-detail section { border-top: 1px solid #eaecf0; margin-top: 18px; padding-top: 14px; }
.ok-detail li { margin: 8px 0; overflow-wrap: anywhere; }
.ok-wishes li { font-weight: 600; }

.ok-reaction-list { display: grid; gap: 8px; }
.ok-reaction-list button { width: 100%; min-width: 0; border: 1px solid #c8ccd1; background: #fff; border-radius: 11px; padding: 11px; text-align: left; color: #202122; white-space: normal; overflow-wrap: anywhere; }
.ok-single { padding-top: 8px; }

/* ==================================================
   MAX-WIDTH: 600PX
   ================================================== */
@media (max-width: 600px) {
  .ok-feed-tools form { grid-template-columns: minmax(0, 1fr) auto; }
  .ok-feed-tools input,
  .ok-feed-tools select,
  .ok-feed-tools button { min-height: 48px; }
}

/* ==================================================
   MAX-WIDTH: 430PX
   ================================================== */
@media (max-width: 430px) {
  .ok-feed-tools form { gap: 7px; }
  .ok-feed-tools button { min-width: 88px; padding-left: 11px; padding-right: 11px; }
  .ok-feed-open { padding: 6px 2px; }
}

/* ==================================================
   MAX-WIDTH: 390PX
   ================================================== */
@media (max-width: 390px) {
  .ok-feed-tools form { grid-template-columns: minmax(0, 1fr) 84px; }
  .ok-feed-tools input,
  .ok-feed-tools select,
  .ok-feed-tools button { padding-left: 10px; padding-right: 10px; }
  .ok-feed-tools button { min-width: 0; }
  .ok-feed-metrics { gap: 7px 10px; }
}

/* ==================================================
   FEED / DETAIL SVG METRIC ICONS
   ================================================== */
.ok-feed-metrics .ok-metric,
.ok-detail-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ok-metric-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ok-icon-ok { width: 18px; height: 18px; flex-basis: 18px; }
.ok-icon-ok circle { fill: none; }
.ok-metric-photo { gap: 0; }

/* ==================================================
   MAX-WIDTH: 600PX — SVG METRICS
   ================================================== */
@media (max-width: 600px) {
  .ok-metric-icon { width: 17px; height: 17px; }
}

/* ==================================================
   MAX-WIDTH: 430PX — SVG METRICS
   ================================================== */
@media (max-width: 430px) {
  .ok-feed-metrics .ok-metric { gap: 4px; }
}

/* ==================================================
   MAX-WIDTH: 390PX — SVG METRICS
   ================================================== */
@media (max-width: 390px) {
  .ok-metric-icon { width: 16px; height: 16px; flex-basis: 16px; }
}
.ok-feed-title {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ok-feed-category {
    color: #7b7f85;
    font-weight: 400;
}

/* ==================================================
   DETAIL LISTS — COMPACT LEFT INDENT
   ================================================== */
.ok-detail ul,
.ok-detail ol {
  margin-left: 0;
  padding-left: 24px;
}

.ok-detail li {
  padding-left: 0;
}

@media (max-width: 600px) {
  .ok-detail ul,
  .ok-detail ol {
    padding-left: 22px;
  }
}

@media (max-width: 390px) {
  .ok-detail ul,
  .ok-detail ol {
    padding-left: 20px;
  }
}

/* ==================================================
   KARMA WISHES HEADING — BLUE / WHITE
   ================================================== */
.ok-detail .ok-wishes-heading {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 18px 0 12px;
  padding: 11px 12px;
  background: var(--ok-blue);
  color: #fff;
  border-radius: 0px;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .ok-detail .ok-wishes-heading {
    padding: 10px 11px;
    border-radius: 9px;
  }
}

