﻿/* ══════ AUTO-LINKED CITY NAMES ══════ */
.blog-city-link {
  color: #e94560;
  text-decoration: underline;
  font-weight: 500;
}
.blog-city-link:hover {
  color: #c73250;
  text-decoration: underline;
}

/* ══════ READING PROGRESS BAR ══════ */
.bp-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 1000; pointer-events: none;
}
.bp-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #e94560 0%, #ff6b8a 100%);
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(233,69,96,0.5);
}

/* ══════ HERO ══════ */
.bp-hero { position: relative; height: clamp(380px, 60vh, 560px); overflow: hidden; }
.bp-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,52,96,0.92) 0%, rgba(15,52,96,0.5) 45%, rgba(0,0,0,0.05) 100%);
}
.bp-hero-inner {
  position: absolute; bottom: 0; left: 0; right: 0;
  max-width: 1200px; margin: 0 auto; padding: 40px 32px 48px;
}
.bp-cat-badge {
  display: inline-block; padding: 6px 14px; border-radius: 50px;
  font-size: 11px; font-weight: 700; background: #e94560; color: #fff;
  margin-bottom: 18px; text-decoration: none;
  letter-spacing: 0.8px; text-transform: uppercase;
}
.bp-cat-badge:hover { background: #c73250; }
.bp-hero-inner h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(28px, 5vw, 56px); font-weight: 800; color: #fff;
  line-height: 1.1; letter-spacing: -0.02em; max-width: 920px;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.bp-hero-meta-row {
  display: flex; gap: 12px; align-items: center; margin-top: 20px;
  font-size: 14px; color: rgba(255,255,255,0.85); flex-wrap: wrap;
}
.bp-hero-author {
  display: inline-flex; align-items: center; gap: 8px;
}
.bp-hero-author img {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4); object-fit: cover;
}
.bp-hero-author strong { color: #fff; font-weight: 600; }
.bp-dot { opacity: 0.5; }

/* ══════ WRAPPER ══════ */
.bp-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ══════ BREADCRUMB ══════ */
.bp-breadcrumb { padding: 14px 0; font-size: 13px; color: #9ca3af; }
.bp-breadcrumb a { color: #6b7280; text-decoration: none; }
.bp-breadcrumb a:hover { color: var(--primary, #e94560); }
.bp-breadcrumb .sep { margin: 0 6px; opacity: 0.4; }

/* ══════ TWO-COLUMN GRID ══════ */
.bp-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 40px;
  align-items: start;
}

/* ══════ LEFT: ARTICLE ══════ */
.bp-main { min-width: 0; }

/* Table of Contents */
.bp-toc {
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px 24px; margin-bottom: 28px;
}
.bp-toc-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: #9ca3af; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.bp-toc-title svg { width: 16px; height: 16px; opacity: 0.5; }
.bp-toc ol {
  list-style: none; padding: 0; margin: 0; counter-reset: toc;
}
.bp-toc li {
  counter-increment: toc; margin-bottom: 0;
}
.bp-toc li a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 0; font-size: 14px; color: #374151;
  text-decoration: none; border-bottom: 1px solid #f3f4f6;
  transition: color 0.15s, padding-left 0.15s;
}
.bp-toc li:last-child a { border-bottom: none; }
.bp-toc li a:hover { color: var(--primary, #e94560); padding-left: 4px; }
.bp-toc li a::before {
  content: counter(toc); font-size: 11px; font-weight: 700;
  color: #9ca3af; background: #e5e7eb; width: 22px; height: 22px;
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}

/* Meta row */
.bp-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 16px 0 20px; border-bottom: 1px solid #e5e7eb; margin-bottom: 28px;
}
.bp-author-row { display: flex; align-items: center; gap: 10px; }
.bp-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #e5e7eb; }
.bp-a-name { font-size: 14px; font-weight: 600; color: #111; }
.bp-a-detail { font-size: 12px; color: #9ca3af; margin-top: 1px; }

/* Share buttons (inline) */
.bp-share { display: flex; align-items: center; gap: 6px; }
.bp-share-lbl {
  font-size: 11px; font-weight: 600; color: #9ca3af;
  text-transform: uppercase; letter-spacing: 0.5px; margin-right: 2px;
}
.bp-sb {
  width: 36px; height: 36px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  border: 1px solid #e5e7eb; background: #fff; color: #6b7280;
  text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.bp-sb:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.bp-sb svg { width: 15px; height: 15px; }
.bp-sb.fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.bp-sb.tw:hover { background: #000; color: #fff; border-color: #000; }
.bp-sb.li:hover { background: #0077b5; color: #fff; border-color: #0077b5; }
.bp-sb.wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.bp-sb.cp:hover { background: #6b7280; color: #fff; border-color: #6b7280; }

/* Article body — magazine reading typography */
.bp-body {
  font-family: 'Source Serif Pro', 'Georgia', 'Charter', serif;
  font-size: 1.1875rem; line-height: 1.75; color: #1f2937;
  max-width: 70ch;
}
.bp-body p { margin: 0 0 1.4rem; }
/* Drop cap on first paragraph — Conde Nast style */
.bp-body > p:first-of-type::first-letter {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 4.5rem; font-weight: 800;
  float: left; line-height: 0.9; padding: 0.35rem 0.65rem 0 0;
  color: #e94560;
}
.bp-body > p:first-of-type {
  font-size: 1.25rem; line-height: 1.65; color: #111827;
}
.bp-body h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 800;
  margin: 2.75rem 0 0.85rem; color: #0f3460; line-height: 1.2;
  letter-spacing: -0.015em; scroll-margin-top: 90px;
}
.bp-body h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 1.4rem; font-weight: 700; margin: 2rem 0 0.6rem;
  color: #0f3460; line-height: 1.3; scroll-margin-top: 90px;
}
.bp-body img {
  max-width: 100%; border-radius: 12px; margin: 2rem 0;
  box-shadow: 0 8px 28px rgba(15,52,96,0.12);
}
.bp-body figure {
  margin: 2rem 0; max-width: 100%;
}
.bp-body figure img {
  margin: 0; display: block; width: 100%;
}
.bp-body figcaption {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem; color: #6b7280;
  text-align: center; margin-top: 10px;
  font-style: italic; line-height: 1.5;
}
.bp-body blockquote {
  border: none;
  margin: 2.25rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 1.375rem; font-style: italic; font-weight: 500;
  color: #0f3460; line-height: 1.5;
  background: none;
  border-radius: 0;
  border-left: 4px solid #e94560;
}
.bp-body blockquote::before {
  content: '\201C';
  position: absolute; left: 1.2rem; top: -0.4rem;
  font-size: 4rem; color: rgba(233,69,96,0.18);
  font-family: 'Georgia', serif; line-height: 1;
  pointer-events: none;
}
.bp-body blockquote p { margin: 0; padding-left: 0.5rem; }
.bp-body blockquote p:last-child { margin-bottom: 0; }
.bp-body ul, .bp-body ol { padding-left: 1.5em; margin: 0 0 1.4rem; }
.bp-body li { margin-bottom: 0.5em; }
.bp-body ul li::marker { color: #e94560; }
.bp-body a { color: #e94560; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.15s; }
.bp-body a:hover { color: #c73250; text-decoration-thickness: 2px; }
.bp-body strong { font-weight: 700; color: #0f3460; }
.bp-body pre { background: #0f3460; color: #f3f4f6; padding: 1.1rem 1.25rem; border-radius: 10px; overflow-x: auto; font-size: 0.9rem; margin: 1.75rem 0; }
.bp-body code { background: #fef2f4; color: #c73250; padding: 2px 6px; border-radius: 4px; font-size: 0.92em; font-family: 'JetBrains Mono', 'Menlo', monospace; }

/* Bottom share + tags */
.bp-bottom-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 24px 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
  margin: 28px 0;
}
.bp-tag-pill {
  display: inline-block; padding: 5px 14px; border-radius: 50px; font-size: 12px;
  font-weight: 500; background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb;
  text-decoration: none; margin-right: 4px;
}
.bp-tag-pill:hover { border-color: var(--primary); color: var(--primary); }

/* Author card */
.bp-author-card {
  display: flex; gap: 16px; padding: 20px; border-radius: 12px;
  background: #f9fafb; border: 1px solid #e5e7eb; margin-top: 24px;
}
.bp-author-card img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.bp-ac-name { font-size: 15px; font-weight: 700; color: #111; }
.bp-ac-role { font-size: 12px; color: var(--primary); font-weight: 500; margin-top: 2px; }
.bp-ac-bio { font-size: 13px; color: #6b7280; line-height: 1.6; margin-top: 6px; }

/* ══════ RIGHT: SIDEBAR ══════ */
.bp-sidebar {
  position: sticky; top: 80px; height: fit-content;
  display: flex; flex-direction: column; gap: 20px;
}
.bp-scard {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px;
}
.bp-scard-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: #9ca3af; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f3f4f6;
}

/* Sidebar: TOC */
.bp-s-toc-list {
  list-style: none; padding: 0; margin: 0; counter-reset: stoc;
}
.bp-s-toc-list li { counter-increment: stoc; }
.bp-s-toc-list li a {
  display: block; padding: 6px 0; font-size: 13px; color: #374151;
  text-decoration: none; border-bottom: 1px solid #f3f4f6;
  transition: color 0.15s;
}
.bp-s-toc-list li:last-child a { border-bottom: none; }
.bp-s-toc-list li a:hover { color: var(--primary, #e94560); }

/* Sidebar: Author */
.bp-s-author { text-align: center; }
.bp-s-author img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; border: 3px solid #f3f4f6; }
.bp-s-author .s-name { font-size: 15px; font-weight: 700; color: #111; }
.bp-s-author .s-role { font-size: 11px; color: var(--primary); font-weight: 500; margin-top: 2px; }
.bp-s-author .s-bio { font-size: 12px; color: #6b7280; line-height: 1.5; margin-top: 8px; }

/* Sidebar: Related */
.bp-s-related a {
  display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f3f4f6;
  text-decoration: none; color: inherit; transition: background 0.15s;
}
.bp-s-related a:last-child { border-bottom: none; }
.bp-s-related a:hover { background: #fafafa; margin: 0 -10px; padding: 10px; border-radius: 6px; }
.bp-s-related img { width: 64px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.bp-s-related .sr-t { font-size: 13px; font-weight: 500; color: #374151; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-s-related .sr-d { font-size: 11px; color: #9ca3af; margin-top: 3px; }

/* Sidebar: Popular */
.bp-s-pop a {
  display: flex; align-items: flex-start; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid #f3f4f6; text-decoration: none; color: inherit;
}
.bp-s-pop a:last-child { border-bottom: none; }
.bp-s-pop a:hover .sp-t { color: var(--primary); }
.bp-s-rank {
  width: 24px; height: 24px; border-radius: 4px; background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #9ca3af; flex-shrink: 0;
}
.sp-t { font-size: 13px; font-weight: 500; color: #374151; line-height: 1.4; transition: color 0.15s; }
.sp-v { font-size: 11px; color: #9ca3af; margin-top: 2px; }

/* Sidebar: Categories */
.bp-s-cats a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #f3f4f6;
  font-size: 13px; color: #374151; text-decoration: none; transition: color 0.15s;
}
.bp-s-cats a:last-child { border-bottom: none; }
.bp-s-cats a:hover { color: var(--primary); }
.bp-s-cats .cnt {
  font-size: 10px; background: #f3f4f6; color: #9ca3af;
  padding: 2px 7px; border-radius: 10px; font-weight: 600;
}

/* Sidebar: Share */
.bp-s-share { display: flex; gap: 6px; flex-wrap: wrap; }

/* ══════ RELATED FULL WIDTH ══════ */
.bp-related-full { padding: 48px 0; background: #f9fafb; margin-top: 40px; }
.bp-related-full h2 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: #9ca3af; margin-bottom: 24px;
}
.bp-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bp-rc {
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid #e5e7eb; text-decoration: none; color: inherit; display: block;
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.bp-rc:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.bp-rc-img { overflow: hidden; }
.bp-rc-img img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.bp-rc:hover .bp-rc-img img { transform: scale(1.05); }
.bp-rc-body { padding: 16px; }
.bp-rc-cat { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; background: #111; color: #fff; margin-bottom: 6px; }
.bp-rc h3 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-rc-meta { font-size: 12px; color: #9ca3af; }

/* ══════ COMMENTS ══════ */
.bp-comments { margin: 36px 0; }
.bp-comments h2 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.bp-comments-empty {
  text-align: center; padding: 36px; border: 2px dashed #e5e7eb;
  border-radius: 12px; color: #9ca3af; font-size: 14px;
}
.bp-comments-empty .bp-login-btn {
  display: inline-block; margin-top: 12px; padding: 10px 24px; border-radius: 8px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 13px; text-decoration: none;
}

/* ══════ FLOATING SHARE (left side, vertical rail) ══════ */
.bp-float-share {
  position: fixed; top: 50%; transform: translateY(-50%);
  left: max(12px, calc((100vw - 1340px) / 2));
  display: flex; flex-direction: column; gap: 8px; z-index: 40;
  padding: 8px; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 50px; border: 1px solid rgba(15,52,96,0.08);
  box-shadow: 0 8px 24px rgba(15,52,96,0.08);
}
.bp-float-share .bp-sb {
  width: 38px; height: 38px; border: none; box-shadow: none;
}

/* Hide floating share on narrow viewports where it would overlap content */
@media (max-width: 1180px) {
  .bp-float-share { display: none; }
}

/* ══════ INLINE NEWSLETTER CTA ══════ */
.bp-newsletter {
  margin: 2.75rem 0 1.5rem;
  background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
  border-radius: 16px; padding: 2rem 2rem;
  position: relative; overflow: hidden;
  max-width: 70ch;
}
.bp-newsletter::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,69,96,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.bp-nl-inner { position: relative; z-index: 1; }
.bp-nl-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: #e94560; margin-bottom: 8px;
}
.bp-newsletter h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: #fff; font-size: 1.5rem; font-weight: 800;
  line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em;
}
.bp-newsletter p {
  color: rgba(255,255,255,0.75); font-size: 0.95rem;
  margin: 0 0 1.25rem; line-height: 1.5;
  font-family: 'Inter', system-ui, sans-serif;
}
.bp-nl-form {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.bp-nl-form input {
  flex: 1; min-width: 200px;
  padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 14px; font-family: inherit;
  transition: all 0.2s;
}
.bp-nl-form input::placeholder { color: rgba(255,255,255,0.45); }
.bp-nl-form input:focus {
  outline: none; border-color: #e94560;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(233,69,96,0.2);
}
.bp-nl-form button {
  padding: 12px 24px; border-radius: 8px; border: none;
  background: #e94560; color: #fff;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.bp-nl-form button:hover { background: #ff5878; transform: translateY(-1px); }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 992px) {
  .bp-grid { grid-template-columns: 1fr; gap: 0; }
  .bp-sidebar { position: static; margin-top: 32px; flex-direction: row; flex-wrap: wrap; }
  .bp-sidebar .bp-scard { flex: 1; min-width: 260px; }
}
@media (max-width: 768px) {
  .bp-hero { height: clamp(320px, 50vh, 420px); }
  .bp-hero-inner { padding: 24px 18px 28px; }
  .bp-hero-inner h1 { font-size: clamp(24px, 6vw, 32px); }
  .bp-hero-meta-row { font-size: 12px; gap: 8px; }
  .bp-hero-author img { width: 26px; height: 26px; }
  .bp-wrapper { padding: 0 16px; }
  .bp-body { font-size: 1.0625rem; line-height: 1.7; max-width: 100%; }
  .bp-body > p:first-of-type { font-size: 1.125rem; }
  .bp-body > p:first-of-type::first-letter { font-size: 3.5rem; padding: 0.3rem 0.5rem 0 0; }
  .bp-body h2 { font-size: 1.4rem; margin: 2rem 0 0.6rem; scroll-margin-top: 70px; }
  .bp-body h3 { font-size: 1.2rem; scroll-margin-top: 70px; }
  .bp-body blockquote { font-size: 1.125rem; padding-left: 1.1rem; }
  .bp-rel-grid { grid-template-columns: 1fr; }
  .bp-meta { flex-direction: column; align-items: flex-start; }
  .bp-sidebar { flex-direction: column; }
  .bp-author-card { flex-direction: column; align-items: center; text-align: center; }
  .bp-float-share { display: none; }
  .bp-newsletter { padding: 1.5rem 1.25rem; max-width: 100%; }
  .bp-newsletter h3 { font-size: 1.25rem; }
  .bp-nl-form { flex-direction: column; }
  .bp-nl-form input, .bp-nl-form button { width: 100%; }
}
