:root {
    --acam-orange: #d95500;
    --acam-orange-dark: #b94600;
    --acam-text: #202020;
    --acam-muted: #666666;
    --acam-border: #e6e6e6;
    --acam-bg: #ffffff;
    --acam-soft: #fff6ef;
}

.acam-wrap,
.acam-public,
.acam-empty {
    box-sizing: border-box;
    font-family: inherit;
}

.acam-wrap *,
.acam-public * {
    box-sizing: border-box;
}

.acam-hero {
    background: var(--acam-orange) !important;
    color: #ffffff !important;
    border-radius: 20px;
    padding: 34px 28px;
    margin: 0 0 24px;
    box-shadow: 0 16px 34px rgba(217, 85, 0, 0.22);
}

.acam-hero .acam-kicker,
.acam-hero h2,
.acam-hero p {
    color: #ffffff !important;
}

.acam-kicker {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 13px;
    line-height: 1;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.12);
}

.acam-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 800;
}

.acam-hero p {
    margin: 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.6;
}

.acam-alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 600;
}

.acam-success {
    background: #edf9ef;
    color: #17682a;
    border: 1px solid #bdebc7;
}

.acam-form {
    background: #ffffff;
    border: 1px solid var(--acam-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.acam-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.acam-full {
    display: block;
    margin: 18px 0;
}

.acam-form label span {
    display: block;
    margin-bottom: 7px;
    color: var(--acam-text);
    font-weight: 700;
}

.acam-form input,
.acam-form select,
.acam-form textarea {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 12px 13px;
    min-height: 46px;
    background: #ffffff;
    color: var(--acam-text);
    font: inherit;
}

.acam-form textarea {
    min-height: 130px;
    resize: vertical;
}

.acam-form input:focus,
.acam-form select:focus,
.acam-form textarea:focus {
    outline: 2px solid rgba(217, 85, 0, 0.18);
    border-color: var(--acam-orange);
}

.acam-form small {
    display: block;
    margin-top: 6px;
    color: var(--acam-muted);
    font-size: 12px;
}

.acam-note {
    background: var(--acam-soft);
    border-left: 4px solid var(--acam-orange);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--acam-text);
    margin: 18px 0;
}

.acam-button,
.acam-ad-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--acam-orange);
    color: #ffffff !important;
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.acam-button:hover,
.acam-ad-link:hover {
    background: var(--acam-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(217, 85, 0, 0.24);
}

.acam-public {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 18px 0;
}

.acam-layout-list {
    grid-template-columns: 1fr;
}

.acam-ad-card {
    background: #ffffff;
    border: 1px solid var(--acam-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.acam-ad-media {
    background: #f6f6f6;
    min-height: 180px;
}

.acam-ad-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.acam-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 20px;
    background: var(--acam-soft);
}

.acam-video-placeholder a {
    color: var(--acam-orange);
    font-weight: 800;
}

.acam-ad-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.acam-ad-label {
    align-self: flex-start;
    background: var(--acam-soft);
    color: var(--acam-orange);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.acam-ad-body h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.25;
    color: var(--acam-text);
}

.acam-ad-body p {
    margin: 0 0 14px;
    color: var(--acam-muted);
    line-height: 1.55;
}

.acam-ad-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 16px;
}

.acam-ad-meta span {
    border: 1px solid var(--acam-border);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--acam-muted);
    font-size: 12px;
}

.acam-empty {
    background: #ffffff;
    border: 1px solid var(--acam-border);
    border-radius: 16px;
    padding: 18px;
    color: var(--acam-muted);
}

.acam-form-submitting {
    opacity: 0.65;
    pointer-events: none;
}

@media (max-width: 900px) {
    .acam-public {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .acam-grid,
    .acam-public {
        grid-template-columns: 1fr;
    }

    .acam-hero,
    .acam-form {
        padding: 22px 18px;
        border-radius: 16px;
    }
}
