/* =========================================================
   Qurikvoy — Blog / Travel Chronicles (listing + article)
   desktop ≥1024 · tablet 768–1023 · mobile ≤767
   ========================================================= */
.page-blog, .page-post {
  --b-ink: #1c1b1b;
  --b-text: #414751;
  --b-muted: #717782;
  --b-blue: #005a9a;
  --b-navy: #286197;
  --b-rust: #bf4b0e;
  --b-rust-2: #9a3800;
  --b-cream: #fcf9f8;
  --b-sand: #f6f3f2;
  --b-chip: #f0eded;
  --b-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --b-shadow-hover: 0 22px 40px -22px rgba(0, 29, 54, 0.35);
  background: var(--b-cream);
}

/* ---------- shared bits ---------- */
.bl-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; white-space: nowrap; color: #fff; background: var(--b-blue); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.bl-badge--navy { background: var(--b-navy); }
.bl-badge--rust { background: var(--b-rust); color: #fff2ee; }
.bl-badge--peach { background: #ffdbcd; color: #360f00; }
.bl-badge--green { background: #1f8f4e; }
.bl-badge--light { background: rgba(255, 255, 255, 0.95); color: var(--b-ink); }
.bl-link { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--b-blue); white-space: nowrap; }
.bl-link img { flex: none; transition: transform 0.25s var(--ease); }
.bl-link:hover img { transform: translateX(3px); }
.bl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 12px; background: linear-gradient(90deg, var(--b-blue), #2373ba); color: #fff; font-size: 14px; font-weight: 600; line-height: 20px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.bl-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(0, 90, 154, 0.7); }

/* =========================================================
   1. HEADER
   ========================================================= */
.bl-head { padding: 40px 0; background: linear-gradient(180deg, var(--b-sand) 0%, var(--b-cream) 100%); }
.bl-head .container { display: flex; flex-direction: column; gap: 16px; }
.bl-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.bl-crumbs { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 11px; line-height: 14px; letter-spacing: 0.44px; }
.bl-crumbs li { display: flex; align-items: center; gap: 4px; }
.bl-crumbs a { font-weight: 700; color: var(--b-muted); }
.bl-crumbs a:hover { color: var(--b-blue); }
.bl-crumbs strong { font-weight: 600; color: var(--b-ink); }
.bl-status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(0, 90, 154, 0.1); font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: var(--b-blue); }
.bl-status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--b-blue); animation: bl-pulse 2.2s ease-out infinite; }
@keyframes bl-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 90, 154, 0.45); } 100% { box-shadow: 0 0 0 7px rgba(0, 90, 154, 0); } }
.bl-head__copy { display: flex; flex-direction: column; gap: 8px; max-width: 768px; padding-top: 4px; }
.bl-kicker { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--b-rust-2); }
.bl-kicker img { flex: none; }
.bl-title { margin: 0; font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -0.72px; color: var(--b-ink); }
.bl-lead { font-size: 18px; line-height: 28px; color: var(--b-text); }
.bl-head__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 8px; }
.bl-search { position: relative; flex: 1; max-width: 576px; }
.bl-search > img { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.bl-search input { width: 100%; height: 48px; padding: 0 17px 0 49px; border: 1px solid #6b7280; border-radius: 12px; background: #fff; box-shadow: var(--b-shadow); font: inherit; font-size: 14px; color: var(--b-ink); transition: border-color 0.2s, box-shadow 0.2s; }
.bl-search input::placeholder { color: var(--b-muted); }
.bl-search input:focus { outline: none; border-color: var(--b-blue); box-shadow: 0 0 0 3px rgba(0, 90, 154, 0.14); }
.bl-stats { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bl-stats li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--b-chip); font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: 0.24px; color: var(--b-ink); white-space: nowrap; }
.bl-pills { display: flex; gap: 8px; padding: 4px 0; overflow-x: auto; scrollbar-width: none; }
.bl-pills::-webkit-scrollbar { display: none; }
.bl-pill { flex: none; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: var(--b-text); transition: background 0.2s, color 0.2s; }
.bl-pill:hover { color: var(--b-blue); }
.bl-pill.is-active { background: var(--b-blue); color: #fff; }

/* =========================================================
   2. BENTO GRID
   ========================================================= */
.bl-grid-sec { padding: 24px 0 8px; }
.bl-result { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 20px; font-size: 14px; line-height: 20px; color: var(--b-text); }
.bl-result a { font-weight: 700; color: var(--b-blue); text-decoration: underline; text-underline-offset: 3px; }
.bl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; grid-auto-flow: dense; align-items: start; }

.bl-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--b-shadow); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.bl-card:hover { transform: translateY(-4px); box-shadow: var(--b-shadow-hover); }
.bl-card__media { position: relative; flex: none; overflow: hidden; background: var(--b-chip); }
.bl-card__img { display: block; height: 100%; }
.bl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.bl-card:hover .bl-card__img img { transform: scale(1.05); }
.bl-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 55%); pointer-events: none; }
.bl-card__badges { position: absolute; left: 12px; top: 17px; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.bl-card__imgmeta { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: 0.44px; color: #fff; pointer-events: none; }
.bl-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 24px; }
.bl-card__title { margin: 0; font-size: 20px; line-height: 27.5px; font-weight: 600; color: var(--b-ink); }
.bl-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; }
.bl-card__title a:hover { color: var(--b-blue); background-size: 100% 1px; }
.bl-card__excerpt { font-size: 14px; line-height: 20px; color: var(--b-text); }
.bl-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: #fff; }
.bl-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.bl-card__meta i { font-style: normal; }
.bl-card__meta img { flex: none; }
.bl-card__meta--grey { gap: 8px; color: var(--b-muted); }
.bl-card__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; padding-top: 4px; }
.bl-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-card__tags span { padding: 2px 8px; border-radius: 4px; background: var(--b-chip); font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: 0.44px; color: var(--b-text); }

