/* Homepage geometry from the local Panaccess index captured 2026-11-06.
   Rialytiq colours, content, assets and existing responsive grids are retained. */
html body.home.rq-panaccess-style.rq-home-foundation {
  --rq-home-page-width: 1392px;
  --rq-home-outer-gap: 80px;
  --rq-home-content-gutter: 32px;
  --ph-page-width: var(--rq-home-page-width);
  --ph-outer-gap: var(--rq-home-outer-gap);
  --ph-content-gutter: var(--rq-home-content-gutter);
}
html body.home.rq-panaccess-style.rq-home-foundation #wrapper > :is(#inner-wrap, #colophon) {
  box-sizing: border-box;
  width: calc(100% - var(--rq-home-outer-gap)) !important;
  max-width: var(--rq-home-page-width) !important;
  margin-inline: auto !important;
}
/* One full-width outer frame, including Rialytiq's References and News. */
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-hero,
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-analytics,
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-analytics > :is(.ph-section, #news-intro, #news-listing) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}
/* Match the reference's single inner gutter, without the old 1170px cap. */
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-hero > .pa-layout-container,
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-analytics > :is(.ph-section, #analytics, #analytics-workflow) > .ph-container,
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .entry-content > .kb-row-layout-wrap > .kt-row-column-wrap,
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #colophon .site-container {
  box-sizing: border-box;
  width: calc(100% - var(--rq-home-content-gutter) - var(--rq-home-content-gutter)) !important;
  max-width: none !important;
  min-width: 0;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
/* News has no .ph-container, so its content receives that same gutter directly. */
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-analytics > :is(#news-intro, #news-listing) {
  padding-inline: var(--rq-home-content-gutter) !important;
}
/* The latest reference keeps the hero open and adds 24px of desktop clearance. */
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-hero {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-hero > .pa-layout-wave,
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage::before {
  display: none;
}
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage .ph-collage-panel {
  border-color: rgba(255, 255, 255, .94);
  border-radius: 16px;
  box-shadow: 0 22px 46px -14px rgba(24, 53, 52, .28),
              0 5px 14px rgba(24, 53, 52, .10),
              0 0 0 1px rgba(8, 125, 125, .09);
  cursor: pointer;
}
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage-figure > figcaption {
  margin-top: 20px;
  color: var(--rq-muted, #506463);
  line-height: 1.65;
}
/* The dashboard retains its full natural proportions within the four-image collage. */
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage .ph-collage-dashboard {
  aspect-ratio: auto;
}
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage .ph-collage-dashboard img {
  height: auto;
}
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage a.ph-collage-panel:focus-visible {
  z-index: 10;
  outline: 3px solid var(--rq-accent, #087d7d);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--rq-panel, #edf5f3), 0 22px 46px rgba(24, 53, 52, .20);
}
html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .entry-content > .kb-row-layout-wrap .kb-row-layout-wrap {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 901px) {
  html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-hero > .pa-layout-container {
    padding-top: calc(var(--pa-header-height, 105px) + 79px) !important;
  }
}
@media (max-width: 1024px) {
  html body.home.rq-panaccess-style.rq-home-foundation {
    --rq-home-outer-gap: 48px;
    --rq-home-content-gutter: 24px;
  }
}
@media (max-width: 600px) {
  html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage .ph-collage-panel { border-radius: 12px; }
  html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage-figure > figcaption { margin-top: 16px; }
}
@media (max-width: 599px) {
  html body.home.rq-panaccess-style.rq-home-foundation {
    --rq-home-outer-gap: 32px;
    --rq-home-content-gutter: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.home.rq-panaccess-style.rq-home-foundation #wrapper #inner-wrap .ph-home-collage .ph-collage-panel {
    transition: none;
    transform: none;
  }
}
