/*
Theme Name: ARGO WM App Theme
Theme URI: https://dev.argo-wm.de/
Author: ARGO / ChatGPT
Description: Schlankes App-Theme fuer die ARGO WM Community. Keine doppelte Website-Navigation auf Community-Seiten, reduzierte Typografie und viel Platz fuer das Plugin.
Version: 1.1.7
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: argo-wm-app-theme
*/

:root {
    --argo-yellow: #ffd400;
    --argo-ink: #101828;
    --argo-muted: #667085;
    --argo-green: #0f7a3a;
    --argo-bg: #f3f7f1;
    --argo-card: #ffffff;
    --argo-line: #e4e7ec;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 212, 0, .16), transparent 24rem),
        linear-gradient(180deg, #ffffff 0, var(--argo-bg) 24rem, var(--argo-bg) 100%);
    color: var(--argo-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
}

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

.argo-wm-site-header {
    padding: 16px;
}

.argo-wm-site-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.argo-wm-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -.02em;
}

.argo-wm-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--argo-yellow);
    box-shadow: 0 6px 16px rgba(16, 24, 40, .14);
}

.argo-wm-site-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px;
}

.argo-wm-app-page .argo-wm-site-main {
    max-width: none;
    padding: 0;
}

.argo-wm-article {
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 24px;
    border: 1px solid var(--argo-line);
    border-radius: 20px;
    background: rgba(255,255,255,.90);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.argo-wm-article h1 {
    margin-top: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.argo-wm-content :where(h2, h3, h4) {
    line-height: 1.18;
    letter-spacing: -.02em;
}

.argo-wm-footer {
    max-width: 1080px;
    margin: 20px auto 0;
    padding: 18px 16px 30px;
    color: var(--argo-muted);
    font-size: .9rem;
}

.argo-wm-app-page .argo-wm-site-header,
.argo-wm-app-page .argo-wm-footer {
    display: none;
}

.argo-wm-app-page {
    background: var(--argo-bg);
}

.argo-wm-app-page .wmc-shell {
    padding-top: 10px;
    padding-bottom: 26px;
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .argo-wm-site-header,
    .argo-wm-site-main {
        padding: 10px;
    }

    .argo-wm-article {
        padding: 16px;
        border-radius: 16px;
    }
}


/* Version 1.0.1: ARGO-Branding und gelb-gruene App-Basis */
:root {
    --argo-yellow: #ffd400;
    --argo-ink: #111827;
    --argo-green: #0f7a3a;
    --argo-green-dark: #075f2d;
}

body {
    background:
        radial-gradient(circle at top left, rgba(255,212,0,.26), transparent 24rem),
        repeating-linear-gradient(90deg, rgba(15,122,58,.045) 0 72px, rgba(15,122,58,.018) 72px 144px),
        linear-gradient(180deg, #fff8d7 0, #f3f7f1 22rem, #eef6ed 100%);
}

.argo-wm-site-header {
    padding-top: 18px;
}

.argo-wm-logo {
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.argo-wm-logo-img {
    width: 72px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(17,24,39,.14);
    background: var(--argo-yellow);
}

.argo-wm-logo-text {
    display: grid;
    gap: 2px;
}

.argo-wm-logo-title {
    font-size: 1.12rem;
    letter-spacing: -.03em;
}

.argo-wm-logo-subtitle {
    font-size: .84rem;
    color: #344054;
    font-weight: 700;
}

.argo-wm-article {
    border-color: rgba(17,24,39,.09);
    box-shadow: 0 14px 34px rgba(15,23,42,.07);
}

.argo-wm-article h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 6px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--argo-yellow), var(--argo-green));
}

@media (max-width: 640px) {
    .argo-wm-logo-img {
        width: 54px;
    }
    .argo-wm-logo-subtitle {
        display: none;
    }
}


/* Version 1.1.0: Feinschliff fuer WM-Startseite */
.argo-wm-app-page .argo-wm-site-main { min-height: 100vh; }


/* Version 1.1.3: Community button contrast safety */
.argo-wm-app-page a.wmc-button.wmc-button-secondary,
.argo-wm-app-page a.wmc-button.wmc-button-secondary:visited {
    color: #111827 !important;
}


/* Version 1.1.4: legal mini footer */
.argo-wm-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: center;
}
.argo-wm-footer a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(102,112,133,.32);
}
.argo-wm-footer a:hover {
    color: #111827;
    border-bottom-color: var(--argo-yellow);
}

/* Version 1.1.5: no visual change; paired with plugin 1.1.5 for launch install packages. */

/* Version 1.1.7: no visual theme change; version kept in sync with plugin. */
