/* ========================================
   Shared article/content page styles
   Used by: FERPA Overview, Privacy Policy, Terms of Service,
            DPA, Compliance Guide, Blog articles, API docs
   ======================================== */

.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0F1A2E 100%);
  color: var(--white); padding: 120px 0 72px; text-align: center;
}
.article-hero h1 {
  color: var(--white); font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px;
  line-height: 1.15;
}
.article-hero p {
  color: rgba(255,255,255,0.75); max-width: 720px; margin: 0 auto;
  font-size: 18px; line-height: 1.5;
}
.article-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--teal-light); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 16px;
}
.article-meta {
  margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.6);
}

.article-body { background: var(--white); padding: 72px 0 96px; }
.article-content { max-width: 820px; margin: 0 auto; }
.article-content h2 {
  font-size: 26px; color: var(--navy); margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gray-200);
  line-height: 1.3;
}
.article-content h2:first-of-type { margin-top: 0; }
.article-content h3 {
  font-size: 19px; color: var(--navy); margin-top: 28px; margin-bottom: 10px;
  line-height: 1.35;
}
.article-content p {
  color: #4A5568; line-height: 1.75;
  margin-bottom: 16px; font-size: 16px;
}
.article-content ul, .article-content ol { margin: 0 0 20px 0; padding-left: 24px; }
.article-content li { color: #4A5568; line-height: 1.75; margin-bottom: 8px; font-size: 16px; }
.article-content strong { color: var(--navy); font-weight: 600; }
.article-content a { color: var(--teal); }
.article-content a:hover { text-decoration: underline; }

.article-callout {
  background: var(--gray-50); border-left: 4px solid var(--teal);
  padding: 20px 24px; border-radius: 6px; margin: 24px 0;
}
.article-callout p { margin-bottom: 0; }
.article-callout .callout-label {
  display: block; font-size: 11px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px;
}

.emphasis-block {
  background: #FFF8E1; border-left: 4px solid #F59E0B;
  padding: 16px 20px; border-radius: 6px; margin: 20px 0;
  font-size: 14px;
}
.emphasis-block p { margin-bottom: 0; }
.emphasis-block strong { color: #B45309; }
.all-caps-notice {
  text-transform: uppercase; font-size: 13px; font-weight: 600; color: var(--navy);
  letter-spacing: 0.3px; line-height: 1.6;
}

.toc {
  background: var(--gray-50); border-radius: 8px; padding: 20px 28px; margin-bottom: 40px;
}
.toc h3 {
  margin-top: 0 !important; margin-bottom: 12px;
  font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-500);
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 4px; font-size: 14px; }
.toc a { color: var(--teal); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc.two-col ol { columns: 2; column-gap: 32px; }
.toc.two-col li { break-inside: avoid; font-size: 13px; }
@media (max-width: 640px) {
  .toc.two-col ol { columns: 1; }
}

.breadcrumb {
  max-width: 820px; margin: 0 auto 24px; font-size: 14px; color: var(--gray-500);
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.article-cta {
  margin-top: 48px; background: var(--gray-50); border-radius: 12px;
  padding: 32px; text-align: center;
}
.article-cta h3 { margin-top: 0; }

.article-sources {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gray-200);
  font-size: 14px; color: var(--gray-500);
}
.article-sources a { color: var(--teal); text-decoration: none; }
.article-sources a:hover { text-decoration: underline; }

.commitment-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0;
}
.commitment {
  background: var(--gray-50); border-radius: 8px; padding: 20px;
  border: 1px solid var(--gray-200);
}
.commitment-title { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 15px; }
.commitment-body { font-size: 14px; color: #4A5568; line-height: 1.6; margin: 0; }
.commitment.positive { border-left: 4px solid #10B981; }
.commitment.negative { border-left: 4px solid #EF4444; }
@media (max-width: 640px) {
  .commitment-grid { grid-template-columns: 1fr; }
}

.alignment-table {
  width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px;
}
.alignment-table th, .alignment-table td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200); vertical-align: top;
}
.alignment-table th {
  background: var(--gray-50); font-weight: 700; color: var(--navy);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
}
.alignment-table td { color: #4A5568; line-height: 1.6; }
.check-icon { color: #10B981; font-weight: 700; }

.download-card {
  background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
  border-radius: 12px; padding: 32px; margin: 32px 0;
  border: 1px solid var(--gray-200); text-align: center;
}
.download-card h3 { margin-top: 0 !important; }
.download-card p { margin-bottom: 20px; }

/* Blog-specific styles */
.blog-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; color: var(--gray-500); margin-bottom: 24px;
}
.blog-meta .tag {
  background: var(--teal); color: var(--white);
  padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.blog-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover, 0 10px 25px rgba(0,0,0,0.1));
  border-color: var(--teal);
}
.blog-card .blog-card-tag {
  display: inline-block; background: rgba(0,165,181,0.1); color: var(--teal);
  padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
  align-self: flex-start;
}
.blog-card h3 {
  font-size: 20px; color: var(--navy); margin-bottom: 12px; line-height: 1.35;
}
.blog-card p {
  color: #4A5568; line-height: 1.6; margin-bottom: 16px; flex: 1;
}
.blog-card .blog-card-meta {
  font-size: 13px; color: var(--gray-500); margin-top: auto;
}
.blog-card a.read-more {
  color: var(--teal); font-weight: 600; font-size: 14px;
  text-decoration: none; margin-top: 12px; display: inline-block;
}
.blog-card a.read-more:hover { text-decoration: underline; }
.blog-card-link {
  text-decoration: none; color: inherit; display: block;
}
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Code styles for API docs */
.code-block {
  background: #1a202c; color: #e2e8f0;
  padding: 20px 24px; border-radius: 8px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 13px; line-height: 1.6; overflow-x: auto;
  margin: 20px 0;
  white-space: pre;
  tab-size: 2;
}
.code-block .code-comment { color: #718096; }
.code-block .code-key { color: #90cdf4; }
.code-block .code-string { color: #fbd38d; }
.code-block .code-num { color: #f687b3; }
code.inline {
  background: var(--gray-50); padding: 2px 6px; border-radius: 4px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.9em; color: var(--navy);
}
.endpoint {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray-50); padding: 12px 16px;
  border-radius: 6px; margin: 16px 0;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
}
.http-method {
  padding: 3px 8px; border-radius: 4px; font-weight: 700;
  font-size: 11px; letter-spacing: 0.5px;
}
.http-method.get { background: #c6f6d5; color: #22543d; }
.http-method.post { background: #bee3f8; color: #2a4365; }
.http-method.delete { background: #fed7d7; color: #742a2a; }
