/* ---------- Shared: Buyer Guide / Seller Guide ---------- */
.guide-hero {
  padding: 128px 64px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.guide-hero__title {
  max-width: 896px;
  font-size: 48px;
  margin-bottom: 32px;
}

.guide-hero__lead {
  max-width: 768px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.625;
  color: var(--color-text-body);
  margin-bottom: 32px;
}
.gulde-seller-btn{
      margin-top: 0px !important;
    margin-bottom: 32px !important;
}
.guide-hero__image {
  width: 100%;
  max-width: 1152px;
  height: 560px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0px 10px 20px rgba(106, 111, 73, 0.08);
}

.guide-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: 0;
    width: 1px;
    height:65%;
    background: rgba(82, 87, 51, 0.7);
    transform: translate(-50% , -50%);
}

@media (max-width: 900px) {
  .guide-hero {
    padding: 56px 24px;
  }

  .guide-hero__image {
    height: 300px;
  }
}

/* Plan Highlight (image + heading + text + link; buyer guide) */
.guide-plan-highlight {
  padding: 0px 64px;
  background: #F3ECE3;
}

article:has(section.guide-split-hero) .inner-div {
  max-width: 1152px !important;
}

article:has(section.guide-split-hero) .broker-cta {
  background-color: #F3ECE3;
}

.guide-plan-highlight__inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  display: flex;
  overflow: hidden;
}

.guide-plan-highlight__image {
  flex: 0 0 50%;
}

.guide-plan-highlight__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 56 / 33;
}

.guide-plan-highlight__body {
  flex: 1;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.guide-plan-highlight__body h2 {
  color: var(--color-olive);
  font-size: 34px;
  line-height: 1.3;
}

.guide-plan-highlight__body p {
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 1.625;
}

.guide-plan-highlight__link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.7px;
}

@media (max-width: 900px) {
  .guide-plan-highlight {
    padding: 56px 24px;
  }

  .guide-plan-highlight__inner {
    flex-direction: column;
  }

  .guide-plan-highlight__image {
    flex: none;
    height: 260px;
  }

  .guide-plan-highlight__body {
    padding: 32px 24px;
  }
}

/* Bento-grid methodology (seller guide) */
.methodology-bento {
  padding: 120px 64px;
  background: var(--color-bg);
}

.methodology-bento__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  max-width: 1152px;
  margin: 0 auto;
}

.methodology-bento__intro h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.methodology-bento__intro p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.625;
}

.methodology-bento__steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 77px 48px;
}

h2.grid-head.mobile {
  font-size: 24px;
  line-height: 60px;
  font-weight: 400;
  text-align: center;
  color: #201B12;
  display: none;
}

h2.grid-head.desktop {
  font-size: 24px;
  line-height: 60px;
  font-weight: 400;
  text-align: center;
  color: #201B12;
}

.methodology-bento__steps::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-olive-dark);
  transform: translateX(-50%);
}

.bento-step {
  background: var(--color-bg-alt);
  border: 1px solid rgba(200, 199, 186, 0.3);
  padding: 41px;
}



.bento-step img {
  width: 20px;
  height: 20px;
  margin-bottom: 16px;
}

.bento-step h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 8px;
}

.bento-step p {
  font-size: 16px;
  line-height: 1.625;
  color: var(--color-text-body);
}

@media (max-width: 900px) {
  .methodology-bento {
    padding: 0px 24px 56px 24px;
  }

  .methodology-bento__inner {
    grid-template-columns: 1fr;
  }

  .methodology-bento__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-hero__lead {
    margin-bottom: 32px;
  }

  .methodology-bento__steps::before {
    display: none;
  }

  .bento-step {
    padding: 24px;
  }

  .bento-step:nth-child(2),
  .bento-step:nth-child(4) {
    margin-top: 0;
  }

  h2.grid-head.mobile {
    display: block;
  }

  h2.grid-head.desktop {
    display: none;
  }
}

/* Editorial timeline methodology (buyer guide) */
.methodology-editorial {
  padding: 120px 64px 0 64px;
  background: #F3ECE3;
}

.methodology-editorial__head {
  text-align: center;
  margin-bottom: 96px;
}

.methodology-editorial__head h2 {
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 24px;
}

.methodology-editorial__head hr {
  width: 64px;
  height: 1px;
  background: var(--color-olive-dark);
  border: none;
  margin: 0 auto;
}

.editorial-timeline {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.editorial-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(82, 87, 51, 0.2);
  transform: translateX(-50%);
}

.editorial-phase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.editorial-phase__text {
  padding: 0 48px;
}

.editorial-phase:nth-child(odd) .editorial-phase__text {
  grid-column: 2;
}

.editorial-phase:nth-child(odd) .editorial-phase__image {
  grid-column: 1;
  grid-row: 1;
}

.editorial-phase:nth-child(even) .editorial-phase__text {
  grid-column: 1;
}

.editorial-phase:nth-child(even) .editorial-phase__image {
  grid-column: 2;
  grid-row: 1;
}

.editorial-phase__eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-olive-dark);
  opacity: 0.6;
  margin-bottom: 16px;
  display: block;
}

.editorial-phase__text h3 {
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 7px;
}

.editorial-phase__text p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.625;
  color: var(--color-text-body);
}

.editorial-phase__image {
  overflow: hidden;
  margin-top: 40px;
}

.editorial-phase__image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 463 / 530;
  border-radius: 60px 0px 60px 0px;
}

.editorial-phase:nth-child(even) .editorial-phase__text {
  display: flex;
  flex-direction: column;
}

