/*
Theme Name: Platform Parent
Version: 0.6
*/



/* Shared Business and Good Causes checkout card. */
#boost-form {
    max-width: 450px;
    width: 95%;
    margin: 0 auto;
}
.boost-form-rating {
    width: 95%;
    max-width: 450px;
    margin: 1.5rem auto 0;
    text-align: center;
}
.boost-form-rating-stars {
    display: flex;
    justify-content: center;
    gap: .35rem;
    color: #f6c453;
    line-height: 1;
}
.boost-form-rating-stars .bi {
    width: clamp(1.6rem, 4vw, 2rem);
    height: clamp(1.6rem, 4vw, 2rem);
}
.boost-form-rating-label {
    display: block;
    margin-top: .55rem;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}
.boost-form-rating a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    border: 0;
}
.boost-form-rating a:hover .boost-form-rating-label {
    text-decoration: underline;
    text-underline-offset: .2em;
}
.boost-form-rating a:focus-visible {
    outline: 2px solid #f6c453;
    outline-offset: .45rem;
    border-radius: var(--bs-border-radius, 1rem);
}
.boost-usps {
    padding: 7rem 0 3rem;
    background: var(--backgroundcolor);
}
.boost-usps-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6rem 1.5rem;
}
.boost-usps .boost-usp-card {
    position: relative;
    min-width: 0;
    padding: 6rem 1.25rem 2rem;
    border-radius: var(--bs-border-radius, 1rem);
    background: var(--platform-colour-panel, #fff);
    color: var(--bs-body-color, #20302a);
    text-align: center;
}
.boost-usp-visual {
    position: absolute;
    top: -4.5rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 9rem;
}
.boost-usp-visual::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 9rem;
    height: .75rem;
    border-radius: 50%;
    background: #f2f3f5;
}
.boost-usp-icon {
    display: grid;
    place-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: var(--bs-border-radius, 1rem);
    background: var(--bluecolor);
    color: #fff;
}
.boost-usps .boost-usp-icon .bi {
    width: 3.5rem;
    height: 3.5rem;
}
.boost-usp-review-link {
    display: block;
    border: 0;
}
.boost-usp-review-link:focus-visible {
    outline: 3px solid var(--greencolor);
    outline-offset: 3px;
    border-radius: var(--bs-border-radius, 1rem);
}
.boost-usps .boost-usp-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: inherit;
}
@media (min-width: 576px) {
    .boost-usps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    /* Match the hero's larger row gutter without overflowing narrow desktops. */
    .boost-landing > .container { padding-right: 1.5rem; padding-left: 1.5rem; }
    .boost-usps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* **********************************************************
Main Root
********************************************************** */

:root,
[data-bs-theme="light"] {
    --bs-border-radius: 1rem;
    --bs-border-radius-sm: var(--bs-border-radius);
    --bs-border-radius-lg: var(--bs-border-radius);
    --bs-border-radius-xl: var(--bs-border-radius);
    --bs-border-radius-xxl: var(--bs-border-radius);
    --bs-border-radius-pill: var(--bs-border-radius);
}

:root {
    --bluecolor: #1F2B52;
    --darkbluecolor: #131f3e;   
    --greencolor: #2cb08a;
    --darkgreencolor: #1f9573;
    --goldcolor: #F1B980;
    --blackcolor: #000000;
    --whitecolor: #ffffff;
    --transparentcolor: #0000;
    --backgroundcolor: var(--platform-colour-on-dark, #f0f4f8);
    --boxshadow: 0 0.5rem 0.75rem -0.25rem rgb(39 48 54 / 5%);
    --borderradius: var(--bs-border-radius);
    --bordercolor: #ffffff;
    --positiverem: 0.9375rem;
    --negativerem: -0.9375rem;
    --fontsizelarge: 1.25rem;
    --fontsizemedium: 1rem;
    --fontsizesmall: 0.75rem;
    --defaultfont: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}


* {
    //border: 1px solid red;
}

/* **********************************************************
Bootstrap
********************************************************** */

:root {
    --bs-dark-rgb: 19, 31, 62;
    --bs-primary-rgb: 31, 43, 82;
    --bs-secondary-rgb: 44, 176, 138;
}

.btn-primary {
     color: #fff;
     font-weight: 700;
     --bs-btn-color: #fff;
     --bs-btn-bg: var(--greencolor);
     --bs-btn-border-color: var(--greencolor);
     --bs-btn-hover-color: #fff;
     --bs-btn-hover-bg: var(--darkgreencolor);
     --bs-btn-hover-border-color: var(--darkgreencolor);
     --bs-btn-focus-shadow-rgb: 49, 132, 253;
     --bs-btn-active-color: #fff;
     --bs-btn-active-bg: var(--darkgreencolor);
     --bs-btn-active-border-color: var(--darkgreencolor);
     --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
     --bs-btn-disabled-color: #fff;
     --bs-btn-disabled-bg: var(--greencolor);
     --bs-btn-disabled-border-color: var(--greencolor);
}

.accordion h3,
.accordion .platform-faq-question {
    color: var(--bs-heading-color);
}

p {
    color: var(--bs-heading-color);
}

.accordion p,
.table > :not(caption) > * > *,
.table i,
.table svg.bi {
    color: var(--bs-heading-color);
}

.container {
    max-width: 70rem;
}

.btn:hover {
     color: var(--whitecolor);
     background-color: var(--goldcolor);
     border-color: var(--goldcolor);
}

a {
    text-decoration: none;
    color: var(--bluecolor);
}

/* Text links in page copy and modal bodies, not navigation or linked artwork. */
:where(
    #page > .content :is(.article-body, .entry-content, #description, #text, .accordion-body, .alert, p, li, dt, dd, blockquote, figcaption, td, th, label) a[href],
    .modal-body a[href]
):not(:where(
    .btn, .badge, .nav-link, .dropdown-item, .page-link, .list-group-item,
    .wp-element-button, .wp-block-button__link,
    [role="button"], [role="tab"], [role="menuitem"],
    [data-bs-toggle], [data-bs-dismiss],
    header a, footer a, nav a, aside a, menu a,
    [role="navigation"] a, [role="menu"] a, [role="tablist"] a,
    .nav a, .navbar a, .dropdown-menu a, .pagination a, .wrap-nav a,
    #menuModal a, #dashboardSidebar a, .modal-header a, .modal-footer a,
    .media-modal a,
    .btn a, .wp-block-buttons a
)):not(:has(img, picture, svg, video, canvas, .bi, .icon, [role="img"], .card)) {
    border-bottom: 1px solid currentColor;
}

img {
    max-width: 100%;
    max-height: auto; 
    height: auto;       
}

.img-fluid {
    max-width: 100%;
    width: 100%;
    height: auto;
}

iframe {
    width: 100% !important;
    max-width: 100%  !important;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button,
.accordion-button:not(.collapsed) {
    background-color: transparent;
}

.accordion-button:not(.collapsed) {
    color: var(--bluecolor);
}

/* **********************************************************
CSS
********************************************************** */

html {
    scroll-padding-top: 100px;
}

html,
body {
    background: var(--backgroundcolor);
    color: var(--bs-body-color, #20302a);
}

p:last-child {
    margin: 0;
}

/* Only the icons used on the page are rendered, with no icon font download. */
svg.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
    flex-shrink: 0;
}

header i,
header svg.bi {
    font-size: 1.5rem;
}

/* **********************************************************
Clearfix
********************************************************** */

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
 }

.clearfix {
    display: inline-block;
    clear: both;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
    clear: both;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html .clearfix {
    zoom: 1;
}

*:first-child+html .clearfix {
    zoom: 1;
}

.group:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}

* html .group {
    zoom: 1;
}

*:first-child+html .group {
    zoom: 1;
}

.group:before,
.group:after {
    content: "";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    zoom: 1;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

:focus {
    outline: none !important;
    border-color: var(--bs-border-color) !important;
    box-shadow: none !important;
}

.screen-reader-text {
    display: none !important;
    visibility: hidden !important;
}

/* **********************************************************
Card
********************************************************** */

.card > .card-main,
.card > .card-main > .card-image,
.card > .card-image {
    border-start-start-radius: inherit;
    border-start-end-radius: inherit;
}

.card-image {
    position: relative;
    aspect-ratio: 10 / 7;
    overflow: hidden;
}

.card-image > .card-img-top {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.card-logo img,
.card .profile-logo img,
.listing-title-logo {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#cover-image {
    position: relative;
    aspect-ratio: 10 / 7;
    overflow: hidden;
}

#cover-image > .listing-cover-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.feed-item > img,
.news-listing-embed img {
    display: block;
    width: 100%;
    aspect-ratio: 10 / 7;
    height: auto !important;
    object-fit: cover;
}

/* Reviewed wordmarks need their complete image on profiles and directory cards. */
#cover-image.contains-logo > .listing-cover-image,
.card-image.contains-logo > .card-img-top {
    object-fit: contain;
    background: var(--platform-colour-panel, #fff);
}

.card-image.contains-logo .card-logo {
    display: none;
}

.card-logo {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    width: auto;
    height: auto;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: var(--boxshadow);
}

.card-facts .card-fact,
.card-facts .platform-listing-info {
    font-size: 12px;
    line-height: 1.3;
}
.card-facts .card-fact {
    max-width: 100%;
    border-radius: var(--bs-border-radius, 1rem);
    background: var(--platform-colour-panel, var(--bs-body-bg));
    color: var(--platform-colour-ink, var(--bs-body-color));
    font-weight: 650;
    overflow-wrap: anywhere;
    text-align: start;
    white-space: normal;
}
.card-fact > span { min-width: 0; }
.title-bottom > .listing-curated-badge { margin-top: .5rem; }

.card .profile {
    height: auto;
    display: flex;
    flex-direction: column;
    flex: initial;
    background: var(--platform-colour-raised, #f1f4f9);
    padding: 0.5rem;
    margin: 0;
    margin-top: auto;
    border-radius: var(--bs-border-radius);
}

.card .profile-logo {
    float: left;
    width: auto;
    height: auto;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    background: var(--platform-colour-panel, #fff);
    margin-right: 5%;
}

.card .profile-name {
    float: left;
    line-height: 13px;
    font-size: 13px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    height: 40px;
}

/* **************************************************************************
Modal
*************************************************************************** */

.platform-modal {
    --platform-modal-unit: 1rem;
    --bs-modal-width: calc(var(--platform-modal-unit) * 36);
    --bs-modal-header-padding-x: var(--platform-modal-unit);
    --bs-modal-header-padding-y: var(--platform-modal-unit);
    font-size: var(--platform-modal-unit);
    line-height: 1.5;
    --bs-modal-margin: calc(var(--platform-modal-unit) * .5);
    color: var(--platform-colour-ink, #20302a);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body:has(.platform-modal.show) > .modal-backdrop {
    --bs-backdrop-bg: var(--platform-colour-ink, #20302a);
    --bs-backdrop-opacity: .72;
}
.platform-modal .modal-dialog {
    max-width: var(--bs-modal-width);
}
.platform-modal .modal-content {
    border: 1px solid var(--platform-colour-border, #d5dcda);
    border-radius: var(--bs-border-radius, 1rem);
    background: var(--platform-colour-panel, #fffdfa);
    box-shadow: 0 calc(var(--platform-modal-unit) * 1.5) calc(var(--platform-modal-unit) * 4) rgb(0 0 0 / .16);
}
.platform-modal .modal-header {
    align-items: flex-start;
    padding: calc(var(--platform-modal-unit) * 1.5) calc(var(--platform-modal-unit) * 1.5) calc(var(--platform-modal-unit) * .75);
    border-bottom: 0;
}
.platform-modal .modal-title {
    color: inherit;
    font-size: calc(var(--platform-modal-unit) * 1.25);
    font-weight: 750;
}
.platform-modal .btn-close {
    --bs-btn-close-color: var(--platform-colour-ink, #20302a);
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2320302a'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
    --bs-btn-close-opacity: .7;
    --bs-btn-close-hover-opacity: 1;
    --bs-btn-close-focus-shadow: none;
}
.platform-modal .modal-body {
    padding: 0 calc(var(--platform-modal-unit) * 1.5) calc(var(--platform-modal-unit) * 1.5);
}
.platform-modal .modal-footer {
    padding: 0 calc(var(--platform-modal-unit) * 1.5) calc(var(--platform-modal-unit) * 1.5);
    border: 0;
}

.platform-modal__note {
    padding: calc(var(--platform-modal-unit) * .9) calc(var(--platform-modal-unit) * 1);
    border: 1px solid var(--platform-colour-border, #d5dcda);
    border-radius: var(--bs-border-radius, 1rem);
    background: var(--platform-colour-surface, #f8f5ef);
    font-size: calc(var(--platform-modal-unit) * .9);
    line-height: 1.5;
}
.platform-modal__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--platform-modal-unit) * .6);
}
.platform-modal__option {
    display: flex;
    width: 100%;
    min-height: calc(var(--platform-modal-unit) * 3);
    align-items: center;
    gap: calc(var(--platform-modal-unit) * .65);
    padding: calc(var(--platform-modal-unit) * .65) calc(var(--platform-modal-unit) * .85);
    border: 1px solid var(--platform-colour-border, #d5dcda);
    border-radius: var(--bs-border-radius, 1rem);
    background: transparent;
    color: inherit;
    font-weight: 650;
    text-align: start;
    text-decoration: none;
}
.platform-modal__option .bi {
    flex-shrink: 0;
    color: var(--platform-colour-link, #075f4d);
    font-size: calc(var(--platform-modal-unit) * 1.1);
}
.platform-modal__option:hover {
    border-color: var(--platform-colour-link, #075f4d);
    background: var(--platform-colour-accent-soft, #e1f4ee);
    color: inherit;
}
.platform-modal :is(.platform-modal__option, .btn-close):focus-visible {
    outline: 3px solid var(--platform-colour-link, #075f4d);
    outline-offset: 2px;
}

/* Counter the site's smaller root font on mobile, as in the listing info dialog. */
@media (max-width: 575px) {
    .platform-modal { --platform-modal-unit: calc(1rem / .9); }
}

@media (max-width: 575.98px) {
    .platform-modal__options { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 576px) {
    .platform-modal { --bs-modal-margin: calc(var(--platform-modal-unit) * 1.75); }
}

.platform-contact-social .bi { font-size: 2rem; }

#menuModal {
    color: var(--bs-body-color, #20302a);
    font-size: 1rem;
    line-height: 1.5;
}
#menuModal .offcanvas-header {
    border-bottom: 1px solid var(--platform-colour-border, #dee2e6);
}
#menuModal .offcanvas-title {
    color: inherit;
    font-size: 1.25rem;
    line-height: 1.4;
}
#menuModal .nav {
    --bs-nav-link-color: var(--platform-colour-muted, #495057);
    --bs-nav-link-hover-color: var(--platform-colour-ink, #1f2b52);
    --bs-nav-link-disabled-color: var(--platform-colour-muted, #6c757d);
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: var(--platform-colour-ink, #1f2b52);
}
#menuModal .nav-link {
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--bs-border-radius);
}
#menuModal .nav-link:not(.active):not(:disabled):hover {
    background-color: var(--platform-colour-surface, #f0f4f8);
}
#menuModal :is(.nav-link, .btn-close):focus-visible {
    outline: 2px solid var(--platform-colour-ink, #1f2b52);
    outline-offset: 3px;
}

.contact-button-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1030;
}

.contact-button {
    position: fixed;
    right: 2.5%;
    bottom: 2.5%;
    background: var(--greencolor);
    padding: 15px;
    width: 72px;
    height: 72px;
    line-height: 1;
    font-size: 2.5rem;
    color: #fff;
    border-radius: 100%;
    font-weight: 700;
    box-shadow: 0 0 45px rgb(0 0 0 / 16%) !important;
    z-index: 1030;
    cursor: pointer;
    text-align: center;
}

.contact-button:hover {
    background: var(--platform-colour-link, #F1B980) !important;
}

.contact-button:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--platform-colour-link, #222c52) !important;
}

/* **************************************************************************
Footer
*************************************************************************** */

footer {
    color: var(--platform-colour-on-dark-muted, #a7b4de);
}

footer h3 {
    color: var(--platform-colour-on-dark, #f0f4f8);
}

footer a {
    color: var(--platform-colour-on-dark-muted, #a7b4de);
}

/* **************************************************************************
Listing
*************************************************************************** */

#listing #edit {
    line-height: 38px;
    color: #fff;
    font-size: 1.25em;
}

#listing .title-from a {
    color: #ffff;
    border-bottom: 1px solid #ffffff;
}

#listing .block,
#listing.post-listing .native-news-layout .entry-content > section,
#listing.post-listing .native-news-layout .entry-content:not(:has(> section)) {
    background: var(--platform-colour-panel, #ffffff);
    box-shadow: var(--boxshadow);
    border: 1px solid var(--platform-colour-border, #f0f0f0);
    border-radius: var(--borderradius);
    overflow: hidden;
}

#listing .detail-map {
    background-image: url("images/listing/map.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: var(--borderradius);
}

#listing .detail {
    font-size: 1.25rem;
}

#listing .detail i,
#listing .detail svg.bi {
    margin-right: 10px;
    color: var(--greencolor);
}

#listing .rep-item {
    border: 1px solid var(--platform-colour-border, #cdcdcd);
    border-radius: var(--borderradius);
    overflow: hidden;
    float: left;
    margin-right: 3%;
    margin-bottom: 3%;
    width: 30%;
}

#listing #social-media i,
#listing #social-media svg.bi {
    font-size: 2rem;
}

#listing #legal p {
    font-size: 75%;
    opacity: 50%;
}

#listing #video .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

#listing #video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#listing #description div {
    margin-bottom: 1rem;
}

/* **************************************************************************
News
*************************************************************************** */

#news .block {
    background: var(--platform-colour-panel, #ffffff);
    box-shadow: var(--boxshadow);
    border: 1px solid var(--platform-colour-border, #f0f0f0);
    border-radius: var(--borderradius);
    overflow: hidden;
}

#news .byline {
    background: var(--platform-colour-raised, #f1f4f9);
    border-radius: var(--bs-border-radius);
}

#news .byline .row {
    display: flex;
    align-items: center; /* Vertically centre-align the contents */
}

#news .byline .col-4, .byline .col-8 {
    display: flex;
    align-items: left; /* Vertically centre-align within the column */
}

#news .byline .col-8 {
    flex-direction: column; /* Stack text vertically in this column */
}

/* v2 */

#news #v2 .module-text h2.h1 {
    margin-bottom: 1.5rem;
}

#news #v2 .article-item {
    background: var(--platform-colour-raised, #f1f4f9);
    border-radius: var(--bs-border-radius);
}

#news #v2 .article-item h2.h1 {
    margin-bottom: 1.5rem;
}

#news #v2 .article-item i,
#news #v2 .article-item svg.bi {
    font-size: 1.3rem;
}

#news .ig-embed {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

#news .ig-embed iframe {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* v1 */

#news #v1 .list-item {
    background: var(--platform-colour-raised, #f1f4f9);
    border-radius: var(--bs-border-radius);
}

#news #v1 .list-item img {
    border-radius: var(--bs-border-radius);
    box-shadow: var(--boxshadow);
}

/* v0 */

#news #v0 img {
    border-radius: var(--bs-border-radius);
    box-shadow: var(--boxshadow);
    margin-top: 1rem;
    margin-bottom: 1rem;   
    width: 100%;
    max-width: 100%;
}

#news #v0 figure {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Native listing media thumbnails. */
#add .thumbnail,
#edit .thumbnail {
    border: none;
    box-shadow: none;
    display: block;
    line-height: 0;
    max-width: 100%;
    margin-bottom: 0;
}

/* **************************************************************************
Extra Extra Large - 1400px to 9999px
*************************************************************************** */

@media only screen and (min-width: 1400px) and (max-width: 9999px) {

    .hide-xxlarge, .hide-xxl, .col-xxl-0 {
        display: none !important;
    }

}

/* **************************************************************************
Extra Large - 1200px to 1399px
*************************************************************************** */

@media only screen and (min-width: 1200px) and (max-width: 1399px) {

    .hide-xlarge, .hide-xl, .col-xl-0 {
        display: none !important;
    }

}

/* **************************************************************************
Large - 992px to 1199px
*************************************************************************** */

@media only screen and (min-width: 992px) and (max-width: 1199px) {

    .hide-large, .hide-lg, .col-lg-0 {
        display: none !important;
    }

}

/* **************************************************************************
Medium - 768px to 991px
*************************************************************************** */

@media only screen and (min-width: 768px) and (max-width: 991px) {
   
    .hide-medium, .hide-md, .col-md-0 {
        display: none !important;
    }

}

/* **************************************************************************
Small - 576px to 767px
*************************************************************************** */

@media only screen and (min-width: 576px) and (max-width: 767px) {

    .hide-small, .hide-sm, .col-sm-0 {
        display: none !important;
    }

}

/* **************************************************************************
Extra Small - 0px to 575px
*************************************************************************** */

@media only screen and (min-width: 0px) and (max-width: 575px) {

    .hide-xsmall, .hide-xs, .col-xs-0 {
        display: none !important;
    }

    html {
        font-size: 90%;
    }

}

/* PLATFORM_PARENT_DASHBOARD_START
 * Shared stylesheet source. All member rules remain explicitly dashboard-scoped.
 * Appended after public styles to preserve the former dashboard.css cascade.
 */
/* Bootstrap component tokens and legacy-theme corrections, member pages only. */
.platform-dashboard {
    --bs-link-color: var(--platform-colour-link, #1f2b52);
    --bs-link-hover-color: var(--platform-colour-link-hover, #131f3e);
    --bs-link-color-rgb: var(--platform-colour-link-rgb, 31, 43, 82);
    --bs-link-hover-color-rgb: var(--platform-colour-link-hover-rgb, 19, 31, 62);
    color: var(--bs-body-color, #20302a);
    font-size: 1rem;
    line-height: 1.5;
}
.platform-dashboard #dashboardMain { min-width: 0; }
.platform-dashboard .h3 { font-size: 1.5rem; line-height: 1.3; }
.platform-dashboard .h5 { font-size: 1.125rem; line-height: 1.4; }
.platform-dashboard .card { --bs-card-border-color: var(--platform-colour-border, #dee2e6); box-shadow: none; }
.platform-dashboard .nav {
    --bs-nav-link-color: var(--platform-colour-muted, #495057);
    --bs-nav-link-hover-color: var(--platform-colour-ink, #1f2b52);
    --bs-nav-link-disabled-color: var(--platform-colour-muted, #6c757d);
}
.platform-dashboard .nav-pills {
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: var(--platform-colour-ink, #1f2b52);
}
.platform-dashboard .nav-link { font-weight: 500; border-radius: var(--bs-border-radius); }
.platform-dashboard .nav-link:not(.active):not(:disabled):hover { background-color: var(--platform-colour-surface, #f0f4f8); }
.platform-dashboard .btn-primary {
    --bs-btn-bg: var(--platform-colour-action, #1f2b52);
    --bs-btn-border-color: var(--platform-colour-action, #1f2b52);
    --bs-btn-hover-bg: var(--platform-colour-link, #131f3e);
    --bs-btn-hover-border-color: var(--platform-colour-link, #131f3e);
    --bs-btn-active-bg: var(--platform-colour-link, #131f3e);
    --bs-btn-active-border-color: var(--platform-colour-link, #131f3e);
    --bs-btn-disabled-bg: var(--platform-colour-action, #1f2b52);
    --bs-btn-disabled-border-color: var(--platform-colour-action, #1f2b52);
    --bs-btn-focus-shadow-rgb: var(--platform-colour-link-rgb, 31, 43, 82);
}
.platform-dashboard .btn-outline-primary {
    --bs-btn-color: var(--platform-colour-link, #1f2b52);
    --bs-btn-border-color: var(--platform-colour-link, #1f2b52);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--platform-colour-link, #1f2b52);
    --bs-btn-hover-border-color: var(--platform-colour-link, #1f2b52);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--platform-colour-dark, #131f3e);
    --bs-btn-active-border-color: var(--platform-colour-dark, #131f3e);
    --bs-btn-disabled-color: var(--platform-colour-link, #1f2b52);
    --bs-btn-disabled-border-color: var(--platform-colour-link, #1f2b52);
    --bs-btn-focus-shadow-rgb: var(--platform-colour-link-rgb, 31, 43, 82);
}
/* Match the configured action fill and text for branded controls. */
.platform-dashboard .btn-brand-green {
    --bs-btn-color: var(--platform-colour-action-text, #131f3e);
    --bs-btn-bg: var(--platform-colour-action, #2cb08a);
    --bs-btn-border-color: var(--platform-colour-action, #2cb08a);
    --bs-btn-hover-color: var(--platform-colour-action-text, #131f3e);
    --bs-btn-hover-bg: var(--platform-colour-link, #249f7b);
    --bs-btn-hover-border-color: var(--platform-colour-link, #249f7b);
    --bs-btn-active-color: var(--platform-colour-action-text, #131f3e);
    --bs-btn-active-bg: var(--platform-colour-link, #249f7b);
    --bs-btn-active-border-color: var(--platform-colour-link, #249f7b);
    --bs-btn-disabled-color: var(--platform-colour-action-text, #131f3e);
    --bs-btn-disabled-bg: var(--platform-colour-action, #2cb08a);
    --bs-btn-disabled-border-color: var(--platform-colour-action, #2cb08a);
    --bs-btn-focus-shadow-rgb: var(--platform-colour-link-rgb, 19, 31, 62);
}
/* The public theme's gold .btn:hover must not override Bootstrap states here. */
.platform-dashboard .btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}
.platform-dashboard .btn.platform-choice-card {
    --bs-btn-hover-color: var(--bs-btn-color);
    --bs-btn-hover-bg: var(--bs-tertiary-bg);
    --bs-btn-hover-border-color: var(--bs-btn-border-color);
}
.platform-dashboard .btn-check:checked + .platform-choice-card {
    --bs-btn-hover-color: var(--bs-btn-active-color);
    --bs-btn-hover-bg: var(--bs-btn-active-bg);
    --bs-btn-hover-border-color: var(--bs-btn-active-border-color);
}
.platform-dashboard .btn:focus-visible,
.platform-dashboard .nav-link:focus-visible {
    outline: 2px solid var(--platform-colour-ink, #1f2b52);
    outline-offset: 3px;
}
.platform-dashboard header .btn:focus-visible { outline-color: #fff; }
.platform-dashboard .form-control:focus {
    border-color: var(--platform-colour-ink, #1f2b52);
    box-shadow: 0 0 0 .2rem var(--platform-colour-focus, rgba(31, 43, 82, .15));
}
.platform-dashboard .form-control[readonly] { background-color: var(--bs-tertiary-bg); }
.platform-dashboard .form-label { font-weight: 600; }
.platform-dashboard .dashboard-feed .table { --bs-table-hover-bg: var(--platform-colour-raised, #f0f4f8); margin-bottom: 0; }
.platform-dashboard .dashboard-feed thead th { font-size: 1rem; font-weight: 600; white-space: nowrap; }
.platform-dashboard .dashboard-feed th,
.platform-dashboard .dashboard-feed td { padding: .875rem 1rem; }
.platform-dashboard .dashboard-feed tbody th { min-width: 8rem; overflow-wrap: anywhere; }
.platform-dashboard .dashboard-feed tbody tr:last-child > * { border-bottom: 0; }

/* PLATFORM_PARENT_DASHBOARD_END */

/* One control for the input and the primary action on each login step. */
.platform-login-entry {
    display: flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem;
    background: var(--platform-colour-panel, #fff);
    border: 1px solid var(--platform-colour-control-border, #a6b1bf);
    border-radius: var(--bs-border-radius, 1rem);
}
.platform-login-entry:focus-within {
    border-color: var(--platform-colour-ink, #1f2b52);
    box-shadow: 0 0 0 .2rem var(--platform-colour-focus, rgba(31, 43, 82, .2));
}
.platform-login-entry > .form-control {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    min-height: 44px;
    padding: .5rem .625rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.platform-login-entry > .form-control:focus {
    background: transparent;
    box-shadow: none;
    outline: 0;
}
.platform-login-entry > .btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: .5rem .75rem;
    border-radius: var(--bs-border-radius, 1rem);
}

.platform-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .375rem;
}
.platform-card-actions .platform-card-view {
    flex: 1 0 3rem;
    min-height: 2.75rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.platform-card-actions .platform-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
}
.platform-card-actions [hidden] { display: none; }
[data-listing-card][hidden] { display: none !important; }
.platform-choice-feedback:not(:empty) {
    display: block;
    margin-top: .375rem;
    overflow-wrap: anywhere;
}
[data-listing-choice][aria-busy="true"] button {
    cursor: wait;
    opacity: .65;
}

.platform-share-dialog [data-platform-copy-share] { min-inline-size: 6.25rem; }
.platform-share-dialog .platform-share-status:not(:empty) { margin-top: .5rem; }
.platform-share-options { margin-top: .75rem; }
.platform-share-dialog .platform-share-option-icon {
    width: 1.25em;
    height: 1.25em;
}

.platform-listing-info {
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius, 1rem);
    background: var(--platform-colour-panel, var(--bs-body-bg));
    color: var(--bs-link-color);
}
.platform-listing-info:hover,
.platform-listing-info:focus-visible {
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-link-hover-color);
}
.platform-listing-info .bi { width: 1.15rem; height: 1.15rem; }
.card-facts .platform-listing-info {
    position: relative;
    min-height: 0;
    padding: .5rem;
}
.card-facts .platform-listing-info .bi {
    width: 1lh;
    height: 1lh;
}
/* Keep a 44px tap area around the shorter badge. */
.card-facts .platform-listing-info::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
}
.card-facts:has(.platform-listing-info) { align-items: center !important; }
.platform-listing-support-item {
    margin-bottom: calc(var(--platform-modal-unit) * .75);
    font-size: calc(var(--platform-modal-unit) * 1.05);
    font-weight: 700;
    line-height: 1.35;
}
.platform-listing-support-description {
    margin-bottom: calc(var(--platform-modal-unit) * 1.25);
}
.platform-listing-support-description a {
    text-underline-offset: .15em;
}
.platform-listing-support-section-title {
    margin-bottom: calc(var(--platform-modal-unit) * .6);
    font-size: calc(var(--platform-modal-unit) * .85);
    font-weight: 700;
}

