/* ════════════════════════════════════════════════════════════════
   OPERO BRAND LOGOS — CSS Module
   Version: 1.0 · 27.05.2026
   Verwendung: in functions.php als enqueued style, oder inline
   ════════════════════════════════════════════════════════════════ */

/* Brand Tokens (aus Suppora-Theme bekannt) */
/* --pri: #38a89d (teal)
   --pri-l: #4ecdc4 (light teal)
   --pri-d: #2d8a81 (dark teal)
   --sec: #0f3f34 (dark green) */

/* ─── Hero Logo (Produkt-Pages) ──────────────────────────────── */
.opero-hero-logo {
    display: block;
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto 28px auto;
}

.opero-hero-logo--left {
    margin: 0 0 24px 0;
}

/* ─── Footer Logo (klein, dezent) ────────────────────────────── */
.opero-footer-logo {
    display: inline-block;
    height: 38px;
    width: auto;
    margin: 0 0 8px 0;
    opacity: 0.92;
}

.opero-footer-logo:hover {
    opacity: 1;
}

/* ─── Inline Wordmark-Reference (z.B. in Body-Text) ──────────── */
.opero-inline-logo {
    display: inline-block;
    vertical-align: middle;
    height: 22px;
    width: auto;
    margin: 0 4px;
}

/* ─── Mosaic / Grid (Suite Showcase auf Home) ────────────────── */
.opero-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin: 32px 0;
}

.opero-mosaic__item {
    background: #ffffff;
    border: 1px solid #e4ebe9;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    cursor: pointer;
}

.opero-mosaic__item:hover {
    transform: translateY(-2px);
    border-color: rgba(56,168,157,.4);
    box-shadow: 0 8px 24px rgba(56,168,157,.10);
}

.opero-mosaic__item img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 8px auto;
}

.opero-mosaic__caption {
    font-size: 13px;
    color: var(--sec, #0f3f34);
    margin-top: 4px;
    font-weight: 500;
}

/* ─── Product Card (Products-Hub-Page) ───────────────────────── */
.opero-card {
    background: #ffffff;
    border: 1px solid #e4ebe9;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.opero-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56,168,157,.5);
    box-shadow: 0 12px 28px rgba(56,168,157,.12);
}

.opero-card img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0;
}

.opero-card__intro {
    font-size: 15px;
    color: #5a6c66;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.opero-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pri, #38a89d);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    margin-top: auto;
}

.opero-card__cta:hover {
    color: var(--pri-d, #2d8a81);
}

/* ─── Responsive Adjustments ─────────────────────────────────── */
@media (max-width: 768px) {
    .opero-hero-logo {
        max-width: 280px;
        margin-bottom: 20px;
    }
    .opero-footer-logo {
        height: 32px;
    }
    .opero-mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .opero-mosaic__item {
        padding: 18px 14px;
    }
}

@media (max-width: 480px) {
    .opero-mosaic {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════════════════════
   ENDE — Opero Brand CSS
   ════════════════════════════════════════════════════════════════ */

/* ─── Card Logo (Products-Hub-Cards, Home Suite-Cards) ────────── */
.opero-card-logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto 14px auto;
}

.ph-card .opero-card-logo {
    max-width: 200px;
    margin-bottom: 18px;
}

.sp-opero .opero-card-logo {
    max-width: 160px;
}

/* ─── Card Logo (Products-Hub-Cards, Home Suite-Cards) ────────── */
.opero-card-logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto 14px auto;
}

.ph-card .opero-card-logo {
    max-width: 200px;
    margin-bottom: 18px;
}

.sp-opero .opero-card-logo {
    max-width: 160px;
}

/* ════════════════════════════════════════════
   Day 8 — Care/Betreuung Page additions
   ════════════════════════════════════════════ */

/* Section-Header: OperoSuite Hero-Logo above .cr-tools section title */
.opero-section-logo {
    display: block;
    margin: 0 auto 24px;
    max-width: 200px;
    height: auto;
}

/* Tools-Table: 28px icon + text wrapper in first cell */
.opero-tool-row-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.opero-tool-row-content > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.opero-tool-row-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
}
.opero-tool-row-icon-fa {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pri-l), var(--pri-d));
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    flex-shrink: 0;
}

/* Tier-Card Tool-Stack-Footer */
.opero-tier-tools {
    margin: 18px 0 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15,63,52,.10);
}
.opero-tier-tools-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sec);
    opacity: 0.65;
    margin-bottom: 10px;
    font-weight: 600;
}
.opero-tier-tools-stack {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.opero-tier-tools-stack img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15,63,52,.10);
}
.opero-tier-tools-or {
    font-size: 11px;
    color: var(--sec);
    opacity: 0.7;
    margin: 0 2px;
    white-space: nowrap;
    font-weight: 500;
}
.opero-tier-tools-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--pri-l), var(--pri-d));
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(15,63,52,.10);
}

@media (max-width: 768px) {
    .opero-section-logo { max-width: 160px; }
    .opero-tier-tools-stack img,
    .opero-tier-tools-custom { width: 32px; height: 32px; }
    .opero-tool-row-icon,
    .opero-tool-row-icon-fa { width: 24px; height: 24px; }
}
