:root {
    --brand-green: #00964F;
    --brand-green-dark: #007a40;
    --text: #1f2933;
    --muted: #5b6670;
    --border: #d9e2e8;
    --surface: #ffffff;
    --bg: #f3f6f8;
    --max-width: 1100px;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(180deg, #eaf5ef 0%, var(--bg) 220px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-green-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#mobile-telltale,
#tablet-telltale,
#widescreen-telltale {
    display: none;
}

#device-screen {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
}

#work-area {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Header */

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

#klz-logo-container {
    flex: 0 1 320px;
}

#eyelocc-logo-container {
    flex: 0 1 220px;
    display: flex;
    justify-content: flex-end;
}

#klz-logo-image,
#eyelocc-logo-image {
    width: 100%;
    height: auto;
}

/* Main inserted content area */
#header + *:not(#footer) {
    padding: 32px;
}

#header + *:not(#footer) h1,
#header + *:not(#footer) h2,
#header + *:not(#footer) h3 {
    margin-top: 0;
    line-height: 1.2;
    color: var(--text);
}

#header + *:not(#footer) p {
    margin: 0 0 1rem;
}

#header + *:not(#footer) ul,
#header + *:not(#footer) ol {
    padding-left: 1.25rem;
}

#header + *:not(#footer) .panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

#header + *:not(#footer) .panel {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

#header + *:not(#footer) .slideshow {
    margin-bottom: 32px;
}

#header + *:not(#footer) .slide-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

#header + *:not(#footer) .slide-image-box {
    background: #f8fafb;
}

#header + *:not(#footer) .slide-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin: 0;
}

#header + *:not(#footer) .slide-caption-box {
    padding: 16px 20px;
    text-align: center;
}

#header + *:not(#footer) .slide-caption-p {
    margin: 0;
    color: var(--muted);
}

/* Footer */

#footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px 32px 28px;
    background: var(--brand-green);
    color: #ffffff;
}

.footer-box p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.5;
    text-align: center;
}

/* Responsive */

@media (max-width: 767px) {
    #device-screen {
        padding: 12px;
    }

    #work-area {
        border-radius: 0;
    }

    #header {
        flex-direction: column;
        align-items: center;
        padding: 20px 18px;
        text-align: center;
    }

    #klz-logo-container,
    #eyelocc-logo-container {
        flex: none;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    #header + *:not(#footer) {
        padding: 20px 18px;
    }

    #content{
        padding:20px 200px;
        text-align: center;
        border:1px solid red;
    }
    #footer {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 18px 24px;
    }

    .footer-box p {
        font-size: 0.92rem;
    }
}