/**
 * All Prompt Hub - Blog Single Post Stylesheet
 * High-performance, accessible, responsive design matching reference.
 *
 * @package All_Prompt_Hub_Theme
 * @author  Zubayer Hasan
 */

/* ==========================================================================
   1. LAYOUT & CONTAINER
   ========================================================================== */
.aph-single-page {
  background-color: #ffffff;
  color: #0f172a;
  padding-bottom: 5rem;
}

.aph-single-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   2. BREADCRUMBS
   ========================================================================== */
.aph-single-breadcrumbs {
  padding-top: 1.5rem;
  padding-bottom: 0.75rem;
}

.aph-single-breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.aph-single-breadcrumbs__item a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.aph-single-breadcrumbs__item a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

.aph-single-breadcrumbs__separator {
  color: #94a3b8;
  font-size: 0.75rem;
  user-select: none;
}

.aph-single-breadcrumbs__item--active {
  color: #0f172a;
  font-weight: 500;
}

/* ==========================================================================
   3. ARTICLE HEADER
   ========================================================================== */
.aph-single-header {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

.aph-badge--category {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: #4f46e5;
  border-radius: 9999px;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.aph-badge--category:hover {
  background: #4338ca;
  color: #ffffff;
  transform: translateY(-1px);
}

.aph-single-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.aph-single-intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  max-width: 900px;
  margin-bottom: 1.75rem;
}

/* Meta Bar */
.aph-single-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.aph-single-meta__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.aph-meta-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.aph-meta-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.aph-meta-author__info {
  display: flex;
  flex-direction: column;
}

.aph-meta-author__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.aph-meta-author__role {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.3;
}

.aph-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #64748b;
}

.aph-meta-item svg {
  color: #94a3b8;
  flex-shrink: 0;
}

/* Share Controls */
.aph-single-share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.aph-single-share__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  margin-right: 0.25rem;
}

.aph-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.aph-share-btn:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
  transform: translateY(-2px);
}

.aph-share-btn--copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

/* Toast */
.aph-copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.aph-copy-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   4. FEATURED HERO IMAGE
   ========================================================================== */
.aph-single-featured {
  margin-top: 1.75rem;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  background: #0f172a;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.aph-single-featured__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.aph-single-featured__caption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   5. TWO-COLUMN MAIN ARTICLE LAYOUT
   ========================================================================== */
.aph-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.75rem;
  align-items: start;
}

.aph-single-content {
  min-width: 0;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: #1e293b;
}

/* ==========================================================================
   6. ARTICLE TYPOGRAPHY & ELEMENTS
   ========================================================================== */
.aph-single-content p {
  margin-bottom: 1.5rem;
}

.aph-single-content strong {
  font-weight: 700;
  color: #0f172a;
}

.aph-single-content em {
  font-style: italic;
}

