





/*
 * Custom CSS stylesheet for Procorem help center
 */
/*Font Awesome icons for portal page */

.cat-panel-1:before{
    content: "\f108"; /* Set this to the icon you want - procorem */
}
.cat-panel-2:before{
    content: "\f002"; /* Set this to the icon you want - inspection */
}
.cat-panel-3:before{
    content: "\f00c"; /* Set this to the icon you want - compliance */
}
/*.cat-panel-4:before{
    content: "\f155"; /* Set this to the icon you want - budget */
}
.cat-panel-5:before{
    content: "\f0c0"; /* Set this to the icon you want - rent roll */
}

	
/* Primary color for links, buttons, sidebar, portal-header etc */
a,.text-primary,.btn-link,.pagination>li>a,.pagination>li>span,.publication-contents a:hover {
    color:#00ADEF;
}

.bg-primary,.btn-primary,.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus,.portal-single-publication .publication-icon {
    background-color:#6396C9;
}

.site-sidebar{
	background-color:#6396C9;
}

/*.portal-single-publication a {
  border-radius: 50px;
  background-color: #6396C9; 
}

.portal-single-publication H3 {
  color: #fff; 
}*/

.portal-header h1{
  color: #fff;
}

.portal-header::before{
  background: linear-gradient(#fff, #6396C9);
}

.portal-header::after{
    z-index: -5;
    background: url(image/portal-bg.jpg) no-repeat center center;
    background-size: cover;  
}

.portal-header {
	height: 350px;
}

.portal-header .logo {
	height: 50px;
}

.portal-header .portal-search .search-field {
	background-color: #808080;
}

@media (min-width: 768px) {
  .portal-single-publication {
    float: left;
    width: 20%;
  }
}

/* Add h3 styling to subtitle portal text */
.portal-single-publication h3.portal-text-subtitle {
    margin: 5px 0px 0px 0px;
    font-size: 11px ; 
    font-style: italic;

}

@media (min-width: 992px) {
    .portal-single-publication .portal-text-subtitle {
        font-size: 18px;
    }
}


.featured-content-label, .featured-content {
display: none;
}

.theme1 .site-sidebar-header {
	background-color: white;
	height: 64px;
}

.theme1 .site-sidebar-header .logo {
	padding-bottom: 0px;
}

.dropup.languages {
	visibility: hidden;
}

.btn-primary,.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus {
    border-color:#00ADEF;
}

/* Hover primary color */
a:hover,a:focus,.btn-link:hover,.btn-link:focus {
    color: #0088CC;
}

.nav-site-sidebar li a:focus{
    background-color: transparent;
}

a.text-primary:hover,a.text-primary:focus,.btn-primary:hover,a.bg-primary:hover,a.bg-primary:focus,.btn-primary:focus,.btn-primary.focus,.btn-primary:active,.btn-primary.active,.open > .dropdown-toggle.btn-primary,.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus {
    background-color:#0088CC;
}

.btn-primary:focus,.btn-primary.focus,.btn-primary:hover,.btn-primary:active,.btn-primary.active,.open > .dropdown-toggle.btn-primary,.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus {
    border-color:#0088CC;
}

/* Secondary color - For portal search button, publication count */
.portal-header .portal-search button,.publication-contents h4 span {
    background-color:#808080;    
}

.portal-header .portal-search button:hover{
     background-color:#808080;
}

/* Tertiary color - For pager */
.pager li>a,.pager li>span {
    color:#808080;   
}

.pager li>a:hover,.pager li>span:hover {
    background-color:#808080;
}    

/* Procedure */
.theme1 .procedure > li::before {
    background-color: #6396C9;
}	

/* Headings */
h1 {
    font-size: 225%;
}
h2 {
    font-size: 175%
}
h3 {
    font-size: 150%;
}
h4, h5, h6, .h4, .h5, .h6 {
    font-size: 125%;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
    font-family: Montserrat, Roberto, Arial, sans-serif;
    text-transform: none;
}

/*Images*/

/*img.materialboxed{
    max-width: 100%;
	border-style: solid;
	border-width: 1px;
}*/

.inlinemediaobject {
  display: inline-block;
vertical-align: 0em;
}


/*.mediaobject.noborder img {
    border: none;
}*/

.mediaobject img {
	border-style: solid;
	border-width: 1px;
}

.noborder img {
	border:none;
}

/*Caption */
.caption {
	font-style: italic;
}

.qandaset > ul:first-child {
   list-style: none;
   padding-left: 0px;
}

/* ============================================================
   TILE-GRID PAGES — Option A: card tiles
   Scope: only tables with Role = tile-grid (Table Properties
   in Paligo). Matches whether the resulting class lands on the
   wrapping <div class="informaltable tile-grid"> or directly
   on <table class="... tile-grid">.
   ============================================================ */

.tile-grid table,
table.tile-grid {
    border-collapse: separate;
    border-spacing: 16px;
    width: 100%;
}

.tile-grid td,
table.tile-grid td {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 24px 16px;
    text-align: center;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.tile-grid td:hover,
table.tile-grid td:hover {
    box-shadow: 0 6px 16px rgba(0, 173, 239, 0.18);
    transform: translateY(-2px);
}

.tile-grid td p,
table.tile-grid td p {
    margin: 8px 0 0;
}

.tile-grid td a.link,
table.tile-grid td a.link {
    font-weight: 600;
    color: #333333;
    text-decoration: none;
}

.tile-grid td:hover a.link,
table.tile-grid td:hover a.link {
    color: #00ADEF;
}

.tile-grid .mediaobject,
table.tile-grid .mediaobject,
.tile-grid .material-placeholder,
table.tile-grid .material-placeholder {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    overflow: hidden;
    display: block;
}

.tile-grid img.materialboxed,
table.tile-grid img.materialboxed {
    width: 56px !important;
    height: 56px !important;
    max-width: none;
}

@media (max-width: 767px) {
  .tile-grid table, .step-tiles table,
  table.tile-grid, table.step-tiles {
    display: block;
  }
  .tile-grid colgroup, .step-tiles colgroup,
  table.tile-grid colgroup, table.step-tiles colgroup {
    display: none;
  }
  .tile-grid tbody, .tile-grid tr, .tile-grid td,
  .step-tiles tbody, .step-tiles tr, .step-tiles td,
  table.tile-grid tbody, table.tile-grid tr, table.tile-grid td,
  table.step-tiles tbody, table.step-tiles tr, table.step-tiles td {
    display: block;
    width: 100% !important;
  }
  .tile-grid td, .step-tiles td,
  table.tile-grid td, table.step-tiles td {
    margin-bottom: 16px;
  }
}
.tile-grid td:empty,
.tile-grid td:has(> p:only-child:empty),
table.tile-grid td:empty,
table.tile-grid td:has(> p:only-child:empty) {
    display: none;
}

/* Icon-inline modifier: apply by setting a table's Role to "tile-grid icon-inline"
   instead of just "tile-grid". Icon becomes a small badge to the left of the title. */
.tile-grid.icon-inline td,
table.tile-grid.icon-inline td {
    text-align: left;
    vertical-align: top;
}

.tile-grid.icon-inline .mediaobject,
table.tile-grid.icon-inline .mediaobject {
    float: left;
    width: 40px;
    height: 40px;
    margin: 0 12px 8px 0;
    border-radius: 8px;
    background: #EAF6FC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-grid.icon-inline .mediaobject img,
table.tile-grid.icon-inline .mediaobject img {
    height: 22px;
    width: 22px;
    flex: none;
}

.tile-grid.icon-inline h3,
.tile-grid.icon-inline h4,
.tile-grid.icon-inline h5,
.tile-grid.icon-inline h6,
table.tile-grid.icon-inline h3,
table.tile-grid.icon-inline h4,
table.tile-grid.icon-inline h5,
table.tile-grid.icon-inline h6 {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #1B2733;
}

.tile-grid.icon-inline h3 a,
.tile-grid.icon-inline h4 a,
.tile-grid.icon-inline h5 a,
.tile-grid.icon-inline h6 a,
table.tile-grid.icon-inline h3 a,
table.tile-grid.icon-inline h4 a,
table.tile-grid.icon-inline h5 a,
table.tile-grid.icon-inline h6 a {
    color: inherit;
    text-decoration: none;
}

.tile-grid.icon-inline p,
table.tile-grid.icon-inline p {
    clear: both;
    margin: 10px 0 0;
}

/* Step tiles: apply by setting a table's Role to "step-tiles".
   No image needed — just a title (h5/bridgehead) and one paragraph per cell.
   "STEP 1", "STEP 2", "STEP 3" are generated automatically from cell order. */
.step-tiles table,
table.step-tiles {
    border-collapse: separate;
    border-spacing: 16px;
    width: 100%;
    counter-reset: step;
}

.step-tiles td,
table.step-tiles td {
    counter-increment: step;
    background: #ffffff;
    border: 1px solid #DCE5EC;
    border-top: 3px solid #00ADEF;
    border-radius: 6px;
    padding: 20px;
    text-align: left;
    vertical-align: top;
}

.step-tiles td::before,
table.step-tiles td::before {
    content: "STEP " counter(step);
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #0088CC;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.step-tiles h3,
.step-tiles h4,
.step-tiles h5,
table.step-tiles h3,
table.step-tiles h4,
table.step-tiles h5 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1B2733;
}

.step-tiles h3 a,
.step-tiles h4 a,
.step-tiles h5 a,
table.step-tiles h3 a,
table.step-tiles h4 a,
table.step-tiles h5 a {
    color: inherit;
    text-decoration: none;
}

.step-tiles p,
table.step-tiles p {
    margin: 0;
    font-size: 13px;
    color: #5B6570;
    line-height: 1.5;
}

.step-tiles img,
table.step-tiles img {
    display: none;
}

.tile-grid td,
.step-tiles td,
table.tile-grid td,
table.step-tiles td {
    position: relative;
}

.tile-grid td h3 a::after,
.tile-grid td h4 a::after,
.tile-grid td h5 a::after,
.tile-grid td h6 a::after,
.step-tiles td h3 a::after,
.step-tiles td h4 a::after,
.step-tiles td h5 a::after,
table.tile-grid td h3 a::after,
table.tile-grid td h4 a::after,
table.tile-grid td h5 a::after,
table.tile-grid td h6 a::after,
table.step-tiles td h3 a::after,
table.step-tiles td h4 a::after,
table.step-tiles td h5 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

/* ==========================================================================
   ProLink Paligo help center — Applies to panel (custom CSS)
   GENERATED by build-applies-to.js from prolink-help-elements.css.
   Edit the source file and rebuild; do not edit this file by hand.

   Paligo keeps only ONE custom CSS file per layout: uploading this
   replaces whatever custom CSS the layout has now.

   Layout Editor prerequisite — "Classes and Attributes HTML5" panel:
     - "Output taxonomies"  ON (the panel reads the taxonomy-* classes)
   ========================================================================== */

/* Procorem palette: only the colours the panel uses. */
:root {
  /* pill colours: edge, background, text for each category family */
  --pw-role-edge: #0388A6;
  --pw-role-bg: #E6F2F7;
  --pw-role-fg: #02566B;
  --pw-member-edge: #00ADEF;
  --pw-member-bg: #E3F5FD;
  --pw-member-fg: #005273;
  --pw-guest-edge: #91BF32;
  --pw-guest-bg: #F1F8E3;
  --pw-guest-fg: #47610F;
  --pw-config-edge: #FFA500;
  --pw-config-bg: #FFF4E0;
  --pw-config-fg: #85500A;

  /* panel bar */
  --pw-ui-strong: #02566B;
  --pw-ui-panel: #F4F8FA;
  --pw-ui-panel-edge: #DCE6EB;
  --pw-ui-text: #33454F;
  --pw-ui-muted: #4A5A63;
}


/* Category pills inside the panel (one per tagged role). */
.pw-applies-item {
  --pw-pill-bg:   var(--pw-role-bg);
  --pw-pill-fg:   var(--pw-role-fg);
  --pw-pill-edge: var(--pw-role-edge);

  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
  padding: 1px 9px 2px;
  border: 1px solid var(--pw-pill-edge);
  border-radius: 11px;
  background: var(--pw-pill-bg);
  color: var(--pw-pill-fg);
  font-size: 0.78em;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* The small leading glyph is decorative; it is drawn from CSS rather than put
   in the accessible name, so screen readers announce only the label text. */
.pw-applies-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pw-pill-edge);
  flex: none;
}

/* --- variants ----------------------------------------------------------- */

.pw-applies-item[data-variant="role"] {
  --pw-pill-bg:   var(--pw-role-bg);
  --pw-pill-fg:   var(--pw-role-fg);
  --pw-pill-edge: var(--pw-role-edge);
}

.pw-applies-item[data-variant="member"] {
  --pw-pill-bg:   var(--pw-member-bg);
  --pw-pill-fg:   var(--pw-member-fg);
  --pw-pill-edge: var(--pw-member-edge);
}

.pw-applies-item[data-variant="guest"] {
  --pw-pill-bg:   var(--pw-guest-bg);
  --pw-pill-fg:   var(--pw-guest-fg);
  --pw-pill-edge: var(--pw-guest-edge);
}

.pw-applies-item[data-variant="config"] {
  --pw-pill-bg:   var(--pw-config-bg);
  --pw-pill-fg:   var(--pw-config-fg);
  --pw-pill-edge: var(--pw-config-edge);
}


/* ==========================================================================
   APPLICABILITY PANEL ("Applies to")
   ==========================================================================
   A compact bar under a topic's or subsection's title, built by the
   companion JS file from the topic's taxonomy tags. Nothing here
   hides anything; if the script doesn't run, no panel appears and the topic
   reads exactly as published today.

   Requires: Layout Editor > Classes and Attributes HTML5 > "Output
   taxonomies" ON.
   -------------------------------------------------------------------------- */

.pw-applies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 6px 0 18px;
  padding: 8px 14px;
  border: 1px solid var(--pw-ui-panel-edge);
  border-radius: 8px;
  background: var(--pw-ui-panel);
  color: var(--pw-ui-text);
  font-size: 0.92em;
  line-height: 1.4;
}

.pw-applies-heading {
  font-weight: 700;
  color: var(--pw-ui-strong);
}

.pw-applies-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pw-applies-label {
  color: var(--pw-ui-muted);
}

.pw-applies .pw-applies-item {
  font-size: 0.85em;
}

@media print {
  .pw-applies { background: none; }
}

/* =========================================================================
   PROCOREM HELP CENTER: PRODUCT CARDS + ADMINISTRATION BAND
   ADD to the END of the layout's existing custom CSS file (layoutcustomstyle.css).
   Do not upload this as its own file: Paligo allows one custom CSS file per
   layout, and uploading replaces it.

   Scoping: every rule is prefixed with a table Role you set in Paligo
   (Table Properties > Role):
     product-cards   the two-up Procorem Connect / Procorem Inspect cards
     admin-band      the one-row Administration block
   No other table or image in the help content is affected.

   VERIFY FIRST: publish one test table, then right-click > Inspect to see
   where the role class lands. Each selector below covers both common
   placements: on the <table> itself (table.product-cards) and on a
   wrapping <div> (.product-cards table). Delete whichever pair doesn't apply.
   ========================================================================= */

/* ---------- PRODUCT CARDS (role="product-cards") ---------------------- */

table.product-cards,
.product-cards table {
    width: calc(100% + 40px);
    margin: -20px;                  /* cancels the outer spacing */
    border-collapse: separate;      /* lets each cell be its own card */
    border-spacing: 20px;           /* gap between cards, across and down */
    table-layout: fixed;            /* equal-width columns */
    border: 0;
}

table.product-cards td,
.product-cards table td {
    position: relative;             /* anchor for the stretched link */
    vertical-align: top;
    background: #FFFFFF;
    border: 1px solid #E1E5EA;
    border-top: 4px solid #0088CC;  /* Procorem Connect accent */
    border-radius: 6px;
    padding: 28px;
    transition: border-color .15s, box-shadow .15s;
}
/* Accent color follows the PRODUCT, not the column position, so cards can
   be reordered or added without the colors shifting. Each rule matches the
   card's icon file name. Default (above) is the Connect blue.
   To add a product: copy one rule, change the file name and the color. */
table.product-cards td:has(img[src*="procorem-inspect"]),
.product-cards table td:has(img[src*="procorem-inspect"]) {
    border-top-color: #6E9A1E;      /* Procorem Inspect accent */
}
/* Example for a future product (uncomment and edit):
table.product-cards td:has(img[src*="procorem-newproduct"]),
.product-cards table td:has(img[src*="procorem-newproduct"]) {
    border-top-color: #17233B;
}
*/

/* Empty cells (a row with fewer products than columns) render as nothing
   instead of a blank card. A cell counts as empty if it holds no link. */
table.product-cards td:not(:has(a)),
.product-cards table td:not(:has(a)) {
    visibility: hidden;
    border: 0;
    background: none;
    box-shadow: none;
}

table.product-cards td:hover,
.product-cards table td:hover {
    border-color: #00ADEF;
    box-shadow: 0 2px 8px rgba(0, 173, 239, 0.18);
}

/* First paragraph = icon + product name link, side by side */
table.product-cards td p:first-of-type,
.product-cards table td p:first-of-type {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 6px;
}
/* Icon badge. !important beats the inline height Paligo writes on images. */
table.product-cards td img,
.product-cards table td img {
    width: 56px !important;
    height: 56px !important;
    padding: 12px;
    box-sizing: border-box;
    background: #EAF6FC;
    border-radius: 10px;
    flex: none;
}
table.product-cards td p:first-of-type a,
.product-cards table td p:first-of-type a {
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #0070A8;
    text-decoration: none;
}
/* Stretched link: the whole card is clickable through the product name link.
   Keep the product name the ONLY link in the cell, or other links get covered. */
table.product-cards td p:first-of-type a::after,
.product-cards table td p:first-of-type a::after {
    content: "";
    position: absolute;
    inset: 0;
}

/* Description paragraph */
table.product-cards td p,
.product-cards table td p {
    font-size: 15.5px;
    color: #3B4652;
    margin: 0 0 14px;
}

/* "What's inside" list = pills */
table.product-cards td ul,
.product-cards table td ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
table.product-cards td li,
.product-cards table td li {
    margin: 0;
    font-size: 13.5px;
    color: #1B2733;
    background: #F4F6F8;
    border: 1px solid #E1E5EA;
    border-radius: 20px;
    padding: 4px 12px;
}
table.product-cards td li::before,
.product-cards table td li::before {
    content: none;                  /* hide any custom bullet the layout adds */
}


/* Last paragraph = "Go to … help" call to action (plain text, not a link) */
table.product-cards td p:last-of-type,
.product-cards table td p:last-of-type {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    color: #0070A8;
}

/* List paragraphs also match :first-of-type / :last-of-type above, so reset
   them with selectors that outrank those rules. */
table.product-cards td li p,
table.product-cards td li p:first-of-type,
table.product-cards td li p:last-of-type,
.product-cards table td li p,
.product-cards table td li p:first-of-type,
.product-cards table td li p:last-of-type {
    display: block;
    margin: 0;
    font-size: inherit;
    font-weight: 400;
    color: inherit;
}

/* ---------- ADMINISTRATION BAND (role="admin-band") ------------------- */

table.admin-band,
.admin-band table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
    border: 1px solid #E1E5EA;
    border-radius: 6px;
}
table.admin-band td,
.admin-band table td {
    border: 0;
    padding: 24px 28px;
    vertical-align: middle;
}
table.admin-band td:first-child,
.admin-band table td:first-child {
    width: 34%;
}
table.admin-band td:first-child p:first-of-type,
.admin-band table td:first-child p:first-of-type {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 4px;
}
table.admin-band td img,
.admin-band table td img {
    width: 56px !important;
    height: 56px !important;
    padding: 12px;
    box-sizing: border-box;
    background: #EAF6FC;
    border-radius: 10px;
    flex: none;
}
table.admin-band td:first-child p:first-of-type a,
.admin-band table td:first-child p:first-of-type a {
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0070A8;
    text-decoration: none;
}
table.admin-band td:first-child p,
.admin-band table td:first-child p {
    font-size: 15px;
    color: #3B4652;
    margin: 0;
}
/* Right cell: topic links flow into columns */
table.admin-band td:last-child ul,
.admin-band table td:last-child ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3 180px;
    column-gap: 24px;
}
table.admin-band td:last-child li,
.admin-band table td:last-child li {
    margin: 0 0 10px;
    break-inside: avoid;
    font-size: 15.5px;
}
table.admin-band td:last-child li::before,
.admin-band table td:last-child li::before {
    content: none;
}
table.admin-band td:last-child li p,
.admin-band table td:last-child li p {
    margin: 0;
}

