html,body {
  height: 100%;
}

* {
    -moz-box-sizing: border-box;
}

body {
  background-color: #ededed;
  color: #424242;
  margin: 0;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:14px;
  line-height:1.428571429;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-weight:normal;line-height:1.1;color:#333}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small{font-weight:normal;line-height:1}
h1,.h1{font-size:45px;line-height:48px}
h2,.h2{font-size:36px;line-height:42px}
h3,.h3{font-size:28px;line-height:36px}
h4,.h4{font-size:24px;line-height:25px}
h5,.h5{font-size:20px;line-height:24px}
h6,.h6{font-size:18px;line-height:24px}

a{color:#3282e6;}
a:hover,a:focus{color:#165db5;text-decoration:underline}

.text-center{text-align:center}

.wrap {
  min-height: 100%;
  .display: table;
  .height: 100%;
}

.top-bar {
  height: 20px;
  background: #71a100;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzcxYTEwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZmExMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #71a100 0%, #6fa100 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#71a100), color-stop(100%,#6fa100));
  background: -webkit-linear-gradient(top,  #71a100 0%,#6fa100 100%);
  background: -o-linear-gradient(top,  #71a100 0%,#6fa100 100%);
  background: -ms-linear-gradient(top,  #71a100 0%,#6fa100 100%);
  background: linear-gradient(to bottom,  #71a100 0%,#6fa100 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#71a100', endColorstr='#6fa100',GradientType=0 );
}

:root .top-bar {
  filter: none \0/IE9;
}

.welcome-container {
  width: 500px;
  margin: 0 auto;
  overflow: auto;
  padding-bottom: 60px;
}

.coming-soon-wrap {
  margin-top: 90px;
}

.frowny-face {
  text-align: center;
  font-size: 130px;
  color: #919191;
  line-height: 1.1;
  margin-top: 90px;
  margin-bottom: 70px;
}

.welcome-container h1 {
  margin-bottom: 1em;
}

.btn-primary {
    background-color: #7FB141;
    border-color: #648C33;
    color: #FFFFFF;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
}
button, select {
    text-transform: none;
}
button, input {
    line-height: normal;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

.btn {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent;
    border-image: none;
    border-radius: 0 0 0 0;
    border-style: solid;
    border-width: 0 0 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 8px 20px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background-color: #7FB141;
    border-color: #648C33;
    color: #FFFFFF;
}


.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active, 
.btn-primary.active {
    background-color: #729E3A;
    border-color: #496626;
    color: #fff;
}

.btn:hover, 
.btn:focus {
    text-decoration: none;
}

.login-container {
  text-align: right;
  margin: 20px;
}

.footer {
  position: relative;
  margin-top: -60px; /* negative value of footer height */
  height: 60px;
  clear:both;
  text-align: center;
  font-size: 14px;
}

/* Book cover sizing */
 .hero-img{
     max-width: 320px;  /* adjust this number bigger/ smaller if you want */
 }
 .hero-img img {
     width: 100%;   /* keeps it inside the hero-img box */
     height: auto;  /*keeps proportions correct */
     display: block;
 }
 }
 }
/* Testimonials */
#testimonials {
  padding: 3rem 1.5rem;
  background: #f7f7f7;
}

#testimonials .container {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.6;
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.testimonial {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e0e0e0;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  font-weight: 600;
  text-align: right;
  margin: 0;
}
/* Feedback button (force link to look like a button everywhere) */
a.btn-feedback,
a.btn-feedback:visited{
  display: inline-block !important;
  margin: .25rem 0 .5rem !important;
  padding: .85rem 1.1rem !important;
  border-radius: 10px !important;

  background: #D4AF37 !important;
  color: #0A1630 !important;

  text-decoration: none !important;
  font-weight: 700 !important;
  -webkit-appearance: none;
}

a.btn-feedback:hover,
a.btn-feedback:active{
  filter: brightness(0.95);
}
/* Episode video: responsive + NOT huge on desktop */
.video-embed{
  position: relative !important;
  width: 100% !important;
  max-width: 640px !important;   /* <-- desktop size control (try 640) */
  margin: 16px auto !important;  /* centers it */
  height: 0 !important;
  padding-bottom: 56.25% !important; /* 16:9 */
  overflow: hidden !important;
  border-radius: 12px;
  background: #000;
}

/* Force the iframe to fill the wrapper */
.video-embed iframe{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}


.episode-card {
  padding: 16px;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 12px 0 18px 0;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.episode-card {
  padding: 16px;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
/* --- Header / Nav --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.site-header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand { font-weight: 700; text-decoration: none; color: #111827; }
.nav { display: flex; gap: 12px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: #111827; padding: 6px 8px; border-radius: 8px; }
.nav a:hover { background: rgba(212,175,55,0.12); }

/* --- Page width helper --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Responsive video embed --- */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Mobile sizing so headlines don’t look like billboards --- */
@media (max-width: 600px) {
  h1 { font-size: 32px; line-height: 1.1; }
}

/* --- Responsive video that doesn't take over iPhone screens --- */
.video-embed{
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 55vh;   /* <-- key: keeps it from being too tall on phones */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback for older browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-embed{
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
  }
  .video-embed iframe{
    position: absolute;
    inset: 0;
  }
}
/* --- Better H1 sizing on mobile --- */
h1{
  font-size: clamp(28px, 7vw, 56px);
  line-height: 1.05;
}
/* updating size*/

/* === YouTube embeds: responsive + not-too-huge === */
.video-embed{
  width: 100%;
  max-width: 860px;   /* <- controls how big it can get on desktop */
  margin: 16px auto;  /* center it */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9; /* modern, clean */
}

.video-embed iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Fallback for older browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-embed{
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
  }
  .video-embed iframe{
    position: absolute;
    inset: 0;
  }
}