.aph-single-content a {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.aph-single-content a:hover {
  color: #4338ca;
}

.aph-single-content a:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Heading Hierarchy & Anchor Offsets */
.aph-heading-anchor {
  scroll-margin-top: 90px;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.aph-single-content h2,
.aph-heading--h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

.aph-single-content h3,
.aph-heading--h3 {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.aph-single-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.aph-single-content h5 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.aph-single-content h6 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #64748b;
}

/* Lists */
.aph-single-content ul,
.aph-single-content ol {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.aph-single-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.aph-single-content ul ul,
.aph-single-content ol ol,
.aph-single-content ul ol,
.aph-single-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Blockquote */
.aph-single-content blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  border-radius: 0 12px 12px 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #1e293b;
  font-style: italic;
}

.aph-single-content blockquote p {
  margin-bottom: 0.75rem;
}

.aph-single-content blockquote p:last-child {
  margin-bottom: 0;
}

.aph-single-content blockquote cite {
  display: block;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.75rem;
}

/* Images & Captions */
.aph-single-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.aph-single-content figure {
  margin: 2rem 0;
}

.aph-single-content figcaption {
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.5rem;
}

/* Tables */
.aph-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.aph-article-table,
.aph-single-content table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.aph-article-table th,
.aph-single-content table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.aph-article-table td,
.aph-single-content table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: top;
}

.aph-article-table tr:last-child td,
.aph-single-content table tr:last-child td {
  border-bottom: none;
}

.aph-article-table tbody tr:nth-child(even),
.aph-single-content table tbody tr:nth-child(even) {
  background: #fafbfd;
}

/* Buttons */
.aph-single-content .aph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.aph-single-content .aph-btn--primary {
  background: #4f46e5;
  color: #ffffff !important;
}

.aph-single-content .aph-btn--primary:hover {
  background: #4338ca;
  color: #ffffff !important;
}

.aph-single-content .aph-btn--outline {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.aph-single-content .aph-btn--outline:hover {
  border-color: #4f46e5;
  color: #4f46e5;
  background: #f8fafc;
}

/* ==========================================================================
   7. CUSTOM ARTICLE COMPONENTS
   ========================================================================== */
.aph-component {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

/* Definition Card */
.aph-definition {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
}

.aph-definition__icon {
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 2px;
}

.aph-definition__body {
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.6;
}

.aph-definition__label {
  display: inline-block;
  font-weight: 700;
  color: #0369a1;
  margin-right: 0.35rem;
}

.aph-definition__content {
  display: inline;
}

/* Quick Fact Card */
.aph-quick-fact {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
}

.aph-quick-fact__icon {
  color: #16a34a;
  flex-shrink: 0;
  display: flex;
}

.aph-quick-fact__body {
  font-size: 0.9375rem;
  color: #14532d;
  line-height: 1.55;
}

.aph-quick-fact__label {
  font-weight: 700;
  color: #166534;
  margin-right: 0.35rem;
}

.aph-quick-fact__content {
  display: inline;
}

/* Did You Know */
.aph-did-you-know {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: 12px;
}

.aph-did-you-know__icon {
  color: #9333ea;
  flex-shrink: 0;
  margin-top: 2px;
}

.aph-did-you-know__body {
  font-size: 0.95rem;
  color: #3b0764;
  line-height: 1.6;
}

.aph-did-you-know__label {
  display: inline-block;
  font-weight: 700;
  color: #7e22ce;
  margin-right: 0.35rem;
}

.aph-did-you-know__content {
  display: inline;
}

/* Callouts: Tip, Warning, Important, Note, Info, Success */
.aph-callout {
  padding: 1.125rem 1.375rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.aph-callout__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.aph-callout__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.aph-callout__title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.aph-callout__content p:last-child {
  margin-bottom: 0;
}

/* Callout Variants */
.aph-callout--tip {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.aph-callout--tip .aph-callout__icon,
.aph-callout--tip .aph-callout__title {
  color: #15803d;
}

.aph-callout--warning {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.aph-callout--warning .aph-callout__icon,
.aph-callout--warning .aph-callout__title {
  color: #dc2626;
}

.aph-callout--important {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.aph-callout--important .aph-callout__icon,
.aph-callout--important .aph-callout__title {
  color: #d97706;
}

.aph-callout--note {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.aph-callout--note .aph-callout__icon,
.aph-callout--note .aph-callout__title {
  color: #2563eb;
}

.aph-callout--info {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}
.aph-callout--info .aph-callout__icon,
.aph-callout--info .aph-callout__title {
  color: #0284c7;
}

.aph-callout--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.aph-callout--success .aph-callout__icon,
.aph-callout--success .aph-callout__title {
  color: #059669;
}

/* Best Practices Component */
.aph-best-practice {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
}

.aph-best-practice__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.aph-best-practice__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}

.aph-best-practice__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.aph-best-practice__check {
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.aph-best-practice__text {
  font-size: 0.9375rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.5;
}

/* Pros and Cons */
.aph-pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.aph-pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.aph-pros-box__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #166534;
  margin-bottom: 0.75rem;
}

.aph-pros-box__title {
  font-size: 1rem;
  font-weight: 700;
}

.aph-pros-box__content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.aph-pros-box__content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #14532d;
  font-size: 0.9375rem;
}

.aph-pros-box__content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.aph-cons-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.aph-cons-box__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #991b1b;
  margin-bottom: 0.75rem;
}

.aph-cons-box__title {
  font-size: 1rem;
  font-weight: 700;
}

.aph-cons-box__content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.aph-cons-box__content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #7f1d1d;
  font-size: 0.9375rem;
}

.aph-cons-box__content li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

/* Example Comparison (Basic vs Advanced) */
.aph-example-compare {
  margin: 2rem 0;
}

.aph-example-compare__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.aph-example-compare__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}

.aph-example-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.aph-example-card--basic {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.aph-example-card--advanced {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.aph-example-card__header {
  margin-bottom: 0.75rem;
}

.aph-example-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.aph-example-card--basic .aph-example-card__badge {
  background: #e2e8f0;
  color: #334155;
}

.aph-example-card--advanced .aph-example-card__badge {
  background: #dcfce7;
  color: #166534;
}

.aph-example-compare__arrow {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Myth and Fact */
.aph-myth-fact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.aph-myth-card {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 1.25rem;
}

.aph-myth-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #991b1b;
  background: #fee2e2;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.aph-fact-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.25rem;
}

.aph-fact-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* Code Block */
.aph-code-block {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.aph-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.aph-code-block__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
}

.aph-code-block__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.aph-code-block__copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  background: #334155;
  color: #e2e8f0;
  border: 1px solid #475569;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.aph-code-block__copy-btn:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

.aph-code-block__pre {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
  background: transparent;
  color: #e2e8f0;
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.65;
}

.aph-code-block__code {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

/* Key Takeaway */
.aph-key-takeaway {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #eef2ff;
  border: 1.5px solid #c7d2fe;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 2.25rem 0;
}

.aph-key-takeaway__icon {
  color: #4f46e5;
  flex-shrink: 0;
  margin-top: 3px;
}

.aph-key-takeaway__body {
  flex-grow: 1;
}

.aph-key-takeaway__header {
  margin-bottom: 0.5rem;
}

.aph-key-takeaway__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #312e81;
  margin: 0;
}

.aph-key-takeaway__content {
  font-size: 0.95rem;
  color: #3730a3;
  line-height: 1.65;
}

.aph-key-takeaway__content p:last-child {
  margin-bottom: 0;
}

.aph-key-takeaway__content ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

/* Checklist */
.aph-checklist {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.aph-checklist__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.aph-checklist__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.aph-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  color: #1e293b;
}

.aph-checklist__box {
  width: 18px;
  height: 18px;
  background: #eef2ff;
  color: #4f46e5;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* FAQ Section & Accordion */
.aph-faq-section {
  margin: 2.5rem 0;
}

.aph-faq__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.aph-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aph-faq__item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aph-faq__item--open {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.aph-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.aph-faq__question {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.aph-faq__chevron {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  display: flex;
}

.aph-faq__item--open .aph-faq__chevron {
  transform: rotate(180deg);
  color: #4f46e5;
}

.aph-faq__answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.aph-faq__answer.hidden {
  display: none;
}

/* Video Placeholder */
.aph-video-placeholder {
  margin: 2rem 0;
}

.aph-video-placeholder__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.aph-video-placeholder__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.aph-video-placeholder__play-wrap {
  position: relative;
  z-index: 2;
}

.aph-video-placeholder__play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.aph-video-placeholder__play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.4);
  background: #dc2626;
}

.aph-video-placeholder__info {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: #ffffff;
}

.aph-video-placeholder__title {
  font-size: 0.9375rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* ==========================================================================
   8. SIDEBAR WIDGETS
   ========================================================================== */
.aph-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 84px;
}

.aph-sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.aph-sidebar-widget__header {
  margin-bottom: 1rem;
}

.aph-sidebar-widget__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.aph-sidebar-widget__title svg {
  color: #4f46e5;
}

/* Table of Contents Widget */
.aph-sidebar-widget--toc {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.aph-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aph-toc-item {
  margin-bottom: 0.5rem;
}

.aph-toc-item--level-3 {
  padding-left: 1rem;
  font-size: 0.8125rem;
}

.aph-toc-link {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.aph-toc-link:hover {
  color: #4f46e5;
  background: #f8fafc;
}

.aph-toc-link--active {
  color: #4f46e5 !important;
  font-weight: 700;
  background: #eef2ff !important;
}

.aph-toc-number {
  color: #94a3b8;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.aph-toc-link--active .aph-toc-number {
  color: #4f46e5;
}

/* Newsletter Widget */
.aph-sidebar-widget--newsletter {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  border: none;
}

.aph-newsletter-card {
  text-align: left;
}

.aph-newsletter-card__icon {
  color: #c7d2fe;
  margin-bottom: 0.75rem;
}

.aph-newsletter-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.aph-newsletter-card__desc {
  font-size: 0.875rem;
  color: #e0e7ff;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.aph-newsletter-card__input-wrap {
  margin-bottom: 0.75rem;
}

.aph-newsletter-card__input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #ffffff;
  color: #0f172a;
  font-size: 0.875rem;
}

.aph-newsletter-card__input:focus {
  outline: 2px solid #ffffff;
}

.aph-newsletter-card__btn {
  width: 100%;
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.625rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.aph-newsletter-card__btn:hover {
  background: #1e293b !important;
}

/* Sidebar Related Articles */
.aph-sidebar-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.aph-sidebar-related-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.aph-sidebar-related-card__thumb-link {
  flex-shrink: 0;
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.aph-sidebar-related-card__thumb {
  width: 68px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  display: block;
  transition: transform 0.25s ease;
}

.aph-sidebar-related-card:hover .aph-sidebar-related-card__thumb {
  transform: scale(1.06);
}

.aph-sidebar-related-card__thumb--placeholder {
  width: 68px;
  height: 52px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.aph-sidebar-related-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.aph-sidebar-related-card__title a {
  color: #0f172a;
  text-decoration: none;
}

.aph-sidebar-related-card__title a:hover {
  color: #4f46e5;
}

.aph-sidebar-related-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Popular Categories */
.aph-category-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.aph-category-item {
  border-bottom: 1px solid #f1f5f9;
}

.aph-category-item:last-child {
  border-bottom: none;
}

.aph-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: #334155;
  text-decoration: none;
}

.aph-category-link:hover {
  color: #4f46e5;
}

.aph-category-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f46e5;
  margin-right: 0.5rem;
}

.aph-category-name {
  flex-grow: 1;
}

.aph-category-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.aph-sidebar-btn-link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.aph-sidebar-btn-link:hover {
  text-decoration: underline;
}

/* AI Tools CTA Banner */
.aph-sidebar-widget--cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  border: 1px solid #334155;
}

.aph-sidebar-cta-card {
  text-align: center;
}

.aph-sidebar-cta-card__badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.aph-sidebar-cta-card__robot-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.aph-sidebar-cta-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.aph-sidebar-cta-card__desc {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.aph-sidebar-cta-card__btn {
  width: 100%;
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 700;
}

.aph-sidebar-cta-card__btn:hover {
  background: #f1f5f9 !important;
}

/* Quick Links */
.aph-quick-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aph-quick-links-list li {
  border-bottom: 1px solid #f1f5f9;
}

.aph-quick-links-list li:last-child {
  border-bottom: none;
}

.aph-quick-links-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: #334155;
  text-decoration: none;
}

.aph-quick-links-list a:hover {
  color: #4f46e5;
}

.aph-chevron {
  color: #94a3b8;
  font-weight: 700;
}

/* Tags Cloud */
.aph-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aph-tag-pill {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.aph-tag-pill:hover {
  background: #4f46e5;
  color: #ffffff;
}

/* ==========================================================================
   9. ARTICLE FOOTER & AUTHOR BOX
   ========================================================================== */
.aph-single-footer-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.aph-single-footer-tags__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 0.5rem;
}

/* Author Box */
.aph-author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.aph-author-box__avatar-wrap {
  flex-shrink: 0;
}

.aph-author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.aph-author-box__content {
  flex-grow: 1;
}

.aph-author-box__header {
  margin-bottom: 0.5rem;
}

.aph-author-box__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4f46e5;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.aph-author-box__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}

.aph-author-box__name a {
  color: inherit;
  text-decoration: none;
}

.aph-author-box__role {
  display: inline-block;
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}

.aph-author-box__bio {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.aph-author-box__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.875rem;
}

.aph-author-box__socials {
  display: inline-flex;
  gap: 0.5rem;
}

.aph-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.15s ease;
}

.aph-social-btn:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

.aph-author-box__more-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.aph-author-box__more-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   10. RELATED ARTICLES (END OF ARTICLE)
   ========================================================================== */
.aph-related-section {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 2.5rem;
}

.aph-related-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.aph-related-section__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}

.aph-related-section__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.aph-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.aph-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.aph-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.aph-related-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}

.aph-related-card__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.aph-related-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.aph-related-card:hover .aph-related-card__img {
  transform: scale(1.05);
}

.aph-related-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.aph-badge--overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
  border-radius: 4px;
  text-decoration: none;
  z-index: 2;
}

.aph-related-card__body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.aph-related-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.aph-related-card__title a {
  color: inherit;
  text-decoration: none;
}

.aph-related-card__title a:hover {
  color: #4f46e5;
}

.aph-related-card__meta {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   11. COMMENTS SECTION & COMMENT FORM
   ========================================================================== */
.aph-comments-area {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

.aph-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.aph-comments-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* Comments List */
.aph-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.aph-comment {
  margin-bottom: 1.5rem;
}

.aph-comment__body {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.aph-comment__meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.aph-comment__avatar-wrap {
  flex-shrink: 0;
}

.aph-comment__avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.aph-comment__author-info {
  flex-grow: 1;
}

.aph-comment__author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aph-comment__badge-author {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #eef2ff;
  color: #4f46e5;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.aph-comment__time {
  font-size: 0.75rem;
  color: #94a3b8;
}

.aph-comment__actions .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition: all 0.15s ease;
}

.aph-comment__actions .comment-reply-link:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

.aph-comment__content {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #334155;
}

.aph-comment__content p:last-child {
  margin-bottom: 0;
}

/* Threaded / Nested Comments */
.children {
  list-style: none;
  padding-left: 2.5rem;
  margin-top: 1rem;
}

/* Empty Comments State */
.aph-comments-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

.aph-comments-empty__icon {
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.aph-comments-empty__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.aph-comments-empty__desc {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Comment Form */
#respond {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.aph-comment-reply-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.aph-comment-reply-title small {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.aph-cancel-reply a {
  color: #ef4444;
  text-decoration: underline;
}

.aph-comment-notes {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.aph-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.aph-form-group {
  margin-bottom: 1rem;
}

.aph-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.aph-form-input,
.aph-form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.aph-form-input:focus,
.aph-form-textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.aph-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.aph-form-group--cookies {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.aph-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
  cursor: pointer;
}

.aph-form-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
}

.aph-btn--comment-submit {
  padding: 0.75rem 1.75rem !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .aph-single-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .aph-single-sidebar {
    position: static;
  }

  .aph-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .aph-single-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .aph-single-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .aph-best-practice__grid {
    grid-template-columns: 1fr;
  }

  .aph-pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .aph-example-compare__grid {
    grid-template-columns: 1fr;
  }

  .aph-example-compare__arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }

  .aph-myth-fact {
    grid-template-columns: 1fr;
  }

  .aph-form-row {
    grid-template-columns: 1fr;
  }

  .aph-related-grid {
    grid-template-columns: 1fr;
  }

  .children {
    padding-left: 1rem;
  }

  .aph-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .aph-author-box__footer {
    justify-content: center;
  }
}

/* ==========================================================================
   13. PRINT STYLES
   ========================================================================== */
@media print {
  .aph-header,
  .aph-footer,
  .aph-single-sidebar,
  .aph-single-share,
  .aph-single-breadcrumbs,
  .aph-related-section,
  .aph-comments-area,
  .aph-code-block__copy-btn,
  .aph-btn {
    display: none !important;
  }

  .aph-single-layout {
    display: block !important;
  }

  .aph-single-content {
    color: #000000 !important;
  }

  .aph-single-title {
    font-size: 24pt !important;
    color: #000000 !important;
  }

  .aph-code-block {
    background: #f1f5f9 !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
  }

  .aph-code-block__pre {
    color: #000000 !important;
  }
}
