/*
|--------------------------------------------------------------------------
| NYOSA V2 — POST OPPORTUNITY
|--------------------------------------------------------------------------
| File:
| /public_html/v2/css/post.css
|
| IMPORTANT:
| All styles are scoped to .nyosa-post-page
| so they do not interfere with the global NYOSA CSS.
|--------------------------------------------------------------------------
*/


/* ================================================================
   PAGE ROOT
================================================================ */

.nyosa-post-page {
    width: 100%;
    min-height: calc(100vh - 80px);
    background: #f3f6fb;
    padding: 28px 16px 60px;
    box-sizing: border-box;
    color: #172033;
}

.nyosa-post-page *,
.nyosa-post-page *::before,
.nyosa-post-page *::after {
    box-sizing: border-box;
}


/* ================================================================
   CONTAINER
================================================================ */

.nyosa-post-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}


/* ================================================================
   HEADING
================================================================ */

.nyosa-post-heading {
    text-align: center;
    margin: 0 auto 28px;
    max-width: 720px;
}

.nyosa-post-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #1a5fb4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nyosa-post-heading h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 6vw, 42px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.nyosa-post-heading p {
    margin: 12px auto 0;
    max-width: 650px;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}


/* ================================================================
   ALERTS
================================================================ */

.nyosa-post-error,
.nyosa-post-success {
    width: 100%;
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.nyosa-post-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #b42318;
}

.nyosa-post-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}


/* ================================================================
   MAIN CARD
================================================================ */

.nyosa-post-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 18px;
    padding: 22px;
    box-shadow:
        0 10px 30px rgba(16, 24, 40, 0.06);
}

.nyosa-post-card + .nyosa-post-card {
    margin-top: 20px;
}


/* ================================================================
   STEP LABEL
================================================================ */

.nyosa-post-step-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf4ff;
    color: #1a5fb4;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.nyosa-post-card h2 {
    margin: 14px 0 8px;
    color: #111827;
    font-size: clamp(23px, 5vw, 30px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.nyosa-post-description {
    margin: 0 0 24px;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}


/* ================================================================
   FORM
================================================================ */

.nyosa-post-form {
    width: 100%;
    margin: 0;
}

.nyosa-post-field {
    width: 100%;
    margin-bottom: 20px;
}

.nyosa-post-field:last-child {
    margin-bottom: 0;
}

.nyosa-post-field label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.nyosa-post-field label span {
    color: #d92d20;
}

.nyosa-post-field input,
.nyosa-post-field textarea,
.nyosa-post-field select {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #101828;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.nyosa-post-field textarea {
    min-height: 130px;
    resize: vertical;
}

.nyosa-post-field input::placeholder,
.nyosa-post-field textarea::placeholder {
    color: #98a2b3;
}

.nyosa-post-field input:focus,
.nyosa-post-field textarea:focus,
.nyosa-post-field select:focus {
    border-color: #1a5fb4;
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.12);
}

.nyosa-post-field small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}


/* ================================================================
   FILE INPUT
================================================================ */

.nyosa-post-field input[type="file"] {
    min-height: auto;
    padding: 10px;
    cursor: pointer;
    background: #f9fafb;
}

.nyosa-post-field input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #edf4ff;
    color: #1a5fb4;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


/* ================================================================
   GRID
================================================================ */

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


/* ================================================================
   READONLY COMPANY
================================================================ */

.nyosa-post-readonly-company {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 9px 12px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #f9fafb;
    color: #344054;
}

.nyosa-post-readonly-company img {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    object-fit: cover;
    border-radius: 8px;
}

.nyosa-post-readonly-company strong {
    font-size: 14px;
    font-weight: 700;
}


/* ================================================================
   CHARACTER COUNT
================================================================ */

.nyosa-post-character-count {
    margin-top: 6px;
    text-align: right;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}


/* ================================================================
   EXISTING IMAGE
================================================================ */

.nyosa-post-existing-image {
    width: 100%;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    background: #f9fafb;
}

.nyosa-post-existing-image img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}


/* ================================================================
   BUTTONS / ACTIONS
================================================================ */

.nyosa-post-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    margin-top: 26px;
}

.nyosa-post-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.nyosa-post-button:hover {
    transform: translateY(-1px);
}

.nyosa-post-button:active {
    transform: translateY(0);
}

.nyosa-post-button-primary {
    background: #1a5fb4;
    border-color: #1a5fb4;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(26, 95, 180, 0.18);
}

