/*
Theme Name: Bank Casino — 2007 Card Club
Version: 2.0.0
Requires PHP: 8.0
Text Domain: bankcasino-vault-diamond
*/
:root { color-scheme: dark; --paper: #00030a; --text: #fff; --muted: #b7bfcd; --link: #a9ccea; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 15px/1.7 Verdana, Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: white; }
:focus-visible { outline: 2px solid #f7d382; outline-offset: 3px; }
.bankcasino-skip { position: absolute; z-index: 4; left: 12px; top: -90px; padding: 8px 14px; color: white; background: #0f203e; }
.bankcasino-skip:focus { top: 8px; }
/* At the capture width, the badge spans the seam between the 109px strip and 170px photograph. */
.club-masthead { --art-width: clamp(640px, 100vw, 1000px); --strip: calc(var(--art-width) * .109); overflow: hidden; background: #0f203e url('archive-2007/images/layout/top.gif') center top / auto var(--strip) repeat-x; }
.club-masthead-art { width: var(--art-width); height: calc(var(--art-width) * .279); margin-inline: auto; position: relative; background: url('archive-2007/images/layout/header.jpg') center bottom / 100% auto no-repeat; }
.club-logo { position: absolute; left: 6.5%; top: 0; width: 22.1%; display: block; }
.club-logo img { display: block; width: 100%; }
.club-layout, .club-footer { max-width: 1000px; margin-inline: auto; }
.club-layout { display: grid; grid-template-columns: 30% minmax(0, 62%); background: url('archive-2007/images/layout/bgMain.jpg') bottom center / 100% auto no-repeat; }
/* Keep the original blue content panel visible beneath the banner on longer WordPress pages. */
.club-layout { position: relative; isolation: isolate; }
.club-layout::before { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: min(390px, 100%); pointer-events: none; background: url('archive-2007/images/layout/bgMain.jpg') center bottom / max(100%, 720px) auto no-repeat; mask-image: linear-gradient(to bottom, black 0%, black 47%, transparent 100%); }
.club-navigation { align-self: start; padding: 31px 16px 16px max(16px, 21.67%); font: 14px/1.4 'Trebuchet MS', Arial, sans-serif; }
.club-navigation a { display: block; width: fit-content; padding: 6px 0; }
.club-navigation a, .club-footer nav a { color: #d3dded; }
#main { min-width: 0; padding: 27px 10px 38px; overflow-wrap: break-word; }
h1, h2, h3 { font-weight: normal; }
h1, h2 { font-family: 'Arial Narrow', 'Trebuchet MS', Arial, sans-serif; line-height: 1.16; }
h1 { margin: 0 0 .36em; font-size: clamp(27px, 3vw, 32px); }
h2 { margin: 0 0 .45em; font-size: 24px; }
h3 { font: 19px/1.35 'Trebuchet MS', Arial, sans-serif; color: #c3ccdc; }
p, figure { margin: 0 0 1em; }
.bankcasino-category, .bankcasino-date, figcaption, caption { color: var(--muted); font-size: 13px; }
.bankcasino-category { margin-bottom: .35em; }
.bankcasino-hero, .bankcasino-stories, .bankcasino-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bankcasino-hero-art { padding-top: 35px; }
.bankcasino-hero-art img, figure img { display: block; width: 100%; }
.bankcasino-homebody > section, .bankcasino-article > section { margin-top: 32px; }
.bankcasino-aside-art { max-width: 460px; }
.bankcasino-gallery-grid figure { margin: 0; }
.bankcasino-gallery-grid figcaption { margin-top: 6px; }
.bankcasino-table-wrap { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
th, td { padding: .55em .6em; border-bottom: 1px solid #465267; text-align: left; vertical-align: top; }
thead th { background: #13223b; }
caption { text-align: left; padding-bottom: .4em; }
form { display: grid; gap: .6em; max-width: 440px; }
select, button { font: inherit; max-width: 100%; padding: 8px 10px; color: #fff; background: #172945; border: 1px solid #72859d; }
button { width: fit-content; cursor: pointer; }
.club-footer { min-height: 274px; background: url('archive-2007/images/layout/bgFooter.jpg') center top / 100% auto no-repeat; color: var(--muted); font-size: 13px; }
.club-footer-inner { margin-left: 30%; padding: 22px 10px; }
.club-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
@media (max-width: 740px) {
  .club-layout { display: block; }
  .club-navigation { display: flex; flex-wrap: wrap; gap: 3px 16px; padding: 10px 16px; background: #0f203e url('archive-2007/images/layout/bgNav.jpg') center / cover no-repeat; }
  .club-navigation a { padding: 5px 0; }
  #main { padding: 22px 16px 30px; }
  .club-footer-inner { margin-left: 0; padding-inline: 16px; }
  .club-footer { min-height: 170px; }
}
@media (max-width: 520px) {
  .bankcasino-hero, .bankcasino-stories { display: block; }
  .bankcasino-hero-art { padding-top: 0; }
  .bankcasino-stories article + article { margin-top: 24px; }
  .bankcasino-gallery-grid { gap: 12px; }
}

/* Long-form editorial content */
.bankcasino-article section,.bankcasino-homebody>section{margin-block:2rem}.bankcasino-article p,.bankcasino-homebody>section>p{line-height:1.75}.bankcasino-table-wrap{max-width:100%;overflow-x:auto}.bankcasino-table-wrap table{min-width:34rem}caption{text-align:left;font-weight:700;margin-bottom:.75rem}

.club-reading-desk{padding-block:.75rem}.club-reading-desk>p{margin:.5rem 0}.club-reading-desk nav{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem}.club-reader-notices{font-size:.9em}.bankcasino-preserved-art img{max-width:100%;height:auto}
