/**
 * Theme Name:     CCA Child Theme 2025
 * Author:         Sol Technology
 * Template:       blankslate
 * Text Domain:	   cca-child-theme-2025
 * Description: Care Coordination Australia child theme for BlankSlate
 * *Version: 1.0.0
 */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
  --brand: #0c6cf2;
  --brand-dark: #084cb0;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #0ea5e9;
  --ring: rgba(12, 108, 242, 0.35);
  --radius: 14px;
}

/* ============================================
   Base Styles
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  line-height: 1.5;
  background: var(--bg);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================
   Container & Layout
   ============================================ */
.container,
.wp-block-group.is-layout-constrained > *,
.entry-content {
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 20px;
}

/* ============================================
   Header & Navigation
   ============================================ */
#header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 30;
}

#nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

#logo {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

#logo::before {
  content: "CCA";
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 14px;
}

#menu-header ul {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu-header a {
  font-weight: 600;
}

#menu-header .btn,
#menu-header a.btn {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff !important;
  display: inline-block;
}

#menu-header .btn:hover,
#menu-header a.btn:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

/* ============================================
   Buttons
   ============================================ */
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 700;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary,
.wp-block-button.is-style-fill .wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn.primary:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.btn.ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--ink);
}

.btn.ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #f1f5f9;
}

/* ============================================
   Typography
   ============================================ */
h1, .h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  margin: 12px 0 10px;
}

h2, .h2 {
  font-size: clamp(22px, 3.4vw, 34px);
  margin: 0 0 12px;
}

h3, .h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.lead,
.wp-block-paragraph.has-large-font-size {
  color: var(--muted);
  max-width: 70ch;
  font-size: 18px;
}

/* ============================================
   Badges
   ============================================ */
.badge a{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #084cb0;
  font-weight: 700;
  font-size: 12px;
}

/* ============================================
   Cards
   ============================================ */
.card,
.wp-block-group.is-style-card,
.wp-block-column {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.05);
}

/* ============================================
   Grid & Columns
   ============================================ */
.grid,
.wp-block-columns {
  display: grid;
  gap: 18px;
}

.cols-2,
.wp-block-columns.is-layout-flex.has-2-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3,
.wp-block-columns.is-layout-flex.has-3-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .cols-2,
  .cols-3,
  .wp-block-columns {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Lists
   ============================================ */
.list,
.entry-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.entry-content ul li {
  margin-bottom: 0;
}

/* ============================================
   Tables
   ============================================ */
table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table th,
.wp-block-table th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
}

table td,
.wp-block-table td {
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
}

/* ============================================
   Forms
   ============================================ */
.wpcf7-form,
.wp-block-contact-form-7 {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.05);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 4px var(--ring);
}

/* ============================================
   Sections
   ============================================ */
section,
.wp-block-group {
  padding: 52px 0;
}

.band,
.wp-block-group.has-background {
  background: linear-gradient(180deg, #fff, #f8fafc);
}

/* ============================================
   FAQ / Accordion
   ============================================ */
.faq details,
details.wp-block-details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.faq summary,
summary.wp-block-details__summary {
  font-weight: 700;
  cursor: pointer;
}

/* ============================================
   Footer
   ============================================ */
#footer {
  border-top: 1px solid #e2e8f0;
  padding: 28px 0;
  color: #64748b;
}

#footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 24px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }
.mb-4 { margin-bottom: 24px; }

/* ============================================
   WordPress Specific
   ============================================ */
.entry-content {
  margin-top: 20px;
}

.entry-header {
  margin-bottom: 30px;
}

.entry-title {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
}

/* Remove default WordPress block margins */
.wp-block-group {
  margin-bottom: 0;
}

/* Alignments */
.alignwide {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  #menu-header ul {
    flex-direction: column;
    align-items: flex-start;
  }

  #nav {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  section,
  .wp-block-group {
    padding: 32px 0;
  }

  .container,
  .entry-content {
    padding: 0 16px;
  }
}

.forminator-ui#forminator-module-1095.forminator-design--default .forminator-button-submit,
.forminator-button-submit {
  background-color: #ef476f !important;
  border-color: #ef476f !important;
  color: #fff !important;
  font-family: "Inter", Sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: none;
  text-decoration: none;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-radius: 999px 999px 999px 999px;
  padding: 12px 32px;
}

.forminator-ui#forminator-module-1095.forminator-design--default .forminator-button-submit:hover,
.forminator-button-submit:hover {
  background-color: rgba(0,0,0,0) !important;
  color: #ef476f !important;
  border-color: #ef476f !important;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px !important;
}
	
#more-reviews {
  background: #ef476f !important;
}
	p strong {
		font-weight: bold;
	}