/* Vegas Vietnam - Vegas Club by Caravelle Saigon Hotel
   Luxury hotel aesthetic: cream, gold, deep navy
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('card-nav.css');
@import url('animations.css');
@import url('ghost-fibers.css');
@import url('glare-hover.css');

:root {
  --cream: #faf8f5;
  --cream-dark: #f0ebe3;
  --gold: #c9a962;
  --gold-light: #e5d4a1;
  --gold-dark: #9a7b3d;
  --navy: #1a2332;
  --navy-light: #2a3647;
  --crimson: #8b2942;
  --crimson-light: #a83d57;
  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --white: #ffffff;
  --border: rgba(26, 35, 50, 0.12);
  --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 35, 50, 0.12);
  --shadow-lg: 0 12px 40px rgba(26, 35, 50, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
}

.breadcrumb {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  font-size: 0.875rem;
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.breadcrumb__list li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb__list a {
  color: var(--text-secondary);
}

.breadcrumb__list a:hover {
  color: var(--gold-dark);
}

.vv-trust-bar .container span {
  max-width: 100%;
  text-align: center;
}

.seo-shell-footer,
.seo-shell-header {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1rem;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}

.seo-shell-header {
  border-top: none;
  border-bottom: 1px solid var(--border);
}

.seo-shell-footer nav,
.seo-shell-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.5rem 0;
}

.seo-shell-footer a,
.seo-shell-header a {
  color: var(--text-secondary);
}

.blog-index-static__list a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero__title,
.page-hero__title {
  overflow-wrap: anywhere;
  max-width: 100%;
}

@media (max-width: 640px) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero__subtitle,
  .page-hero__subtitle,
  .content-page__content--lead,
  .seo-shell-footer,
  .seo-shell-footer p,
  .seo-shell-footer small {
    font-size: max(1rem, 16px);
  }

  .card-nav-container {
    width: min(calc(100vw - 1rem), 800px);
  }
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--crimson);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 900px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.section__title {
  margin-bottom: 0.5rem;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--cream);
}

.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.12);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.logo__sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-left: 0.5rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold-dark);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--cream);
  padding: 4rem 1.5rem 1.5rem;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu__list {
  list-style: none;
}

.mobile-menu__link {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e2d42 100%);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='rgba(201,169,98,0.08)' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.9);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__actions .btn--gold {
  color: var(--navy);
}

.hero__actions .btn--outline {
  border-color: var(--cream);
  color: var(--cream);
}

.hero__actions .btn--outline:hover {
  background: var(--cream);
  color: var(--navy);
}

/* Section variants */
.section {
  padding: 4rem 0;
}

.section--cream {
  background: var(--cream);
}

