/* Healing Hands Clinic - Publication/Patent Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --hhc-red: #087f8f;
  --hhc-dark-red: #087f8f;
  --hhc-light-red: #e74c3c;
  --hhc-gold: #087f8f;
  --hhc-dark: #1a1a1a;
  --hhc-text: #333333;
  --hhc-light-text: #666666;
  --hhc-bg: #f9f6f2;
  --hhc-white: #ffffff;
  --hhc-border: #e0d5cc;
  --hhc-card-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  
  color: var(--hhc-text);
  background: var(--hhc-bg);
  line-height: 1.7;
}

/* ---- HEADER ---- */
.hhc-header-placeholder {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.hhc-header-placeholder a { color: var(--hhc-gold); text-decoration: none; }

/* ---- HERO BANNER ---- */
.pub-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #3a1a1a 100%);
  padding: 60px 30px 50px;
  position: relative;
  overflow: hidden;
}
.pub-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c0392b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}
.pub-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pub-type-badge {
  display: inline-block;
  background: var(--hhc-red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.pub-hero h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 20px;
}
.pub-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.pub-year-tag {
  background: rgba(212,168,67,0.2);
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.pub-author-tag {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.pub-author-tag strong { color: white; }

/* ---- MAIN CONTENT ---- */
.pub-content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 30px 60px;
}

.pub-card {
  background: white;
  border-radius: 8px;
  box-shadow: var(--hhc-card-shadow);
  padding: 36px 40px;
  margin-bottom: 28px;
  border-left: 4px solid var(--hhc-red);
}

.pub-card h2 {
  font-size: 20px;
  color: var(--hhc-dark-red);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hhc-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pub-card h2 .icon {
  width: 28px;
  height: 28px;
  background: var(--hhc-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  flex-shrink: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }

.info-item label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hhc-red);
  margin-bottom: 4px;
}
.info-item p {
  font-size: 15px;
  color: var(--hhc-text);
  line-height: 1.5;
}

.citation-box {
  background: #f5f0eb;
  border-left: 3px solid var(--hhc-gold);
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  font-style: italic;
  color: var(--hhc-light-text);
  line-height: 1.7;
  margin-top: 10px;
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hhc-red);
  color: white;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.btn-link:hover { background: var(--hhc-dark-red);color: #ffffff; }
.share-linkedin:hover{color:#fff;}
.btn-link.secondary {
  background: transparent;
  border: 2px solid var(--hhc-red);
  color: var(--hhc-red);
}
.btn-link.secondary:hover { background: var(--hhc-red); color: white; }

/* ---- PATENT SPECIFIC ---- */
.patent-number-display {
  font-size: 28px;
  font-weight: 700;
  color: var(--hhc-gold);
  letter-spacing: 2px;
  margin: 10px 0;
}
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.product-chip {
  background: #fdf0e8;
  border: 1px solid #087f8f59;
  color: #087f8f;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display:block;
  background: white;
  border-bottom: 1px solid var(--hhc-border);
  padding: 10px 30px;
}
.breadcrumb nav {
  margin: 0 auto;
  font-size: 13px;
  color: var(--hhc-light-text);
}
.breadcrumb nav a { color: var(--hhc-red); text-decoration: none; }
.breadcrumb nav a:hover { text-decoration: underline; }
.breadcrumb nav span { margin: 0 8px; }

/* ---- FOOTER PLACEHOLDER ---- */
.hhc-footer-placeholder {
  background: #1a1a1a;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 30px;
  font-size: 13px;
  margin-top: 40px;
}
.hhc-footer-placeholder .footer-logo {
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
  display: block;
}

/* ---- ABOUT AUTHOR BOX ---- */
.author-box {
  background: linear-gradient(135deg, #1a1a1a, #2a1010);
  color: white;
  border-radius: 8px;
  padding: 30px 36px;
  margin-bottom: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--hhc-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  flex-shrink: 0;
  border: 3px solid var(--hhc-gold);
}
.author-info h3 {
  font-size: 18px;
  color: var(--hhc-gold);
  margin-bottom: 4px;
}
.author-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
@media (max-width: 500px) {
  .author-box { flex-direction: column; }
  .pub-card { padding: 24px 20px; }
}
