/* WordPress bridge: retains original prototype layout and supports native routes. */
body .hrq-content {display:block; min-height:40vh;}
.toprow .lang a {color:#263c46; text-decoration:none;font-size:13px;font-weight:700;}
.toprow .lang a.selected {color:#e87780;}
.toprow .lang a:focus-visible {outline:2px solid #e87780;outline-offset:3px;}
.toprow .brand img {object-fit:contain;}
.hrq-content .hrq-page-pane {display:block;}
.hrq-content a:focus-visible {outline:2px solid #e87780;outline-offset:3px;}
.hrq-wp-contact-form {display:block;}
.hrq-wp-contact-form .contact-form {display:block;}
.hrq-form-feedback {padding:12px 16px;border:1px solid #c7d6d8;background:#ecf5f4;border-radius:8px;margin-bottom:20px;}
.hrq-form-feedback.error {background:#fff4f4;border-color:#eccaca;}
.hrq-hp {position:absolute;left:-9999px;height:1px;width:1px;overflow:hidden;}
@media (max-width: 960px) { .toprow .lang {white-space:nowrap;} }

/* Accent stripe from the original Harlequin logo palette, full width below the sticky header. */
.top .brand-strip {
  display:block;
  width:100%;
  height:4px;
  flex:0 0 4px;
  border:0;
  background:linear-gradient(90deg,
    #870a1a 0% 14.28%,
    #086a4a 14.28% 28.56%,
    #282775 28.56% 42.84%,
    #ffbc41 42.84% 57.12%,
    #ed7b84 57.12% 71.40%,
    #373742 71.40% 85.68%,
    #086a4a 85.68% 100%
  );
}
@media(max-width:650px) {
  .top .brand-strip { height:3px; flex-basis:3px; }
}

/* All pages: make sure the footer contains only transparent logos. */
.global-footer .footer-med>a:first-of-type{background:transparent!important;padding:0!important;border:none!important}
.global-footer .footer-med img{background:transparent!important}

/* Cookie preferences are handled by Moove, not by the theme. */
.global-footer .footer-bottom a.hrq-cookie-preferences { color:inherit; text-decoration:underline; text-underline-offset:3px; }

/* Contact field validation: shown when a required field is invalid. */
.contact-form [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318 inset; }


/* v1.2.7 – native editorial pages + real SEO category destinations */
.hrq-native-category-directory{margin:65px 0 52px;padding:29px 0 15px;border-top:1px solid #d5dfdf;}
.hrq-native-category-directory h2{margin:14px 0 13px;}
.hrq-native-category-directory>p{color:#596a70;max-width:780px;margin:0 0 25px;}
.hrq-native-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
.hrq-native-cat-link{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border:1px solid #e2e8e7;border-radius:6px;padding:15px 18px;text-decoration:none!important;color:#243f49!important;font-size:14px;font-weight:670;line-height:1.4;transition:border-color .2s,box-shadow .2s;}
.hrq-native-cat-link:hover,.hrq-native-cat-link:focus-visible{border-color:#ce808a;box-shadow:0 6px 20px #17313b12;}
.hrq-native-cat-link>span:last-child{color:#ae5662;font-size:20px;}
@media(max-width:900px){.hrq-native-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:540px){.hrq-native-cat-grid{grid-template-columns:1fr;}}
/* wp:image creates a figure wrapper; fill the existing photo frame correctly. */
.hrq-wordpress .inner-hero figure.inner-visual{margin:0;display:flex;}
.hrq-wordpress .inner-hero figure.inner-visual img{height:365px;min-width:0;width:100%;object-fit:cover;border-radius:9px;}
@media(max-width:650px){.hrq-wordpress .inner-hero figure.inner-visual img{height:215px;}}
