/* Shared footer layout: the homepage footer is the canonical site pattern. */
.site-footer {
  --footer-accent: #ffe29a;
  margin-top: 44px;
  padding: 0;
  color: #aeb8c6;
}

.oil-page .site-footer,
.lpg-page .site-footer { --footer-accent: #9cffee; }
.ngv-page .site-footer { --footer-accent: var(--ngv-lime, #b9e769); }
.commodities-page .site-footer { --footer-accent: var(--accent, #ff9950); }

/* Match the commodities footer inset on the fuel pages. These templates do
   not wrap the main and copyright rows in their page-level .container. */
.oil-page .site-footer .footer-standard-main,
.oil-page .site-footer .footer-standard-bottom,
.lpg-page .site-footer .footer-standard-main,
.lpg-page .site-footer .footer-standard-bottom,
.ngv-page .site-footer .footer-standard-main,
.ngv-page .site-footer .footer-standard-bottom {
  width: min(calc(100% - 48px), 1380px);
  margin-inline: auto;
}

.site-footer .footer-disclosure,
.site-footer .disclosure-grid,
.site-footer .footer-warning {
  padding: 28px 0;
  border-bottom: 1px solid var(--line, rgba(255,255,255,.1));
}

.site-footer .footer-disclosure-grid,
.site-footer .disclosure-grid,
.site-footer .footer-warning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-footer .footer-notice,
.site-footer .disclosure-grid section,
.site-footer .footer-warning-grid article {
  min-width: 0;
  padding: 18px;
  color: #bdc7d4;
  background: rgba(8, 12, 18, .72);
  border: 1px solid var(--line, rgba(255,255,255,.1));
  border-radius: 15px;
}

.site-footer .footer-notice h2,
.site-footer .footer-notice h3,
.site-footer .disclosure-grid h2,
.site-footer .footer-warning-grid h2 {
  margin: 0 0 8px;
  color: var(--footer-accent, var(--accent, #ffe29a));
  font-size: 1rem;
}

.site-footer .footer-notice p,
.site-footer .disclosure-grid p,
.site-footer .footer-warning-grid p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.72;
}

.site-footer .footer-standard-main,
.site-footer .footer-main.footer-standard-main {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 70px;
  padding: 48px 0;
  border-top: 1px solid var(--line, rgba(255,255,255,.1));
}

.site-footer .footer-standard-brand,
.site-footer .footer-brand {
  min-width: 0;
}

.site-footer .footer-standard-brand .brand,
.site-footer .footer-brand .brand,
.site-footer .footer-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-decoration: none;
}

.site-footer .footer-standard-brand .brand-mark,
.site-footer .footer-brand .brand-mark,
.site-footer .footer-brand-name .brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 50%;
}

.site-footer .footer-standard-brand .brand-mark img,
.site-footer .footer-brand .brand-mark img,
.site-footer .footer-brand-name .brand-mark img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer .footer-standard-brand .brand-name,
.site-footer .footer-brand .brand-name {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.site-footer .footer-standard-brand .brand small,
.site-footer .footer-brand .brand small,
.site-footer .footer-brand-name small {
  display: block;
  margin-top: 1px;
  color: #aeb8c6;
  font-size: .67rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .08em;
}

.site-footer .footer-standard-brand > p,
.site-footer .footer-brand > p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #9ca8b8;
  font-size: 11px;
  line-height: 1.7;
}

.site-footer .footer-standard-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.site-footer .footer-standard-disclaimer {
  max-width: 760px;
  margin: 0;
  color: #aeb8c6;
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

.site-footer .footer-standard-links,
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-standard-meta .footer-standard-links,
.site-footer .footer-standard-meta .footer-links {
  justify-content: flex-end;
}

.site-footer .footer-standard-links a,
.site-footer .footer-links a {
  color: #dce3eb;
  font-size: 11px;
  line-height: 1.55;
  text-decoration: none;
}

.site-footer .footer-standard-links a:hover,
.site-footer .footer-links a:hover {
  color: var(--footer-accent, var(--accent, #ffe098));
  text-decoration: underline;
  text-underline-offset: .2em;
}

.site-footer .footer-standard-bottom,
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 25px;
  color: #778496;
  border-top: 1px solid var(--line, rgba(255,255,255,.1));
  font-size: 10px;
}

.site-footer .footer-standard-bottom p,
.site-footer .footer-bottom p,
.site-footer .footer-bottom span {
  margin: 0;
  font-size: inherit;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .site-footer .footer-disclosure-grid,
  .site-footer .disclosure-grid,
  .site-footer .footer-warning-grid { grid-template-columns: 1fr; }
  .site-footer .footer-standard-main,
  .site-footer .footer-main.footer-standard-main { grid-template-columns: 1fr; gap: 34px; }
  .site-footer .footer-standard-meta { align-items: flex-start; }
  .site-footer .footer-standard-disclaimer { text-align: left; }
  .site-footer .footer-standard-links,
  .site-footer .footer-links { justify-content: flex-start; }
  .site-footer .footer-standard-meta .footer-standard-links,
  .site-footer .footer-standard-meta .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .oil-page .site-footer .footer-standard-main,
  .oil-page .site-footer .footer-standard-bottom,
  .lpg-page .site-footer .footer-standard-main,
  .lpg-page .site-footer .footer-standard-bottom,
  .ngv-page .site-footer .footer-standard-main,
  .ngv-page .site-footer .footer-standard-bottom {
    width: min(calc(100% - 28px), 1380px);
  }

  .site-footer .footer-disclosure,
  .site-footer .disclosure-grid,
  .site-footer .footer-warning { padding: 20px 0; }
  .site-footer .footer-standard-main,
  .site-footer .footer-main.footer-standard-main { padding: 32px 0 24px; }
  .site-footer .footer-standard-bottom,
  .site-footer .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Reusable Social Share Bar (Facebook, X, Line, Copy Link)
   ========================================================================== */
/* ==========================================================================
   Reusable Social Share Bar (Facebook, Messenger, X, Line, Copy Link)
   Matching Image 1 Specifications
   ========================================================================== */
.social-share-bar {
  display: flex;
  margin: 20px 0 10px;
  padding: 12px 18px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  background: rgba(18, 24, 38, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

/* Gold Page Price Shell Specific Share Bar - Balanced Spacing */
.price-shell .social-share-bar {
  margin: 14px 22px;
  padding: 12px 18px;
  background: rgba(14, 20, 32, 0.82);
  border: 1px solid rgba(245, 196, 81, 0.22);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

@media (max-width: 640px) {
  .price-shell .social-share-bar {
    margin: 12px 16px;
    padding: 10px 14px;
    gap: 8px 10px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .price-shell .social-share-bar .share-btn {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    gap: 6px;
  }
  .price-shell .social-share-bar .share-label {
    font-size: 13px;
  }
}

.social-share-bar .share-label {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-right: 4px;
  white-space: nowrap;
}

.social-share-bar .share-buttons-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.social-share-bar .share-btn {
  display: inline-flex;
  height: 34px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all .2s ease;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}

.social-share-bar .share-btn svg {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.social-share-bar .share-btn:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

.social-share-bar .share-btn:hover svg {
  transform: scale(1.08);
}

/* Copy Link Copied State */
.social-share-bar .share-btn-copy.is-copied {
  border-color: rgba(6, 199, 85, .8);
  background: rgba(6, 199, 85, .2);
  color: #38ef7d;
}
.social-share-bar .share-btn-copy.is-copied svg {
  stroke: #38ef7d;
}
