/*
Theme Name: The Days of Knights
Theme URI: https://yourdomain.com/
Author: Andrea Masters
Author URI: https://yourdomain.com/
Description: A Bootstrap-based fantasy theme for The Days of Knights.
Version: 1.0
Tags: bootstrap, fantasy, dark, responsive
*/

/* Root
-------------------------------------------------------------------*/
:root {
    --white: #FFF;
    --dark-tan: #4d3c1a;
    --light-tan: #E3CAA0;
    --lighter-tan: #E9DFCD;
    --black: #1F2024;

    --brand-dark: #BFB699;
    --brand-medium: #d3cfde;
    --brand-light: #fff0bf;
    --brand-bright: #88EDF6;
    --brand-accent: #00712f;
    --brand-accent-alt: #6FC3CA;
    --ff-accent:  "Cinzel", Sans-serif;
    --ff-default: "Playfair Display", Sans-serif;
    --light-grey: #e7e5ed;
    --medium-grey: #aaa;
    --dark-grey: #5c5c5c;
    --red: #700800;
}

/* Backgrounds
-------------------------------------------------------------------*/
.bg-white {background-color: var(--white);}
.bg-black, .bg-brand-black {background-color: var(--black) !important;}
.bg-brand-dark {background-color: var(--brand-dark);}
.bg-brand-medium {background-color: var(--brand-medium);}
.bg-brand-light {background-color: var(--brand-light);}
.bg-brand-bright {background-color: var(--brand-bright);}
.bg-brand-accent {background-color: var(--brand-accent);}
.bg-brand-accent-alt {background-color: var(--brand-accent-alt);}
.bg-light-grey {background-color: var(--light-grey);}
.bg-medium-grey {background-color: var(--medium-grey);}
.bg-dark-grey {background-color: var(--dark-grey);}
.bg-testimonials {background-size: cover; background-repeat: no-repeat; background-position: center center;}

/* Text Colors
-------------------------------------------------------------------*/
.text-white, .white {color: var(--white);}
.text-black {color: var(--black);}
.text-dark-tan { color: var(--dark-tan); }
.text-light-tan { color: var(--light-tan); }
.text-lighter-tan { color: var(--lighter-tan); }
.text-brand-medium {color: var(--brand-medium);}
.text-brand-light {color: var(--brand-light);}
.text-brand-bright {color: var(--brand-bright);}
.text-brand-accent, .text-accent {color: var(--brand-accent);}
.text-brand-accent-alt {color: var(--brand-accent-alt);}
.text-light-grey { color: var(--light-grey);}
.text-medium-grey {color: var(--medium-grey);}
.text-dark-grey {color: var(--dark-grey);}
.page-sections-formatting.bg-brand-dark,
.page-sections-formatting.bg-brand-bright {color: var(--white) !important;}

html, body {
  overflow-x: hidden;
  background:#1F2024;
}

/*Padding*/
.py-100{
    padding:100px 0 ;
}
.py-200{
    padding:200px 0 ;
}

/*Fonts*/
.cinzel {
    font-family: var(--ff-accent);
}
.playfair, h5.playfair {
    font-family: var(--ff-default);
}

