/*
Theme Name: MRCOG Academy
Theme URI: https://mrcogacademy.co.uk
Description: Hello Elementor child theme for the MRCOG Part 3 Intensive Academy landing site. Bundles the brand design system (navy/gold/teal, Cormorant Garamond + Inter), companion styles for the native Elementor template, and importable Elementor templates in /elementor-templates. Requires the free Hello Elementor parent theme.
Author: DocuClin / Newfel
Template: hello-elementor
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mrcog-academy
*/

/* ============================================================
   Companion styles for the native Elementor template (Route A)
   ============================================================ */


/* --- Card polish: border, shadow, hover lift --- */
.mrcog-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 1px 3px rgba(11, 31, 58, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mrcog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.10);
}

/* --- 12-week programme cards --- */
.mrcog-week {
  border: 1px solid rgba(201, 168, 76, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mrcog-week:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.45);
}

/* --- Faculty avatar circles (initials) --- */
.mrcog-avatar .elementor-heading-title {
  width: 72px;
  height: 72px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #0B1F3A;
  border: 2px solid #C9A84C;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- How-it-works step numbers --- */
.mrcog-step-number .elementor-heading-title {
  width: 56px;
  height: 56px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Hero details card list separators --- */
.mrcog-details-list .elementor-icon-list-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding-bottom: 10px;
}
.mrcog-details-list .elementor-icon-list-item:last-child {
  border-bottom: none;
}

/* --- Registration form placeholder (HTML widget) ---
   Remove this block once the HTML widget is replaced with the
   Fluent Forms shortcode; then style via Fluent Forms settings. */
.mrcog-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin: 16px 0 6px;
}
.mrcog-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mrcog-form input,
.mrcog-form select,
.mrcog-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1E293B;
  background: #FFFFFF;
}
.mrcog-form input:focus,
.mrcog-form select:focus,
.mrcog-form textarea:focus {
  outline: none;
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.mrcog-form button {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: #0D9488;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: not-allowed;
  opacity: 0.7;
}
.mrcog-form-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: #94A3B8;
  text-align: center;
}

/* --- Fluent Forms theme match (applies after the swap) --- */
.fluentform .ff-btn-submit {
  background: #0D9488 !important;
  border-color: #0D9488 !important;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.fluentform .ff-el-form-control:focus {
  border-color: #0D9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
}
.fluentform .ff-el-input--label label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .mrcog-card, .mrcog-week {
    transition: none;
  }
  .mrcog-card:hover, .mrcog-week:hover {
    transform: none;
  }
}
