/* About, Publishers, AI Architecture, Why Nukta, Models (HF) — aligned with :root theme (style.css) */

.publisher-program-view {
  padding: 24px 0 56px;
  background: var(--bg-main);
}

.publisher-program-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

.publisher-program-hero {
  padding: 8px 0 10px;
}

.publisher-program-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-accent);
  font-weight: 800;
}

.publisher-program-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-weight: 500;
}

.publisher-program-subtitle {
  margin: 14px 0 0;
  font-family: var(--font-ui);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 56rem;
}

.publisher-program-subtitle a {
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: none;
}

.publisher-program-subtitle a:hover {
  text-decoration: underline;
}

.publisher-program-article {
  margin-top: 18px;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
}

.publisher-program-prose {
  max-width: 64rem;
}

.publisher-program-prose p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.publisher-program-prose strong {
  color: var(--text-primary);
}

.publisher-program-prose ul {
  margin: 0 0 18px;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.publisher-program-prose li {
  margin-bottom: 10px;
}

.publisher-program-prose li:last-child {
  margin-bottom: 0;
}

.publisher-program-prose a {
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: none;
}

.publisher-program-prose a:hover {
  text-decoration: underline;
}

.publisher-program-section {
  margin-top: 30px;
}

.publisher-phase-header {
  position: relative;
  padding: 18px 18px 18px 22px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.publisher-phase-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: var(--primary-accent);
}

.publisher-phase-header--phase2::before {
  background: var(--success-color);
}

.publisher-phase-header--phase3::before {
  background: #2a7a60;
}

.publisher-phase-kicker {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary-accent);
}

.publisher-phase-header--phase2 .publisher-phase-kicker {
  color: var(--success-color);
}

.publisher-phase-header--phase3 .publisher-phase-kicker {
  color: #2a7a60;
}

.publisher-phase-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text-primary);
}

.publisher-phase-subtitle {
  margin: 10px 0 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 62rem;
}

.publisher-phase-subtitle a {
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: none;
}

.publisher-phase-subtitle a:hover {
  text-decoration: underline;
}

.publisher-cards-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.publisher-cards-stack {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.publisher-card {
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 18px 18px 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

a.publisher-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(74, 144, 217, 0.35);
}

.publisher-card::after {
  content: attr(data-n);
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-tertiary);
  opacity: 0.45;
}

.publisher-card--wide {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px;
}

.publisher-card--wide::after {
  content: none;
}

.publisher-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--primary-accent);
  background: rgba(74, 144, 217, 0.1);
  border: 1px solid rgba(74, 144, 217, 0.22);
  font-weight: 900;
  line-height: 1;
  font-size: 16px;
}

.publisher-card-title {
  margin: 10px 0 8px;
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.publisher-card--wide .publisher-card-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.publisher-card-body {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.publisher-program-conclusion {
  margin-top: 28px;
  padding-top: 8px;
}

.publisher-program-conclusion h2 {
  margin: 0 0 12px;
  font-family: var(--font-brand);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text-primary);
}

.publisher-program-callout {
  margin: 14px 0 14px;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.publisher-program-callout p {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text-primary);
  font-weight: 600;
}

.publisher-program-callout a {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 700;
}

.publisher-program-callout a:hover {
  text-decoration: underline;
}

.publisher-support-link-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
}

.publisher-support-link-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.publisher-support-link-item:last-child {
  border-bottom: none;
}

.publisher-support-link-main {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-accent);
  text-decoration: none;
}

.publisher-support-link-main:hover {
  text-decoration: underline;
}

.publisher-support-link-external {
  font-weight: 600;
  opacity: 0.75;
}

.publisher-support-link-hint {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.publisher-support-links-more {
  margin: 14px 0 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  font-style: italic;
}

@media (max-width: 980px) {
  .publisher-program-title { font-size: 40px; }
  .publisher-phase-title { font-size: 32px; }
}

@media (max-width: 760px) {
  .publisher-program-container { padding: 0 16px; }
  .publisher-program-title { font-size: 34px; }
  .publisher-program-subtitle { font-size: 17px; }
  .publisher-program-article { font-size: 16px; }
  .publisher-phase-title { font-size: 26px; }
  .publisher-cards-grid { grid-template-columns: 1fr; }
}
