/*
Theme Name: Peptide Industry News S1 Child
Theme URI: https://peptideindustrynews.com/
Description: Site 11 brand, private containment and bounded Denmark presentation provider.
Author: Kensington Labs
Template: kl-research-library
Version: 1.1.1
Text Domain: peptide-industry-news-s1-child
*/

:root {
  --pin-navy: #36465B;
  --pin-mauve: #A26477;
  --pin-paper: #FBF5F6;
  --pin-pale-pink: #F4E0E7;
  --pin-blush: #D9AAB8;
}

body {
  background: var(--pin-paper);
  color: var(--pin-navy);
}

a {
  color: var(--pin-mauve);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pin-mauve);
  outline-offset: 3px;
}

.site-header,
.site-footer,
.research-card,
.peptide-card {
  border-color: var(--pin-blush);
  background-color: var(--pin-paper);
}

.site-title,
.entry-title,
h1,
h2,
h3 {
  color: var(--pin-navy);
}

.site-header,
.site-footer {
  background-color: var(--pin-navy);
  color: var(--pin-paper);
}

.site-header a,
.site-footer a {
  color: var(--pin-paper);
}

.research-card,
.peptide-card {
  background-color: var(--pin-pale-pink);
}

.pin-owned-featured {
  margin: 0;
}

.pin-owned-featured img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: contain;
  border: 1px solid var(--pin-blush);
  background: var(--pin-pale-pink);
}

.pin-owned-featured-single {
  width: min(100% - 2rem, 73.75rem);
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
}

.pin-owned-featured-card {
  margin-bottom: 1rem;
}

/* The imported profile and guide bodies are complete editorial documents.
 * Bind their sealed class vocabulary to the established S1 family layout
 * without adding another title, excerpt or content wrapper. */
.pin-sealed-editorial {
  display: block;
  max-width: 100%;
  line-height: 1.65;
}

.pin-sealed-editorial *,
.pin-sealed-editorial *::before,
.pin-sealed-editorial *::after {
  box-sizing: border-box;
}

.pin-sealed-editorial section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.pin-sealed-editorial .hero {
  border-bottom: 1px solid var(--pin-blush);
  background: var(--pin-pale-pink);
}

.pin-sealed-editorial .hero-inner,
.pin-sealed-editorial .wrap,
.pin-sealed-editorial .container {
  width: min(100% - 2rem, 73.75rem);
  margin-inline: auto;
}

.pin-sealed-editorial .hero-inner {
  padding-block: clamp(1rem, 2vw, 1.75rem);
}

.pin-sealed-editorial .guide-body {
  max-width: 51.25rem;
}

.pin-sealed-editorial .crumbs {
  margin-bottom: 1.5rem;
  color: var(--pin-navy);
  font-size: .82rem;
}

.pin-sealed-editorial .eyebrow {
  color: var(--pin-mauve);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pin-sealed-editorial h1 {
  margin: .3em 0;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.pin-sealed-editorial h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.pin-sealed-editorial .lead {
  max-width: 65ch;
  font-size: 1.15rem;
}

.pin-sealed-editorial .grid-2,
.pin-sealed-editorial .grid-3 {
  display: grid;
  gap: 1.2rem;
}

.pin-sealed-editorial .grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pin-sealed-editorial .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pin-sealed-editorial .card,
.pin-sealed-editorial .panel,
.pin-sealed-editorial .study,
.pin-sealed-editorial .limit {
  min-width: 0;
  border: 1px solid var(--pin-blush);
  background: var(--pin-paper);
  padding: 1.25rem;
}

.pin-sealed-editorial .limit {
  border-left: 5px solid var(--pin-mauve);
  background: var(--pin-pale-pink);
}

.pin-sealed-editorial .tint {
  background: var(--pin-pale-pink);
}

.pin-sealed-editorial .cream {
  background: var(--pin-paper);
}

.pin-sealed-editorial .table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pin-paper);
}

.pin-sealed-editorial .table th,
.pin-sealed-editorial .table td {
  padding: .8rem;
  border-bottom: 1px solid var(--pin-blush);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.pin-sealed-editorial .table th {
  width: 32%;
  color: var(--pin-mauve);
}

.pin-sealed-editorial img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pin-sealed-editorial a,
.pin-sealed-editorial code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pin-sealed-editorial pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pin-sealed-editorial .button {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: .65rem 1rem;
  border: 2px solid var(--pin-navy);
  background: var(--pin-navy);
  color: var(--pin-paper);
  font-weight: 750;
  text-decoration: none;
}

.pin-sealed-editorial .button.secondary {
  background: transparent;
  color: var(--pin-navy);
}

.pin-language-switcher ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pin-language-switcher a[aria-current="page"] {
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.pin-language-switcher-footer {
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .header-inner,
  .header-tools {
    align-items: flex-start;
  }

  .pin-language-switcher ul {
    gap: .5rem .75rem;
  }

  .site-brand,
  .brand-lockup,
  main,
  main img,
  main table {
    max-width: 100%;
  }

  main table {
    display: block;
    overflow-x: auto;
  }

  .pin-sealed-editorial .grid-2,
  .pin-sealed-editorial .grid-3 {
    grid-template-columns: 1fr;
  }

  .pin-sealed-editorial .table th,
  .pin-sealed-editorial .table td {
    display: block;
    width: 100%;
  }
}


/* Keep the actual Site11 light-on-navy lockup readable. */
.site-header .site-brand { flex:0 1 22rem; min-width:0; }
.site-header .brand-lockup, .site-footer .brand-lockup { display:block; width:min(100%,22rem); height:auto; }
.category-hero-grid { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.category-hero-grid > *, .category-map-heading, .library-map-heading { min-width:0; }
.category-hero-grid h1 { max-width:none; font-size:clamp(2rem,3vw,3rem); overflow-wrap:anywhere; hyphens:auto; line-height:1.12; }
.category-research-map .category-map-heading strong { display:block; max-width:100%; font-size:clamp(1.4rem,2vw,2rem); line-height:1.2; overflow-wrap:anywhere; hyphens:auto; }
.category-map-themes { grid-template-columns:repeat(3,minmax(0,1fr)); }
.category-map-themes > * { min-width:0; }
@media(max-width:800px) {
 .category-hero-grid { grid-template-columns:minmax(0,1fr); }
 .category-hero-grid h1 { font-size:1.85rem; overflow-wrap:normal; hyphens:auto; }
 .category-research-map .category-map-heading strong { font-size:1.3rem; }
 .site-header .site-brand { flex-basis:100%; }
}
