/* ==========================================================================
   UNIRANKS Insights design (UR, 2026-11)
   Port of the article and hub design of the sister Insights site (reference copy of 11 Nov 2026):
   same layout, sizes and behaviour; UNIRANKS colours, logo and wording.
   body.ur-site is set by the new layouts themselves (html/ur_helper.php), only on pages that use them.
   Not included yet (later stages): header and menu, search, footer, home page, page-builder pages.
   ========================================================================== */

body.ur-site {
  --ur-blue: #003366;          /* UNIRANKS navy (template header colour): accents, title band, text */
  --ur-deep: #00213f;          /* darker UNIRANKS navy: hero background */
  --ur-accent: #1d55c1;        /* UNIRANKS blue (template dropdown colour): hover states */
  --ur-soft: #eef3f8;          /* light band behind related articles */
  --ur-line: rgba(0, 51, 102, .18);
  --ur-on-dark: #ffffff;
  --ur-on-dark-muted: rgba(255, 255, 255, .64);
  --ur-font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ur-gutter: clamp(16px, 3.6vw, 48px);
  --ur-ease: cubic-bezier(.2, .7, .2, 1);
  font-family: var(--ur-font);
  color: var(--ur-blue);
  background: #fff;
}

body.ur-site .ur-wrap {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 var(--ur-gutter);
}

/* ---- full-width main area on article and hub pages ----------------------- */
body.ur-site:is(.view-article, .view-category) #sp-main-body { padding: 0; }
body.ur-site:is(.view-article, .view-category) #sp-main-body > .container { max-width: none; padding: 0; }
body.ur-site:is(.view-article, .view-category) #sp-main-body > .container > .container-inner > .row { margin: 0; }
body.ur-site:is(.view-article, .view-category) #sp-main-body > .row { margin: 0; }
body.ur-site:is(.view-article, .view-category) #sp-main-body #sp-component { padding: 0; }
body.ur-site:is(.view-article, .view-category) #sp-main-body #sp-component > .sp-column { padding: 0; }
body.ur-site .article-details { margin: 0; }
body.ur-site .article-spbookmark { display: none; }

/* ==========================================================================
   Hero: breadcrumb, image, category tag
   ========================================================================== */
