.ue-ap-page {
  --ue-ap-ink: var(--ue-ink, #102f43);
  --ue-ap-ocean: var(--ue-ocean, #087e8b);
  --ue-ap-lagoon: var(--ue-lagoon, #69bdb8);
  --ue-ap-sunset: var(--ue-sunset, #ee7b55);
  --ue-ap-sand: var(--ue-sand, #f3eee3);
  --ue-ap-paper: var(--ue-paper, #fbf9f4);
  --ue-ap-mist: var(--ue-mist, #e8f2f1);
  --ue-ap-muted: var(--ue-muted, #5c6f7b);
  --ue-ap-line: var(--ue-line, #d9e2e5);
  --ue-ap-reading: 118ch;
  --ue-ap-radius: var(--ue-radius, 12px);
  --ue-ap-shadow: 0 18px 50px rgba(16,47,67,.1);
  overflow: hidden;
  background: radial-gradient(circle at 8% 28rem, rgba(105,189,184,.18), transparent 22rem), linear-gradient(180deg, var(--ue-ap-paper) 0%, #fff 34rem);
  color: var(--ue-ap-ink);
}
.ue-ap-page * { box-sizing: border-box; }
.ue-ap-page img { max-width: 100%; height: auto; }
.ue-ap-page :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline: 3px solid var(--ue-ap-sunset); outline-offset: 3px; }
.ue-ap-hero {
  position: relative;
  min-height: clamp(28rem, 48vw, 42rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0b2a3d;
  color: #fff;
}
.ue-ap-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,24,35,.96) 0%, rgba(5,24,35,.78) 50%, rgba(5,24,35,.34) 100%);
}
.ue-ap-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.ue-ap-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: .76;
}
.ue-ap-hero__content,
.ue-ap-shell,
.ue-ap-related {
  width: min(calc(100% - 2rem), 1680px);
  margin-inline: auto;
}
.ue-ap-hero__content { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.ue-ap-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  color: #c7dade;
  font-size: .8rem;
}
.ue-ap-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .65; }
.ue-ap-breadcrumbs a { color: inherit; text-decoration: none; }
.ue-ap-kicker {
  margin: 0;
  color: var(--ue-ap-lagoon);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ue-ap-hero h1 {
  max-width: 15ch;
  margin: .45rem 0 0;
  color: #fff;
  font-family: var(--wp--preset--font-family--display, Georgia, serif);
  font-size: clamp(2.55rem, 1.6rem + 4vw, 5.65rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ue-ap-hero__lead {
  max-width: 54rem;
  margin: 1rem 0 0;
  color: #e0ecee;
  font-size: clamp(1.125rem, 1.02rem + .42vw, 1.375rem);
  line-height: 1.58;
  text-wrap: pretty;
}
.ue-ap-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin-top: 1rem;
  color: #bdd1d5;
  font-size: .82rem;
}
.ue-ap-hero__meta span:not(:last-child)::after { content: "·"; margin-left: .85rem; opacity: .65; }
.ue-ap-banner-strip {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 2rem), 1050px);
  margin: clamp(1.5rem, 3.5vw, 3rem) auto 0;
}
.ue-ap-banner-strip:not(.has-desktop) { display: none; }
.ue-ap-banner-strip .ue-ad-slot,
.ue-ap-banner-strip .ueba-slot {
  margin-block: 0;
}
.ue-ap-banner-strip.has-desktop + .ue-ap-shell {
  margin-top: clamp(1.75rem, 4vw, 3.5rem);
}
.ue-ap-shell {
  position: relative;
  z-index: 3;
  margin-top: clamp(-7rem, -9vw, -4rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}
.ue-ap-featured {
  position: relative;
  margin-bottom: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: calc(var(--ue-ap-radius) * 1.6);
  background: var(--ue-ap-mist);
  box-shadow: 0 24px 70px rgba(16,47,67,.16);
}
.ue-ap-featured > img {
  width: 100%;
  min-height: clamp(18rem, 42vw, 38rem);
  display: block;
  object-fit: cover;
}
.ue-ap-category-line {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: min(72ch, calc(100% - 2rem));
  color: #fff;
  text-shadow: 0 1px 10px rgba(4,20,30,.35);
}
.ue-ap-category-line a,
.ue-ap-tag-line a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
}
.ue-ap-category-line a {
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(251,249,244,.94);
  color: var(--ue-ap-ink);
  box-shadow: 0 12px 26px rgba(4,20,30,.16);
  text-shadow: none;
}
.ue-ap-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
  justify-content: stretch;
  gap: clamp(1.25rem, 3vw, 4rem);
  align-items: start;
}
.ue-ap-sidebar {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
  align-self: start;
}
.ue-ap-sidebar-card,
.ue-ap-body {
  border: 1px solid rgba(217,226,229,.9);
  background: rgba(255,255,255,.96);
  box-shadow: var(--ue-ap-shadow);
}
.ue-ap-sidebar-card {
  padding: 1rem;
  border-radius: var(--ue-ap-radius);
}
.ue-ap-sidebar-card .ue-ap-kicker { margin-bottom: .75rem; }
.ue-ap-toc { margin: 0 0 1rem; }
.ue-ap-toc strong { display: block; margin-bottom: .55rem; color: var(--ue-ap-ink); }
.ue-ap-toc ol { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.ue-ap-toc a {
  display: block;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(16,47,67,.1);
  color: var(--ue-ap-muted);
  font-size: .88rem;
  line-height: 1.35;
  text-decoration: none;
}
.ue-ap-toc a:hover { color: var(--ue-ap-ocean); }
.ue-ap-share { display: flex; flex-wrap: wrap; gap: .6rem; }
.ue-ap-sidebar .ue-ap-share { display: grid; grid-template-columns: 1fr; }
.ue-ap-share a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .48rem .8rem;
  border: 1px solid var(--ue-ap-line);
  border-radius: 999px;
  color: var(--ue-ap-ink);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.ue-ap-share a:hover { border-color: rgba(8,126,139,.45); color: var(--ue-ap-ocean); transform: translateY(-2px); }
.ue-ap-body {
  width: 100%;
  max-width: none;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: calc(var(--ue-ap-radius) * 1.25);
}
.ue-ap-content { width: 100%; min-width: 0; }
.ue-ap-content > * { max-width: 100%; }
.ue-ap-content > :where(p, ul, ol, h2, h3, h4, blockquote, figure, table, .wp-block-image, .wp-block-gallery, .well, .alert, .box, .highlight, .ue-info-box) {
  width: 100%;
  max-width: none;
}
.ue-ap-content > :where(figure, blockquote, .wp-block-image, .wp-block-gallery, .well, .alert, .box, .highlight, .ue-info-box),
.ue-ap-content > :where(.alignwide, .alignfull) {
  width: 100%;
  max-width: 100%;
  margin-inline: 0 !important;
}
.ue-ap-content > p,
.ue-ap-content > ul,
.ue-ap-content > ol { font-size: clamp(1.06rem, 1rem + .28vw, 1.22rem); line-height: 1.78; text-wrap: pretty; }
.ue-ap-content > p:first-of-type {
  margin-top: 0;
  color: #173f56;
  font-size: clamp(1.2rem, 1.04rem + .65vw, 1.5rem);
  line-height: 1.62;
}
.ue-ap-content > p:first-of-type::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  color: var(--ue-ap-sunset);
  font-family: var(--wp--preset--font-family--display, Georgia, serif);
  font-size: 3.35em;
  font-weight: 700;
  line-height: .78;
}
.ue-ap-content > h2,
.ue-ap-content > h3 {
  max-width: none;
  margin-top: 2.2em;
  scroll-margin-top: 92px;
  text-wrap: balance;
}
.ue-ap-content > h2 { font-size: clamp(1.85rem, 1.42rem + 1.5vw, 3rem); }
.ue-ap-content > h3 { font-size: clamp(1.45rem, 1.18rem + .9vw, 2.1rem); }
.ue-ap-content img,
.ue-ap-content .wp-block-image img {
  border-radius: var(--ue-ap-radius);
  box-shadow: 0 14px 34px rgba(16,47,67,.1);
}
.ue-ap-content .ue-banner-slot,
.ue-ap-content .ue-ad-slot,
.ue-ap-content .ueba-slot {
  clear: both;
  position: relative;
  z-index: 1;
}
.ue-ap-content figure,
.ue-ap-content .wp-block-image { margin-block: clamp(1.5rem, 4vw, 2.75rem); }
.ue-ap-content blockquote,
.ue-ap-content .well,
.ue-ap-content .alert,
.ue-ap-content .box,
.ue-ap-content .highlight,
.ue-ap-content .ue-info-box {
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  border: 1px solid rgba(8,126,139,.24);
  border-radius: var(--ue-ap-radius);
  background: linear-gradient(180deg, #fff, var(--ue-ap-mist));
  box-shadow: 0 10px 26px rgba(16,47,67,.06);
}
.ue-ap-content blockquote > :where(h2, h3) {
  max-width: none;
  margin: 0;
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.ue-ap-content blockquote > * + * { margin-block-start: .85rem; }
.ue-ap-content iframe,
.ue-ap-content video { width: 100%; max-width: 100%; border: 0; border-radius: var(--ue-ap-radius); }
.ue-ap-footer {
  display: grid;
  gap: .85rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--ue-ap-line);
}
.ue-ap-tag-line { display: flex; flex-wrap: wrap; gap: .45rem; }
.ue-ap-tag-line a { background: var(--ue-ap-mist); color: var(--ue-ap-ink); }
.ue-ap-tag-line a:hover { background: var(--ue-ap-ink); color: #fff; }
.ue-ap-author-box {
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border: 1px solid var(--ue-ap-line);
  border-radius: var(--ue-ap-radius);
  background: #fff;
}
.ue-ap-author-box { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; }
.ue-ap-author-box img { border-radius: 50%; }
.ue-ap-author-box h2 { margin: .2rem 0 .45rem; }
.ue-ap-author-box a { color: var(--ue-ap-ink); text-decoration: none; }
.ue-ap-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2rem;
}
.ue-ap-post-navigation a {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .9rem 1rem;
  border: 1px solid var(--ue-ap-line);
  border-radius: var(--ue-ap-radius);
  background: #fff;
  color: var(--ue-ap-ink);
  font-weight: 800;
  text-decoration: none;
}
.ue-ap-post-navigation div:last-child a { align-items: flex-end; text-align: right; }
.ue-ap-post-navigation span { color: var(--ue-ap-muted); font-size: .78rem; }
.ue-ap-related {
  padding-block: clamp(3.25rem, 7vw, 6.5rem);
  border-top: 1px solid var(--ue-ap-line);
}
.ue-ap-related > h2 {
  width: 100%;
  max-width: none;
  margin: .45rem 0 1.5rem;
  color: var(--ue-ap-ink);
  font-family: var(--wp--preset--font-family--display, Georgia, serif);
  font-size: clamp(2rem, 1.45rem + 2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.ue-ap-related-grid,
.ue-ap-related .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.ue-ap-related-card,
.ue-ap-related .ue-card,
.ue-ap-related .wp-block-column {
  min-width: 0;
  height: 100%;
}
.ue-ap-related-card,
.ue-ap-related .ue-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(217,226,229,.9);
  border-radius: var(--ue-ap-radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--ue-ap-shadow);
}
.ue-ap-related-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ue-ap-mist), #fff);
}
.ue-ap-related-card__image img,
.ue-ap-related .ue-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: linear-gradient(180deg, var(--ue-ap-mist), #fff);
}
.ue-ap-related-card__image img { height: 100%; }
.ue-ap-related .ue-card img { height: auto; }
.ue-ap-related-card h3,
.ue-ap-related-card p,
.ue-ap-related .ue-card h3,
.ue-ap-related .ue-card p,
.ue-ap-related .ue-card-body {
  max-width: none;
  width: 100%;
}
.ue-ap-related-card h3,
.ue-ap-related .ue-card h3 {
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.35rem) .4rem;
  color: var(--ue-ap-ink);
  font-family: var(--wp--preset--font-family--display, Georgia, serif);
  font-size: clamp(1.35rem, 1.1rem + .85vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.ue-ap-related-card p,
.ue-ap-related .ue-card p {
  margin: 0;
  padding: 0 clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  color: var(--ue-ap-muted);
  font-size: 1rem;
  line-height: 1.62;
}
.ue-ap-related-card a,
.ue-ap-related .ue-card a {
  color: var(--ue-ap-ink) !important;
  text-decoration: none;
}
.ue-ap-related-card a:hover,
.ue-ap-related .ue-card a:hover {
  color: var(--ue-ap-ocean) !important;
}

@media (max-width: 1080px) {
  .ue-ap-layout { grid-template-columns: minmax(0, 1fr); }
  .ue-ap-sidebar { position: static; order: -1; }
  .ue-ap-sidebar-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, .6fr); gap: 1rem; align-items: start; }
  .ue-ap-sidebar-card .ue-ap-kicker { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .ue-ap-hero { min-height: 25rem; }
  .ue-ap-hero h1 { max-width: 12ch; font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .ue-ap-banner-strip { width: min(calc(100% - 1rem), 30rem); margin-top: 1rem; }
  .ue-ap-banner-strip.has-mobile { display: block; }
  .ue-ap-banner-strip.has-desktop:not(.has-mobile) { display: none; }
  .ue-ap-banner-strip .ue-ad-slot--leaderboard { display: none; }
  .ue-ap-shell { margin-top: -3.5rem; padding-bottom: 3rem; }
  .ue-ap-banner-strip.has-desktop + .ue-ap-shell { margin-top: -3.5rem; }
  .ue-ap-banner-strip.has-mobile + .ue-ap-shell { margin-top: 1.25rem; }
  .ue-ap-featured { border-radius: var(--ue-ap-radius); }
  .ue-ap-featured > img { min-height: 18rem; aspect-ratio: 4 / 3; }
  .ue-ap-category-line { position: static; padding: .75rem 0 0; color: var(--ue-ap-muted); text-shadow: none; }
  .ue-ap-category-line a { border-color: var(--ue-ap-line); box-shadow: none; }
  .ue-ap-sidebar-card { grid-template-columns: 1fr; }
  .ue-ap-body { padding: 1.1rem; border-radius: var(--ue-ap-radius); }
  .ue-ap-content > p:first-of-type::first-letter { font-size: 2.7em; }
  .ue-ap-content > :where(.alignleft, .alignright, .alignwide, .alignfull) {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-inline: 0 !important;
  }
  .ue-ap-content blockquote > :where(h2, h3) { font-size: clamp(1.35rem, 7vw, 2rem); }
  .ue-ap-post-navigation { grid-template-columns: 1fr; }
  .ue-ap-post-navigation div:last-child a { align-items: flex-start; text-align: left; }
  .ue-ap-author-box { grid-template-columns: 56px 1fr; }
}
@media (hover: none), (pointer: coarse) {
  .ue-ap-share a:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ue-ap-page *, .ue-ap-page *::before, .ue-ap-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .ue-ap-share a:hover { transform: none; }
}