.nyosa-post-button-primary:hover {
    background: #154f97;
    border-color: #154f97;
}

.nyosa-post-button-secondary {
    background: #ffffff;
    border-color: #d0d5dd;
    color: #344054;
}

.nyosa-post-button-secondary:hover {
    background: #f9fafb;
    border-color: #98a2b3;
}


/* ================================================================
   CATEGORY GRID
================================================================ */

.nyosa-post-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.nyosa-post-category {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.nyosa-post-category input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.nyosa-post-category-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    padding: 18px;
    border: 1px solid #dfe4ea;
    border-radius: 14px;
    background: #ffffff;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.nyosa-post-category-content strong {
    color: #172033;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.nyosa-post-category-content small {
    margin-top: 7px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}

.nyosa-post-category:hover .nyosa-post-category-content {
    border-color: #9dbce2;
    transform: translateY(-1px);
}

.nyosa-post-category input:checked
+ .nyosa-post-category-content {
    border-color: #1a5fb4;
    background: #f4f8ff;
    box-shadow:
        0 0 0 3px rgba(26, 95, 180, 0.10);
}


/* ================================================================
   COMPANY PROFILE
================================================================ */

.nyosa-post-company-card {
    overflow: hidden;
}

.nyosa-post-company-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.nyosa-post-company-header h2 {
    margin-top: 10px;
}

.nyosa-post-company-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 14px;
    background: #edf4ff;
    font-size: 24px;
}

.nyosa-post-company-notice {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #d9e7fb;
    border-radius: 12px;
    background: #f5f9ff;
}

.nyosa-post-company-notice strong {
    color: #1a5fb4;
    font-size: 13px;
}

.nyosa-post-company-notice span {
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}


/* ================================================================
   COMPANY SUMMARY
================================================================ */

.nyosa-post-company-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #dfe5ed;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, 0.04);
}

.nyosa-post-company-summary-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.nyosa-post-company-logo {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
    border-radius: 10px;
}

.nyosa-post-company-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #1a5fb4;
    font-size: 18px;
    font-weight: 800;
}

.nyosa-post-company-label {
    display: block;
    margin-bottom: 2px;
    color: #98a2b3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nyosa-post-company-name {
    display: block;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nyosa-post-company-industry {
    display: block;
    margin-top: 2px;
    color: #667085;
    font-size: 11px;
}

.nyosa-post-company-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex: 0 0 auto;
}

.nyosa-post-company-status span {
    color: #98a2b3;
    font-size: 10px;
}

.nyosa-post-company-status strong {
    color: #067647;
    font-size: 12px;
}


/* ================================================================
   PROGRESS
================================================================ */

.nyosa-post-progress {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 22px;
    overflow-x: auto;
    padding: 2px 2px 7px;
    scrollbar-width: none;
}

.nyosa-post-progress::-webkit-scrollbar {
    display: none;
}

.nyosa-post-progress-step {
    position: relative;
    display: flex;
    flex: 1 0 92px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 92px;
    color: #98a2b3;
}

.nyosa-post-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: #e4e7ec;
}

.nyosa-post-progress-step.completed:not(:last-child)::after {
    background: #1a5fb4;
}

