/* Shared styles for /scott-bikes, /connie-for-cars, /connie-vs-transit, /scott-transit ad landing pages */

body {
  background: #fff;
}

.ad-page {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "image"
    "title"
    "cta"
    "nav"
    "disclosure";
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.ad-back {
  grid-area: nav;
  display: block;
  padding: 0 20px;
  margin: 28px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
}
.ad-back:hover { color: #5B3DF5; }

.ad-title {
  grid-area: title;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  margin: 20px 0 0;
  padding: 0 20px;
}

.ad-image-col {
  grid-area: image;
}

.ad-image-col img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.cta-card {
  grid-area: cta;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  border-radius: 0;
  padding: 20px;
  margin-top: 20px;
  background: #fff;
}

.cta-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #888;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  height: auto;
  padding: 14px 4px;
  border-top: 1px solid #f0f0f0;
  border-radius: 0;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
  color: #222;
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 600;
}
.cta-card .cta-row:first-of-type { border-top: none; }

.cta-row:hover { color: #5B3DF5; }
.cta-row:hover .cta-icon { color: #5B3DF5; }

.cta-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #5B3DF5;
}

.cta-label {
  flex: 1 1 auto;
}

.cta-chevron {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #bbb;
}

.about-blurb {
  grid-area: disclosure;
  margin: 20px 0 0;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 400;
  color: #888;
  line-height: 1.5;
}
.about-blurb a { color: #5B3DF5; font-weight: 600; }

@media (min-width: 750px) {
  body {
    background: #eaf2fb;
  }

  .ad-page {
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
      "nav      nav"
      "title    title"
      "image    cta"
      "image    disclosure";
    gap: 8px 24px;
    padding: 28px 20px 60px;
  }

  .ad-back {
    padding: 0;
    margin: 0 0 14px;
  }

  .ad-title {
    padding: 0;
    margin: 0 0 20px;
    font-size: 34px;
  }

  .ad-image-col img {
    border-radius: 10px;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }

  .cta-card {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 20px;
    margin-top: 0;
    position: sticky;
    top: 24px;
  }

  .about-blurb {
    padding: 0;
    margin-top: 16px;
  }
}
