.drive-library-section,
.free-form-section {
  min-height: calc(100vh - 160px);
  padding: 34px 0 64px;
  background: #f8fafd;
}

.drive-library {
  max-width: 1080px;
}

.drive-library-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-bottom: 18px;
}

.drive-library-header h1 {
  margin: 0;
  color: #202124;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.drive-library-header span {
  display: block;
  margin-top: 4px;
  color: #5f6368;
  font-size: .85rem;
}

.drive-resource-list {
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
}

.drive-list-heading,
.drive-resource-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 170px;
  align-items: center;
  gap: 20px;
}

.drive-list-heading {
  min-height: 44px;
  padding: 0 20px;
  border-bottom: 1px solid #dadce0;
  color: #5f6368;
  font-size: .78rem;
  font-weight: 600;
}

.drive-resource-row {
  min-height: 82px;
  padding: 12px 20px;
  border-bottom: 1px solid #e8eaed;
}

.drive-resource-row:last-child {
  border-bottom: 0;
}

.drive-resource-row:hover {
  background: #f8fafd;
}

.drive-resource-row-soon {
  color: #5f6368;
}

.drive-resource-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.drive-resource-name > div {
  min-width: 0;
}

.drive-resource-name h2 {
  overflow: hidden;
  margin: 0 0 4px;
  color: #202124;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drive-resource-name span:not(.drive-file-icon) {
  color: #5f6368;
  font-size: .8rem;
}

.drive-file-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 46px;
  border-radius: 3px;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
}

.drive-file-icon::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-bottom-left-radius: 2px;
  background: rgba(255, 255, 255, .72);
  content: "";
}

.drive-file-icon-sheet {
  background: #188038;
}

.drive-resource-type {
  color: #5f6368;
  font-size: .88rem;
}

.drive-resource-action {
  display: flex;
  justify-content: flex-end;
}

.drive-access-button,
.resource-access-submit {
  min-height: 42px;
  border: 1px solid #1a73e8;
  border-radius: 4px;
  background: #1a73e8;
  color: #fff;
  box-shadow: none;
  font-weight: 700;
}

.drive-access-button {
  padding: 10px 18px;
  text-align: center;
}

.drive-access-button:hover,
.resource-access-submit:hover {
  border-color: #1558b0;
  background: #1558b0;
}

.drive-coming-soon {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #f8fafd;
  color: #5f6368;
  font-size: .82rem;
  font-weight: 600;
}

.free-form-wrap {
  max-width: 620px;
}

.drive-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: #1a73e8;
  font-size: .9rem;
  font-weight: 600;
}

.resource-form-panel {
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60, 64, 67, .08);
}

.resource-form-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  border-bottom: 1px solid #e8eaed;
}

.resource-form-heading > div {
  min-width: 0;
}

.resource-form-heading > div > span {
  color: #5f6368;
  font-size: .8rem;
}

.resource-form-heading h1 {
  margin: 4px 0 0;
  color: #202124;
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.resource-access-form {
  display: grid;
  gap: 15px;
  padding: 26px;
}

.resource-access-form label > span {
  display: block;
  margin-bottom: 7px;
  color: #3c4043;
  font-size: .86rem;
  font-weight: 600;
}

.resource-access-form label > span small {
  color: #6d7278;
  font-size: .78rem;
  font-weight: 500;
}

.resource-access-form input,
.resource-access-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bdc1c6;
  border-radius: 4px;
  background: #fff;
  color: #202124;
  font: inherit;
}

.resource-access-form input:focus,
.resource-access-form select:focus {
  outline: 2px solid rgba(26, 115, 232, .18);
  border-color: #1a73e8;
}

.resource-access-form .hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.resource-access-submit {
  width: 100%;
  margin-top: 2px;
}

.resource-access-note {
  margin: 0;
  color: #6d7278;
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
}

.resource-access-note a {
  color: #1a73e8;
  font-weight: 600;
}

.resource-access-message {
  margin: 0;
  padding: 11px 12px;
  border-radius: 4px;
  font-size: .86rem;
  line-height: 1.5;
}

.resource-access-message[data-type="error"] {
  background: #fce8e6;
  color: #b3261e;
}

.thank-you-section {
  padding: 58px 0;
  background: #f8fafd;
}

.thank-you-inner {
  max-width: 860px;
  text-align: center;
}

.thank-you-inner > h1 {
  margin: 10px 0 12px;
  color: #202124;
  font-size: 2.55rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.thank-you-inner > p {
  margin: 0;
  color: #5f6368;
  font-size: 1rem;
}

.thank-you-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 2px 8px rgba(60, 64, 67, .08);
}