/*Page Titles*/
.title-divider {
  font-family: var(--ff-accent);
  font-size: 28px;
  color: #f4ecd7;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}

.title-divider::before,
.title-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25%;
  height: 1px;
  background: radial-gradient(circle, #f4ecd7 0%, transparent 70%);
  opacity: 0.3;
}

.title-divider::before {
  left: 0;
}

.title-divider::after {
  right: 0;
}

/*Fonts and text*/
body {
    font-family: var(--ff-default);
    font-weight: 400;
    font-size: 18px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-accent);
}
h1 {
    font-size: 70px;
}
@media (max-width: 767px) {
h1 {
    font-size: 50px;
}
}
h2 {
    font-size: 50px !important;
}
@media (max-width: 767px) {
h2 {
    font-size: 40px;
}
}
.highlight-text {
  font-size: 25px;
  margin: 0;
  color: var(--brand-tan);
  text-shadow: 1px 1px 3px #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*Logo & Navigation*/
.navbar-brand {
    font-family: var(--ff-accent);
    font-size: 28px;
    font-weight: 400;
}

/*Buttons & Links*/
a {
    color: var(--light-tan);
    text-decoration: none;
}
@media screen and (max-width: 768px) {
 .next-prev a{
     font-size:15px;
 }   
}
a.custom-btn, button.custom-btn {
    font-family: var(--ff-default);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    fill: #E3CAA0;
    color: #E3CAA0 !important;
    border-style: solid;
    border-width: 2px;
    border-color: #a58453;
    border-radius: 0;
    padding: 10px 20px;
    margin: 10px 0;
}
a.custom-btn:hover,
a.custom-btn:focus,
a.custom-btn:active,
a.custom-btn:focus-visible,
button.custom-btn:hover,
button.custom-btn:focus,
button.custom-btn:active,
button.custom-btn:focus-visible{
    background-color: #a58453;
    color: #1F2024 !important;
    fill: #1F2024;
    border-color: #E3CAA0;
    outline: none;
    text-decoration: none;
}

a.custom-btn-accent, 
button.custom-btn-accent{
    background-color: #4d3c1a;
    font-family: var(--ff-default) !important;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    fill: #E3CAA0;
    color: #E3CAA0 !important;
    border-style: solid;
    border-width: 2px;
    border-color: #a58453;
    border-radius: 0;
    padding: 10px 20px;
    margin: 10px 0;
}
a.custom-btn-accent:hover,
a.custom-btn-accent:focus,
a.custom-btn-accent:active,
a.custom-btn-accent:focus-visible,
button.custom-btn-accent:hover,
button.custom-btn-accent:focus,
button.custom-btn-accent:active,
button.custom-btn-accent:focus-visible{
    background-color: #a58453;
    color: #1F2024 !important;
    fill: #1F2024;
    border-color: #E3CAA0;
    text-decoration: none;
    outline: none;
}
.modal-content .custom-btn,
.modal-content button.custom-btn {
  font-family: var(--ff-default);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
background-color: #a58453 !important;
    color: #1F2024 !important;
    fill: #1F2024;
    border-color: #E3CAA0;
    outline: none;
    text-decoration: none;
  border: 2px solid #a58453;
  border-radius: 0;
  padding: 10px 20px;
  margin: 10px 0;
  width: 100%; /* optional — match input width */
  display: inline-block;
}

.modal-content .custom-btn:hover,
.modal-content .custom-btn:focus,
.modal-content .custom-btn:active,
.modal-content .custom-btn:focus-visible {
  background-color: #a58453 !important;
  color: #1F2024 !important;
  fill: #1F2024;
  border-color: #E3CAA0;
  outline: none;
  text-decoration: none;
}

/*Images*/
.aligncenter {
    clear: both;
    margin: 0 auto;
    display: block;
}
/*Navigation*/
.navbar-toggler{
    border:none !important;
}
.offcanvas{
    background: url(https://thedaysofknightssaga.com/wp-content/themes/the-days-of-knights/assets/images/mapline-bg.jpg);
    background-size:cover;
}
ul#menu-main-menu {
    margin-bottom:40px !important;
}
#menu-main-menu li{
    padding:20px;
    text-align:center;
}

/*Hero*/
  .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 1;
  }
.fog-video-bg {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Lower this for subtle effect */
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.8) blur(1px); /* optional softness */
}
h1.hero-text {
   font-size: 105px;
   line-height: 1;
   margin-bottom: 0;
	font-family:var(--ff-accent);
}
@media (max-width: 991px) {
  h1.hero-text {
    font-size: 60px !important;
    line-height: 50px;
  }
	span.hero-second {
    font-size: 50px !important;
}
}
.hero-second {
    font-size: 60px !important;
    margin-top: -15px;
    line-height: 90px;
}
p.hero-p {
    font-size: 22px;
    line-height: 22px;
    margin: 0;
}
.the, .of {
    font-size: 60px;
}
.countdown {
    display: row;
    justify-content: center;
    gap: 2rem;
    margin: 0rem 0 !important;
}
.the, .of {
    font-size: 30px;
    line-height: 25px;
}
.coming-soon #mlb2-27079688.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent.horozintalForm {
    margin: 0;
    padding: 0 0 0px 0 !important;
}
#mlb2-27079688.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent, #mlb2-27079688.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent {
    text-align: left;
    margin: 0 0 0px 0 !important;
}
#mlb2-27079688.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-formContent.horozintalForm
.ml-form-horizontalRow
.horizontal-fields {
    margin-bottom: 0 !important;
    width: 100% !important;
}

