/* ==========================================================================
   Jetpac eSIM — Inner Page Styles (Pattern F: Minimalist Single-Column)
   Class prefix: jp-
   ========================================================================== */

/* Inner Main */
.jp-inner-main { padding: 40px 0 60px; background: var(--jp-bg); }

/* Breadcrumb */
.jp-breadcrumb { margin-bottom: 24px; }
.jp-breadcrumb-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; padding: 0; margin: 0; font-size: 0.85rem; }
.jp-breadcrumb-list li { display: flex; align-items: center; gap: 6px; }
.jp-breadcrumb-list li::before { content: "›"; color: var(--jp-text-muted); font-size: 0.8rem; }
.jp-breadcrumb-list li:first-child::before { display: none; }
.jp-breadcrumb-list a { color: var(--jp-accent); font-weight: 500; }
.jp-breadcrumb-list a:hover { color: var(--jp-primary); text-decoration: underline; }
.jp-breadcrumb-list span { color: var(--jp-text-muted); }

/* Article */
.jp-article { max-width: 800px; margin: 0 auto; }
.jp-article h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; color: var(--jp-text); }
.jp-article h2 { font-size: 1.4rem; font-weight: 700; margin-top: 40px; margin-bottom: 16px; color: var(--jp-text); line-height: 1.3; }
.jp-article h3 { font-size: 1.15rem; font-weight: 600; margin-top: 28px; margin-bottom: 10px; color: var(--jp-text); }
.jp-article p { font-size: 1rem; line-height: 1.75; color: var(--jp-text-muted); margin-bottom: 16px; }
.jp-article ul, .jp-article ol { margin-bottom: 16px; padding-left: 20px; }
.jp-article li { font-size: 1rem; line-height: 1.7; color: var(--jp-text-muted); margin-bottom: 8px; }
.jp-article ul li { list-style: disc; }
.jp-article ol li { list-style: decimal; }
.jp-article a { color: var(--jp-accent); text-decoration: underline; text-underline-offset: 2px; }
.jp-article a:hover { color: var(--jp-primary); }
.jp-article strong { color: var(--jp-text); font-weight: 600; }
.jp-article img { border-radius: var(--jp-radius); margin: 24px 0; }

/* Article Meta */
.jp-article-meta { font-size: 0.85rem; color: var(--jp-text-muted); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--jp-border); }

/* CTA Box (mid-article) */
.jp-cta-box { background: var(--jp-bg-alt); border-left: 4px solid var(--jp-primary); padding: 20px 24px; border-radius: 0 var(--jp-radius-sm) var(--jp-radius-sm) 0; margin: 32px 0; }
.jp-cta-box p { margin-bottom: 0; }
.jp-cta-box .jp-btn { margin-top: 10px; }

/* CTA Inline */
.jp-inner-main .jp-cta-inline { background: linear-gradient(135deg, var(--jp-primary), var(--jp-accent)); color: #fff; padding: 40px 24px; border-radius: var(--jp-radius); margin: 32px 0; text-align: center; }
.jp-inner-main .jp-cta-inline h2 { color: #fff; margin-top: 0; margin-bottom: 8px; font-size: 1.35rem; }
.jp-inner-main .jp-cta-inline p { color: rgba(255,255,255,0.9); margin-bottom: 16px; }

/* Table */
.jp-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; border-radius: var(--jp-radius-sm); overflow: hidden; box-shadow: var(--jp-shadow); }
.jp-table thead { background: var(--jp-primary); color: #fff; }
.jp-table th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.jp-table td { padding: 12px 16px; border-bottom: 1px solid var(--jp-border); color: var(--jp-text-muted); }
.jp-table tbody tr:nth-child(even) { background: var(--jp-bg-alt); }
.jp-table tbody tr:hover { background: var(--jp-light); }
.jp-table a { color: var(--jp-accent); font-weight: 600; }

/* Pros/Cons */
.jp-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.jp-pros, .jp-cons { padding: 20px; border-radius: var(--jp-radius); }
.jp-pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.jp-cons { background: #fef2f2; border: 1px solid #fecaca; }
.jp-pros h3, .jp-cons h3 { font-size: 1rem; margin-bottom: 12px; }
.jp-pros h3 { color: #166534; }
.jp-cons h3 { color: #991b1b; }
.jp-pros ul, .jp-cons ul { padding-left: 20px; }
.jp-pros li { list-style: disc; color: #166534; }
.jp-cons li { list-style: disc; color: #991b1b; }

/* Country Grid (hub pages) */
.jp-country-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.jp-country-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px; border: 1px solid var(--jp-border); border-radius: var(--jp-radius); text-decoration: none; color: var(--jp-text); transition: transform var(--jp-transition), box-shadow var(--jp-transition); }
.jp-country-card:hover { transform: translateY(-3px); box-shadow: var(--jp-shadow-lg); color: var(--jp-text); }
.jp-country-flag { font-size: 2rem; }
.jp-country-name { font-weight: 600; font-size: 1rem; }
.jp-country-price { font-size: 0.85rem; color: var(--jp-primary); font-weight: 700; }

/* Related */
.jp-related { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--jp-border); }
.jp-related h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.jp-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.jp-related-card { display: block; padding: 16px; background: var(--jp-bg-alt); border: 1px solid var(--jp-border); border-radius: var(--jp-radius-sm); text-decoration: none; color: var(--jp-text); font-weight: 500; font-size: 0.9rem; transition: transform var(--jp-transition), box-shadow var(--jp-transition); text-align: center; }
.jp-related-card:hover { transform: translateY(-2px); box-shadow: var(--jp-shadow); color: var(--jp-accent); }

/* How It Works (tutorials) */
.jp-inner-main .jp-hiw-steps { max-width: 100%; padding: 0; margin: 24px 0; }

/* Responsive */
@media (min-width: 600px) {
  .jp-article h1 { font-size: 2.4rem; }
  .jp-country-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .jp-inner-main { padding: 60px 0 80px; }
  .jp-article h1 { font-size: 2.75rem; }
  .jp-country-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Print */
@media print {
  .jp-inner-main .jp-cta-inline, .jp-cta-box, .jp-cta-inline .jp-btn, .jp-cta-box .jp-btn, .jp-related { display: none !important; }
  .jp-inner-main { padding: 20px 0; }
  .jp-question-answer { max-height: 500px !important; padding: 0 20px 12px !important; }
  .jp-table { box-shadow: none; border: 1px solid #ccc; }
  .jp-table thead { background: #333 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
