/** Royal RedBlue: semantic materials, shared geometry and typography. */
.cn-style-royal-redblue { color: var(--premium-ink); --premium-hover-shadow: 0 6px 16px #0d1b4c12; }
.cn-style-royal-redblue .site-start { background: var(--premium-surface); }
.cn-style-royal-redblue :is(.countynews-categories, .countynews-category-list) {
    --category-ink: var(--premium-ink);
    --category-line: var(--premium-line);
    --category-surface: var(--premium-surface);
}
.cn-style-royal-redblue :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-royal-redblue .pagination .page-numbers:not(.current):not(.dots) { background-color: var(--premium-surface); border-color: var(--premium-line); }
.cn-style-royal-redblue :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-royal-redblue :is(.countynews-category-list a:hover, #secondary .widget_categories li:hover) { background: color-mix(in srgb, var(--countynews-accent) 5%, var(--premium-surface)); border-color: color-mix(in srgb, var(--countynews-accent) 45%, var(--premium-line)); }
.cn-style-royal-redblue :is(.countynews-card:hover, .countynews-card:focus-within, .countynews-hero-card:hover, .countynews-hero-card:focus-within) { border-color: color-mix(in srgb, var(--countynews-accent) 45%, var(--premium-line)); }
.cn-style-royal-redblue .cn-edition-mark { color: var(--countynews-detail); }
.cn-style-royal-redblue .cn-edition-mark::before { width: 26px; height: 26px; border-radius: 0; box-shadow: none; clip-path: none; background: currentColor; mask: url('../icons/editorial/tandem-bars.svg') center / contain no-repeat; }
.cn-style-royal-redblue .cn-edition-mark::after { content: none; }
.cn-style-royal-redblue .cn-single-article .entry-content :is(h2, h3, h4)::before,
.cn-style-royal-redblue .cn-error-mark { mask-image: url('../icons/editorial/tandem-bars.svg'); }
.cn-style-royal-redblue .cn-single-article .entry-content :is(h2, h3, h4)::before { background-color: var(--countynews-theme-color); }
.cn-style-royal-redblue #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-royal-redblue .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-royal-redblue :is(.countynews-hero-card, .countynews-hero-latest) { background: var(--premium-surface); }
.cn-style-royal-redblue .entry-content a:hover { color: var(--countynews-accent); }
@media (max-width: 599px) {
    .cn-style-royal-redblue .countynews-hero-lead { background: var(--premium-surface); }
}

/* Shared category identity across widgets and all article-card grids, scoped to this style. */
.cn-style-royal-redblue :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-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="auto"] { --cn-category-tone: #244a87; --cn-category-glyph: url('../icons/categories/auto.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="beauty"] { --cn-category-tone: #b84360; --cn-category-glyph: url('../icons/categories/beauty.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="business"] { --cn-category-tone: #886516; --cn-category-glyph: url('../icons/categories/business.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="casa-si-gradina"] { --cn-category-tone: #477080; --cn-category-glyph: url('../icons/categories/casa-si-gradina.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="diverse"] { --cn-category-tone: #947611; --cn-category-glyph: url('../icons/categories/diverse.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="fashion"] { --cn-category-tone: #795785; --cn-category-glyph: url('../icons/categories/fashion.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="lifestyle"] { --cn-category-tone: #526b91; --cn-category-glyph: url('../icons/categories/lifestyle.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="sanatate"] { --cn-category-tone: #bc3e3a; --cn-category-glyph: url('../icons/categories/sanatate.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="tehnologie"] { --cn-category-tone: #214eb4; --cn-category-glyph: url('../icons/categories/tehnologie.svg'); }
.cn-style-royal-redblue :is(.countynews-category-list, #secondary .widget_categories, .content-loop--hero-cards .entry-category) [data-category="travel"] { --cn-category-tone: #307a91; --cn-category-glyph: url('../icons/categories/travel.svg'); }
/* Masks retain the original SVG geometry and apply the exact category color. */
.cn-style-royal-redblue .countynews-category-list img { display: none; }
.cn-style-royal-redblue .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-royal-redblue #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-royal-redblue .countynews-category-list a::before { flex-basis: 38px; width: 38px; height: 38px; }
}

/* Navy grounds the strong primary colors; gold is a small decorative accent. */
.cn-style-royal-redblue :is(.cn-edition--journal, .cn-edition--gallery) { background-color: #0d1b4c; }
.cn-style-royal-redblue .cn-footer .cn-footer-shell { background: #0d1b4c; border-color: #0d1b4c; }
.cn-style-royal-redblue .cn-footer .widget { background: #0d1b4c; }

.cn-style-royal-redblue .cn-edition--focus .cn-edition-mark { color: var(--countynews-theme-color); }
.cn-style-royal-redblue .countynews-latest-list a::before { background: var(--countynews-theme-color); }
.cn-style-royal-redblue .countynews-partners { color: var(--premium-ink); }
.cn-style-royal-redblue :is(.countynews-partner-brand, .countynews-partner-logo) { background: #f7f8fc; }
.cn-style-royal-redblue .countynews-partner-brand::before,
.cn-style-royal-redblue .countynews-partner-brand:only-child::before { border-color: var(--premium-line); }
.cn-style-royal-redblue .countynews-partner-brand::after { background: var(--premium-line); }
.cn-style-royal-redblue .countynews-partner-mark { border-color: var(--premium-line); color: var(--countynews-accent); }
.cn-style-royal-redblue .countynews-partner-external { color: var(--countynews-accent) !important; }
.cn-style-royal-redblue .countynews-partner-external:hover { background: #f7f8fc; }
.cn-style-royal-redblue :is(.countynews-partner-metrics, .countynews-partner-price) { background: #0d1b4c; border-color: var(--premium-line); }
.cn-style-royal-redblue :is(.countynews-partner-metric > span, .countynews-partner-price legend) { color: var(--countynews-detail); }
.cn-style-royal-redblue :is(.countynews-partner-metric > strong, .countynews-partner-amount, .countynews-partner-currency, .countynews-partner-tax) { color: #fff; }
.cn-style-royal-redblue .countynews-partner-price fieldset { border-color: #ffffff40; }
@media (max-width: 599px) {
    .cn-style-royal-redblue :is(.cn-edition--journal, .cn-edition--gallery) { background: transparent; --phone-edition-surface: #0d1b4c; }
}

/* Dark-panel actions brighten on hover/focus, retaining their size and arrow motion. */
.cn-style-royal-redblue .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-royal-redblue .countynews-partners a:focus-visible { outline-color: var(--countynews-accent); }

.cn-style-royal-redblue #secondary .widget { background-color: var(--premium-surface); border-color: var(--premium-line); }

.cn-style-royal-redblue { --cn-hero-shade: #0d1b4c; }
