:root {
    --dmp-bg: #f7f4ef;
    --dmp-surface: #ffffff;
    --dmp-text: #111111;
    --dmp-muted: #6e685f;
    --dmp-border: rgba(17, 17, 17, 0.08);
    --dmp-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    --dmp-radius: 24px;
    --dmp-accent: #FF3131;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--dmp-bg);
    color: var(--dmp-text);
    font-family: Inter, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.dmp-site-shell {
    min-height: 100vh;
}

.dmp-site-main {
    min-height: 100vh;
}

.dmp-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.dmp-content-wrap {
    padding: 48px 0 84px;
}

.dmp-page-builder-layout,
.dmp-builder-content,
.dmp-front-builder-layout {
    width: 100%;
}

.dmp-builder-content .dmp-entry-content,
.dmp-builder-article {
    margin: 0;
    padding: 0;
}

.dmp-article-card {
    background: var(--dmp-surface);
    border: 1px solid var(--dmp-border);
    border-radius: var(--dmp-radius);
    box-shadow: var(--dmp-shadow);
    padding: 34px;
}

.dmp-entry-header {
    margin-bottom: 20px;
}

.dmp-entry-title,
.dmp-card-title {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 700;
}

.dmp-card-title {
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 14px;
}

.dmp-entry-content {
    color: var(--dmp-muted);
    font-size: 17px;
    line-height: 1.7;
}

.dmp-entry-content > *:first-child {
    margin-top: 0;
}

.dmp-entry-content > *:last-child {
    margin-bottom: 0;
}

.dmp-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.dmp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--dmp-accent);
    color: #fff;
    font-weight: 700;
}

body.dmp-builder-page .dmp-content-wrap,
body.dmp-builder-page .dmp-page-builder-layout {
    padding-top: 0;
    padding-bottom: 0;
}

body.dmp-builder-page .dmp-site-main {
    overflow-x: hidden;
}

@media (max-width: 991px) {
    .dmp-container {
        width: min(100%, calc(100% - 36px));
    }

    .dmp-article-card {
        padding: 26px;
    }

    .dmp-post-grid {
        grid-template-columns: 1fr;
    }
}
