/* Male and Female Developmental Anatomy - static rebuild */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #808080;
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(340px, 63vw, 720px);
  padding: 0 20px 6vw;
  background: #0091c0 url("../images/header-gradient.webp") 50% 0 / cover no-repeat;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.byline {
  display: inline-block;
  margin: clamp(10px, 2vw, 22px) 0 0;
  padding: clamp(5px, 0.8vw, 9px) clamp(14px, 2.5vw, 34px);
  background: #0082bf;
  color: #fff;
  font-size: clamp(11px, 1.75vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

/* ---------- Introduction ---------- */
.intro {
  padding: clamp(50px, 8vw, 90px) 20px clamp(40px, 6vw, 70px);
}

.intro-inner {
  max-width: 750px;
  margin: 0 auto;
}

.intro h2 {
  margin: 0 0 23px;
  color: #4bc7db;
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: clamp(5px, 1.25vw, 10px);
  text-transform: uppercase;
}

.intro p {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.32;
}
.intro p:last-child { margin-bottom: 0; }

/* ---------- Downloads ---------- */
.downloads {
  padding: 60px 0 50px;
  background: #4bc9dd url("../images/doctors-bg.webp") 50% 0 / cover no-repeat;
  color: #fff;
}

.packet {
  margin: 0 0 10px;
  font-size: clamp(19px, 3vw, 24px);
  line-height: 1.2;
  text-align: center;
}
.packet a { text-decoration: none; }
.packet a:hover, .packet a:focus { text-decoration: underline; }

.cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 30px;
}

.col { padding-top: 30px; }

.col h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.file-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.file-list li {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
}
.file-list a { text-decoration: none; }
.file-list a:hover, .file-list a:focus { text-decoration: underline; }

.topic h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.topic p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Contact ---------- */
.contact {
  padding: 35px 20px;
  text-align: center;
}
.contact p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.contact a {
  color: #3cc5de;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact a:hover, .contact a:focus { text-decoration: underline; }

/* ---------- Tablet and up ---------- */
@media (min-width: 768px) {
  .container { padding: 0 15px; }
  .intro-inner { width: 64%; min-width: 470px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .col { padding: 35px 15px 30px; }
  .downloads { padding: 40px 0 30px; }
}

/* Smaller background file for phones */
@media (max-width: 767px) {
  .downloads { background-image: url("../images/doctors-bg-800.webp"); }
}