.nyosa-post-progress-number {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid #d0d5dd;
    border-radius: 50%;
    background: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.nyosa-post-progress-step.active {
    color: #1a5fb4;
}

.nyosa-post-progress-step.active
.nyosa-post-progress-number {
    border-color: #1a5fb4;
    background: #1a5fb4;
    color: #ffffff;
}

.nyosa-post-progress-step.completed {
    color: #1a5fb4;
}

.nyosa-post-progress-step.completed
.nyosa-post-progress-number {
    border-color: #1a5fb4;
    background: #1a5fb4;
    color: #ffffff;
}

.nyosa-post-progress-label {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}


/* ================================================================
   PREVIEW
================================================================ */

.nyosa-post-preview {
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
}

.nyosa-post-preview-image-wrapper {
    width: 100%;
    background: #f2f4f7;
}

.nyosa-post-preview-image {
    display: block;
    width: 100%;
    max-height: 390px;
    object-fit: cover;
}

.nyosa-post-preview-content {
    padding: 20px;
}

.nyosa-post-preview-company {
    margin-bottom: 6px;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.nyosa-post-preview-category {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf4ff;
    color: #1a5fb4;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.nyosa-post-preview-content h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.nyosa-post-preview-short {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.6;
}

.nyosa-post-preview-more {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a5fb4;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.nyosa-post-preview-details {
    display: none;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #eaecf0;
}

.nyosa-post-preview-details.is-open {
    display: block;
}

.nyosa-post-preview-section {
    margin-bottom: 20px;
}

.nyosa-post-preview-section:last-child {
    margin-bottom: 0;
}

.nyosa-post-preview-section h4 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
}

.nyosa-post-preview-section div {
    color: #475467;
    font-size: 13px;
    line-height: 1.7;
}

.nyosa-post-preview-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}

.nyosa-post-preview-meta strong {
    color: #344054;
    font-size: 12px;
}

.nyosa-post-preview-meta span {
    color: #667085;
    font-size: 12px;
    text-align: right;
}


/* ================================================================
   PACKAGE GRID
================================================================ */

.nyosa-post-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.nyosa-post-package {
    position: relative;
    display: block;
    cursor: pointer;
}

.nyosa-post-package input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.nyosa-post-package-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 190px;
    padding: 20px;
    border: 1px solid #dfe4ea;
    border-radius: 14px;
    background: #ffffff;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.nyosa-post-package:hover
.nyosa-post-package-inner {
    border-color: #9dbce2;
    transform: translateY(-2px);
}

.nyosa-post-package input:checked
+ .nyosa-post-package-inner {
    border-color: #1a5fb4;
    background: #f4f8ff;
    box-shadow:
        0 0 0 3px rgba(26, 95, 180, 0.10);
}

.nyosa-post-package-name {
    color: #172033;
    font-size: 16px;
    font-weight: 800;
}

.nyosa-post-package-price {
    margin-top: 12px;
    color: #1a5fb4;
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}

.nyosa-post-package-description {
    margin-top: auto;
    padding-top: 18px;
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}


/* ================================================================
   PAYMENT
================================================================ */

.nyosa-post-payment-card {
    overflow: hidden;
}

.nyosa-post-payment-summary {
    margin-top: 22px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    overflow: hidden;
}

.nyosa-post-payment-row,
.nyosa-post-payment-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
}

.nyosa-post-payment-row {
    border-bottom: 1px solid #eaecf0;
}

.nyosa-post-payment-row span,
.nyosa-post-payment-total span {
    color: #667085;
    font-size: 13px;
}

.nyosa-post-payment-row strong {
    color: #172033;
    font-size: 13px;
    text-align: right;
}

.nyosa-post-payment-total {
    background: #f9fafb;
}

.nyosa-post-payment-total strong {
    color: #1a5fb4;
    font-size: 21px;
    font-weight: 900;
}

.nyosa-post-payment-placeholder {
    margin-top: 20px;
    padding: 28px 20px;
    border: 1px solid #d9e7fb;
    border-radius: 14px;
    background: #f5f9ff;
    text-align: center;
}

.nyosa-post-payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: #ffffff;
    font-size: 24px;
}

.nyosa-post-payment-placeholder h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 17px;
}

.nyosa-post-payment-placeholder p {
    margin: 0 auto;
    max-width: 500px;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.nyosa-post-payment-placeholder small {
    display: block;
    margin-top: 12px;
    color: #667085;
    font-size: 11px;
    line-height: 1.5;
}


/* ================================================================
   COMPLETE
================================================================ */

.nyosa-post-complete {
    padding: 35px 24px;
    text-align: center;
}

.nyosa-post-complete-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ecfdf3;
    color: #067647;
    font-size: 34px;
    font-weight: 800;
}

.nyosa-post-complete h2 {
    margin-top: 12px;
}

.nyosa-post-complete > p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.nyosa-post-complete-notice {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 650px;
    margin: 24px auto 0;
    padding: 16px;
    border: 1px solid #d9e7fb;
    border-radius: 12px;
    background: #f5f9ff;
}

.nyosa-post-complete-notice strong {
    color: #1a5fb4;
    font-size: 14px;
}

.nyosa-post-complete-notice span {
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}

.nyosa-post-complete-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 650px;
    margin: 22px auto 0;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    text-align: left;
}

.nyosa-post-complete-details > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    border-bottom: 1px solid #eaecf0;
}

.nyosa-post-complete-details > div:nth-child(odd) {
    border-right: 1px solid #eaecf0;
}

.nyosa-post-complete-details span {
    color: #98a2b3;
    font-size: 11px;
}

.nyosa-post-complete-details strong {
    color: #172033;
    font-size: 13px;
}


/* ================================================================
   LOADING STATE
================================================================ */