/* ---------- PHONE WIDTH: stack cells -------------------------------- */
@media (max-width: 760px) {
    table.product-cards, .product-cards table,
    table.admin-band, .admin-band table {
        width: 100%;
        margin: 0;
        border-spacing: 0;
    }
    table.product-cards td:not(:has(a)),
    .product-cards table td:not(:has(a)) {
        display: none;
    }
    table.product-cards tbody, .product-cards table tbody,
    table.product-cards tr,    .product-cards table tr,
    table.product-cards td,    .product-cards table td,
    table.admin-band tbody,    .admin-band table tbody,
    table.admin-band tr,       .admin-band table tr,
    table.admin-band td,       .admin-band table td {
        display: block;
        width: auto !important;
    }
    table.product-cards td, .product-cards table td {
        margin-bottom: 16px;
    }
}

/* =========================================================================
   FEATURE BAND + CALL-TO-ACTION BUTTON (role="feature-band")
   Used for the Procorem Academy band ("Browse Courses"). Reusable for any
   one-row promo: icon | eyebrow + title + sentence | button.
   CSS only; no JS needed. The button is the link in the LAST cell.
   ========================================================================= */

table.feature-band,
.feature-band table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
    border: 1px solid #E1E5EA;
    border-radius: 8px;
}
table.feature-band td,
.feature-band table td {
    border: 0;
    padding: 24px 20px;
    vertical-align: middle;
}
/* Cell 1: icon badge */
table.feature-band td:first-child,
.feature-band table td:first-child {
    width: 64px;
    padding-left: 28px;
    padding-right: 0;
}
table.feature-band td:first-child img,
.feature-band table td:first-child img {
    width: 64px !important;
    height: 64px !important;
    padding: 13px;
    box-sizing: border-box;
    background: #EAF6FC;
    border-radius: 12px;
    display: block;
}
/* Cell 2: eyebrow (1st para), title (2nd para), sentence (3rd para) */
table.feature-band td:nth-child(2) p,
.feature-band table td:nth-child(2) p {
    margin: 0 0 4px;
    font-size: 15.5px;
    color: #3B4652;
}
table.feature-band td:nth-child(2) p:first-of-type,
.feature-band table td:nth-child(2) p:first-of-type {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4A5560;              /* 4.5:1+ on white */
}
table.feature-band td:nth-child(2) p:nth-of-type(2),
.feature-band table td:nth-child(2) p:nth-of-type(2) {
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1B2733;
}
/* Cell 3: the button */
table.feature-band td:last-child,
.feature-band table td:last-child {
    width: 1%;                   /* shrink to the button */
    white-space: nowrap;
    padding-right: 28px;
    text-align: right;
}
table.feature-band td:last-child p,
.feature-band table td:last-child p {
    margin: 0;
}
table.feature-band td:last-child a,
.feature-band table td:last-child a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;            /* touch target */
    padding: 0 20px;
    background: #0070A8;         /* white text passes 4.5:1 */
    color: #FFFFFF !important;
    border: 2px solid #0070A8;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: background-color .15s, border-color .15s;
}
table.feature-band td:last-child a:hover,
.feature-band table td:last-child a:hover {
    background: #00527C;
    border-color: #00527C;
}
table.feature-band td:last-child a:focus-visible,
.feature-band table td:last-child a:focus-visible {
    outline: 3px solid #00ADEF;
    outline-offset: 3px;
}
/* Optional external-link arrow after the button text. Delete if the
   Academy link stays inside the help center. */
