/* Advanced Thumbnailer - promo pages (screenshot galleries and free sites), one stylesheet for both.
   A classic TGP layout: dark page, one centred 900 px column with all text left-aligned, portrait thumbnails
   and full-width banners. Spacing follows one scale (8 / 16 / 24 / 32 / 48 px). System fonts only.
   It lives in the free site's content/ folder, so galleries and free sites share it with the screenshots. */
:root {
  --brand: #f7941d; --bg: #0c0c0e; --panel: #16161a; --line: #2c2c33; --line-2: #3a3a43;
  --text: #d6d6dc; --muted: #9696a2; --link: #ffb24d;
  --col: 900px;     /* the one column everything sits in: thumbnails, banners, text */
  --gap: 24px;      /* space between thumbnails */
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 Verdana, Tahoma, Geneva, "DejaVu Sans", sans-serif; }
a { color: var(--link); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; border: 0; }
.wrap { max-width: calc(var(--col) + 48px); margin: 0 auto; padding: 0 24px; }

/* ---------- header: logo, heading, intro, left-aligned on the column ---------- */
.g-head { max-width: var(--col); margin: 0 auto; text-align: left; padding: 32px 0; }
.g-head .logo { display: inline-block; line-height: 0; }
.g-head .logo img { width: 190px; }
.g-head h1 { margin: 16px 0 16px; font: bold 30px/1.2 Tahoma, Verdana, sans-serif; color: var(--brand); letter-spacing: .005em; }
.g-head .intro { max-width: none; margin: 0; text-align: justify; text-align-last: left; font-size: 15px; line-height: 1.7; color: var(--text); }
.g-head .intro strong { color: #fff; }
.g-head .sub { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

/* ---------- gallery: 3 columns of portrait thumbnails ---------- */
.gallery { max-width: var(--col); margin: 0 auto; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px var(--gap); }
.th { display: block; text-decoration: none; }
.th-img { display: block; line-height: 0; border: 1px solid var(--line-2); background: var(--panel); padding: 6px; transition: border-color .15s; }
.th-img img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.th:hover .th-img { border-color: var(--brand); }
.th-cap { display: block; padding: 12px 0 0; text-align: left; }
.th-step { display: block; font: bold 11px/1.2 Tahoma, Verdana, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.th-title { display: block; margin-top: 6px; font: bold 14px/1.35 Tahoma, Verdana, sans-serif; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th:hover .th-title { text-decoration: underline; }

/* ---------- banner spots: as wide as the column, with even space above and below ---------- */
.spot { max-width: var(--col); margin: 48px auto; }
.banner { display: block; line-height: 0; border: 1px solid var(--line); }
.banner img { width: 100%; height: auto; }
.banner:hover { border-color: var(--brand); }

.hbanner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding: 18px 24px; min-height: 150px;
  text-decoration: none; color: #fff; border: 1px solid #4a3416;
  background: radial-gradient(120% 140% at 85% 0%, rgba(247,148,29,.28), transparent 55%), linear-gradient(135deg, #1d1409, #120d07); }
.hbanner:hover { border-color: var(--brand); color: #fff; }
.hb-main { display: block; min-width: 0; }
.hb-brand { display: block; font: bold 15px Tahoma, Verdana, sans-serif; color: #fff; margin-bottom: 6px; }
.hb-brand b { color: var(--brand); }
.hb-title { display: block; font: bold 25px/1.15 Tahoma, Verdana, sans-serif; color: #fff; margin-bottom: 8px; }
.hb-title em { font-style: normal; color: var(--brand); }
.hbanner p { margin: 0; font-size: 13.5px; color: #e4d6c3; max-width: 430px; }
.hbanner ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; font-size: 13px; color: #e4d6c3; }
.hbanner li::before { content: "\2714"; color: var(--brand); margin-right: 7px; font-weight: bold; }
.hb-shot { display: block; width: 210px; line-height: 0; border: 1px solid #5a4020; box-shadow: 0 8px 24px rgba(0,0,0,.5); transform: rotate(-2deg); }
.hb-shot img { display: block; width: 100%; height: auto; }
.hb-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
.hb-btn { display: inline-block; padding: 11px 22px; font: bold 16px Tahoma, Verdana, sans-serif; color: #1d1105; white-space: nowrap;
  background: linear-gradient(#ffc06b, var(--brand)); border: 2px solid; border-color: #ffd9a6 #b96200 #b96200 #ffd9a6; }
.hbanner:hover .hb-btn { background: linear-gradient(#ffcd85, #ff9f2e); }
.hb-price { font-size: 11.5px; color: #bfae96; white-space: nowrap; }

/* ---------- one screenshot's page: picture on the left, its text on the right, banner below ---------- */
.single { max-width: var(--col); margin: 0 auto; }
.single-row { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; }
.single-img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line-2); padding: 6px; background: var(--panel); }
.about { padding-top: 6px; }
.eyebrow { font: bold 11px/1.2 Tahoma, Verdana, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.about h2 { margin: 8px 0 16px; font: bold 22px/1.25 Tahoma, Verdana, sans-serif; color: #fff; }
.about p { margin: 0 0 24px; line-height: 1.7; text-align: justify; text-align-last: left; }
.details { border-collapse: collapse; width: 100%; font-size: 13px; }
.details th, .details td { text-align: left; padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.details tr:last-child th, .details tr:last-child td { border-bottom: 1px solid var(--line); }
.details th { color: var(--muted); font-weight: normal; white-space: nowrap; width: 110px; padding-right: 16px; }
.details td { color: #fff; }

/* ---------- footer ---------- */
.foot { max-width: var(--col); margin: 0 auto; padding: 24px 0 32px; border-top: 1px solid var(--line); text-align: left; font-size: 12px; color: var(--muted); }
.foot p { margin: 0 0 8px; }
.foot-links { white-space: nowrap; }
.foot p:last-child { margin-bottom: 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: #fff; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .single-row { grid-template-columns: 1fr; gap: 24px; }
  .single-img { width: min(420px, 100%); margin: 0; }
}
@media (max-width: 760px) {
  .hbanner { grid-template-columns: 1fr; gap: 16px; padding: 24px 16px; text-align: left; }
  .hbanner p { max-width: none; }
  .hbanner ul { grid-template-columns: 1fr; }
  .hb-cta { align-items: flex-start; text-align: left; }
  .hb-shot { display: none; }
  .hb-title { font-size: 21px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .g-head { padding: 24px 0; }
  .g-head h1 { font-size: 23px; }
  .g-head .intro { font-size: 14px; }
  .thumbs { gap: 24px 12px; }   /* stays 3 across, so the banner still comes after the third row */
  .th-img { padding: 3px; }
  .th-cap { padding-top: 8px; }
  .th-step { font-size: 9.5px; letter-spacing: .08em; }
  .th-title { font-size: 11.5px; white-space: normal; }
  .spot { margin: 32px auto; }
  .foot-links { white-space: normal; }
}


.entry, .free-main { max-width: var(--col); margin: 0 auto; }
.spot-top { margin-top: 0; }

/* entry page: the wide screenshot, then Enter and Exit */
.entry-shot { display: block; position: relative; text-decoration: none; border: 1px solid var(--line-2); background: var(--panel); padding: 6px; transition: border-color .15s; }
.entry-shot:hover { border-color: var(--brand); }
.entry-shot img { display: block; width: 100%; height: auto; }
.entry-shot-cap { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 12px 16px; font: bold 15px Tahoma, Verdana, sans-serif; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.entry-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 32px; }
.btn-enter { display: inline-block; padding: 14px 56px; font: bold 22px Tahoma, Verdana, sans-serif; color: #1d1105; text-decoration: none;
  background: linear-gradient(#ffc06b, var(--brand)); border: 2px solid; border-color: #ffd9a6 #b96200 #b96200 #ffd9a6; }
.btn-enter:hover { color: #1d1105; background: linear-gradient(#ffcd85, #ff9f2e); }
.exit { font-size: 13px; color: var(--muted); }
.exit:hover { color: #fff; }

/* main page: gallery 1 | vertical banner | gallery 2 */
.pick { display: grid; grid-template-columns: 1fr 300px 1fr; gap: var(--gap); align-items: start; }
.pick-card { display: block; text-decoration: none; }
.pick-card .th-img { margin-bottom: 16px; }
.pick-card:hover .th-img { border-color: var(--brand); }
.pick-title { display: block; margin: 8px 0 8px; font: bold 19px/1.3 Tahoma, Verdana, sans-serif; color: #fff; }
.pick-text { display: block; font-size: 13.5px; line-height: 1.65; color: var(--text); }
.pick-go { display: inline-block; margin-top: 16px; font: bold 14px Tahoma, Verdana, sans-serif; color: var(--brand); }
.pick-card:hover .pick-go { color: #fff; }
.pick-banner { line-height: 0; }
.pick-banner .banner { width: 300px; }
.after { margin: 48px 0 0; font-size: 15px; line-height: 1.7; text-align: justify; text-align-last: left; }

@media (max-width: 900px) {
  .pick { grid-template-columns: 1fr 1fr; }
  .pick-banner { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .pick { gap: 16px 12px; }
  .pick-title { font-size: 16px; }
  .pick-text { font-size: 12.5px; }
  .btn-enter { padding: 12px 40px; font-size: 19px; }
  .entry-shot-cap { font-size: 13px; padding: 10px 12px; }
  .after { font-size: 14px; }
}
