/* EntoHub — Request a Preview page */

/* ════════════════════════════════════════════════════════════════════════════
   PAGE WRAPPER
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Hide default page title ────────────────────────────────────────────── */

.page-id-42 .wp-block-post-title {
    display: none;
}

.dh-preview-wrap {
    background: #E0E9EE;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 100px 60px;
    box-sizing: border-box;
}

.dh-preview-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ════════════════════════════════════════════════════════════════════════════
   LEFT COLUMN
   ════════════════════════════════════════════════════════════════════════════ */

.dh-preview-heading {
    font-family: 'Petrona', Georgia, serif;
    font-weight: 700;
    font-size: 48px;
    color: #2A2A2A;
    line-height: 1.15;
    margin: 0 0 24px;
}

.dh-preview-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dh-preview-body p {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(42, 42, 42, 0.75);
    margin: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   RIGHT COLUMN — FORM CARD
   ════════════════════════════════════════════════════════════════════════════ */

.dh-preview-right {
    padding: 0;
}

/* ── Labels ──────────────────────────────────────────────────────────────── */

.dh-preview-label {
    display: block;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #2A2A2A;
    margin-bottom: 8px;
}

/* ── Field wrapper ───────────────────────────────────────────────────────── */

.dh-preview-field {
    margin-bottom: 28px;
}

/* ── Text and email inputs ───────────────────────────────────────────────── */

.dh-preview-input {
    display: block;
    width: 100%;
    height: 48px;
    background: #FFFCED;
    border: none;
    border-radius: 6px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 15px;
    color: #2A2A2A;
    padding: 0 16px;
    box-sizing: border-box;
}

.dh-preview-input:focus {
    border: 2px solid #1A2E45;
    outline: none;
    box-shadow: none;
}

/* ── Select / dropdown ───────────────────────────────────────────────────── */

.dh-preview-select-wrap {
    position: relative;
}

.dh-preview-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%232A2A2A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.dh-preview-select {
    display: block;
    width: 100%;
    height: 48px;
    background: #FFFCED;
    border: none;
    border-radius: 6px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 15px;
    color: #2A2A2A;
    padding: 0 40px 0 16px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.dh-preview-select:focus {
    border: 2px solid #1A2E45;
    outline: none;
    box-shadow: none;
}

/* ── Submit button ───────────────────────────────────────────────────────── */

.dh-preview-btn {
    display: block;
    width: 100%;
    height: 52px;
    background: #1A2E45;
    color: #FFFCED;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 6px;
    margin-top: 8px;
    cursor: pointer;
    transition: background 200ms ease;
}

.dh-preview-btn:hover {
    background: #243d5c;
}

/* ── Success state ───────────────────────────────────────────────────────── */

.dh-preview-success p {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(42, 42, 42, 0.75);
    margin: 0;
}

/* ── Validation error message ────────────────────────────────────────────── */

.dh-preview-error-msg {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 14px;
    color: #c0392b;
    margin: 0 0 16px;
}

/* ════════════════════════════════════════════════════════════════════════════
   MOBILE
   ════════════════════════════════════════════════════════════════════════════ */

@media ( max-width: 768px ) {
    .dh-preview-wrap {
        padding: 60px 24px;
    }

    .dh-preview-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dh-preview-heading {
        font-size: 36px;
    }

    .dh-preview-right {
        padding: 0;
    }
}