/*
 Theme Name: Twenty Twenty-Five Child
 Theme URI: http://m3designs.info
 Description: A child theme of Twenty Twenty-Five
 Author: Michael
 Author URI: http://m3designs.info
 Template: twentytwentyfive
 Version: 1.0
*/

/* Import parent theme styles */
@import url("../twentytwentyfive/style.css");

/* Add your custom styles below this line */
/* =========================================
   SERVICES dropdown (Details block)
   Add class "services-toggle" to the block
   ========================================= */

.wp-block-details.services-toggle {
  max-width: 960px;
  margin: 0 auto 2rem;
  border: none;
  padding: 0;
}

/* Title row (SERVICES) */
.wp-block-details.services-toggle summary {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

/* Hide default triangle marker */
.wp-block-details.services-toggle summary::-webkit-details-marker {
  display: none;
}

/* Plus / minus icon */
.wp-block-details.services-toggle summary::after {
  content: "＋";
  font-weight: 400;
}

.wp-block-details.services-toggle[open] summary::after {
  content: "–";
}

/* Animated content area */
.wp-block-details.services-toggle > *:not(summary) {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Adjust duration for smoother effects */
}

/* When open, expand smoothly */
.wp-block-details.services-toggle[open] > *:not(summary) {
  max-height: 2000px; /* This value can be adjusted based on expected content height */
}

/* Optional: visible keyboard focus */
.wp-block-details.services-toggle summary:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* ==== DROPDOWN / ACCORDION BLOCK ==== */

.dropdown {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  border-bottom: 1px solid #ddd;
}

/* Header button */
.dropdown__header {
  width: 100%;
  padding: 0.75rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Remove default button styles where needed */
.dropdown__header:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Plus / minus icon */
.dropdown__icon::before {
  content: "＋";
  font-weight: 400;
}

/* When open, show minus */
.dropdown.is-open .dropdown__icon::before {
  content: "–";
}

/* Wrapper that we animate open/closed */
.dropdown__content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Smooth transition for dropdown content */
}

/* Inner content spacing */
.dropdown__content {
  padding: 0 0 0.75rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Optional: small screen tweaks */
@media (max-width: 600px) {
  .dropdown__header {
    font-size: 1.4rem;
  }
}.services {
    font-family: Arial, sans-serif; /* Set a clean, sophisticated font */
    max-width: 800px; /* Limit the width for better readability */
    margin: 2rem auto; /* Center align the section */
    padding: 1.5rem; /* Add padding around the content */
    background-color: #ffffff; /* White background */
    border-radius: 8px; /* Smooth rounded corners */
}

.services h1 {
    font-size: 2.5rem; /* Font size for the heading */
    font-weight: 700; /* Make the heading bold */
    margin-bottom: 1.5rem; /* Space below the heading */
    color: #333; /* Darker color for the heading */
    text-align: center; /* Center align heading */
}

.services ul {
    list-style: none; /* Remove default bullet points */
    padding: 0; /* Remove default padding */
}

.services li {
    font-size: 1.25rem; /* Font size for the list items */
    line-height: 1.6; /* Increase line height for readability */
    margin-bottom: 0.5rem; /* Space between list items */
    position: relative; /* For positioning the bullet */
    padding-left: 1.5rem; /* Space for the bullet */
}

/* Use the bullet character instead of a checkmark */
.services li::before {
    content: "•"; /* Using a bullet character */
    position: absolute; /* Position it to the left of the list item */
    left: 0; /* Align with the left edge */
    color: #28a745; /* Change color to a sophisticated shade, e.g., green */
    font-size: 1.5rem; /* Size of the bullet */
    line-height: 1.5; /* Align bullet with text */
}