/* hero (8 cols) */
.bl-card--hero { grid-column: span 8; }
.bl-card--hero .bl-card__media { height: 384px; }
.bl-card--hero .bl-card__media::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%); }
.bl-card--hero .bl-card__badges { left: 16px; top: 16px; }
.bl-save { position: absolute; right: 16px; top: 16px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); transition: background 0.2s, transform 0.2s var(--ease); }
.bl-save:hover { background: rgba(255, 255, 255, 0.35); transform: scale(1.06); }
.bl-save.is-saved { background: var(--b-rust); }
.bl-card__overlay { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.bl-card__overlay .bl-card__meta { opacity: 0.9; }
.bl-card--hero .bl-card__title { font-size: 24px; line-height: 30px; letter-spacing: -0.24px; color: #fff; }
.bl-card--hero .bl-card__title a:hover { color: #fff; }
.bl-card--hero .bl-card__excerpt { font-size: 16px; line-height: 24px; }
.bl-card--hero .bl-card__tags span { padding: 4px 10px; border-radius: 6px; }
.bl-card--hero .bl-card__foot { padding-top: 4px; }

/* tall (4 cols) */
.bl-card--tall { grid-column: span 4; }
.bl-card--tall .bl-card__media { height: 256px; }
.bl-card--tall .bl-card__media::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%); }
.bl-card--tall .bl-card__badges { left: 16px; top: 19px; }
.bl-card--tall .bl-card__imgmeta { left: 16px; bottom: 16px; font-weight: 700; }
.bl-card--tall .bl-card__link, .bl-card--note .bl-link { gap: 2px; }

/* standard (4 cols) */
.bl-card--std { grid-column: span 4; }
.bl-card--std .bl-card__media { height: 192px; }
.bl-card--std .bl-badge, .bl-card--wide .bl-badge, .bl-card--split .bl-badge { padding: 1.5px 10px; }
.bl-card--std .bl-card__foot { justify-content: flex-start; }

/* wide (8 cols, image beside text) */
.bl-card--wide { grid-column: span 8; flex-direction: row; min-height: 340px; }
.bl-card--wide .bl-card__media { flex: 0 0 41.7%; }
.bl-card--wide .bl-card__media::after { display: none; }
.bl-card--wide .bl-card__title { padding-top: 2px; font-size: 24px; line-height: 30px; letter-spacing: -0.24px; }
.bl-card--wide .bl-card__tags span { padding: 4px 10px; }

/* note (4 cols, no photo) */
.bl-card--note { grid-column: span 4; background: linear-gradient(140deg, #f6f3f2 0%, #f0eded 50%, #eae7e7 100%); }
.bl-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bl-card--note .bl-badge { padding: 4px 10px; box-shadow: none; }
.bl-card--note .bl-card__meta { padding-top: 4px; }
.bl-card__note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-top: 16px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.85); }
.bl-card__note p { display: flex; flex-direction: column; font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: var(--b-ink); }
.bl-card__note b { color: var(--b-rust); }

/* split (6 cols, half image) */
.bl-card--split { grid-column: span 6; flex-direction: row; min-height: 276px; }
.bl-card--split .bl-card__media { flex: 0 0 50%; }
.bl-card--split .bl-card__media::after { display: none; }
.bl-card--split .bl-card__foot, .bl-card--wide .bl-card__foot { padding-top: 12px; }

.bl-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 520px; margin: 24px auto; padding: 48px 24px; border-radius: 16px; background: #fff; box-shadow: var(--b-shadow); text-align: center; }
.bl-empty h2 { margin: 6px 0 0; font-size: 22px; line-height: 30px; color: var(--b-ink); }
.bl-empty p { font-size: 14px; line-height: 22px; color: var(--b-text); }
.bl-empty .bl-btn { margin-top: 8px; }

/* =========================================================
   3. NEWSLETTER
   ========================================================= */
.bl-news-sec { padding: 24px 0; }
.bl-news { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; overflow: hidden; padding: 40px; border-radius: 16px; background: linear-gradient(90deg, #005a9a 0%, #286197 100%); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.bl-news__ring { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.05); pointer-events: none; }
.bl-news__ring--a { right: -64px; bottom: -64px; width: 320px; height: 320px; }
.bl-news__ring--b { left: -48px; top: -48px; width: 256px; height: 256px; }
.bl-news__copy { position: relative; display: flex; flex-direction: column; gap: 4px; max-width: 576px; }
.bl-news__kicker { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: #ffdbcd; }
.bl-news h2 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.24px; color: #fff; }
.bl-news__copy > p:last-child { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.8); }
.bl-news__form { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.bl-news__form input { min-width: 280px; height: 48px; padding: 0 17px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px; background: rgba(255, 255, 255, 0.1); font: inherit; font-size: 14px; color: #fff; transition: border-color 0.2s, background 0.2s; }
.bl-news__form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.bl-news__form input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, 0.16); }
.bl-news__form.is-invalid input { border-color: #ffb4a0; }
.bl-news__form button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 24px; border-radius: 12px; background: var(--b-rust); color: #fff; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 0.24px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); transition: background 0.2s, transform 0.25s var(--ease); }
.bl-news__form button:hover { background: #a9420c; transform: translateY(-2px); }
.bl-news__form button:disabled { opacity: 0.7; transform: none; }
.bl-news__msg { flex-basis: 100%; min-height: 0; font-size: 12px; font-weight: 600; line-height: 16px; color: #fff; }
.bl-news__msg:empty { display: none; }
.bl-news__msg.is-err { color: #ffdbcd; }

/* =========================================================
   4. PAGINATION + REGIONS
   ========================================================= */
.bl-pager-sec { padding: 16px 0 40px; }
.bl-pager-sec .container { display: flex; flex-direction: column; gap: 24px; }
.bl-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.bl-pager > p { font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: var(--b-muted); }
.bl-pager > p b { color: var(--b-ink); }
.bl-pager__nums { display: flex; align-items: center; gap: 4px; }
.bl-pager__nums > * { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: 0.44px; color: var(--b-ink); transition: background 0.2s, color 0.2s; }
.bl-pager__nums a:hover { background: var(--b-chip); }
.bl-pager__nums .is-current { background: var(--b-blue); color: #fff; font-weight: 700; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.bl-pager__arrow.is-off { opacity: 0.3; }
.bl-pager__arrow img.is-flip { transform: scaleX(-1); }
.bl-regions { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 4px; }
.bl-regions > p { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: var(--b-text); white-space: nowrap; }
.bl-regions ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bl-regions a { display: block; padding: 4px 12px; border-radius: 999px; background: var(--b-chip); font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.44px; color: var(--b-ink); transition: background 0.2s, color 0.2s; }
.bl-regions a:hover, .bl-regions a.is-active { background: var(--b-blue); color: #fff; }

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1023px) {
  .bl-head__tools { flex-wrap: wrap; }
  .bl-search { flex-basis: 100%; max-width: none; }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .bl-card--hero, .bl-card--wide, .bl-card--split { grid-column: span 2; }
  .bl-card--tall, .bl-card--std, .bl-card--note { grid-column: span 1; }
  .bl-card--split { min-height: 260px; }
  .bl-news { flex-direction: column; align-items: flex-start; }
  .bl-regions { flex-direction: column; align-items: flex-start; }
  .bl-regions ul { justify-content: flex-start; }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
  .bl-head { padding: 20px 0 28px; }
  .bl-head .container { gap: 14px; }
  .bl-status { font-size: 10px; letter-spacing: 0.3px; }
  .bl-kicker { font-size: 13px; line-height: 20px; letter-spacing: 0.6px; }
  .bl-title { font-size: 28px; line-height: 35px; letter-spacing: -0.5px; }
  .bl-lead { font-size: 15px; line-height: 24px; }
  .bl-stats { width: 100%; }
  .bl-stats li { flex: 1; justify-content: center; }
  .bl-pills { margin-inline: -16px; padding-inline: 16px; }

  .bl-grid { grid-template-columns: 1fr; gap: 20px; }
  .bl-card--hero, .bl-card--wide, .bl-card--split, .bl-card--tall, .bl-card--std, .bl-card--note { grid-column: auto; }
  .bl-card:hover { transform: none; }
  .bl-card--wide, .bl-card--split { flex-direction: column; min-height: 0; }
  .bl-card--wide .bl-card__media, .bl-card--split .bl-card__media { flex: none; height: 200px; }
  .bl-card--hero .bl-card__media { height: 320px; }
  .bl-card--hero .bl-card__title, .bl-card--wide .bl-card__title { font-size: 20px; line-height: 27px; }
  .bl-card--hero .bl-card__excerpt { font-size: 14px; line-height: 21px; }
  .bl-card--tall .bl-card__media { height: 220px; }
  .bl-card__body { padding: 20px 18px; }
  .bl-card__title { font-size: 18px; line-height: 25px; }
  .bl-link { font-size: 15px; }

  .bl-news { padding: 28px 18px; }
  .bl-news h2 { font-size: 21px; line-height: 28px; }
  .bl-news__form { width: 100%; flex-direction: column; }
  .bl-news__form input { min-width: 0; width: 100%; }
  .bl-news__form button { width: 100%; }

  .bl-pager { flex-direction: column; }
  .bl-pager-sec { padding-bottom: 32px; }
}

.bl-head__links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.bl-maglink { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; line-height: 16px; color: var(--b-blue); }
.bl-maglink img { transition: transform 0.25s var(--ease); }
.bl-maglink:hover img { transform: translateX(3px); }