.thank-you-access[hidden],
.thank-you-offer[hidden] {
  display: none;
}

.thank-you-access > div > span,
.thank-you-offer-inner > div > span {
  color: #188038;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.thank-you-access h2 {
  margin: 6px 0;
  color: #202124;
  font-size: 1.4rem;
  letter-spacing: 0;
}

.thank-you-access p {
  margin: 0;
  color: #5f6368;
  line-height: 1.55;
}

.thank-you-missing {
  border-color: #e3cf8f;
}

.thank-you-offer {
  overflow: hidden;
  padding: 56px 0 62px;
  border-top: 1px solid #eadcae;
  background: #fff8e1;
}

.thank-you-offer-inner {
  display: grid;
  grid-template-columns: minmax(220px, .36fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  max-width: 1060px;
}

.thank-you-offer-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 390px;
}

.thank-you-offer-visual::before {
  position: absolute;
  z-index: -1;
  inset: 30px 18px;
  background: #0e4f4e;
  content: "";
  transform: rotate(3deg);
}

.thank-you-offer-visual img {
  display: block;
  width: min(100%, 252px);
  height: auto;
  box-shadow: 0 24px 38px rgba(9, 31, 50, .24);
  transform: rotate(-1.5deg);
}

.thank-you-offer-copy > span {
  color: #188038;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.thank-you-offer h2 {
  max-width: 680px;
  margin: 9px 0 14px;
  color: #13213a;
  font-size: 2.35rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.thank-you-offer p {
  max-width: 660px;
  margin: 0;
  color: #4f5968;
  font-size: 1.05rem;
  line-height: 1.65;
}

.thank-you-offer-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 18px;
  color: #0e4f4e;
}

.thank-you-offer-proof strong {
  font-size: .96rem;
}

.thank-you-offer-proof > span {
  color: #d18b22;
}

.thank-you-offer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e2cf8f;
}

.thank-you-offer-action > strong {
  max-width: 270px;
  color: #202124;
  font-size: 1.05rem;
  line-height: 1.4;
}

.thank-you-offer-action .button,
.thank-you-access .button {
  text-align: center;
}

.thank-you-offer-action .button {
  flex: 0 0 auto;
  min-width: 240px;
}

body.resource-page .whatsapp-float {
  display: none !important;
}

body.resource-page .minimal-footer {
  padding: 28px 0;
  background: #102d31;
  color: #eaf4f2;
}

body.resource-page .minimal-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.resource-page .minimal-footer .brand-logo {
  display: block;
  width: 190px;
  max-width: 100%;
}

body.resource-page .minimal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

body.resource-page .minimal-footer a {
  color: #fff;
}

body.resource-page .minimal-footer-row > span {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .thank-you-offer-inner {
    grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
    gap: 38px;
  }

  .thank-you-offer h2 {
    font-size: 2rem;
  }

  .thank-you-offer-action {
    align-items: stretch;
    flex-direction: column;
  }

  .thank-you-offer-action > strong {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .drive-library-section,
  .free-form-section {
    padding: 22px 0 44px;
  }

  .drive-list-heading {
    display: none;
  }

  .drive-resource-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 96px;
    padding: 16px;
  }

  .drive-resource-type {
    display: none;
  }

  .drive-resource-name h2 {
    white-space: normal;
  }

  .drive-resource-action {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .drive-access-button,
  .drive-coming-soon {
    width: 100%;
    justify-content: center;
  }

  .resource-form-heading,
  .resource-access-form {
    padding: 21px;
  }

  .resource-form-heading h1 {
    font-size: 1.25rem;
  }

  .thank-you-inner > h1 {
    font-size: 2rem;
  }

  .thank-you-access,
  .thank-you-offer-inner {
    grid-template-columns: 1fr;
  }

  .thank-you-access .button {
    width: 100%;
  }

  .thank-you-offer-visual {
    min-height: 310px;
  }

  .thank-you-offer-visual::before {
    inset: 28px 48px;
  }

  .thank-you-offer-visual img {
    width: 190px;
  }

  .thank-you-offer-copy {
    text-align: center;
  }

  .thank-you-offer-proof {
    justify-content: center;
  }

  .thank-you-offer-action {
    display: grid;
    justify-content: stretch;
    padding-top: 22px;
  }

  .thank-you-offer-action > strong {
    max-width: none;
  }

  .thank-you-offer-action .button {
    width: 100%;
    min-width: 0;
  }

  body.resource-page .minimal-footer-row {
    flex-direction: column;
    text-align: center;
  }
}
