.author-page { background: #f4f6f8; }

.author-layout {
  display: flex;
  align-items: flex-start;
  padding: 28px 0 80px;
}

.author-side {
  width: 34%;
  flex: 0 0 34%;
  position: sticky;
  top: calc(var(--header) + 16px);
}

.author-main {
  width: 66%;
  flex: 1;
  min-width: 0;
  padding-left: 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.author-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.author-head {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f6;
}

.author-head img {
  width: 128px;
  height: 76px;
  border-radius: 12px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e7ebf2;
  padding: 8px;
  box-sizing: border-box;
}

.author-id { min-width: 0; }

.author-head h1 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.author-rate {
  margin: 0;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.95rem;
}

.author-rate .fa-star { color: #f5b400; margin-right: 4px; }
.author-rate .dot { margin: 0 6px; color: #9ca3af; }

.author-marks {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #1f2937;
  font-weight: 600;
}

.author-marks .bar { width: 1px; height: 16px; background: #d1d5db; }

.tursab-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 8px;
  padding: 3px 10px 3px 10px;
  border-radius: 999px;
  border: 1px solid #d7e0ee;
  background: #f8fafc;
  color: #0b2f6b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.tursab-badge i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b2f6b;
  color: #f5b400;
  font-size: 0.7rem;
}

.tursab-badge b {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.tursab-badge.is-plain {
  background: #f8fafc;
  color: #334155;
}

html[data-theme="dark"] .author-marks .tursab-badge { color: #0b2f6b; background: #f8fafc; }
html[data-theme="dark"] .author-marks .tursab-badge i { color: #f5b400; background: #0b2f6b; }

.author-bio {
  margin: 0;
  color: #374151;
  line-height: 1.65;
}

.author-bio:empty { display: none; }

.reach-list {
  width: 100%;
  display: grid;
  gap: 8px;
}

.reach-list:empty { display: none; }

.reach-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.reach-row i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  background: #f4f7fb;
  color: #0b2f6b;
}

.reach-row span { display: grid; gap: 2px; min-width: 0; }
.reach-row small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.reach-row strong {
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.reach-row:hover { border-color: #cfd8e6; background: #f8fafc; }

.author-social { display: flex; flex-wrap: wrap; gap: 10px; }

.author-networks {
  width: 100%;
  display: grid;
  gap: 10px;
}

.author-networks[hidden] { display: none !important; }

.author-networks p {
  margin: 0;
  font-weight: 700;
  color: #111827;
}

.author-social a,
.author-social button {
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  color: #4b5563;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.author-social a:hover,
.author-social button:hover {
  background: #111827;
  color: #fff;
  transform: translateY(-2px);
}

.author-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: #374151;
  width: 100%;
}

.author-meta li { display: flex; align-items: flex-start; gap: 12px; }
.author-meta i { width: 18px; margin-top: 3px; color: #6b7280; }

.author-rule {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

.author-block .author-rule-short { display: none; }

.author-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  width: 100%;
}

.author-follow {
  border: 0;
  background: #171717;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.author-follow:hover { transform: translateY(-2px); }
.author-follow.is-on {
  background: #fff;
  color: #171717;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.follow-sheet {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.follow-sheet[hidden],
.follow-gate[hidden],
.follow-phone[hidden] { display: none !important; }

.follow-sheet p,
.follow-gate { margin: 0; color: #4b5563; }

.follow-sheet label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.follow-phone { display: grid; gap: 6px; }
.follow-phone input {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.follow-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.follow-gate a { color: #111827; font-weight: 700; }

.follow-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.follow-modal[hidden] { display: none !important; }

.follow-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.46);
  cursor: pointer;
}

.follow-modal-card {
  position: relative;
  width: min(400px, 100%);
  padding: 32px 28px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
  text-align: center;
  animation: follow-pop 0.22s ease;
}

.follow-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f8;
  color: #334155;
  cursor: pointer;
}

.follow-modal-x:hover { background: #e7edf4; color: #111827; }

.follow-modal-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b2f6b;
  color: #fff;
  font-size: 1.15rem;
}

.follow-modal-card h2 {
  margin: 0;
  color: #111827;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.follow-modal-card p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.55;
}

.follow-modal-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 22px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.follow-modal-go:hover { background: #0b2f6b; color: #fff; }

@keyframes follow-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.author-report {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.author-report:hover { color: #111827; }

.author-block {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.author-block h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.author-lead {
  margin: 8px 0 0;
  color: #6b7280;
  max-width: 640px;
}

.author-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.author-tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.author-tabs button:hover { background: rgba(0, 0, 0, 0.05); }

.author-tabs button.is-on {
  background: #171717;
  color: #fff;
}

.author-tabs button.is-on:hover { background: #171717; }

.author-tabs button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.offer-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 14px;
  color: #4b5563;
}

.offer-context[hidden] { display: none !important; }

.offer-context button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.offer-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.offer-pages[hidden] { display: none !important; }

.offer-pages a,
.offer-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.offer-pages .is-on {
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}

.offer-pages a:focus-visible,
.offer-context button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.author-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin: 0 0 22px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px 16px;
  background: #fff;
}

.author-search[hidden] { display: none !important; }
.author-search i { color: #6b7280; }
.author-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font: inherit;
  outline: none;
}

.stay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.stay-tile {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.stay-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.stay-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f6;
}

.stay-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stay-media img.logo-fit {
  object-fit: contain;
  padding: 28px;
  background: #fff;
  box-sizing: border-box;
}

.stay-tile:hover .stay-media img.logo-fit { transform: none; }

.review-row img.logo-fit {
  width: 72px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e7ebf2;
  padding: 4px;
  box-sizing: border-box;
  flex: 0 0 72px;
}

.stay-tile:hover img { transform: scale(1.06); }

.stay-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.stay-actions a,
.stay-actions button {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.stay-detail {
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
}

.stay-detail:hover { border-color: #111827; }

.stay-buy {
  color: #fff;
  background: #111827;
  border: 1px solid #111827;
}

.stay-buy:hover { background: #0b2f6b; border-color: #0b2f6b; }

.stay-wish {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12);
  transition: transform 0.2s ease, color 0.2s ease;
}

.stay-wish:hover { transform: scale(1.08); }
.stay-wish.is-on { color: #e11d48; }

.stay-copy {
  display: block;
  padding: 14px 14px 16px;
  color: inherit;
  text-decoration: none;
}

.stay-kicker {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 0.92rem;
}

.stay-copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stay-where {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stay-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.stay-foot strong { font-size: 1rem; }
.stay-foot span { color: #6b7280; font-size: 0.86rem; margin-right: auto; }

.author-more { margin: 18px 0 0; }

.review-list { display: grid; }

.review-row {
  display: flex;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid #f3f4f6;
}

.review-row:first-child { padding-top: 4px; }
.review-row:last-child { border-bottom: 0; padding-bottom: 0; }

.review-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 40px;
}

.review-stars { color: #f5b400; display: flex; gap: 2px; font-size: 0.85rem; }
.review-stars .fa-regular { color: #d1d5db; }
.review-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b2f6b;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  flex: 0 0 40px;
}
.review-form {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 0 0 8px;
}
.review-form[hidden] { display: none !important; }
.review-as,
.review-note { margin: 0; color: #6b7280; }
.review-note[hidden] { display: none !important; }
.review-note.is-ok { color: #166534; }
.review-note.is-bad { color: #be123c; }
.star-pick { display: flex; gap: 2px; }
.star-pick button {
  border: 0;
  background: transparent;
  color: #d1d5db;
  font-size: 1.35rem;
  line-height: 1;
  padding: 2px;
  cursor: pointer;
}
.star-pick button.is-on { color: #f5b400; }
.review-form textarea,
.review-form input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  background: #fff;
}
.review-form textarea { min-height: 120px; resize: vertical; }
.review-form textarea:focus,
.review-form input:focus {
  outline: 0;
  border-color: #0b2f6b;
  box-shadow: 0 0 0 3px rgba(11, 47, 107, 0.12);
}
.review-form .author-follow { justify-self: start; }
.review-form button:disabled { opacity: 0.6; cursor: default; transform: none; }
.review-row p { margin: 8px 0; color: #374151; overflow-wrap: anywhere; }
.review-row strong { display: block; }
.review-row time { color: #6b7280; font-size: 0.86rem; }

.author-address {
  margin: 0 0 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-weight: 600;
}

.author-address:empty { display: none; }
.author-address i { margin-top: 3px; color: #0b2f6b; }

.area-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.area-chip {
  background: #f3f4f6;
  color: #111827;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 600;
}

.office-map {
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f6;
  border: 1px solid #f3f4f6;
}

.office-map[hidden] { display: none !important; }

.office-map iframe { width: 100%; height: 100%; border: 0; }

.sub-card {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.sub-card h3 { margin: 0 0 4px; font-size: 1rem; }
.sub-card p { margin: 0; color: #6b7280; font-size: 0.9rem; }
.sub-card a { color: #111827; font-weight: 600; text-decoration: none; }
.sub-card a:hover { text-decoration: underline; }

.empty-offer { color: #6b7280; margin: 8px 0 0; }

.page-account .site-footer { display: block; }

.portrait {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.7rem;
}

.portrait-btn {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  margin: 0;
  cursor: pointer;
}

.portrait-btn .portrait {
  width: 96px;
  height: 96px;
  flex: none;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.portrait-photo[hidden] { display: none !important; }

.portrait-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-size: 0.72rem;
  box-shadow: 0 4px 10px rgba(17, 24, 39, 0.25);
}

.account-edit {
  width: 100%;
  display: grid;
  gap: 8px;
}

.account-edit .field-input { width: 100%; }

.account-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.account-pane[hidden] { display: none !important; }

.stay-actions { padding: 0 14px 16px; }

.account-security {
  max-width: 460px;
  display: grid;
  gap: 8px;
}

.account-security .btn-dark-pill { justify-self: start; margin-top: 8px; }
.account-security .author-lead { margin-bottom: 8px; }

.author-page .notice-banner { margin: 0; }

.agency-miss {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}

.agency-miss[hidden] { display: none !important; }

@media (max-width: 991.98px) {
  .author-layout { display: block; padding-top: 16px; }
  .author-side, .author-main { width: 100%; padding-left: 0; }
  .author-side { position: static; margin-bottom: 16px; }
  .author-main { gap: 16px; }
}

@media (max-width: 640px) {
  .stay-grid { grid-template-columns: 1fr; }
  .author-head { grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .author-head img { width: 104px; height: 64px; }
  .author-head h1 { font-size: 1.25rem; }
  .author-block { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .stay-tile, .stay-media img, .stay-wish, .author-social a, .author-social button { transition: none; }
}

.agency-page { background: #f4f6f8; }
.agency-page[hidden] { display: none !important; }

.agency-shell {
  display: grid;
  gap: 12px;
  padding: 14px 0 64px;
}

.agency-hero {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.07);
  overflow: hidden;
}

.agency-banner {
  position: relative;
  height: 196px;
  border-radius: 0;
  overflow: hidden;
  background: #102033 center/cover no-repeat;
}

.agency-banner.is-fallback {
  background-image:
    linear-gradient(180deg, rgba(8, 20, 44, 0.08), rgba(8, 20, 44, 0.28)),
    url("../images/banner/acenteler-poster.jpg");
}

.agency-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agency-banner img[hidden] { display: none !important; }

.agency-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 300px);
  column-gap: 28px;
  row-gap: 8px;
  align-items: start;
  margin: 0;
  padding: 0 28px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.agency-main {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 8px;
  align-items: start;
  min-width: 0;
}

.agency-logo {
  grid-column: 1;
  grid-row: 1;
  width: 120px;
  height: 120px;
  margin: -62px 0 0;
  padding: 10px;
  border: 1px solid #e7edf4;
  border-radius: 22px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}

.agency-identity {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  padding: 0 0 10px;
  text-align: left;
}

.agency-name-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.agency-name-line h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.agency-verified {
  display: inline-flex;
  color: #1d4ed8;
  font-size: 1.15rem;
  line-height: 1;
}

.agency-verified[hidden] { display: none !important; }

.agency-page .author-marks {
  flex: 1 0 100%;
  justify-content: flex-end;
  margin-top: 2px;
}
.agency-page .author-marks:empty { display: none; }
.agency-page .tursab-badge { margin-top: 0; }

.agency-facts {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

.agency-facts:empty { display: none; }
.agency-facts li { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.agency-facts i { color: #94a3b8; }

.agency-copy {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 2px;
}

.agency-side {
  display: grid;
  gap: 12px;
  align-content: start;
  align-self: start;
  min-width: 0;
  padding-top: 18px;
}

.agency-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  max-width: none;
  margin: 0;
}

.agency-followers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3e8ff;
  color: #7e22ce;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.agency-followers:empty { display: none; }
.agency-followers strong { color: #111827; font-weight: 800; }

.agency-reputation {
  flex: 1 0 100%;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.agency-reputation:empty { display: none; }

.agency-rep {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #e6edf5;
  border-radius: 999px;
  background: #fff;
  line-height: 1;
}

.agency-rep strong { font-size: 0.92rem; font-weight: 800; }
.agency-rep em {
  color: #64748b;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
}
.agency-rep.is-score i { color: #d97706; }
.agency-rep.is-reviews i { color: #0369a1; }

.agency-follow,
.agency-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.agency-follow {
  border: 0;
  background: #111827;
  color: #fff;
}

.agency-follow:hover { background: #0b2f6b; }
.agency-follow.is-on {
  background: #fff;
  color: #111827;
  box-shadow: inset 0 0 0 1.5px #d5deea;
}

.agency-message {
  border: 1px solid #d7dee8;
  background: #fff;
  color: #111827;
}

.agency-message:hover { border-color: #111827; background: #f8fafc; }

.agency-page .author-networks {
  display: flex;
  flex: 1 0 100%;
  justify-content: flex-end;
  width: auto;
}
.agency-page .author-networks p { display: none; }
.agency-page .author-social { gap: 8px; }

.agency-page .author-social a {
  width: 32px;
  height: 32px;
  background: #f3f5f8;
  color: #334155;
}

.agency-page .author-social a[aria-label="Facebook"] { background: #e8f1ff; color: #1877f2; }
.agency-page .author-social a[aria-label="Instagram"] { background: #fde8f3; color: #d62976; }
.agency-page .author-social a[aria-label="WhatsApp"] { background: #e7f8ef; color: #128c7e; }
.agency-page .author-social a[aria-label="LinkedIn"] { background: #e7f1fb; color: #0a66c2; }
.agency-page .author-social a[aria-label="X"] { background: #f3f4f6; color: #111827; }

.agency-page .author-social a:hover {
  background: #111827;
  color: #fff;
  transform: none;
}

.agency-page .follow-sheet,
.agency-page .follow-gate { margin-top: 14px; }

.agency-about-title {
  margin: 16px 0 6px;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.agency-about-title:has(+ .agency-about:empty) { display: none; }

.agency-about {
  margin: 0;
  max-width: none;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: left;
}

.agency-about:empty { display: none; }

.agency-about.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agency-about.is-open {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.agency-about p { margin: 0; }
.agency-about p:empty { display: none; }
.agency-about p + p { margin-top: 4px; }
.agency-about span[style] { color: inherit !important; }

.agency-about-toggle {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0b2f6b;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.agency-about-toggle[hidden] { display: none !important; }

.agency-card > .agency-foot { clear: both; }

.agency-copy:not(:has(.agency-about:not(:empty), .agency-board:not(:empty))) { display: none; }

.agency-page .follow-sheet,
.agency-page .follow-gate { margin-top: 0; }

.agency-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.agency-board:empty { display: none; }

.agency-board-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

div.agency-board-item { cursor: default; }

.agency-board-item i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f1ff;
  color: #1d4ed8;
  font-size: 0.84rem;
}

.agency-board-item i.fa-route,
.agency-board-item i.fa-location-dot { background: #e8f1ff; color: #1d4ed8; }
.agency-board-item i.fa-hotel { background: #e5f7f3; color: #0f766e; }
.agency-board-item i.fa-house { background: #fff1e6; color: #c2410c; }
.agency-board-item i.fa-envelope { background: #fff4ea; color: #c2410c; }
.agency-board-item i.fa-arrow-up-right-from-square { background: #f3e8ff; color: #7e22ce; }

.agency-board-item span { display: grid; gap: 2px; min-width: 0; }
.agency-board-item small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}
.agency-board-item strong {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
a.agency-board-item:hover strong,
button.agency-board-item:hover strong { color: #0b2f6b; }

.agency-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 0;
}

.agency-page .author-report {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}

.agency-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}

.agency-trust:empty { display: none; }
.agency-trust li { display: flex; align-items: center; gap: 8px; }
.agency-trust i { color: #0b2f6b; }

.agency-page .author-block { padding: 16px 18px; }

.agency-campaigns-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agency-campaigns-head a {
  color: #0b2f6b;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.agency-campaigns-head a:hover { color: #111827; }

.agency-camp-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.agency-camp-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.agency-camp-row:hover {
  border-color: #c5d4ea;
  background: #f8fafc;
  color: inherit;
}

.agency-camp-shot {
  width: 112px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff4ea;
  color: #c2410c;
}

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

.agency-camp-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.agency-camp-copy strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.agency-camp-copy em {
  color: #4b5563;
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agency-camp-copy small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.agency-camp-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.agency-camp-row:hover .agency-camp-go { background: #0b2f6b; }

@media (max-width: 700px) {
  .agency-camp-row { grid-template-columns: 84px minmax(0, 1fr); }
  .agency-camp-shot { width: 84px; height: 64px; }
  .agency-camp-go { grid-column: 1 / -1; justify-self: start; }
}

.agency-services-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.agency-page .author-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  background: #f1f4f8;
}

.agency-page .author-tabs button {
  padding: 9px 16px;
  border-radius: 999px;
  color: #4b5563;
  font-size: 0.92rem;
}

.agency-page .author-tabs button:hover { background: transparent; color: #111827; }

.agency-page .author-tabs { --tab-thumb: #111827; }

.agency-page .author-tabs button.is-on,
.agency-page .author-tabs button.is-on:hover,
.agency-page .author-tabs.is-armed button.is-on,
.agency-page .author-tabs.is-armed button.is-on:hover {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.agency-search-slot { flex: 1; display: flex; justify-content: flex-end; min-width: min(100%, 280px); }

.agency-page .author-search {
  width: min(100%, 340px);
  max-width: none;
  margin: 0;
  border-radius: 14px;
  background: #f8fafc;
}

.agency-page .offer-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.offer-list .empty-offer { grid-column: 1 / -1; margin: 8px 0 0; }

.agency-page .offer-row {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.agency-page .offer-row:hover {
  transform: translateY(-3px);
  border-color: #c5d4ea;
  background: #fff;
  box-shadow: 0 12px 24px rgba(11, 47, 107, 0.08);
}

.offer-row-media {
  position: relative;
  height: 132px;
  border-radius: 0;
  overflow: hidden;
  background: #eef2f6;
}

.offer-row-media a,
.offer-row-media img,
.offer-row-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.offer-row-media img { object-fit: cover; }

.agency-page .offer-row .stay-wish {
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  box-shadow: 0 4px 10px rgba(17, 24, 39, 0.12);
}

.offer-row-fallback {
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 1.3rem;
}

.offer-row-body { min-width: 0; flex: 1; padding: 10px 12px 0; }

.offer-row-badge {
  display: inline-flex;
  margin: 0 0 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e5f8ee;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
}

.offer-row-body h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-row-body h3 a { color: inherit; text-decoration: none; }
.offer-row-body h3 a:hover { color: #0b2f6b; }

.offer-row-where,
.offer-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 3px 0 0;
  color: #64748b;
  font-size: 0.82rem;
}

.offer-row-where i { color: #0f766e; }
.offer-row-meta i { color: #1d4ed8; }

.offer-row-meta span { display: inline-flex; align-items: center; gap: 6px; }

.offer-row-side {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px 8px;
  margin-top: auto;
  padding: 10px 12px 12px;
  text-align: left;
}

.offer-row-side strong {
  color: #0b2f6b;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.offer-row-side small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.offer-row-go,
.offer-row-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-height: 32px;
  margin-left: auto;
  padding: 0 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.offer-row-go {
  background: #0b2f6b;
  color: #fff;
  border: 0;
}

.offer-row-go:hover { background: #1d4ed8; }

.offer-row-buy {
  background: #eef4ff;
  color: #0b2f6b;
  border: 1px solid #d5e2f7;
}

.offer-row-buy:hover { background: #e0ebff; border-color: #0b2f6b; }

.agency-page .author-block h2 { font-size: 1.28rem; }
.agency-page #reviewHost { margin-top: 8px; }

@media (max-width: 1100px) {
  .agency-card { grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); column-gap: 18px; }
  .agency-main { grid-template-columns: 108px minmax(0, 1fr); }
  .agency-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agency-page .offer-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .agency-card {
    grid-template-columns: 1fr;
    padding: 0 18px 16px;
  }
  .agency-main { grid-template-columns: 108px minmax(0, 1fr); }
  .agency-logo { width: 108px; height: 108px; margin: -48px 0 0; }
  .agency-identity { padding-top: 8px; }
  .agency-side { padding-top: 4px; }
  .agency-actions,
  .agency-page .author-networks,
  .agency-page .author-marks,
  .agency-reputation { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .agency-banner { height: 180px; }
  .agency-hero { border-radius: 18px; }
  .agency-name-line h1 { font-size: 1.35rem; }
  .agency-page .offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .agency-shell { padding-top: 12px; }
  .agency-card { padding: 0 16px 16px; }
  .agency-main { grid-template-columns: 1fr; }
  .agency-logo,
  .agency-identity,
  .agency-copy { grid-column: 1; grid-row: auto; }
  .agency-logo { width: 104px; height: 104px; margin-top: -46px; }
  .agency-identity { align-self: start; padding: 8px 0 0; }
  .agency-board { grid-template-columns: 1fr; }
  .agency-identity { padding-left: 0; }
  .agency-page .offer-list { grid-template-columns: 1fr; }
  .agency-page .offer-row-media { height: 160px; }
  .agency-search-slot,
  .agency-page .author-search { width: 100%; }
}

html[data-theme="dark"] .agency-page { background: #0c1220; }

html[data-theme="dark"] .agency-hero,
html[data-theme="dark"] .agency-card,
html[data-theme="dark"] .offer-row,
html[data-theme="dark"] .agency-page .author-block,
html[data-theme="dark"] .agency-logo,
html[data-theme="dark"] .agency-message,
html[data-theme="dark"] .offer-row-buy,
html[data-theme="dark"] .agency-page .follow-sheet,
html[data-theme="dark"] .follow-modal-card {
  background: #162033;
  color: #e8edf5;
  border-color: #2c3b54;
}

html[data-theme="dark"] .follow-modal-card h2 { color: #e8edf5; }
html[data-theme="dark"] .follow-modal-card p { color: #a8b3c7; }
html[data-theme="dark"] .follow-modal-x { background: #243044; color: #e8edf5; }

html[data-theme="dark"] .agency-about-title,
html[data-theme="dark"] .agency-name-line h1,
html[data-theme="dark"] .offer-row-body h3,
html[data-theme="dark"] .agency-stat strong,
html[data-theme="dark"] .offer-row-side strong,
html[data-theme="dark"] .agency-contact-item strong { color: #e8edf5; }

html[data-theme="dark"] .agency-about,
html[data-theme="dark"] .agency-camp-copy em,
html[data-theme="dark"] .agency-facts,
html[data-theme="dark"] .agency-stat em,
html[data-theme="dark"] .agency-contact-item small,
html[data-theme="dark"] .offer-row-where,
html[data-theme="dark"] .offer-row-meta,
html[data-theme="dark"] .offer-row-side small,
html[data-theme="dark"] .agency-trust { color: #a8b3c7; }

html[data-theme="dark"] .agency-stats,
html[data-theme="dark"] .agency-contact,
html[data-theme="dark"] .offer-row { border-color: #2c3b54; }

html[data-theme="dark"] .agency-page .offer-row:hover {
  background: #1c2740;
  border-color: #3d5270;
}

html[data-theme="dark"] .agency-camp-row {
  background: #162033;
  border-color: #2c3b54;
}

html[data-theme="dark"] .agency-camp-row:hover {
  background: #1c2740;
  border-color: #3d5270;
}

html[data-theme="dark"] .agency-camp-copy strong { color: #e8edf5; }

html[data-theme="dark"] .agency-page .author-tabs,
html[data-theme="dark"] .agency-page .author-search {
  background: #101826;
  color: #d5deec;
  border-color: #2c3b54;
}

html[data-theme="dark"] .agency-board-item,
html[data-theme="dark"] .agency-rep {
  background: #162033;
  border-color: #2c3b54;
  color: #e8edf5;
}
html[data-theme="dark"] .agency-followers {
  background: #3b0764;
  color: #d8b4fe;
}
html[data-theme="dark"] .agency-followers strong,
html[data-theme="dark"] .agency-board-item strong,
html[data-theme="dark"] .agency-rep strong { color: #e8edf5; }
html[data-theme="dark"] .agency-board-item i.fa-route,
html[data-theme="dark"] .agency-board-item i.fa-location-dot { background: #172554; color: #93c5fd; }
html[data-theme="dark"] .agency-board-item i.fa-hotel { background: #042f2e; color: #5eead4; }
html[data-theme="dark"] .agency-board-item i.fa-house,
html[data-theme="dark"] .agency-board-item i.fa-envelope { background: #431407; color: #fdba74; }
html[data-theme="dark"] .agency-board-item i.fa-arrow-up-right-from-square { background: #3b0764; color: #d8b4fe; }
html[data-theme="dark"] .offer-row-badge { background: #052e16; color: #86efac; }
html[data-theme="dark"] .agency-page .author-social a[aria-label="Facebook"] { background: #172554; color: #93c5fd; }
html[data-theme="dark"] .agency-page .author-social a[aria-label="Instagram"] { background: #4a044e; color: #f9a8d4; }
html[data-theme="dark"] .agency-page .author-social a[aria-label="WhatsApp"] { background: #052e16; color: #86efac; }
html[data-theme="dark"] .agency-page .author-social a[aria-label="LinkedIn"] { background: #082f49; color: #7dd3fc; }
html[data-theme="dark"] .agency-page .author-social a[aria-label="X"] { background: #1f2937; color: #e5e7eb; }

html[data-theme="dark"] .agency-page .author-tabs button { color: #c5d0e2; }

html[data-theme="dark"] .agency-page .author-tabs { --tab-thumb: #e8edf5; }

html[data-theme="dark"] .agency-page .author-tabs button.is-on,
html[data-theme="dark"] .agency-page .author-tabs button.is-on:hover,
html[data-theme="dark"] .agency-page .author-tabs.is-armed button.is-on,
html[data-theme="dark"] .agency-page .author-tabs.is-armed button.is-on:hover {
  background: transparent;
  color: #111827;
}

html[data-theme="dark"] .agency-follow.is-on {
  background: #e8edf5;
  color: #111827;
}

html[data-theme="dark"] .offer-row-side strong { color: #93c5fd; }

html[data-theme="dark"] .offer-row-go {
  background: #1d4ed8;
  color: #fff;
}

html[data-theme="dark"] .offer-row-go:hover { background: #3b82f6; }

html[data-theme="dark"] .offer-row-buy {
  background: #172554;
  color: #dbe7ff;
  border-color: #1e3a8a;
}

html[data-theme="dark"] .agency-message:hover,
html[data-theme="dark"] .offer-row-buy:hover { background: #1c2740; }

html[data-theme="dark"] .offer-row-body h3 a:hover,
html[data-theme="dark"] .agency-contact-item:hover strong,
html[data-theme="dark"] .agency-about-toggle,
html[data-theme="dark"] .agency-trust i { color: #9eb6e8; }

@media (prefers-reduced-motion: reduce) {
  .agency-follow, .agency-message, .offer-row-go, .offer-row-buy, .agency-page .author-social a,
  .offer-row { transition: none; }
}
