/* Pocono Chamber of Commerce - article layout. Loaded only on article pages that use .pcc-article */

.pcc-article-page .fl-page-content { overflow-x: clip; }
.pcc-article-page .fl-node-5dcda0bdde0bd > .fl-row-content-wrap { padding-top: 0; padding-bottom: 0; }

.pcc-article {
  --pcc-ink: #555;
  --pcc-head: #2b2b2b;
  --pcc-gold: #ffb200;
  --pcc-link: #b87b00;
  --pcc-black: #000;
  --pcc-paper: #f3f3f3;
  --pcc-line: #dedede;
  padding: 0 20px 80px;
  color: var(--pcc-ink);
  font-family: Raleway, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
.pcc-article p { margin: 0 0 16px; }
.pcc-article a {
  color: var(--pcc-link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--pcc-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.pcc-article a:hover,
.pcc-article a:focus { color: var(--pcc-black); }
.pcc-article a:focus-visible { outline: 2px solid var(--pcc-black); outline-offset: 2px; }
.pcc-article ul { margin: 0; padding: 0; list-style: none; }
.pcc-article li { margin: 0; }

/* hero: full-bleed photo, title card rising over it */
.pcc-hero__media {
  margin: 0 calc(50% - 50vw);
  height: clamp(260px, 34vw, 560px);
  overflow: hidden;
  background: #d9d9d9;
}
.pcc-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}
.pcc-hero__card {
  position: relative;
  margin-top: -128px;
  background: #fff;
  border-top: 6px solid var(--pcc-gold);
  padding: 44px 56px 30px;
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .45);
}
.pcc-article h1 {
  margin: 0 0 22px;
  font: 400 42px/1.22 Raleway, sans-serif;
  color: var(--pcc-head);
  letter-spacing: 0;
}
.pcc-hero__card p { font-size: 19px; line-height: 1.65; color: #4a4a4a; }

/* sections */
.pcc-sec { padding-top: 64px; }
.pcc-article h2 {
  position: relative;
  margin: 0 0 20px;
  padding-top: 20px;
  font: 400 31px/1.3 Raleway, sans-serif;
  color: var(--pcc-head);
  letter-spacing: 0;
}
.pcc-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 4px;
  background: var(--pcc-gold);
}
.pcc-lead { color: var(--pcc-head); font-weight: 600; }

/* goals: 2x2 tiles with a target ring */
.pcc-article .pcc-goals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 24px;
}
.pcc-goals li {
  position: relative;
  background: #fff;
  padding: 22px 26px 22px 68px;
  color: #333;
  font-size: 18px;
  line-height: 1.5;
}
.pcc-goals li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid var(--pcc-gold);
  background: radial-gradient(circle, var(--pcc-black) 0 4px, transparent 4.5px);
}

/* example introduction */
.pcc-example {
  margin: 6px 0 22px;
  padding: 28px 32px;
  background: #fff;
  border-left: 6px solid var(--pcc-gold);
  font-size: 18px;
}
.pcc-article .pcc-example p { margin: 0; }
.pcc-example strong { color: var(--pcc-black); font-weight: 700; }

/* photo panel with questions */
.pcc-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  margin: 8px 0 24px;
  background: #fff;
}
.pcc-panel__media { position: relative; margin: 0; min-height: 360px; }
.pcc-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%;
}
.pcc-panel__body { padding: 40px 44px 28px; }
.pcc-article .pcc-panel__body .pcc-lead { margin-bottom: 8px; }
.pcc-questions li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--pcc-line);
  font-size: 20px;
  line-height: 1.4;
  color: #222;
}
.pcc-questions li:last-child { border-bottom: 0; }
.pcc-questions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 4px;
  height: 22px;
  background: var(--pcc-gold);
}

/* white full-bleed band */
.pcc-band { position: relative; isolation: isolate; margin-top: 64px; padding-bottom: 48px; }
.pcc-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: #fff;
}
.pcc-band.pcc-sec { padding-top: 56px; }

