html {font-size: 16px;}
body {margin: 5% auto; background: #f2f2f2; color: #444444; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; text-shadow: 0 1px 0 #ffffff; max-width: 73%;}
code {background: white;}
h1 {font-size: 3em;color: black; line-height:1em;padding-top:1em;}
h2{margin-bottom:-0.8em;}
a {border-bottom: 1px solid #444444; color: #048B87; text-decoration: none;transition: color 0.2s ease; /* Smooth color transition when hovering */  text-shadow: none !important;}
a:hover {border-bottom: 0;color: #0c47b7;}
a:visited {color: #427E7C; /* Softer, slightly desaturated teal */}
a:active {color: #025250; /* Even darker shade for when link is clicked */}
.pagetitle{font-size: 3em;padding-bottom:-10px;margin-bottom:-10px;line-height:100%; font-family: "Times New Roman", Times, Georgia, serif;}
.tag {color: #FF6B6B; font-style: italic;}
.leader{font-size:1.3em;line-height:1.4em;}
.footer-nav {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  margin: 1em 0;
}

.footer-nav li {
  margin: 0;
}



.responsive-form {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Adjust depending on your form's height ratio */
  overflow: hidden;
  padding-bottom: 5%;
  margin-bottom:10px;

}

.responsive-form iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 1. Line between site name/tagline and content */
.hr-100 {
  width: 100%;
  border: none;
  height: 1px;
  background-color: #111;
  margin: 1.5em 0;
}

.hr-100O {
  width: 100%;
  border: none;
  height: 1px;
  background-color: #EC5800;
  margin: 1.5em 0;
}

/* 2. Line between content and Random Question + services */
.hr-80 {
  width: 80%;
  border: none;
  height: 1px;
  background-color: #111;
  margin: 2em auto;
}

/* 3. Line between Random Question + services and footer */
.hr-60 {
  width: 60%;
  border: none;
  height: 1px;
  background-color: #111;
  margin: 2em auto;
}

.quick-check {
  background: #fff;
  border: 1px solid #4444;
  padding: 1rem;
  margin-top: 2rem;
}

.quick-check h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.reveal-answers {
  margin-top: 1rem;
  background-color: #EC5800;
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-radius: 4px;
}

.answers {
  margin-top: 1rem;
  padding-left: 1rem;
}

.hidden {
  display: none;
}

.pull-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: #444;
  border-left: 4px solid #EC5800;
  padding-left: 1rem;
  margin: 2rem 0 2rem 4rem;
    font-family: Georgia, serif;
}

.image-with-caption {
  text-align: center;
  margin: 2em 0;
}

.image-with-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.image-with-caption .caption {
  margin-top: 0.5em;
  font-size: 0.95em;
  color: #666;
  font-style: italic;
}

@media (max-width: 600px) {
  .image-with-caption .caption {
    font-size: 0.9em;
  }
}

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#cookie-banner {
position:fixed; bottom:0; left:0; right:0; background:#fff; border-top:1px solid #ccc; padding:1em; font-size:14px; z-index:1000; text-align:center;
}
#accept-cookies, #decline-cookies {margin:0 0.5em;}

#cookie-banner button {
  border-color: #EC5800;
  cursor: pointer;
}


.foot1 {font-size: 1em; text-align:center;font-style:italic;font-weight:bold;}
.foot2 {margin:-20px 0 -20px 0;padding:0;font-size:1em;text-align:center;}


#searchfilter {
  margin-top: 2em;
  font-size: 1.6em;
  color: #02386E;
}

#myInput {
  width: 100%;
  font-size: 1em;
  padding: 10px 14px;
  margin: 12px 0 20px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  background-color: #fff;
  color: #333;
}

#myInput:focus {
  outline: none;
  border-color: #048B87;
  box-shadow: 0 0 0 2px rgba(4,139,135,0.15);
}











/* Link SVGs */
a[href^="https:"] {
    background: url("../img/svg/external-link.svg") no-repeat 100% 0;
    background-size: 11px 11px;
    padding-right: 12px;
}

a[href^="https://youtu"] {
    background: url("../img/svg/youtube-link.svg") no-repeat 100% 0;
    background-size: 11px 11px;
    padding-right: 12px;
}


a[href^="https:"] {
    background: url("../img/svg/external-link.svg") no-repeat 100% 0;
    background-size: 11px 11px;
    padding-right: 12px;
}


a.noextlink[href^="https:"] {
    background: none;
	padding-right: 0px;
}

 
a[href^="https://en.wikipedia"] {
    background: url("../img/svg/wikipedia-link.svg") no-repeat 100% 0;
    background-size: 11px 11px;
    padding-right: 12px;
}



a[href^="https://youtu"] {
    background: url("../img/svg/youtube-link.svg") no-repeat 100% 0;
    background-size: 11px 11px;
    padding-right: 12px;
}


a[href^="/randomvideo.html"] {
    background: url("../img/svg/youtube-link.svg") no-repeat 100% 0;
    background-size: 11px 11px;
    padding-right: 12px;
}


a[href^="https://wikipedia"] {
    background: url("../img/svg/wikipedia-link.svg") no-repeat 100% 0;
    background-size: 11px 11px;
    padding-right: 12px;
}

a[href^="https://reddit.com"] {
    background: url("../img/svg/reddit-link.svg") no-repeat 100% 0;
    background-size: 10px 10px;
    padding-right: 12px;
}


a.nointlink[href^="/"] {
    background: none;
    padding-right: 0px;
}

a.nointlink:hover[href^="/"] {
    background-color: #ff0;
    color: #000;
    text-decoration: underline solid 2px black;
}	
a.nointlink[href^=""] {
    background: none;
    background-size: 10px 10px;
    padding-right: 12px;
}

a.nointlink:hover[href^=""] {
    background-color: #ff0;
    color: #000;
    text-decoration: underline solid 2px black;
}

a.tnl[href^="/"] {
    background: none;
	margin-right: 12px;
}

a.tnl:hover[href^="/"] {
	color:#fff;background:#123456;text-decoration:none;padding:3px
}

a.tnl[href^="https"] {
    background: none;
}

a.tnl:hover[href^="https"] {
	color:#fff;background:#123456;text-decoration:none;padding:3px
}

a[href^="rssfeed.xml"] {
    background: url("../img/svg/feed-link.svg") no-repeat 100% 0;
    background-size: 10px 10px;
    padding-right: 12px;
}

#ask-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #EC5800;
  color: #fff;
  font-size: 0.9em;
  text-align: center;
  padding: 0.5em;
  z-index: 1000;

}

#ask-bar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: none;
}

#ask-bar a:hover {
  color: #000000; /* or any hover color you decide later */
}

