/* ------------------------------
   GLOBAL WRAPPER
---------------------------------*/
.page-wrapper {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: flex-start;
}

/* Left Content */
.page-content {
  flex: 0 0 65%;
  max-width: 65%;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Right Form */
.page-form {
  flex: 0 0 35%;
  max-width: 35%;
  background: #fffaf9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  top: 20px;
}

/* Titles & Pricing */
.page-content h1 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #222;
}

.page-price {
  font-size: 22px;
  font-weight: 700;
  color: #e63946;
  margin-bottom: 20px;
}

/* Section Headings */
.section-title {
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 10px;
  color: #111;
}

/* Info Meta */
.test-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
  font-size: 14px;
  color: #444;
}
.test-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Paragraphs */
.page-content p {
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ------------------------------
   FORM STYLES
---------------------------------*/
.page-form h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-form input,
.page-form textarea,
.page-form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.page-form button,
.page-form input[type="submit"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  background: #e63946;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.page-form button:hover,
.page-form input[type="submit"]:hover {
  background: #c92d3d;
}

/* ------------------------------
   ARCHIVE PAGES
---------------------------------*/
.archive-title {
  text-align: center;
  font-size: 28px;
  margin: 30px 0;
  font-weight: 600;
  color: #222;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.archive-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  padding: 20px;
  transition: transform 0.2s;
}
.archive-card:hover {
  transform: translateY(-3px);
}

.archive-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.archive-card .price {
  font-size: 18px;
  font-weight: 700;
  color: #e63946;
  margin-bottom: 10px;
}

.archive-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.archive-card .btn-book {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.archive-card .btn-book:hover {
  background: #c92d3d;
}

/* ------------------------------
   RESPONSIVE
---------------------------------*/
@media (max-width: 992px) {
  .page-wrapper {
    flex-direction: column;
  }
  .page-content,
  .page-form {
    max-width: 100%;
    flex: 100%;
  }
  .page-form {
    position: relative;
    top: auto;
  }
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .page-content h1 {
    font-size: 22px;
  }
  .page-price {
    font-size: 18px;
  }
}




/* Remove underline from archive card links */
.archive-card h2 a {
  text-decoration: none;
  color: #000000;
  transition: color 0.3s;
}

.archive-card h2 a:hover {
  color: #e63946; /* red on hover */
  text-decoration: none;
}




/* ------------------------------
   FORM RADIO BUTTONS (Fluent Forms)
---------------------------------*/
.page-form input[type="radio"] {
  -webkit-appearance: none; /* remove default Safari style */
  -moz-appearance: none;
  appearance: none;
  outline: none; /* remove blue outline */
  width: 18px;
  height: 18px;
  border: 2px solid #aaa;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

/* Checked state */
.page-form input[type="radio"]:checked {
  border-color: #e63946;
  background-color: #e63946;
}

.page-form input[type="radio"]:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}

/* Label alignment */
.page-form .ff-el-group.ff-el-form-radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  cursor: pointer;
}



/* Mobile Fix: Form Full Width */
@media (max-width: 992px) {
  .page-wrapper {
    flex-direction: column;
  }

  .page-content,
  .page-form {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .page-form {
    position: relative;
    top: auto;
    margin-top: 20px;
  }
}
