/* Press Detail Page Styles */

/* ── Page width constraint ── */
.pd-page-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ── Media Tabs ── */
.pd-tabs-section {
  background: linear-gradient(135deg, #0d3b22 0%, #1e8756 100%);
  padding: 20px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}
.pd-tabs-heading {
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pd-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  max-width: 720px;
  margin: 0 auto;
}
.pd-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  border-radius: 10px 10px 0 0;
  border-bottom: none;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .2s, color .2s, border-color .2s;
}
.pd-tab-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.pd-tab-btn:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.pd-tab-btn.active {
  background: #fff;
  color: #1e8756;
  border-color: #fff;
}
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }

/* ── Hero carousel (images tab) ── */
.pd-hero-wrap {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 4px;
  position: relative;
  background: #111;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.pd-hero-carousel .carousel-item img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* arrows */
.pd-hero-carousel .carousel-control-prev,
.pd-hero-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s;
}
.pd-hero-wrap:hover .pd-hero-carousel .carousel-control-prev,
.pd-hero-wrap:hover .pd-hero-carousel .carousel-control-next { opacity: 1; }
.pd-hero-carousel .carousel-control-prev { left: 14px; }
.pd-hero-carousel .carousel-control-next { right: 14px; }
.pd-hero-carousel .carousel-control-prev-icon,
.pd-hero-carousel .carousel-control-next-icon { width: 18px; height: 18px; }

/* dot indicators */
.pd-hero-carousel .carousel-indicators { margin-bottom: 14px; }
.pd-hero-carousel .carousel-indicators button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.5);
  transition: all .25s;
  padding: 0;
}
.pd-hero-carousel .carousel-indicators button.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

/* image counter badge */
.pd-img-count-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
  pointer-events: none;
}
.pd-img-count-badge svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* caption strip */
.pd-caption-strip {
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  padding: 10px 18px;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
}

/* thumbnail strip */
.pd-thumb-strip {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  overflow-x: auto;
  scrollbar-width: none;
}
.pd-thumb-strip::-webkit-scrollbar { display: none; }
.pd-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 52px;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color .2s, transform .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.active { border-color: #1e8756; transform: scale(1.05); }
.pd-thumb:hover { border-color: rgba(30,135,86,.5); }

/* ── YouTube embed ── */
.pd-youtube-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #f1f5f9;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.pd-youtube-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.pd-yt-watch-link {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1e8756;
  background: #f0faf5;
  text-decoration: none;
}
.pd-yt-watch-link:hover { background: #e6f4ea; }

/* ── Document list ── */
.pd-doc-list { list-style: none; padding: 0; margin: 0; }
.pd-doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.pd-doc-item:hover { border-color: #1e8756; box-shadow: 0 2px 8px rgba(30,135,86,.1); }
.pd-doc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #1e8756, #14532d);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pd-doc-icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
.pd-doc-info { flex: 1; min-width: 0; }
.pd-doc-name { font-size: 14px; font-weight: 600; color: #1f2937; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-doc-meta { font-size: 11px; color: #9ca3af; }
.pd-doc-download {
  padding: 6px 14px; border-radius: 6px;
  background: #e6f4ea; color: #1e8756;
  font-size: 12px; font-weight: 600;
  text-decoration: none; flex-shrink: 0;
  transition: background .2s;
}
.pd-doc-download:hover { background: #1e8756; color: #fff; }

/* ── Two-column body ── */
.pd-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 16px 56px;
}
.pd-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .pd-body { grid-template-columns: 1fr; }
  .pd-sidebar { order: -1; }
}

/* main column */
.pd-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1e8756;
  background: #e6f4ea;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.pd-title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 12px;
}
.pd-divider {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, #1e8756, #10b981);
  border-radius: 2px;
  margin-bottom: 20px;
}
.pd-caption {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin: 0 0 20px;
}
.pd-body-content {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 32px;
  line-height: 1.8;
  font-size: 15px;
  color: #1f2937;
  background: #fff;
  margin-top: 16px;
}
.pd-body-content h2 { font-size: 20px; font-weight: 700; color: #1e8756; margin: 20px 0 8px; }
.pd-body-content h3 { font-size: 17px; font-weight: 600; margin: 16px 0 6px; }
.pd-body-content p { margin-bottom: 14px; }
.pd-body-content ul, .pd-body-content ol { margin-left: 18px; margin-bottom: 12px; }
.pd-body-content blockquote {
  border-left: 4px solid #1e8756; padding: 10px 16px;
  margin: 16px 0; background: #e6f4ea; border-radius: 0 8px 8px 0;
  color: #374151; font-style: italic;
}

/* sidebar */
.pd-info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
.pd-info-card-head {
  background: linear-gradient(135deg, #0d3b22, #1e8756);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-info-card-head svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.8); fill: none; stroke-width: 2; }
.pd-info-card-head span { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .5px; text-transform: uppercase; }
.pd-info-rows { padding: 6px 0; }
.pd-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid #f1f5f9;
}
.pd-info-row:last-child { border-bottom: none; }
.pd-info-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: #f0faf5;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pd-info-icon svg { width: 15px; height: 15px; stroke: #1e8756; fill: none; stroke-width: 2; }
.pd-info-label { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #9ca3af; }
.pd-info-value { font-size: 14px; font-weight: 600; color: #1f2937; }

/* share card */
.pd-share-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px 18px;
}
.pd-share-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}
.pd-copy-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #f0faf5;
  color: #1e8756;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #c6e8d5;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pd-copy-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.pd-copy-btn:hover { background: #1e8756; color: #fff; border-color: #1e8756; }

/* ── Prev / Next nav ── */
.pd-nav-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.pd-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}
.pd-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1e8756;
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid #c6e8d5;
  border-radius: 10px;
  background: #f0faf5;
  transition: background .2s, color .2s, border-color .2s;
}
.pd-nav-link:hover { background: #1e8756; color: #fff; border-color: #1e8756; }
.pd-nav-arrow { font-size: 16px; }

/* ── PDF Inline Viewer (Articles) ── */
.pd-pdf-viewer-wrap {
  margin-bottom: 32px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pd-pdf-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f0faf5;
  border-bottom: 1px solid rgba(0,0,0,.08);
  gap: 12px;
}
.pd-pdf-name {
  font-size: 14px;
  font-weight: 600;
  color: #1b381e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-pdf-iframe {
  display: block;
  width: 100%;
  height: 75vh;
  border: 0;
  background: #f5f5f5;
}