body.ur-site .ur-hero { color: var(--ur-on-dark); }
body.ur-site .ur-hero__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ur-deep);
  padding: 22px 0 26px;
}
/* soft, blurred copy of the article image behind the image itself */
body.ur-site .ur-hero__media::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -2;
  background: var(--ur-hero-img, none) center / cover no-repeat;
  filter: blur(36px) saturate(1.1);
  opacity: .45;
}
body.ur-site .ur-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 33, 63, .9) 0%, rgba(0, 33, 63, .55) 45%, rgba(0, 33, 63, .92) 100%);
}
body.ur-site .ur-crumbs {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ur-on-dark-muted);
}
body.ur-site .ur-crumbs a { color: var(--ur-on-dark-muted); text-decoration: none; }
body.ur-site .ur-crumbs a:hover { color: var(--ur-on-dark); }
body.ur-site .ur-crumbs__sep { margin: 0 8px; }
body.ur-site .ur-hero .article-full-image {
  float: none;
  display: block;
  margin: 0 auto;
  text-align: center;
}
body.ur-site .ur-hero .article-full-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 460px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55);
}
body.ur-site .ur-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 0;
}
body.ur-site .ur-tag {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--ur-blue);
  color: var(--ur-on-dark);
  font-family: var(--ur-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
body.ur-site .ur-hero .ur-tag--type { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
body.ur-site a.ur-tag:hover { color: var(--ur-on-dark); background: var(--ur-accent); }
body.ur-site .ur-tags--light .ur-tag { background: rgba(255, 255, 255, .18); }

/* ---- title band --------------------------------------------------------- */
body.ur-site .ur-hero__band { background: var(--ur-blue); padding: 40px 0; }
body.ur-site .ur-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 830fr) minmax(0, 402fr);
  gap: 24px;
  min-height: 320px;
}
body.ur-site .ur-hero__left { display: flex; flex-direction: column; align-items: flex-start; }
body.ur-site .ur-hero__right { display: flex; flex-direction: column; justify-content: flex-end; }
body.ur-site .ur-hero__right .ur-tags { margin: 0; }
body.ur-site .ur-hero .article-header { margin: 0; }
body.ur-site .ur-hero .article-header h1 {
  max-width: 13em;
  margin: 0;
  font-family: var(--ur-font);
  font-size: clamp(34px, 4.2vw, 57px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-align: left;
  color: var(--ur-on-dark);
}
body.ur-site .ur-hero .article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 24px 0 0;
  padding: 0;
  font-family: var(--ur-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
body.ur-site .ur-hero .article-info > span,
body.ur-site .ur-hero .article-info time,
body.ur-site .ur-hero .article-info a { color: inherit; font: inherit; margin: 0; padding: 0; }
body.ur-site .ur-hero .article-info span::before { display: none; }
body.ur-site .ur-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: auto;
  border-radius: 50%;
  background: var(--ur-on-dark);
  color: var(--ur-blue);
  transition: transform .25s var(--ur-ease);
}
body.ur-site .ur-hero__left > :nth-last-child(2) { margin-bottom: 40px; }
body.ur-site .ur-scroll:hover { transform: translateY(3px); color: var(--ur-blue); }
body.ur-site .ur-hero .label,
body.ur-site .ur-hero .badge { display: inline-block; margin-top: 12px; }

/* ==========================================================================
   Article column
   ========================================================================== */
body.ur-site .ur-body {
  max-width: calc(1240px + 2 * var(--ur-gutter));
  margin: 0 auto;
  padding: 80px var(--ur-gutter) 56px;
  font-family: var(--ur-font);
  font-size: 19px;
  line-height: 1.42;
  color: var(--ur-blue);
  scroll-margin-top: 16px;
}
body.ur-site .ur-body [itemprop="articleBody"] { overflow-wrap: anywhere; }
body.ur-site .ur-body [itemprop="articleBody"]::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 56px;
  background: var(--ur-line);
}
body.ur-site .ur-body p,
body.ur-site .ur-body li,
body.ur-site .ur-body td,
body.ur-site .ur-body th,
body.ur-site .ur-body blockquote { font-family: inherit; color: inherit; }
body.ur-site .ur-body p { margin: 0 0 1.05em; font-size: inherit; line-height: inherit; }
body.ur-site .ur-body a {
  color: var(--ur-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.ur-site .ur-body a:hover { text-decoration-thickness: 2px; }
body.ur-site .ur-body strong,
body.ur-site .ur-body b { font-weight: 600; }
body.ur-site .ur-body h2,
body.ur-site .ur-body h3,
body.ur-site .ur-body h4 {
  font-family: var(--ur-font);
  font-weight: 500;
  color: var(--ur-blue);
  text-align: left;
}
body.ur-site .ur-body h2 {
  margin: 1.9em 0 .6em;
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -.015em;
}
body.ur-site .ur-body h3 {
  margin: 1.5em 0 .5em;
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -.005em;
}
body.ur-site .ur-body h4 { margin: 1.3em 0 .4em; font-size: 19px; line-height: 1.3; font-weight: 600; }
body.ur-site .ur-body ul,
body.ur-site .ur-body ol { margin: 0 0 1.1em; padding-left: 1.25em; }
body.ur-site .ur-body li { margin: 0 0 .45em; line-height: inherit; font-size: inherit; }
body.ur-site .ur-body li::marker { color: var(--ur-blue); }
body.ur-site .ur-body img { max-width: 100%; height: auto; border-radius: 8px; }
body.ur-site .ur-body blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--ur-blue);
  font-size: 21px;
}
body.ur-site .ur-body hr { border: 0; height: 1px; background: var(--ur-line); margin: 2em 0; opacity: 1; }
body.ur-site .ur-body table {
  width: 100%;
  margin: 1.4em 0 1.6em;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
}
body.ur-site .ur-body th {
  padding: 12px 14px;
  background: var(--ur-blue);
  color: var(--ur-on-dark);
  font-weight: 500;
  text-align: left;
  vertical-align: bottom;
}
body.ur-site .ur-body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ur-line);
  vertical-align: top;
}
body.ur-site .ur-body tr:nth-child(even) td { background: #f6f9fc; }
body.ur-site .ur-body .article-info { font-size: 14px; color: var(--ur-blue); }
body.ur-site .ur-body .pagenavigation { margin: 28px 0 0; }
body.ur-site .ur-body .pagenavigation .pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ur-site .ur-body .pagenavigation .pager li { margin: 0; }
body.ur-site .ur-body .pagenavigation .pager .next { margin-left: auto; }
body.ur-site .ur-body .pagenavigation .page-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 19px;
  border: 1px solid var(--ur-blue);
  border-radius: 20px;
  background: transparent;
  color: var(--ur-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
body.ur-site .ur-body .pagenavigation .page-link:hover { background: var(--ur-blue); color: var(--ur-on-dark); }
body.ur-site .ur-body .pagenavigation .page-link [class^="icon-"] { font-size: 11px; }

/* ==========================================================================
   Related articles band
   ========================================================================== */
body.ur-site .ur-related {
  margin: 0;
  padding: 52px 0 64px;
  background: var(--ur-soft);
  color: var(--ur-blue);
  font-family: var(--ur-font);
}
body.ur-site .ur-related__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
body.ur-site .ur-related__title {
  margin: 0;
  font-family: var(--ur-font);
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ur-blue);
  text-align: left;
}
body.ur-site .ur-btn {
  flex: none;
  display: inline-block;
  margin-top: 6px;
  padding: 7px 19px;
  border: 1px solid var(--ur-blue);
  border-radius: 20px;
  background: var(--ur-blue);
  color: var(--ur-on-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
body.ur-site .ur-btn:hover { background: transparent; color: var(--ur-blue); }
body.ur-site .ur-related__mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
body.ur-site .ur-related__mid[hidden] { display: none; }
body.ur-site .ur-related__count {
  display: flex;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
}
body.ur-site .ur-related__nav { display: flex; gap: 5px; }
body.ur-site .ur-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 51, 102, .1);
  color: var(--ur-blue);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
body.ur-site .ur-arrow:hover:not(:disabled) { background: var(--ur-blue); color: var(--ur-on-dark); }
body.ur-site .ur-arrow:disabled { opacity: .35; cursor: default; }
body.ur-site .ur-related__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
body.ur-site .ur-related__track::-webkit-scrollbar { display: none; }
body.ur-site .ur-card {
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
body.ur-site .ur-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: #d5dfea;
}
body.ur-site .ur-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ur-ease);
}
body.ur-site .ur-card:hover .ur-card__media img { transform: scale(1.04); }
body.ur-site .ur-card .ur-tags { position: absolute; top: 12px; left: 12px; right: 12px; margin: 0; }
body.ur-site .ur-card__body { display: flex; flex: 1; flex-direction: column; padding-top: 14px; }
body.ur-site .ur-card__title {
  margin: 0 0 10px;
  font-family: var(--ur-font);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ur-blue);
  text-align: left;
}
body.ur-site .ur-card__title a { color: inherit; text-decoration: none; }
body.ur-site .ur-card__title a::after { content: ""; position: absolute; inset: 0; }
body.ur-site .ur-card:hover .ur-card__title a { text-decoration: underline; text-underline-offset: 3px; }
body.ur-site .ur-card__text {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
body.ur-site .ur-card__date {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--ur-line);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ==========================================================================
   Focus and motion
   ========================================================================== */
body.ur-site a:focus-visible,
body.ur-site button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  body.ur-site * { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Tablet and phone
   ========================================================================== */
@media (max-width: 991.98px) {
  body.ur-site .ur-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  body.ur-site .ur-hero__right:empty { display: none; }
  body.ur-site .ur-scroll { margin-top: 32px; }
  body.ur-site .ur-related__track { grid-auto-columns: calc((100% - 24px) / 2.15); }
}
@media (max-width: 767.98px) {
  body.ur-site .ur-hero__media { padding: 16px 0 20px; }
  body.ur-site .ur-crumbs { margin-bottom: 16px; font-size: 11px; }
  body.ur-site .ur-hero .article-full-image img { max-height: 300px; }
  body.ur-site .ur-tags { margin-top: 16px; }
  body.ur-site .ur-hero__band { padding: 32px 0; }
  body.ur-site .ur-body { padding-top: 48px; font-size: 17px; line-height: 1.5; }
  body.ur-site .ur-body table { display: block; max-width: 100%; overflow-x: auto; font-size: 14px; }
  body.ur-site .ur-body th,
  body.ur-site .ur-body td { min-width: 140px; padding: 10px 12px; }
  body.ur-site .ur-related { padding: 40px 0 48px; }
  body.ur-site .ur-related__top { margin-bottom: 20px; }
  body.ur-site .ur-btn { font-size: 13px; padding: 6px 14px; }
  body.ur-site .ur-related__track { grid-auto-columns: 82%; gap: 16px; }
  body.ur-site .ur-card__title { font-size: 19px; }
}

/* ==========================================================================
   Shared pieces for home and hub pages
   ========================================================================== */
body.ur-site .ur-eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.ur-site .ur-display {
  margin: 0;
  font-family: var(--ur-font);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-align: left;
}
body.ur-site .ur-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
body.ur-site .ur-section-title {
  margin: 0;
  font-family: var(--ur-font);
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: inherit;
  text-align: left;
}
body.ur-site .ur-btn { display: inline-flex; align-items: center; gap: 8px; }
body.ur-site .ur-btn--light { background: var(--ur-on-dark); border-color: var(--ur-on-dark); color: var(--ur-blue); }
body.ur-site .ur-btn--light:hover { background: transparent; color: var(--ur-on-dark); }
body.ur-site .ur-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: var(--ur-on-dark); }
body.ur-site .ur-btn--ghost:hover { background: var(--ur-on-dark); color: var(--ur-blue); }
body.ur-site .ur-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
body.ur-site .ur-tag--soft { background: rgba(255, 255, 255, .18); }
body.ur-site .ur-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
}
body.ur-site .ur-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ==========================================================================
   Hub (category) pages
   ========================================================================== */
