/* Home slider: theme defaults (app.css) + admin Slider module.
   Do NOT hide captions / force bg-size / kill ken-burns — those are admin fields. */
.slider_layout .col-lg-offset-3 > .row:first-child {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
}
.home-slider {
  margin: 8px 0 16px;
  clear: both;
}

/* SEO under banner — quiet strip, matches footer palette */
.yg-home-seo {
  margin: 2px 0 20px;
  padding: 12px 0 12px 14px;
  background: transparent;
  border: 0;
  border-left: 4px solid #333645;
  clear: both;
}
.yg-home-seo h1 {
  margin: 0 0 6px;
  color: #333645;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.theme-black .yg-home-seo h1 { color: #2a2d3a; }
.yg-home-seo p {
  margin: 0;
  color: #6a7180;
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 72ch;
}
.yg-home-seo strong { color: #333645; font-weight: 700; }

/* Footer Partners column — stacked, readable */
.yg-ft-partners { max-width: 220px; }
.yg-ft-partners .title { margin: 0 0 10px; }
.yg-ft-partners__note {
  margin: 0 0 14px;
  color: #c2c2c2;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 400;
}
.yg-ft-partners__links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 8px;
}
.yg-ft-partners__links li {
  margin: 0;
  padding: 0;
}
.yg-ft-partners__links a {
  display: inline-block;
  color: #dce3f0 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.yg-ft-partners__links a:hover {
  color: #3d8dff !important;
  border-bottom-color: rgba(61,141,255,.45);
}
.theme-black .yg-ft-partners__links a { color: #e6eaf2 !important; }
.theme-black .yg-ft-partners__links a:hover { color: #6babff !important; }

/* YesGiantess — Partners (footer charcoal palette, no pink) */
.yg-px {
  --yg-accent: #0068e1;
  --yg-accent-2: #3d8dff;
  --yg-ink: #262938;
  --yg-panel: #333645;
  --yg-panel-2: #2a2d3a;
  --yg-muted: #c2c2c2;
  --yg-line: rgba(255,255,255,.1);
  color: #eef0f6;
  font-family: Rubik, "Open Sans", system-ui, sans-serif;
  padding: 8px 0 48px;
}
.yg-px *, .yg-px *::before, .yg-px *::after { box-sizing: border-box; }

.yg-px-top {
  display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end;
  justify-content: space-between; margin: 0 0 22px; padding: 28px 28px 26px;
  border-radius: 16px;
  background: linear-gradient(165deg, #3a3d4f 0%, #333645 55%, #2a2d3a 100%);
  border: 1px solid var(--yg-line);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.55);
}
.yg-px-kicker {
  margin: 0 0 8px; font: 700 11px/1 Rubik, sans-serif;
  letter-spacing: .2em; text-transform: uppercase; color: var(--yg-accent-2);
}
.yg-px-top h1 {
  margin: 0; font-family: Rubik, sans-serif;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; line-height: 1.05; font-weight: 700;
  color: #fff;
}
.yg-px-lead { margin: 12px 0 0; max-width: 52ch; color: var(--yg-muted); line-height: 1.55; font-size: 15.5px; }
.yg-px-top__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.yg-px-count {
  min-width: 34px; height: 34px; display: inline-grid; place-items: center;
  border-radius: 10px; background: rgba(0,104,225,.2); color: #fff; font-weight: 700; font-size: 14px;
}

.yg-px-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 6px;
  background: var(--yg-accent); color: #fff !important; font-weight: 700; font-size: 14.5px;
  text-decoration: none !important; border: 0; cursor: pointer;
  box-shadow: 0 10px 22px -14px rgba(0,104,225,.7);
  transition: background .15s ease, transform .15s ease;
}
.yg-px-btn:hover { background: #0051ca; color: #fff !important; transform: translateY(-1px); }
.yg-px-btn--ghost {
  background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff !important; box-shadow: none;
}
.yg-px-btn--ghost:hover { border-color: var(--yg-accent); background: rgba(0,104,225,.12); }

.yg-px-flash, .yg-px-err {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
}
.yg-px-flash { background: rgba(18,183,106,.14); border: 1px solid rgba(18,183,106,.35); color: #b7f0d2; }
.yg-px-err { background: rgba(255,51,102,.12); border: 1px solid rgba(255,51,102,.35); color: #ffb3c5; }

.yg-px-bar {
  display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center;
  margin: 0 0 18px; padding: 14px;
  border-radius: 12px; background: var(--yg-panel); border: 1px solid var(--yg-line);
}
.yg-px-search {
  display: flex; flex: 1 1 220px; min-width: 180px; max-width: 320px; height: 44px;
  border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #262938;
}
.yg-px-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: #fff; padding: 0 16px; font-size: 15px; margin: 0;
}
.yg-px-search button {
  border: 0; padding: 0 18px; background: var(--yg-accent);
  color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; margin: 0;
}
.yg-px-cats {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none;
  flex: 2 1 420px;
}
.yg-px-cats a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12); color: #d5d8e0 !important;
  text-decoration: none !important; font-size: 13px; font-weight: 600;
  background: rgba(0,0,0,.15);
}
.yg-px-cats a em { font-style: normal; opacity: .6; font-size: 11px; }
.yg-px-cats a.is-on, .yg-px-cats a:hover {
  background: var(--yg-accent); border-color: var(--yg-accent); color: #fff !important;
}

.yg-px-body { position: relative; min-height: 80px; transition: opacity .15s; }
.yg-px-body.is-loading { opacity: .45; pointer-events: none; }

.yg-px-loader {
  position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
  background: rgba(10, 10, 14, .35); pointer-events: none;
}
.yg-px-loader.is-on { display: flex; }
.yg-px-loader__bar {
  position: absolute; top: 0; left: 0; height: 3px; width: 40%;
  background: linear-gradient(90deg, transparent, #0068e1, transparent);
  animation: ygPxBar 1s linear infinite;
}
.yg-px-loader__ring {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15); border-top-color: #0068e1;
  animation: ygPxSpin .7s linear infinite;
}
@keyframes ygPxBar { from { transform: translateX(-100%); } to { transform: translateX(280%); } }
@keyframes ygPxSpin { to { transform: rotate(360deg); } }

.yg-px-tiles {
  list-style: none !important; margin: 0 0 22px !important; padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  width: 100%;
}
.yg-px-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 118px; padding: 16px 14px 14px; border-radius: 12px;
  background: linear-gradient(165deg, #3a3d4f, #2a2d3a);
  border: 1px solid var(--yg-line);
  text-decoration: none !important; color: inherit !important;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.yg-px-tile:hover {
  border-color: rgba(0,104,225,.55);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -18px rgba(0,104,225,.45);
}
.yg-px-tile__name {
  margin: 0; font-size: 15px; font-weight: 700; line-height: 1.25; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yg-px-tile__meta {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--yg-muted);
}
.yg-px-tile__cat {
  color: var(--yg-accent-2); font-weight: 700;
}

.yg-px-empty {
  padding: 36px 20px; text-align: center; border-radius: 12px;
  background: var(--yg-panel); color: var(--yg-muted); margin: 0 0 22px;
}
.yg-px-empty a { color: var(--yg-accent-2) !important; font-weight: 600; }

.yg-px-how {
  margin-top: 8px; padding: 26px 24px; border-radius: 16px;
  background: var(--yg-panel);
  border: 1px solid var(--yg-line);
}
.yg-px-how h2 {
  margin: 0 0 16px; font-size: 22px; font-weight: 700; color: #fff;
}
.yg-px-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 18px;
}
.yg-px-steps article {
  padding: 16px; border-radius: 12px; background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.06);
}
.yg-px-steps span {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--yg-accent); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 10px;
}
.yg-px-steps h3 { margin: 0 0 6px; font-size: 15px; color: #fff; }
.yg-px-steps p { margin: 0; color: var(--yg-muted); font-size: 13.5px; line-height: 1.45; }
.yg-px-steps code {
  display: block; margin-top: 8px; padding: 10px; border-radius: 8px;
  background: #262938; color: #cfe0ff; font-size: 12px; word-break: break-all;
  border: 1px solid rgba(0,104,225,.28);
}
.yg-px-how__foot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.yg-px-help { color: var(--yg-muted); font-size: 14px; }
.yg-px-help a { color: var(--yg-accent-2) !important; font-weight: 600; }

.yg-px-form {
  position: relative;
  max-width: 720px; margin: 0 auto; padding: 28px; border-radius: 16px;
  background: linear-gradient(165deg, #3a3d4f, #2a2d3a);
  border: 1px solid var(--yg-line);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.55);
}
.yg-px-form::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, #0068e1, transparent);
  border-radius: 16px 16px 0 0;
}
.yg-px-form h1 { margin: 0 0 8px; font-size: 30px; color: #fff; }
.yg-px-form .yg-px-lead { margin-bottom: 20px; }
.yg-px-form .yg-px-kicker { color: var(--yg-accent-2); }
.yg-px-field { margin: 0 0 16px; }
.yg-px-field label {
  display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #d5d8e0;
}
.yg-px-field label span { color: #ff7070; }
.yg-px-field input, .yg-px-field select, .yg-px-field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14); background: #262938; color: #fff;
  font-size: 15px; outline: 0;
}
.yg-px-field textarea { min-height: 96px; resize: vertical; }
.yg-px-field input:focus, .yg-px-field select:focus, .yg-px-field textarea:focus {
  border-color: var(--yg-accent);
  box-shadow: 0 0 0 3px rgba(0,104,225,.18);
}
.yg-px-field .error { display: block; margin-top: 6px; color: #ff8fa8; font-size: 13px; }
.yg-px-field.has-error input,
.yg-px-field.has-error select,
.yg-px-field.has-error textarea { border-color: rgba(255,51,102,.7); }
.yg-px-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px;
}
.yg-px-btn:disabled { opacity: .65; cursor: wait; }
.yg-px-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.yg-px-snippet {
  margin: 0 0 18px; padding: 14px; border-radius: 10px; background: #262938;
  border: 1px dashed rgba(0,104,225,.4); color: #cfe0ff; font-size: 13px; word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; line-height: 1.45;
}

.yg-px-pager { display: flex; justify-content: center; gap: 8px; margin: 8px 0 24px; }
.yg-px-pager a, .yg-px-pager span {
  min-width: 38px; height: 38px; display: inline-grid; place-items: center;
  border-radius: 8px; text-decoration: none !important; font-weight: 600; font-size: 14px;
  border: 1px solid rgba(255,255,255,.12); color: #d5d8e0 !important; background: var(--yg-panel);
}
.yg-px-pager .is-on { background: var(--yg-accent); border-color: var(--yg-accent); color: #fff !important; }

@media (max-width: 900px) {
  .yg-px-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .yg-px-top, .yg-px-form, .yg-px-how { padding: 20px 16px; }
  .yg-px-steps { grid-template-columns: 1fr; }
  .yg-px-tiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
