/* ==========================================================================
   Ausmalfotos Partner / Affiliate Landing Page
   ========================================================================== */

.ausmal-partner {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 100%;
}

.ausmal-partner *,
.ausmal-partner *::before,
.ausmal-partner *::after {
    box-sizing: border-box;
}

.ausmal-partner h1,
.ausmal-partner h2,
.ausmal-partner h3 {
    line-height: 1.2;
    margin: 0 0 0.5em;
}

.ausmal-partner p {
    margin: 0 0 1em;
}

/* ---------- Container ---------- */
.ausmal-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.ausmal-partner .ausmal-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    border: none;
}

.ausmal-partner .ausmal-btn--primary {
    background: var(--wp--preset--color--accent-1, #2e7d32);
    color: #fff;
}

.ausmal-partner .ausmal-btn--primary:hover {
    background: var(--wp--preset--color--accent-3, #1b5e20);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
    color: #fff;
    text-decoration: none;
}

.ausmal-partner .ausmal-btn--large {
    padding: 18px 44px;
    font-size: 18px;
    border-radius: 10px;
}

/* ---------- Sections ---------- */
.ausmal-partner .ausmal-section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ausmal-partner .ausmal-section__title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1a1a1a);
    margin-bottom: 8px;
}

.ausmal-partner .ausmal-section__subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--wp--preset--color--accent-4, #666);
    margin-bottom: 48px;
}

