/* Editorial page headers shared by the Hub's working rooms. */
body[data-team] #affiliate-page-hero { display: none; }
body[data-team="affiliate"] #affiliate-page-hero { display: flex; }
body[data-team]:not([data-team="affiliate"]) #app #affiliate-page-hero { display: none !important; }

body[data-team] {
  --page-hero-ink: #0d3036;
  --page-hero-accent: #9fe0ce;
  --page-hero-copy: #d8eae6;
}
body[data-team="ads"],
body[data-team="design"],
body[data-team="merchandise"] { --page-hero-accent: #f2c5a7; }
body[data-team="kol"],
body[data-team="tanya"],
body[data-team="catatan"] { --page-hero-accent: #f0d39b; }
body[data-team="natasyalimano"],
body[data-team="konten"] { --page-hero-accent: #eec2cc; }

body[data-team] :is(
  #affiliate-page-hero,
  #team-konten .konten-hero,
  #team-design .design-ops-card,
  #team-merchandise .merch-hero,
  #team-board .board-hero,
  #team-socialviews .social-hero,
  #team-tanya .tanya-hero,
  #team-catatan .tanya-hero,
  #team-orang .orang-hero,
  #team-vps .vps-hero,
  #team-iphone .iphone-hero
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  width: 100%;
  min-height: 190px;
  margin: 12px 0 20px;
  padding: clamp(25px, 4vw, 46px);
  border: 1px solid #24565b;
  border-radius: 24px;
  background: radial-gradient(circle at 88% 8%, #26676a 0%, transparent 35%), var(--page-hero-ink) !important;
  box-shadow: none;
  color: #fffaf1 !important;
}
body[data-team] :is(
  #affiliate-page-hero,
  #team-konten .konten-hero,
  #team-design .design-ops-card,
  #team-merchandise .merch-hero,
  #team-board .board-hero,
  #team-socialviews .social-hero,
  #team-tanya .tanya-hero,
  #team-catatan .tanya-hero,
  #team-orang .orang-hero,
  #team-vps .vps-hero,
  #team-iphone .iphone-hero
)::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 270px;
  height: 270px;
  top: -174px;
  right: 8%;
  border: 38px solid var(--page-hero-accent);
  border-radius: 50%;
  opacity: .18;
  pointer-events: none;
}
body[data-team] :is(
  #affiliate-page-hero,
  #team-konten .konten-hero,
  #team-design .design-ops-card,
  #team-merchandise .merch-hero,
  #team-board .board-hero,
  #team-socialviews .social-hero,
  #team-tanya .tanya-hero,
  #team-catatan .tanya-hero,
  #team-orang .orang-hero,
  #team-vps .vps-hero,
  #team-iphone .iphone-hero
) > * { position: relative; z-index: 1; }

html body[data-team] :is(
  #affiliate-page-hero,
  #team-konten .konten-hero,
  #team-design .design-ops-card,
  #team-merchandise .merch-hero,
  #team-board .board-hero,
  #team-socialviews .social-hero,
  #team-tanya .tanya-hero,
  #team-catatan .tanya-hero,
  #team-orang .orang-hero,
  #team-vps .vps-hero,
  #team-iphone .iphone-hero
) :is(h2, p) { color: #fffaf1 !important; }

body[data-team] :is(
  #affiliate-page-hero,
  #team-konten .konten-hero,
  #team-design .design-ops-card,
  #team-merchandise .merch-hero,
  #team-board .board-hero,
  #team-socialviews .social-hero,
  #team-tanya .tanya-hero,
  #team-catatan .tanya-hero,
  #team-orang .orang-hero,
  #team-vps .vps-hero,
  #team-iphone .iphone-hero
) h2 {
  margin: 7px 0 10px;
  max-width: 800px;
  font: 800 clamp(2.15rem, 4.5vw, 4.25rem)/1.04 "Bricolage Grotesque", sans-serif;
  letter-spacing: -.055em;
}
body[data-team] :is(
  #affiliate-page-hero,
  #team-konten .konten-hero,
  #team-design .design-ops-card,
  #team-merchandise .merch-hero,
  #team-board .board-hero,
  #team-socialviews .social-hero,
  #team-tanya .tanya-hero,
  #team-catatan .tanya-hero,
  #team-orang .orang-hero,
  #team-vps .vps-hero,
  #team-iphone .iphone-hero
) p:last-of-type {
  max-width: 620px;
  margin: 0;
  color: var(--page-hero-copy) !important;
  line-height: 1.5;
}
html body[data-team] :is(
  #affiliate-page-hero .eyebrow,
  #team-konten .konten-kicker,
  #team-design .design-kicker,
  #team-merchandise .merch-kicker,
  #team-board .board-hero .eyebrow,
  #team-socialviews .social-hero .eyebrow,
  #team-tanya .tanya-kicker,
  #team-catatan .tanya-kicker,
  #team-orang .orang-kicker,
  #team-vps .vps-kicker,
  #team-iphone .vps-kicker
) {
  color: var(--page-hero-accent) !important;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
#affiliate-page-hero h2 em {
  color: var(--page-hero-accent);
  font-family: "Newsreader", serif;
  font-weight: 500;
}
body[data-team] :is(.konten-hero, .social-hero, .merch-hero, .board-hero, .vps-hero) :is(a, button) {
  position: relative;
  z-index: 2;
}
body[data-team] .konten-hero .konten-sheet-pill,
body[data-team] .social-hero a,
body[data-team] .vps-hero button {
  border: 1px solid #88bcb6 !important;
  border-radius: 10px;
  background: #fffaf1 !important;
  color: #17494a !important;
  text-decoration: none;
}
body[data-team="design"] #team-design .design-ops-card { display: block !important; }
body[data-team="design"] .design-ops-card > p:not(.design-kicker) { margin-bottom: 22px; }
body[data-team="design"] .design-ops-nav { position: relative; z-index: 2; }
body[data-team="design"] .design-ops-nav :is(button, a) { border-color: #b5d3cf; background: #fffaf1; color: #17494a; }
body[data-team="design"] .design-ops-nav button[aria-pressed="true"] { background: var(--page-hero-accent); color: #173438; }

@media (max-width: 650px) {
  body[data-team] :is(#affiliate-page-hero, #team-konten .konten-hero, #team-design .design-ops-card, #team-merchandise .merch-hero, #team-board .board-hero, #team-socialviews .social-hero, #team-tanya .tanya-hero, #team-catatan .tanya-hero, #team-orang .orang-hero, #team-vps .vps-hero, #team-iphone .iphone-hero) {
    min-height: 0;
    padding: 25px 21px;
    border-radius: 20px;
  }
  body[data-team] :is(#affiliate-page-hero, #team-konten .konten-hero, #team-design .design-ops-card, #team-merchandise .merch-hero, #team-board .board-hero, #team-socialviews .social-hero, #team-tanya .tanya-hero, #team-catatan .tanya-hero, #team-orang .orang-hero, #team-vps .vps-hero, #team-iphone .iphone-hero) h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}