.section--cream-dark {
  background: var(--cream-dark);
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.section--navy .section__title,
.section--navy h2,
.section--navy h3 {
  color: var(--cream);
}

.section--navy .section__subtitle,
.section--navy p {
  color: rgba(250, 248, 245, 0.85);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card__image {
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__content {
  padding: 1.5rem;
}

.card__title {
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.card__link-wrap {
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.card__link-wrap:focus-visible {
  outline: 2px solid var(--gold-dark);
}

/* Blog index: 3 columns desktop, paginated */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-index-static {
  margin-bottom: 1.5rem;
}

.blog-index-static[hidden] {
  display: none;
}

.blog-index-static__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.blog-index-static__list a {
  font-weight: 500;
}

.seo-nav-fallback,
.seo-footer-fallback {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  text-align: center;
  background: var(--navy);
  color: var(--cream);
}

.seo-nav-fallback a,
.seo-footer-fallback a {
  color: var(--cream);
  margin: 0 0.35rem;
}

.seo-footer-fallback {
  background: var(--navy-light);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .blog-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .blog-index-grid {
    grid-template-columns: 1fr;
  }
}

.blog-pagination {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.blog-pagination__meta {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
}

.blog-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.blog-pagination__btn {
  box-sizing: border-box;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-pagination__btn:hover:not(:disabled):not([aria-current="page"]) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.blog-pagination__btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  color: var(--text-muted);
  border-color: var(--border);
  background: var(--cream-dark);
}

.blog-pagination__btn[aria-current="page"] {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: transparent;
  color: var(--white);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.blog-pagination__btn[aria-current="page"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.blog-pagination__btn--nav {
  min-width: 5.5rem;
  padding: 0 1.1rem;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-pagination__btn--nav-prev {
  font-weight: 500;
  color: var(--text-secondary);
  border-color: var(--border);
}

.blog-pagination__btn--nav-prev:not(:disabled):hover {
  color: var(--gold-dark);
  border-color: var(--gold);
  background: var(--cream);
}

.blog-pagination__btn--nav-next {
  font-weight: 600;
  color: var(--gold-dark);
}

.blog-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 2.75rem;
  padding: 0 0.15rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  user-select: none;
}

/* Feature cards with SVG icons */
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Listicle / step layout */
.step-list {
  counter-reset: step;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.step-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  font-family: var(--font-body);
}

.step-item__content h3 {
  margin-bottom: 0.5rem;
}

.step-item__content p {
  color: var(--text-secondary);
}

.section--navy .step-item {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.section--navy .step-item__content p {
  color: rgba(250, 248, 245, 0.85);
}

.section--navy .step-item__content a {
  color: var(--gold-light);
}

.section--navy .step-item__content a:hover {
  color: var(--cream);
}

/* Infographic-style block */
.infographic-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
}

.infographic-item {
  text-align: center;
}

.infographic-item__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.infographic-item__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Bento / varied layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bento-grid .span-2 {
  grid-column: span 2;
}

.bento-grid .span-full {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid .span-2,
  .bento-grid .span-full {
    grid-column: 1;
  }
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer a {
  color: rgba(250, 248, 245, 0.8);
}

.footer a:hover {
  color: var(--gold-light);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand .logo__text {
  color: var(--cream);
}

.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(250, 248, 245, 0.75);
  line-height: 1.6;
}

.footer__column h4 {
  color: var(--cream);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.6);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.85rem;
}

/* Content page */
.content-page {
  padding: 6rem 0 4rem;
}

.content-page__content {
  margin: 0 auto;
}

.content-page__content--lead {
  margin: 0 auto 2rem;
}

.section--navy .cta-contact-note {
  margin: -1rem auto 2rem;
  color: rgba(250, 248, 245, 0.85);
  font-size: 0.95rem;
}

.section--navy .cta-contact-note a {
  color: var(--cream);
  font-weight: 600;
}

.content-page__content p {
  margin-bottom: 1rem;
}

.content-page__content h2 {
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.content-page__content h3 {
  margin: 1.5rem 0 0.75rem;
}

.content-page__content ul,
.content-page__content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.content-page__content li {
  margin-bottom: 0.5rem;
}

/* Page hero (smaller) */
.page-hero {
  padding: 7rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--cream);
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-hero__title {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(250, 248, 245, 0.85);
}

/* Blog article single (Strapi sync template) */
.blog-breadcrumbs {
  margin-bottom: 1.25rem;
  text-align: center;
}

.blog-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.blog-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(250, 248, 245, 0.45);
  pointer-events: none;
}

.blog-breadcrumbs__link {
  color: rgba(250, 248, 245, 0.92);
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 98, 0.45);
  text-underline-offset: 2px;
}

.blog-breadcrumbs__link:hover {
  color: var(--cream);
  text-decoration-color: var(--gold);
}

.blog-breadcrumbs__current {
  color: var(--gold-light);
  font-weight: 500;
  max-width: min(100%, 42rem);
  display: inline-block;
  line-height: 1.35;
}

.blog-article__hero-meta {
  font-size: 0.9rem;
  color: rgba(250, 248, 245, 0.82);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.blog-article__hero-sep {
  margin: 0 0.35rem;
  color: rgba(250, 248, 245, 0.45);
}

.blog-article-section .blog-article__cta {
  margin-top: 2.5rem;
  padding-bottom: 0;
}

.blog-article-section .blog-article__cta .btn {
  margin: 0.35rem;
}

.article-prose .toc-nav {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
}

.article-prose .toc-nav h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin: 0 0 0.75rem;
  border: none;
  padding: 0;
}

.article-prose .toc-nav ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--cream);
}

.article-prose .toc-nav a {
  color: var(--gold-light);
  font-weight: 500;
}

.article-prose .toc-nav a:hover {
  color: var(--cream);
}

.article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.article-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: var(--cream-dark);
  color: var(--text-secondary);
}

.blog-article-container {
  max-width: 1200px;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 2rem 2.5rem;
  align-items: start;
}

.blog-article-layout__main {
  min-width: 0;
}

.blog-article-layout>.blog-sidebar {
  align-self: start;
}

.blog-sidebar__card {
  background: var(--white);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.blog-sidebar__title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gold);
}

.blog-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-sidebar__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.blog-sidebar__item:last-child {
  border-bottom: none;
}

.blog-sidebar__link {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.blog-sidebar__link:hover {
  color: var(--gold-dark);
}

.blog-sidebar__date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.blog-sidebar__all {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
}

.blog-sidebar__all:hover {
  color: var(--crimson);
}

.blog-sidebar__empty {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (min-width: 961px) {
  .blog-article-layout>.blog-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: calc(1rem + env(safe-area-inset-top, 0px) + 4.25rem);
    max-height: calc(100vh - 1.5rem - env(safe-area-inset-top, 0px) - 4.75rem);
    overflow-y: auto;
    z-index: 10;
  }
}

@media (max-width: 960px) {
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-article-layout>.blog-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    margin-top: 0.5rem;
  }
}

/* Icon */
.icon {
  display: inline-block;
  vertical-align: middle;
}

/* Back to top (injected by load-partials.js on all pages) */
.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease, box-shadow var(--transition);
}

.scroll-top.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  box-shadow: var(--shadow-lg);
  filter: brightness(1.05);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.scroll-top__icon {
  display: block;
}

@media (max-width: 480px) {
  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}