html {
  /* font-size: min(calc(.8em + 1.2dvw), 1.3em); */
  font-size: min(calc(0.5em + 1.2dvw), 1.5em);

  scroll-behavior: smooth;
}

#nav {
  display: none;
}

@media (min-width: 55em) {
  #nav {
    display: block !important;
  }
}

body {
  background-color: #331f17;
}

.breadcrumbs {
  font-size: 0.8rem;
  text-align: right;
  margin-right: 2rem;
}

#little-block {
  display: none;
  position: fixed;
  background-color: #3a2820;
  z-index: 5;
  opacity: 69%;
  padding: 0;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

#little-block.visactive {
  display: block;
}

#wrapper {
  width: min(55rem, 95%);
  margin: 0 auto;
  border-radius: 3em;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  top: 0;
  padding-bottom: 1em;
  margin-right: auto;
  padding-left: 1em;
  padding-top: 2rem;
  width: min(55rem, 95%);
}


header .littlescreen {
  position: sticky;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  top: 0;
}

header .bigscreen {
  height: 4.5rem;
  width: 4.5rem;
  border-radius: 1rem;
  display: none;
}

@media (min-width: 35em) {
  header .bigscreen {
    display: block;
  }
}

@media (min-width: 55em) {
  header .bigscreen {
    display: block;
    width: 7rem;
    height: 7rem;
  }

  header .littlescreen {
    display: none;
  }

  footer ul {
    display: block !important;
  }
}

header img {
  height: clamp(1.1rem, calc(3rem + 1vw), 7rem);
  width: clamp(1.1rem, calc(3rem + 1vw), 7rem);
}


header h1 {
  width: 100%;
  background-color: #3a2820;
  background-image: linear-gradient(45deg, #c24700, #f0610d);
  text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  font-variant: small-caps;
  text-decoration: none;
  font-size: clamp(1.1rem, calc(3rem + 1vw), 2rem);
  vertical-align: middle;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  padding-left: 0;
  padding-right: 1em;
  height: 100%;
}

header a {
  text-decoration: none;
  display: flex;
  vertical-align: middle;
  margin-top: auto;
  margin-bottom: auto;
}

@media (min-width: 35em) {
  header h1 {
    padding-left: 1em;
  }

}


@media (min-width: 70em) {
  #logo {
    font-size: 3.1rem;
  }
}

#page {
  border-radius: 1em;
  background-color: whitesmoke;
  padding-top: 1em;
  padding-bottom: 1em;
  color: #3a2820;
  width: min(95rem, 95%);
  margin-left: auto;
  margin-right: auto;
}




.ribbon.full {
  width: 90%;
}

.ribbon.left {
  border-radius: 1rem 1rem 2rem 1rem;
  padding-left: 1em;
}

.ribbon.right {
  border-radius: 1rem 1rem 1rem 2rem;
  padding-right: 1em;
}

.ribbon {
  padding: 1rem;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 1rem 1rem 1rem 3rem;
  /* background-image: linear-gradient(45deg, #832e04, #f0610d); */
  background-image: linear-gradient(135deg, #ab3f00, #f0610d);

  background-size: cover;
  border: px solid #6f1811;
  color: whitesmoke;
  text-shadow: 0 -1px 0 #6f1811;
}

a,
a:visited {
  color: #be3900;
  font-weight: bold;
}

a:active {
  color: #f0610d;
}

h2.ribbon {
  left: -1rem;
  border-radius: 1rem 1rem 1rem 1rem;
}

h3.ribbon.left {
  left: 1rem;
}

h3.ribbon.right {
  right: -1rem;
}

h4 a {
  color: whitesmoke !important;
}
h1 {
  font-size: 1.7rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.2rem;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

p {
  width: clamp(25ch, 75%, 75ch);
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

#page ul {
  width: clamp(25ch, 75%, 75ch);
  margin-left: auto;
  margin-right: auto;
}

#page ul.inner, #page ol.inner  {
  margin-left: calc((100% - clamp(25ch, 75%, 75ch)) / 2 + 1rem);
  margin-right: calc((100% - clamp(25ch, 75%, 75ch)) / 2 - 1rem);
  padding-left: 1rem;
  padding-right: 1rem;
}

#page ul li, #page ol li {
  margin-bottom: 0.5rem;
}
/*////   - Nav -   ////*/



.littlenav {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #3a2820;
  color: whitesmoke;
  position: absolute;
  left: 0;
  width: clamp(15em, 40%, 20em);
  z-index: 10;
}

