/** Elegant Touch: semantic materials, shared geometry and typography. */
.cn-style-elegant-touch { color: var(--premium-ink); --premium-hover-shadow: 0 6px 16px #641d3612; }
.cn-style-elegant-touch .site-start { background: var(--premium-surface); }
.cn-style-elegant-touch :is(.countynews-categories, .countynews-category-list) {
    --category-ink: var(--premium-ink);
    --category-line: var(--premium-line);
    --category-surface: var(--premium-surface);
}
.cn-style-elegant-touch :is(.countynews-category-list a, .countynews-card, .countynews-partner-card, .cn-single-prose-column, .cn-post-author, .cn-single-related, .cn-breadcrumbs) { background-color: var(--premium-surface); border-color: var(--premium-line); }
.cn-style-elegant-touch .pagination .page-numbers:not(.current):not(.dots) { background-color: var(--premium-surface); border-color: var(--premium-line); }
.cn-style-elegant-touch :is(.cn-home-category-count, #secondary .cn-sidebar-category-count, .countynews-card .entry-category a) { background: var(--premium-surface); color: var(--premium-ink); border-color: var(--premium-line); }
.cn-style-elegant-touch :is(.countynews-category-list a:hover, #secondary .widget_categories li:hover) { background: color-mix(in srgb, var(--countynews-detail) 10%, var(--premium-surface)); border-color: var(--countynews-detail); }
.cn-style-elegant-touch :is(.countynews-card:hover, .countynews-card:focus-within, .countynews-hero-card:hover, .countynews-hero-card:focus-within) { border-color: var(--countynews-detail); }
.cn-style-elegant-touch .cn-edition-mark { color: var(--countynews-detail); }
.cn-style-elegant-touch .cn-edition-mark::before { width: 26px; height: 26px; border-radius: 0; box-shadow: none; clip-path: none; background: currentColor; mask: url('../icons/editorial/silk-spark.svg') center / contain no-repeat; }
.cn-style-elegant-touch .cn-edition-mark::after { content: none; }
.cn-style-elegant-touch .cn-single-article .entry-content :is(h2, h3, h4)::before,
.cn-style-elegant-touch .cn-error-mark { mask-image: url('../icons/editorial/silk-spark.svg'); }
.cn-style-elegant-touch #primary-nav .sf-menu > li:is(.current-menu-item, .current-menu-ancestor) > a { background: var(--premium-surface); border-color: var(--premium-surface); color: var(--countynews-nav-readable); }
.cn-style-elegant-touch .pagination .page-numbers:is(.current, :hover, :focus-visible):not(.dots) { background: var(--countynews-accent); border-color: var(--countynews-accent); color: var(--countynews-nav-text); }
.cn-style-elegant-touch :is(.countynews-hero-card, .countynews-hero-latest) { background: var(--premium-surface); }
.cn-style-elegant-touch .entry-content a,
.cn-style-elegant-touch .entry-content a:visited { color: color-mix(in srgb, var(--countynews-theme-color) 60%, var(--premium-ink)); }
.cn-style-elegant-touch .entry-content a:hover { color: var(--countynews-accent); }
@media (max-width: 599px) {
    .cn-style-elegant-touch .countynews-hero-lead { background: var(--premium-surface); }
}

/* Shared category identity across widgets and all article-card grids, scoped to this style. */
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category] {
    --cn-category-tone: var(--countynews-theme-color);
    --cn-category-glyph: url('../icons/categories/diverse.svg');
    --category-dot: var(--cn-category-tone);
    --single-category-color: var(--cn-category-tone);
}
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="auto"] { --cn-category-tone: #6b7187; --cn-category-glyph: url('../icons/categories/auto.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="beauty"] { --cn-category-tone: #b66d80; --cn-category-glyph: url('../icons/categories/beauty.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="business"] { --cn-category-tone: #96734f; --cn-category-glyph: url('../icons/categories/business.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="casa-si-gradina"] { --cn-category-tone: #75835e; --cn-category-glyph: url('../icons/categories/casa-si-gradina.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="diverse"] { --cn-category-tone: #8a7782; --cn-category-glyph: url('../icons/categories/diverse.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="fashion"] { --cn-category-tone: #92729d; --cn-category-glyph: url('../icons/categories/fashion.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="lifestyle"] { --cn-category-tone: #5e817b; --cn-category-glyph: url('../icons/categories/lifestyle.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="sanatate"] { --cn-category-tone: #a96a71; --cn-category-glyph: url('../icons/categories/sanatate.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="tehnologie"] { --cn-category-tone: #647b99; --cn-category-glyph: url('../icons/categories/tehnologie.svg'); }
.cn-style-elegant-touch :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="travel"] { --cn-category-tone: #67838e; --cn-category-glyph: url('../icons/categories/travel.svg'); }
/* Masks retain the original SVG geometry and apply the exact category color. */
.cn-style-elegant-touch .countynews-category-list img { display: none; }
.cn-style-elegant-touch .countynews-category-list a::before {
    content: "";
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    background: var(--cn-category-tone);
    mask: var(--cn-category-glyph) center / contain no-repeat;
}
.cn-style-elegant-touch #secondary .widget_categories li > a::before {
    background: var(--cn-category-tone);
    mask: var(--cn-category-glyph) center / contain no-repeat;
    filter: none;
}
@media (max-width: 599px) {
    .cn-style-elegant-touch .countynews-category-list a::before { flex-basis: 38px; width: 38px; height: 38px; }
}
/* Sky blue on midnight, deep blue on white: compact blocks with readable contrast. */
.cn-style-elegant-touch :is(.cn-edition--journal, .cn-edition--gallery) .cn-edition-mark { color: #e9bfc6; }
.cn-style-elegant-touch .countynews-latest-list a::before { background: var(--countynews-theme-color); }
.cn-style-elegant-touch .countynews-partners { color: var(--premium-ink); }
.cn-style-elegant-touch .countynews-partner-brand::before,
.cn-style-elegant-touch .countynews-partner-brand:only-child::before { border-color: var(--premium-line); }
.cn-style-elegant-touch .countynews-partner-brand::after { background: var(--premium-line); }
.cn-style-elegant-touch .countynews-partner-mark { border-color: var(--premium-line); color: var(--countynews-accent); }
.cn-style-elegant-touch .countynews-partner-external { color: var(--countynews-accent) !important; }
.cn-style-elegant-touch .countynews-partner-external:hover { background: #fff4f1; }
.cn-style-elegant-touch :is(.countynews-partner-metrics, .countynews-partner-price) { background: var(--countynews-accent); border-color: var(--premium-line); }
.cn-style-elegant-touch :is(.countynews-partner-metric > strong, .countynews-partner-amount, .countynews-partner-currency, .countynews-partner-tax) { color: var(--countynews-nav-text); }
.cn-style-elegant-touch .countynews-partner-price fieldset { border-color: #fff4f140; }

.cn-style-elegant-touch .cn-single-article .entry-content :is(h2, h3, h4)::before { background-color: var(--countynews-detail); }

.cn-style-elegant-touch #secondary .widget { background-color: var(--premium-surface); border-color: var(--premium-line); }
.cn-style-elegant-touch .cn-edition:is(.cn-edition--journal, .cn-edition--gallery) .cn-edition-head a:is(:hover, :focus-visible) { color: var(--countynews-panel-title-hover); }
.cn-style-elegant-touch .countynews-partners a:focus-visible { outline-color: var(--countynews-accent); }


.cn-style-elegant-touch :is(.countynews-partner-brand, .countynews-partner-logo) { background: #f5e2e4; }
.cn-style-elegant-touch :is(.countynews-partner-metric > span, .countynews-partner-price legend) { color: var(--countynews-nav-text); }
.cn-style-elegant-touch .cn-edition--focus .cn-edition-head a:is(:hover, :focus-visible) { color: var(--premium-ink); }
.cn-style-elegant-touch .cn-edition--journal .cn-edition-story--compact .cn-edition-story-link::before { background: #e9bfc6; }

.cn-style-elegant-touch .cn-edition--focus .cn-edition-story-link:focus-visible,
.cn-style-elegant-touch .cn-edition--focus .cn-edition-story:has(> .cn-edition-story-link:focus-visible) { outline-color: var(--premium-ink); }
.cn-style-elegant-touch .cn-edition:is(.cn-edition--journal, .cn-edition--gallery) .cn-edition-story-link:focus-visible,
.cn-style-elegant-touch .cn-edition:is(.cn-edition--journal, .cn-edition--gallery) .cn-edition-story:has(> .cn-edition-story-link:focus-visible) { outline-color: var(--countynews-nav-text); }
.cn-style-elegant-touch .cn-error-mark { background: #e9bfc6; }

.cn-style-elegant-touch { --cn-hero-shade: #641d36; }

/* Editorial heading badges follow this edition's Customizer Menu Color. */
.cn-style-elegant-touch .countynews-latest-head .cn-section-badge,
.cn-style-elegant-touch .countynews-recent-heading .cn-section-badge,
body.cn-style-elegant-touch:is(.archive, .search) .breadcrumbs h1.cn-section-badge {
    background: var(--countynews-accent);
}

/* A quieter reading-section label, with clear separation between its words. */
.cn-style-elegant-touch .countynews-recent-heading .cn-section-badge,
body.cn-style-elegant-touch:is(.archive, .search) .breadcrumbs h1.cn-section-badge {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .04em;
    word-spacing: .2em;
}
body.cn-style-elegant-touch:is(.single-post, .page) #secondary .widget_recent_entries > .widget-title,
.cn-style-elegant-touch .cn-single-related:not(.cn-single-recommended) .cn-related-head h2 {
    background: var(--countynews-accent);
}

/* Navigation labels: one pixel above the shared size at each breakpoint. */
.cn-style-elegant-touch #primary-nav .sf-menu a {
    font-size: 15px;
    text-transform: uppercase;
}
.cn-style-elegant-touch #primary-nav .sf-menu li li a { font-size: 14px; }
@media (min-width: 1170px) and (max-width: 1279px) {
    .cn-style-elegant-touch #primary-nav .sf-menu > li > a { padding-inline: 8px; }
}
@media (min-width: 1001px) and (max-width: 1169px) {
    .cn-style-elegant-touch #primary-nav .sf-menu > li > a { font-size: 14px; padding-inline: 5px; }
}
@media (min-width: 960px) and (max-width: 1000px) {
    .cn-style-elegant-touch #primary-nav .sf-menu > li > a { font-size: 13px; }
}
@media (max-width: 959px) {
    .cn-style-elegant-touch #primary-nav .sf-menu a,
    .cn-style-elegant-touch #primary-nav .sf-menu li li a { font-size: 16px; }
}
