/* Single blog post (single-blog.php). Loaded by the template itself, after blog.css (tokens, related-article cards). */

.post-page {
  background: #fff; }

.post-page h1, .post-page h2, .post-page h3, .post-page h4, .post-page p, .post-page li, .post-page span {
  letter-spacing: normal; }

/* Hero */
.post-hero {
  background: var(--blog-tint);
  border-bottom: 1px solid var(--blog-border); }

.post-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 44px; }

.post-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px; }

.post-crumbs, .post-crumbs a, .post-crumbs span {
  color: var(--blog-muted);
  font-size: 13px;
  text-decoration: none; }
  .post-crumbs a:hover {
    color: var(--blog-blue); }
  .post-crumbs p {
    margin: 0; }

.post-page .post-hero__label {
  color: var(--blog-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase; }

.post-page .post-title {
  margin: 0;
  color: var(--blog-navy);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--blog-muted);
  font-size: 14px; }

.post-page .post-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blog-navy);
  font-weight: 700;
  text-decoration: none; }
  .post-page .post-meta__author:hover {
    color: var(--blog-blue); }

.post-meta__info {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px; }

.post-avatar {
  display: inline-flex;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blog-blue-soft); }
  .post-avatar img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover; }
  .post-avatar--lg {
    width: 64px;
    height: 64px; }

.post-hero__image {
  border-radius: 20px;
  overflow: hidden;
  background: var(--blog-blue-soft);
  box-shadow: 0 16px 40px rgba(3, 28, 120, 0.1); }
  .post-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover; }

/* Layout */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 56px; }

.post-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 760px; }

.post-page .post-disclosure {
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--blog-border);
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.55; }

.post-offer {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700; }
  .post-offer--active {
    background: #fff3d6;
    color: #7a4a00; }
  .post-offer--soon {
    background: #ffe1d2;
    color: #8a2c00; }
  .post-offer--expired {
    background: #eceef3;
    color: var(--blog-muted); }

.post-box {
  padding: 20px 24px;
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  background: var(--blog-tint); }
  .post-page .post-box p, .post-page .post-box li {
    color: var(--blog-text);
    font-size: 16px;
    line-height: 1.65; }
  .post-page .post-box p {
    margin: 0 0 10px; }
    .post-page .post-box p:last-child {
      margin-bottom: 0; }
  .post-box ul, .post-box ol {
    margin: 0;
    padding-left: 20px; }

.post-page .post-box__title {
  display: block;
  margin: 0 0 10px;
  color: var(--blog-navy);
  font-size: 18px;
  font-weight: 800; }

.post-summary {
  border-left: 4px solid var(--blog-blue); }

/* Table of contents (Easy TOC) */
.post-page .post-toc:empty {
  display: none; }

.post-page #ez-toc-container {
  display: block;
  width: auto !important;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: none; }
  .post-page #ez-toc-container .ez-toc-title {
    color: var(--blog-navy);
    font-size: 17px;
    font-weight: 800; }
  .post-page #ez-toc-container ul {
    margin-top: 8px; }
  .post-page #ez-toc-container li {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.45; }
    .post-page #ez-toc-container li li {
      font-size: 14px; }
  .post-page #ez-toc-container a {
    color: var(--blog-blue-dark);
    text-decoration: none; }
    .post-page #ez-toc-container a:hover {
      color: var(--blog-blue);
      text-decoration: underline; }