body.ur-site .ur-hub { color: var(--ur-blue); font-family: var(--ur-font); }
body.ur-site .ur-hub-head { padding: 28px 0 56px; background: #fff; }
body.ur-site .ur-crumbs--dark,
body.ur-site .ur-crumbs--dark a { color: rgba(0, 51, 102, .55); }
body.ur-site .ur-crumbs--dark a:hover { color: var(--ur-blue); }
body.ur-site .ur-hub-head .ur-crumbs { padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--ur-line); }
body.ur-site .ur-hub-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
body.ur-site .ur-hub-head__title { color: var(--ur-blue); font-size: clamp(36px, 5.2vw, 96px); overflow-wrap: normal; word-break: normal; hyphens: manual; }
body.ur-site .ur-hub-head__desc { font-size: 17px; line-height: 1.45; color: var(--ur-blue); }
body.ur-site .ur-hub-head__desc p { margin: 0 0 .9em; line-height: 1.45 !important; }
body.ur-site .ur-hub-head__desc p:first-of-type { font-size: 20px; line-height: 1.35; font-weight: 500; }
body.ur-site .ur-hub-head__desc a { color: var(--ur-blue); text-decoration: underline; text-underline-offset: 3px; }

body.ur-site .ur-hub-feature { padding: 0 0 72px; background: #fff; }
body.ur-site .ur-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--ur-blue);
  color: var(--ur-on-dark);
}
body.ur-site .ur-feature__media { background: #d5dfea; min-height: 100%; }
body.ur-site .ur-feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .6s var(--ur-ease); }
body.ur-site .ur-feature:hover .ur-feature__media img { transform: scale(1.03); }
body.ur-site .ur-feature__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.5vw, 48px); }
body.ur-site .ur-feature__body .ur-tags { margin: 0 0 20px; }
body.ur-site .ur-feature .ur-tag--type { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
body.ur-site .ur-feature__title { margin: 0 0 14px; font-family: var(--ur-font); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; text-align: left; color: var(--ur-on-dark); }
body.ur-site .ur-feature__title a { color: inherit; text-decoration: none; }
body.ur-site .ur-feature__title a::after { content: ""; position: absolute; inset: 0; }
body.ur-site .ur-feature__text { margin: 0 0 18px; font-size: 17px; line-height: 1.35; color: rgba(255, 255, 255, .82); }
body.ur-site .ur-feature__date { margin: auto 0 20px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

body.ur-site .ur-hub-list { padding: 0 0 96px; background: #fff; }
body.ur-site .ur-hub-list__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
body.ur-site .ur-hub-side__title { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ur-blue); }
body.ur-site .ur-topic-list { margin: 0 0 32px; padding: 0; list-style: none; }
body.ur-site .ur-topic-list li { margin: 0; }
body.ur-site .ur-topic-list a {
  position: relative;
  display: block;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ur-blue);
  text-decoration: none;
}
body.ur-site .ur-topic-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--ur-blue);
  border-radius: 50%;
}
body.ur-site .ur-topic-list .is-current a { font-weight: 600; }
body.ur-site .ur-topic-list .is-current a::before { background: var(--ur-blue); box-shadow: inset 0 0 0 2px #fff; }
body.ur-site .ur-topic-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.ur-site .ur-topic-list span { opacity: .6; }
body.ur-site .ur-empty { font-size: 18px; }
body.ur-site .ur-pagination { margin-top: 56px; }
body.ur-site .ur-pagination ul,
body.ur-site .ur-pagination .pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.ur-site .ur-pagination li { margin: 0; }
body.ur-site .ur-pagination a,
body.ur-site .ur-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  color: rgba(0, 51, 102, .45);
  text-decoration: none;
}
body.ur-site .ur-pagination .active .page-link,
body.ur-site .ur-pagination a:hover { color: var(--ur-blue); background: rgba(0, 51, 102, .08); }