#littlecaption img {
  padding-top: 1rem;
  height: 3rem;
  width: 3rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  vertical-align: middle;
  padding-top: 1em;
  padding-left: 2em;
}

#littlecaption {
  padding: 1rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}


#littlecaption.undoer {
  padding-top: 1em;
}


.littlenav h1 {
  display: inline;
  background-image: linear-gradient(45deg, #c24700, #f0610d);
  text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  font-variant: small-caps;
  text-decoration: none;
  padding-left: 1em;
  padding-right: 1em;
  font-size: clamp(.8rem, calc(3rem + 1vw), 2rem);
}

.littlenav img {
  border-radius: .6em;
}

.littlenav a {
  text-decoration: none;
}

.littlenav ul {
  list-style: none;
  flex-direction: row;
  padding-bottom: 0;
  margin-bottom: 0;
}

.littlenav ul li {
  border-top: 1px solid whitesmoke;
}


.littlenav ul li>a {
  display: block;
  font-size: 1.3em;
  padding: 0.8em 1em;
  color: whitesmoke;
  font-weight: normal;
}

.littlenav a.current,
.littlenavnav li:hover>a {
  background: whitesmoke;
  color: #3a2820;
}

.littlenav a.current:hover {
  background: whitesmoke;
  color: #e95d0b;
}

.littlenav.is-open {
  display: flex !important;
  flex-direction: column;
}

#navangle {
  position: fixed;
  /*initial display state*/
  display: none;
  bottom: 0;
  right: 0;
  height: 6em;
  width: 6em;
  z-index: 9;
}

#nav {
  line-height: 100%;
  margin: 0;
  padding-bottom: .5rem;
  text-align: right;
  text-align-last: right;
  display: none;
  padding-right: 1em;
}

#nav li {
  display: inline-block;
  position: relative;
  padding: 0;
  list-style: none;
  z-index: 100;
  margin: 0;
}

/* main level link */
#nav a {
  text-decoration: none;
  font-variant: small-caps;
  font-size: 1rem;
  display: block;
  color: whitesmoke;
  padding: .4rem .6rem;
  border-radius: .5em;
  margin: 0;
}

#nav a:hover {
  background: #000;
  color: #000;
}

/* main level link hover */
#nav li a.current,
#nav li:hover>a {
  background: #e95d0b;
  color: #444;
}


footer {
  padding-right: .3em;
  padding-top: 0;
}

footer ul {
  padding-top: 0;
  margin-top: 0;
}

footer ul {
  float: right;
  font-variant: small-caps;
  display: none;
  padding-right: 1em;
}

footer ul li {
  display: inline;
}

footer nav ul a,
footer ul a:visited {
  text-decoration: none;
  margin: 0 10px;
  color: whitesmoke;
  font-size: .8rem;
}

ol li {
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  width: clamp(25ch, 75%, 75ch);
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

footer li a:hover {
  color: #666666;
  text-decoration: none;
}

footer p {
  font-size: .7rem;
  color: whitesmoke;
  display: inline-block;
  padding-left: 2rem;
}

footer li .current {
  text-decoration: underline !important;
}

/* Hide submenus in footer navigation */
footer nav ul ul {
  display: none !important;
}

/* Contact form styles */
#contact_form_3,
#contact_form_4,
#contact_form_5 {
  position: absolute;
  left: -9999rem;
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  border: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
}

#contact_form input, #contact_form textarea {
  margin-left: 0;
}

/* Tighten spacing for contact form errors */
#contact_form .error-message {
  margin: 0;
  font-size: 0.85rem;
  color: rgb(244, 150, 9);
}

/* Modal system */
#passenger_airbag {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(73, 39, 5);
  opacity: 0.7;
  z-index: 10000;
}

#ack_box {
  position: fixed;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  z-index: 11000;
  min-width: 20rem;
  width: 28rem;
  max-width: 90%;
  padding: 1rem;
  text-align: center;
  display: none;
  font-size: 1rem;
}

#ack_box_content {
  max-height: 20rem;
  overflow-y: auto;
  margin-bottom: 1rem;
}

#ack_box_text {
  font-weight: bold;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #6f3d0a;
  color: #6f3d0a;
  background-image: linear-gradient(180deg, #eed6a2, #ffca66, #eed6a2);
  cursor: pointer;
  text-align: center;
  min-width: 6rem;
  margin: 0 auto;
  display: inline-block;
}