#mlb2-27079688.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-formContent.horozintalForm {
    padding: 0 !important;
}

#mlb2-27079688.ml-form-embedContainer
.ml-form-embedWrapper
.ml-form-embedBody
.ml-form-formContent.horozintalForm
.ml-form-horizontalRow input {
    border-width: 2px !important;
}
}

/*Shape Dividers*/
.shape-top,
.shape-bottom {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
  z-index: 1;
}
.shape-top svg,
.shape-bottom svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100px;
}
.shape-bottom svg {
  transform: rotate(180deg);
}
.shape-top .shape-fill,
.shape-bottom .shape-fill {
  fill: var(--black);
}

/*Meet The Knights*/
.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: 0;
    right: auto;
    background: var(--dark-tan);
    color: #fff;
    padding: 40px;
    opacity: .7;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev{
    right:0px;
    background: var(--dark-tan);
    color: #fff;
    padding: 40px;
    opacity: .7;
}

/* Overlay Fix for Quiz Section */
.quiz-section {
  position: relative;
  overflow: hidden;
}
.quiz-overlay {
  position: absolute;
  inset: 0;
  background-color: #030000;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
.quiz-section .container {
  position: relative;
  z-index: 2;
}

/*The Quote*/
blockquote {
    font-size: 36px !important;
    font-style: italic;
    margin-bottom:0 !important;
}

/*Swiper*/
.knight-slide {
  overflow: hidden;
}
.knight-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 10px 10px;
  text-align: center;
  z-index: 2;
}

/* Chronicles */
ul.tab-buttons {
  list-style-type: none;
  padding-left: 0;
}
.tab-buttons li{
    margin:0 10px 30px 10px;
}
.tab-buttons {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}
.btn:hover {
    color: #f4ecd7 !important;
    border-color: transparent !important;
}

