:root {
  --ibc-standard-ink: #0d204a;
  --ibc-standard-muted: #61708c;
  --ibc-standard-blue: #154ad8;
  --ibc-standard-blue-deep: #082b91;
  --ibc-standard-cyan: #6bd9ff;
  --ibc-standard-gold: #e2b85f;
  --ibc-standard-line: rgba(74, 100, 165, 0.2);
  --ibc-standard-surface: rgba(255, 255, 255, 0.94);
  --ibc-standard-shadow:
    0 28px 68px rgba(25, 45, 99, 0.14),
    0 8px 22px rgba(42, 72, 145, 0.09);
}

.ibc-dog-standard,
.ibc-dog-standard * {
  box-sizing: border-box;
}

.ibc-dog-standard {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(104px, 11vw, 138px) 0 72px;
  color: var(--ibc-standard-ink);
  font-family: inherit;
}

.ibc-dog-standard button,
.ibc-dog-standard input {
  font: inherit;
}

.ibc-dog-standard .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ibc-standard-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 350px;
  padding: clamp(32px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(151, 178, 241, 0.28);
  border-radius: clamp(30px, 5vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(107, 217, 255, 0.28), transparent 28%),
    radial-gradient(circle at 65% 118%, rgba(80, 119, 255, 0.45), transparent 42%),
    linear-gradient(135deg, #071c55 0%, #0d3cb4 54%, #1465dd 100%);
  box-shadow:
    0 42px 92px rgba(19, 61, 166, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -24px 54px rgba(2, 18, 73, 0.23);
}

.ibc-standard-hero::before,
.ibc-standard-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.ibc-standard-hero::before {
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 255, 255, 0.06) 47% 48%, transparent 48%),
    linear-gradient(25deg, transparent 0 73%, rgba(255, 255, 255, 0.05) 73% 74%, transparent 74%);
  background-size: 92px 92px, 132px 132px;
}

.ibc-standard-hero::after {
  width: 270px;
  height: 270px;
  right: -72px;
  bottom: -104px;
  border: 44px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.ibc-standard-hero__copy {
  max-width: 710px;
}

.ibc-standard-kicker,
.ibc-standard-eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ibc-standard-kicker {
  color: #9ceaff;
}

.ibc-standard-eyebrow {
  color: var(--ibc-standard-blue);
}

.ibc-standard-hero h1,
.ibc-standard-profile h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.9rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.ibc-standard-hero h1 {
  color: #fff !important;
  text-shadow: 0 12px 34px rgba(0, 18, 72, 0.32);
}

.ibc-standard-profile h1 {
  color: var(--ibc-standard-ink) !important;
}

.ibc-standard-lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.72;
}

.ibc-standard-hero .ibc-standard-lead {
  color: rgba(255, 255, 255, 0.82);
}

.ibc-standard-source {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  padding: 10px 15px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(3, 23, 78, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ibc-standard-source__mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 13px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(145deg, #2378f1, #0b339c);
  box-shadow: 0 8px 18px rgba(4, 25, 89, 0.32);
}

.ibc-standard-source strong,
.ibc-standard-source small {
  display: block;
}

.ibc-standard-source strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.ibc-standard-source small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.74rem;
}

.ibc-standard-hero__emblem {
  display: grid;
  width: clamp(145px, 18vw, 210px);
  aspect-ratio: 1;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 44%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 30px 60px rgba(3, 22, 82, 0.34),
    inset 10px 10px 22px rgba(255, 255, 255, 0.14),
    inset -14px -14px 30px rgba(3, 24, 91, 0.22);
  transform: rotate(6deg);
}

.ibc-standard-hero__emblem span {
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.ibc-standard-hero__emblem small {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ibc-standard-directory {
  position: relative;
  margin-top: 30px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--ibc-standard-line);
  border-radius: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.94));
  box-shadow: var(--ibc-standard-shadow);
}

