.dm-groups {
    padding: clamp(2rem, 6vw, 5rem) 5%;
}

.dm-groups--create .dm-group-hero {
    max-width: 66rem;
    margin: 0 auto clamp(1.75rem, 4vw, 3rem);
    color: #f2e4d5;
}

.dm-group-hero__eyebrow {
    margin: 0 0 .85rem;
    color: #e9a054;
    font: 600 .78rem/1.4 "Manrope", sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.dm-group-hero h1 {
    max-width: 20ch;
    margin: 0 0 .75rem;
    padding: 0;
    color: #fff0df;
    font: 500 clamp(2.45rem, 6vw, 5rem)/1.04 "Cormorant Garamond", Georgia, serif;
}

.dm-group-hero h1 em {
    color: #efc798;
    font-weight: inherit;
}

.dm-group-hero p:last-child {
    max-width: 52ch;
    margin: 0;
    font: 400 clamp(1rem, 1.5vw, 1.15rem)/1.65 "Maname", Georgia, serif;
}

.dm-group-panel {
    max-width: 66rem;
    margin: 0 auto 1.5rem;
    padding: clamp(1.15rem, 3vw, 2rem);
    border: 1px solid #82592f;
    border-radius: 1rem;
    background: #161e17;
    color: #fff0df;
}

.dm-group-panel h1,
.dm-group-panel h2,
.dm-group-panel h3,
.dm-group-panel a {
    color: #ffd3a0;
}

.dm-group-panel .dm-group-hero--panel h1 {
    max-width: none;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    overflow-wrap: anywhere;
}

.dm-group-share {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #82592f;
}

.dm-group-share input {
    margin-bottom: .5rem;
}

.dm-group-share [data-dm-feedback]:empty {
    display: none;
}

.dm-group-contributions {
    margin: 1.5rem 0;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid #82592f;
    border-radius: .85rem;
    background: #101510;
}

.dm-group-panel .dm-group-contributions ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-group-contributions li,
.dm-group-contributions ol + p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .25rem 1rem;
    padding: .65rem 0;
}

.dm-group-contributions li {
    border-bottom: 1px solid #82592f70;
}

.dm-group-contributions ol + p {
    padding-bottom: 0;
    color: #ffd3a0;
}

.dm-group-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
}

.dm-group-panel label {
    display: block;
}

.dm-group-panel :is(input:not([type="checkbox"]), select, textarea) {
    display: block;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: .5rem;
    color: #fff0df;
    background: #101510;
    border: 1px solid #a37b55;
    border-radius: .4rem;
    font-size: 1rem;
    color-scheme: dark;
}

#page-container .dm-groups .dm-group-panel :is(input:not([type="checkbox"]), select, textarea):is(:focus, :autofill) {
    color: #fff0df !important;
    -webkit-text-fill-color: #fff0df !important;
    caret-color: #fff0df;
    background-color: #101510;
}

#page-container .dm-groups .dm-group-panel :is(input, select, textarea):-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #101510 inset;
}

.dm-group-form .dm-group-consent,
.dm-group-form ul {
    grid-column: 1 / -1;
}

.dm-group-rules {
    color: #ffd3a0;
    font-weight: 600;
}

.dm-group-recovery {
    margin: 1rem 0 0;
}

.dm-group-panel :is(button:not([hidden]), .dm-group-button) {
    display: inline-block;
    width: fit-content;
    min-height: 44px;
    box-sizing: border-box;
    margin: .3rem 0;
    padding: .55rem 1.15rem;
    border: 1px solid #c99967;
    border-radius: 1rem;
    color: #fff0df;
    background: linear-gradient(135deg, #754820, #473220);
    text-align: center;
    cursor: pointer;
}

.dm-group-panel :is(input, button, select, textarea, a):focus-visible {
    outline: 2px solid #ffd3a0;
    outline-offset: 2px;
}

.dm-group-panel progress {
    width: 100%;
    accent-color: #d8a16d;
}

.dm-group-checkout .woocommerce-shipping-fields {
    display: none !important;
}