.editorial-phase:nth-child(even) .editorial-phase__image {
  order: -1;
  display: flex;
  margin-top: 0;
  margin-bottom: 40px;
}

.editorial-phase:nth-child(even) {
  margin-top: -20%;
}

.editorial-phase:last-child {
  margin-top: -10%;
}

@media (max-width: 900px) {
  .methodology-editorial {
    padding: 56px 24px;
  }

  .methodology-editorial__head {
    margin-bottom: 48px;
  }

  .editorial-timeline::before {
    display: none;
  }

  .editorial-phase,
  .editorial-phase:nth-child(odd),
  .editorial-phase:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .editorial-phase:nth-child(odd) .editorial-phase__text,
  .editorial-phase:nth-child(even) .editorial-phase__text,
  .editorial-phase:nth-child(odd) .editorial-phase__image,
  .editorial-phase:nth-child(even) .editorial-phase__image {
    grid-column: 1;
  }

  .editorial-phase__text {
    padding: 0;
  }

  .editorial-phase__image {
    height: 260px;
  }
}

/* Expert CTA (photo + heading + button) */
.expert-cta {
  background: #F3ECE3;
  padding: 128px 64px;
}

.expert-cta__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  max-width: 1152px;
  margin: 0 auto;
  align-items: center;
}

.expert-cta__photo {
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0px 10px 20px rgba(106, 111, 73, 0.08);
}

.expert-cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-cta__content {
  padding-left: 48px;
}

.expert-cta__content h2 {
  font-size: 48px;
  margin-bottom: 32px;
}

.expert-cta__content p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.625;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 584px;
}

.expert-cta__btn {
  display: inline-flex;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.ag-hero-copy h1 {
  font-weight: 600;
  font-size: 56px;
  line-height: 1.1;
  color: #201b12;
  margin: 0 0 24px;
}

.ag-hero-copy h1 em {
  font-style: italic;
  color: rgba(140, 58, 36, .8);
}
.editorial-timeline .editorial-phase:nth-child(2) .editorial-phase__image img{
    border-radius: 0px 60px !important;
}
.editorial-timeline .editorial-phase:last-child .editorial-phase__image img{
    border-radius: 0px 60px !important;
}
@media (max-width: 900px) {
  .expert-cta {
    padding: 56px 24px;
  }

  .expert-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .expert-cta__content {
    padding-left: 0;
  }

  .expert-cta__content h2 {
    font-size: 36px;
  }
   .editorial-timeline::after{
  display: none;
  }
}

@media(max-width: 767px) {
  .guide-hero {
    padding: 48px 20px;
  }

  .guide-hero__title {
    font-weight: 600;
    font-size: 28px;
    line-height: 33px;
    margin-bottom: 16px;
  }

  .guide-hero__lead {
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
  }

  .guide-hero__lead {
    margin-bottom: 16px;
  }

  .guide-hero__image {
    height: auto;
  }

  .guide-hero__image img {
    height: 170px;
  }

  .methodology-bento {
    padding: 0px 20px 48px 20px;
  }

  .methodology-bento .methodology-bento__inner:first-child {
    display: none !important;
  }

  .methodology-bento__intro h2 {
    font-size: 22px !important;
    margin-bottom: 16px;
    line-height: 28px !important;
    font-weight: 600;
  }

  .methodology-bento__intro p {
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
  }

  h2.grid-head.mobile {
    font-size: 24px !important;
    line-height: 30px !important;
  }

  .methodology-bento__steps {
    gap: 20px;
  }

  .bento-step p {
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
  }

  .bento-step img {
    margin-bottom: 24px;
  }

  .bento-step h3 {
    margin-bottom: 16px;
  }

  .expert-cta {
    padding: 48px 20px;
  }

  .expert-cta__inner {
    gap: 20px;
  }

  .expert-cta__content h2 {
    font-size: 28px !important;
    margin-bottom: 16px;
    line-height: 33px;
    font-weight: 600;
  }

  .expert-cta__content p {
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 16px;
  }

  .expert-cta__photo {
    height: 466px;
  }

  .ag-hero-copy h1 {
    font-weight: 600;
    font-size: 32px !important;
    line-height: 100% !important;
    margin: 0 0 16px;
  }

  .guide-plan-highlight {
    padding: 0px 20px 48px 20px;
  }

  .guide-plan-highlight__body h2 {
    font-size: 23px !important;
    line-height: 30px !important;
    font-weight: 600;
  }

  .guide-plan-highlight__body {
    padding: 29px 14px;
  }

  .guide-plan-highlight__link {
    font-size: 13px;
  }

  .methodology-editorial {
    padding: 0px 24px 48px;
  }

  .methodology-editorial__head h2 {
    font-size: 25px !important;
    margin-bottom: 16px;
  }

  .methodology-editorial__head {
    margin-bottom: 28px;
  }

  .editorial-phase__image {
    height: 240px;
  }

  .editorial-phase:nth-child(odd) .editorial-phase__text .editorial-phase__image {
    margin-bottom: 20px;
  }

  .editorial-phase__text h3 {
    font-weight: 400;
    font-size: 22px;
    line-height: 33px;
  }

  .editorial-phase__text p {
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
  }

  .editorial-timeline {
    gap: 24px;
  }

  .editorial-phase:nth-child(even) .editorial-phase__text .editorial-phase__image {
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .editorial-phase:nth-child(even) {
    margin-top: 0%;
  }

  .editorial-phase:last-child {
    margin-top: 0%;
  }

  .editorial-phase__eyebrow {
    margin-bottom: 8px;
  }
  .editorial-timeline::after{
  display: none;
  }
  .methodology-editorial__head hr {
    width: 100%;
}
}