/* ==========================================================================
   "What's your pet up to?" composer card + hero banner + login CTA.
   Markup: includes/widgets/composer.php, includes/widgets/hero-banner.php
   ========================================================================== */
.pb-composer { padding: 16px; }
.pb-composer__top { display: flex; align-items: center; gap: 14px; }
.pb-composer__av { width: 46px; height: 46px; font-size: 15px; font-weight: 800; }
.pb-composer__field {
  flex: 1; min-width: 0; height: 52px; padding: 0 8px 0 20px; display: flex; align-items: center; gap: 8px;
  border-radius: 28px; background: #f4f4f7; border: 1px solid var(--pb-border-2);
  font-size: 16px; color: var(--pb-text-faint); text-align: left; cursor: text;
}
.pb-composer__field:hover { color: var(--pb-text-muted); }
.pb-composer__field span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-composer__field i { font-size: 22px; color: var(--pb-orange); padding-right: 8px; }
.pb-composer__feel {
  display: none; flex: none; width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: var(--pb-surface-warm); align-items: center; justify-content: center;
}
.pb-composer__feel i { font-size: 22px; color: var(--pb-orange); }
.pb-composer__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pb-composer__btn {
  height: 44px; padding: 0 6px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--pb-border-2); border-radius: 24px; background: #fff; min-width: 0; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--pb-text);
}
.pb-composer__btn:hover { background: #fcfbf8; color: var(--pb-text); }
.pb-composer__ico { flex: none; width: 28px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.pb-composer__ico--video { background: var(--pb-red-soft); color: var(--pb-red); }
.pb-composer__ico--photo { background: var(--pb-green-soft); color: var(--pb-green); }
.pb-composer__ico--feel  { background: var(--pb-surface-warm); color: var(--pb-orange); border-radius: 50%; width: 28px; height: 28px; }
.pb-composer__ico i { font-size: 14px; }
.pb-composer__more { display: none; width: 40px; height: 40px; border: 0; background: none; color: #2b2b30; font-size: 18px; }
.pb-composer__label-long { display: none; }

@media (min-width: 900px) {
  .pb-composer__feel { display: flex; }
  .pb-composer__field i { display: none; }
  .pb-composer__actions { grid-template-columns: repeat(3, minmax(0, 1fr)) 40px; gap: 16px; padding-left: 60px; height: 48px; margin-top: 16px; }
  .pb-composer__btn { height: 48px; gap: 12px; font-size: 16px; }
  .pb-composer__more { display: block; justify-self: end; }
  .pb-composer__label-long { display: inline; }
  .pb-composer__label-short { display: none; }
}

/* Logged-out CTA */
.pb-cta-login {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 18px 20px; border-radius: var(--pb-r-lg); background: var(--pb-text); color: #fff;
}
.pb-cta-login strong { display: block; font-family: var(--pb-font-head); font-weight: 800; font-size: 17px; }
.pb-cta-login span { font-size: 13.5px; color: rgba(255, 255, 255, .6); }

/* Hero banner ("Share the moments that make life paw-some!") */
.pb-hero {
  position: relative; overflow: hidden; height: 150px; border-radius: var(--pb-r-lg);
  background: linear-gradient(90deg, #fff3d9 0%, #fff6e0 45%, #feda85 100%);
}
.pb-hero__blob { position: absolute; background: #fde7b4; }
.pb-hero__blob--1 { left: 30px; top: 6px; width: 56px; height: 56px; border-radius: 50%; }
.pb-hero__blob--2 { left: 12px; top: 40px; width: 40px; height: 22px; border-radius: 12px; transform: rotate(-35deg); }
.pb-hero__blob--3 { left: -14px; bottom: -26px; width: 96px; height: 72px; border-radius: 50%; background: #feeab8; }
.pb-hero__paw { position: absolute; left: 30px; bottom: 24px; color: #fff; font-size: 16px; opacity: .9; }
.pb-hero__img {
  position: absolute; right: 0; bottom: 0; height: auto; max-height: 100%; width: 56%; object-fit: contain; object-position: right bottom;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%); mask-image: linear-gradient(to right, transparent 0, #000 8%);
}
.pb-hero h1 {
  position: relative; padding: 22px 0 0 22px; font-weight: 900; font-size: 25px; line-height: 1.1; letter-spacing: -.01em; color: #141414;
}
.pb-hero__script {
  display: inline-block; font-family: var(--pb-font-script); font-weight: 700; font-size: 30px; color: var(--pb-orange-2);
  transform: rotate(-5deg) translateY(-4px);
}
@media (min-width: 900px) {
  .pb-hero { height: 182px; }
  .pb-hero__img { width: 50%; }
  .pb-hero h1 { padding: 30px 0 0 90px; font-size: 34px; }
  .pb-hero__script { font-size: 40px; }
}

/* ── Phones: slimmer composer + hero ────────────────────────────────────── */
@media (max-width: 899px) {
  .pb-composer { padding: 10px 12px; border-radius: 14px; }
  .pb-composer__top { gap: 10px; }
  .pb-composer__av { width: 36px; height: 36px; font-size: 13px; }
  .pb-composer__field { height: 40px; padding: 0 6px 0 14px; font-size: 14.5px; border-radius: 22px; }
  .pb-composer__field i { font-size: 17px; padding-right: 6px; }
  .pb-composer__actions { gap: 6px; margin-top: 8px; }
  .pb-composer__btn { height: 34px; gap: 6px; font-size: 13px; border-radius: 18px; }
  .pb-composer__ico { width: 22px; height: 20px; border-radius: 6px; }
  .pb-composer__ico--feel { width: 22px; height: 22px; }
  .pb-composer__ico i { font-size: 11.5px; }
  .pb-cta-login { padding: 12px 14px; gap: 10px; border-radius: 14px; }
  .pb-cta-login strong { font-size: 15px; }
  .pb-cta-login span { font-size: 12.5px; }

  .pb-hero { height: 104px; border-radius: 14px; }
  .pb-hero h1 { padding: 14px 0 0 16px; font-size: 19px; }
  .pb-hero__script { font-size: 23px; }
  .pb-hero__paw { font-size: 13px; left: 22px; bottom: 14px; }
}
