* {
    box-sizing: border-box;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    color: #2f3338;
    background: #ffffff;
    letter-spacing: 0;
}

body {
    margin: 0;
    min-height: 100vh;
}

a {
    color: #0f5f86;
    text-decoration: none;
}

a:hover {
    color: #eb247b;
    text-decoration: underline;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

.site-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #d6e1e7;
    background: rgba(255, 255, 255, .96);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-weight: 800;
    font-size: 18px;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.main-nav,
.header-actions,
.locale-switcher,
.footer-inner,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-nav a,
.locale-switcher a,
.quiet-button,
.icon-button {
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.locale-switcher {
    gap: 4px;
    padding: 3px;
    border: 1px solid #d6e1e7;
    border-radius: 8px;
    background: #f8fafc;
}

.locale-switcher a {
    padding: 5px 8px;
    border-radius: 6px;
}

.locale-switcher a.active {
    color: #ffffff;
    background: #0f766e;
}

.primary-button,
.quiet-button,
.icon-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.primary-button {
    color: #ffffff;
    background: #333333;
}

.primary-button:hover {
    color: #ffffff;
    background: #111111;
    text-decoration: none;
}

.quiet-button,
.icon-button {
    background: #ffffff;
    border-color: #d6e1e7;
}

.icon-button {
    color: #8a2c2c;
}

.wide {
    width: 100%;
}

.flash {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 650;
}

.flash.success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.flash.error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.legacy-page > .page-content {
    margin-bottom: 1.25rem;
    padding: 1.5rem 1.25rem;
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 4px;
}

.legacy-page > .page-content:first-child {
    margin-top: 0;
}

.legacy-page .background-black {
    color: #ffffff;
    background: #172033;
}

.legacy-page .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.legacy-page .row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}

.legacy-page .grid_12 {
    flex: 1 1 100%;
}

.legacy-page .grid_9 {
    flex: 1 1 650px;
}

.legacy-page .grid_6 {
    flex: 1 1 430px;
}

.legacy-page .grid_5 {
    flex: 1 1 520px;
}

.legacy-page .grid_4 {
    flex: 1 1 310px;
}

.legacy-page .grid_3 {
    flex: 1 1 240px;
}

.legacy-page h2,
.legacy-page h3,
.legacy-page h4,
.legacy-page h5 {
    margin: 0 0 16px;
    line-height: 1.15;
    color: #111827;
}

.legacy-page .background-black h2,
.legacy-page .background-black h3,
.legacy-page .background-black h4,
.legacy-page .background-black h5 {
    color: #ffffff;
}

.legacy-page h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.legacy-page h3 {
    font-size: 26px;
}

.legacy-page h4 {
    font-size: 22px;
}

.legacy-page h5 {
    font-size: 20px;
}

.legacy-page p,
.legacy-page section {
    color: #475467;
    font-size: 16px;
    line-height: 1.72;
}

.legacy-page > section:not(.page-content) {
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
}

.legacy-page > section.widget {
    padding: 1.25rem 1.35rem;
    border: 1px solid #dfe7ef;
    border-radius: 4px;
    background: #ffffff;
}

.legacy-page > section.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.legacy-page .triggerAnimation::after,
.legacy-page .row::after {
    content: "";
    display: table;
    clear: both;
}

.legacy-page .background-black p,
.legacy-page .background-black section {
    color: #e5edf2;
}

.legacy-page ul {
    margin: 10px 0 0;
    padding-left: 0;
}

.legacy-page li {
    margin: 9px 0;
    list-style: none;
}

.legacy-page li::before {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
    background: #eb247b;
}

.legacy-page .dropcap.colored {
    /*float: left;*/
    margin: 0 8px 0 0;
    padding: 0 6px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    background: #eb247b;
}

.legacy-page .heading-bordered {
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eb247b;
}

.legacy-page .heading-bordered h3 {
    margin: 0;
    color: #3d4652;
    font-size: 22px;
    font-weight: 400;
}

.legacy-page .btn-medium,
.legacy-page a.btn-medium {
    display: inline-block;
    padding: 10px 18px;
    border: 0;
    border-radius: 3px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
}

.legacy-page .btn-medium.purple,
.legacy-page a.btn-medium.purple {
    background: #eb247b;
}

.legacy-page .btn-medium.purple:hover,
.legacy-page a.btn-medium.purple:hover {
    background: #d41f6d;
}

.legacy-page .btn-medium.grey,
.legacy-page a.btn-medium.grey {
    background: #727c89;
}

.legacy-page .note {
    padding: 24px;
    border-left: 4px solid #eb247b;
    background: #ffffff;
}

.legacy-page .background-black .note {
    border-color: #f59e0b;
    background: transparent;
}

.legacy-page .service-box-2 {
    height: 100%;
    padding: 22px;
    border: 1px solid #d6e1e7;
    border-radius: 8px;
    background: #ffffff;
}

.legacy-page .accordion .title {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 8px 8px 0 0;
    background: #eef6f8;
    font-weight: 700;
}

.legacy-page .accordion .content {
    padding: 14px;
    border: 1px solid #d6e1e7;
    border-top: 0;
}

.account-section {
    min-height: calc(100vh - 146px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px;
    background: #f7f9fb;
}

.auth-panel {
    width: min(460px, 100%);
    padding: 28px;
    border: 1px solid #d6e1e7;
    border-radius: 8px;
    background: #ffffff;
}

.register-panel {
    width: min(540px, 100%);
}

.eyebrow {
    margin: 0 0 8px;
    color: #eb247b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-panel h1,
.account-layout h1 {
    margin: 0 0 22px;
    color: #111827;
    font-size: 32px;
    line-height: 1.1;
}

.auth-form {
    display: grid;
    gap: 10px;
}

.auth-form label {
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
}

.auth-form input:focus {
    outline: 3px solid #fed9e9;
    border-color: #eb247b;
}

.field-note,
.auth-alt {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.auth-alt {
    margin-top: 18px;
    text-align: center;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 28px;
    align-items: start;
}

.account-summary {
    margin: 0;
    padding: 22px;
    border: 1px solid #d6e1e7;
    border-radius: 8px;
    background: #ffffff;
}

.account-summary div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #e5edf2;
}

.account-summary div:last-child {
    border-bottom: 0;
}

.account-summary dt {
    color: #667085;
    font-weight: 700;
}

.account-summary dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
}

/* Campanii publicitare — carduri exemple + public tinta */
.legacy-page-ad-campaigns .ad-campaigns-intro {
    text-align: center;
}

.legacy-page-ad-campaigns .ad-campaigns-intro__visual {
    margin: 1.25rem 0 0;
}

.legacy-page-ad-campaigns .ad-campaigns-intro__visual img {
    max-width: min(420px, 100%);
    margin: 0 auto;
}

.legacy-page-ad-campaigns > .ad-campaigns-section {
    margin-top: 1.75rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.legacy-page-ad-campaigns .ad-campaigns-section > h3 {
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eb247b;
    color: #111827;
    font-size: 1.35rem;
    font-weight: 700;
}

.legacy-page-ad-campaigns .ad-campaigns-examples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.legacy-page-ad-campaigns .ad-campaign-example-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.15rem;
    border: 1px solid #dfe7ef;
    border-radius: 4px;
    background: #ffffff;
}

.legacy-page-ad-campaigns .ad-campaign-example-card h6 {
    margin: 0 0 0.75rem;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
}

.legacy-page-ad-campaigns .ad-campaign-example-card__image {
    display: block;
    margin-bottom: 0.85rem;
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
}

.legacy-page-ad-campaigns .ad-campaign-example-card__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.legacy-page-ad-campaigns .ad-campaign-example-card p {
    margin: 0;
    flex: 1;
    color: #475467;
    font-size: 0.9rem;
    line-height: 1.55;
}

.legacy-page-ad-campaigns .ad-campaigns-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.legacy-page-ad-campaigns .ad-campaign-audience-card {
    padding: 1rem 1.1rem;
    border: 1px solid #dfe7ef;
    border-radius: 4px;
    background: #ffffff;
}

.legacy-page-ad-campaigns .ad-campaign-audience-card h6 {
    margin: 0 0 0.65rem;
    color: #eb247b;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.legacy-page-ad-campaigns .ad-campaign-audience-card ul {
    margin: 0;
    padding: 0;
}

.legacy-page-ad-campaigns .ad-campaign-audience-card li {
    margin: 0.35rem 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.legacy-page-ad-campaigns .ad-campaigns-footnote {
    margin: 1.25rem 0 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid #eb247b;
    background: #ffffff;
    color: #475467;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .legacy-page-ad-campaigns .ad-campaigns-examples {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legacy-page-ad-campaigns .ad-campaigns-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .legacy-page-ad-campaigns .ad-campaigns-examples,
    .legacy-page-ad-campaigns .ad-campaigns-audience-grid {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    border-top: 1px solid #d6e1e7;
    background: #ffffff;
}

.footer-inner {
    min-height: 74px;
    justify-content: space-between;
    color: #667085;
    font-size: 14px;
}

@media (max-width: 920px) {
    .header-inner,
    .main-nav,
    .header-actions,
    .footer-inner,
    .site-footer nav {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

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

@media (max-width: 620px) {
    .site-shell {
        width: min(100% - 24px, 1160px);
    }

    .header-actions {
        width: 100%;
    }

    .legacy-page .page-content {
        padding: 30px 0;
    }

    .auth-panel {
        padding: 22px;
    }
}