table.feature-band td:last-child a[target="_blank"]::after,
.feature-band table td:last-child a[target="_blank"]::after {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 760px) {
    table.feature-band tbody, .feature-band table tbody,
    table.feature-band tr,    .feature-band table tr,
    table.feature-band td,    .feature-band table td {
        display: block;
        width: auto !important;
        text-align: left;
        white-space: normal;
    }
    table.feature-band td,
    .feature-band table td {
        padding: 16px 20px 0;
    }
    table.feature-band td:last-child,
    .feature-band table td:last-child {
        padding-bottom: 20px;
    }
}

/* =========================================================================
   LINK CARDS (role="link-cards")
   Compact text-only cards: bold link title + one-line description.
   Used for "Working With a State Agency?" on the home page and
   "Looking for Something Else?" on the Connect and Inspect pages.
   Column count = the table's column count (2 or 3 across).
   Each cell: para 1 = the link (title), para 2 = description.
   ========================================================================= */

table.link-cards,
.link-cards table {
    width: calc(100% + 28px);
    margin: -14px;                  /* cancels the outer spacing */
    border-collapse: separate;
    border-spacing: 14px;
    table-layout: fixed;
    border: 0;
}
table.link-cards td,
.link-cards table td {
    position: relative;             /* anchor for the stretched link */
    vertical-align: top;
    background: #FFFFFF;
    border: 1px solid #E1E5EA;
    border-radius: 6px;
    padding: 16px 18px;
    transition: border-color .15s, box-shadow .15s;
}
table.link-cards td:hover,
.link-cards table td:hover {
    border-color: #00ADEF;
    box-shadow: 0 2px 8px rgba(0, 173, 239, 0.18);
}
table.link-cards td p,
.link-cards table td p {
    margin: 0;
    font-size: 14.5px;
    color: #4A5560;
}
table.link-cards td p:first-of-type,
.link-cards table td p:first-of-type {
    margin-bottom: 4px;
}
table.link-cards td p:first-of-type a,
.link-cards table td p:first-of-type a {
    font-weight: 700;
    font-size: 16px;
    color: #0070A8;
    text-decoration: none;
}
/* Whole card clickable through the title link (keep it the only link). */
table.link-cards td p:first-of-type a::after,
.link-cards table td p:first-of-type a::after {
    content: "";
    position: absolute;
    inset: 0;
}
table.link-cards td p:first-of-type a:focus-visible,
.link-cards table td p:first-of-type a:focus-visible {
    outline: none;
}
table.link-cards td:focus-within,
.link-cards table td:focus-within {
    outline: 3px solid #00ADEF;     /* keyboard focus ring on the whole card */
    outline-offset: 2px;
}
/* Empty cells (fewer links than columns) are hidden, not blank cards. */
table.link-cards td:not(:has(a)),
.link-cards table td:not(:has(a)) {
    visibility: hidden;
    border: 0;
    background: none;
    box-shadow: none;
}

