. Шорткод в квадратных скобках не удаляйте. ===== */
.artms, .artms * { box-sizing: border-box; }
.artms {
--red: #a21210; --red-d: #841009; --ink: #281009; --mut: #7a6a5c;
--warm: #fcf9ef; --tint: #f6e9e4; --line: #d8cfc4; --edge: 16px;
font-family: "Montserrat", sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink);
}
.artms img { display: block; max-width: 100%; height: auto; }
.artms p { margin: 0 0 16px; }
.artms ul { list-style: none; margin: 0; padding: 0; }
.artms li { margin: 0; padding: 0; }
.artms figure { margin: 0; }
.artms h1, .artms h2 { font-family: "Cormorant Garamond", serif; font-weight: 400; color: var(--ink); letter-spacing: normal; }
.artms h1 { font-size: 28px; line-height: 1.15; margin: 0 0 8px; text-transform: none; }
.artms h2 { font-size: 24px; line-height: 1.2; margin: 0 0 24px; text-transform: uppercase; text-align: center; }
.artms .artms-bleed { position: relative; left: 50%; width: 100vw; margin-left: -50vw; }
.artms .artms-in { width: 100%; max-width: 1290px; margin: 0 auto; padding: 0 var(--edge); }
.artms .artms-sec { padding: 40px 0; }
.artms .artms-warm { background: var(--warm); padding: 48px 0; }
.artms .artms-tags { background: var(--tint); padding: 48px 0; }
.artms .artms-eyebrow { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mut); margin: 0 0 8px; }
.artms .artms-role { font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: .4px; color: var(--red); margin: 0 0 24px; }
/* портрет и текст */
.artms .artms-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.artms .artms-frame { position: relative; width: 100%; max-width: 360px; }
.artms .artms-frame::before { content: ""; position: absolute; inset: 14px -12px -14px 12px; border-radius: 12px; background: var(--tint); }
.artms .artms-frame img { position: relative; width: 100%; border-radius: 12px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--tint); }
.artms .artms-quote { margin: 24px 0 0; padding: 0 0 0 20px; border: 0; border-left: 3px solid var(--red); }
.artms .artms-quote p { font-family: "Cormorant Garamond", serif; font-size: 20px; line-height: 1.45; }
.artms .artms-quote p:last-child { margin-bottom: 0; }
.artms .artms-text p:last-child { margin-bottom: 0; }
/* кнопки по паспорту: красная заливка, при наведении темнее, текст остаётся белым */
.artms .artms-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 4px; cursor: pointer; text-decoration: none; text-align: center; box-shadow: none;
font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: .8px; text-transform: uppercase; }
.artms .artms-btn:visited { color: #fff; }
.artms .artms-btn:focus-visible { background: var(--red-d); border-color: var(--red-d); color: #fff; text-decoration: none; }
.artms .artms-btn--ghost { background: transparent; color: var(--red); }
.artms .artms-btn--ghost:visited { color: var(--red); }
.artms .artms-btn--ghost:focus-visible { background: var(--tint); border-color: var(--red-d); color: var(--red-d); }
.artms .artms-textbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; text-decoration: none; background: transparent; border: 0;
font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mut); }
.artms .artms-textbtn:visited { color: var(--mut); }
.artms .artms-textbtn:focus-visible { color: var(--red); text-decoration: none; }
.artms a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.artms .artms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; }
.artms .artms-actions--c { justify-content: center; margin-top: 32px; }
.artms .artms-actions > div { margin: 0; }
/* сетка товаров: блок прячется сам, если в нём нет ни одной карточки товара */
.artms .artms-goods:not(:has(li.product)) { display: none; }
/* плитки-теги с именами других мастериц: эталон плитки с главной (прозрачная, рамка 1px красная, радиус 3, Montserrat 400 капсом 14px, ink) */
.artms .artms-tagrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.artms .artms-tag { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; background: transparent; border: 1px solid var(--red); border-radius: 3px; text-decoration: none; text-align: center; box-shadow: none;
font-family: "Montserrat", sans-serif; font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: .4px; text-transform: uppercase; color: var(--ink); }
.artms .artms-tag:visited { color: var(--ink); }
.artms .artms-tag:focus-visible { background: var(--warm); color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
.artms .artms-btn:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; text-decoration: none; }
.artms .artms-btn--ghost:hover { background: var(--tint); border-color: var(--red-d); color: var(--red-d); }
.artms .artms-textbtn:hover { background: transparent; color: var(--red); text-decoration: none; }
.artms .artms-tag:hover { background: var(--warm); color: var(--ink); text-decoration: none; }
}
/* Тема сайта принудительно (!important) подчёркивает и красит ссылки внутри списков и абзацев (правило .entry-content li a / p a в Additional CSS).
Для плиток, текстовых кнопок и карточек видео подчёркивания нет по паспорту, поэтому здесь они возвращены с !important и большей точностью селектора (три :not(.x) нужны только для этого). */
.artms a.artms-tag:not(.x):not(.y):not(.z), .artms a.artms-tag:not(.x):not(.y):not(.z):visited { text-decoration: none !important; color: var(--ink) !important; }
.artms a.artms-textbtn:not(.x):not(.y):not(.z), .artms a.artms-textbtn:not(.x):not(.y):not(.z):visited { text-decoration: none !important; color: var(--mut) !important; }
.artms a.artms-textbtn:not(.x):not(.y):not(.z):focus-visible { color: var(--red) !important; }
@media (hover: hover) and (pointer: fine) {
.artms a.artms-tag:not(.x):not(.y):not(.z):hover { text-decoration: none !important; color: var(--ink) !important; }
.artms a.artms-textbtn:not(.x):not(.y):not(.z):hover { text-decoration: none !important; color: var(--red) !important; }
}
@media (min-width: 768px) {
.artms { --edge: 24px; }
.artms h1 { font-size: 40px; }
.artms h2 { font-size: 28px; }
.artms .artms-sec { padding: 64px 0; }
.artms .artms-warm, .artms .artms-tags { padding: 72px 0; }
.artms .artms-quote p { font-size: 22px; }
}
@media (min-width: 960px) {
.artms .artms-split { grid-template-columns: 5fr 7fr; gap: 64px; }
.artms .artms-frame { max-width: 460px; position: sticky; top: 120px; }
}