/* ============================================================
   Overview Section — Gallery + Summary Card
============================================================ */
.pinfo-overview {
  background: var(--d3-white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.pinfo-overview__grid {
  max-width: var(--d3-maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

/* Gallery */
.pinfo-gallery {
  position: relative;
}

.pinfo-gallery__main {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--d3-paper);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.875rem;
  position: relative;
}

.pinfo-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pinfo-gallery__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--d3-brand);
  color: #fff;
  font-family: var(--d3-ff-nav);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pinfo-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.pinfo-gallery__thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--d3-paper);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color 0.2s, transform 0.15s;
}

.pinfo-gallery__thumb:hover {
  transform: translateY(-2px);
}

.pinfo-gallery__thumb.is-active,
.pinfo-gallery__thumb:focus-visible {
  border-color: var(--d3-brand);
  outline: none;
}

.pinfo-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Summary Card */
.pinfo-summary {
  background: var(--d3-paper);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--d3-rule);
  position: sticky;
  top: 2rem;
}

.pinfo-summary__title {
  font-family: var(--d3-ff-disp);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.875rem;
  color: var(--d3-ink);
}

.pinfo-summary__desc {
  color: var(--d3-ink-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-family: var(--d3-ff-body);
}

.pinfo-summary__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.pinfo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--d3-white);
  border: 1px solid var(--d3-rule);
  border-radius: 6px;
  font-family: var(--d3-ff-nav);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--d3-ink);
}

.pinfo-tag i {
  color: var(--d3-brand);
  font-size: 0.85rem;
}

.pinfo-summary__cta {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Buttons */
.pinfo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--d3-ff-nav);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.pinfo-button--primary {
  background: var(--d3-brand);
  color: #fff;
}

.pinfo-button--primary:hover {
  background: var(--d3-brand);
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 6px 16px rgba(45, 50, 55, 0.3);
}

.pinfo-button--outline {
  background: transparent;
  color: var(--d3-ink);
  border: 1.5px solid var(--d3-rule-hard);
}

.pinfo-button--outline:hover {
  border-color: var(--d3-blue);
  color: var(--d3-blue);
  background: var(--d3-paper-2);
}

/* ============================================================
   Content Section — Editorial Card
============================================================ */
.pinfo-content-section {
  background: var(--d3-paper);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.pinfo-editorial {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: var(--d3-white);
  border: 1px solid var(--d3-rule);
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.pinfo-editorial__head {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--d3-rule);
}

.pinfo-editorial__head h2 {
  font-family: var(--d3-ff-disp);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--d3-blue);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.pinfo-editorial__head p {
  color: var(--d3-ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  font-family: var(--d3-ff-body);
  margin: 0;
}

/* Rich Text Content */
.pinfo-rich-text {
  font-family: var(--d3-ff-body);
  line-height: 1.8;
  color: var(--d3-ink-soft);
  font-size: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.pinfo-rich-text h2 {
  font-family: var(--d3-ff-disp);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--d3-steel);
  text-align: center;
  letter-spacing: -0.01em;
}

.pinfo-rich-text h3 {
  font-family: var(--d3-ff-disp);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--d3-blue);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--d3-rule);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pinfo-rich-text h3:first-child {
  margin-top: 0;
}

.pinfo-rich-text h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--d3-brand);
  border-radius: 2px;
  flex-shrink: 0;
}

.pinfo-rich-text p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pinfo-rich-text ul,
.pinfo-rich-text ol {
  margin: 0.75rem 0 1.25rem 0;
  padding-left: 1.25rem;
}

.pinfo-rich-text li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.pinfo-rich-text li strong,
.pinfo-rich-text strong {
  color: var(--d3-ink);
  font-weight: 600;
}

/* Superscript / footnote markers */
.pinfo-rich-text sup {
  font-size: 0.7em;
  vertical-align: super;
  color: var(--d3-steel);
}

.pinfo-rich-text table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-family: var(--d3-ff-body);
  font-size: 0.9rem;
  border: 1px solid var(--d3-rule);
}

.pinfo-rich-text th {
  background: var(--d3-paper);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--d3-ink);
  border-bottom: 2px solid var(--d3-rule-hard);
  border-right: 1px solid var(--d3-rule);
}

.pinfo-rich-text th:last-child {
  border-right: none;
}

.pinfo-rich-text td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--d3-rule);
  border-right: 1px solid var(--d3-rule);
  color: var(--d3-ink-soft);
}

.pinfo-rich-text td:last-child {
  border-right: none;
}

.pinfo-rich-text tr:last-child td {
  border-bottom: none;
}

.pinfo-rich-text img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

/* ============================================================
   CTA Band — Between Content & Downloads
============================================================ */
.pinfo-cta-band {
  background: var(--d3-blue);
  color: #fff;
  padding: 2rem 0;
}

.pinfo-cta-band__inner {
  max-width: var(--d3-maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pinfo-cta-band__text h3 {
  font-family: var(--d3-ff-disp);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.pinfo-cta-band__text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-family: var(--d3-ff-body);
  margin: 0;
}

.pinfo-cta-band__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.pinfo-cta-band .pinfo-button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.pinfo-cta-band .pinfo-button--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Downloads Section
============================================================ */
.pinfo-downloads {
  background: var(--d3-white);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.pinfo-downloads__wrap {
  max-width: var(--d3-maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.pinfo-downloads__head {
  margin-bottom: 2rem;
}

.pinfo-downloads__head h2 {
  font-family: var(--d3-ff-disp);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--d3-ink);
  line-height: 1.2;
}

.pinfo-downloads__head p {
  color: var(--d3-ink-soft);
  font-size: 1rem;
  max-width: 560px;
  font-family: var(--d3-ff-body);
  margin: 0;
}

.pinfo-downloads__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.pinfo-dl-card {
  background: var(--d3-paper);
  border-radius: 10px;
  padding: 1.375rem;
  border: 1px solid var(--d3-rule);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pinfo-dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.1);
}

.pinfo-dl-card__icon {
  width: 44px;
  height: 44px;
  background: var(--d3-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--d3-brand);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pinfo-dl-card__body {
  flex: 1;
  min-width: 0;
}

.pinfo-dl-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--d3-ink);
  margin-bottom: 0.25rem;
  font-family: var(--d3-ff-nav);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pinfo-dl-card__meta {
  font-size: 0.78rem;
  color: var(--d3-steel);
  margin-bottom: 0.7rem;
  font-family: var(--d3-ff-body);
}

.pinfo-dl-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--d3-brand-deep);
  text-decoration: none;
  transition: gap 0.2s;
}

.pinfo-dl-card__link:hover {
  gap: 0.55rem;
}

/* ============================================================
   Mobile Sticky CTA Bar
============================================================ */
.pinfo-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--d3-white);
  border-top: 1px solid var(--d3-rule);
  padding: 0.875rem 1.25rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}

.pinfo-sticky-cta__row {
  max-width: var(--d3-maxw);
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
}

.pinfo-sticky-cta .pinfo-button {
  flex: 1;
  justify-content: center;
  font-size: 0.875rem;
  padding: 0.85rem 1rem;
}

/* ============================================================
   Responsive Breakpoints
============================================================ */
@media (max-width: 992px) {
  .pinfo-overview__grid {
    grid-template-columns: 1fr;
  }

  .pinfo-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .pinfo-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .pinfo-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pinfo-editorial {
    padding: 1.5rem;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .pinfo-gallery__thumb {
    width: 56px;
    height: 56px;
  }

  .pinfo-downloads__grid {
    grid-template-columns: 1fr;
  }
}
