/* REGENTHUS BOOKS V1 — shared KOLIN OFF + REGENTHUSHOP */
.rgb-books{
  --rgb-orange:#ff7a1a;
  --rgb-text:#f5f1ec;
  --rgb-muted:#b9afa6;
  --rgb-line:rgba(255,122,26,.34);
  --rgb-card:rgba(11,9,8,.82);
  width:min(1280px,94%);
  margin:38px auto 56px;
  padding:0;
  color:var(--rgb-text);
}
.rgb-books__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 22px;
  padding:0 0 14px;
  border-bottom:1px solid var(--rgb-line);
}
.rgb-books__kicker{
  margin:0 0 5px;
  color:var(--rgb-orange);
  font:700 12px/1.2 Calibri,"Segoe UI",Arial,sans-serif;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.rgb-books__title{
  margin:0;
  color:#fff;
  font:800 clamp(30px,4vw,58px)/.98 Calibri,"Segoe UI",Arial,sans-serif;
  letter-spacing:.01em;
}
.rgb-books__intro{
  max-width:620px;
  margin:0;
  color:var(--rgb-muted);
  font:700 16px/1.45 Calibri,"Segoe UI",Arial,sans-serif;
  text-align:right;
}
.rgb-books__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.rgb-book{
  scroll-margin-top:140px;
  display:grid;
  grid-template-columns:minmax(150px,220px) 1fr;
  gap:22px;
  min-width:0;
  padding:20px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:
    linear-gradient(135deg,rgba(255,122,26,.055),transparent 44%),
    var(--rgb-card);
  box-shadow:0 16px 42px rgba(0,0,0,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.rgb-book__cover-link{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:2/3;
  overflow:hidden;
  border-radius:12px;
  background:#16110e;
  border:1px solid rgba(255,255,255,.08);
}
.rgb-book__cover-link::before{
  content:attr(data-title);
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  text-align:center;
  color:#fff;
  font:800 18px/1.12 Calibri,"Segoe UI",Arial,sans-serif;
}
.rgb-book__cover{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#111;
}
.rgb-book__body{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.rgb-book__platform{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 11px;
  color:var(--rgb-orange);
  font:800 11px/1.2 Calibri,"Segoe UI",Arial,sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.rgb-book__platform::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--rgb-orange);
  box-shadow:0 0 12px rgba(255,122,26,.75);
}
.rgb-book__name{
  margin:0 0 7px;
  color:#fff;
  font:800 clamp(23px,2.4vw,36px)/1.02 Calibri,"Segoe UI",Arial,sans-serif;
}
.rgb-book__author{
  margin:0 0 14px;
  color:#fff;
  opacity:.82;
  font:700 14px/1.25 Calibri,"Segoe UI",Arial,sans-serif;
}
.rgb-book__desc{
  margin:0 0 18px;
  color:var(--rgb-muted);
  font:700 15px/1.5 Calibri,"Segoe UI",Arial,sans-serif;
}
.rgb-book__actions{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.rgb-book__btn,
.rgb-book__btn:link,
.rgb-book__btn:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,122,26,.62);
  color:#fff!important;
  background:rgba(255,122,26,.10);
  text-decoration:none!important;
  font:800 12px/1.1 Calibri,"Segoe UI",Arial,sans-serif;
  letter-spacing:.055em;
  text-transform:uppercase;
  transition:transform .15s ease,background .15s ease,border-color .15s ease;
}
.rgb-book__btn:hover,
.rgb-book__btn:focus{
  transform:translateY(-1px);
  background:rgba(255,122,26,.20);
  border-color:var(--rgb-orange);
}
.rgb-book__btn--primary{
  background:var(--rgb-orange)!important;
  border-color:var(--rgb-orange)!important;
  color:#120a05!important;
}
.rgb-books--shop .rgb-book{
  grid-template-columns:minmax(125px,180px) 1fr;
}
.rgb-books--shop .rgb-book__desc{
  margin-bottom:14px;
}
@media(max-width:980px){
  .rgb-books__head{align-items:flex-start;flex-direction:column}
  .rgb-books__intro{text-align:left}
  .rgb-books__grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .rgb-books{width:calc(100% - 24px);margin:28px auto 40px}
  .rgb-book,
  .rgb-books--shop .rgb-book{
    grid-template-columns:1fr;
    padding:15px;
  }
  .rgb-book__cover-link{
    width:min(78vw,310px);
    margin:0 auto;
  }
  .rgb-book__body{align-items:stretch}
  .rgb-book__platform,
  .rgb-book__name,
  .rgb-book__author,
  .rgb-book__desc{text-align:center}
  .rgb-book__platform{justify-content:center}
  .rgb-book__actions{justify-content:center}
  .rgb-book__btn{flex:1 1 170px}
}
