/* File: custom-elements/cgm-feature-1/cgm-feature-1.css */

.cgm-feature-1-section {
  padding: 100px 0;
  width: 100%;
  position: relative;
  overflow: visible !important;
  z-index: 1;
}

.cgm-feature-1-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  align-items: center;
  gap: 140px;
  position: relative;
  overflow: visible !important;
}

/* --- COLUMNS --- */
.cgm-feat-1-col {
  flex: 1;
  position: relative;
  z-index: 2;
  overflow: visible !important;
}

/* --- THE LIVING AURA BLOBS --- */
.cgm-feat-blobs {
  position: absolute;
  width: 115%;
  height: 115%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  overflow: visible !important;
}

.cgm-f-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  will-change: transform;
  opacity: 0.85;
}

/* Blob 1 (Pink) - TOP LEFT */
.cgm-f-blob-1 {
  width: 60%;
  height: 60%;
  top: -5%;
  left: -5%;
  right: auto;
  background-color: var(--cgm-blob-1);
  animation: cgm-orbit-1 8s infinite alternate ease-in-out;
}

/* Blob 2 (Orange) - BOTTOM RIGHT */
.cgm-f-blob-2 {
  width: 55%;
  height: 55%;
  bottom: -5%;
  right: -5%;
  left: auto;
  background-color: var(--cgm-blob-2);
  animation: cgm-orbit-2 10s infinite alternate ease-in-out;
}

/* Blob 3 (Highlight) - CENTER LEFT */
.cgm-f-blob-3 {
  width: 45%;
  height: 45%;
  top: 10%;
  left: 0%;
  right: auto;
  opacity: 0.6;
  background-color: var(--cgm-blob-3);
  animation: cgm-orbit-3 12s infinite alternate ease-in-out;
}

/* --- CONDITIONAL FLIP LOGIC --- */
.cgm-feature-1-container.img_right .cgm-feat-1-img-col .cgm-f-blob-1 {
  top: -5%;
  right: -5%;
  left: auto;
}
.cgm-feature-1-container.img_right .cgm-feat-1-img-col .cgm-f-blob-2 {
  bottom: -5%;
  left: -5%;
  right: auto;
}
.cgm-feature-1-container.img_right .cgm-feat-1-img-col .cgm-f-blob-3 {
  top: 10%;
  right: 0%;
  left: auto;
}

@keyframes cgm-orbit-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-10%, 10%) scale(1.05);
  }
}
@keyframes cgm-orbit-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(10%, -5%) scale(0.95);
  }
}
@keyframes cgm-orbit-3 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(15%, 10%) rotate(10deg);
  }
}

/* --- IMAGE ARCH MASK --- */
.cgm-arch-mask {
  width: 100%;
  height: 700px;
  border-radius: 300px 300px 20px 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.08);
  background-color: #f0f0f0;
}

.cgm-arch-mask img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
  display: block;
}
.cgm-arch-mask:hover img {
  transform: scale(1.05);
}

/* --- IMAGE FOCUS CLASSES --- */
.cgm-focus-top img {
  object-position: center top !important;
}
.cgm-focus-bottom img {
  object-position: center bottom !important;
}
.cgm-focus-left img {
  object-position: left center !important;
}
.cgm-focus-right img {
  object-position: right center !important;
}
.cgm-focus-center img {
  object-position: center center !important;
}

/* --- TYPOGRAPHY --- */
.cgm-feat-1-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffad4d;
  display: block;
}
.cgm-feat-1-headline {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 30px !important;
  color: inherit;
}
.cgm-feat-1-body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.85;
  color: inherit;
}

/* --- LISTS --- */
.cgm-feat-1-body ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 25px;
  padding-top: 0 !important;
}
.cgm-feat-1-body li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 18px;
  display: block;
}
.cgm-feat-1-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #e68492, #ffad4d);
  border-radius: 50% 40% 60% 40%;
  box-shadow: 0 0 8px rgba(230, 132, 146, 0.8);
}

/* --- BUTTON --- */
.cgm-feat-1-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #2e2e2e;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cgm-feat-1-btn:hover {
  background: #6271a3 !important;
  color: #fff !important;
  transform: translateY(-3px);
}

.cgm-feature-1-container.img_right {
  flex-direction: row-reverse;
}

/* --- MOBILE --- */
@media (max-width: 900px) {
  .cgm-feature-1-section {
    padding: 60px 0;
  }

  .cgm-feature-1-container {
    flex-direction: column !important;
    gap: 40px;
    width: 100%;
    /* FIX: Strict 25px padding to match Hero gutter */
    padding: 0 25px;
  }

  .cgm-arch-mask {
    height: 350px;
  }
  .cgm-feat-blobs {
    width: 120%;
    height: 120%;
    overflow: hidden;
  }
  .cgm-feat-1-headline {
    font-size: 2.2rem !important;
  }
}