/* Article text */
.post-content {
  color: #2b3150;
  font-size: 17px;
  line-height: 1.75; }
  .post-content > *:first-child {
    margin-top: 0; }
  .post-page .post-content p, .post-page .post-content li {
    color: #2b3150;
    font-size: 17px;
    line-height: 1.75; }
  .post-page .post-content p {
    margin: 0 0 20px; }
  .post-page .post-content h2, .post-page .post-content h3, .post-page .post-content h4 {
    scroll-margin-top: 96px;
    color: var(--blog-navy);
    line-height: 1.3; }
  .post-page .post-content h2 {
    margin: 44px 0 16px;
    padding: 0;
    border: 0;
    font-size: 28px;
    font-weight: 800; }
    .post-page .post-content h2::before {
      display: none; }
  .post-page .post-content h3 {
    margin: 32px 0 12px;
    font-size: 21px;
    font-weight: 700; }
  .post-page .post-content h4 {
    margin: 24px 0 10px;
    font-size: 18px;
    font-weight: 700; }
  .post-content ul, .post-content ol {
    margin: 0 0 20px;
    padding-left: 24px; }
  .post-page .post-content li {
    margin: 0 0 8px; }
  .post-page .post-content a {
    color: var(--blog-blue-dark);
    text-decoration: underline;
    text-underline-offset: 3px; }
    .post-page .post-content a:hover {
      color: var(--blog-blue); }
  .post-content strong {
    color: #1a1f36; }
  .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px; }
  .post-content figure {
    margin: 28px 0; }
  .post-page .post-content figcaption, .post-page .post-content .wp-element-caption {
    margin-top: 8px;
    color: var(--blog-muted);
    font-size: 13px;
    text-align: center; }
  .post-content iframe {
    max-width: 100%; }
  .post-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border: 0;
    border-left: 4px solid var(--blog-blue);
    border-radius: 0 14px 14px 0;
    background: var(--blog-tint); }
    .post-page .post-content blockquote p {
      margin: 0 0 8px;
      font-size: 17px; }
      .post-page .post-content blockquote p:last-child {
        margin-bottom: 0; }
    .post-content blockquote cite {
      color: var(--blog-muted);
      font-size: 13px;
      font-style: normal; }
  .post-content .wp-block-table {
    overflow-x: auto; }
  .post-content table {
    width: 100%;
    margin: 0 0 24px;
    border-collapse: collapse;
    font-size: 15px; }
  .post-page .post-content th, .post-page .post-content td {
    padding: 12px 14px;
    border: 1px solid var(--blog-border);
    color: #2b3150;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top; }
  .post-page .post-content th, .post-page .post-content thead td {
    background: var(--blog-tint);
    color: var(--blog-navy);
    font-weight: 700; }
  .post-page .post-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--blog-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none; }
    .post-page .post-content .wp-block-button__link:hover {
      background: var(--blog-blue-dark);
      color: #fff; }

.post-page .post-promo-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--blog-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none; }
  .post-page .post-promo-btn:hover {
    background: var(--blog-blue-dark);
    color: #fff; }

/* Author */
.post-author {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  background: #fff; }

.post-author__text {
  display: flex;
  flex-direction: column;
  gap: 4px; }

.post-page .post-author__label {
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase; }

.post-page .post-author__name {
  color: var(--blog-navy);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none; }
  .post-page .post-author__name:hover {
    color: var(--blog-blue); }

.post-page .post-author p {
  margin: 4px 0 0;
  color: var(--blog-text);
  font-size: 15px;
  line-height: 1.6; }

.post-likes {
  margin: 0; }

.post-ad:empty {
  display: none; }

.post-comments {
  padding-top: 8px;
  border-top: 1px solid var(--blog-border); }

/* Sidebar */
.post-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0; }

.post-card {
  padding: 20px;
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  background: #fff; }

.post-page .post-card__title {
  margin: 0 0 14px;
  color: var(--blog-navy);
  font-size: 18px;
  font-weight: 800; }

.post-list {
  display: flex;
  flex-direction: column; }

.post-page .post-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--blog-line);
  text-decoration: none; }
  .post-page .post-card__title + .post-list__item {
    border-top: 0;
    padding-top: 0; }

.post-list__img {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--blog-blue-soft); }
  .post-list__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; }

.post-page .post-list__name {
  color: var(--blog-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4; }
  .post-page .post-list__item:hover .post-list__name {
    color: var(--blog-blue); }

.post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; }
  .post-page .post-tags__list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--blog-border);
    border-radius: 999px;
    background: var(--blog-tint);
    color: var(--blog-blue-dark);
    font-size: 13px !important;
    font-weight: 600;
    text-decoration: none; }
    .post-page .post-tags__list a:hover {
      border-color: var(--blog-blue); }

/* Related */
.post-related {
  padding: 48px 0 56px;
  border-top: 1px solid var(--blog-border);
  background: var(--blog-tint); }

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px; }

.post-ad--bottom {
  padding-top: 24px;
  padding-bottom: 24px; }

/* Responsive */
@media (max-width: 1100px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px; } }