.nyosa-post-page .nyosa-post-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.nyosa-post-page .nyosa-post-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: nyosaPostSpin 0.7s linear infinite;
}

@keyframes nyosaPostSpin {
    to {
        transform: rotate(360deg);
    }
}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 767px) {

    .nyosa-post-page {
        padding: 20px 12px 45px;
    }

    .nyosa-post-heading {
        margin-bottom: 20px;
    }

    .nyosa-post-heading h1 {
        font-size: 28px;
    }

    .nyosa-post-heading p {
        font-size: 13px;
    }

    .nyosa-post-card {
        padding: 17px;
        border-radius: 15px;
    }

    .nyosa-post-card h2 {
        font-size: 23px;
    }

    .nyosa-post-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .nyosa-post-category-grid {
        grid-template-columns: 1fr;
    }

    .nyosa-post-category-content {
        min-height: 88px;
    }

    .nyosa-post-company-header {
        gap: 12px;
    }

    .nyosa-post-company-icon {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
        font-size: 20px;
    }

    .nyosa-post-company-summary {
        align-items: flex-start;
        flex-direction: column;
        padding: 13px;
    }

    .nyosa-post-company-status {
        align-items: flex-start;
        padding-left: 60px;
    }

    .nyosa-post-progress {
        margin-right: -2px;
        margin-left: -2px;
        width: calc(100% + 4px);
    }

    .nyosa-post-progress-step {
        flex-basis: 78px;
        min-width: 78px;
    }

    .nyosa-post-progress-label {
        font-size: 9px;
    }

    .nyosa-post-progress-step:not(:last-child)::after {
        left: calc(50% + 17px);
        width: calc(100% - 34px);
    }

    .nyosa-post-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 9px;
    }

    .nyosa-post-actions .nyosa-post-button,
    .nyosa-post-actions > form,
    .nyosa-post-actions > form .nyosa-post-button {
        width: 100%;
    }

    .nyosa-post-button {
        min-height: 48px;
        width: 100%;
    }

    .nyosa-post-preview-content {
        padding: 16px;
    }

    .nyosa-post-preview-content h3 {
        font-size: 21px;
    }

    .nyosa-post-preview-image {
        max-height: 260px;
    }

    .nyosa-post-package-grid {
        grid-template-columns: 1fr;
    }

    .nyosa-post-package-inner {
        min-height: 150px;
    }

    .nyosa-post-payment-row,
    .nyosa-post-payment-total {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .nyosa-post-payment-row strong {
        text-align: left;
    }

    .nyosa-post-payment-total {
        flex-direction: row;
        align-items: center;
    }

    .nyosa-post-complete {
        padding: 28px 17px;
    }

    .nyosa-post-complete-details {
        grid-template-columns: 1fr;
    }

    .nyosa-post-complete-details > div:nth-child(odd) {
        border-right: 0;
    }

    .nyosa-post-complete-details > div:last-child {
        border-bottom: 0;
    }

    .nyosa-post-preview-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .nyosa-post-preview-meta span {
        text-align: left;
    }
}


/* ================================================================
   SMALL MOBILE
================================================================ */

@media (max-width: 420px) {

    .nyosa-post-page {
        padding-right: 9px;
        padding-left: 9px;
    }

    .nyosa-post-card {
        padding: 14px;
    }

    .nyosa-post-heading h1 {
        font-size: 25px;
    }

    .nyosa-post-heading p {
        font-size: 12px;
    }

    .nyosa-post-progress-step {
        flex-basis: 70px;
        min-width: 70px;
    }

    .nyosa-post-progress-number {
        width: 29px;
        height: 29px;
        font-size: 10px;
    }

    .nyosa-post-progress-step:not(:last-child)::after {
        top: 14px;
        left: calc(50% + 15px);
        width: calc(100% - 30px);
    }

    .nyosa-post-company-name {
        max-width: 200px;
    }
}


/* ================================================================
   TABLET / DESKTOP
================================================================ */

@media (min-width: 768px) {

    .nyosa-post-page {
        padding-top: 42px;
    }

    .nyosa-post-card {
        padding: 30px;
    }

    .nyosa-post-actions {
        margin-top: 30px;
    }
}


/* ================================================================
   LARGE DESKTOP
================================================================ */

@media (min-width: 1100px) {

    .nyosa-post-page {
        padding-top: 50px;
    }

    .nyosa-post-container {
        max-width: 960px;
    }

    .nyosa-post-card {
        padding: 34px;
    }
}