/* follow-up checklist */
.pcc-article .pcc-check {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 24px;
}
.pcc-check li {
  position: relative;
  padding: 64px 24px 24px;
  background: var(--pcc-paper);
  color: #333;
  font-size: 18px;
  line-height: 1.5;
}
.pcc-check li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pcc-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* introductions: a real sequence of three steps */
.pcc-article .pcc-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 10px 0 30px;
  counter-reset: pcc-step;
}
.pcc-steps::before {
  content: "";
  position: absolute;
  left: 24px;
  right: calc(33.333% - 40px);
  top: 23px;
  height: 2px;
  background: #cfcfcf;
}
.pcc-steps li {
  position: relative;
  counter-increment: pcc-step;
  font-size: 19px;
  line-height: 1.45;
  color: #222;
}
.pcc-steps li::before {
  content: counter(pcc-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--pcc-black);
  color: var(--pcc-gold);
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 0 0 8px var(--pcc-paper);
}
.pcc-article .pcc-pull {
  margin: 4px 0 26px;
  padding: 4px 0 4px 28px;
  border-left: 6px solid var(--pcc-gold);
  font-size: 26px;
  line-height: 1.4;
  color: var(--pcc-head);
}

/* outside resources */
.pcc-note {
  margin: 6px 0 24px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--pcc-line);
}
.pcc-article .pcc-note p { margin: 0; }

/* habits on black, like the site's black bands */
.pcc-habits-panel {
  margin: 8px 0 26px;
  padding: 40px 44px 44px;
  background: var(--pcc-black);
  color: #fff;
}
.pcc-article .pcc-habits-panel p { margin: 0 0 26px; color: #fff; font-size: 19px; }
.pcc-article .pcc-habits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.pcc-habits li {
  padding-top: 16px;
  border-top: 3px solid var(--pcc-gold);
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}
.pcc-article .pcc-close { margin: 0; font-size: 20px; line-height: 1.55; color: var(--pcc-head); }

@media (max-width: 991px) {
  .pcc-hero__card { margin-top: -96px; padding: 36px 36px 24px; }
  .pcc-article h1 { font-size: 36px; }
  .pcc-article .pcc-check { grid-template-columns: minmax(0, 1fr); }
  .pcc-check li { padding: 22px 24px 22px 68px; }
  .pcc-article .pcc-habits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcc-panel { grid-template-columns: minmax(0, 1fr); }
  .pcc-panel__media { min-height: 340px; }
  .pcc-panel__media img { object-position: 50% 35%; }
}

@media (max-width: 767px) {
  .pcc-article { font-size: 16px; padding-bottom: 56px; }
  .pcc-hero__media { height: 240px; }
  .pcc-hero__card { margin-top: -48px; padding: 26px 22px 12px; }
  .pcc-article h1 { font-size: 28px; margin-bottom: 16px; }
  .pcc-hero__card p { font-size: 17px; }
  .pcc-sec { padding-top: 44px; }
  .pcc-band { margin-top: 44px; padding-bottom: 32px; }
  .pcc-band.pcc-sec { padding-top: 40px; }
  .pcc-article h2 { font-size: 25px; padding-top: 18px; }
  .pcc-article .pcc-goals { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pcc-goals li, .pcc-check li { padding: 18px 18px 18px 60px; font-size: 17px; }
  .pcc-goals li::before, .pcc-check li::before { left: 18px; top: 18px; }
  .pcc-example, .pcc-note { padding: 22px 20px; font-size: 17px; }
  .pcc-panel { grid-template-columns: minmax(0, 1fr); }
  .pcc-panel__media { min-height: 220px; }
  .pcc-panel__body { padding: 26px 20px 12px; }
  .pcc-questions li { font-size: 18px; }
  .pcc-article .pcc-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pcc-steps::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .pcc-steps li { min-height: 48px; padding: 10px 0 0 66px; font-size: 18px; }
  .pcc-steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .pcc-article .pcc-pull { font-size: 21px; padding-left: 20px; }
  .pcc-habits-panel { padding: 28px 22px 30px; }
  .pcc-article .pcc-habits { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pcc-habits li { font-size: 18px; }
  .pcc-article .pcc-close { font-size: 18px; }
}
