/* ── Joomla layout wrappers ────────────────────────────── */
.ck-main {
  padding: 26px 0 52px;
}

/* Full width - no sidebars */
.ck-layout-full .ck-content {
  width: 100%;
}

/* Right sidebar layout */
.ck-layout-right {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* Left sidebar layout */
.ck-layout-left {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* Three column layout */
.ck-layout-three-col {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .ck-layout-right,
  .ck-layout-left,
  .ck-layout-three-col {
    grid-template-columns: 1fr;
  }
  .ck-sidebar-left { order: -1; }
}

/* ── Footer layout ─────────────────────────────────────── */
.ck-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* ── Joomla article styling ────────────────────────────── */

/* Article wrapper */
.com-content-article {
  margin-top: 0;
}

/* Article header */
.com-content-article__header,
.page-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.com-content-article__title,
.page-header h1 {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: .2px;
}

/* Article meta info (date, author, category) */
.com-content-article__info,
.article-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.com-content-article__info dd,
.article-info dd {
  margin: 0;
}

/* Article body */
.com-content-article__body,
.item-page {
  line-height: 1.75;
  font-size: 15px;
  color: var(--text);
}

.com-content-article__body h2,
.item-page h2 {
  font-size: 22px;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.com-content-article__body h3,
.item-page h3 {
  font-size: 18px;
  margin: 24px 0 10px;
}

.com-content-article__body h4,
.item-page h4 {
  font-size: 16px;
  margin: 20px 0 8px;
  color: var(--text);
}

.com-content-article__body p,
.item-page p {
  margin: 0 0 16px;
}

.com-content-article__body ul,
.com-content-article__body ol,
.item-page ul,
.item-page ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.8;
}

.com-content-article__body a,
.item-page a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Exclude homepage components from article link overrides */
.com-content-article__body .ck-hero a,
.com-content-article__body .ck-hero-cta,
.com-content-article__body .ck-hero-ghost,
.com-content-article__body .ck-feature-card,
.com-content-article__body .ck-pop-card,
.com-content-article__body .ck-recent-card,
.com-content-article__body .btn,
.com-content-article__body .featured-coin,
.com-content-article__body a.ck-feature-card {
  text-decoration: none;
}
.com-content-article__body .ck-hero-ghost {
  color: rgba(255,255,255,.5) !important;
}
.com-content-article__body .ck-hero-ghost:hover {
  color: rgba(255,255,255,.8) !important;
}
.com-content-article__body .ck-hero-cta {
  color: #1a1a2e !important;
}
.com-content-article__body .ck-feature-card {
  color: var(--text, #1a1a2e) !important;
}
.com-content-article__body .btn {
  color: #fff !important;
}

.com-content-article__body img,
.item-page img {
  border-radius: 6px;
  max-width: 100%;
  height: auto;
  margin: 16px 0;
}

.com-content-article__body blockquote,
.item-page blockquote {
  border-left: 3px solid var(--brand2);
  margin: 24px 0;
  padding: 12px 20px;
  background: rgba(202,165,106,.08);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
  font-style: italic;
}

/* Article tags */
.com-content-article__tags,
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.com-content-article__tags a,
.tags a {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.com-content-article__tags a:hover,
.tags a:hover {
  border-color: rgba(32,58,115,.28);
  color: var(--text);
}

/* Article navigation (prev/next) */
.pager,
.pagination-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pager a,
.pagination-nav a {
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.pager a:hover,
.pagination-nav a:hover {
  color: var(--text);
  border-color: rgba(32,58,115,.28);
}

/* ── Blog / category list layout ──────────────────────── */
.com-content-category-blog,
.blog {
  margin-top: 0;
}

.com-content-category-blog__items,
.blog-items {
  display: grid;
  gap: 20px;
}

/* Each blog item as a card */
.com-content-category-blog__item,
.blog-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(18,34,66,.07);
}

.com-content-category-blog__item h2,
.blog-item h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.com-content-category-blog__item h2 a,
.blog-item h2 a {
  color: var(--text);
  text-decoration: none;
}

.com-content-category-blog__item h2 a:hover,
.blog-item h2 a:hover {
  color: var(--brand);
}

.com-content-category-blog__item .article-info,
.blog-item .article-info {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Read more link */
.com-content-article__readmore a,
.readmore a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
}

.com-content-article__readmore a:hover,
.readmore a:hover {
  background: rgba(32,58,115,.06);
}

/* ── Module chrome ─────────────────────────────────────── */
.ck-module {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(18,34,66,.07);
}

.ck-module .module-title,
.ck-module h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* ── Search module ─────────────────────────────────────── */
.mod-finder__searchword,
.mod-search input[type="search"],
.mod-search input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.mod-finder__searchword:focus,
.mod-search input:focus {
  border-color: rgba(32,58,115,.4);
  box-shadow: 0 0 0 3px rgba(32,58,115,.1);
}

/* ── Breadcrumbs ───────────────────────────────────────── */
.mod-breadcrumbs,
#system-message-container + .breadcrumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.mod-breadcrumbs a,
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.mod-breadcrumbs a:hover,
.breadcrumbs a:hover {
  text-decoration: underline;
}

.mod-breadcrumbs .divider,
.breadcrumbs .divider {
  color: var(--line);
}

/* ── System messages ───────────────────────────────────── */
#system-message-container {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: 420px;
  width: calc(100% - 40px);
  pointer-events: none;
}

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  pointer-events: auto;
  animation: ck-alert-in .3s ease-out;
}

.alert.ck-alert-out {
  animation: ck-alert-out .25s ease-in forwards;
}

@keyframes ck-alert-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ck-alert-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}

.alert-info    { background: #f0f4ff; border-color: #c7d2f0; color: #1e3a8a; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #7a5c00; }
.alert-danger,
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Hide Joomla's "success" / "danger" type label */
.alert h4.alert-heading,
.alert .alert-heading {
  display: none;
}

/* Joomla 6 joomla-alert web component overrides */
joomla-alert {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.12) !important;
  pointer-events: auto !important;
  animation: ck-alert-in .3s ease-out !important;
  border: 1px solid transparent !important;
}

joomla-alert[type="success"],
joomla-alert[type="message"] {
  background: #ecfdf5 !important; border-color: #a7f3d0 !important; color: #065f46 !important;
}
joomla-alert[type="warning"] {
  background: #fffbeb !important; border-color: #fde68a !important; color: #7a5c00 !important;
}
joomla-alert[type="error"],
joomla-alert[type="danger"] {
  background: #fef2f2 !important; border-color: #fecaca !important; color: #991b1b !important;
}
joomla-alert[type="info"],
joomla-alert[type="notice"] {
  background: #f0f4ff !important; border-color: #c7d2f0 !important; color: #1e3a8a !important;
}

/* Hide type label inside joomla-alert */
joomla-alert .alert-heading,
joomla-alert h4,
joomla-alert [class*="heading"] {
  display: none !important;
}

/* Close button in joomla-alert */
joomla-alert button[part="close"],
joomla-alert .btn-close,
joomla-alert button[data-bs-dismiss],
joomla-alert [slot="close"] {
  background: none !important;
  border: none !important;
  font-size: 18px !important;
  opacity: .5;
  cursor: pointer;
  padding: 0 4px !important;
  margin-left: 16px !important;
  flex-shrink: 0 !important;
  color: inherit !important;
  line-height: 1 !important;
}

/* .alert close button */
.alert .btn-close,
.alert button[data-bs-dismiss] {
  background: none !important;
  border: none !important;
  font-size: 18px !important;
  opacity: .5;
  cursor: pointer;
  padding: 0 4px !important;
  margin-left: 16px !important;
  flex-shrink: 0 !important;
  color: inherit !important;
  line-height: 1 !important;
}
joomla-alert button[part="close"]:hover,
joomla-alert .btn-close:hover,
joomla-alert button[data-bs-dismiss]:hover {
  opacity: 1;
}

/* ── Pagination ────────────────────────────────────────── */
.com-content-category-blog__pagination .pagination,
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}

.pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.pagination .page-item.active .page-link {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pagination .page-item .page-link:hover {
  border-color: rgba(32,58,115,.28);
  color: var(--text);
}

/* ── User login module ─────────────────────────────────── */
.mod-login input[type="text"],
.mod-login input[type="password"],
.mod-login input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  background: #fff;
  color: var(--text);
}

.mod-login .btn,
.mod-login button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* ── Print ─────────────────────────────────────────────── */
@media print {
  .site-header,
  .ck-sidebar-left,
  .ck-sidebar-right,
  footer,
  .com-content-article__tags,
  .pager { display: none; }
  .ck-layout-right,
  .ck-layout-left { grid-template-columns: 1fr; }
  body { background: #fff; color: #000; }
}

/* ═══════════════════════════════════════════════════════════
   JOOMLA BOOTSTRAP OVERRIDES
   These defeat Bootstrap 5 defaults that Joomla injects.
   Must be at the bottom of this file to win specificity.
   ═══════════════════════════════════════════════════════════ */

/* Fix header — Bootstrap resets position/bg on .navbar */
header.site-header {
  position: -webkit-sticky !important; position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  background: var(--header-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Fix navbar flex — Bootstrap overrides display */
header.site-header .navbar,
.container.navbar {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  height: 78px !important;
  flex-wrap: nowrap !important;
  padding: 0 18px !important;
}

/* Fix brand — Bootstrap sets .navbar-brand margin etc */
header.site-header .brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 18px 0 0 !important;
  background: none !important;
  flex: 0 0 auto !important;
}

header.site-header .brand-text {
  font-size: 22px !important;
  font-weight: 950 !important;
  color: var(--brand2, var(--brand2, #c5a356)) !important;
  white-space: nowrap !important;
}

/* Fix nav links — for dark nav background (top-level only) */
header.site-header .navlinks .nav-primary > ul > li > a,
header.site-header .navlinks .nav-primary > ul > li > button {
  color: rgba(255,255,255,.5) !important;
  text-decoration: none !important;
  padding: 10px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  border: 1px solid transparent !important;
}

header.site-header .navlinks .nav-primary > ul > li > a:hover,
header.site-header .navlinks .nav-primary > ul > li > button:hover,
header.site-header .navlinks .nav-primary > ul > li > a.active {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.1) !important;
}

/* Dropdown links — dark text on white bg */
header.site-header .navlinks ul.mod-menu__sub a {
  color: #1a1a2e !important;
  background: transparent !important;
  border-color: transparent !important;
  padding: 9px 18px !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
}
header.site-header .navlinks ul.mod-menu__sub a:hover {
  color: var(--brand2, var(--brand2, #c5a356)) !important;
  background: #f5f3ee !important;
}

/* Fix nav-primary bullets — Bootstrap list-style on ul */
.nav-primary {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Push navlinks to the left — override the flex:1 centering */
header.site-header .navlinks {
  justify-content: flex-start !important;
  flex: 1 1 auto !important;
}

/* Module Manager injects <ul> for menus — strip bullets */
.nav-primary ul,
.nav-primary li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: contents !important;
}

/* ── Login module overrides ─────────────────────────────── */

/* Strip browser autofill yellow */
.mod-login input:-webkit-autofill,
.mod-login input:-webkit-autofill:hover,
.mod-login input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--text) !important;
  border-color: var(--line) !important;
}

/* Passkey button — Joomla's default is the dark blue block */
.mod-login .webauthn-login,
[data-webauthn-button],
.com-users-login__webauthn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 10px 16px !important;
  border-radius: 6px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 8px !important;
}

.mod-login .webauthn-login img,
[data-webauthn-button] img {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Show Password button */
.mod-login .show-password-button,
.field-show-password {
  padding: 10px 14px !important;
  border-radius: 6px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  width: auto !important;
}

/* Log in submit button */
.mod-login .btn-primary,
.mod-login input[type="submit"],
.mod-login button[type="submit"] {
  width: 100% !important;
  padding: 12px !important;
  background: var(--brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  box-shadow: none !important;
}

/* Remember me label */
.mod-login label {
  font-size: 13px !important;
  color: var(--muted) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Forgot links */
.mod-login ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 12px 0 0 !important;
}

.mod-login ul li a {
  font-size: 13px !important;
  color: var(--brand) !important;
  text-decoration: none !important;
}

.mod-login ul li a:hover {
  text-decoration: underline !important;
}

/* ── Suppress page title on home ────────────────────────── */
/* Hide "Home" h1 that Joomla injects on the homepage */
.itemid-home .page-header,
.itemid-home .com-content-article__header,
.itemid-home .com-content-article__header h1,
.itemid-home .com-content-article__header h2,
body.home .page-header,
body.home .com-content-article__header,
body.home .com-content-article__title {
  display: none;
}

/* Remove top padding from ck-main on homepage so hero sits flush under nav */
body.home .ck-main,
.itemid-home .ck-main {
  padding-top: 0;
}

/* Tighten homepage hero top spacing */
body.home .hero,
body.home .ck-content-bottom .hero,
body.home .custom .hero {
  padding-top: 20px !important;
  margin-top: 0 !important;
}

/* ── Suppress Joomla page-header on com_uscoin views ─────── */
/* Joomla injects an empty <div class="page-header"> before the component;
   com_uscoin templates provide their own headings, so we hide it. */
body.com_uscoin .page-header,
body.com_users .page-header {
  display: none;
}

body.com_users .ck-main {
  padding-top: 0 !important;
}


/* Or target via article class Joomla adds */
.com-content-article.itemid-101 .com-content-article__header {
  display: none;
}

/* ── Body background ────────────────────────────────────── */
/* Joomla's Bootstrap sets body background to white */
html, body {
  background: #f3f1ec !important;
}

[data-theme="dark"] body {
  background: var(--bg) !important;
}

/* ── Button text colour fix ─────────────────────────────── */
/* Joomla/Bootstrap overrides anchor colour even on .btn */
a.btn,
a.btn:visited,
a.btn:hover,
a.btn:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

a.btn-soft,
a.btn-soft:visited {
  color: var(--brand) !important;
}

/* ── Mobile padding fix ─────────────────────────────────── */
/* Ensure content never touches screen edges on small screens */
@media (max-width: 520px) {
  .container,
  .ck-main,
  .com-content-article,
  .com-content-article__body {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  /* Prevent any Joomla wrappers from breaking out */
  .ck-main > *,
  .ck-layout-full,
  .ck-content {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Grid stacks to single column on mobile */
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
}

/* Slightly more breathing room on mid-size phones */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ── Page-specific overrides ────────────────────────────── */
/* Hide article wrapper on pages that use a full-page module */
.hide-article .com-content-article,
.hide-article .com-content-article__header,
.hide-article .com-content-article__body,
.hide-article .ck-content > .com-content-article,
body.home .com-content-article,
body.home .com-content-article__header,
body.home .com-content-article__body,
body.home .ck-content > .com-content-article {
  display: none !important;
}

/* Remove the top padding gap left behind */
.hide-article .ck-main,
body.home .ck-main {
  padding-top: 0 !important;
}

/* ── Melt calculator module full width ──────────────────── */
.hide-article .ck-content-bottom,
.hide-article .ck-content-bottom > div,
.hide-article .ck-content-bottom .custom {
  width: 100% !important;
  max-width: 100% !important;
}

.melt-hero p {
  max-width: 100% !important;
}

/* ── Article blog spacing ──────────────────────────────── */
.com-content-category-blog .item,
.com-content-category-blog__item,
.blog-item {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line, #e0ddd4);
}
.com-content-category-blog .item:last-child,
.com-content-category-blog__item:last-child,
.blog-item:last-child {
  border-bottom: none;
}

/* ── Share & print toolbar ─────────────────────────────── */
.ck-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #e0ddd4);
}
.ck-share-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ck-share-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-right: 4px;
}
.ck-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1.5px solid var(--line, #e0ddd4);
  background: transparent;
  color: var(--muted, #888);
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
}
.ck-share-btn:hover {
  border-color: var(--brand2, var(--brand2, #c5a356));
  color: var(--brand2, var(--brand2, #c5a356));
}
/* Social brand colors on hover */
.ck-share-fb:hover { border-color: #1877f2; color: #1877f2; }
.ck-share-x:hover { border-color: var(--text, #1a1a2e); color: var(--text, #1a1a2e); }
.ck-share-reddit:hover { border-color: #ff4500; color: #ff4500; }
.ck-share-email:hover { border-color: var(--brand2, var(--brand2, #c5a356)); color: var(--brand2, var(--brand2, #c5a356)); }

/* Print and PDF buttons — wider to fit text */
.ck-share-print,
.ck-share-pdf {
  width: auto;
  padding: 0 12px;
}
.ck-share-print span,
.ck-share-pdf span {
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .ck-share-bar { justify-content: center; }
  .ck-share-btn { width: 32px; height: 32px; }
  .ck-share-print, .ck-share-pdf { padding: 0 8px; }
}

/* ── Print styles for articles ─────────────────────────── */
@media print {
  .ck-share-bar,
  #ckCookieBanner,
  header.site-header,
  footer,
  .ck-tour-btn,
  .nav-toggle,
  #navMore,
  #navOverlay,
  .ck-search-overlay,
  .pager,
  .com-content-article__tags,
  .btn { display: none !important; }
  .com-content-article { box-shadow: none !important; border: none !important; }
  .com-content-article__body { font-size: 12pt; line-height: 1.6; }
  body { background: #fff !important; }
}

/* ── Footer social icons ───────────────────────────────── */
.ck-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line, #e0ddd4);
  color: var(--muted, #888);
  text-decoration: none;
  transition: all .15s;
}
.ck-social-icon:hover {
  border-color: var(--brand2, var(--brand2, #c5a356));
  color: var(--brand2, var(--brand2, #c5a356));
  transform: translateY(-1px);
}
