/*
 Theme Name: Eyelit Theme
 Theme URI: https://eyelit.com
 Description: Eyelit child theme built on GeneratePress.
 Author: Eyelit Technologies
 Template: generatepress
 Version: 1.0
*/
.downloadable-resource-page {
  background: linear-gradient(120deg, #ffffff 0%, #f3f9ff 100%);
}

.downloadable-resource-hero {
  padding: 80px 24px 100px;
}

.downloadable-resource-wrap {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1fr);
  gap: 80px;
  align-items: start;
}

.resource-eyebrow {
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0392e3;
  font-weight: 700;
  margin-bottom: 20px;
}

.downloadable-resource-content h1 {
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.08;
  color: #00326d;
  margin: 0 0 34px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.downloadable-resource-text {
  font-family: Calibri, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #404040;
  max-width: 720px;
}

.downloadable-resource-text p {
  margin: 0 0 30px;
}

.downloadable-resource-text ul {
  margin: 28px 0 36px 28px;
}

.downloadable-resource-text li {
  margin-bottom: 10px;
}

.downloadable-resource-text a {
  color: #824b97;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.downloadable-resource-form {
  position: sticky;
  top: 120px;
}

.downloadable-resource-form-card {
  background: #ffffff;
  border-radius: 42px;
  padding: 56px;
  box-shadow: 0 24px 70px rgba(0, 50, 109, 0.10);
}

.hubspot-form-wrapper input,
.hubspot-form-wrapper select,
.hubspot-form-wrapper textarea {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 16px !important;
  border: 1px solid #c8d8e8 !important;
  background: #f7fbff !important;
}

.hubspot-form-wrapper .hs-form-field {
  margin-bottom: 24px !important;
}

.hubspot-form-wrapper label {
  color: #00326d !important;
  font-weight: 700 !important;
}

.hubspot-form-wrapper .hs-button,
.hubspot-form-wrapper input[type="submit"] {
  background: #824b97 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  border: 0 !important;
  min-height: 52px !important;
  padding: 16px 28px !important;
  font-family: "Segoe UI", sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

@media (max-width: 980px) {
  .downloadable-resource-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .downloadable-resource-form {
    position: static;
  }

  .downloadable-resource-form-card {
    padding: 32px 24px;
    border-radius: 28px;
  }
}
/* ==========================================
   DEFAULT RESOURCE LAYOUT
========================================== */

.default-resource-page {
  background: linear-gradient(120deg, #ffffff 0%, #f3f9ff 100%);
  padding: 90px 24px 120px;
}

.default-resource-page article {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.default-resource-header {
  margin-bottom: 56px;
}

.default-resource-header h1 {
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #00326d;
  margin: 0 auto;
  font-weight: 700;
  max-width: 1100px;
}

.default-resource-content {
  font-family: Calibri, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #404040;
  max-width: 1100px;
  margin: 0 auto;
}

.default-resource-content p {
  margin-bottom: 32px;
}

.default-resource-content h2 {
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.15;
  color: #00326d;
  margin-top: 80px;
  margin-bottom: 24px;
  font-weight: 700;
}

.default-resource-content h3 {
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.2;
  color: #00326d;
  margin-top: 56px;
  margin-bottom: 20px;
  font-weight: 700;
}

.default-resource-content img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

/* Keep right-aligned WordPress images from becoming huge */
.default-resource-content figure.alignright {
  float: right;
  max-width: 300px;
  margin: 0 0 24px 32px;
}

.default-resource-content figure.alignright img {
  width: auto !important;
  max-width: 300px !important;
  height: auto !important;
  margin: 0 !important;
}

/* Optional: keep normal standalone images spaced nicely */
.default-resource-content figure:not(.alignright):not(.alignleft) img {
  margin: 48px 0;
}

.default-resource-content a {
  color: #824b97;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {

  .default-resource-page {
    padding: 56px 20px 90px;
  }

  .default-resource-header h1 {
    font-size: clamp(40px, 10vw, 60px);
  }

  .default-resource-content {
    font-size: 20px;
  }

}