/* CRVS-604 redwingmagazine footer — magazine contents-page index with red spine masthead.
   Concept: an asymmetric "In This Issue" table-of-contents. A bold red vertical spine
   carries the oversized wordmark + social on the left; the right is an editorial
   index with leader-dot rows. Deliberately NOT a 3-col widget grid. */

.crvs-footer{
  --rw-red:var(--crvs-accent,#ff0303);
  --rw-ink:#141414;
  --rw-ink2:#1c1c1c;
  --rw-paper:#f4f1ea;      /* warm editorial off-white */
  --rw-text:#e8e6e1;
  --rw-muted:#9a978f;
  --rw-line:rgba(255,255,255,.12);
  background:var(--rw-ink);
  color:var(--rw-text);
  font-family:"Roboto",Arial,sans-serif;
  margin-top:0;
  clear:both;
  width:100%;
  position:relative;
  overflow:hidden;
}
.crvs-footer *{box-sizing:border-box;}
.crvs-footer a{color:inherit;text-decoration:none;}

/* main grid: red spine rail | contents index */
.crvs-ft{
  display:grid;
  grid-template-columns:300px 1fr;
  max-width:1180px;
  margin:0 auto;
}

/* ---------- LEFT RED SPINE ---------- */
.crvs-ft__spine{
  background:var(--rw-red);
  color:#fff;
  padding:48px 36px 44px;
  position:relative;
  display:flex;
  flex-direction:column;
}
/* perforated edge between spine and index, like a tear strip */
.crvs-ft__spine::after{
  content:"";
  position:absolute;
  top:0; right:-1px; bottom:0;
  width:0;
  border-right:2px dotted rgba(255,255,255,.45);
}
.crvs-ft__logo{display:inline-block;margin-bottom:30px;}
.crvs-ft__logo img{
  display:block;
  height:42px;
  width:auto;
  max-width:200px;
  filter:brightness(0) invert(1); /* white on the red spine */
}
.crvs-ft__kicker{
  margin:0 0 6px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
}
.crvs-ft__issue{
  margin:0 0 auto;
  font-family:"PT Serif",Georgia,"Times New Roman",serif;
  font-weight:700;
  font-size:46px;
  line-height:.95;
  letter-spacing:-.01em;
  color:#fff;
}
.crvs-ft__issue em{font-style:italic;font-weight:400;}

/* social on the spine */
.crvs-ft__social{
  display:flex;
  gap:14px;
  margin-top:38px;
}
.crvs-ft__social a{
  width:38px;height:38px;
  display:inline-flex;
  align-items:center;justify-content:center;
  border:1.5px solid rgba(255,255,255,.55);
  border-radius:50%;
  color:#fff;
  font-size:16px;
  line-height:1;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.crvs-ft__social a:hover{
  background:#fff;
  color:var(--rw-red);
  border-color:#fff;
  transform:translateY(-3px);
}

/* ---------- RIGHT CONTENTS INDEX ---------- */
.crvs-ft__index{
  padding:48px 40px 40px 52px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 56px;
  align-content:start;
}
.crvs-ft__sect{min-width:0;}
.crvs-ft__sect--cats{grid-column:1 / -1;margin-top:14px;}

.crvs-ft__head{
  margin:0 0 14px;
  font-family:"PT Serif",Georgia,serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--rw-red);
  padding-bottom:9px;
  border-bottom:1px solid var(--rw-line);
}

.crvs-ft__list{list-style:none;margin:0;padding:0;}
.crvs-ft__entry{border-bottom:1px solid var(--rw-line);}
.crvs-ft__entry:last-child{border-bottom:0;}
.crvs-ft__entry a{
  display:flex;
  align-items:baseline;
  gap:12px;
  padding:11px 0;
  transition:color .2s ease;
}
.crvs-ft__title{
  flex:0 1 auto;
  font-family:"PT Serif",Georgia,serif;
  font-size:15px;
  line-height:1.35;
  color:var(--rw-text);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
/* leader dots that fill the gap, like a real contents page */
.crvs-ft__dots{
  flex:1 1 auto;
  align-self:flex-end;
  height:1px;
  margin-bottom:5px;
  min-width:14px;
  background-image:radial-gradient(currentColor 1px,transparent 1.4px);
  background-size:6px 2px;
  background-repeat:repeat-x;
  background-position:left center;
  color:rgba(255,255,255,.28);
}
.crvs-ft__entry a:hover .crvs-ft__title{color:var(--rw-red);}
/* Sections row — chip-free inline list with red leading marks */
.crvs-ft__cats{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
}
.crvs-ft__cats a{
  position:relative;
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--rw-text);
  padding-left:14px;
  transition:color .2s ease;
}
.crvs-ft__cats a::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  width:5px;height:5px;
  margin-top:-2.5px;
  background:var(--rw-red);
}
.crvs-ft__cats a:hover{color:var(--rw-red);}

/* ---------- BASELINE BAR ---------- */
.crvs-ft__base{
  background:var(--rw-ink2);
  border-top:3px solid var(--rw-red);
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  max-width:none;
  padding:16px 40px;
}
.crvs-ft__copy{
  margin:0;
  font-size:12.5px;
  letter-spacing:.04em;
  color:var(--rw-muted);
}

/* google translate block kept inside footer */
#translate-wrapper{display:inline-block;}
#translate-wrapper .goog-te-gadget{font-size:0;color:transparent;}
#translate-wrapper .goog-te-gadget .goog-te-combo{
  font-size:12px;margin:0;padding:5px 8px;
  background:#101010;color:var(--rw-text);
  border:1px solid var(--rw-line);border-radius:3px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .crvs-ft{grid-template-columns:240px 1fr;}
  .crvs-ft__index{padding:42px 28px 36px 36px;gap:8px 36px;}
  .crvs-ft__issue{font-size:38px;}
}

@media (max-width:760px){
  .crvs-ft{grid-template-columns:1fr;}
  .crvs-ft__spine{
    padding:38px 26px 34px;
    flex-direction:column;
  }
  .crvs-ft__spine::after{
    top:auto;left:0;right:0;bottom:-1px;
    width:auto;height:0;
    border-right:0;
    border-bottom:2px dotted rgba(255,255,255,.45);
  }
  .crvs-ft__issue{margin-bottom:30px;}
  .crvs-ft__index{
    grid-template-columns:1fr;
    padding:34px 26px 30px;
    gap:26px;
  }
  .crvs-ft__sect--cats{margin-top:0;}
  .crvs-ft__base{
    padding:16px 26px;
    justify-content:center;
    text-align:center;
  }
}

@media (max-width:393px){
  .crvs-ft__spine{padding:32px 20px 30px;}
  .crvs-ft__logo img{height:36px;}
  .crvs-ft__issue{font-size:34px;}
  .crvs-ft__social{gap:11px;}
  .crvs-ft__social a{width:36px;height:36px;font-size:15px;}
  .crvs-ft__index{padding:30px 20px 26px;}
  .crvs-ft__title{font-size:14px;}
  .crvs-ft__cats{gap:9px 16px;}
  .crvs-ft__base{padding:14px 20px;}
}