@media (max-width: 991px) {
  .post-hero__inner, .post-layout {
    grid-template-columns: minmax(0, 1fr); }
  .post-main {
    max-width: none; }
  .post-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 640px) {
  .post-hero__inner {
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 28px; }
  .post-page .post-title {
    font-size: 28px; }
  .post-layout {
    padding-top: 28px; }
  .post-page .post-content p, .post-page .post-content li, .post-content {
    font-size: 16px; }
  .post-page .post-content h2 {
    font-size: 23px; }
  .post-page .post-content h3 {
    font-size: 19px; }
  .post-box, .post-author {
    padding: 18px; }
  .post-content table {
    display: block;
    overflow-x: auto; }
  .post-related__grid {
    grid-template-columns: minmax(0, 1fr); } }

/* AI Concierge sidebar (moved from the template's inline <style>) */
.pc-blog-concierge-slot {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    margin-bottom: 24px;
}

.pc-blog-concierge-slot .pc-concierge-resizable {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease, transform 0.28s ease;
}

.pc-blog-concierge-slot .pc-concierge-resizable.is-expanded {
    width: 620px;
    max-width: 90vw;
}

.pc-blog-concierge-slot .pc-concierge-resizable > .pc-concierge-thread,
.pc-blog-concierge-slot .pc-concierge-resizable > .pc-concierge-lock-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

.pc-blog-concierge-slot .pc-concierge-resizable .pc-concierge-thread__body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

.pc-blog-concierge-slot .pc-concierge-resizable .pc-concierge-lock-card {
    position: relative;
}