@media (max-width: 760px) {
    table.link-cards, .link-cards table {
        width: 100%;
        margin: 0;
        border-spacing: 0;
    }
    table.link-cards tbody, .link-cards table tbody,
    table.link-cards tr,    .link-cards table tr,
    table.link-cards td,    .link-cards table td {
        display: block;
        width: auto !important;
    }
    table.link-cards td, .link-cards table td {
        margin-bottom: 12px;
    }
    table.link-cards td:not(:has(a)),
    .link-cards table td:not(:has(a)) {
        display: none;
    }
}

/* ==========================================================================
   Screenshot hotspot popovers - v2 (data lives in the Paligo topic)
   Paligo custom CSS. Upload once per layout (Layout Editor > "CSS, JS, logos
   and other assets" > CSS). Never edited per image. Pair with
   hotspot-popovers.js, which explains how the topic is tagged.

   ".hotspot-shot" is the class Paligo puts on the <div> it wraps around an
   image whose mediaobject has role="hotspot-shot;hp-...". The markers and
   popovers are injected inside that div by the JS and positioned in percent
   of the image's own width/height, so they stay aligned when it scales.
   ========================================================================== */

.hotspot-shot {
  position: relative;
  display: block;
  width: fit-content;   /* shrink to the screenshot's own width, never upscale it */
  max-width: 100%;
}

