/* Pop Telecom Blog — Public CSS © 2026 jon.com */
:root {
  --ptb-pink:   #E8005A;
  --ptb-dark:   #1a1a2e;
  --ptb-mid:    #555;
  --ptb-light:  #f8f8f8;
  --ptb-radius: 10px;
  --ptb-max:    860px;
}

.ptb-page-wrap {
  max-width: var(--ptb-max);
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* Breadcrumb */
.ptb-breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.ptb-breadcrumb a { color: var(--ptb-pink); text-decoration: none; }
.ptb-breadcrumb a:hover { text-decoration: underline; }
.ptb-breadcrumb span[aria-hidden] { margin: 0 6px; }

/* Article header */
.ptb-article-header { margin-bottom: 32px; }
.ptb-category-label {
  display: inline-block;
  background: var(--ptb-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ptb-article-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ptb-dark);
  margin: 0 0 14px;
}
.ptb-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #888;
  margin-bottom: 18px;
}
.ptb-read-time { display: flex; align-items: center; gap: 5px; }
.ptb-article-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ptb-mid);
  font-style: italic;
  border-left: 4px solid var(--ptb-pink);
  padding-left: 16px;
  margin: 0;
}

/* Infographic */
.ptb-infographic {
  margin: 28px 0;
  border-radius: var(--ptb-radius);
  overflow: hidden;
  border: 1px solid #f0d0df;
}
.ptb-infographic svg { display: block; width: 100%; height: auto; }

/* Body */
.ptb-article-body { font-size: 16px; line-height: 1.8; color: #333; }
.ptb-article-body h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ptb-dark);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0e0e8;
}
.ptb-article-body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; color: var(--ptb-dark); }
.ptb-article-body p { margin: 0 0 18px; }
.ptb-article-body strong { color: var(--ptb-dark); }
.ptb-article-body ul, .ptb-article-body ol { padding-left: 24px; margin-bottom: 18px; }
.ptb-article-body li { margin-bottom: 8px; }
.ptb-article-body a { color: var(--ptb-pink); }

/* CTA box */
.ptb-article-cta {
  margin: 40px 0;
  background: linear-gradient(135deg, #E8005A 0%, #c40049 100%);
  border-radius: var(--ptb-radius);
  padding: 28px 32px;
}
.ptb-cta-inner h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.ptb-cta-inner p  { color: rgba(255,255,255,.9); font-size: 15px; margin: 0 0 18px; }
.ptb-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--ptb-pink);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: transform .15s;
}
.ptb-cta-btn:hover { transform: scale(1.03); }

/* Keywords */
.ptb-keywords { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ptb-keyword-tag {
  background: #fdf0f5;
  border: 1px solid #f0d0df;
  color: var(--ptb-pink);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Related articles */
.ptb-related { margin-top: 40px; padding-top: 28px; border-top: 2px solid #f0e0e8; }
.ptb-related h2 { font-size: 19px; font-weight: 800; margin: 0 0 16px; }
.ptb-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ptb-related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: #fdf0f5;
  border: 1px solid #f0d0df;
  border-radius: var(--ptb-radius);
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.ptb-related-card:hover { background: #f8d8e8; transform: translateY(-2px); }
.ptb-related-title { font-size: 14px; font-weight: 700; color: var(--ptb-dark); line-height: 1.4; }
.ptb-related-meta  { font-size: 12px; color: var(--ptb-pink); }

/* Back link */
.ptb-back-link { margin-top: 32px; }
.ptb-back-link a { color: var(--ptb-pink); text-decoration: none; font-size: 14px; }

/* ── Index page ── */
.ptb-index-header { text-align: center; padding: 32px 0 24px; border-bottom: 2px solid #f0e0e8; margin-bottom: 32px; }
.ptb-index-header h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; color: var(--ptb-dark); margin: 0 0 12px; }
.ptb-index-sub { font-size: 17px; color: var(--ptb-mid); max-width: 600px; margin: 0 auto 20px; line-height: 1.6; }

/* Search */
.ptb-search-wrap { max-width: 560px; margin: 0 auto; }
.ptb-search-form { display: flex; gap: 8px; }
.ptb-search-form input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid #ddd;
  border-radius: 30px;
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}
.ptb-search-form input:focus { border-color: var(--ptb-pink); }
.ptb-search-form button {
  background: var(--ptb-pink);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.ptb-search-form button:hover { background: #c40049; }
.ptb-results-list { list-style: none; padding: 0; margin: 16px 0 0; }
.ptb-results-list li { padding: 10px 0; border-bottom: 1px solid #f0e0e8; display: flex; align-items: center; gap: 12px; }
.ptb-results-list a { color: var(--ptb-dark); text-decoration: none; font-weight: 600; font-size: 15px; }
.ptb-results-list a:hover { color: var(--ptb-pink); }
.ptb-cat { font-size: 11px; background: var(--ptb-pink); color: #fff; padding: 2px 8px; border-radius: 12px; }
.ptb-searching, .ptb-no-results { color: #888; font-size: 14px; margin-top: 12px; }

/* Category blocks */
.ptb-cat-block { margin-bottom: 40px; }
.ptb-cat-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--ptb-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--ptb-pink);
  display: inline-block;
}
.ptb-articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ptb-article-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--ptb-radius);
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.ptb-article-card:hover { box-shadow: 0 4px 14px rgba(232,0,90,.15); transform: translateY(-2px); }
.ptb-card-title { font-size: 15px; font-weight: 700; color: var(--ptb-dark); line-height: 1.4; }
.ptb-card-desc  { font-size: 13px; color: #777; line-height: 1.5; }
.ptb-card-meta  { font-size: 12px; color: var(--ptb-pink); font-weight: 600; margin-top: auto; }
