/* Custom Styles for LayerOne Props */

/* Modal Styles – Dark Theme matching color1 (#30363d) */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #30363d;
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s;
  position: relative;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  color: rgba(255, 255, 255, 0.6);
  float: right;
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 10001;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: #ffffff;
}

.modal-body {
  padding: 60px 40px 40px;
  color: #ffffff;
  max-height: 80vh;
  overflow-y: auto;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
}

.modal-body h2 {
  margin-top: 0;
  margin-bottom: 1em;
  color: #ffffff;
  font-weight: 300;
  font-size: 2.25em;
}

.modal-body .content { line-height: 1.65; color: #ffffff; }
.modal-body .content p { margin-bottom: 1.5em; color: #ffffff; }
.modal-body .content strong { color: #ffffff; font-weight: 400; }
.modal-body .content em { font-style: italic; color: rgba(255, 255, 255, 0.75); }
.modal-body .content ol,
.modal-body .content ul { margin-left: 2em; margin-bottom: 1.5em; }
.modal-body .content li { margin-bottom: 0.5em; color: #ffffff; }
.modal-body .content blockquote {
  border-left: 4px solid rgba(255, 255, 255, 0.3);
  padding-left: 1.5em;
  margin: 2em 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.modal-body .content img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

/* Responsive Modal */
@media screen and (max-width: 768px) {
  .modal-content { width: 95%; margin: 5% auto; }
  .modal-body { padding: 50px 20px 20px; }
  .modal-close { right: 10px; top: 5px; font-size: 32px; }
}

/* Banner Logo */
.banner .content .logo {
  max-width: 100%;
  width: auto;
  height: auto;
  margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
  .banner .content .logo { max-width: 80%; }
}