.ibc-standard-directory__head {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.ibc-standard-directory h2,
.ibc-standard-section h2,
.ibc-standard-composer h2 {
  margin: 0;
  color: var(--ibc-standard-ink);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 880;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ibc-standard-count {
  margin: 9px 0 0;
  color: var(--ibc-standard-muted);
  font-size: 0.94rem;
}

.ibc-standard-search {
  position: relative;
  display: block;
  width: min(100%, 360px);
  flex: 0 0 min(360px, 42%);
}

.ibc-standard-search__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  color: var(--ibc-standard-blue);
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-52%);
}

.ibc-standard-search input {
  width: 100%;
  min-height: 52px;
  padding: 13px 18px 13px 50px;
  border: 1px solid rgba(97, 117, 169, 0.25);
  border-radius: 18px;
  outline: none;
  color: var(--ibc-standard-ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 2px 5px rgba(37, 60, 121, 0.06),
    0 10px 20px rgba(29, 62, 139, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ibc-standard-search input:focus {
  border-color: var(--ibc-standard-blue);
  box-shadow: 0 0 0 4px rgba(21, 74, 216, 0.13);
}

.ibc-standard-search input:disabled {
  cursor: wait;
  opacity: 0.58;
}

.ibc-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ibc-standard-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(88, 113, 177, 0.22);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 38px rgba(30, 58, 125, 0.1),
    inset 0 1px 0 #fff;
  transition: transform 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.ibc-standard-card:hover,
.ibc-standard-card:focus-within {
  border-color: rgba(21, 74, 216, 0.56);
  box-shadow:
    0 28px 52px rgba(26, 61, 148, 0.17),
    0 0 0 1px rgba(21, 74, 216, 0.08);
  transform: translateY(-5px);
}

.ibc-standard-card__link {
  display: flex;
  width: 100%;
  flex-direction: column;
  color: inherit !important;
  text-decoration: none !important;
}

.ibc-standard-card__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(108, 217, 255, 0.6), transparent 30%),
    linear-gradient(145deg, #dce9ff, #edf3ff 54%, #c9dcff);
}

.ibc-standard-card__visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 22, 63, 0.26));
}

.ibc-standard-card__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 240ms ease, transform 360ms ease;
}

.ibc-standard-card__visual img.is-loaded {
  opacity: 1;
}

.ibc-standard-card:hover .ibc-standard-card__visual img {
  transform: scale(1.055);
}

.ibc-standard-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 20px;
  text-align: center;
  color: rgba(13, 43, 126, 0.67);
  font-size: 0.82rem;
  font-weight: 750;
}

.ibc-standard-card__badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 11px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(5, 30, 99, 0.68);
  box-shadow: 0 8px 20px rgba(3, 17, 59, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ibc-standard-card__body {
  display: flex;
  min-height: 185px;
  flex: 1;
  flex-direction: column;
  padding: 21px 21px 18px;
}

.ibc-standard-card__body h3 {
  margin: 0;
  color: var(--ibc-standard-ink);
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.022em;
}

.ibc-standard-card__body p {
  display: -webkit-box;
  margin: 10px 0 18px;
  overflow: hidden;
  color: var(--ibc-standard-muted);
  font-size: 0.91rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ibc-standard-card__action {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(93, 116, 172, 0.15);
  color: var(--ibc-standard-blue);
  font-size: 0.84rem;
  font-weight: 850;
}

.ibc-standard-card__action span:last-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #1d63ea, #103cad);
  box-shadow: 0 8px 16px rgba(20, 74, 216, 0.24);
}

.ibc-standard-status,
.ibc-standard-empty,
.ibc-standard-error {
  min-height: 210px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px dashed rgba(72, 100, 169, 0.28);
  border-radius: 24px;
  color: var(--ibc-standard-muted);
  text-align: center;
  background: rgba(247, 249, 255, 0.75);
}

.ibc-standard-status {
  display: flex;
}

.ibc-standard-status[hidden],
.ibc-standard-empty[hidden],
.ibc-standard-error[hidden] {
  display: none;
}

.ibc-standard-empty:not([hidden]),
.ibc-standard-error:not([hidden]) {
  display: flex;
}

.ibc-standard-empty > span {
  color: var(--ibc-standard-blue);
  font-size: 2.8rem;
}

.ibc-standard-empty h3,
.ibc-standard-empty p,
.ibc-standard-error strong,
.ibc-standard-error span {
  margin: 0;
}

.ibc-standard-empty h3,
.ibc-standard-error strong {
  color: var(--ibc-standard-ink);
  font-size: 1.15rem;
}

.ibc-standard-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(21, 74, 216, 0.17);
  border-top-color: var(--ibc-standard-blue);
  border-radius: 50%;
  animation: ibc-standard-spin 780ms linear infinite;
}

