@import url("styles-v3.css");

/*
  Crain Bros Inc Property Owner Resource Center
  Production candidate stylesheet.
  Loads the existing sitewide stylesheet, then applies resource-page styling.
*/

/*
  Crain Bros Inc Property Owner Resource Center
  Isolated page-specific stylesheet.
  The live sitewide styles-v3.css is not duplicated or replaced here.
*/

/* Part 2 approval candidate. Scoped to Resource Center main content only. */
.resource-center-main a{color:#EC6017;font-weight:700}.resource-center-main a:hover,.resource-center-main a:focus{color:#C94C0E}.resource-center-main .resource-cta{display:inline-flex;align-items:center;justify-content:center;min-width:270px;padding:.85rem 1.25rem;border:1px solid #EC6017;border-radius:999px;background:#EC6017;color:#FFF!important;font-weight:800;text-decoration:none}.resource-center-main .resource-cta:hover,.resource-center-main .resource-cta:focus{background:#C94C0E;border-color:#C94C0E;color:#FFF!important}.resource-reading{max-width:820px}.resource-series-label{color:#EC6017;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.resource-breadcrumbs{display:flex;gap:.55rem;flex-wrap:wrap;margin-bottom:1.25rem;color:var(--muted)}.resource-toc{columns:2;column-gap:2rem;padding-left:1.25rem}.resource-toc li{break-inside:avoid;margin:0 0 .7rem}.resource-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.resource-check-item{padding:14px 16px;border-left:4px solid #EC6017;background:rgba(255,255,255,.04);border-radius:10px}.resource-navigation{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;align-items:center}.resource-navigation a:nth-child(2){text-align:center}.resource-navigation a:last-child{text-align:right}@media(max-width:760px){.resource-toc{columns:1}.resource-check-grid,.resource-navigation{grid-template-columns:1fr}.resource-navigation a,.resource-navigation a:nth-child(2),.resource-navigation a:last-child{text-align:left}.resource-center-main .resource-cta{width:100%;min-width:0}}
/* Part 2 approval-candidate corrections */
.resource-center-main .resource-series-label {
  display: block;
  margin: 0 0 0.75rem;
  color: #EC6017;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.resource-center-main section[id] {
  scroll-margin-top: 180px;
}

.resource-center-main .resource-check-grid {
  counter-reset: resource-check;
}

.resource-center-main .resource-check-item {
  counter-increment: resource-check;
  position: relative;
  min-height: 64px;
  padding: 16px 16px 16px 58px;
  border: 1px solid var(--border);
  border-left: 4px solid #EC6017;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}

.resource-center-main .resource-check-item::before {
  content: counter(resource-check);
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: #EC6017;
  color: #FFFFFF;
  font-weight: 900;
}

.resource-center-main .tile {
  border-radius: 6px;
}

.resource-center-main .resource-toc a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.resource-center-main .resource-toc a:hover,
.resource-center-main .resource-toc a:focus {
  color: #C94C0E;
}

.resource-center-main .resource-navigation {
  border-radius: 6px;
}

.resource-center-main .grid-3 .tile {
  display: flex;
  min-height: 150px;
  flex-direction: column;
}

.resource-center-main .grid-3 .tile a {
  margin-top: auto;
}

/* Article section-number correction */
.resource-center-main {
  counter-reset: article-section;
}

.resource-center-main section[id] {
  counter-increment: article-section;
  scroll-margin-top: 180px;
}

.resource-center-main section[id] h2::before {
  content: counter(article-section) ". ";
  color: #EC6017;
  font-weight: 900;
}

/* Remove incorrect numbering from checklist items */
.resource-center-main .resource-check-grid {
  counter-reset: none;
}

.resource-center-main .resource-check-item {
  counter-increment: none;
  position: static;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}

.resource-center-main .resource-check-item::before {
  display: none;
  content: none;
}

/* Keep checklist cards consistent with existing site tiles */
.resource-center-main .resource-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 760px) {
  .resource-center-main .resource-check-grid {
    grid-template-columns: 1fr;
  }
}

/* Boxed article-section numbers matching the earlier number-box treatment */
.resource-center-main section[id] h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.resource-center-main section[id] h2::before {
  content: counter(article-section);
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-top: -2px;
  border-radius: 4px;
  background: #EC6017;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

/* Checklist items remain unnumbered standard rectangular cards */
.resource-center-main .resource-check-item {
  position: static;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}

.resource-center-main .resource-check-item::before {
  display: none;
  content: none;
}

/* Related Services must use the unmodified current-site grid-3 and tile pattern */
.resource-center-main .grid-3 .tile {
  display: block;
  min-height: 0;
  flex-direction: initial;
  border-radius: var(--radius);
}

.resource-center-main .grid-3 .tile a {
  margin-top: 0;
}

/* Five-page approval-candidate corrections */
.resource-center-main a {
  color: #EC6017;
  font-weight: 700;
}

.resource-center-main a:hover,
.resource-center-main a:focus {
  color: #C94C0E;
}

.resource-center-main .resource-series-label {
  display: block;
  margin: 0 0 0.75rem;
  color: #EC6017;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.resource-center-main .resource-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  padding: 0.85rem 1.25rem;
  border: 1px solid #EC6017;
  border-radius: 999px;
  background: #EC6017;
  color: #FFFFFF !important;
  font-weight: 800;
  text-decoration: none;
}

.resource-center-main .resource-cta:hover,
.resource-center-main .resource-cta:focus {
  background: #C94C0E;
  border-color: #C94C0E;
  color: #FFFFFF !important;
}

.resource-center-main section[id] {
  scroll-margin-top: 180px;
}

.resource-center-main {
  counter-reset: article-section;
}

.resource-center-main section[id] {
  counter-increment: article-section;
}

.resource-center-main section[id] h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.resource-center-main section[id] h2::before {
  content: counter(article-section);
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-top: -2px;
  border-radius: 4px;
  background: #EC6017;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.resource-center-main .resource-check-item {
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}

.resource-center-main .resource-check-item::before {
  display: none;
  content: none;
}

.resource-center-main .grid-3 .tile {
  display: block;
  min-height: 0;
  border-radius: var(--radius);
}

.resource-center-main .grid-3 .tile a.text-link {
  display: inline-block;
  margin-top: 0;
  color: #EC6017;
}

.resource-center-main .grid-3 .tile a.text-link:hover,
.resource-center-main .grid-3 .tile a.text-link:focus {
  color: #C94C0E;
}

/* Property Owners Maintenance Plan multi-part series */
.resource-center-main .resource-series-label {
  display: block;
  margin: 0 0 0.6rem;
  color: #EC6017;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: none;
}

.resource-center-main .resource-series-label + h3 {
  margin-top: 0;
}

.resource-center-main .grid-3 > .tile {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.resource-center-main .grid-3 > .tile .muted {
  flex: 1 1 auto;
}

.resource-center-main .grid-3 > .tile .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #EC6017;
  border-radius: 14px;
  background: #EC6017;
  color: #FFFFFF !important;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.resource-center-main .grid-3 > .tile .text-link:hover,
.resource-center-main .grid-3 > .tile .text-link:focus {
  border-color: #C94C0E;
  background: #C94C0E;
  color: #FFFFFF !important;
  text-decoration: none;
}

.resource-center-main .resource-part-heading {
  margin: 0.4rem 0 0.8rem;
  color: #EC6017;
  font-size: 1.35rem;
  font-weight: 900;
}

/* Maintenance hub card sizing correction */
.resource-center-main .grid-3 {
  align-items: start;
}

.resource-center-main .grid-3 > .tile {
  display: block;
  min-height: 0;
  height: auto;
}

.resource-center-main .grid-3 > .tile h3 {
  min-height: 0;
}

.resource-center-main .grid-3 > .tile p {
  min-height: 0;
}

.resource-center-main .grid-3 > .tile .text-link {
  margin-top: 0.85rem;
}

/* Unified article hero system 2026-09-02 */
.resource-center-main .resource-article-hero {
  padding-top: 46px;
  padding-bottom: 34px;
}

.resource-center-main .resource-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.resource-center-main .resource-breadcrumbs a,
.resource-center-main .resource-home-link {
  color: #EC6017;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.resource-center-main .resource-breadcrumbs a:hover,
.resource-center-main .resource-breadcrumbs a:focus,
.resource-center-main .resource-home-link:hover,
.resource-center-main .resource-home-link:focus {
  color: #C94C0E;
}

.resource-center-main .resource-series-lockup {
  margin-bottom: 1.15rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 6px solid #EC6017;
  border-radius: 12px;
  background: rgba(15,31,54,.78);
}

.resource-center-main .resource-series-heading {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

.resource-center-main .resource-part-label {
  display: inline-block;
  margin: 0.8rem 0 0;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  background: #EC6017;
  color: #FFFFFF;
  font-weight: 900;
  line-height: 1;
}

.resource-center-main .resource-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 0.25rem;
}

@media (max-width: 760px) {
  .resource-center-main .resource-series-lockup {
    padding: 1rem;
  }

  .resource-center-main .resource-home-link {
    width: 100%;
  }
}

/* Resource Center page logo 2026-09-02 */
.resource-center-main .resource-page-logo {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1.35rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15,31,54,.82);
  box-shadow: var(--shadow);
}

.resource-center-main .resource-page-logo img {
  display: block;
  width: 150px;
  height: auto;
}

@media (max-width: 760px) {
  .resource-center-main .resource-page-logo img {
    width: 120px;
  }
}

/* Compact orange-check lists 2026-09-02 */
.resource-center-main .resource-check-grid {
  display: grid;
  gap: 0.5rem;
  margin: 0.8rem 0 1rem;
}

.resource-center-main .resource-check-item {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 0.15rem 0 0.15rem 1.55rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.resource-center-main .resource-check-item::before {
  content: "\2713";
  display: block;
  position: absolute;
  top: 0.08rem;
  left: 0;
  color: #EC6017;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

/* Resource article navigation lines 2026-09-02 */
.resource-center-main .resource-navigation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.resource-center-main .resource-navigation a {
  display: block;
  width: fit-content;
}

/* Part 2 compact checklist override 2026-09-02 */
.resource-center-main .resource-check-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.35rem !important;
  margin: 0.65rem 0 0.9rem !important;
}

.resource-center-main .resource-check-grid .resource-check-item {
  display: block !important;
  position: relative !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.1rem 0 0.1rem 1.5rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.resource-center-main .resource-check-grid .resource-check-item::before {
  content: "\2713" !important;
  display: block !important;
  position: absolute !important;
  top: 0.05rem !important;
  left: 0 !important;
  color: #EC6017 !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

/* Maintenance Hub part labels 2026-09-02 */
.resource-center-main .grid-3 .resource-series-label {
  display: inline-block;
  width: fit-content;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: #EC6017;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* Resource hierarchy links without underlines 2026-09-02 */
.resource-center-main .resource-breadcrumbs a,
.resource-center-main .resource-hierarchy-bottom a,
.resource-center-main .resource-home-link {
  text-decoration: none !important;
}

.resource-center-main .resource-breadcrumbs a:hover,
.resource-center-main .resource-breadcrumbs a:focus,
.resource-center-main .resource-hierarchy-bottom a:hover,
.resource-center-main .resource-hierarchy-bottom a:focus,
.resource-center-main .resource-home-link:hover,
.resource-center-main .resource-home-link:focus {
  text-decoration: none !important;
}

/* Small Resource Center homepage-link logos 2026-09-02 */
.resource-center-main a:has(.resource-home-link-logo) {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  text-decoration: none !important;
}

.resource-center-main .resource-home-link-logo {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.resource-center-main a:has(.resource-home-link-logo):hover,
.resource-center-main a:has(.resource-home-link-logo):focus {
  text-decoration: none !important;
}

/* Drawn orange checklist marks 2026-09-02 */
.resource-center-main .resource-check-grid .resource-check-item::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0.18rem !important;
  left: 0.18rem !important;
  width: 0.42rem !important;
  height: 0.72rem !important;
  border: 0 solid #EC6017 !important;
  border-right-width: 0.18rem !important;
  border-bottom-width: 0.18rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: rotate(45deg) !important;
}

/* Related Services plain orange text links 2026-09-02 */
.resource-center-main .grid-3 > .tile > a.text-link {
  display: inline !important;
  min-height: 0 !important;
  margin-top: 0.85rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #EC6017 !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-decoration: none !important;
}

.resource-center-main .grid-3 > .tile > a.text-link:hover,
.resource-center-main .grid-3 > .tile > a.text-link:focus {
  border: 0 !important;
  background: transparent !important;
  color: #C94C0E !important;
  text-decoration: none !important;
}
