/* Mastermind Baja | Buying Guide editorial layout */
.mc-buyer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.82fr) minmax(320px, 1fr);
    align-items: start;
    gap: clamp(28px, 3.5vw, 55px);
    width: min(100% - 72px, 1360px);
    margin-inline: auto;
    padding: 75px 0 85px;
}

.mc-buyer-layout *,
.mc-buyer-layout *::before,
.mc-buyer-layout *::after {
    box-sizing: border-box;
}

.mc-buyer-layout__guide,
.mc-buyer-layout__sidebar {
    min-width: 0;
}

.mc-buyer-layout .mc-buying-guide {
    --mc-gold: #C49A42;
    --mc-ink: #171717;
    width: 100%;
    padding: 0;
    color: var(--mc-ink);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

.mc-buying-guide__considerations {
    margin-bottom: 48px;
}

.mc-buying-guide__considerations-title,
.mc-buying-guide__title {
    margin: 0 0 12px;
    color: #161616;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(29px, 2.5vw, 39px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.mc-buying-guide__accent {
    width: 58px;
    height: 2px;
    margin: 0 0 22px;
    background: var(--mc-gold);
}

.mc-buying-guide__considerations p,
.mc-buying-guide__description {
    margin: 0;
    color: #38342e;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
}

.mc-buying-guide__consideration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.mc-buying-guide__consideration {
    min-width: 0;
}

.mc-buying-guide__consideration + .mc-buying-guide__consideration {
    padding-left: 26px;
    border-left: 1px solid rgba(196, 154, 66, .48);
}

.mc-buying-guide__consideration h3 {
    margin: 0 0 13px;
    color: #181818;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(20px, 1.55vw, 25px);
    font-weight: 400;
    line-height: 1.25;
}

.mc-buying-guide__intro {
    margin-bottom: 22px;
}

.mc-buying-guide__intro .mc-buying-guide__accent {
    margin-bottom: 13px;
}

.mc-buying-guide__list {
    display: grid;
    gap: 8px;
}

.mc-buying-guide__item {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(196, 154, 66, .72);
    border-radius: 6px;
    background: #FFFCF7;
}

.mc-buying-guide__item[open] {
    border-color: #C49A42;
    box-shadow: 0 6px 24px rgba(38, 30, 12, .06);
}

.mc-buying-guide__trigger {
    display: flex;
    align-items: center;
    gap: 17px;
    width: 100%;
    min-height: 57px;
    padding: 13px 20px;
    cursor: pointer;
    list-style: none;
}

.mc-buying-guide__trigger::-webkit-details-marker {
    display: none;
}

.mc-buying-guide__number {
    flex: 0 0 30px;
    color: #AF8128;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
}

.mc-buying-guide__label {
    flex: 1;
    color: #202020;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.mc-buying-guide__toggle {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.mc-buying-guide__toggle::before,
.mc-buying-guide__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #B1832E;
    transform: translate(-50%, -50%);
}

.mc-buying-guide__toggle::before {
    width: 14px;
    height: 1.5px;
}

.mc-buying-guide__toggle::after {
    width: 1.5px;
    height: 14px;
}

.mc-buying-guide__item[open] .mc-buying-guide__toggle::after {
    display: none;
}

.mc-buying-guide__panel {
    padding: 0 24px 27px 67px;
}

.mc-buying-guide__divider {
    height: 1px;
    margin-bottom: 22px;
    background: rgba(196, 154, 66, .28);
}

.mc-buying-guide__panel h3 {
    margin: 23px 0 10px;
    color: #242424;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.mc-buying-guide__panel p {
    margin: 0 0 15px;
    color: #393939;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
}

.mc-buying-guide__panel ul,
.mc-buying-guide__panel ol {
    margin: 10px 0 21px;
    padding-left: 22px;
    color: #393939;
}

.mc-buying-guide__panel li {
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
}

.mc-buying-guide__panel li::marker {
    color: #B1832E;
}

.mc-buying-guide__trigger:hover .mc-buying-guide__label {
    color: #97701E;
}

.mc-buying-guide__trigger:focus-visible {
    outline: 2px solid #C49A42;
    outline-offset: -4px;
}

/* Buyer inquiry: subtle contrast with warm cream guide */
.mc-buyer-layout .mb-contact--sidebar .mb-contact__sidebar-card {
    padding: clamp(25px, 2.4vw, 36px);
    border: 1px solid #C49A42;
    border-radius: 8px;
    background: #FFFDF9;
}

.mc-buyer-layout .mb-contact--sidebar .mb-contact__eyebrow {
    justify-content: center;
    gap: 13px;
    margin-bottom: 16px;
}

.mc-buyer-layout .mb-contact--sidebar .mb-contact__eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #C49A42;
}

.mc-buyer-layout .mb-contact--sidebar h2 {
    margin: 0 auto 16px;
    max-width: 310px;
    color: #151515;
    font-size: clamp(28px, 2.4vw, 37px);
    line-height: 1.18;
    text-align: center;
}

.mc-buyer-layout .mb-contact__sidebar-intro {
    margin-bottom: 26px;
    color: #38342e;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.mc-buyer-layout .mb-contact--sidebar .mb-contact__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mc-buyer-layout .mb-contact--sidebar .mb-contact__form {
    gap: 15px;
}

.mc-buyer-layout .mb-contact--sidebar .mb-contact__field input,
.mc-buyer-layout .mb-contact--sidebar .mb-contact__field textarea {
    background: #FFFFFF;
}

.mc-buyer-layout .mb-contact--sidebar .mb-contact__submit {
    justify-self: stretch;
    min-width: 0;
}

@media (max-width: 1100px) {
    .mc-buyer-layout {
        grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
        width: min(100% - 44px, 1360px);
        gap: 25px;
        padding-block: 60px 70px;
    }

    .mc-buying-guide__consideration-grid {
        gap: 18px;
    }

    .mc-buying-guide__consideration + .mc-buying-guide__consideration {
        padding-left: 18px;
    }

    .mc-buyer-layout .mb-contact--sidebar .mb-contact__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .mc-buyer-layout {
        grid-template-columns: minmax(0, 1fr);
        width: min(100% - 36px, 640px);
        gap: 35px;
        padding-block: 50px 65px;
    }

    .mc-buying-guide__consideration-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 21px;
    }

    .mc-buying-guide__consideration + .mc-buying-guide__consideration {
        padding: 20px 0 0;
        border-top: 1px solid rgba(196, 154, 66, .48);
        border-left: 0;
    }

    .mc-buying-guide__trigger {
        gap: 11px;
        padding: 13px 15px;
    }

    .mc-buying-guide__label {
        font-size: 15px;
    }

    .mc-buying-guide__panel {
        padding: 0 19px 25px;
    }

    .mc-buyer-layout .mb-contact--sidebar .mb-contact__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 410px) {
    .mc-buyer-layout .mb-contact--sidebar .mb-contact__row {
        grid-template-columns: 1fr;
    }
}