@keyframes ibc-standard-spin {
  to { transform: rotate(360deg); }
}

.ibc-standard-error button,
.ibc-standard-error a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  padding: 10px 18px;
  border: 1px solid rgba(21, 74, 216, 0.3);
  border-radius: 14px;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  background: linear-gradient(145deg, #1c60e9, #0d38a9);
  cursor: pointer;
}

.ibc-standard-error__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ibc-standard-backbar {
  margin-bottom: 18px;
}

.ibc-standard-back {
  display: inline-flex;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  padding: 11px 17px;
  border: 1px solid rgba(77, 104, 172, 0.24);
  border-radius: 16px;
  color: var(--ibc-standard-ink);
  font-weight: 820;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(35, 59, 119, 0.09);
  cursor: pointer;
}

.ibc-standard-back span:first-child {
  color: var(--ibc-standard-blue);
  font-size: 1.35rem;
}

.ibc-standard-status--detail {
  min-height: 420px;
}

.ibc-standard-detail {
  display: grid;
  gap: 24px;
}

.ibc-standard-detail[hidden] {
  display: none;
}

.ibc-standard-profile {
  position: relative !important;
  z-index: auto !important;
  inset: auto !important;
  display: grid;
  width: auto !important;
  height: auto !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--ibc-standard-line);
  border-radius: clamp(28px, 5vw, 52px);
  background: #fff;
  box-shadow: var(--ibc-standard-shadow);
}

.ibc-standard-profile__visual {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(103, 220, 255, 0.65), transparent 32%),
    linear-gradient(145deg, #dce9ff, #eef4ff 56%, #c9dcff);
}

.ibc-standard-profile__visual::after {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 40%;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(3, 21, 69, 0.46));
}

.ibc-standard-profile__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 220ms ease;
}

.ibc-standard-profile__visual img.is-loaded {
  opacity: 1;
}

.ibc-standard-image-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(16, 61, 166, 0.32);
  font-size: clamp(3.6rem, 11vw, 8rem);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.ibc-standard-profile__visual figcaption {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 17px;
  left: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  line-height: 1.4;
}

.ibc-standard-profile__visual figcaption a {
  color: #fff !important;
  font-weight: 750;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.ibc-standard-profile__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 60px);
  background:
    radial-gradient(circle at 100% 0%, rgba(98, 216, 255, 0.14), transparent 30%),
    linear-gradient(145deg, #ffffff, #f7f9ff);
}

.ibc-standard-profile__copy .ibc-standard-kicker {
  color: var(--ibc-standard-blue);
}

.ibc-standard-kind {
  align-self: flex-start;
  margin: 2px 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(21, 74, 216, 0.18);
  border-radius: 10px;
  color: var(--ibc-standard-blue-deep);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(225, 235, 255, 0.72);
}

.ibc-standard-profile__copy .ibc-standard-lead {
  color: #3e4e6e;
}

.ibc-standard-classification {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--ibc-standard-gold);
  border-radius: 5px 16px 16px 5px;
  color: #4f5d78;
  font-size: 0.9rem;
  line-height: 1.62;
  background: linear-gradient(90deg, rgba(246, 225, 177, 0.35), rgba(255, 255, 255, 0));
}

.ibc-standard-profile__copy .ibc-standard-source {
  align-self: flex-start;
  border-color: rgba(21, 74, 216, 0.13);
  color: var(--ibc-standard-ink);
  background: rgba(235, 241, 255, 0.78);
  box-shadow: inset 0 1px 0 #fff;
}