@media (max-width: 1199.98px) {
  body.ur-site .ur-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  body.ur-site .ur-grid,
  body.ur-site .ur-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ur-site .ur-hub-head__grid,
  body.ur-site .ur-feature,
  body.ur-site .ur-hub-list__grid { grid-template-columns: minmax(0, 1fr); }
  body.ur-site .ur-hub-side { order: 2; }
}
@media (max-width: 767.98px) {
  body.ur-site .ur-grid,
  body.ur-site .ur-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  body.ur-site .ur-section-head { flex-wrap: wrap; align-items: flex-start; margin-bottom: 24px; }
  body.ur-site .ur-hub-head { padding: 20px 0 36px; }
  body.ur-site .ur-hub-head .ur-crumbs { margin-bottom: 28px; padding-bottom: 20px; }
  body.ur-site .ur-hub-head__desc p:first-of-type { font-size: 18px; }
  body.ur-site .ur-hub-feature { padding-bottom: 48px; }
  body.ur-site .ur-hub-list { padding-bottom: 64px; }
}

/* cards without an article image: dark-blue panel with the UNIRANKS logo */
body.ur-site .ur-card__media--noimg,
body.ur-site .ur-card__media:not(:has(img)) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 80% 20%, #0b3f78 0%, var(--ur-deep) 70%);
}
body.ur-site .ur-card__media--noimg img.ur-card__logo {
  width: 52%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  opacity: .9;
}
body.ur-site .ur-card:hover .ur-card__media--noimg img.ur-card__logo { transform: none; }

