/*
Theme Name: Duhoviti Nova
Theme URI: https://duhoviti.com/
Author: Duhoviti
Description: Lightweight, accessible editorial theme prototype for Duhoviti.com.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: duhoviti-nova
*/

:root {
	color-scheme: light;
	--ink: #102b3c;
	--muted: #52636e;
	--paper: #ffffff;
	--canvas: #f4f6f7;
	--line: #d5dfe4;
	--brand: #008fd3;
	--brand-dark: #006d9f;
	--accent: #ffcc00;
	--content: 82rem;
	--reading: 49rem;
	font-family: "DM Sans", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-underline-offset: .18em; }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 1000; inset: .5rem auto auto .5rem; transform: translateY(-180%); padding: .65rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.site-header { border-top: .35rem solid var(--brand); border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .site-main, .site-footer-inner { width: min(var(--content), calc(100% - 2rem)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.5rem; }
.header-inner > div { flex: 0 0 auto; max-width: 34%; }
.site-branding { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-weight: 850; font-size: 1.45rem; letter-spacing: -.04em; }
.custom-logo { display: block; width: auto; max-height: 3.5rem; }
.site-description { display: none; }
.menu-toggle { display: none; }
.primary-navigation { display: flex; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.primary-navigation > ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .2rem; margin: 0; padding: .35rem; border-radius: 999px; background: var(--ink); list-style: none; }
.primary-navigation li { position: relative; }
.primary-navigation .sub-menu { position: absolute; z-index: 50; top: 100%; left: 0; display: none; min-width: 15rem; max-height: min(70vh, 32rem); overflow: auto; margin: 0; padding: .4rem; border: 1px solid var(--line); border-radius: .75rem; background: white; box-shadow: 0 .6rem 1.5rem rgba(48, 35, 59, .16); list-style: none; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.primary-navigation a { display: block; padding: .65rem .75rem; color: white; font-size: .94rem; font-weight: 700; text-decoration: none; border-radius: 999px; }
.primary-navigation .sub-menu a { padding: .48rem .7rem; border-radius: .4rem; color: var(--ink); white-space: nowrap; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { background: var(--brand); color: white; }
.site-main { min-height: 60vh; padding-block: 2rem 4rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1rem; border-bottom: 1px solid var(--line); }
.section-heading h2, .section-heading h1 { margin: 0 0 .55rem; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
.section-heading a { color: inherit; text-decoration: none; }
.eyebrow { margin: 0 0 .15rem; color: var(--brand-dark); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.latest-news { margin: 0 0 2.3rem; padding: 1.2rem clamp(1rem, 2.5vw, 1.7rem) 1.5rem; border: 1px solid var(--line); border-top: .3rem solid var(--brand); border-radius: .9rem; background: linear-gradient(115deg, #eef8fc, #ffffff 65%); box-shadow: 0 .7rem 1.8rem rgba(23, 58, 88, .07); }
.latest-news-heading { align-items: end; margin: 0 0 1rem; border-bottom: 1px solid var(--line); }
.latest-news-heading h2 { margin-bottom: .7rem; }
.latest-news-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: .8rem 1.4rem; }
.latest-news-card { min-width: 0; }
.latest-news-card--lead { grid-row: span 3; display: flex; flex-direction: column; overflow: hidden; border-radius: .7rem; background: white; }
.latest-news-image { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: #d9eff8; }
.latest-news-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.latest-news-thumb { display: block; grid-row: span 2; align-self: stretch; min-height: 6.2rem; overflow: hidden; border-radius: .45rem; background: #d9eff8; }
.latest-news-thumb img { display: block; width: 100%; height: 100%; min-height: 6.2rem; object-fit: cover; }
.latest-news-copy { padding: .25rem 0 .55rem; }
.latest-news-card--lead .latest-news-copy { padding: 1rem 1.1rem 1.1rem; }
.latest-news-card h3 { margin: .4rem 0 .2rem; font-size: 1rem; line-height: 1.32; }
.latest-news-card--lead h3 { font-size: clamp(1.25rem, 2.15vw, 1.8rem); line-height: 1.18; }
.latest-news-card h3 a { color: var(--ink); text-decoration: none; }
.latest-news-card h3 a:hover { color: var(--brand-dark); text-decoration: underline; }
.latest-news-card .meta { margin: .2rem 0 0; }
.latest-news-excerpt { margin: .6rem 0 0; color: var(--muted); }
.latest-news-card:not(.latest-news-card--lead) { display: grid; grid-template-columns: minmax(6.5rem, 8rem) minmax(0, 1fr); align-items: center; gap: .85rem; padding: .55rem 0 .65rem; border-bottom: 1px solid var(--line); }
.latest-news-card:not(.latest-news-card--lead):not(:has(.latest-news-thumb)) .latest-news-copy { grid-column: 1 / -1; }
.leisure-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.5rem 0 2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--canvas); }
.leisure-shortcuts p { margin: 0; color: var(--ink); font-weight: 700; }
.leisure-shortcuts ul { display: flex; flex: 1; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.leisure-shortcuts a { display: inline-flex; min-height: 2.5rem; align-items: center; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.leisure-shortcuts a:hover, .leisure-shortcuts a:focus-visible { border-color: var(--brand); background: var(--brand-dark); color: white; }
.daily-joke, .sms-generator { margin-block: 2.5rem; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: .8rem; background: var(--canvas); }
.daily-joke .section-heading, .sms-generator .section-heading { margin-top: 0; }
.daily-joke-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.daily-joke-list { flex: 1 1 30rem; min-width: 0; }
.joke-of-day-card h3 { margin: 0 0 .4rem; font-size: 1.25rem; line-height: 1.3; }
.joke-of-day-card h3 a { color: var(--ink); text-decoration: none; }
.joke-of-day-card p { max-width: 55rem; margin: 0; color: var(--muted); }
.next-joke, .sms-generator-form button, .copy-message { min-height: 2.75rem; padding: .65rem 1rem; border: 0; border-radius: .45rem; background: var(--brand-dark); color: white; font: inherit; font-weight: 750; cursor: pointer; }
.next-joke:hover, .sms-generator-form button:hover, .copy-message:hover { background: var(--ink); }
.sms-generator > p { margin-top: -.4rem; color: var(--muted); }
.sms-generator-form { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
.sms-generator-form label { display: grid; flex: 1 1 10rem; gap: .3rem; color: var(--ink); font-size: .9rem; font-weight: 700; }
.sms-generator-form input, .sms-generator-form select { width: 100%; min-height: 2.75rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: .4rem; background: white; color: var(--ink); font: inherit; }
.sms-generator-result { margin-top: 1rem; padding: 1rem; border-radius: .55rem; background: white; }
.generated-message { margin: 0 0 .7rem; color: var(--ink); font-size: 1.1rem; font-weight: 650; }
.copy-status { margin-inline-start: .65rem; color: var(--muted); font-size: .9rem; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .85fr); gap: 1rem; }
.lead-card { position: relative; display: flex; min-height: 19rem; overflow: hidden; border-radius: .8rem; background: #dce8eb; color: white; isolation: isolate; }
.lead-card--feature { min-height: 39rem; grid-row: span 2; }
.lead-card::after { position: absolute; z-index: -1; inset: 35% 0 0; background: linear-gradient(transparent, rgba(10, 20, 28, .88)); content: ""; }
.lead-card > a:first-child { position: absolute; z-index: -2; inset: 0; }
.lead-card img { width: 100%; height: 100%; object-fit: cover; }
.lead-card-copy { align-self: end; padding: clamp(1rem, 3vw, 1.6rem); }
.lead-card h2 { margin: .6rem 0; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.18; letter-spacing: -.025em; }
.lead-card--feature h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.lead-card h2 a, .lead-card .meta { color: white; text-decoration: none; }
.category-label { display: inline-block; padding: .22rem .55rem; border-radius: 999px; background: var(--brand-dark); color: white; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.meta { color: var(--muted); font-size: .85rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card-grid:has(> .post-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.card-grid:has(> .post-card:nth-child(2):last-child), .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { min-width: 0; }
.post-card .thumb { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: .65rem; background: var(--canvas); }
.post-card .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.post-card .thumb:hover img { transform: scale(1.025); }
.post-card h2 { margin: .65rem 0 .35rem; font-size: 1.15rem; line-height: 1.3; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--brand-dark); text-decoration: underline; }
.post-card p { margin: .35rem 0; color: var(--muted); }
.single-post { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: 0 .8rem 2.2rem rgba(23, 58, 88, .06); }
.single-post .entry-header { width: min(100% - 2rem, 66rem); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 0 1rem; }
.single-post .entry-header .category-label { margin-bottom: .65rem; }
.entry-title { max-width: 20ch; }
.single-post .entry-header .meta { margin: .85rem 0 0; }
.entry-title { margin: .55rem 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.entry-content { width: min(100%, var(--reading)); margin-inline: auto; font-size: 1.12rem; line-height: 1.8; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 2.2em; font-size: 1.65rem; line-height: 1.25; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.3rem; line-height: 1.3; }
.entry-content li + li { margin-top: .4em; }
.single-post { border-top: .28rem solid var(--brand); box-shadow: 0 .35rem 1.2rem rgba(23, 58, 88, .045); }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; color: var(--muted); font-size: .88rem; }
.single-meta > * + *::before { margin-right: .9rem; color: #a6bbc7; content: "•"; }
.single-post .entry-header .category-label { padding: .27rem .65rem; }
.single-post .entry-title { max-width: 24ch; }
.featured-image figcaption { margin-top: .45rem; color: var(--muted); font-size: .82rem; text-align: center; }
.entry-content > p:first-of-type { color: #294c66; font-size: 1.12em; line-height: 1.7; }
.entry-content a { font-weight: 600; }
.entry-content blockquote { margin: 1.8rem 0; padding: .25rem 1.2rem; border-left: .25rem solid var(--brand); color: #315a74; font-size: 1.12em; }
.entry-content blockquote > :first-child { margin-top: .4rem; }
.entry-content blockquote > :last-child { margin-bottom: .4rem; }
.entry-content figure { margin: 1.8rem 0; }
.entry-content figure img { display: block; border-radius: .6rem; }
.entry-content figcaption { margin-top: .4rem; color: var(--muted); font-size: .85rem; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .65rem; border: 1px solid var(--line); text-align: left; }
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; width: min(100% - 2rem, var(--reading)); margin: 2rem auto 2.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.entry-tags a { padding: .24rem .62rem; border: 1px solid var(--line); border-radius: 99px; background: var(--canvas); color: var(--brand-dark); text-decoration: none; }
.entry-tags a:hover { border-color: var(--brand); background: white; }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; align-items: start; gap: 1.25rem; }
.single-layout .single-post { min-width: 0; }
.article-sidebar { display: grid; gap: .9rem; min-width: 0; }
.sidebar-widget { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--canvas); }
.sidebar-widget h2 { margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); font-size: 1.12rem; line-height: 1.25; }
.sidebar-widget h3 { margin: 0 0 .4rem; font-size: 1rem; line-height: 1.35; }
.sidebar-widget h3 a, .sidebar-latest a { color: var(--ink); text-decoration: none; }
.sidebar-widget h3 a:hover, .sidebar-latest a:hover { color: var(--brand-dark); text-decoration: underline; }
.sidebar-widget p { margin: .4rem 0 .65rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.sidebar-more { font-size: .88rem; font-weight: 750; text-decoration: none; }
.sidebar-widget ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.sidebar-latest li { padding-bottom: .55rem; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.4; }
.sidebar-latest li:last-child { padding-bottom: 0; border-bottom: 0; }
.sidebar-topics ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.sidebar-topics a { display: inline-flex; min-height: 2.2rem; align-items: center; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 99px; background: white; font-size: .86rem; font-weight: 700; text-decoration: none; }
.sidebar-topics a:hover { border-color: var(--brand); background: var(--brand-dark); color: white; }
.featured-image { width: min(100% - 2rem, 70rem); margin: 1rem auto 2.5rem; }
.featured-image img { display: block; width: 100%; max-height: 42rem; object-fit: cover; border-radius: .8rem; }
.breadcrumbs { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: inherit; }
.related-posts { margin-top: 2.5rem; padding: .25rem clamp(1rem, 2vw, 1.5rem) 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--canvas); }
.related-posts .section-heading { margin-top: 1.25rem; }
.pagination { margin-top: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.pagination a, .pagination span { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .4rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--canvas); }
.site-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }
.search-form { display: flex; max-width: 34rem; gap: .5rem; }
.search-form input[type="search"] { flex: 1; min-width: 0; padding: .75rem; border: 1px solid var(--line); border-radius: .45rem; font: inherit; }
.search-form button { padding: .7rem 1rem; border: 0; border-radius: .45rem; background: var(--brand-dark); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 52rem) {
	.header-inner { flex-wrap: wrap; min-height: 4.5rem; padding-block: .6rem; }
	.header-inner > div { max-width: calc(100% - 4rem); }
	.menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 2.8rem; min-height: 2.8rem; border: 1px solid var(--line); border-radius: .45rem; background: white; color: var(--ink); font: inherit; font-weight: 700; }
	.primary-navigation { display: none; flex-basis: 100%; }
	.primary-navigation.is-open { display: block; }
	.primary-navigation > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; border-radius: .8rem; }
	.primary-navigation .sub-menu { position: static; display: block; max-height: none; overflow: visible; padding: 0 0 0 .45rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
	.primary-navigation .sub-menu a { white-space: normal; font-size: .88rem; font-weight: 500; }
	.primary-navigation a { padding: .7rem; }
	.leisure-shortcuts { align-items: flex-start; flex-direction: column; margin-block: 1rem 1.5rem; padding: .8rem; }
	.latest-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .8rem; }
	.latest-news-card--lead { grid-column: 1 / -1; grid-row: auto; }
	.latest-news-card:not(.latest-news-card--lead) { grid-template-columns: 7rem minmax(0, 1fr); padding-block: .45rem; }
	.card-grid:has(> .post-card:nth-child(2):last-child), .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-main { padding-top: 1.25rem; }
	.lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
	.lead-card { min-height: 14rem; border-radius: .55rem; }
	.lead-card--feature { min-height: 24rem; grid-row: span 2; }
	.lead-card-copy { padding: .9rem; }
	.lead-card h2 { font-size: 1.15rem; }
	.lead-card--feature h2 { font-size: 1.75rem; }
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; }
	.post-card h2 { font-size: 1rem; }
	.entry-content { font-size: 1.05rem; }
}

@media (max-width: 34rem) {
	.header-inner, .site-main, .site-footer-inner { width: min(100% - 1.25rem, var(--content)); }
	.lead-grid { display: flex; flex-direction: column; }
	.latest-news-grid { grid-template-columns: 1fr; }
	.latest-news-card--lead { grid-column: auto; }
	.latest-news-card:not(.latest-news-card--lead) { grid-template-columns: 5.5rem minmax(0, 1fr); gap: .65rem; }
	.latest-news-thumb, .latest-news-thumb img { min-height: 5rem; }
	.latest-news-card--lead .latest-news-image { aspect-ratio: 16 / 9; }
	.lead-card, .lead-card--feature { min-height: 14rem; }
	.lead-card--feature { min-height: 22rem; }
	.card-grid { grid-template-columns: 1fr; }
	.card-grid:has(> .post-card:only-child), .card-grid:has(> .post-card:nth-child(2):last-child), .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: 1fr; }
	.post-card { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; align-items: start; }
	.post-card .thumb { grid-row: span 3; aspect-ratio: 1; }
	.post-card h2 { margin: 0; }
	.post-card p { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 64rem) {
	.single-layout { grid-template-columns: minmax(0, 1fr) 16rem; gap: .8rem; }
}
@media (max-width: 52rem) {
	.single-layout { grid-template-columns: 1fr; }
	.article-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sidebar-topics { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
	.article-sidebar { grid-template-columns: 1fr; }
	.sidebar-topics { grid-column: auto; }
	.single-post .entry-header { width: min(100% - 1.25rem, 66rem); padding-block: 1.35rem .8rem; }
	.single-post .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
	.featured-image { margin-block: .75rem 1.5rem; }
}

/* Modern editorial layout for articles: clear hierarchy, restrained blue accents, no heavy card chrome. */
.single-layout { grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(1.2rem, 2.5vw, 2.1rem); }
.single-layout .single-post { overflow: visible; border: 0; border-top: .25rem solid var(--brand); border-radius: 0; background: transparent; box-shadow: none; }
.single-post .entry-header { width: min(100% - 1rem, 60rem); padding: clamp(1.35rem, 3vw, 2.3rem) 0 .7rem; }
.single-post .entry-header .category-label { margin-bottom: .8rem; border-radius: .3rem; font-size: .7rem; letter-spacing: .08em; }
.single-post .entry-title { max-width: 22ch; margin: .4rem 0 .85rem; font-size: clamp(2.2rem, 4.4vw, 3.55rem); line-height: 1.04; letter-spacing: -.052em; }
.single-meta { gap: .35rem .75rem; font-size: .84rem; }
.single-meta > * + *::before { margin-right: .75rem; }
.featured-image { width: min(100%, 64rem); margin: 1rem auto 2rem; }
.featured-image img { max-height: 36rem; border-radius: .55rem; }
.entry-content { width: min(100% - 1rem, 45rem); font-size: 1.08rem; line-height: 1.82; }
.entry-content > p:first-of-type { font-size: 1.14em; }
.entry-content h2 { margin-top: 1.9em; padding-top: .25em; font-size: clamp(1.5rem, 2.5vw, 1.9rem); letter-spacing: -.025em; }
.entry-content h3 { font-size: 1.28rem; letter-spacing: -.015em; }
.article-sidebar { gap: .75rem; padding-top: .25rem; }
.sidebar-widget { padding: 1.05rem; border: 1px solid #e2edf2; border-radius: .6rem; background: #f5fafc; }
.sidebar-widget h2 { margin-bottom: .65rem; padding-bottom: .55rem; color: var(--ink); font-size: 1.04rem; letter-spacing: -.02em; }
.sidebar-joke { border-color: var(--ink); background: var(--ink); color: white; }
.sidebar-joke h2 { border-color: rgba(255,255,255,.2); color: white; }
.sidebar-joke h3 a { color: white; }
.sidebar-joke h3 a:hover { color: #a8e7fa; }
.sidebar-joke p { color: #d2e1eb; }
.sidebar-joke .sidebar-more { color: #8edcf2; }
.sidebar-latest li { font-size: .88rem; }
.sidebar-topics a { min-height: 2rem; padding: .28rem .58rem; font-size: .82rem; }
.entry-tags { margin-top: 1.6rem; }
.related-posts { margin-top: 2.25rem; border-radius: .65rem; box-shadow: none; }
@media (max-width: 64rem) {
	.single-layout { grid-template-columns: minmax(0, 1fr) 17rem; }
}
@media (max-width: 52rem) {
	.single-layout { grid-template-columns: 1fr; }
	.article-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sidebar-topics { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
	.article-sidebar { grid-template-columns: 1fr; }
	.sidebar-topics { grid-column: auto; }
	.single-post .entry-header { width: min(100% - 1.25rem, 60rem); }
	.single-post .entry-title { font-size: clamp(1.95rem, 8vw, 2.6rem); }
}

/* Compact, modern masthead: black brand band with restrained blue accents. */
.site-header { border: 0; border-bottom: 2px solid #008fd3; background: radial-gradient(42rem 9rem at 18% 0, rgba(0, 143, 211, .15), transparent 75%), #090b0d; }
.header-inner { min-height: 6.15rem; }
.custom-logo { max-height: 4.15rem; }
.primary-navigation > ul { gap: .1rem; padding: .2rem; border-radius: .45rem; background: transparent; }
.primary-navigation a { padding: .65rem .7rem; color: #f4f6f7; font-size: .94rem; font-weight: 650; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { background: transparent; color: #70d2ec; box-shadow: inset 0 -2px #70d2ec; }
.primary-navigation .sub-menu { border-radius: .4rem; box-shadow: 0 .45rem 1.2rem rgba(15, 24, 32, .14); }
.menu-toggle { border-color: #31383d; background: #15191d; color: white; }
.site-main { padding-top: 1.5rem; }
.single-post .entry-title { max-width: 30ch; font-size: clamp(2rem, 3.8vw, 3.15rem); line-height: 1.08; letter-spacing: -.045em; }
.single-post .entry-header { width: min(100% - 1rem, 64rem); }
.sidebar-joke { border-color: #15191d; background: #15191d; }
.sidebar-joke h2 { border-color: rgba(255,255,255,.16); }
.sidebar-joke .sidebar-more { color: #77d4eb; }
@media (max-width: 52rem) {
	.header-inner { min-height: 4.5rem; }
	.custom-logo { max-height: 3.45rem; }
	.primary-navigation > ul { border-radius: .35rem; }
	.primary-navigation a { padding: .65rem; }
}

/* Keep the latest stories compact and visually even. */
.latest-news { margin-bottom: 1.25rem; padding: .65rem .8rem .8rem; border-top: 1px solid var(--line); border-radius: .65rem; background: #fff; box-shadow: none; }
.latest-news-heading { margin-bottom: .55rem; }
.latest-news-heading .eyebrow { display: none; }
.latest-news-heading h2 { margin-bottom: .4rem; font-size: 1.3rem; }
.latest-news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.latest-news-card--lead { grid-row: auto; }
.latest-news-image, .latest-news-thumb { grid-row: auto; width: 100%; aspect-ratio: 2.1 / 1; min-height: 0; height: auto; }
.latest-news-image img, .latest-news-thumb img { height: 100%; min-height: 0; object-fit: cover; }
.latest-news-card:not(.latest-news-card--lead) { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; }
.latest-news-card .latest-news-copy, .latest-news-card--lead .latest-news-copy { padding: .4rem .1rem .15rem; }
.latest-news-card h3, .latest-news-card--lead h3 { margin: .25rem 0 .15rem; font-size: .94rem; line-height: 1.27; }
.latest-news-card .meta { margin-top: .1rem; font-size: .76rem; }
.latest-news .category-label { padding: .14rem .4rem; font-size: .62rem; }
.latest-news .latest-news-excerpt { display: none; }
@media (max-width: 52rem) {
	.latest-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) {
	.latest-news { padding: .6rem .65rem .75rem; }
	.latest-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.latest-news-card h3, .latest-news-card--lead h3 { font-size: .86rem; }
}

/* Keep narrow article previews inside their viewport, including embedded media. */
@media (max-width: 52rem) {
	.single-layout { display: block; }
	.single-layout .single-post, .article-sidebar { min-width: 0; }
	.article-sidebar { margin-top: 1.75rem; }
	.entry-content iframe, .entry-content embed, .entry-content object { max-width: 100%; }
}
@media (max-width: 34rem) {
	.header-inner > div { min-width: 0; }
	.custom-logo-link, .custom-logo { max-width: 100%; }
	.single-post .entry-title { max-width: 100%; font-size: clamp(1.8rem, 8vw, 2.35rem); overflow-wrap: break-word; }
}

/* Elementor may leave dialog-body on the page; keep ordinary pages scrollable. */
body.wp-theme-duhoviti-nova { overflow: hidden auto !important; }

/* Livelier editorial language, without external fonts or animation scripts. */
body { background: #f4f6f7; }
a { text-decoration: none; }
.site-header { box-shadow: 0 .4rem 1.4rem rgba(10, 25, 35, .12); }
.primary-navigation a { transition: color .18s ease, background-color .18s ease; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { background: #006d9f; color: white; box-shadow: none; border-radius: .35rem; }
.site-main { padding-bottom: 4.5rem; }
.section-heading { align-items: end; margin-block: 2.8rem 1rem; padding-bottom: .65rem; border-bottom: 2px solid #d5dfe4; }
.section-heading h2 { display: flex; align-items: center; gap: .65rem; margin: 0; font-size: clamp(1.4rem, 2.1vw, 1.95rem); font-weight: 700; letter-spacing: -.025em; }
.section-heading h2::before { flex: 0 0 auto; width: .32rem; height: 1.35rem; border-radius: 99px; background: var(--brand); content: ""; }
.section-heading > a { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .7rem; border-radius: 99px; background: #006d9f; color: white; font-size: .8rem; font-weight: 750; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.section-heading > a:hover { background: var(--ink); color: white; }
.section-heading > a span { font-size: 1.05rem; line-height: 1; }
.latest-news { padding: 1rem; border-color: #d5dfe4; border-radius: 1rem; background: #fff; box-shadow: 0 .55rem 1.7rem rgba(28, 60, 78, .055); }
.latest-news-heading { margin-bottom: .75rem; padding-bottom: .6rem; }
.latest-news-heading h2 { font-size: 1.45rem; }
.latest-news-grid { gap: .7rem; }
.latest-news-card--lead, .latest-news-card:not(.latest-news-card--lead) { overflow: hidden; border: 1px solid #dbe3e7; border-radius: .7rem; background: #fff; box-shadow: 0 .2rem .7rem rgba(27, 56, 76, .04); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.latest-news-card:hover { transform: translateY(-3px); border-color: #008fd3; box-shadow: 0 .65rem 1.4rem rgba(23, 58, 88, .11); }
.latest-news-image, .latest-news-thumb { border-radius: 0; }
.latest-news-image img, .latest-news-thumb img { transition: transform .3s ease; }
.latest-news-card:hover img { transform: scale(1.035); }
.latest-news-card .latest-news-copy, .latest-news-card--lead .latest-news-copy { padding: .6rem .7rem .75rem; }
.latest-news-card h3, .latest-news-card--lead h3 { margin-top: .4rem; font-size: .95rem; font-weight: 600; }
.latest-news-card h3 a:hover, .post-card h2 a:hover, .sidebar-widget h3 a:hover, .sidebar-latest a:hover { color: var(--brand-dark); text-decoration: none; }
.category-label { border-radius: .3rem; background: #006d9f; color: white; font-size: .67rem; letter-spacing: .065em; text-decoration: none; }
.category-label:hover { background: #004e75; color: white; }
.latest-news .category-label { padding: .16rem .42rem; }
.lead-grid { gap: .85rem; }
.lead-card { border-radius: .8rem; box-shadow: 0 .3rem 1rem rgba(10, 31, 44, .1); transition: transform .22s ease, box-shadow .22s ease; }
.lead-card:hover { transform: translateY(-3px); box-shadow: 0 .7rem 1.5rem rgba(10, 31, 44, .2); }
.lead-card img { transition: transform .35s ease; }
.lead-card:hover img { transform: scale(1.035); }
.lead-card .category-label { background: #006d9f; color: white; }
.lead-card h2 a:hover { color: #a8ecff; }
.leisure-shortcuts { border: 1px solid #d5dfe4; border-left: .3rem solid var(--brand); border-radius: .9rem; background: white; }
.leisure-shortcuts p { font-size: .92rem; }
.leisure-shortcuts a, .sidebar-topics a, .entry-tags a { border-color: #a9c2cf; box-shadow: 0 .12rem .4rem rgba(23, 58, 88, .04); transition: transform .18s ease, background-color .18s ease; }
.leisure-shortcuts a:hover, .sidebar-topics a:hover, .entry-tags a:hover { transform: translateY(-2px); }
.card-grid { gap: 1rem; }
.post-card { overflow: hidden; border: 1px solid #dbe3e7; border-radius: .8rem; background: #fff; box-shadow: 0 .25rem .8rem rgba(23, 58, 88, .045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.post-card:hover { transform: translateY(-3px); border-color: #008fd3; box-shadow: 0 .7rem 1.35rem rgba(23, 58, 88, .11); }
.post-card .thumb { border-radius: 0; }
.post-card .thumb img { transition: transform .3s ease; }
.post-card:hover .thumb img { transform: scale(1.035); }
.post-card h2, .post-card > p { margin-right: .85rem; margin-left: .85rem; }
.post-card h2 { margin-top: .8rem; font-size: 1.13rem; font-weight: 600; letter-spacing: -.01em; }
.post-card > p:last-child { margin-bottom: 1rem; font-size: .91rem; line-height: 1.55; }
.daily-joke { border: 0; border-radius: 1rem; background: #102b3c; color: white; box-shadow: 0 .5rem 1.5rem rgba(19, 44, 61, .13); }
.daily-joke .section-heading { border-color: rgba(255,255,255,.2); }
.daily-joke .section-heading h2::before { background: var(--accent); }
.daily-joke .section-heading .meta, .daily-joke .joke-of-day-card p { color: #c9dbe5; }
.daily-joke .joke-of-day-card h3 a { color: white; }
.daily-joke .joke-of-day-card h3 a:hover { color: #a8ebfa; }
.next-joke { background: var(--accent); color: #111c22; transition: transform .18s ease, background-color .18s ease; }
.next-joke:hover { transform: translateY(-2px); background: white; color: #102b3c; }
.sms-generator { border-color: #d5dfe4; border-top: .25rem solid var(--brand); border-radius: 1rem; background: white; }
.single-post .entry-header { border-bottom: 1px solid #e7eff2; }
.single-post .entry-title { color: #162f42; }
.entry-content a { border-bottom: 2px solid var(--brand); color: var(--brand-dark); font-weight: 700; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.entry-content a:hover { border-color: #004e75; background: #e8f4fa; color: #004e75; }
.entry-content h2 { position: relative; padding-bottom: .3em; border-bottom: 1px solid #dcebf0; }
.entry-content h2::before { position: absolute; bottom: -1px; left: 0; width: 3rem; height: 3px; border-radius: 99px; background: var(--brand); content: ""; }
.entry-content ol > li::marker { color: #087fa3; font-weight: 850; }
.entry-content ol > li + li { padding-top: .9rem; border-top: 1px solid #e7eff2; }
.sidebar-widget { border-color: #d5dfe4; border-radius: .75rem; background: white; box-shadow: 0 .25rem .8rem rgba(23, 58, 88, .045); }
.sidebar-widget h2 { font-size: 1.07rem; }
.sidebar-joke { border-color: #15191d; background: #15191d; }
.sidebar-joke h2::after { float: right; color: #ffd164; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; content: "Danas"; }
.breadcrumbs a { border-bottom: 1px solid transparent; text-decoration: none; }
.breadcrumbs a:hover { border-color: currentColor; }
.related-posts { border: 1px solid #d5dfe4; border-top: .25rem solid var(--brand); border-radius: 1rem; background: white; }
.site-footer a:hover { color: #075e7a; }
@media (max-width: 52rem) {
	.section-heading { margin-top: 2rem; }
	.latest-news-card .latest-news-copy, .latest-news-card--lead .latest-news-copy { padding: .5rem .6rem .65rem; }
	.post-card h2, .post-card > p { margin-right: .65rem; margin-left: .65rem; }
}
@media (max-width: 34rem) {
	.latest-news { padding: .7rem; }
	.latest-news-grid { grid-template-columns: 1fr; gap: .55rem; }
	.latest-news-card--lead, .latest-news-card:not(.latest-news-card--lead) { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); align-items: stretch; }
	.latest-news-card--lead .latest-news-image, .latest-news-thumb { width: 100%; height: 100%; aspect-ratio: 1; }
	.latest-news-card h3, .latest-news-card--lead h3 { font-size: .88rem; }
	.post-card { gap: 0 .7rem; }
	.post-card .thumb { grid-row: 1 / span 3; border-radius: 0; }
	.post-card h2 { margin-top: .55rem; }
	.post-card > p:last-child { margin-bottom: .65rem; }
	.section-heading > a { padding: .35rem .55rem; font-size: .74rem; }
}

/* Mobile navigation: compact hamburger and independently expandable submenus. */
.submenu-toggle { display: none; }
@media (max-width: 52rem) {
	.header-inner { gap: .65rem; }
	.menu-toggle { display: inline-flex; flex: 0 0 2.85rem; width: 2.85rem; height: 2.85rem; padding: 0; border: 1px solid #35424a; border-radius: .62rem; background: #17232a; color: #eafaff; cursor: pointer; }
	.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { border-color: var(--brand); background: #006d9f; }
	.menu-toggle-bars { display: grid; justify-items: center; gap: .26rem; }
	.menu-toggle-bars span { display: block; width: 1.18rem; height: 2px; border-radius: 99px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
	.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(.385rem) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
	.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-.385rem) rotate(-45deg); }
	.primary-navigation { flex-basis: 100%; padding: .2rem 0 .55rem; }
	.primary-navigation > ul { grid-template-columns: 1fr; gap: .3rem; padding: .5rem; border: 1px solid #263842; border-radius: .7rem; background: #0b1115; }
	.primary-navigation > ul > li > a { min-height: 2.8rem; padding: .68rem 3rem .68rem .8rem; border-radius: .4rem; background: #1a282f; }
	.primary-navigation > ul > li > a:hover { background: #006d9f; }
	.primary-navigation .sub-menu { padding: .25rem .35rem .45rem; border: 0; border-radius: .4rem; background: #10191e; }
	.primary-navigation.is-enhanced li > .sub-menu { display: none; }
	.primary-navigation.is-enhanced li.submenu-open > .sub-menu { display: block; }
	.primary-navigation .sub-menu a { min-height: 2.5rem; padding: .5rem .7rem; border-radius: .3rem; color: #d7e8ee; white-space: normal; }
	.primary-navigation .sub-menu a:hover { background: #203641; color: white; }
	.submenu-toggle { position: absolute; z-index: 2; top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; padding: 0; border: 0; border-left: 1px solid rgba(255,255,255,.1); border-radius: 0 .4rem .4rem 0; background: transparent; color: #00b7f0; cursor: pointer; }
	.submenu-toggle::before { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-.1rem, -.1rem); transition: transform .18s ease; content: ""; }
	.submenu-toggle[aria-expanded="true"]::before { transform: rotate(225deg) translate(-.1rem, -.1rem); }
	.submenu-toggle:hover { background: #006d9f; color: white; }
}

/* Editorial spotlight: a deliberate dark break between the lighter home sections. */
section[aria-labelledby="section-zanimljivosti"] { margin-block: 3rem; padding: clamp(1.1rem, 2.5vw, 2rem); border-radius: 1rem; background: #101b25; color: white; }
section[aria-labelledby="section-zanimljivosti"] .section-heading { margin-top: 0; border-color: rgba(255,255,255,.25); }
section[aria-labelledby="section-zanimljivosti"] .section-heading h2 a { color: white; }
section[aria-labelledby="section-zanimljivosti"] .section-heading h2 a:hover { color: #72d8ff; }
section[aria-labelledby="section-zanimljivosti"] .section-heading > a { background: #007db8; color: white; }
section[aria-labelledby="section-zanimljivosti"] .section-heading > a:hover { background: white; color: #102b3c; }
section[aria-labelledby="section-zanimljivosti"] .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
section[aria-labelledby="section-zanimljivosti"] .post-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
section[aria-labelledby="section-zanimljivosti"] .post-card:hover { border: 0; box-shadow: none; }
section[aria-labelledby="section-zanimljivosti"] .post-card .thumb { aspect-ratio: 16 / 9; border-radius: .5rem; }
section[aria-labelledby="section-zanimljivosti"] .post-card h2, section[aria-labelledby="section-zanimljivosti"] .post-card > p { margin-inline: 0; }
section[aria-labelledby="section-zanimljivosti"] .post-card h2 { margin-block: .7rem .3rem; font-size: 1.06rem; line-height: 1.3; }
section[aria-labelledby="section-zanimljivosti"] .post-card h2 a { color: white; }
section[aria-labelledby="section-zanimljivosti"] .post-card h2 a:hover { color: #72d8ff; }
section[aria-labelledby="section-zanimljivosti"] .post-card .meta { color: #c4d5df; font-size: .78rem; }
section[aria-labelledby="section-zanimljivosti"] .post-card > p:last-child { display: none; }

/* The SMS chooser is the clear, interactive blue feature on the homepage. */
.sms-generator { margin-block: 3rem; padding: clamp(1.2rem, 3vw, 2rem); border: 0; border-radius: 1rem; background: #006fae; color: white; box-shadow: 0 .6rem 1.6rem rgba(0, 71, 112, .18); }
.sms-generator .section-heading { border-color: rgba(255,255,255,.35); }
.sms-generator .section-heading h2::before { background: var(--accent); }
.sms-generator > p { color: #e9f5fc; }
.sms-generator-form label { color: white; }
.sms-generator-form input, .sms-generator-form select { min-height: 3rem; border-color: white; border-radius: .5rem; background: white; color: #102b3c; }
.sms-generator-form button { min-height: 3rem; border-radius: .5rem; background: var(--accent); color: #111c22; }
.sms-generator-form button:hover { background: white; color: #102b3c; }
.sms-generator-result { border-left: .3rem solid var(--accent); color: #102b3c; }
.sms-generator-result:has(.generated-message:empty) { display: none; }
.sms-generator .copy-message { background: #006d9f; color: white; }
.sms-generator .copy-message:hover { background: #102b3c; }

/* Softer editorial type and more even image sizes across the homepage. */
.primary-navigation a { font-weight: 600; }
.latest-news-heading { margin-top: 0; }
.latest-news-heading h2 { font-size: 1.35rem; }
.section-heading h1, .single-post .entry-title, .entry-content h2, .entry-content h3, .sidebar-widget h2 { font-weight: 700; }
.lead-card h2 { font-weight: 600; }
.section-heading > a, .leisure-shortcuts a, .next-joke, .sms-generator-form button, .copy-message, .sms-generator-form label { font-weight: 600; }
.entry-content a { font-weight: 600; }
.lead-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lead-card { min-height: 17rem; }
.lead-card--feature { grid-column: span 2; grid-row: auto; min-height: 21rem; }
.lead-card--feature h2 { max-width: 22ch; font-size: clamp(1.8rem, 2.8vw, 2.55rem); }
.latest-news-image, .latest-news-thumb, .post-card .thumb { aspect-ratio: 16 / 9; }
section[aria-labelledby="section-aforizmi"] .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 52rem) {
	.lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lead-card { min-height: 13.5rem; }
	.lead-card--feature { grid-column: span 2; min-height: 20rem; }
	section[aria-labelledby="section-aforizmi"] .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	section[aria-labelledby="section-zanimljivosti"] .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) {
	.lead-card { min-height: 12.5rem; }
	.lead-card--feature { min-height: 18rem; }
	section[aria-labelledby="section-aforizmi"] .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: 1fr; }
	section[aria-labelledby="section-zanimljivosti"] { margin-block: 2rem; padding: 1rem; }
	section[aria-labelledby="section-zanimljivosti"] .card-grid:has(> .post-card:nth-child(4):last-child) { grid-template-columns: 1fr; gap: 1rem; }
	section[aria-labelledby="section-zanimljivosti"] .post-card { display: grid; grid-template-columns: 5.8rem minmax(0, 1fr); gap: 0 .75rem; align-items: start; }
	section[aria-labelledby="section-zanimljivosti"] .post-card .thumb { grid-row: span 2; aspect-ratio: 1; }
	section[aria-labelledby="section-zanimljivosti"] .post-card h2 { margin-top: 0; font-size: .98rem; }
	section[aria-labelledby="section-zanimljivosti"] .post-card .meta { margin-block: 0; }
	.sms-generator { margin-block: 2rem; }
	.sms-generator-form button { width: 100%; }
}

/* Homepage section labels: editorial accents instead of full-width rules and heavy pills. */
.home .section-heading { align-items: center; flex-wrap: wrap; gap: .45rem 1rem; margin-block: 2.65rem 1rem; padding: 0; border: 0; }
.home .section-heading h2 { gap: .65rem; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.2; }
.home .section-heading h2::before { width: 1.1rem; height: .24rem; border-radius: 99px; background: #0099d9; }
.home .section-heading > a { gap: .2rem; padding: .15rem 0 .15rem .2rem; border-radius: 0; background: transparent; color: #006b9e; font-size: .82rem; font-weight: 650; transition: color .18s ease; }
.home .section-heading > a span { display: inline-flex; align-items: center; justify-content: center; width: 1.65rem; height: 1.65rem; margin-left: .2rem; border: 1px solid #a7d5ea; border-radius: 50%; background: #e8f6fc; color: #006b9e; font-size: 1rem; transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease; }
.home .section-heading > a:hover { background: transparent; color: #004e75; }
.home .section-heading > a:hover span { transform: translateX(2px); border-color: #006b9e; background: #006b9e; color: white; }
.home .latest-news-heading { margin: 0 0 .85rem; }
.home .latest-news-heading h2 { font-size: 1.35rem; }
.home .latest-news-heading h2::before { display: none; }
.home .daily-joke .section-heading, .home .sms-generator .section-heading, .home section[aria-labelledby="section-zanimljivosti"] .section-heading { margin-top: 0; }
.home .daily-joke .section-heading h2::before, .home .sms-generator .section-heading h2::before { background: var(--accent); }
.home section[aria-labelledby="section-zanimljivosti"] .section-heading h2::before { background: #55c9f2; }
.home section[aria-labelledby="section-zanimljivosti"] .section-heading > a { background: transparent; color: #c8eeff; }
.home section[aria-labelledby="section-zanimljivosti"] .section-heading > a span { border-color: #37687e; background: #1a3e50; color: #c8eeff; }
.home section[aria-labelledby="section-zanimljivosti"] .section-heading > a:hover { background: transparent; color: white; }
.home section[aria-labelledby="section-zanimljivosti"] .section-heading > a:hover span { border-color: #55c9f2; background: #55c9f2; color: #102b3c; }

/* Legacy masthead rules, retained for rollback of the former front-page template. */
.home .site-header { border-bottom: 0; background: linear-gradient(110deg, #0b1723, #102b3e); box-shadow: none; }
.home .site-main { padding-top: 0; }
.home .latest-news { position: relative; isolation: isolate; margin: 0 0 1.25rem; padding: 1.1rem 0 1.4rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home .latest-news::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: radial-gradient(48rem 19rem at 85% 105%, rgba(0, 151, 220, .63), transparent 76%), linear-gradient(110deg, #0b1723, #102b3e); content: ""; }
.home .latest-news-heading { margin-bottom: .8rem; }
.home .latest-news-heading .eyebrow { display: block; margin: 0 0 .1rem; color: #72d9ff; font-size: .67rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.home .latest-news-heading h2 { color: white; font-size: 1.5rem; }
.home .latest-news-grid { gap: .8rem; }
.home .latest-news-card--lead, .home .latest-news-card:not(.latest-news-card--lead) { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: stretch; min-height: 9.7rem; border-color: rgba(128, 207, 242, .28); border-radius: .7rem; background: #f8fcfe; box-shadow: 0 .45rem 1.25rem rgba(0, 0, 0, .16); }
.home .latest-news-image, .home .latest-news-thumb { grid-row: auto; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; }
.home .latest-news-image img, .home .latest-news-thumb img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.home .latest-news-card .latest-news-copy, .home .latest-news-card--lead .latest-news-copy { padding: .65rem .65rem .6rem; }
.home .latest-news-card h3, .home .latest-news-card--lead h3 { font-size: .85rem; line-height: 1.3; }
@media (max-width: 34rem) {
	.home .section-heading h2 { font-size: 1.3rem; }
	.home .section-heading > a { font-size: .78rem; }
	.home .latest-news { padding-block: .85rem 1.1rem; }
	.home .latest-news-heading h2 { font-size: 1.35rem; }
	.home .latest-news-card--lead, .home .latest-news-card:not(.latest-news-card--lead) { grid-template-columns: 6.4rem minmax(0, 1fr); min-height: 8.8rem; }
}

/* Duhoviti daily edition. One composition, with a quiet editorial foundation. */
body.wp-theme-duhoviti-nova { --dh-blue: #0755e9; --dh-ink: #182232; --dh-muted: #626a76; --dh-line: #dedfdc; background: #f8f8f4; color: var(--dh-ink); }
.home:has(.dh-home) .site-main { width: min(82rem, calc(100% - 4rem)); padding: 0 0 1rem; }
body.wp-theme-duhoviti-nova .site-header { border: 0; background: #fff; box-shadow: none; }
body.wp-theme-duhoviti-nova .header-inner { width: min(82rem, calc(100% - 4rem)); min-height: 6.3rem; border-bottom: 1px solid var(--dh-line); gap: 2.5rem; }
body.wp-theme-duhoviti-nova .custom-logo { width: 244px; max-height: none; height: auto; }
body.wp-theme-duhoviti-nova .primary-navigation > ul { padding: 0; gap: .2rem; background: none; }
body.wp-theme-duhoviti-nova .primary-navigation a { padding: .75rem .7rem; border-radius: 0; color: #273141; font-size: .91rem; font-weight: 500; }
body.wp-theme-duhoviti-nova .primary-navigation a:hover, body.wp-theme-duhoviti-nova .primary-navigation .current-menu-item > a { color: var(--dh-blue); background: transparent; box-shadow: none; }
body.wp-theme-duhoviti-nova .primary-navigation > ul > li:nth-child(2) > a { padding: .7rem 1rem; border-radius: 99px; background: #edf3ff; color: #064cce; }
body.wp-theme-duhoviti-nova .primary-navigation .sub-menu { background: white; border-color: var(--dh-line); border-radius: .75rem; }
.dh-home { padding-top: 1.5rem; }
/* Carry the masthead and gentler type through to the reading experience. */
body.wp-theme-duhoviti-nova:not(.home) .site-main { padding-top: 1.6rem; }
body.wp-theme-duhoviti-nova .single-layout .single-post { border-top: 0; }
body.wp-theme-duhoviti-nova .single-post .entry-header { width: 100%; padding-top: .7rem; padding-bottom: 1.1rem; }
body.wp-theme-duhoviti-nova .single-post .entry-title { max-width: 31ch; color: #182232; font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 500; line-height: 1.14; letter-spacing: -.035em; }
body.wp-theme-duhoviti-nova .single-post .featured-image { margin-top: 1.1rem; }
body.wp-theme-duhoviti-nova .single-post .featured-image img { max-height: 28rem; object-position: center 30%; border-radius: .9rem; }
body.wp-theme-duhoviti-nova .entry-content h2, body.wp-theme-duhoviti-nova .entry-content h3 { font-weight: 500; }
body.wp-theme-duhoviti-nova .sidebar-widget { padding: 1.25rem; border-color: #e0e2dd; border-radius: .9rem; box-shadow: none; }
body.wp-theme-duhoviti-nova .sidebar-widget h2, body.wp-theme-duhoviti-nova .sidebar-widget h3 { font-weight: 500; }
body.wp-theme-duhoviti-nova .sidebar-joke { background: #ffdc60; border-color: #ffdc60; color: #272719; }
body.wp-theme-duhoviti-nova .sidebar-joke h2, body.wp-theme-duhoviti-nova .sidebar-joke h3 a, body.wp-theme-duhoviti-nova .sidebar-joke .sidebar-more { color: #33301c; }
body.wp-theme-duhoviti-nova .sidebar-joke p { color: #504826; }
body.wp-theme-duhoviti-nova .sidebar-joke h2 { border-color: #b5a34f; }
body.wp-theme-duhoviti-nova .sidebar-joke h2::after { color: #665a28; }
.dh-home a { text-decoration: none; }
.dh-home a:focus-visible, .dh-home button:focus-visible, .dh-home input:focus-visible, .dh-home select:focus-visible { outline: 3px solid #e85731; outline-offset: 4px; }
.dh-home em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.dh-home .dh-kicker { display: block; margin: 0; color: var(--dh-blue); font-size: .65rem; font-weight: 700; line-height: 1.4; letter-spacing: .13em; }
.dh-opening { display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(0, 1fr); align-items: stretch; gap: 1.5rem; }
.dh-news { min-width: 0; }
.dh-home .dh-live { display: flex; align-items: center; gap: .5rem; margin: 0 0 .75rem; color: var(--dh-muted); font-size: .65rem; }
.dh-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--dh-blue); box-shadow: 0 0 0 4px #e0e9fc; margin-inline: 4px; }
.dh-feature { display: grid; grid-template-columns: 1.06fr 1fr; min-height: 25rem; overflow: hidden; border-radius: 1.1rem; background: #fff; border: 1px solid #e5e6e2; }
.dh-feature--text { grid-template-columns: 1fr; }
.dh-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.4rem, 2.4vw, 2.25rem); }
.dh-category { display: inline-block; color: var(--dh-blue); font-size: .61rem; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.dh-feature h2 { margin: .9rem 0 1rem; font-size: clamp(1.65rem, 2.22vw, 2.15rem); font-weight: 500; line-height: 1.13; letter-spacing: -.04em; text-wrap: pretty; }
.dh-feature h2 a, .dh-news-mini h3 a, .dh-story h3 a { color: var(--dh-ink); transition: color .18s ease; }
.dh-feature h2 a:hover, .dh-news-mini h3 a:hover, .dh-story h3 a:hover { color: var(--dh-blue); }
.dh-excerpt { margin: 0 0 1.7rem; color: var(--dh-muted); font-size: .87rem; line-height: 1.65; }
.dh-feature-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; width: 100%; margin-top: auto; }
.dh-read { display: inline-flex; align-items: center; gap: .65rem; color: var(--dh-blue); font-size: .82rem; font-weight: 600; }
.dh-read span { display: grid; place-items: center; width: 2.05rem; height: 2.05rem; border-radius: 50%; background: var(--dh-blue); color: #fff; font-size: 1.1rem; transition: transform .2s; }
.dh-read:hover span { transform: rotate(45deg); }
.dh-feature time { color: var(--dh-muted); font-size: .7rem; }
.dh-feature-image { position: relative; display: block; min-height: 25rem; background: #e2e8ed; overflow: hidden; }
.dh-feature-image img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .5s ease; }
.dh-feature-image:hover img { transform: scale(1.025); }
.dh-image-mark { position: absolute; bottom: 1.1rem; right: 1.1rem; padding: .45rem .65rem; border: 1px solid rgba(255,255,255,.6); border-radius: 99px; background: rgba(255,255,255,.92); color: var(--dh-ink); font-size: .55rem; letter-spacing: .08em; font-weight: 600; }
.dh-news-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 1.2rem; }
.dh-news-mini { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); align-items: start; gap: .7rem; min-width: 0; }
.dh-mini-image { display: block; width: 100%; aspect-ratio: 1; border-radius: .5rem; overflow: hidden; background: #e9ecea; }
.dh-mini-image:empty { display: none; }
.dh-news-mini:has(.dh-mini-image:empty) { grid-template-columns: 1fr; }
.dh-mini-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dh-news-mini h3 { margin: .35rem 0 0; font-size: .82rem; font-weight: 500; line-height: 1.36; letter-spacing: -.013em; }
.dh-pause { display: flex; flex-direction: column; gap: .85rem; padding-top: 1.7rem; min-width: 0; }
.home .dh-joke { position: relative; display: flex; flex: 1; flex-direction: column; align-items: flex-start; margin: 0; padding: 1.65rem; border: 0; border-radius: 1.1rem; background: #ffdc60; color: #272719; box-shadow: none; }
.dh-joke-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; }
.dh-home .dh-joke .dh-kicker { color: #3f3a1d; font-size: .65rem; }
.dh-pill { border: 1px solid #b5a34f; border-radius: 99px; padding: .2rem .55rem; color: #4c4324; font-size: .61rem; }
.dh-smile { display: block; width: 4.4rem; height: 4.4rem; margin: 1.1rem 0; transform: rotate(-13deg); color: #33301c; }
.home .dh-joke .joke-of-day-card p { margin: 0; color: #29281b; font-size: clamp(1.07rem, 1.45vw, 1.35rem); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; }
.home .dh-joke .joke-of-day-card h3 { margin: 1rem 0 .85rem; font-size: .75rem; font-weight: 500; }
.home .dh-joke .joke-of-day-card h3 a { color: #504826; }
.home .dh-joke .next-joke { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.4rem; margin-top: auto; padding: .4rem .9rem; border: 1px solid #a69543; border-radius: 99px; background: transparent; color: #332f1c; font-size: .72rem; font-weight: 600; }
.home .dh-joke .next-joke:hover { transform: none; background: #fff0b2; }
.dh-small-cta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 1.2rem 1.4rem; border-radius: .9rem; background: #0755e9; color: #fff; }
.dh-small-cta:hover { background: #0349cf; color: #fff; }
.dh-home .dh-small-cta .dh-kicker { color: #fff; font-size: .51rem; letter-spacing: .08em; }
.dh-small-cta strong { display: block; margin-top: .3rem; font-size: 1.1rem; font-weight: 500; letter-spacing: -.025em; }
.dh-round-arrow { display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 2rem; border: 1px solid #ffffff80; border-radius: 50%; font-size: 1.25rem; }
.dh-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2.25rem 0 0; border-block: 1px solid var(--dh-line); padding-block: 1.25rem; scroll-margin-top: 1rem; }
.dh-topic { display: flex; align-items: center; gap: .85rem; min-width: 0; padding: .4rem 1.4rem; border-right: 1px solid var(--dh-line); color: var(--dh-ink); }
.dh-topic:first-child { padding-left: 0; }
.dh-topic:last-child { border: 0; padding-right: 0; }
.dh-topic-icon { display: grid; place-items: center; flex: 0 0 3rem; height: 3rem; border-radius: .85rem; background: #e7efff; color: #0755e9; font-size: 1.65rem; line-height: 1; transition: transform .2s; }
.dh-topic--vicevi .dh-topic-icon { background: #ffedac; color: #56440b; }
.dh-topic--zanimljivosti .dh-topic-icon { background: #e6e3ff; color: #6342ac; }
.dh-topic--aforizmi .dh-topic-icon { background: #e1eee4; color: #356043; font: 3.5rem/1 Georgia, serif; padding-top: 1.2rem; }
.dh-topic small { display: block; color: var(--dh-muted); font-size: .67rem; line-height: 1.4; }
.dh-topic strong { display: block; font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; }
.dh-topic-arrow { margin-left: auto; color: #6d7683; }
.dh-topic:hover .dh-topic-icon { transform: rotate(-8deg); }
.dh-section { margin-block: 3.7rem; }
.dh-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.7rem; }
.dh-section-head h2 { margin: .55rem 0 .4rem; font-size: clamp(1.65rem, 2.6vw, 2.25rem); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; }
.dh-section-head p { margin: 0; color: var(--dh-muted); font-size: .88rem; line-height: 1.5; }
.dh-all { display: inline-flex; align-items: center; gap: 1rem; flex-shrink: 0; color: var(--dh-ink); font-size: .8rem; padding-bottom: .35rem; }
.dh-all span { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid #c9cdc9; border-radius: 50%; font-size: 1.1rem; }
.dh-all:hover span { border-color: var(--dh-blue); color: var(--dh-blue); }
.dh-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.dh-story { min-width: 0; }
.dh-story-image { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: .8rem; background: #e2e7e5; overflow: hidden; }
.dh-story-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dh-story:hover .dh-story-image img { transform: scale(1.035); }
.dh-story-image > span { position: absolute; display: grid; place-items: center; bottom: .8rem; right: .8rem; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: var(--dh-ink); }
.dh-story-copy { padding: .95rem .1rem 0; }
.dh-story h3 { margin: 0 0 .6rem; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.022em; font-weight: 500; text-wrap: pretty; }
.dh-story-copy > p { margin: 0 0 .9rem; color: var(--dh-muted); font-size: .82rem; line-height: 1.6; }
.dh-story-more { display: inline-flex; align-items: center; gap: .65rem; font-size: .72rem; font-weight: 500; color: #535d6b; }
.dh-story-more:hover { color: var(--dh-blue); }
.home .dh-studio { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); margin: 3.8rem 0; padding: clamp(2rem, 4vw, 3.75rem); border: 0; border-radius: 1.25rem; background: #0755e9; color: #fff; box-shadow: none; overflow: hidden; }
.dh-home .dh-studio .dh-kicker { color: #fff; font-size: .63rem; }
.dh-studio-copy h2 { margin: 1rem 0; color: #fff; font-size: clamp(2.5rem, 4.5vw, 4.3rem); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; scroll-margin-top: 1.5rem; }
.dh-studio-copy h2 em { color: #ffe481; }
.dh-studio-copy > p:not(.dh-kicker) { max-width: 29rem; margin: 0; color: #ecf1ff; font-size: .93rem; line-height: 1.6; }
.dh-message-art { display: flex; flex-direction: column; align-items: flex-start; margin-top: 1.8rem; gap: .65rem; font-size: .74rem; }
.dh-message-art span { padding: .65rem 1rem; border-radius: .85rem .85rem .85rem .1rem; background: #fff; color: #17408a; transform: rotate(-3deg); }
.dh-message-art span + span { margin-left: 4rem; border-radius: .85rem .85rem .1rem .85rem; background: #ffdf74; color: #594415; transform: rotate(3deg); }
.dh-studio-panel { padding: 1.75rem; border-radius: 1rem; background: #fff; color: var(--dh-ink); box-shadow: 0 1rem 2rem #00379325; }
.dh-studio-panel h3 { display: flex; justify-content: space-between; margin: 0 0 1.4rem; font-size: 1.3rem; line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.dh-studio-panel h3 span { color: var(--dh-blue); }
.dh-studio .sms-generator-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dh-studio .sms-generator-form label { display: block; color: #3d4756; font-size: .74rem; font-weight: 500; }
.dh-studio .sms-generator-form label > span { color: #707784; }
.dh-studio .recipient-name { grid-column: 1 / -1; }
.dh-studio .sms-generator-form input, .dh-studio .sms-generator-form select { display: block; margin-top: .45rem; min-height: 2.9rem; padding: .7rem .8rem; border: 1px solid #dcdfe5; border-radius: .5rem; background: #f8f9fc; color: var(--dh-ink); font-size: .85rem; }
.dh-studio .sms-generator-form button { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; width: 100%; min-height: 3rem; margin-top: .15rem; padding: .8rem 1rem; border-radius: .5rem; background: #0755e9; color: #fff; font-size: .82rem; font-weight: 500; }
.dh-studio .sms-generator-form button:hover { background: #0646bd; color: #fff; }
.dh-studio .sms-generator-result { margin: 1.25rem 0 0; padding: 1rem; border: 0; border-radius: .65rem; background: #eff4ff; }
.dh-studio .generated-message { color: #22375a; font-size: .95rem; font-weight: 400; line-height: 1.65; }
.dh-studio .copy-message { background: #0755e9; font-size: .75rem; }
.dh-section--vicevi .dh-stories { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--dh-line); }
.dh-section--vicevi .dh-story { padding: 1.4rem 1.5rem; border-right: 1px solid var(--dh-line); }
.dh-section--vicevi .dh-story:first-child { padding-left: 0; }
.dh-section--vicevi .dh-story:last-child { padding-right: 0; border-right: 0; }
.dh-story-number { color: #afa87c; font-size: .8rem; font-weight: 400; letter-spacing: .1em; }
.dh-section--vicevi .dh-story-copy { padding-top: .75rem; }
.dh-section--vicevi .dh-story h3 { font-size: 1.12rem; }
.dh-section--zanimljivosti { padding: 2.75rem; border-radius: 1.2rem; background: #15283b; color: white; }
.dh-section--zanimljivosti .dh-kicker { color: #84caff; }
.dh-section--zanimljivosti .dh-section-head p { color: #becbd7; }
.dh-section--zanimljivosti .dh-all, .dh-section--zanimljivosti .dh-story h3 a { color: white; }
.dh-section--zanimljivosti .dh-all span { border-color: #5e7283; }
.dh-section--zanimljivosti .dh-story-more { color: #a9c4db; }
.dh-section--zanimljivosti .dh-story h3 a:hover { color: #90ceff; }
.dh-section--aforizmi .dh-stories { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dh-section--aforizmi .dh-story { display: flex; flex-direction: column; padding: 1.5rem; border-radius: .8rem; background: #eef0e7; }
.dh-quote-mark { display: block; height: 3.75rem; font: 5rem/1 Georgia, serif; color: #5e7759; }
.dh-section--aforizmi .dh-story-copy { display: flex; flex: 1; flex-direction: column; padding: 0; }
.dh-section--aforizmi .dh-story h3 { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; line-height: 1.4; }
.dh-section--aforizmi .dh-story-more { margin-top: auto; padding-top: 1.4rem; }
.dh-signoff { display: flex; align-items: center; gap: 1rem; margin-top: 4rem; padding: 2rem 0; border-top: 1px solid var(--dh-line); }
.dh-signoff > span { color: #0755e9; font-size: 2.8rem; line-height: 1; }
.dh-signoff p { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; }
.dh-signoff em { color: #0755e9; }
.dh-signoff a { margin-left: auto; color: var(--dh-muted); font-size: .8rem; }
body.wp-theme-duhoviti-nova .site-footer { background: #fff; border-color: #e1e4df; }
body.wp-theme-duhoviti-nova .site-footer-inner { width: min(82rem, calc(100% - 4rem)); padding-block: 1.5rem; font-size: .75rem; }
body.wp-theme-duhoviti-nova .site-footer ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
body.wp-theme-duhoviti-nova .site-footer a { color: #667080; }
@media (min-width: 53rem) and (max-width: 72rem) {
 body.wp-theme-duhoviti-nova .header-inner { gap: 1rem; }
 body.wp-theme-duhoviti-nova .custom-logo { width: 200px; }
 body.wp-theme-duhoviti-nova .primary-navigation a { font-size: .8rem; padding-inline: .5rem; }
 .dh-opening { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
 .dh-feature { grid-template-columns: 1.15fr 1fr; }
 .dh-feature-copy { padding: 1.5rem; }
 .dh-feature h2 { font-size: 1.8rem; }
 .dh-news-mini { grid-template-columns: 1fr; }
 .dh-mini-image { display: none; }
 .dh-topic { padding-inline: .8rem; gap: .6rem; }
 .dh-topic-arrow { display: none; }
 .dh-topic strong { font-size: .96rem; }
}
@media (max-width: 52rem) {
 .home:has(.dh-home) .site-main, body.wp-theme-duhoviti-nova .header-inner, body.wp-theme-duhoviti-nova .site-footer-inner { width: calc(100% - 2.5rem); }
 body.wp-theme-duhoviti-nova .header-inner { min-height: 5rem; gap: .75rem; padding-block: .6rem; }
 body.wp-theme-duhoviti-nova .custom-logo { width: 215px; }
 body.wp-theme-duhoviti-nova .menu-toggle { border-color: #d4dce8; background: #fff; color: #0755e9; }
 body.wp-theme-duhoviti-nova .menu-toggle[aria-expanded="true"] { background: #edf3ff; }
 body.wp-theme-duhoviti-nova .primary-navigation > ul { padding: .5rem 0; border: 0; background: white; }
 body.wp-theme-duhoviti-nova .primary-navigation > ul > li > a { min-height: 2.8rem; padding: .7rem .8rem; border-radius: .4rem; background: #f4f6fa; color: #273141; }
 body.wp-theme-duhoviti-nova .primary-navigation .sub-menu { background: #fff; }
 body.wp-theme-duhoviti-nova .primary-navigation .sub-menu a { color: #273141; }
 body.wp-theme-duhoviti-nova .submenu-toggle { color: #0755e9; border-color: #d3deeb; }
 .dh-home { padding-top: 1.75rem; }
 .dh-opening { grid-template-columns: 1fr; gap: 1.75rem; }
 .dh-feature { min-height: 24rem; }
 .dh-feature h2 { font-size: 2rem; }
 .dh-feature-image { min-height: 24rem; }
 .dh-news-rail { gap: 1rem; }
 .dh-news-mini { grid-template-columns: 3.8rem minmax(0, 1fr); }
 .dh-pause { display: grid; grid-template-columns: 1.5fr 1fr; padding: 0; }
 .home .dh-joke { padding: 1.25rem; display: grid; grid-template-columns: 3.3rem 1fr; gap: .75rem 1rem; align-items: start; }
 .dh-joke-heading { grid-column: 1 / -1; }
 .dh-smile { width: 3.3rem; height: 3.3rem; margin: .3rem 0 0; }
 .home .dh-joke .joke-of-day-card p { font-size: 1.08rem; }
 .home .dh-joke .joke-of-day-card h3 { margin: .7rem 0 0; }
 .home .dh-joke .next-joke { grid-column: 2; justify-self: start; }
 .dh-small-cta { align-items: flex-end; padding: 1.5rem; }
 .dh-small-cta strong { font-size: 1.5rem; line-height: 1.15; margin-top: .8rem; }
 .dh-small-cta .dh-kicker { max-width: 12em; }
 .dh-topics { grid-template-columns: 1fr 1fr; margin-top: 1.5rem; padding-block: .5rem; }
 .dh-topic { padding: .9rem; }
 .dh-topic:nth-child(2) { border-right: 0; }
 .dh-topic:nth-child(3) { padding-left: 0; border-top: 1px solid var(--dh-line); }
 .dh-topic:nth-child(4) { border-top: 1px solid var(--dh-line); }
 .dh-stories { gap: 1.1rem; }
 .dh-section { margin-block: 2.7rem; }
 .dh-section-head h2 { font-size: 1.8rem; }
 .dh-story h3 { font-size: 1.06rem; }
 .home .dh-studio { gap: 2rem; padding: 2rem; }
 .dh-studio-panel { padding: 1.25rem; }
 .dh-studio-panel h3 { font-size: 1.15rem; }
 .dh-message-art span + span { margin-left: 1rem; }
 .dh-section--vicevi .dh-stories, .dh-section--aforizmi .dh-stories { grid-template-columns: 1fr 1fr; }
 .dh-section--vicevi .dh-story:nth-child(2) { border-right: 0; }
 .dh-section--vicevi .dh-story:nth-child(3) { padding-left: 0; border-top: 1px solid var(--dh-line); }
 .dh-section--vicevi .dh-story:nth-child(4) { border-top: 1px solid var(--dh-line); }
 .dh-section--zanimljivosti { padding: 1.75rem; }
}
@media (max-width: 37.5rem) {
 .home:has(.dh-home) .site-main, body.wp-theme-duhoviti-nova .header-inner, body.wp-theme-duhoviti-nova .site-footer-inner { width: calc(100% - 2rem); }
 body.wp-theme-duhoviti-nova .custom-logo { width: 197px; }
 body.wp-theme-duhoviti-nova .header-inner { min-height: 4.8rem; }
 .dh-home { padding-top: 1.5rem; }
 .dh-feature { display: flex; flex-direction: column-reverse; min-height: 0; border-radius: .85rem; }
 .dh-feature-image { min-height: 0; height: 14rem; flex: 0 0 14rem; }
 .dh-feature-image img { object-position: center 30%; }
 .dh-feature-copy { padding: 1.4rem; }
 .dh-feature h2 { font-size: 1.65rem; line-height: 1.17; margin: .65rem 0 .75rem; }
 .dh-excerpt { font-size: .83rem; margin-bottom: 1rem; }
 .dh-feature-bottom { gap: .5rem; }
 .dh-news-rail { grid-template-columns: 1fr; gap: .9rem; padding-top: 1.1rem; }
 .dh-news-mini { grid-template-columns: 4.5rem minmax(0, 1fr); gap: .9rem; align-items: center; }
 .dh-news-mini + .dh-news-mini { padding-top: .9rem; border-top: 1px solid #e4e5e1; }
 .dh-news-mini h3 { font-size: .94rem; line-height: 1.35; }
 .dh-pause { grid-template-columns: 1fr; }
 .home .dh-joke { padding: 1.4rem; }
 .dh-small-cta { align-items: center; padding: 1.15rem 1.4rem; }
 .dh-small-cta strong { margin-top: .3rem; font-size: 1.2rem; }
 .dh-small-cta .dh-kicker { max-width: none; }
 .dh-topic { padding: .85rem .6rem; gap: .55rem; }
 .dh-topic-icon { flex-basis: 2.3rem; height: 2.3rem; border-radius: .65rem; font-size: 1.35rem; }
 .dh-topic--aforizmi .dh-topic-icon { font-size: 2.75rem; padding-top: .95rem; }
 .dh-topic small { font-size: .55rem; }
 .dh-topic strong { font-size: .9rem; }
 .dh-topic-arrow { display: none; }
 .dh-section { margin-block: 2.5rem; }
 .dh-section-head { align-items: flex-start; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
 .dh-section-head h2 { font-size: 1.8rem; }
 .dh-section-head p { font-size: .83rem; }
 .dh-all { font-size: .75rem; gap: .6rem; }
 .dh-all span { width: 1.6rem; height: 1.6rem; font-size: .95rem; }
 .dh-stories { grid-template-columns: 1fr; gap: 1.5rem; }
 .dh-story h3 { font-size: 1.15rem; }
 .dh-story-image { aspect-ratio: 16 / 9; }
 .dh-story-copy { padding-top: .8rem; }
 .home .dh-studio { grid-template-columns: 1fr; margin-block: 2.5rem; padding: 1.5rem; gap: 1.5rem; border-radius: 1rem; }
 .dh-studio-copy h2 { font-size: 3rem; }
 .dh-studio-copy > p:not(.dh-kicker) { font-size: .86rem; }
 .dh-message-art { margin-top: 1.2rem; font-size: .65rem; }
 .dh-studio-panel { padding: 1.1rem; }
 .dh-studio-panel h3 { font-size: 1.1rem; }
 .dh-studio .sms-generator-form { gap: .85rem .7rem; }
 .dh-studio .sms-generator-form input, .dh-studio .sms-generator-form select { font-size: 16px; padding-inline: .55rem; }
 .dh-section--vicevi .dh-stories { grid-template-columns: 1fr; }
 .dh-section--vicevi .dh-story { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-right: 0; }
 .dh-section--vicevi .dh-story + .dh-story { border-top: 1px solid var(--dh-line); }
 .dh-section--vicevi .dh-story-copy { padding: 0; }
 .dh-section--vicevi .dh-story-number { flex: 0 0 1.5rem; }
 .dh-section--zanimljivosti { padding: 1.5rem; }
 .dh-section--aforizmi .dh-stories { grid-template-columns: 1fr; gap: .8rem; }
 .dh-section--aforizmi .dh-story { display: grid; grid-template-columns: 2.5rem 1fr; gap: .6rem; padding: 1.25rem; }
 .dh-quote-mark { font-size: 4rem; }
 .dh-section--aforizmi .dh-story-more { padding-top: .5rem; }
 .dh-signoff { margin-top: 2.5rem; flex-wrap: wrap; gap: .75rem; }
 .dh-signoff p { flex: 1; font-size: 1.1rem; line-height: 1.35; }
 .dh-signoff a { margin-left: 3.3rem; }
}

/* Standalone navigation: full-width charcoal, leaving blue to the logo. */
body.wp-theme-duhoviti-nova .header-inner { justify-content: center; min-height: 6rem; border-bottom: 0; padding-block: .8rem; }
body.wp-theme-duhoviti-nova .header-inner > div { max-width: 100%; }
.dh-navigation-shell { position: relative; z-index: 20; background: #202226; padding: 0; }
.dh-navigation-inner { display: flex; align-items: center; width: min(82rem, calc(100% - 4rem)); margin-inline: auto; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.dh-navigation-label { display: none; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation { justify-content: center; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation > ul { justify-content: center; gap: .3rem; background: transparent; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation > ul > li > a { display: flex; align-items: center; gap: .65rem; padding: .7rem 1.15rem; border-radius: 0; background: transparent; color: #f7f7f8; font-size: .9rem; font-weight: 500; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation > ul > li > a:hover,
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation > ul > li.current-menu-item > a,
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation > ul > li.current-menu-ancestor > a { background: #ffffff14; color: #fff; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation a:focus-visible { outline: 2px solid #ffdc60; outline-offset: -3px; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation .sub-menu { min-width: 16rem; padding: .55rem; border: 1px solid #42454b; border-top: 2px solid #70757e; border-radius: 0 0 .7rem .7rem; background: #292c31; box-shadow: 0 .8rem 1.7rem #10121730; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation .sub-menu li + li { border-top: 1px solid #ffffff0d; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation .sub-menu a { padding: .65rem .85rem; border-radius: .35rem; color: #f0f1f3; font-size: .87rem; font-weight: 400; line-height: 1.4; }
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation .sub-menu a:hover,
body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation .sub-menu .current-menu-item > a { background: #3b3f46; color: #fff; }
@media (min-width: 52.001rem) {
 .dh-navigation-shell .primary-navigation > ul > .menu-item-has-children > a::after { content: ''; width: .35rem; height: .35rem; border-right: 1px solid #c4c7cc; border-bottom: 1px solid #c4c7cc; transform: translateY(-.1rem) rotate(45deg); }
}
@media (max-width: 52rem) {
 body.wp-theme-duhoviti-nova .header-inner { min-height: 4.7rem; padding-block: .65rem; }
 .dh-navigation-inner { width: calc(100% - 2.5rem); flex-wrap: wrap; justify-content: space-between; padding: .2rem 0; }
 .dh-navigation-label { display: block; color: #fff; font-size: .85rem; font-weight: 500; }
 body.wp-theme-duhoviti-nova .dh-navigation-shell .menu-toggle { flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem; background: transparent; color: #fff; border: 1px solid #ffffff55; }
 body.wp-theme-duhoviti-nova .dh-navigation-shell .menu-toggle[aria-expanded="true"] { background: #ffffff24; }
 body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation > ul { padding: .5rem 0 0; }
 body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation > ul > li > a { padding: .7rem 3.2rem .7rem .8rem; background: #ffffff12; }
 body.wp-theme-duhoviti-nova .dh-navigation-shell .submenu-toggle { color: #fff; border-color: #ffffff33; }
 body.wp-theme-duhoviti-nova .dh-navigation-shell .primary-navigation .sub-menu { min-width: 0; margin-top: .25rem; padding: .35rem; border: 1px solid #42454b; border-radius: .4rem; box-shadow: none; }
 .dh-home { padding-top: 1rem; }
}
@media (max-width: 37.5rem) {
 .dh-navigation-inner { width: calc(100% - 2rem); }
}

/* Balance the first screen around reading, humor and a usable message. */
body.wp-theme-duhoviti-nova .custom-logo { width: 264px; height: auto; aspect-ratio: auto; object-fit: contain; }
body.wp-theme-duhoviti-nova .header-inner { min-height: 0; padding-block: 1.25rem; }
.dh-opening { align-items: start; }
.dh-feature { grid-template-columns: 1.35fr 1fr; min-height: 20rem; }
.dh-feature--text { grid-template-columns: 1fr; }
.dh-feature-copy { padding: 1.7rem 1.9rem; }
.dh-feature h2 { font-size: clamp(1.65rem, 1.9vw, 1.95rem); line-height: 1.18; margin: .7rem 0 .8rem; }
.dh-feature-image { min-height: 20rem; }
.dh-excerpt { margin-bottom: 1rem; font-size: .84rem; }
.dh-image-mark { display: none; }
.dh-news-rail { padding-top: 1rem; }
.dh-pause { gap: .85rem; }
.home .dh-joke { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: start; gap: .8rem .85rem; flex: none; padding: 1.25rem; border-radius: .9rem; }
.dh-joke-heading { grid-column: 1 / -1; }
.dh-smile { width: 2.4rem; height: 2.4rem; margin: .15rem 0 0; }
.home .dh-joke .joke-of-day-card p { font-size: 1.06rem; line-height: 1.5; font-weight: 400; letter-spacing: -.012em; }
.home .dh-joke .joke-of-day-card h3 { margin: .65rem 0 0; }
.home .dh-joke .next-joke { grid-column: 2; justify-self: start; min-height: 2.2rem; margin: 0; }
.dh-message-card { padding: 1.25rem 1.5rem; border-radius: .9rem; background: #0755e9; color: #fff; }
.dh-home .dh-message-card .dh-kicker { color: #fff; font-size: .58rem; letter-spacing: .09em; }
.dh-message-card p { margin: .75rem 0 1rem; font-size: 1.12rem; font-weight: 400; line-height: 1.5; letter-spacing: -.02em; }
.dh-message-card a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: #fff; font-size: .75rem; font-weight: 500; }
.dh-message-card a span { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid #ffffff70; border-radius: 50%; }
.dh-message-card a:hover { color: #ffdf74; }
.dh-topics { gap: .8rem; margin-top: 1.6rem; padding: 0; border: 0; }
.dh-home .dh-topic { padding: 1rem; border: 1px solid #e0e3e4; border-radius: .8rem; background: #fff; transition: border-color .2s, transform .2s; }
.dh-topic:hover { border-color: #aab3bf; transform: translateY(-2px); }
.dh-topic-icon { flex-basis: 2.7rem; height: 2.7rem; background: #0755e9; color: #fff; }
.dh-topic--vicevi .dh-topic-icon { background: #ffdc60; color: #44340c; }
.dh-topic--zanimljivosti .dh-topic-icon { background: #7342c8; color: #fff; }
.dh-topic--aforizmi .dh-topic-icon { background: #22745a; color: #fff; font-size: 3rem; padding-top: 1.1rem; }
@media (min-width: 52.001rem) and (max-width: 72rem) {
 .dh-feature { grid-template-columns: 1.4fr 1fr; }
 .dh-feature-copy { padding: 1.35rem; }
 .dh-feature h2 { font-size: 1.65rem; }
 .home .dh-joke { grid-template-columns: 1fr; }
 .dh-smile { display: none; }
 .home .dh-joke .next-joke { grid-column: 1; }
 .dh-message-card { padding: 1.25rem; }
 .dh-message-card p { font-size: 1rem; }
}
@media (max-width: 52rem) {
 body.wp-theme-duhoviti-nova .custom-logo { width: 240px; }
 body.wp-theme-duhoviti-nova .header-inner { min-height: 0; padding-block: 1rem; }
 .dh-feature { min-height: 18rem; }
 .dh-feature-image { min-height: 18rem; }
 .dh-pause { grid-template-columns: 1.2fr 1fr; }
 .dh-message-card { display: flex; flex-direction: column; justify-content: center; }
 .dh-message-card p { font-size: 1.05rem; }
 .dh-home .dh-topic { padding: .85rem; }
}
@media (max-width: 37.5rem) {
 body.wp-theme-duhoviti-nova .custom-logo { width: 224px; }
 body.wp-theme-duhoviti-nova .header-inner { min-height: 0; padding-block: .875rem; }
 .dh-opening { gap: 1.2rem; }
 .dh-feature { min-height: 0; }
 .dh-feature-image { min-height: 0; height: 10rem; flex-basis: 10rem; }
 .dh-feature-image img { object-position: center 33%; }
 .dh-feature-copy { padding: 1.2rem; }
 .dh-feature h2 { font-size: 1.5rem; margin: .6rem 0 .9rem; }
 .dh-feature .dh-excerpt { display: none; }
 .dh-pause { grid-template-columns: 1fr; }
 .home .dh-joke { padding: 1.15rem; }
 .dh-message-card { padding: 1.15rem 1.3rem; }
 .dh-message-card p { margin: .6rem 0 .75rem; }
 .dh-topics { gap: .6rem; margin-top: 1.2rem; }
 .dh-home .dh-topic { padding: .75rem .6rem; gap: .55rem; }
 .dh-topic-icon { flex-basis: 2.2rem; height: 2.2rem; font-size: 1.2rem; }
 .dh-topic--aforizmi .dh-topic-icon { font-size: 2.7rem; padding-top: 1rem; }
}

/* Opening cards: keep the composition, sharpen the color and interaction. */
body.wp-theme-duhoviti-nova:has(.dh-home) { --dh-blue: #0957f0; --dh-line: #dce3ed; background: #f7f9fc; }
.dh-feature { border-color: #dce3ed; }
.dh-home .dh-live { color: #465873; }
.dh-live::before { box-shadow: 0 0 0 4px #dce8ff; }
.dh-read span { box-shadow: 0 .2rem .55rem rgba(9, 87, 240, .22); }
.dh-read:hover span, .dh-read:focus-visible span { transform: translate(2px, -2px); background: #0042c7; }
.home .dh-joke { background: #ffda4f; color: #242613; }
.dh-home .dh-joke .dh-kicker, .home .dh-joke .joke-of-day-card p { color: #242613; }
.dh-pill { border-color: #aa8500; background: rgba(255, 255, 255, .23); color: #413300; }
.home .dh-joke .next-joke { border-color: #e5b900; background: #fff9e7; color: #332900; box-shadow: 0 .18rem .4rem rgba(105, 79, 0, .1); transition: background-color .18s, box-shadow .18s, transform .18s; }
.home .dh-joke .next-joke:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 .35rem .7rem rgba(105, 79, 0, .15); }
.dh-message-card { background: #0957f0; }
.dh-message-card a span { border-color: rgba(255, 255, 255, .75); transition: transform .18s, background-color .18s, color .18s; }
.dh-message-card a:hover { color: #fff; }
.dh-message-card a:hover span { transform: translate(2px, -2px); background: #fff; color: #0957f0; }
.dh-home .dh-topic { border-color: #dce3ed; box-shadow: 0 .15rem .5rem rgba(22, 47, 90, .035); transition: border-color .18s, box-shadow .18s, transform .18s; }
.dh-home .dh-topic:hover { border-color: #b8c9e5; box-shadow: 0 .45rem 1rem rgba(22, 47, 90, .09); transform: translateY(-2px); }
.dh-topic-icon { background: #0957f0; border-radius: .7rem; }
.dh-topic-icon svg { display: block; width: 1.45rem; height: 1.45rem; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dh-topic--vicevi .dh-topic-icon { background: #ffd23b; color: #2b280d; }
.dh-topic--zanimljivosti .dh-topic-icon { background: #7545de; color: #fff; }
.dh-topic--aforizmi .dh-topic-icon { background: #13805e; color: #fff; padding: 0; }
.dh-topic--aforizmi .dh-topic-icon svg { width: 1.35rem; height: 1.35rem; }
.dh-topic-arrow { color: #587199; transition: transform .18s, color .18s; }
.dh-topic:hover .dh-topic-arrow { transform: translate(2px, -2px); color: #0957f0; }
@media (max-width: 37.5rem) {
 .dh-topic-icon svg { width: 1.15rem; height: 1.15rem; }
 .dh-topic--aforizmi .dh-topic-icon svg { width: 1.1rem; height: 1.1rem; }
}


/* Homepage brand blue: logo cyan for pictograms, deeper same-hue blue behind small white text. */
body.wp-theme-duhoviti-nova:has(.dh-home) { --dh-blue: #0075ab; --dh-logo-blue: #0098da; }
.dh-live::before { background: var(--dh-logo-blue); box-shadow: 0 0 0 4px #dff3fb; }
.dh-read span { background: var(--dh-logo-blue); box-shadow: 0 .2rem .55rem rgba(0, 152, 218, .22); }
.dh-read:hover span, .dh-read:focus-visible span { background: #0075ab; }
.dh-message-card, .home .dh-studio { background: #0075ab; }
.dh-message-card a:hover span { color: #0075ab; }
.dh-topic-icon { background: var(--dh-logo-blue); }
.dh-topic:hover .dh-topic-arrow { color: #0075ab; }
.dh-studio .sms-generator-form button { background: var(--dh-logo-blue); color: #003147; }
.dh-studio .sms-generator-form button:hover { background: #0075ab; color: #fff; }
.dh-studio .copy-message { background: #0075ab; color: #fff; }
.dh-studio .sms-generator-result { background: #eaf7fc; }


/* Keep the first SMS section close to the editorial lead. */
.dh-home .dh-opening + .dh-section--sms-poruke { margin-top: 1.8rem; }
@media (max-width: 37.5rem) {
 .dh-home .dh-opening + .dh-section--sms-poruke { margin-top: 1.4rem; }
}