.ibc-standard-profile__copy .ibc-standard-source small {
  color: var(--ibc-standard-muted);
}

.ibc-standard-composer,
.ibc-standard-section,
.ibc-standard-note {
  border: 1px solid var(--ibc-standard-line);
  border-radius: clamp(24px, 4vw, 38px);
  background: var(--ibc-standard-surface);
  box-shadow: var(--ibc-standard-shadow);
}

.ibc-standard-composer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at 98% 8%, rgba(107, 217, 255, 0.18), transparent 25%),
    linear-gradient(145deg, #fff, #f2f6ff);
}

.ibc-standard-composer__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 21px;
  color: #fff;
  font-size: 2.1rem;
  background: linear-gradient(145deg, #2375f2, #0c379f);
  box-shadow:
    0 16px 28px rgba(19, 72, 207, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.ibc-standard-composer p:not(.ibc-standard-eyebrow) {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--ibc-standard-muted);
  line-height: 1.62;
}

.ibc-standard-formula {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ibc-standard-formula span {
  padding: 8px 11px;
  border: 1px solid rgba(21, 74, 216, 0.18);
  border-radius: 11px;
  color: var(--ibc-standard-blue-deep);
  font-size: 0.78rem;
  font-weight: 850;
  background: #eaf1ff;
}

.ibc-standard-formula b {
  color: var(--ibc-standard-blue);
}

.ibc-standard-section {
  padding: clamp(26px, 4.5vw, 46px);
}

.ibc-standard-section__head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.ibc-standard-section__number {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border: 1px solid rgba(21, 74, 216, 0.16);
  border-radius: 18px;
  color: var(--ibc-standard-blue);
  font-size: 0.82rem;
  font-weight: 900;
  background: linear-gradient(145deg, #edf3ff, #fff);
  box-shadow: 0 10px 22px rgba(34, 72, 159, 0.08);
}

.ibc-standard-taxonomy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.ibc-standard-taxonomy--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ibc-taxonomy-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(85, 109, 169, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, var(--ibc-taxonomy-glow, rgba(80, 128, 238, 0.13)), transparent 36%),
    linear-gradient(145deg, #fff, #f8faff);
  box-shadow:
    0 13px 28px rgba(35, 60, 121, 0.08),
    inset 0 1px 0 #fff;
}

.ibc-taxonomy-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--ibc-taxonomy-accent, linear-gradient(90deg, #1b62e6, #76ddff));
}

.ibc-taxonomy-card--white {
  --ibc-taxonomy-glow: rgba(181, 202, 240, 0.25);
  --ibc-taxonomy-accent: linear-gradient(90deg, #dce6f8, #fff, #b8c9e8);
}

.ibc-taxonomy-card--red {
  --ibc-taxonomy-glow: rgba(218, 72, 66, 0.16);
  --ibc-taxonomy-accent: linear-gradient(90deg, #8f171f, #e75d4d, #f3b15d);
}

.ibc-taxonomy-card--black {
  --ibc-taxonomy-glow: rgba(23, 35, 65, 0.2);
  --ibc-taxonomy-accent: linear-gradient(90deg, #071127, #293a61, #6c7b98);
}

.ibc-taxonomy-card__top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.ibc-taxonomy-card h3 {
  margin: 0;
  color: var(--ibc-standard-ink);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.2;
}

.ibc-taxonomy-card__code,
.ibc-taxonomy-card__flag {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--ibc-standard-blue-deep);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #e8efff;
}

.ibc-taxonomy-card > p {
  margin: 11px 0 0;
  color: var(--ibc-standard-muted);
  font-size: 0.87rem;
  line-height: 1.58;
}

.ibc-taxonomy-card__values {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ibc-taxonomy-card__values span {
  padding: 7px 9px;
  border: 1px solid rgba(85, 108, 165, 0.15);
  border-radius: 10px;
  color: #3f4f70;
  font-size: 0.75rem;
  font-weight: 720;
  background: rgba(242, 246, 255, 0.86);
}

.ibc-standard-note {
  padding: 24px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(105, 217, 255, 0.25), transparent 30%),
    linear-gradient(135deg, #0a2b80, #124fc7);
  box-shadow:
    0 24px 48px rgba(16, 61, 172, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ibc-standard-note strong {
  font-size: 1.04rem;
}

.ibc-standard-note p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.ibc-dog-standard a:focus-visible,
.ibc-dog-standard button:focus-visible,
.ibc-dog-standard input:focus-visible {
  outline: 3px solid #5fcbff !important;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .ibc-standard-grid,
  .ibc-standard-taxonomy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ibc-standard-profile {
    grid-template-columns: 1fr;
  }

  .ibc-standard-profile__visual,
  .ibc-standard-profile__visual img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .ibc-standard-composer {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ibc-standard-formula {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .ibc-dog-standard {
    width: min(100% - 22px, 620px);
    padding-top: 88px;
  }

  .ibc-standard-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 24px;
  }

  .ibc-standard-hero__emblem {
    position: absolute;
    right: -30px;
    bottom: -42px;
    width: 132px;
    opacity: 0.38;
  }

  .ibc-standard-directory__head {
    align-items: stretch;
    flex-direction: column;
  }

  .ibc-standard-search {
    width: 100%;
    flex-basis: auto;
  }

  .ibc-standard-grid,
  .ibc-standard-taxonomy,
  .ibc-standard-taxonomy--compact {
    grid-template-columns: 1fr;
  }

  .ibc-standard-card__link {
    display: grid;
    grid-template-columns: minmax(126px, 40%) minmax(0, 1fr);
  }

  .ibc-standard-card__visual {
    aspect-ratio: auto;
    min-height: 210px;
  }

  .ibc-standard-card__body {
    min-height: 210px;
    padding: 18px 16px 15px;
  }

  .ibc-standard-card__body p {
    font-size: 0.83rem;
    -webkit-line-clamp: 4;
  }

  .ibc-standard-card__badge {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
  }

  .ibc-standard-profile__copy {
    padding: 28px 22px;
  }

  .ibc-standard-profile__visual,
  .ibc-standard-profile__visual img {
    aspect-ratio: 4 / 3;
  }

  .ibc-standard-composer {
    grid-template-columns: 1fr;
  }

  .ibc-standard-composer__icon {
    width: 54px;
    height: 54px;
  }

  .ibc-standard-section__head {
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .ibc-standard-card__link {
    grid-template-columns: 1fr;
  }

  .ibc-standard-card__visual {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .ibc-standard-card__body {
    min-height: 0;
  }

  .ibc-standard-profile h1,
  .ibc-standard-hero h1 {
    overflow-wrap: anywhere;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .ibc-dog-standard {
    width: min(1180px, calc(100% - 24px));
    padding-top: 76px;
  }

  .ibc-standard-hero {
    min-height: 260px;
    padding-block: 28px;
  }

  .ibc-standard-hero__emblem {
    width: 142px;
  }

  .ibc-standard-profile {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  }

  .ibc-standard-profile__visual,
  .ibc-standard-profile__visual img {
    min-height: 390px;
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ibc-dog-standard *,
  .ibc-dog-standard *::before,
  .ibc-dog-standard *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .ibc-standard-hero,
  .ibc-standard-note,
  .ibc-standard-source,
  .ibc-standard-source__mark,
  .ibc-standard-card__action span:last-child,
  .ibc-standard-composer__icon {
    border: 1px solid CanvasText;
    color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }

  .ibc-standard-card,
  .ibc-standard-directory,
  .ibc-standard-profile,
  .ibc-standard-composer,
  .ibc-standard-section,
  .ibc-standard-note,
  .ibc-taxonomy-card {
    border: 1px solid CanvasText;
    box-shadow: none;
  }
}

@media print {
  .ibc-dog-standard {
    width: 100%;
    padding: 0;
  }

  .ibc-standard-backbar,
  .ibc-standard-search,
  .ibc-standard-error {
    display: none !important;
  }

  .ibc-standard-hero,
  .ibc-standard-directory,
  .ibc-standard-profile,
  .ibc-standard-composer,
  .ibc-standard-section,
  .ibc-standard-note,
  .ibc-taxonomy-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Public organization Profile: scoped hero only. The legacy profile card that
   follows it retains its original position, markup, data source, and script. */
.ibc-profile-family-hero,
.ibc-profile-family-hero * {
  box-sizing: border-box;
}

.ibc-profile-family-hero {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  min-height: clamp(460px, 44vw, 560px);
  margin: 0 auto 30px;
  overflow: hidden;
  border: 1px solid rgba(159, 186, 242, 0.35);
  border-radius: clamp(30px, 5vw, 58px);
  color: #fff;
  background: #09296f;
  box-shadow:
    0 42px 92px rgba(14, 48, 139, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.ibc-profile-family-hero__image {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100%;
  object-fit: cover !important;
  object-position: center 42%;
}

.ibc-profile-family-hero__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 57, 0.94) 0%, rgba(5, 27, 79, 0.76) 42%, rgba(5, 27, 79, 0.18) 72%),
    linear-gradient(0deg, rgba(3, 18, 57, 0.66), transparent 52%);
}

.ibc-profile-family-hero::after {
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -155px;
  width: 370px;
  height: 370px;
  border: 54px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.ibc-profile-family-hero__copy {
  display: flex;
  width: min(660px, 72%);
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 7vw, 76px);
}

.ibc-profile-family-hero__copy h1 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(2.35rem, 6.1vw, 5.1rem);
  font-weight: 930;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 12px 34px rgba(0, 13, 48, 0.34);
}

.ibc-profile-family-hero__copy > p:not(.ibc-standard-kicker) {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.8vw, 1.16rem);
  line-height: 1.67;
}

.ibc-profile-family-hero__values {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.ibc-profile-family-hero__values span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  background: rgba(8, 40, 112, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ibc-profile-family-hero__seal {
  position: absolute;
  top: clamp(24px, 4vw, 46px);
  right: clamp(24px, 4vw, 46px);
  display: grid;
  width: clamp(92px, 12vw, 138px);
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 38%;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(9, 49, 139, 0.34));
  box-shadow:
    0 20px 40px rgba(0, 19, 64, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  transform: rotate(5deg);
}

.ibc-profile-family-hero__seal strong,
.ibc-profile-family-hero__seal small {
  display: block;
}

.ibc-profile-family-hero__seal strong {
  color: #fff !important;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.ibc-profile-family-hero__seal small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .ibc-profile-family-hero {
    width: min(100% - 22px, 620px);
    min-height: 0;
    background: linear-gradient(145deg, #071d58, #0c43b3);
  }

  .ibc-profile-family-hero__veil {
    display: none;
  }

  .ibc-profile-family-hero__image {
    position: relative;
    z-index: 0;
    height: auto;
    aspect-ratio: 5 / 2;
    object-fit: cover !important;
    object-position: center;
  }

  .ibc-profile-family-hero__copy {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 28px 24px;
  }

  .ibc-profile-family-hero__seal {
    width: 88px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .ibc-profile-family-hero {
    width: min(1180px, calc(100% - 24px));
    min-height: 390px;
  }

  .ibc-profile-family-hero__copy {
    width: min(680px, 76%);
    padding: 28px 38px;
  }

  .ibc-profile-family-hero__copy h1 {
    font-size: clamp(2.25rem, 6.8vw, 4.5rem);
  }

  .ibc-profile-family-hero__copy > p:not(.ibc-standard-kicker) {
    margin-top: 13px;
    font-size: 0.9rem;
  }

  .ibc-profile-family-hero__values {
    margin-top: 14px;
  }
}

@media (forced-colors: active) {
  .ibc-profile-family-hero {
    border: 1px solid CanvasText;
    color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }

  .ibc-profile-family-hero__image,
  .ibc-profile-family-hero__veil {
    opacity: 0.25;
  }
}

@media print {
  .ibc-profile-family-hero {
    width: 100%;
    min-height: 420px;
    break-inside: avoid;
    box-shadow: none;
  }
}