.hotspot-shot img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* If your layout/theme adds padding or an extra wrapper between the
   .hotspot-shot div and the <img> (check in Preview; the default themes
   usually don't), the markers will sit slightly off target. Add a
   compensating rule here if that happens on your layout. */

.pw-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0388A6;      /* Procorem aqua - swap for the relevant product palette */
  color: #fff;
  border: 2px solid #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* Two rings: a teal one that shows on light backgrounds and a white one
     outside it that shows on dark or blue ones, so the halo is visible
     wherever the marker lands on the screenshot. */
  box-shadow: 0 0 0 4px rgba(3, 136, 166, 0.45), 0 0 0 7px rgba(255, 255, 255, 0.6), 0 1px 4px rgba(0, 0, 0, 0.35);
  z-index: 5;
  padding: 0;
  animation: pw-pulse 2.2s ease-in-out infinite;
}

/* animation: none (not paused) so these static shadows actually apply. */
.pw-hotspot:hover,
.pw-hotspot:focus-visible,
.pw-hotspot[aria-expanded="true"] {
  animation: none;
  background: #FFA500;
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.55), 0 0 0 7px rgba(255, 255, 255, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

@keyframes pw-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(3, 136, 166, 0.45), 0 0 0 7px rgba(255, 255, 255, 0.6), 0 1px 4px rgba(0, 0, 0, 0.35); }
  50%      { box-shadow: 0 0 0 8px rgba(3, 136, 166, 0.25), 0 0 0 11px rgba(255, 255, 255, 0.3), 0 1px 4px rgba(0, 0, 0, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .pw-hotspot { animation: none; }
}

.pw-popover {
  position: absolute;
  max-width: 230px;
  background: #1f2733;
  color: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.4;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  z-index: 10;
}

.pw-popover::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #1f2733;
  transform: rotate(45deg);
}