/* ==========================================================================
   Article hero: wide images (about 2:1 or wider, e.g. 21:9) fill the hero edge to edge.
   Other images keep the centred look above. Class set in html/com_content/article/default.php.
   ========================================================================== */
body.ur-site .ur-hero__media--cover { padding: 0; background: var(--ur-deep); }
body.ur-site .ur-hero__media--cover::before { display: none; }
body.ur-site .ur-hero__media--cover::after {
  background:
    linear-gradient(180deg, rgba(0, 33, 63, .85) 0%, rgba(0, 33, 63, .45) 16%, rgba(0, 33, 63, 0) 34%, rgba(0, 33, 63, 0) 68%, rgba(0, 33, 63, .72) 100%);
}
body.ur-site .ur-hero__media--cover > .ur-wrap {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(300px, 40vw, 680px);
  padding-top: 22px;
  padding-bottom: 26px;
}
body.ur-site .ur-hero__media--cover .article-full-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}
body.ur-site .ur-hero__media--cover .article-full-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}
body.ur-site .ur-hero__media--cover .ur-crumbs { color: rgba(255, 255, 255, .8); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
body.ur-site .ur-hero__media--cover .ur-crumbs a { color: rgba(255, 255, 255, .8); }
body.ur-site .ur-hero__media--cover .ur-tags { margin-top: auto; }
@media (max-width: 767.98px) {
  body.ur-site .ur-hero__media--cover > .ur-wrap { min-height: 260px; }
}

/* ==========================================================================
   Share buttons : html/layouts/ur/share.php
   ========================================================================== */
body.ur-site .ur-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--ur-font); }
body.ur-site .ur-share .ur-share__label { margin-right: 4px; font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
body.ur-site .ur-share .ur-share__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin: 0; padding: 0;
  border: 1px solid var(--ur-line); border-radius: 50%;
  background: #fff; color: var(--ur-blue);
  text-decoration: none; cursor: pointer; box-shadow: none;
  transition: background-color .2s var(--ur-ease), color .2s var(--ur-ease), border-color .2s var(--ur-ease);
}
body.ur-site .ur-share .ur-share__btn[hidden] { display: none; }
body.ur-site .ur-share .ur-share__btn svg { display: block; width: 18px; height: 18px; }
body.ur-site .ur-share .ur-share__btn:hover,
body.ur-site .ur-share .ur-share__btn:focus-visible { background: var(--ur-blue); border-color: var(--ur-blue); color: #fff; }
body.ur-site .ur-share .ur-share__btn:focus-visible { outline: 2px solid var(--ur-accent); outline-offset: 2px; }
body.ur-site .ur-share .ur-share__btn.is-copied { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
body.ur-site .ur-share .ur-share__status { font-size: 14px; line-height: 1.2; }
body.ur-site .ur-share .ur-share__status:empty { display: none; }

/* on the dark title band */
body.ur-site .ur-share--hero { margin: 0 0 18px; color: var(--ur-on-dark); }
body.ur-site .ur-share--hero .ur-share__label { color: var(--ur-on-dark-muted); }
body.ur-site .ur-share--hero .ur-share__btn { background: transparent; border-color: rgba(255, 255, 255, .42); color: #fff; }
body.ur-site .ur-share--hero .ur-share__btn:hover,
body.ur-site .ur-share--hero .ur-share__btn:focus-visible { background: #fff; border-color: #fff; color: var(--ur-blue); }
body.ur-site .ur-share--hero .ur-share__btn:focus-visible { outline-color: #fff; }

/* after the article */
body.ur-site .ur-body .ur-share--end { margin: 36px 0 0; padding: 18px 0; border-top: 1px solid var(--ur-line); border-bottom: 1px solid var(--ur-line); color: var(--ur-blue); }
body.ur-site .ur-body .ur-share--end .ur-share__label { flex-basis: auto; margin-right: 10px; }
@media (max-width: 767.98px) {
  body.ur-site .ur-share { gap: 6px; }
  body.ur-site .ur-share--hero { margin: 18px 0 14px; }
  body.ur-site .ur-share--hero .ur-share__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.ur-site .ur-body .ur-share--end .ur-share__label { flex-basis: 100%; margin: 0 0 4px; }
}
@media print { body.ur-site .ur-share { display: none !important; } }
@media (min-width: 768px) and (max-width: 1199.98px) {
  body.ur-site .ur-share--hero { gap: 6px; }
  body.ur-site .ur-share--hero .ur-share__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ==========================================================================
   UNIRANKS additions
   ========================================================================== */
/* hubs whose h1 comes from the category description or a page-builder module above the list */
body.ur-site .ur-hub-head--slim { padding-bottom: 32px; }
body.ur-site .ur-hub-head--slim .ur-crumbs { margin-bottom: 28px; }
body.ur-site .ur-hub-head__grid--single { grid-template-columns: minmax(0, 1fr); }
body.ur-site .ur-hub-head__grid--single .ur-hub-head__desc { max-width: 1000px; }
body.ur-site .ur-hub-head__desc h1 {
  margin: 0 0 24px;
  font-family: var(--ur-font);
  font-size: clamp(36px, 4.4vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ur-blue);
}
/* featured article without an image */
body.ur-site .ur-feature__media.ur-card__media--noimg { min-height: 280px; }
body.ur-site .ur-feature__media .ur-card__logo { width: 52%; max-width: 300px; height: auto; aspect-ratio: auto; object-fit: contain; }
/* the hub topic list stays readable when a module above it uses the template's serif headings */
body.ur-site .ur-hub :is(h1, h2, h3) { font-family: var(--ur-font); }
/* Ranking Methodology hub (/factors): the page-builder block above the list keeps its introduction panel; its
   article slider and the eleven dimension blocks repeat the topic list and the cards below, so they are not shown
   with the new layout (the module itself is unchanged). */
body:has(.ur-hub) #sp-blog-top section.sppb-section { display: none; }
body:has(.ur-hub) #sp-blog-top .sppb-addon-title { font-family: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-weight: 500; letter-spacing: -.02em; }
