/* ==========================================================================
   SanjyotDunung.com refresh (client change request 11/2026)
   Loaded after style.css and layout.css. Keep new/overriding rules here.
   ========================================================================== */

/* ---------- Page hero (About, Building What's Next, Topics & Expertise, Speaking, Contact) ---------- */
/* Same wrapper behaviour as #meet-page (no gap between the header and the hero) */
article.hero-page {
  padding-top: 0 !important;
  padding-bottom: 30px !important;
  font-family: var(--body-font);
  color: var(--color-text);
}

.page-hero .page-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 490px;
  text-align: left;
  position: relative;
  z-index: 3;
}

.page-hero .title-bar-inner {
  position: relative;
  z-index: 3;
}

/* No image yet: a shorter hero with room for a longer title */
.meet .hero-section.page-hero--plain {
  min-height: 380px;
}

.page-hero--plain .page-hero-text {
  max-width: 760px;
}

/* Full-background photo (e.g. a debate/event photo) with a navy overlay so the title stays readable */
.meet .hero-section.page-hero--background {
  background-size: cover;
  background-position: center 30%;
}

.page-hero--background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 25, 81, 0.88) 0%, rgba(6, 25, 81, 0.6) 55%, rgba(6, 25, 81, 0.2) 100%);
  z-index: 1;
}

.page-hero--background h1,
.page-hero--background h2 {
  color: #fff !important;
}

@media (min-width: 1400px) {
  .page-template-page-hero .layer1,
  .page-template-page-contact .layer1 {
    max-width: 1300px;
    left: 10%;
  }
}

@media only screen and (max-width: 600px) {
  .meet .hero-section.page-hero--plain {
    min-height: 180px;
  }

  /* Phones: keep the title and subtitle to the left of the cut-out photo */
  .page-hero--cutout .page-hero-text {
    max-width: 48%;
  }

  .page-hero--cutout .page-hero-text h1 {
    text-align: left;
  }
}

/* ---------- Home: "Invite Sanjyot to Speak | Explore Her Work | Request an Interview" ---------- */
.explore-links-section {
  background-color: var(--color-primary-lighter);
  padding: 70px 0;
}

.explore-links-section .container {
  justify-content: center;
}

.explore-links {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 30px;
}

/* style.css sets every span to 17px; let the link text follow the link size */
.explore-links .explore-link .text,
.explore-links .explore-link .arrow {
  font-size: inherit;
  line-height: inherit;
}

.explore-links .explore-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary) !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.explore-links .explore-link .text {
  text-decoration: underline;
  text-decoration-color: var(--color-secondary-light);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  transition: opacity 0.25s ease;
}

.explore-links .explore-link .arrow {
  color: var(--color-secondary);
  display: inline-block;
  transition: transform 0.2s ease;
}

.explore-links .explore-link:hover .text,
.explore-links .explore-link:focus .text {
  opacity: 0.8;
}

.explore-links .explore-link:hover .arrow,
.explore-links .explore-link:focus .arrow {
  transform: translateX(4px);
}

.explore-links .explore-sep {
  color: var(--color-secondary-light);
  font-size: 30px;
  font-weight: 300;
}

@media (max-width: 1000px) {
  .explore-links {
    flex-direction: column;
  }

  .explore-links .explore-sep {
    display: none;
  }

  .explore-links .explore-link {
    font-size: 22px;
  }

  .explore-links-section {
    padding: 50px 0;
  }
}

/* ---------- Footer ---------- */
.footer-top.footer-top--no-logo {
  justify-content: flex-end;
}

.footer-bottom .footer-links {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 30px;
  flex-wrap: wrap;
}

.footer-content p.footer-copyright,
.footer-links p.footer-copyright {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  color: var(--color-primary) !important;
  text-align: center;
}

/* ---------- Page content blocks (Topics & Expertise, Speaking, Building What's Next) ---------- */
.spd-content .lead {
  font-size: 1.15em;
}

.spd-content .spd-topic {
  border-left: 4px solid var(--color-secondary-light);
  padding: 4px 0 4px 22px;
  margin: 34px 0;
}

.spd-content .spd-topic h3 {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
}

.spd-content .spd-topic .spd-topic-question {
  color: var(--color-tint);
  font-size: 1.05em;
}

.spd-content .spd-topic .spd-topic-focus strong {
  color: var(--color-primary);
}

.spd-content .spd-cta {
  margin: 26px 0 10px;
}

.spd-content .spd-cta a.news-read-more,
.spd-content a.news-read-more {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
}

/* Speaking engagement thumbnails */
.spd-content .spd-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  margin: 26px 0 34px;
}

.spd-content .spd-media-card {
  margin: 0;
  background: #fff;
  border: 1px solid #e3e6ef;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(6, 25, 81, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.spd-content .spd-media-card:hover,
.spd-content .spd-media-card:focus-within {
  box-shadow: 0 8px 22px rgba(6, 25, 81, 0.14);
  transform: translateY(-2px);
}

.spd-content .spd-media-card > a,
.spd-content .spd-media-card > p > a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  text-decoration: none;
  color: var(--color-primary);
}

.spd-content .spd-media-card > p {
  margin: 0;
  height: 100%;
}

.spd-content .spd-media-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-primary-lighter);
}

.spd-content .spd-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.spd-content .spd-media-title {
  display: block;
  padding: 10px 16px 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}

.spd-content .spd-media-meta {
  display: block;
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--color-tint);
}

/* ---------- Contact page ---------- */
.contact-page .spd-content {
  padding-bottom: 10px;
}

.spd-contact-form-section {
  background: #f4f4f7;
  padding: 50px 0 60px;
  margin-top: 10px;
  text-align: center;
}

.spd-contact-form-section .container {
  max-width: 900px;
}

.spd-contact-form-section .underline {
  display: block;
  margin: 0 auto;
}

.spd-contact-form {
  text-align: left;
  margin-top: 28px;
}

.spd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}

.spd-field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spd-field--full {
  grid-column: 1 / -1;
}

.spd-field label {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary);
}

.spd-field .req {
  color: var(--color-secondary-light);
}

.spd-field input,
.spd-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9cfdf;
  border-radius: 4px;
  background: #fff;
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--color-text);
}

.spd-field input:focus,
.spd-field textarea:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 1px;
  border-color: var(--color-primary-light);
}

.spd-field textarea {
  min-height: 150px;
  resize: vertical;
}

.spd-count {
  align-self: flex-end;
  font-size: 13px;
  color: #5b6275;
}

.spd-submit {
  text-align: center;
  margin: 26px 0 0;
}

.spd-btn {
  min-width: 280px;
  padding: 13px 60px 11px;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: #fff;
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.spd-btn:hover,
.spd-btn:focus {
  background: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
}

.spd-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.spd-form-notice {
  margin: 22px auto 0;
  padding: 14px 18px;
  border-radius: 4px;
  font-weight: 600;
  text-align: left;
}

.spd-form-notice--success {
  background: #e7f6ec;
  border: 1px solid #9fd8b0;
  color: #14532d;
}

.spd-form-notice--error {
  background: #fdecee;
  border: 1px solid #f2a7b0;
  color: var(--color-secondary);
}

@media (max-width: 700px) {
  .spd-form-grid {
    grid-template-columns: 1fr;
  }

  .spd-btn {
    width: 100%;
    min-width: 0;
  }
}
