/* company-activity-detail 在 lazyAmazeUi 下补充的首屏增量样式（含布局基础，对齐 company-news-detail） */
body {
    background: #F5F5F7;
}

.am-g {
    margin: 0 auto;
    width: 100%;
}

.am-fl {
    float: left;
}

.am-fr {
    float: right;
}

.am-margin-lg {
    margin: 2.4rem;
}

.am-margin-left-lg {
    margin-left: 2.4rem;
}

.am-margin-right {
    margin-right: 1.6rem;
}

.am-margin-right-lg {
    margin-right: 2.4rem;
}

.am-margin-top-sm {
    margin-top: 1rem;
}

.am-padding-top-xs {
    padding-top: .5rem;
}

#editor {
    max-width: 100%;
    min-height: 120px;
}

h1 {
    font-size: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1.6rem;
}

.am-btn {
    display: inline-block;
    margin-bottom: 0;
    padding: .5em 1em;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    outline: 0;
    user-select: none;
}

.am-btn.am-round {
    border-radius: 1000px;
}

.am-btn-primary {
    color: #fff;
    background: #0DCB67;
    border-color: #0DCB67;
}

.am-btn-default {
    color: #444;
    background-color: #e6e6e6;
    border-color: #e6e6e6;
}

.am-btn-block {
    display: block;
    width: 100%;
}

.am-form-field {
    display: block;
    width: 100%;
    padding: .625em;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
}

.am-form-group {
    margin-bottom: 1.5rem;
}

.am-img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.am-text-bold {
    font-weight: 700;
}

.am-text-center {
    text-align: center;
}

.am-padding-bottom-lg {
    padding-bottom: 2.4rem;
}

.am-breadcrumb {
    padding: .7em 1em;
    margin-bottom: 2rem;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    font-size: 1.4rem;
}

.am-breadcrumb > li {
    display: inline-block;
}

.am-breadcrumb > li + li:before {
    content: "/\00a0";
    padding: 0 8px;
    color: #ccc;
}

.p-icon-a-0011 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
    flex: 0 0 16px;
}

.comment-user-image {
    background: #F5F5F7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.am-modal-dialog {
    position: relative;
    background: #fff;
}

.am-modal-hd {
    font-size: 1.8rem;
}

.am-modal-bd {
    padding: 15px;
}

.activity-overview-card {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #E9E9E9;
    overflow-wrap: break-word;
    word-break: break-word;
}

.activity-overview-head {
    padding: 18px 24px;
    border-bottom: 1px solid #E9E9E9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 24px 8px;
}

.activity-info-item {
    padding: 14px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #ECECF1;
}

.activity-info-k {
    font-size: 1.2rem;
    color: #767676;
    margin-bottom: 6px;
}

.activity-info-v {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1D1D1F;
}

.activity-gallery {
    display: grid;
    gap: 16px;
    padding: 0 24px 24px;
}

.activity-gallery figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E9E9E9;
}

.activity-gallery img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.activity-apply-bar {
    position: sticky;
    bottom: 0;
    z-index: 1;
    padding: 16px 0 8px;
    background: linear-gradient(180deg, rgba(245, 245, 247, 0), #F5F5F7 30%);
}

.activity-apply-btn {
    min-width: 180px;
    min-height: 44px;
    border-radius: 14px;
    background: #0DCB67 !important;
    background-color: #0DCB67 !important;
    color: #fff !important;
    border: none !important;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0 24px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(13, 203, 103, 0.18);
    transition: background-color .2s, box-shadow .2s, transform .2s;
    -webkit-appearance: none;
    appearance: none;
}

.activity-apply-btn--modal {
    flex: 1;
    min-width: 0;
    min-height: auto;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    padding: 14px;
}

.activity-apply-btn:hover,
.activity-apply-btn:focus {
    background: #0BB85E !important;
    background-color: #0BB85E !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(13, 203, 103, 0.22);
    transform: translateY(-1px);
}

#activityApplySubmitBtn.activity-apply-btn:hover,
#activityApplySubmitBtn.activity-apply-btn:focus {
    background: #0BB85E !important;
    background-color: #0BB85E !important;
}

#activity-apply-modal.activity-apply-modal {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box;
    overflow-y: auto;
    text-align: left;
    opacity: 1;
    border-radius: 0;
    -webkit-transform: none !important;
    transform: none !important;
}

#activity-apply-modal.activity-apply-modal.activity-apply-modal--active {
    display: grid !important;
    align-items: center;
    justify-content: center;
}

#activity-apply-modal .activity-modal-dialog {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 auto !important;
    box-sizing: border-box;
    width: calc(100vw - 32px) !important;
    max-width: 560px !important;
    max-height: 92vh;
    overflow-y: auto;
    text-align: left;
}

.activity-modal-title {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #F7FAFC;
    color: #1D1D1F;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
}

#activityApplyForm label {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    color: #1D1D1F;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: left;
}

#activityApplyForm .am-form-group {
    text-align: left;
}

#activity-apply-modal .phone-input-container {
    position: relative;
}

#activity-apply-modal .phone-prefix {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
}

#activity-apply-modal .activity-apply-phone-input {
    width: 100%;
    padding: 12px 12px 12px 88px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

#activityApplyClearBtn:hover {
    background: #f3f4f6;
}

.activity-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.activity-form-actions .am-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
}

.activity-clear-btn {
    background: #F7F7F8;
    border-color: #E2E8F0;
    color: #475569;
}

.activity-apply-btn[disabled] {
    background: #BFBFBF;
    box-shadow: none;
    cursor: not-allowed;
}

.activity-apply-btn[disabled]:hover {
    background: #BFBFBF;
    box-shadow: none;
    transform: none;
}

.activity-list-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #E6F4FF;
    color: #1456b8;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

@media only screen and (min-width: 641px) {
    body .am-container,
    body .am-g-fixed,
    .am-container,
    .am-g-fixed {
        max-width: 1200px !important;
    }

    .am-u-md-4 {
        width: 33.33333333%;
    }

    .am-u-md-8 {
        width: 66.66666667%;
    }

    .am-u-md-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 1025px) {
    .am-u-lg-3 {
        width: 25%;
    }

    .am-u-lg-6 {
        width: 50%;
    }

    .am-u-lg-9 {
        width: 75%;
    }
}

@media (max-width: 720px) {
    .activity-info-grid {
        grid-template-columns: 1fr;
    }

}

