/* ---------- BEGIN ORIGINAL main.css ---------- */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  color: #eee;
  background-color: #000;
}
p {
  line-height: 1.5;
  margin: 30px 0;
}
p a {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
}
a {
  color: #760824;
  transition: color .4s;
  text-decorarion: none;
}
a:hover,
a:focus {
  color: #fff;
     transition: color .3s;
    outline: none;
    text-shadow:none;
}
a img:hover,
a img:focus {
  cursor: zoom-in;
  outline: none;
}
blockquote {
  color: #808080;
  font-style: italic;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: white;
}
.navbar-custom {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.navbar-custom .navbar-brand {
  font-weight: 800;
}
.navbar-custom .nav li a {
  color: white;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}
@media only screen and (min-width: 768px) {
  .navbar-custom {
    background: transparent;
    border-bottom: 1px solid transparent;
  }
  .navbar-custom .navbar-brand {
    color: white;
    padding: 20px;
  }
  .navbar-custom .navbar-brand:hover,
  .navbar-custom .navbar-brand:focus {
    color: #0085a1;
  }
  .navbar-custom .nav li a {
    color: white;
    padding: 20px;
  }
  .navbar-custom .nav li a:hover{
    color: #0085a1;
  }
}
@media only screen and (min-width: 1170px) {
  .navbar-custom {
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .navbar-custom.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -61px;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .navbar-custom.is-fixed .navbar-brand {
    color: #ffffff;
  }
  .navbar-custom.is-fixed .navbar-brand:hover {
    color: #0085a1;
  }
  
  .navbar-custom.is-fixed .nav li a:hover {
    color: #0085a1;
  }
.navbar-custom.is-fixed .nav li a:active{
    color: #6ec54d;
  }
  .navbar-custom.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}
.intro-header {
  background: no-repeat center center;
  background-color: #808080;
  background-attachment: scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  margin-bottom: 50px;
}
.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
  padding: 100px 0 50px;
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .post-heading,
  .intro-header .page-heading {
    padding: 150px 0;
  }
}
.intro-header .site-heading,
.intro-header .page-heading {
  text-align: center;
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 50px;
  text-shadow: 1px 1px 4px #000;
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
  font-size: 24px;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
  text-shadow: 1px 1px 4px #000;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: 80px;
    text-shadow: 1px 1px 4px #000;
  }
}
.intro-header .post-heading h1 {
  font-size: 35px;
}
.intro-header .post-heading .subheading,
.intro-header .post-heading .meta {
  line-height: 1.1;
  display: block;
}
.intro-header .post-heading .subheading {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  margin: 10px 0 30px;
  font-weight: 600;
  text-shadow: 1px 1px 4px #000;
}
.intro-header .post-heading .meta {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-style: italic;
  text-shadow: 1px 1px 4px #000;
  font-size: 20px;
}
.intro-header .post-heading .meta a {
  color: white;
}
@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}
.section-heading {
  font-size: 36px;
  margin-top: 60px;
  font-weight: 700;
}
.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
footer {
  margin: -30px 0 0px;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: 14px;
  text-align: center;
  margin-bottom: 0;
}
.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}
.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top 0.3s ease,opacity 0.3s ease;
  -moz-transition: top 0.3s ease,opacity 0.3s ease;
  -ms-transition: top 0.3s ease,opacity 0.3s ease;
  transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group::not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eeeeee;
}
.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}
.floating-label-form-group-with-focus label {
  color: #0085a1;
}
form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eeeeee;
}
.btn {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 0;
  padding: 15px 25px;
}
.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #0085a1;
  border: 1px solid #0085a1;
  color: white;
}
.pager {
  margin: 20px 0 0;
}
.pager li > a,
.pager li > span {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 5px;
  background-color: black;
}
@media only screen and (min-width: 768px) {
  .pager li > a,
  .pager li > span {
    font-size: 14px;
    padding: 15px 25px;
  }
}
.pager li > a:hover,
.pager li > a:focus {
  color: white;
  background-color: black;
  }
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #808080;
  background-color: #404040;
  cursor: not-allowed;
}
::-moz-selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
::selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}
body {
  webkit-tap-highlight-color: #0085a1;
}
.fa-stack-2x {
 color: black;
}
/* ---------- END ORIGINAL main.css ---------- */


/* ========== BEGIN APPENDED MOBILE & NAV FIXES ========== */

/* Responsive hero/title: allow h1 to scale and wrap on small screens */
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  font-size: clamp(26px, 7.5vw, 80px); /* fluid sizing */
  line-height: 1.06;
  margin: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* Slightly tighter on very small screens */
@media (max-width: 420px) {
  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: clamp(20px, 9.5vw, 34px);
  }
}

/* ---------- Navbar stacking & pointer fixes (mobile) ---------- */
/* Ensure the navbar is on top of hero/overlay content */
.navbar-custom {
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* Make the collapsed menu appear above overlays when opened */
.navbar-custom .navbar-collapse {
  position: relative;
  z-index: 10000;
  pointer-events: auto;
}

/* The open state (Bootstrap adds 'in' or 'show' depending on version) */
.navbar-custom .navbar-collapse.in,
.navbar-custom .navbar-collapse.show {
  z-index: 10000;
  pointer-events: auto;
}

/* Ensure the burger button is always tappable */
.navbar-toggle {
  z-index: 10001 !important;
  pointer-events: auto !important;
}

/* Make decorative hero overlays non-blocking */
.intro-header::before,
.intro-header::after,
.intro-header .overlay,
.page-header::before,
.page-header::after,
.hero-overlay,
.intro-header .site-heading::before,
.intro-header .site-heading::after {
  pointer-events: none !important;
}

/* If you intentionally have interactive items in the hero, explicitly enable them */
.intro-header a,
.intro-header button,
.intro-header .btn {
  pointer-events: auto !important;
}

/* Prevent hero from creating unintended higher stacking contexts */
.intro-header,
.intro-header * {
  z-index: 0;
}

/* Fix vendor-prefixed tap highlight property and typo corrections */
body {
  -webkit-tap-highlight-color: #0085a1;
}
a { text-decoration: none; }

/* ========== END APPENDED MOBILE & NAV FIXES ========== */
/* ======= SIMPLE STRONG OVERRIDE (paste into css/custom.css) ======= */

/* force hero title to be fluid, wrapable and never overflow on mobile */
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  font-size: clamp(18px, 6.2vw, 44px) !important; /* small on phones, scales on larger */
  line-height: 1.06 !important;
  margin: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;      /* allow wrapping */
  word-break: break-word !important;   /* break long words */
  overflow-wrap: anywhere !important;
  display: block !important;
  -webkit-font-smoothing: antialiased !important;
}

/* reduce hero padding on small screens so title has room */
@media (max-width: 480px) {
  .intro-header .site-heading,
  .intro-header .page-heading {
    padding-top: 36px !important;
    padding-bottom: 18px !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: clamp(16px, 9.5vw, 32px) !important;
    line-height: 1.08 !important;
  }
}

/* Defensive: prevent any horizontal overflow from the hero */
.intro-header, .intro-header * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
