/* ==========================================================================
   Demo skin — Dotline (header 13 · Gallery Wall grid · single 17)
   Dotted gallery wall headers, Chillax exhibition titles, matted & framed
   thumbnails, wall-label comments and sharp black/pink buttons.
   ========================================================================== */
html[data-demo="dotline"] {
    --sk-radius: 0px; --sk-field-radius: 0px; --sk-btn-radius: 0px;
    --sk-head-bg: #f5f3ef; --sk-head-fg: var(--text-main); --sk-head-muted: var(--text-muted);
    --sk-head-align: left;
    --sk-label-font: var(--font-body); --sk-label-size: 11px; --sk-label-weight: 600; --sk-label-ls: 3.5px; --sk-label-tt: uppercase;
    --sk-title-weight: 600; --sk-title-tt: none; --sk-title-ls: -0.03em; --sk-title-style: normal;
    --sk-btn-tt: uppercase; --sk-btn-ls: 3px;
    --sk-soft: transparent;
    --dl-dot: rgba(17, 17, 17, .12);
    --dl-mat: #ffffff;
    --dl-frame: #111111;
    --dl-label: #ffffff;
    --dl-ink: #111111;
}
html[data-demo="dotline"][data-theme="dark"] {
    --sk-head-bg: #121214;
    --dl-dot: rgba(255, 255, 255, .08);
    --dl-mat: #e9e5de;
    --dl-frame: #000000;
    --dl-label: #1a1a1d;
    --dl-ink: #f4f4f5;
}
html[data-demo="dotline"] :is(.archive-title, .author-name, .comments-title, .comment-reply-title, .error-title, .classic-article-row .headline, .vt-grid-circle h3, .comment-author) { font-family: 'Chillax', var(--font-heading), sans-serif; }

/* --- Archive header: dotted gallery wall + exhibition title --- */
html[data-demo="dotline"] .archive-header,
html[data-demo="dotline"] .author-hero-section {
    background: radial-gradient(circle, var(--dl-dot) 1.2px, transparent 1.6px) 0 0 / 18px 18px, var(--sk-head-bg);
    border-bottom: 1.5px solid var(--dl-ink);
}
html[data-demo="dotline"] .archive-header { padding: 84px 24px 70px; }
html[data-demo="dotline"] .archive-label { gap: 10px; color: var(--text-main); }
html[data-demo="dotline"] .archive-label::before {
    /* 3 × 3 dot-matrix mark */
    content: ''; width: 11px; height: 11px; opacity: 1;
    background:
        radial-gradient(circle, var(--accent) 1.5px, transparent 1.9px) 50% 50% / 11px 11px no-repeat,
        radial-gradient(circle, currentColor 1.2px, transparent 1.6px) -.5px -.5px / 4px 4px;
}
html[data-demo="dotline"] .archive-label::after { width: 46px; height: 1px; background: var(--accent); opacity: 1; }
html[data-demo="dotline"] .archive-title { max-width: 980px; margin-bottom: 18px; font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.6rem); line-height: 1.02; }
html[data-demo="dotline"] .archive-title::after { content: ''; display: block; width: 10px; height: 10px; margin: 22px 0 0; border-radius: 50%; background: var(--accent); box-shadow: 18px 0 0 color-mix(in srgb, var(--accent) 45%, transparent), 36px 0 0 color-mix(in srgb, var(--accent) 20%, transparent); }
html[data-demo="dotline"] .archive-tag-prefix { color: var(--accent-text, var(--accent)); }
html[data-demo="dotline"] .archive-desc { max-width: 620px; margin-left: 0; font-size: 1.02rem; line-height: 1.7; }
html[data-demo="dotline"] .archive-header .vt-circle-img { border-color: var(--dl-mat); box-shadow: 0 0 0 3px var(--dl-frame), 0 22px 36px -20px rgba(0, 0, 0, .5); }
html[data-demo="dotline"] .author-avatar { box-shadow: 0 0 0 6px var(--dl-mat), 0 0 0 9px var(--dl-frame); }
html[data-demo="dotline"] .author-role { background: var(--dl-label); color: var(--accent-text, var(--accent)); border: 1px solid var(--border); }

/* --- Classic rows: framed thumbnails, wall-label tags --- */
html[data-demo="dotline"] .classic-article-row .headline { font-weight: 600; letter-spacing: -.015em; }
html[data-demo="dotline"] .classic-article-row .headline a:hover { color: var(--accent-text, var(--accent)); }
html[data-demo="dotline"] .classic-meta-time { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
html[data-demo="dotline"] .classic-thumb { border: 7px solid var(--dl-mat); border-radius: 0; background: var(--dl-mat); box-shadow: 0 0 0 2px var(--dl-frame), 0 22px 30px -24px rgba(17, 17, 17, .5); transition: transform .3s ease, box-shadow .3s ease; }
html[data-demo="dotline"] .classic-thumb img { border-radius: 0; }
html[data-demo="dotline"] .classic-article-row:hover .classic-thumb { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--dl-frame), 0 30px 36px -24px rgba(17, 17, 17, .6); }
html[data-demo="dotline"] .category-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--text-main); font-size: 10.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; }
html[data-demo="dotline"] .category-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
html[data-demo="dotline"] .card-cat { color: var(--accent-text, var(--accent)); letter-spacing: 2px; }
html[data-demo="dotline"] .article-card .card-thumb, html[data-demo="dotline"] .article-card .card-thumb img { border-radius: 0; }