/* The JS sets --pw-arrow-x so the arrow points at the marker; 50% is the fallback. */
.pw-popover[data-arrow="top"]::before    { top: -5px;    left: var(--pw-arrow-x, 50%); margin-left: -6px; }
.pw-popover[data-arrow="bottom"]::before { bottom: -5px; left: var(--pw-arrow-x, 50%); margin-left: -6px; }

.pw-popover strong {
  display: block;
  padding-right: 22px;      /* keep the title clear of the close button */
  color: #7fd6f2;
  font-size: 12.5px;
  margin-bottom: 4px;
}

.pw-popover-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #9aa6b5;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 2px;
}

.pw-popover-close:hover {
  color: #fff;
}

/* Accessible fallback: a plain expandable list of the same callouts,
   placed just below .pw-screenshot-wrap in the topic markup. Keep this -
   it's how keyboard/no-JS/screen-reader readers get the same content. */
.pw-callout-list {
  margin: 0.6em 0;
}

.pw-callout-list summary {
  cursor: pointer;
  color: #0388A6;
  font-weight: 600;
  list-style: none;
}

.pw-callout-list summary::-webkit-details-marker {
  display: none;
}

/* Disclosure arrow: right-pointing when closed, rotated down when open. */
.pw-callout-list summary::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 0.4em;
  transition: transform 0.15s;
}

.pw-callout-list[open] > summary::before {
  transform: rotate(90deg);
}
