/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */ 

blockquote {

    background: #FAF9F9;
    border-left: 4px solid #c21820;
    padding: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ==========================================================================
   Contact Form 7 - King's Award Pathway Guide Styling
   ========================================================================== */

/* Form Container Wrappers */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Labels */
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* Input Fields & Select Dropdowns */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #F9FAFB;
  color: #111111;
  transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus {
  outline: none;
  border-color: #C21820;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(194, 24, 32, 0.1);
}

/* Submit Button */
input.wpcf7-form-control.wpcf7-submit.btn-submit {
  background-color: #C21820;
  color: #FFFFFF;
  width: 100%;
  border: none;
  padding: 15px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: block;
  text-align: center;
}

input.wpcf7-form-control.wpcf7-submit.btn-submit:hover {
  background-color: #A01218;
}

input.wpcf7-form-control.wpcf7-submit.btn-submit:active {
  transform: translateY(1px);
}

/* CF7 Validation & Alert Messages Styling */
.wpcf7-not-valid-tip {
  color: #C21820;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border: 1px solid #C21820;
  background-color: #FFF5F5;
  color: #7F1D1D;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  margin: 15px 0 0 0;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #10B981;
  background-color: #ECFDF5;
  color: #065F46;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  margin: 15px 0 0 0;
}

/* Hide default CF7 spinner icon if desired, or align it nicely */
.wpcf7-spinner {
  display: none !important;
}

/* ==========================================================================
   Beaver Builder - Recommended Column / Card Styling (Flush Fix)
   ========================================================================== */

/* 1. Force outer column to allow overflowing elements (for the badge) */
div.fl-col.recommended {
  overflow: visible !important;
  position: relative !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2. Target the inner content box where the white background lives and force flush borders */
div.fl-col.recommended > .fl-col-content {
  position: relative !important;
  overflow: visible !important;
  border: 2px solid #C21820 !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 30px rgba(194, 24, 32, 0.1) !important;
  margin: 20px 10px 0 10px !important; /* Prevents outer column padding from creating a white margin gap */
}

/* 3. Dynamically inject "RECOMMENDED" badge flush on top of the inner white box */
div.fl-col.recommended > .fl-col-content::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C21820;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 99;
  white-space: nowrap;
}

/* 4. Style the button inside the Recommended column */
div.fl-col.recommended .fl-button,
div.fl-col.recommended .btn-card {
  background-color: #C21820 !important;
  border-color: #C21820 !important;
  color: #FFFFFF !important;
}

div.fl-col.recommended .fl-button:hover,
div.fl-col.recommended .btn-card:hover {
  background-color: #A01218 !important;
}

/* ==========================================================================
   Results Page - Case Studies Accordion Styling
   ========================================================================== */

/* Main Container */
.case-container {
  max-width: 900px;
  margin: 40px auto 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

/* Accordion Outer Box */
.case-container details {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.case-container details[open] {
  border-color: #C21820;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Summary Header Bar */
.case-container summary {
  padding: 24px 30px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-container summary::-webkit-details-marker {
  display: none;
}

.case-container summary::after {
  content: "+";
  font-size: 26px;
  color: #C21820;
  font-weight: 400;
  margin-left: 15px;
  line-height: 1;
}

.case-container details[open] summary::after {
  content: "−";
}

/* Title & Teaser Formatting */
.case-container .summary-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: #111111;
  text-transform: uppercase;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.case-container .summary-teaser {
  font-size: 15px;
  color: #C21820;
  font-weight: 600;
  line-height: 1.4;
}

/* Expanded Content Area */
.case-container .case-content {
  padding: 0 30px 30px 30px;
  border-top: 1px solid #E5E7EB;
  margin-top: 10px;
  background: #FFFFFF;
}

/* 3-Column Grid for Challenge / Approach / Result */
.case-container .details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 25px 0;
  background: #F9FAFB;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #F3F4F6;
}

.case-container .detail-box h5 {
  margin: 0 0 6px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #C21820;
  letter-spacing: 0.5px;
}

.case-container .detail-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4B5563;
}

/* Quote Box Styling */
.case-container blockquote {
  margin: 25px 0;
  padding: 15px 20px;
  border-left: 3px solid #C21820;
  background: #FFF5F5;
  font-style: italic;
  color: #1F2937;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 0 4px 4px 0;
}

/* Call to Action Button */
.case-container .btn-call {
  display: inline-block;
  background: #111111;
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 12px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
  margin-top: 5px;
}

.case-container .btn-call:hover {
  background: #C21820;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .case-container summary {
    padding: 18px 20px;
  }
  .case-container .case-content {
    padding: 0 20px 20px 20px;
  }
  .case-container .details-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer Random Testimonial Widget Styling
   ========================================================================== */

.footer-quote-widget {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.handwritten-quote {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #111111;
  margin: 0 0 12px 0;
  padding: 0 20px;
  position: relative;
  display: inline-block;
  border: none;
  background: transparent;
}

/* Chunky Quote Marks */
.chunky-quote {
  font-family: 'Oswald', Georgia, serif;
  font-size: 50px;
  font-weight: 700;
  color: #C21820;
  line-height: 0;
  vertical-align: -15px;
  display: inline-block;
}

.chunky-quote.opening {
  margin-right: 4px;
}

.chunky-quote.closing {
  margin-left: 4px;
}
/* ==========================================================================
   Footer Random Testimonial Widget (Red Background Variant)
   ========================================================================== */

.footer-quote-widget {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Main Handwritten Text (Pure White) */
.handwritten-quote {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF !important;
  margin: 0 0 12px 0;
  padding: 0 20px;
  position: relative;
  display: inline-block;
  border: none;
  background: transparent;
}

/* Chunky Quote Marks (Dark Charcoal Contrast) */
.chunky-quote {
  font-family: 'Oswald', Georgia, serif;
  font-size: 50px;
  font-weight: 700;
  color: #ffffff;
  line-height: 0;
  vertical-align: -15px;
  display: inline-block;
}

.chunky-quote.opening {
  margin-right: 4px;
}

.chunky-quote.closing {
  margin-left: 4px;
}

/* Client Attribution (Pure White) */
.quote-author {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF !important;
  font-style: normal;
  opacity: 0.95;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .handwritten-quote {
    font-size: 22px;
  }
  .chunky-quote {
    font-size: 38px;
  }
}

#menu-item-41 {background:#c00;}

#menu-item-41 a {color:#fff;}

.package_text {min-height:200px;}

.fl-node-6137c482jbde, .fl-node-x694v3hpoayd {position:relative;}

.fl-node-plr3mq9nfzsg, .fl-node-c63kd9nwuhia {position:absolute;bottom:0;width:92%;}
