/* A quiet motion layer. Content stays visible when JavaScript is unavailable. */
:root { --bpc-ease-out: cubic-bezier(.22,1,.36,1); }
.btn, .arrow-circle, .bpc-slider-arrow, .bpc-copy-link {
  transition: transform .28s var(--bpc-ease-out), box-shadow .28s ease, border-color .28s ease, background-color .28s ease, color .28s ease;
}
.btn-primary { position: relative; isolation: isolate; overflow: hidden; }
.feature-card, .service-card, .contact-info-card, .stat-card {
  transition: transform .4s var(--bpc-ease-out), border-color .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.feature-icon-box { transition: transform .4s var(--bpc-ease-out), background-color .3s ease; }
.feature-card:focus-within, .service-card:focus-within, .contact-info-card:focus-within {
  border-color: var(--border-gold);
  box-shadow: 0 12px 32px #0004, 0 0 0 1px #d4af3710;
}
.form-control { transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.form-control:focus { border-color: var(--gold-primary); box-shadow: 0 0 0 3px #d4af3718; }
.faq-item { transition: border-color .3s ease, background-color .3s ease; }
.faq-item[open] { background: #d4af3706; }
.faq-item summary::marker { color: var(--gold-primary); }
.entry-content a:not(.btn) { text-underline-offset: .22em; text-decoration-thickness: 1px; }
.entry-content a:not(.btn):hover { color: #f5d784; }

/* Article cards retain the site's dark and gold palette. */
.features-grid .bpc-article-card { position: relative; isolation: isolate; overflow: hidden; padding: 0; display: flex; flex-direction: column; align-items: stretch; }
.bpc-article-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--bpc-pointer-x,50%) var(--bpc-pointer-y,0%), #d4af371c, transparent 72%);
  opacity: 0; transition: opacity .4s ease;
}
.bpc-article-cover { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; background: #18191e; }
.bpc-article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--bpc-ease-out), filter .6s ease; }
.bpc-article-cover::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,#11121866); pointer-events: none; }
.bpc-article-open {
  position: absolute; right: 16px; top: 16px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid #dfc04880; border-radius: 50%; background: #111218b8; color: var(--gold-light); font-size: 1.25rem;
  transition: transform .4s var(--bpc-ease-out), background-color .3s ease, color .3s ease;
}
.bpc-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--text-muted); font-size: .73rem; line-height: 1.7; }
.bpc-article-card .bpc-article-meta { margin: 22px 24px 14px; }
.bpc-article-meta > span { color: var(--gold-light); background: #d4af370b; border: 1px solid #d4af3722; border-radius: 20px; padding: 2px 9px; }
.bpc-article-card .feature-title { font-family: var(--font-serif); font-size: clamp(1.15rem,1.55vw,1.4rem); line-height: 1.45; margin: 0 24px 14px; }
.bpc-article-card .feature-title a { transition: color .3s ease; }
.bpc-article-card .feature-desc { margin: 0 24px 24px; flex: 1; }
.bpc-article-card .feature-desc p { margin: 0; }
.bpc-article-card .bpc-article-read { margin: auto 24px 24px; width: auto; justify-content: space-between; gap: 12px; text-align: left; padding: 12px 16px; }
.bpc-article-read > [aria-hidden] { transition: transform .3s var(--bpc-ease-out); }
.bpc-article-read .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bpc-article-card:focus-within::before { opacity: 1; }
.bpc-article-card:focus-within .feature-title a { color: var(--gold-light); }
.bpc-article-card:focus-within .bpc-article-open { background: var(--gold-primary); color: #0b0b0e; }

/* Reading helpers use native links and details so keyboard navigation stays simple. */
.bpc-article-meta-centered { justify-content: center; margin-top: 24px; }
.bpc-article-hero-image { overflow: hidden; border-radius: 16px; margin-bottom: 28px; }
.bpc-article-hero-image img { display: block; width: 100%; height: auto; }
.bpc-article-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 24px; }
.bpc-copy-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--border-gold); border-radius: 6px; color: var(--gold-light); background: #d4af3706; font-size: .8rem; }
.bpc-copy-status { font-size: .8rem; color: var(--gold-light); }
.bpc-copy-fallback { max-width: 100%; width: 100%; background: #141419; border: 1px solid var(--border-gold); border-radius: 6px; padding: 12px; color: #fff; font-size: 16px; }
.entry-content .bpc-article-toc { border: 1px solid var(--border-gold); border-radius: 12px; padding: 0 22px; margin: 0 0 32px; background: linear-gradient(125deg,#d4af3709,transparent 80%); }
.bpc-article-toc summary { cursor: pointer; color: var(--gold-light); min-height: 56px; padding: 18px 0; font-size: .9rem; font-weight: 600; }
.bpc-article-toc summary::marker { color: var(--gold-primary); }
.bpc-article-toc nav { display: grid; gap: 4px; padding: 0 0 18px; }
.entry-content .bpc-article-toc a { display: block; padding: 10px 12px; min-height: 44px; border-radius: 6px; border-left: 2px solid transparent; color: var(--text-muted); text-decoration: none; font-size: .84rem; line-height: 1.6; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
.entry-content .bpc-article-toc a[aria-current="location"] { color: var(--gold-light); border-left-color: var(--gold-primary); background: #d4af3709; }
.bpc-article-body :is(h2,h3) { scroll-margin-top: var(--bpc-anchor-offset,120px); }
.bpc-reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; z-index: 1006; background: var(--gold-gradient); transform: scaleX(var(--bpc-reading-progress,0)); transform-origin: left; }
.admin-bar .bpc-reading-progress { top: 32px; }
@media (max-width:782px) { .admin-bar .bpc-reading-progress { top: 46px; } }
@media (min-width:1181px) { .bpc-article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; } }
@media (max-width:767.98px) {
  .bpc-article-card .feature-title { font-size: 1.2rem; }
  .bpc-article-card .bpc-article-meta { margin: 20px 20px 12px; }
  .bpc-article-card .feature-title { margin-left: 20px; margin-right: 20px; }
  .bpc-article-card .feature-desc { margin-left: 20px; margin-right: 20px; }
  .bpc-article-card .bpc-article-read { margin-left: 20px; margin-right: 20px; }
}
@media (hover:hover) and (pointer:fine) {
  .btn-primary::before { content: ''; position: absolute; inset: -60% -40%; background: linear-gradient(105deg,transparent 35%,#ffffff38 50%,transparent 65%); pointer-events: none; transform: translateX(-100%); transition: transform .75s var(--bpc-ease-out); }
  .btn-primary:hover::before, .btn-primary:focus-visible::before { transform: translateX(100%); }
  :is(.feature-card,.service-card,.contact-info-card,.stat-card):hover { transform: translateY(-4px); border-color: #d4af3766; box-shadow: 0 18px 40px #0005,0 0 24px #d4af3709; }
  .feature-card:hover .feature-icon-box, .service-card:hover .feature-icon-box { transform: translateY(-2px) rotate(-3deg); background: #d4af371c; }
  .bpc-article-card:hover::before { opacity: 1; }
  .bpc-article-card:hover .bpc-article-cover img { transform: scale(1.055); filter: brightness(1.06); }
  .bpc-article-card:hover .bpc-article-open { transform: translate(2px,-2px); background: var(--gold-primary); color: #0b0b0e; }
  .bpc-article-card:hover .feature-title a { color: var(--gold-light); }
  .bpc-article-read:hover > [aria-hidden] { transform: translate(3px,-3px); }
  .destinations-cards-wrap .fleet-card > div:first-child { overflow: hidden; }
  .destinations-cards-wrap .fleet-card > div:first-child img { transition: transform .75s var(--bpc-ease-out); }
  .destinations-cards-wrap .fleet-card:hover > div:first-child img { transform: scale(1.045); }
  .bpc-copy-link:hover { background: #d4af3715; transform: translateY(-2px); }
  .entry-content .bpc-article-toc a:hover { background: #d4af3709; color: var(--gold-light); }
}
@media (hover:none) {
  .btn:hover, .feature-card:hover, .service-card:hover, .stat-card:hover, .contact-info-card:hover, .dest-card:hover, .fleet-card:hover { transform: none; }
  .fleet-card:hover .fleet-card-image img, .dest-card:hover img { transform: none; }
}
.btn:active, .bpc-copy-link:active, .bpc-slider-arrow:not(:disabled):active { transform: scale(.98); }
@media (prefers-reduced-motion:reduce) {
  .btn-primary::before, .bpc-article-card::before { display: none; }
  :is(.feature-card,.service-card,.contact-info-card,.stat-card,.fleet-card,.dest-card,.btn,.bpc-copy-link):hover,
  .bpc-article-card:hover .bpc-article-cover img, .fleet-card:hover .fleet-card-image img, .dest-card:hover img,
  .destinations-cards-wrap .fleet-card:hover > div:first-child img, .feature-card:hover .feature-icon-box, .service-card:hover .feature-icon-box,
  .bpc-article-card:hover .bpc-article-open, .bpc-article-read:hover > [aria-hidden] { transform: none; }
}