/* Inactive Tab Buttons */
.tab-buttons button {
  background: linear-gradient(to bottom, #3a2e24, #261f18);
  color: #f4ecd7;
  font-family: var(--ff-default);
  font-size: 21px;
  font-weight: 400;
  text-transform: uppercase;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border: 2px solid #3a2e24;
  border-radius: 30px;
  margin: 0 10px;
  cursor: pointer;
  position: relative;
  box-shadow: inset 0 0 5px #1e1a14;
  transition: all 0.3s ease;
}

.tab-buttons button::before,
.tab-buttons button::after {
  content: '';
  position: absolute;
  top: 19px;
  bottom: -14px;
  width: 18px;
  height: 18px;
  background: linear-gradient(to bottom, #3a2e24, #261f18);
  border-bottom: 2px solid #3a2e24;
  border-right: 2px solid #3a2e24;
  z-index: -1;
}

.tab-buttons button::before {
  left: -8px;
  transform: rotate(45deg);
}

.tab-buttons button::after {
  right: -8px;
  transform: rotate(-45deg);
}

/* Active Tab Button */
.tab-buttons button.active {
  background: linear-gradient(to bottom, #c09b5d, #916e30);
  color: #fff;
  border-color: #c09b5d;
  box-shadow: inset 0 0 6px #b79a6b, 0 2px 6px rgba(0, 0, 0, 0.3);
}

.tab-buttons button.active::before,
.tab-buttons button.active::after {
  background:linear-gradient(to bottom, #c09b5d, #916e30);
  border-color: #9f8259;
}

.accordion-button.tab-style {
    position: relative;
    z-index: 2;
    overflow: visible;
    background: linear-gradient(to bottom, #3a2e24, #261f18);
    color: #f4ecd7;
    font-family: var(--ff-default);
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.8rem 2.5rem;
    border: 2px solid #3a2e24;
    border-radius: 30px;
    margin: 0 auto;
    cursor: pointer;
    box-shadow: inset 0 0 5px #1e1a14;
    transition: all 0.3s ease;
    margin-bottom:10px;
    display:block;
    text-align:center;
  }

  .accordion-button.tab-style::before,
  .accordion-button.tab-style::after {
    content: '';
    position: absolute;
    top: 15px;
    width: 18px;
    height: 18px;
    background: linear-gradient(to bottom, #3a2e24, #261f18);
    border-bottom: 2px solid #3a2e24;
    border-right: 2px solid #3a2e24;
    z-index: 3;
    display: block;
  }

  .accordion-button.tab-style::before {
    left: -8px;
    transform: rotate(45deg);
  }

  .accordion-button.tab-style::after {
    right: -8px;
    transform: rotate(-45deg);
  }

  .accordion-button.tab-style:not(.collapsed) {
    background: linear-gradient(to bottom, #c09b5d, #916e30);
    color: #fff;
    border-color: #c09b5d;
    box-shadow: inset 0 0 6px #b79a6b, 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  .accordion-button.tab-style:not(.collapsed)::before,
  .accordion-button.tab-style:not(.collapsed)::after {
    background: linear-gradient(to bottom, #c09b5d, #916e30);
    border-color: #9f8259;
  }

  .accordion-item:first-of-type > .accordion-header .accordion-button {
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
  }

  .accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
  }

  .accordion-button:focus {
    box-shadow: none;
  }
@media (max-width: 767px) {
  .accordion-button.tab-style {
    position: relative;
    z-index: 2;
    overflow: visible;
    background: linear-gradient(to bottom, #3a2e24, #261f18);
    color: #f4ecd7;
    font-family: var(--ff-default);
    font-size: 21px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.8rem 2.5rem;
    border: 2px solid #3a2e24;
    border-radius: 30px;
    margin: 0 auto;
    cursor: pointer;
    box-shadow: inset 0 0 5px #1e1a14;
    transition: all 0.3s ease;
    width: fit-content;
    margin-bottom:10px;
  }
  .page-template-page-codex-php .accordion-button.tab-style {
   display: block;
   width:100%;
   font-size:16px;
  }
.codex-sidebar a.nav-link {
    padding:0 !important;
}
  .accordion-button.tab-style::before,
  .accordion-button.tab-style::after {
    content: '';
    position: absolute;
    top: 19px;
    width: 18px;
    height: 18px;
    background: linear-gradient(to bottom, #3a2e24, #261f18);
    border-bottom: 2px solid #3a2e24;
    border-right: 2px solid #3a2e24;
    z-index: 3;
    display: block;
  }

  .accordion-button.tab-style::before {
    left: -8px;
    transform: rotate(45deg);
  }

  .accordion-button.tab-style::after {
    right: -8px;
    transform: rotate(-45deg);
  }

  .accordion-button.tab-style:not(.collapsed) {
    background: linear-gradient(to bottom, #c09b5d, #916e30);
    color: #fff;
    border-color: #c09b5d;
    box-shadow: inset 0 0 6px #b79a6b, 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  .accordion-button.tab-style:not(.collapsed)::before,
  .accordion-button.tab-style:not(.collapsed)::after {
    background: linear-gradient(to bottom, #c09b5d, #916e30);
    border-color: #9f8259;
  }

  .accordion-item:first-of-type > .accordion-header .accordion-button {
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
  }

  .accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
  }

  .accordion-button:focus {
    box-shadow: none;
  }

  .book-card {
    margin-top: -51px !important;
    padding-top: 40px !important;
  }
  h2 {
    font-size: 35px !important;
}
}

/* Tab Content Container */
.tab-content {
  display: none;
}
.tab-content:first-child {
  display: block;
}

.book-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  color: #2D1E07;
  background: url(https://thedaysofknightssaga.com/wp-content/uploads/2025/06/paper-texture.jpg);
  background-size: cover;
  background-position: top center;
  padding: 20px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
  border: 3px solid #8a6e46 !important;
  border-radius: 8px;
    margin-top: -78px;
    padding-top: 65px;
}

.book-cover img {
  max-width: 180px;
  height: auto;
  border: 3px solid #4d3c1a;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
@media (max-width: 767px) {
.book-cover img {
  max-width: 100%;
}
.book-card {
 text-align:center;   
}
}
.book-info {
  flex: 1;
}

.book-info h3 {
  font-size: 24px;
  margin-bottom: 0.5rem;
  font-family: "Cinzel Decorative", serif;
}

.book-info .subtitle {
  font-style: italic;
  color: #f4ecd7;
  margin-bottom: 1rem;
}

.book-info .description {
  font-size: 16px;
  color: #1F2024;
}

.book-info .btn {
  margin-top: 1.5rem;
}

/*Forms*/
.form-control {
    display: block;
    width: 100%;
    padding: .625rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: #525560;
    border-color: #a58453;
    border-width: 2px 0px 2px 2px;
    border-radius: 0px 0px 0px 0px;
}
.contact-page .form-control, .form-select{
    border-width: 2px !important;
        display: block;
    width: 100%;
    padding: .625rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: #525560;
    border-color: #a58453;
     border-radius: 0px 0px 0px 0px;
}
.form-check-input:checked {
    background-color: var(--dark-tan) !important;
    border-color: var(--dark-tan) !important;
}
.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(77, 60, 26, .25) !important;
}
  .form-control::placeholder,  select.form-select:invalid {
    color: #c0b5a0;
    opacity: 1;
  }
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('/wp-content/themes/the-days-of-knights/assets/images/arrow.png');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}
@media (max-width: 576px) {
  .form-inline-mobile {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .form-inline-mobile input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
  }

  .form-inline-mobile button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

#mlb2-27079688.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input{
    border-width: 2px 0px 2px 2px !important;
}
#mlb2-27079688.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button{
    background-color: #4d3c1a !important;
    font-family: var(--ff-default) !important !important;
    font-size: 16px !important;
    font-weight: 50 !important0;
    text-transform: uppercase !important;
    fill: #E3CAA0 !important;
    color: #E3CAA0 !important;
    border-style: solid !important;
    border-width: 2px !important;
    border-color: #a58453 !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
    margin: 10px 0 !important;
    height: 48px !important;
}
#mlb2-27079688.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody, #mlb2-27079688.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody{
    padding:0 !important;
}
.ml-form-formContent.horozintalForm .ml-form-horizontalRow .horizontal-fields {
    padding-right: 0px !important;
}
.post-password-form{
    text-align:center;
}
.post-password-form input[submit]{
    background-color: #a58453 !important;
  color: #1F2024 !important;
  fill: #1F2024 !important;
  border-color: #E3CAA0 !important;
  outline: none !important;
  text-decoration: none !important;
  border: 1px solid !important;
  padding: 4px 15px !important;
}
/*Single Knight*/
.knight-profile h2 {
    font-size: 25px !important;
    text-transform: uppercase;
    font-style: italic;
}
.knight-profile blockquote {
    font-size: 30px !important;
    font-style: italic;
    margin-bottom: 0 !important;
}

.knight-portrait {
    max-width: 100%;
    height: auto;
}
.knight-sigil {
  height: 100px;
  width: auto;
}

.sigil-line {
  height: 2px;
  background-color: #e3caa0;
}
@media screen and (max-width: 768px) {
.sigil-line {
     width:80% !important; 
     margin:0 auto;
}
.knight-about{
    text-align:center;
}
.knight-profile .d-flex {
    display: block !important;
    text-align: center;
}
}

/*The Book*/
.book-badge {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-default);
  background: linear-gradient(to bottom, #c09b5d, #916e30);
  color: #fff;
  border-color: #c09b5d !important;
  box-shadow: inset 0 0 6px #b79a6b, 0 2px 6px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  padding: 0.8rem 1.5rem;
  border: 2px solid #3a2e24;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.book-archive-card .book-badge {
    top: -20px;
}

/*Audiobook*/
.wp-playlist-tracks {
    margin-top: 0px !important;
}
.wp-playlist{
    margin:0 !important;
}
.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}   
.wp-playlist-item-length {
    right: 15px !important;
    top:25% !important;
}    
.wp-playlist-light {
    background: transparent !important;
    color: inherit;
}
.wp-playlist {
    border: 0px solid #ccc !important;
    padding: 0 !important;
}
.wp-playlist-current-item, .wp-playlist-item-artist{
    display:none;
}
.wp-playlist-item-title {
    font-size: 19px !important;
}
.wp-playlist-light .wp-playlist-playing {
    background: rgba(255, 255, 255, .10) !important;
    color: #fff !important;
}
.wp-playlist-item.wp-playlist-playing > a > span.wp-playlist-item-title{
    color: #fff !important;
}
.wp-playlist-light .wp-playlist-caption {
    color: rgba(255, 255, 255, .5) !important;
    padding: 16px;
}
.wp-playlist-light {
    color: rgba(255, 255, 255, .5) !important;
}
.wp-playlist-item{
    border:0 !important;
}
/* Kill the "1. " that WP inserts before the title */
.wp-playlist .wp-playlist-caption { font-size: 0; line-height: 1.2; }
.wp-playlist .wp-playlist-caption .wp-playlist-item-title { font-size: 1rem; } /* restore text */

/* Merchandise*/


/* Single Product Page*/
.woocommerce-page .parchment-text, .woocommerce-page .parchment-text .p-5, .woocommerce-page .lead{
    background:none!important;
    border:none!important;
    box-shadow:none!important;
    padding:0!important;
    font-size: 18px!important;
}
/* Product image */
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    width: 100%;
}
/* Anchor the trigger to the gallery wrapper that your template outputs */
.product-profile .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery {
  position: relative;
}

/* Put the button on the top-right of the image area */
.product-profile .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 99;
  text-indent: -9999px; /* hide the emoji text/image */
  box-shadow: 0 2px 4px rgba(0,0,0,.25);
}

/* Hide Woo’s emoji image inside the trigger */
.product-profile .woocommerce-product-gallery .woocommerce-product-gallery__trigger img {
  display: none;
}

/* Draw the magnifying glass */
.product-profile .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid #000;
  border-radius: 50%;
}
.product-profile .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  width: 2px;
  height: 8px;
  background: #000;
  transform: rotate(-45deg);
  border-radius: 2px;
}

.woocommerce div.product div.images .flex-control-thumbs{
    margin-top:20px;
}

/*Thumbnail Gallery*/
/* Thumbs slider */
.woocommerce div.product .thumbs-slider { position: relative; }

.woocommerce div.product .flex-control-thumbs{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2.25rem 6px 0.5rem; /* room for arrows */
  -ms-overflow-style: none;  /* hide scrollbar on Win */
  scrollbar-width: none;     /* Firefox */
}
.woocommerce div.product .flex-control-thumbs::-webkit-scrollbar { display: none; }

.woocommerce div.product .flex-control-thumbs li{
  flex: 0 0 auto;
  width: 100px;              /* your thumb size */
  scroll-snap-align: start;
}
.woocommerce div.product .flex-control-thumbs img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Arrow buttons */
.thumbs-slider {
  position: relative;
}

.thumbs-prev,
.thumbs-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}
.thumbs-prev { left: -16px; }
.thumbs-next { right: -16px; }

/* Right Column */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price{
    font-size:43px;
    color:white;
}
.product-long-description{
    color: var(--lighter-tan);
}
.product-long-description h4{
    font-size:1.5em;
}
.product-question{
    padding:20px;
    border-left:3px solid #a58453;
}

/*Select*/
table {
    width: 100%;
}
tbody, td, tfoot, th, thead, tr {
 display: block;   
}
label {
    display: inline-block;
    margin-bottom: .5em;
}
select {
    word-wrap: normal;
    background-color: #525560 !important;
    color: #E3CAA0;
    border-color: #a58453;
    border-radius: 0px;
    border-style: solid;
    border-width: 2px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 10px 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1em;
}
.quantity{
    margin-bottom: 2em;
}
.quantity:before {
  content: "Quantity";
  display: inline-block;
  color: #fff; /* match your gold theme */
  font-family: 'Playfair Display', serif;
  font-weight:bold;
}
.reset_variations{
    display:none;
}

/*Buttons*/
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover {
    background-color: #7f54b3;
    color: #fff;
    background-color: #4d3c1a !important;
    border-color: #4d3c1a;
    border-style: solid;
    border-width: 2px;
    border-radius: 0px;
    box-shadow: none;
    color: #E3CAA0 !important;
    cursor: pointer;
    font-family: 'Playfair Display', sans-serif;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 20px;
    margin: 0 !important;
    padding: 10px !important;
    width: 100%;
    height: auto;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt
 {
    background-color: #7f54b3;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    background-color: #4d3c1a !important;
    border-color: #4d3c1a;
    border-style: solid;
    border-width: 2px;
    border-radius: 0px;
    box-shadow: none;
    color: #E3CAA0 !important;
    cursor: pointer;
    font-family: 'Playfair Display', sans-serif;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 20px;
    margin: 0 !important;
    padding: 10px !important;
    width: 100%;
    height: auto;
}
.woocommerce-variation-add-to-cart{
    margin-bottom: .7em;
}
.woocommerce-tabs{
    display:none;
}
/*Footer*/
  .footer-overlay {
    position: relative;
    color: #fff;
    overflow: hidden;
  }
  .footer-overlay::before {
    content: "";
    background-image: url('https://thedaysofknightssaga.com/wp-content/uploads/2025/06/queen-sigil-300x300.png');
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .footer-content {
    position: relative;
    z-index: 1;
    margin: 100px auto 30px;
  }
/**/
.quote{
    text-align: center;
    font-size: 25px;
    margin: 50px 0;
}
.wp-caption-text{
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 15px;
}

/*The Saga*/
.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--light-tan);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--light-tan);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right::before {
  left: -10px;
}

.timeline-date {
  background:  var(--dark-tan);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: bold;
  
  font-family:var(--ff-accent);
}

.timeline-content {
  padding: 1rem;
  background-image: url('https://thedaysofknightssaga.com/wp-content/themes/the-days-of-knights/assets/images/preview.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
  border: 2px solid #a1864e;
  box-shadow: 0 0 30px rgba(0,0,0,0.8) !important;
  color: #2c1e13;
}

.timeline-content h4 {
  margin-top: 0;
  color:  var(--dark-tan); /* darker purple */
}
.upcoming .bg-parchment a {
    color: #E3CAA0 !important;
}
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 1rem;
    margin-bottom: 2rem;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item::before {
    left: 0;
    top: 20px;
  }
}

.upcoming .book-badge{
    top:-20px;
}

/*Which Knight*/
#knight-quiz-form {
  position: relative;
  min-height: 300px; /* Adjust based on question content */
}
.quiz-question {
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/*Preview*/
.modal-content.bg-dark.text-dark {
  background-image: url('https://thedaysofknightssaga.com/wp-content/themes/the-days-of-knights/assets/images/preview.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top right;
  border: 2px solid #a1864e;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  color: #2c1e13;
}

.modal-content.bg-dark .form-label,
.modal-content.bg-dark input,
.modal-content.bg-dark button,
.modal-content.bg-dark .modal-title {
  color: #2c1e13;
}

.modal-content.bg-dark input,
.modal-content.bg-dark button {
  background-color: rgba(255,255,255,0.85);
}
.modal-lg, .modal-xl {
        --bs-modal-width: 500px;
}

/*Blog*/
.card{
    border-radius:0 !important;
}
.parchment-text {
  background-image: url('https://thedaysofknightssaga.com/wp-content/themes/the-days-of-knights/assets/images/preview.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top right;
  border: 2px solid #a1864e;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  color: #2c1e13;
}
.bg-parchment {
  background-image: url('https://thedaysofknightssaga.com/wp-content/themes/the-days-of-knights/assets/images/preview.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
  border: 2px solid #a1864e;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  color: #2c1e13;
}
.bg-parchment a{
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}
.card-body a.custom-btn, .card-body button.custom-btn{
    font-family: var(--ff-default);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #a58453 !important;
    color: #1F2024 !important;
    fill: #1F2024;
    border-color: #E3CAA0;
    outline: none;
    text-decoration: none;
    border: 2px solid #a58453;
    border-radius: 0;
    padding: 10px 20px;
    margin: 10px 0;
    display: inline-block;
}
.card-body a.custom-btn-accent:hover,
.card-body a.custom-btn-accent:focus,
.card-body a.custom-btn-accent:active,
.card-body a.custom-btn-accent:focus-visible {
    background-color: #a58453;
    color: #1F2024 !important;
    fill: #1F2024;
    border-color: #E3CAA0;
    text-decoration: none;
    outline: none;
}
.lore-badge{
    font-size:31px;
}

/*Coming Soon*/  
body.coming-soon-page footer {
  display: none !important;
}
.countdown {
  display: flex;
  flex-wrap: nowrap !important;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 576px) {
  .countdown {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 1rem;
  }

.countdown-unit {
  flex: 1 1 auto;
  text-align: center;
  min-width: 60px;
}

.countdown-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #f2e3c6;
  display: block;
  text-shadow: 0 0 6px rgba(255, 235, 180, 0.4);
}

.countdown-label {
  font-size: 0.65rem;
  letter-spacing:

}
.w-25{
    width:100% !important;
}
}
  
  /*Cookie*/
.cookie-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.cookie-popup-overlay.show {
  display: flex;
}

.cookie-popup-content {
  max-width: 100%;
  width: 100%;
  max-width: 600px;
}
.cookie-popup-content button.custom-btn {
  color: #4d3c1a !important;
}