/* SkyCity Casino Wiki – design overlay */
:root{
  --sc-navy:#0F2F6E;
  --sc-navy-deep:#0A214D;
  --sc-blue:#1A4A8A;
  --sc-link:#1E4FB8;
  --sc-text:#1a1a1a;
  --sc-muted:#6b7280;
  --sc-bg:#ffffff;
  --sc-soft:#f3f5f8;
  --sc-card:#fff;
  --sc-radius:14px;
  --sc-radius-sm:10px;
  --sc-shadow:0 8px 24px rgba(15,47,110,.08);
  --sc-max:1180px;
  --sc-font:"Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.skycity-theme,
body{
  margin:0;
  font-family:var(--sc-font);
  color:var(--sc-text);
  background:var(--sc-bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
body.skycity-theme .wrapper,
body.skycity-theme #page,
body.skycity-theme .site,
.sc-site{background:#fff}
a{color:var(--sc-link);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.sc-container{width:min(100% - 32px, var(--sc-max));margin-inline:auto}

/* Hide parent theme chrome we replace */
body.skycity-theme .mainfeatured,
body.skycity-theme .bs-headtwo,
body.skycity-theme .bs-head-detail,
body.skycity-theme .missed,
body.skycity-theme .bs-footer-copyright,
body.skycity-theme footer.footer,
body.skycity-theme .mg-breadcrumb-section,
body.skycity-theme .bs-breadcrumb-section{display:none!important}

/* Header */
.sc-header{
  padding:22px 0 10px;
  background:#fff;
}
.sc-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.sc-logo{display:flex;align-items:center;gap:12px;text-decoration:none!important}
.sc-logo img,.sc-logo svg{height:64px;width:auto}
.sc-nav{
  display:flex;
  background:var(--sc-navy);
  border-radius:14px;
  padding:14px 22px;
  box-shadow:0 10px 28px rgba(15,47,110,.22);
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  align-items:center;
  justify-content:center;
}
.sc-nav a{
  color:#fff!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
.sc-nav a:hover,.sc-nav a.current-menu-item,
.sc-nav .current-menu-item > a,
.sc-nav .current_page_item > a{opacity:.85;text-decoration:underline!important}
.sc-nav-toggle{display:none;background:var(--sc-navy);color:#fff;border:0;border-radius:10px;padding:12px 16px;font-weight:700}

/* Page title */
.sc-page-title{
  margin:18px 0 28px;
  font-size:clamp(1.35rem, 2.4vw, 2rem);
  font-weight:800;
  color:#111;
  letter-spacing:-.01em;
  line-height:1.25;
}

/* Layout */
.sc-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:36px;
  align-items:start;
  padding-bottom:48px;
}
.sc-main{min-width:0}

/* Cards / posts */
.sc-featured{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:28px;
  margin-bottom:36px;
}
.sc-featured__left .sc-thumb img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--sc-radius)}
.sc-featured__left .sc-date{margin-top:12px;color:var(--sc-muted);font-size:13px}
.sc-featured__left .sc-post-title{
  margin:8px 0 0;
  font-size:clamp(1.35rem,2vw,1.85rem);
  font-weight:800;
  line-height:1.2;
}
.sc-featured__left .sc-post-title a{color:#111;text-decoration:none}
.sc-featured__right{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px 18px;
}
.sc-card-sm .sc-thumb img{
  width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--sc-radius-sm);
}
.sc-card-sm .sc-post-title{
  margin:10px 0 6px;font-size:1rem;font-weight:800;line-height:1.25;
}
.sc-card-sm .sc-post-title a{color:#111;text-decoration:none}
.sc-excerpt{color:var(--sc-muted);font-size:14px;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sc-readmore{color:var(--sc-link);font-weight:700;font-size:14px;text-decoration:none}
.sc-readmore:hover{text-decoration:underline}
.sc-readmore::after{content:" ›";font-weight:800}

/* Category sections */
.sc-cat-section{margin:42px 0 28px}
.sc-cat-section__title{
  font-size:1.35rem;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:#111;margin:0 0 18px;
}
.sc-cat-images{
  display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px;
}
.sc-cat-images img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--sc-radius)}
.sc-posts-row{
  display:grid;grid-template-columns:1fr 1fr;gap:24px;
}
.sc-post-text .sc-date{color:var(--sc-muted);font-size:13px;margin-bottom:6px}
.sc-post-text .sc-post-title{margin:0 0 8px;font-size:1.05rem;font-weight:800}
.sc-post-text .sc-post-title a{color:#111;text-decoration:none}

/* Archive / list */
.sc-archive-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:28px 22px;
}
.sc-archive-card .sc-thumb img{
  width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--sc-radius);
}
.sc-archive-card .sc-date{margin-top:10px;color:var(--sc-muted);font-size:13px}
.sc-archive-card .sc-post-title{margin:6px 0 8px;font-size:1.15rem;font-weight:800}
.sc-archive-card .sc-post-title a{color:#111;text-decoration:none}

/* Single / page */
.sc-article{max-width:820px}
.sc-article .sc-date{color:var(--sc-muted);font-size:14px;margin-bottom:10px}
.sc-article h1{font-size:clamp(1.6rem,2.5vw,2.2rem);font-weight:800;margin:0 0 18px;line-height:1.2}
.sc-article .sc-thumb{margin-bottom:22px}
.sc-article .sc-thumb img{width:100%;border-radius:var(--sc-radius);aspect-ratio:16/9;object-fit:cover}
.sc-content{font-size:1.05rem;line-height:1.7;color:#222}
.sc-content p{margin:0 0 1.1em}
.sc-content h2,.sc-content h3{margin:1.4em 0 .6em;color:var(--sc-navy)}
.sc-meta-cats{margin-top:28px;font-size:14px;color:var(--sc-muted)}
.sc-meta-cats a{color:var(--sc-link);font-weight:600}

/* Hide author icon / byline */
.sc-site .bs-author,
.sc-site .bs-author-pic,
.sc-site .auth,
.sc-article .author,
.sc-site .bs-info-author-block,
body.skycity-theme .bs-author,
body.skycity-theme .bs-author-pic{display:none!important}

/* Sidebar */
.sc-sidebar{display:flex;flex-direction:column;gap:18px;position:sticky;top:24px}
.sc-widget{
  background:#fff;
  border-radius:var(--sc-radius);
  box-shadow:var(--sc-shadow);
  padding:20px 22px;
  border:1px solid rgba(15,47,110,.06);
}
.sc-widget h3{
  margin:0 0 14px;font-size:15px;font-weight:800;
  letter-spacing:.05em;text-transform:uppercase;color:#111;
}
.sc-widget ul{list-style:none;margin:0;padding:0}
.sc-widget li{
  display:flex;justify-content:space-between;gap:12px;
  padding:8px 0;border-bottom:1px solid #eef1f5;font-size:14px;
}
.sc-widget li:last-child{border-bottom:0}
.sc-widget a{color:var(--sc-link);font-weight:600;text-decoration:none}
.sc-widget a:hover{text-decoration:underline}
.sc-widget .count{color:var(--sc-muted);font-weight:500}
.sc-resources-intro{font-size:14px;color:#333;margin:0 0 12px;line-height:1.45}
.sc-resources-list{list-style:none;margin:0;padding:0}
.sc-resources-list li{padding:6px 0;border:0!important;display:block}
.sc-resources-list a{color:var(--sc-navy);font-weight:800;font-size:15px}

/* Footer */
.sc-footer{
  background:var(--sc-navy-deep);
  color:#fff;
  padding:48px 0 36px;
  margin-top:20px;
}
.sc-footer__inner{
  display:grid;
  grid-template-columns:1.2fr 1fr 1.4fr;
  gap:40px;
  align-items:start;
}
.sc-footer .sc-logo img,.sc-footer .sc-logo svg{height:56px}
.sc-footer-copy{margin-top:14px;font-size:13px;opacity:.85;line-height:1.5}
.sc-footer h4{
  margin:0 0 16px;font-size:16px;font-weight:800;color:#fff;
}
.sc-footer ul{list-style:none;margin:0;padding:0}
.sc-footer li{margin:0 0 10px}
.sc-footer a{color:#fff;text-decoration:none;font-size:14px;opacity:.92}
.sc-footer a:hover{text-decoration:underline;opacity:1}
.sc-footer-pages{
  display:grid;grid-template-columns:1fr 1fr;gap:0 28px;
}

/* Pagination */
.sc-pagination{display:flex;gap:10px;margin-top:32px;flex-wrap:wrap}
.sc-pagination a,.sc-pagination span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 12px;border-radius:8px;
  background:var(--sc-soft);color:var(--sc-navy);font-weight:700;text-decoration:none;
}
.sc-pagination .current{background:var(--sc-navy);color:#fff}

/* Mobile */
@media (max-width:980px){
  .sc-layout{grid-template-columns:1fr}
  .sc-sidebar{position:static}
  .sc-featured{grid-template-columns:1fr}
  .sc-footer__inner{grid-template-columns:1fr;gap:28px}
}
@media (max-width:640px){
  .sc-header__inner{flex-direction:column;align-items:flex-start}
  .sc-nav-toggle{display:inline-flex}
  .sc-nav{display:none;width:100%;flex-direction:column;align-items:flex-start}
  .sc-nav.is-open{display:flex}
  .sc-featured__right,.sc-posts-row,.sc-archive-grid,.sc-cat-images,.sc-footer-pages{grid-template-columns:1fr}
  .sc-logo img,.sc-logo svg{height:52px}
}

/* Neutralize leftover parent layout wrappers */
body.skycity-theme .container, body.skycity-theme .container-fluid{max-width:none;padding:0;width:auto}
body.skycity-theme #content.container-fluid.home{display:none}
body.skycity-theme .wrapper > img{display:none}
body.skycity-theme .bs-menu-full, body.skycity-theme .navbar-wp{display:none!important}
.sc-logo img{height:64px;width:auto}
.sc-footer .sc-logo img{height:56px}

body.skycity-theme .bs-head, body.skycity-theme .bs-headtwo, body.skycity-theme .navbar,
body.skycity-theme .navbar-wp, body.skycity-theme .bs-menu-full, body.skycity-theme header.site-header,
body.skycity-theme .mg-nav-widget-area{display:none!important}
body.skycity-theme .sc-header .sc-nav{display:flex!important}
@media (max-width:640px){
  body.skycity-theme .sc-header .sc-nav{display:none!important}
  body.skycity-theme .sc-header .sc-nav.is-open{display:flex!important}
}

/* Nav links – beat parent theme */
body.skycity-theme .sc-nav,
body.skycity-theme .sc-header .sc-nav{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px 18px;
  background:var(--sc-navy)!important;
  border-radius:14px;
  padding:14px 22px;
  max-width:100%;
}
body.skycity-theme .sc-nav a.menu-item,
body.skycity-theme .sc-nav a{
  display:inline-block!important;
  color:#fff!important;
  background:transparent!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.04em;
  text-transform:uppercase!important;
  padding:4px 2px!important;
  margin:0!important;
  border:0!important;
  box-shadow:none!important;
  opacity:1!important;
  width:auto!important;
  height:auto!important;
  position:static!important;
  float:none!important;
}
body.skycity-theme .sc-logo img{
  height:68px!important;
  width:auto!important;
  max-width:240px;
  object-fit:contain;
  display:block;
}
@media (max-width:900px){
  body.skycity-theme .sc-nav a{font-size:11px!important}
}
@media (max-width:640px){
  body.skycity-theme .sc-header .sc-nav{display:none!important}
  body.skycity-theme .sc-header .sc-nav.is-open{display:flex!important}
}
@media (min-width:641px){
  body.skycity-theme .sc-nav-toggle{display:none!important}
}

body.skycity-theme .sc-footer .sc-logo img{
  height:56px!important;
  width:auto!important;
  max-width:200px;
}

/* Logo – natural aspect, no crop */
body.skycity-theme .sc-logo{
  flex-shrink:0;
  line-height:0;
}
body.skycity-theme .sc-logo img{
  height:72px!important;
  width:auto!important;
  max-width:min(280px, 45vw)!important;
  object-fit:contain!important;
  object-position:left center!important;
}
body.skycity-theme .sc-footer .sc-logo img{
  height:60px!important;
  max-width:240px!important;
}

/* Logo – never crop the cloud */
body.skycity-theme .sc-logo{
  overflow:visible!important;
  line-height:0;
}
body.skycity-theme .sc-logo img{
  height:76px!important;
  width:auto!important;
  max-width:min(300px,48vw)!important;
  object-fit:contain!important;
  object-position:left center!important;
  overflow:visible!important;
}
body.skycity-theme .sc-footer .sc-logo img{
  height:64px!important;
  max-width:260px!important;
}

/* Author + related posts */
.sc-author{
  margin:6px 0 14px;
  color:var(--sc-muted);
  font-size:14px;
}
.sc-author strong{color:var(--sc-navy);font-weight:700}
.sc-related{
  margin-top:36px;
  padding-top:24px;
  border-top:1px solid #e8ecf2;
}
.sc-related h3{
  margin:0 0 14px;
  font-size:1.05rem;
  font-weight:800;
  color:var(--sc-navy);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.sc-related-nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.sc-related-nav a{
  display:block;
  padding:14px 16px;
  border-radius:10px;
  background:var(--sc-soft);
  color:var(--sc-navy);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  line-height:1.35;
}
.sc-related-nav a:hover{background:#e4eaf3;text-decoration:none}
.sc-related-nav .label{
  display:block;
  font-size:12px;
  font-weight:600;
  color:var(--sc-muted);
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.sc-related-nav .sc-related-next{text-align:right}
@media (max-width:640px){
  .sc-related-nav{grid-template-columns:1fr}
  .sc-related-nav .sc-related-next{text-align:left}
}
body.skycity-theme .wrapper,
body.skycity-theme #page,
body.skycity-theme .sc-header,
body.skycity-theme .sc-header__inner,
body.skycity-theme .sc-logo{
  overflow:visible!important;
}

/* Extra top breathing room so cloud is never clipped */
body.skycity-theme .sc-header{padding-top:28px!important;overflow:visible!important}
body.skycity-theme .wrapper{overflow:visible!important}
.sc-related-list{list-style:none;margin:0 0 18px;padding:0}
.sc-related-list li{margin:0;border-bottom:1px solid #eef1f5}
.sc-related-list li:last-child{border-bottom:0}
.sc-related-list a{
  display:block;padding:12px 0;color:var(--sc-navy);font-weight:700;
  text-decoration:none;font-size:15px;line-height:1.35;
}
.sc-related-list a:hover{color:var(--sc-link);text-decoration:underline}
.sc-related-date{display:block;font-size:12px;color:var(--sc-muted);font-weight:500;margin-bottom:2px}
.sc-content table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.95rem}
.sc-content th,.sc-content td{border:1px solid #e2e8f0;padding:10px 12px;text-align:left}
.sc-content thead th{background:var(--sc-soft);color:var(--sc-navy);font-weight:700}
.sc-content ul{margin:0 0 1.1em;padding-left:1.2em}
.sc-content li{margin:0 0 .4em}
