/* ===============================
   Services Page
   =============================== */

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  width: 100%;
  margin-bottom: 40px;
}

.services-list {
  width: 100%;
}

.services-item {
  width: 100%;
}

.services-title {
  font-family: "Magda", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  flex: 1;
}

.read-more {
  font-family: "Magda_Light", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.services-item.active .read-more {
  opacity: 1;
  pointer-events: auto;
}

.services-arrow {
  transition: transform 0.25s ease;
}

.services-item.active .services-arrow {
  transform: rotate(90deg);
}

.services-content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0px;
  transition: gap 0.3s ease;
}

.services-item.active .services-content {
  gap: 40px;
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;

  max-height: 0;
  opacity: 0;

  transition:
    max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}

.services-item.active .services-inner {
  max-height: 2000px;
  opacity: 1;
}

.services-right img {
  width: 100%;
}

.services-sub {
  font-family: Magda, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  opacity: 1;
}

/* small description under title */
.services-desc {
  font-family: Magda_Light, sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  opacity: 0.6;
  margin-bottom: 70px;
}

.services-list-text-mini {
  font-family: Magda_Light, sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.5rem);
  padding-left: 0px;
  margin-bottom: 70px;
}

/* list */
.services-list-text {
  padding-left: 0;
  margin-bottom: 40px;
}

.services-list-text li {
  margin-bottom: 6px;
  font-family: Magda_Light, sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.4rem);
  letter-spacing: -0.5px;
}

/* numbered version only */
ol.services-list-text {
  font-size: clamp(1.1rem, 1.1vw, 2rem);
  list-style: none;
  counter-reset: item;
}

ol.services-list-text li {
  counter-increment: item;
  margin-left: clamp(10px, 3vw, 30px);
}

ol.services-list-text li::before {
  content: counter(item) ". ";
  margin-right: 6px;
}

/* dotted version only */
ul.services-list-text.dots {
  list-style: disc;
  margin-left: clamp(10px, 3vw, 30px);
}

ul.services-list-text.dots li {
  margin-left: 0;
}

ul.services-list-text.dots li::before {
  content: none;
}


/* after text */
.services-after {
  font-family: Magda_Light, sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  opacity: 0.6;
  margin-bottom: 40px;
}

.services-text {
  font-family: Magda_Light, sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  margin-bottom: 20px;
  opacity: 0.8;
}

.services-meta {
  display: flex;
  flex-direction: column;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  opacity: 0.7;
  display: flex;
  gap: 10px;
  margin-top: 50px;
  padding-bottom: 50px;
  word-spacing: 0.03em;
}

.services-figure {
  margin: 0;
}

.services-figure img {
  width: 100%;
  display: block;
}

.services-figure figcaption {
  font-family: Magda_Light, sans-serif;
  font-size: 0.8rem;
  margin-top: 10px;
  opacity: 0.7;
}

.meta-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 8px;
  background: #6c665d; /* adjust to your theme */
  color: #ffffff;
  font-family: "Magda_Light", sans-serif;
  font-size: clamp(0.8rem, 0.9vw, 1.2rem);
  opacity: 1;
  border-radius: 3px;
}

.services-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services-item.active .services-divider {
  opacity: 1;
}

/* --------------------------------------------------
   Crazy Crazing Article
-------------------------------------------------- */

.services-page {
  padding-top: 250px;
  width: 100%;
}

.breadcrumb-services {
  font-family: "Magda", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.8px;
  margin-bottom: clamp(60px, 10vh, 100px);
  text-align: left;
  width: 100%;
  user-select: none;
}

.breadcrumb-services {
  color: var(--text);
  text-align: left; /* force left alignment */
  width: 100%; /* take full width */
  display: block; /* ensure block-level */
}

.breadcrumb-services a {
  color: var(--text);
  text-decoration: none;
}

.breadcrumb-services a:hover {
  text-decoration: underline;
}

.breadcrumb-services span {
  font-weight: bold;
}

.blog-title-sub {
  font-family: "Magda", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.8px;
  margin-bottom: clamp(60px, 10vh, 100px);
  text-align: left;
  max-width: 2000px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.services-article {
  font-family: Magda_Light, sans-serif;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  word-spacing: 0.05em;
  opacity: 0.8;
  line-height: 1.4;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  margin-bottom: 60px;
}

.services-title-mini {
  font-family: Magda_Light, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2px;
  text-align: left;
}

.services-sub-mini {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 20px;
  opacity: 0.8;
  text-align: left;
}

.services-quote {
  font-family: "Magda", sans-serif;
  text-align: center;
  font-style: italic;
  margin: 40px auto;
  max-width: 800px;
}

.services-divider-mini {
  border-bottom: 1px solid var(--border);
  margin: 20px 0 30px;
}

.services-content p {
  line-height: 1.7;
}

.services-image {
  margin: 40px 0;
  text-align: center;
}

.services-image img {
  max-width: 520px;
  width: 100%;
}

.services-image figcaption {
  margin-top: 8px;
  font-size: 1rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .services-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-right {
    order: 2;
    margin-bottom: 40px;
  }

  .services-left {
    order: 1;
  }

  services-right {
    margin-bottom: 100px;
  }

  .services-list-text li {
  margin-left: 10px;
}
}