/* --- Buttons & pagination --- */
html[data-demo="dotline"] .load-more-btn,
html[data-demo="dotline"] .submit-btn { padding: 16px 38px; border: 1.5px solid var(--dl-ink); background: var(--dl-ink); color: var(--bg-body); font-size: 11px; font-weight: 600; }
html[data-demo="dotline"] .load-more-btn:hover,
html[data-demo="dotline"] .submit-btn:hover { border-color: var(--accent); background: var(--accent-fill, var(--accent)); color: var(--on-accent-fill, #fff); box-shadow: 6px 6px 0 var(--dl-ink); transform: translate(-2px, -2px); }
html[data-demo="dotline"] .ep-pagination.numeric-pagination a,
html[data-demo="dotline"] .ep-pagination.numeric-pagination span { border-color: var(--border); font-weight: 600; }
html[data-demo="dotline"] .ep-pagination.numeric-pagination a:hover { border-color: var(--dl-ink); color: var(--text-main); }
html[data-demo="dotline"] .ep-pagination.numeric-pagination span.current { border-color: var(--dl-ink); background: var(--dl-ink); color: var(--bg-body); box-shadow: inset 0 -3px 0 var(--accent); }

/* --- Comments: museum wall labels --- */
html[data-demo="dotline"] .comments-area { border-width: 1.5px 0 0; border-color: var(--dl-ink); padding-left: 0; padding-right: 0; }
html[data-demo="dotline"] .comments-title,
html[data-demo="dotline"] .comment-reply-title { padding-bottom: 0; font-size: 1.5rem; }
html[data-demo="dotline"] .comment-reply-title::after { display: none; }
html[data-demo="dotline"] .comments-title::after { position: static; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; vertical-align: middle; }
html[data-demo="dotline"] .comment-content-wrap { border: 1px solid var(--border); border-radius: 0; background: var(--dl-label); box-shadow: 0 12px 24px -20px rgba(17, 17, 17, .4); }
html[data-demo="dotline"][data-hs] .comment-content-wrap { padding: 18px 22px 14px; } /* header 13 removes the side padding; Dotline keeps the framed card */
@media (max-width: 600px) { html[data-demo="dotline"][data-hs] .comment-content-wrap { padding: 14px 16px 12px; } }
html[data-demo="dotline"] .comment-author { font-weight: 600; }
html[data-demo="dotline"] .comment-date { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
html[data-demo="dotline"] .comment-avatar img { border-radius: 0; border: 4px solid var(--dl-mat); box-shadow: 0 0 0 2px var(--dl-frame); }
html[data-demo="dotline"] .comment-reply-link { color: var(--accent-text, var(--accent)); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
html[data-demo="dotline"] .comment-form textarea,
html[data-demo="dotline"] .comment-form input[type="text"],
html[data-demo="dotline"] .comment-form input[type="email"],
html[data-demo="dotline"] .comment-form input[type="url"],
html[data-demo="dotline"] #commentform textarea,
html[data-demo="dotline"] #commentform input[type="text"],
html[data-demo="dotline"] #commentform input[type="email"] { border: 0; border-bottom: 1.5px solid var(--border); background: transparent; padding-left: 2px; }
html[data-demo="dotline"] .comment-form textarea:focus,
html[data-demo="dotline"] .comment-form input:focus,
html[data-demo="dotline"] #commentform textarea:focus,
html[data-demo="dotline"] #commentform input:focus { border-color: var(--accent); background: transparent; box-shadow: 0 1.5px 0 var(--accent); }

/* --- Taxonomy index: framed roundels --- */
html[data-demo="dotline"] .vt-circle-img { border: 6px solid var(--dl-mat); box-shadow: 0 0 0 2px var(--dl-frame), 0 18px 30px -20px rgba(0, 0, 0, .45); }
html[data-demo="dotline"] .vt-grid-circle a:hover .vt-circle-img { box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px color-mix(in srgb, var(--accent) 18%, transparent); }
html[data-demo="dotline"] .vt-grid-circle h3 { font-weight: 600; letter-spacing: -.01em; }

@media (max-width: 768px) {
    html[data-demo="dotline"] .archive-header { padding: 54px 20px 46px; }
    html[data-demo="dotline"] .classic-thumb { border-width: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-demo="dotline"] .classic-thumb { transition: none; }
}