/* ---------- HERO ---------- */
.ausmal-partner-hero {
    background: linear-gradient(135deg,
        var(--wp--preset--color--accent-2, #c8e6c9) 0%,
        var(--wp--preset--color--accent-5, #f0faf0) 50%,
        var(--wp--preset--color--accent-2, #c8e6c9) 100%);
    padding: 100px 24px 80px;
    text-align: center;
}

.ausmal-partner-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.ausmal-partner-hero__eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--preset--color--accent-1, #2e7d32);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.ausmal-partner-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: var(--wp--preset--color--contrast, #1a1a1a);
    margin-bottom: 20px;
}

.ausmal-partner-hero__highlight {
    color: var(--wp--preset--color--accent-1, #2e7d32);
}

.ausmal-partner-hero__subtitle {
    font-size: 19px;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.7;
}

.ausmal-partner-hero__trust {
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

/* ---------- PRODUCT EXPLAINER ---------- */
.ausmal-partner-product__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ausmal-partner-product__step {
    text-align: center;
}

.ausmal-partner-product__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--wp--preset--color--accent-1, #2e7d32);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ausmal-partner-product__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--wp--preset--color--accent-1, #2e7d32);
}

.ausmal-partner-product__icon svg {
    width: 100%;
    height: 100%;
}

.ausmal-partner-product__step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1a1a1a);
}

.ausmal-partner-product__step p {
    font-size: 15px;
    color: var(--wp--preset--color--accent-4, #666);
}

/* ---------- QUOTE ---------- */
.ausmal-partner-quote {
    background: var(--wp--preset--color--accent-5, #f0faf0);
    padding: 60px 0;
    text-align: center;
}

.ausmal-partner-quote__text {
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    color: var(--wp--preset--color--contrast, #1a1a1a);
    max-width: 700px;
    margin: 0 auto 12px;
    line-height: 1.5;
    border: none;
    padding: 0;
}

.ausmal-partner-quote__caption {
    font-size: 16px;
    color: var(--wp--preset--color--accent-1, #2e7d32);
    font-weight: 600;
    margin: 0;
}

/* ---------- STEPS ---------- */
.ausmal-partner-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ausmal-partner-step {
    text-align: center;
    position: relative;
}

.ausmal-partner-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--wp--preset--color--accent-1, #2e7d32);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ausmal-partner-step__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--wp--preset--color--accent-1, #2e7d32);
}

.ausmal-partner-step__icon svg {
    width: 100%;
    height: 100%;
}

.ausmal-partner-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1a1a1a);
}

.ausmal-partner-step p {
    font-size: 15px;
    color: var(--wp--preset--color--accent-4, #666);
}

/* ---------- BENEFITS ---------- */
.ausmal-partner-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.ausmal-partner-benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.ausmal-partner-benefit:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ausmal-partner-benefit__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: var(--wp--preset--color--accent-1, #2e7d32);
}

.ausmal-partner-benefit__icon svg {
    width: 100%;
    height: 100%;
}

.ausmal-partner-benefit h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1a1a1a);
    margin-bottom: 4px;
}

.ausmal-partner-benefit p {
    font-size: 14px;
    color: var(--wp--preset--color--accent-4, #666);
    margin: 0;
}

/* ---------- AUDIENCE ---------- */
.ausmal-partner-audience {
    background: var(--wp--preset--color--accent-5, #f0faf0);
    padding: 80px 0;
}

.ausmal-partner-audience__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ausmal-partner-audience__card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ausmal-partner-audience__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ausmal-partner-audience__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--wp--preset--color--accent-1, #2e7d32);
}

.ausmal-partner-audience__icon svg {
    width: 100%;
    height: 100%;
}

.ausmal-partner-audience__card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1a1a1a);
}

.ausmal-partner-audience__card p {
    font-size: 14px;
    color: var(--wp--preset--color--accent-4, #666);
    margin: 0;
}

/* ---------- CALC TABLE ---------- */
.ausmal-partner-calc__table-wrap {
    max-width: 700px;
    margin: 0 auto;
    overflow-x: auto;
}

.ausmal-partner-calc__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.ausmal-partner-calc__table th {
    background: var(--wp--preset--color--accent-1, #2e7d32);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.ausmal-partner-calc__table th:first-child {
    border-radius: 8px 0 0 0;
}

.ausmal-partner-calc__table th:last-child {
    border-radius: 0 8px 0 0;
}

.ausmal-partner-calc__table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.ausmal-partner-calc__table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}

.ausmal-partner-calc__table tbody tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

.ausmal-partner-calc__highlight {
    background: var(--wp--preset--color--accent-5, #f0faf0);
}

.ausmal-partner-calc__highlight td {
    font-weight: 600;
}

.ausmal-partner-calc__note {
    text-align: center;
    font-size: 14px;
    color: var(--wp--preset--color--accent-4, #666);
    margin-top: 20px;
    font-style: italic;
}

/* ---------- REGISTRATION FORM ---------- */
.ausmal-partner-register {
    background: var(--wp--preset--color--accent-5, #f0faf0);
    padding: 80px 0;
}

.ausmal-partner-register__form-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ausmal-partner-register__form-wrap .yith-wcaf-registration-form {
    font-size: 15px;
}

.ausmal-partner-register__form-wrap .form-row label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.ausmal-partner-register__form-wrap input[type="text"],
.ausmal-partner-register__form-wrap input[type="email"],
.ausmal-partner-register__form-wrap input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.ausmal-partner-register__form-wrap input[type="text"]:focus,
.ausmal-partner-register__form-wrap input[type="email"]:focus,
.ausmal-partner-register__form-wrap input[type="password"]:focus {
    border-color: var(--wp--preset--color--accent-1, #2e7d32);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.ausmal-partner-register__form-wrap input[type="submit"],
.ausmal-partner-register__form-wrap button.button,
.ausmal-partner-register__form-wrap .btn.button {
    background: var(--wp--preset--color--accent-1, #2e7d32);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.ausmal-partner-register__form-wrap input[type="submit"]:hover,
.ausmal-partner-register__form-wrap button.button:hover,
.ausmal-partner-register__form-wrap .btn.button:hover {
    background: var(--wp--preset--color--accent-3, #1b5e20);
}

.ausmal-partner-register__form-wrap h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.ausmal-partner-register__form-wrap .yith-wcaf-registration-form {
    padding: 0;
}

.ausmal-partner-register__form-wrap .forms-container {
    padding: 0;
    margin: 0;
}

.ausmal-partner-register__form-wrap .register-form,
.ausmal-partner-register__form-wrap .register-form form.register {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
}

.ausmal-partner-register__form-wrap .woocommerce form.register,
.ausmal-partner-register__form-wrap form.register {
    padding: 20px 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.ausmal-partner-register__form-wrap .form-row {
    margin-bottom: 12px;
}

.ausmal-partner-register__form-wrap .form-row {
    padding: 0;
    width: 100%;
    float: none;
}

.ausmal-partner-register__form-wrap .form-row .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.ausmal-partner-register__form-wrap .form-row input.input-text {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

.ausmal-partner-register__form-wrap .form-row label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.ausmal-partner-register__form-wrap .u-columns.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* ---------- FAQ ---------- */
.ausmal-partner-faq__list {
    max-width: 700px;
    margin: 0 auto;
}

.ausmal-partner-faq__item {
    border-bottom: 1px solid #e0e0e0;
}

.ausmal-partner-faq__item summary {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--wp--preset--color--contrast, #1a1a1a);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ausmal-partner-faq__item summary::-webkit-details-marker {
    display: none;
}

.ausmal-partner-faq__item summary::after {
    content: "+";
    font-size: 24px;
    color: var(--wp--preset--color--accent-1, #2e7d32);
    font-weight: 300;
    transition: transform 0.2s;
}

.ausmal-partner-faq__item[open] summary::after {
    content: "\2212";
}

.ausmal-partner-faq__item p {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--wp--preset--color--accent-4, #666);
    line-height: 1.7;
}

/* ---------- FINAL CTA ---------- */
.ausmal-partner-cta {
    text-align: center;
    background: linear-gradient(135deg,
        var(--wp--preset--color--accent-2, #c8e6c9) 0%,
        var(--wp--preset--color--accent-5, #f0faf0) 100%);
    padding: 80px 24px;
    max-width: none;
}

.ausmal-partner-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1a1a1a);
    margin-bottom: 12px;
}

.ausmal-partner-cta p {
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .ausmal-partner-audience__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ausmal-partner-hero {
        padding: 60px 20px 50px;
    }

    .ausmal-partner-hero__title {
        font-size: 30px;
    }

    .ausmal-partner-hero__subtitle {
        font-size: 16px;
    }

    .ausmal-partner .ausmal-btn--large {
        padding: 16px 32px;
        font-size: 16px;
        width: 100%;
    }

    .ausmal-partner .ausmal-section {
        padding: 50px 20px;
    }

    .ausmal-partner .ausmal-section__title {
        font-size: 26px;
    }

    .ausmal-partner-product__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ausmal-partner-steps__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ausmal-partner-benefits__grid {
        grid-template-columns: 1fr;
    }

    .ausmal-partner-audience__grid {
        grid-template-columns: 1fr;
    }

    .ausmal-partner-register__form-wrap {
        padding: 20px 16px;
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }

    .ausmal-partner-register__form-wrap .woocommerce form {
        padding: 0;
    }

    .ausmal-partner-register__form-wrap .u-columns.col2-set {
        grid-template-columns: 1fr;
    }

    .ausmal-partner-cta h2 {
        font-size: 26px;
    }

    .ausmal-partner-cta .ausmal-btn--large {
        width: 100%;
    }

    .ausmal-partner-calc__table {
        font-size: 13px;
    }

    .ausmal-partner-calc__table th,
    .ausmal-partner-calc__table td {
        padding: 10px 10px;
    }
}
