/* ==========================================================================
   VARIABLES & BASE STYLES
   ========================================================================== */
:root {
  --main-color: #721a1a;
  --neutral-color: #f0f0e5;
  --accent-color: #125769;
  --main-font-color: #323232;
  --font_alternate: #323232;
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--neutral-color);
}

.body-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: 2em;
  margin-right: 2em;
}

.flex-grow-1 {
  flex: 1;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1 {
  font-family: "Lato", sans-serif;
  font-size: 2em;
  font-weight: 400;
  font-style: normal;
  color: var(--main-color);
}

h2 {
  font-family: "Lato", sans-serif;
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  color: var(--main-color);
}

h3 {
  font-family: "Lato", sans-serif;
  font-size: 1.5em;
  font-weight: 400;
  font-style: italic;
  color: var(--main-color);
}

h4 {
  font-size: 1em;
  font-family: "Lato", sans-serif;
  color: var(--main-font-color);
  font-weight: 700;
  font-size: 26px;
}

p {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  word-wrap: normal;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.nav-link {
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-size: 2em;
}

header {
  display: grid;
  grid-template-columns: 1fr 5fr 3fr;
}

.sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--neutral-color);
}

.nav-compartment-1 {
  grid-column: 1;
  grid-row: 1/4;
  align-self: center;
}

.nav-compartment-2 {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-items: center;
}

.nav-compartment-3 {
  align-self: center;
  justify-items: center;
  grid-column: 3;
  grid-row: 2;
}

.nav-compartment-4 {
  align-self: center;
  justify-items: end;
  grid-column: 2;
  grid-row: 3;
}

.nav-compartment-5 {
  height: 50px;
  grid-row: 4;
}

.navbar {
  border-top: 1px solid var(--neutral-color);
  border-bottom: 1px solid var(--neutral-color);
}

.nav-logo {
  width: 150px;
}

.arrow {
  border: var(--main-color) solid 1px;
  width: 100%;
}

/* ==========================================================================
   PAGE ELEMENTS
   ========================================================================== */
.page-root {
  align-items: center;
}

.page-banner {
  width: 80%;
  height: auto;
}

.section-heading {
  margin: 2em 0 1em;
}

.section-heading a {
  text-decoration: none;
}

.section-heading h2 {
  font-size: 1.5em;
  margin: 0;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.rpr-button {
  background-color: var(--accent-color);
  border: none;
  border-radius: 25px;
  padding: 5px 35px;
  color: var(--neutral-color);
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

.rpr-button:hover {
  background-color: var(--main-color);
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  text-decoration: none;
}

.social-icon {
  max-width: 35px;
}

/* ==========================================================================
   CARDS & CONTENT CONTAINERS
   ========================================================================== */
.card {
  background-color: var(--neutral-color);
  align-items: center;
  padding: 1em;
}

.card .rpr-button {
  margin-top: 1em;
}

.card-top {
  margin-top: 5px;
  min-height: 10px;
  width: 90%;
  background-color: var(--main-color);
}

.card-top-small {
  min-height: 5px;
  height: 5px;
  width: 90%;
  background-color: var(--accent-color);
  margin-bottom: 5%;
}

.card-bottom {
  min-height: 10px;
  width: 90%;
  background-color: var(--main-color);
}

.card-bottom-small {
  min-height: 5px;
  height: 5px;
  width: 90%;
  background-color: var(--accent-color);
}

.card-span {
  grid-column: 1/4;
}

.card-1 {
  grid-column: 1;
  align-self: center;
  text-align: justify;
}

.card-2 {
  grid-column: 2;
  text-align: justify;
}

.card-3 {
  grid-column: 3;
  align-self: center;
  text-align: justify;
}

.article {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  display: flex;
  gap: 2em;
  background-color: var(--main-color);
  padding: 2em;
  margin: 1em 0;
  border-radius: 5px;
}

.cta-item {
  flex: 1;
  background-color: var(--neutral-color);
  padding: 1.5em;
  border-radius: 5px;
  border: 3px solid var(--accent-color);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-item h2 {
  margin-top: 0;
}

.cta-item .rpr-button {
  margin-top: auto;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */
.card-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.video-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.image-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Media Grids */
.media-grid {
  display: grid;
  gap: 1.5em;
  width: 100%;
}

.video-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
}

.image-grid {
  grid-template-columns: repeat(4, 1fr);
}

.media-item {
  background-color: var(--neutral-color);
  padding: 1em;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

/* ==========================================================================
   MEDIA & IMAGES
   ========================================================================== */
.bio-image {
  width: 100%;
  height: 300px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.bio-image-small,
.bio-image-main {
  width: 100%;
  height: 300px;
  display: block;
  margin: 10px auto;
  object-fit: contain;
}

/* Video responsiveness */
.responsive-iframe {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 1em;
}

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

.sale {
  color: var(--main-color);
  font-size: larger;
  border: solid var(--accent-color) 2px;
  padding: 2%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sticky-footer {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: var(--neutral-color);
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-social {
  display: flex;
  flex-direction: row;
}

.footer-links > :first-child {
  justify-self: start;
}

.footer-links > :nth-child(2) {
  justify-self: center;
}

.footer-links > :nth-child(2) a {
  margin: 10px;
}

.footer-links > :last-child {
  justify-self: end;
}

.footer-information a {
  text-decoration: none;
  color: var(--accent-color);
  font-size: large;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media only screen and (max-width: 992px) {
  /* Large Tablets & Small Desktops */
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  /* Tablets */
  .cta-section {
    flex-direction: column;
  }
  
  .card-container,
  .video-container,
  .image-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .video-grid, 
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 480px) {
  /* Phones */
  h1 {
    font-size: 1.5em;
  }
  
  h2 {
    font-size: 1em;
  }
  
  h3 {
    font-size: 1em;
  }
  
  h4 {
    font-size: 0.5em;
  }
  
  .nav-link {
    font-size: 1em;
  }
  
  .card-container,
  .video-container,
  .image-container {
    grid-template-columns: 1fr;
  }
  
  .video-grid, 
  .image-grid {
    grid-template-columns: 1fr;
  }
}