.pc-blog-concierge-slot .pc-concierge-resize-toggle {
    position: absolute;
    top: 54px;
    left: -14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pc-concierge-border, #e3e3e3);
    border-radius: 50%;
    background: #fff;
    color: var(--pc-concierge-muted, #5f666d);
    font-size: 13px;
    cursor: pointer;
    z-index: 21;
    box-shadow: 0 6px 16px rgba(31, 31, 31, 0.12);
}

.pc-blog-concierge-slot .pc-concierge-resize-toggle:hover {
    color: var(--pc-concierge-brand, #3760f3);
    border-color: var(--pc-concierge-brand, #3760f3);
}

.pc-blog-concierge-slot .pc-concierge-collapse-btn {
    position: absolute;
    top: 14px;
    left: -14px;
    z-index: 22;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pc-concierge-border, #e3e3e3);
    border-radius: 50%;
    background: #fff;
    color: #031C78;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(31, 31, 31, 0.12);
}

.pc-blog-concierge-slot .pc-concierge-collapse-btn:hover {
    color: var(--pc-concierge-brand, #3760f3);
    border-color: var(--pc-concierge-brand, #3760f3);
}

.pc-blog-concierge-slot .pc-concierge-resize-toggle svg,
.pc-blog-concierge-slot .pc-concierge-collapsed-tab svg {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 16px;
    height: 16px;
    stroke: currentColor !important;
}

.pc-blog-concierge-slot .pc-concierge-collapsed-tab {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    width: 40px;
    height: 140px;
    padding: 14px 0;
    margin-left: auto;
    border: 1px solid var(--pc-concierge-border, #e3e3e3);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #ffde59;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(31, 31, 31, 0.14);
	position: absolute;
    top: 5px;
    right: -60px;
}

.pc-blog-concierge-slot .pc-concierge-collapsed-tab__label {
    writing-mode: vertical-rl;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

[data-pc-concierge-slot].is-collapsed {
    height: auto;
    max-height: none;
}

[data-pc-concierge-slot].is-collapsed .pc-concierge-collapsed-tab {
    display: flex;
}

[data-pc-concierge-slot].is-collapsed .pc-concierge-resizable {
    transform: translateX(50vw);
    pointer-events: none;
}

.pc-blog-concierge-slot .pc-concierge-backdrop {
    display: none;
}
.sidebar-section{
	position: relative;
}

@media (max-width: 991px) {
    .pc-blog-concierge-slot {
        position: static;
        height: auto;
    }

    .pc-blog-concierge-slot .pc-concierge-resize-toggle {
        display: none;
    }

    .pc-blog-concierge-slot .pc-concierge-collapsed-tab {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        height: 120px;
        margin-left: 0;
        z-index: 50;
    }

    .pc-blog-concierge-slot .pc-concierge-resizable {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(92vw, 420px) !important;
        max-width: 92vw !important;
        height: 100% !important;
        z-index: 60 !important;
        box-shadow: -12px 0 32px rgba(0, 0, 0, 0.18) !important;
        transform: translateX(100%) !important;
    }

    [data-pc-concierge-slot]:not(.is-collapsed) .pc-concierge-resizable {
        transform: translateX(0) !important;
    }

    .pc-blog-concierge-slot .pc-concierge-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 15, 20, 0.35);
        z-index: 55;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
    }

    [data-pc-concierge-slot]:not(.is-collapsed) .pc-concierge-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
}
[data-pc-concierge-slot] .pc-concierge-thread__composer {
    position: relative;
    display: block;
    padding: 16px 20px 20px;
    background: #fff;
}
[data-pc-concierge-slot] .pc-concierge-thread__composer textarea {
    width: 100%;
    min-height: 160px;
    max-height: 260px;
    padding: 16px 56px 16px 18px;
    border: 1px solid #e3e6ea;
    border-radius: 22px;
    background: #fff;
    color: var(--pc-concierge-text, #1f1f1f);
    font-size: 15px;
    font-family: inherit;
    line-height: 1.45;
    resize: none;
    outline: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
[data-pc-concierge-slot] .pc-concierge-thread__composer textarea::placeholder {
    color: #9aa0a6;
}
[data-pc-concierge-slot] .pc-concierge-thread__composer textarea:focus {
    border-color: #3760f3;
    box-shadow: 0 0 0 3px rgba(55, 96, 243, 0.12);
}
[data-pc-concierge-slot] .pc-concierge-thread__composer button {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: var(--pc-concierge-brand, #3760f3);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
}
[data-pc-concierge-slot] .pc-concierge-thread__composer button:hover {
    background: var(--pc-concierge-brand-dark, #2c4dc2);
}
[data-pc-concierge-slot] .pc-concierge-card {
    padding: 16px 16px 14px;
}
[data-pc-concierge-slot] .pc-concierge-card__top {
    flex-wrap: wrap;
    gap: 8px;
}
[data-pc-concierge-slot] .pc-concierge-card__top h3 {
    font-size: 17px;
    line-height: 1.25;
    margin-top: 4px;
}
[data-pc-concierge-slot] .pc-concierge-pill--program {
    white-space: normal;
    max-width: 100%;
    min-height: auto;
}
[data-pc-concierge-slot] .pc-concierge-card__route-name {
    font-size: 12px;
}
[data-pc-concierge-slot] .pc-concierge-card__rate-row {
    gap: 8px;
}
[data-pc-concierge-slot] .pc-concierge-card__rate strong {
    font-size: 22px;
}
[data-pc-concierge-slot] .pc-concierge-card__rate span {
    font-size: 13px;
}
[data-pc-concierge-slot] .pc-concierge-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
[data-pc-concierge-slot] .pc-concierge-card__footer-action {
    align-items: flex-start;
    width: 100%;
}
[data-pc-concierge-slot] .pc-concierge-card__cta {
    white-space: normal;
    text-align: left;
}

/* Phones: the collapsed chat is a round button at the bottom right, not a side tab over the text */
@media (max-width: 991px) {
  .pc-blog-concierge-slot .pc-concierge-collapsed-tab {
    top: auto;
    right: 16px;
    bottom: 20px;
    flex-direction: row;
    gap: 8px;
    width: auto;
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #031c78;
    color: #fff;
    transform: none;
    box-shadow: 0 10px 24px rgba(3, 28, 120, 0.25); }
  .pc-blog-concierge-slot .pc-concierge-collapsed-tab__label {
    writing-mode: horizontal-tb;
    font-size: 14px; } }

/* Closed chat on phones: its close button must not peek in from the right edge */
@media (max-width: 991px) {
  [data-pc-concierge-slot].is-collapsed .pc-concierge-collapse-btn {
    display: none; } }

/* Compact hero: less height above the article */
.post-hero__inner {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 24px; }
.post-hero__text {
  gap: 10px; }
.post-hero__image img {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 180px; }
@media (max-width: 991px) {
  .post-hero__inner {
    grid-template-columns: minmax(0, 1fr); }
  .post-hero__image img {
    max-height: 180px; } }