/* Desktop dropdown menu */
#nav ul li:hover > ul {
  display: block;
  z-index: 99999;
}

#nav ul ul {
  display: none;
  margin: 0;
  padding: 0;
  width: auto;
  min-width: 10rem;
  position: absolute;
  left: .5em;
  background: #f56f21;
  z-index: 100;
  border-radius: 0;
  z-index: 99999;
}

#nav ul ul li {
  margin: 0;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid black;
  width: 100%;
}

#nav ul ul a {
  font-size: 100%;
  padding: .3rem !important;
  border-radius: 0;
  color: #000 !important;
  text-decoration: none !important;
  font-variant: normal;
  font-weight: normal;
}

#nav ul ul a:hover {
  font-size: 100%;
  padding: 1rem;
}

#nav ul ul li:first-child > a {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#nav ul ul li:last-child > a {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Mobile submenu toggle button */
.littlenav .submenu-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: whitesmoke;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  z-index: 10;
}

/* Make toggle visible when parent link is current (has whitesmoke background) */
.littlenav a.current .submenu-toggle {
  color: #e95d0b;
}

.plus-icon, .minus-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.minus-icon {
  display: none;
}

/* Mobile submenu styles */
.littlenav ul ul {
  display: none;
}

.littlenav ul ul.active {
  display: block;
  animation: slideDown 0.3s ease forwards;
  padding-left: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
}

.littlenav ul ul a,
.littlenav ul ul.active li > a {
  color: whitesmoke;
}

.littlenav ul li > a:hover {
  color: inherit;
}

.littlenav ul ul a:hover,
.littlenav ul ul.active li > a:hover {
  color: #e95d0b;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.article_permalink {
  background: linear-gradient(90deg, #ab3f00 0%, #be3900 50%, #c24700 100%);
  border: 1px solid #6f1811;
  transition: background 0.2s ease;
  display: block;
  color: whitesmoke !important;
  text-align: center;
  margin-right: 2rem; 
  margin-left: auto;
  margin-bottom: -2rem;
  font-weight: bold;
  font-size: 0.8rem;
  text-decoration: none;
  max-width: fit-content;
  padding: 0.5rem 1rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  clear: both;
}

.article_permalink:hover {
  background: linear-gradient(90deg, #be3900 0%, #c24700 50%, #e95d0b 100%);
  color: #eed6a2 !important;
}

/* Pagination navigation buttons */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.nav-previous,
.nav-next {
  background: linear-gradient(90deg, #ab3f00 0%, #be3900 50%, #c24700 100%);
  border: 1px solid #6f1811;
  transition: background 0.2s ease;
  color: whitesmoke !important;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.5rem 1rem;
  min-width: 6rem;
}

.nav-previous {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.nav-next {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.nav-previous:hover,
.nav-next:hover {
  background: linear-gradient(90deg, #be3900 0%, #c24700 50%, #e95d0b 100%);
  color: #eed6a2 !important;
}

.blogdate {
  font-size: 0.8rem;
  text-align: right;
  margin-left: auto;
  margin-right: 2rem;
  padding-right: 2rem;
  margin-top: -1.5rem;
  font-weight: bold;
}
.blogauthor {
  font-size: 0.8rem;
  text-align: right;
  margin-left: auto;
  margin-right: 2rem;
  padding-right: 2rem;
  font-weight: bold;
  margin-top: -0.2rem;
}

/* Button styling for forms */
.button_image {
  font-weight: bold;
  border-radius: 1rem;
  width: 6rem;
  padding: .1rem .3rem;
  font-size: 1rem;
  border: 1px solid #6f1811;
  color: whitesmoke !important;
  background: linear-gradient(180deg, #ab3f00, #be3900, #c24700);
  cursor: pointer;
  margin: 1rem auto;
  text-align: center;
}

.button_image:hover {
  background: linear-gradient(180deg, #be3900, #c24700, #e95d0b);
}

.button_image a {
  color: whitesmoke !important;
  text-align: center;
  text-decoration: none;
}

/* Layout utilities */
.horizontal_section {
  flex-direction: row;
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 2rem;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.article_image {
  float: right;
  margin: 1rem;
  margin-right: 0;
  border-radius: 0.5rem;
  width: 15rem !important;
}

.article_image.small {
  width: 8rem !important;
  float: left;
  margin-right: 1rem;
}

/* Take Back Your Privacy */
.tbyp li {
  margin-left: 0;
  margin-bottom: 1rem;
}

.tbyp {
  margin: 1rem;
  font-size: em;
}