/* Puls24 High-End — style layer over the Domino Magazine theme.
   Loaded by mu-plugins/puls24-highend.php. Delete that file to switch it off. */

:root {
  --p24-bg: #FAF8F5;
  --p24-surface: #FFFFFF;
  --p24-ink: #171B24;
  --p24-ink-2: #5B616E;
  --p24-line: #E7E2DB;
  --p24-ruby: #CF203F;
  --p24-ruby-dark: #A9172F;
  --p24-bordo: #591328;
  --p24-radius: 14px;
  --p24-radius-sm: 10px;
  --p24-shadow: 0 1px 2px rgba(23, 27, 36, .05), 0 8px 24px rgba(23, 27, 36, .06);
  --p24-sans: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --p24-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --p24-wrap: 1320px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body,
body.wpz_layout_boxed {
  background: var(--p24-bg) !important;
  color: var(--p24-ink);
  font-family: var(--p24-sans);
  font-size: 16px !important;
  line-height: 1.6;
}
body a { color: inherit; text-decoration: none; transition: color .15s ease; }
body a:hover { color: var(--p24-ruby); text-decoration: none; }
body a:focus-visible,
body button:focus-visible,
body input:focus-visible {
  outline: 3px solid var(--p24-ruby);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--p24-ruby); color: #fff; }
img { max-width: 100%; }

body.wpz_layout_boxed .domino_boxed_layout,
body .domino_boxed_layout {
  max-width: none !important;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
body .inner-wrap {
  max-width: var(--p24-wrap);
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
h1, h2, h3, h4 { color: var(--p24-ink); letter-spacing: -.01em; }

/* ---------- Header ---------- */
#header {
  background: var(--p24-surface);
  border-bottom: 1px solid var(--p24-line);
}
.top-navbar {
  background: var(--p24-ink);
  border: 0;
  font-size: 12.5px;
}
.top-navbar .navbar-nav a { color: rgba(255, 255, 255, .82); font-weight: 500; padding: 9px 22px 9px 0; }
.top-navbar .navbar-nav a:hover { color: #fff; }
.top-navbar .navbar-nav ul { background: var(--p24-ink); border-radius: 0 0 var(--p24-radius-sm) var(--p24-radius-sm); }
.header_social a { color: #fff; }

.navbar-brand-wpz { margin: 22px 24px 18px 0; }
.navbar-brand-wpz h1 { font-size: 0 !important; line-height: 1; }
.navbar-brand-wpz h1 a,
.site-info-top .navbar-brand a {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--p24-sans);
  font-size: 44px !important;
  font-weight: 900;
  letter-spacing: -.045em;
  color: var(--p24-ink) !important;
  position: relative;
  padding-bottom: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6h58l6-5 7 10 7-10 6 5h76' fill='none' stroke='%23CF203F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left bottom / 100% 10px no-repeat;
}
.navbar-brand-wpz h1 a:empty::before { content: "Puls"; }
.navbar-brand-wpz h1 a:empty::after { content: "24"; color: var(--p24-ruby); }
.navbar-brand-wpz h1 a:hover { color: var(--p24-ink) !important; }
#header .adv { margin: 14px 0; max-width: 100%; overflow: hidden; }

.main-navbar {
  border: 0;
  border-top: 1px solid var(--p24-line);
  background: var(--p24-surface);
}
.main-navbar > .inner-wrap { border: 0; }
.main-navbar .navbar-nav > li > a {
  font-family: var(--p24-sans) !important;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--p24-ink);
  padding: 15px 16px;
  border: 0;
  position: relative;
}
.main-navbar .navbar-nav > li:first-child > a { padding-left: 0; }
.main-navbar .navbar-nav > li,
.main-navbar .navbar-nav > li > a,
.main-navbar .navbar-nav > .current-menu-item > a,
.main-navbar .navbar-nav > .current_page_item > a,
.main-navbar .navbar-nav > .current-menu-parent > a { background: none !important; }
.main-navbar .sf-arrows .sf-with-ul::after { display: none !important; }
.main-navbar .navbar-nav > li > a::before {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 8px;
  height: 2px;
  background: var(--p24-ruby);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-navbar .navbar-nav > li:first-child > a::before { left: 0; }
.main-navbar .navbar-nav > li:hover > a::before,
.main-navbar .navbar-nav > .current-menu-item > a::before,
.main-navbar .navbar-nav > .current_page_item > a::before,
.main-navbar .navbar-nav > .current-menu-parent > a::before { transform: scaleX(1); }
.main-navbar .navbar-nav > li > a:hover,
.main-navbar .navbar-nav > .current-menu-item > a,
.main-navbar .navbar-nav > .current_page_item > a,
.main-navbar .navbar-nav > .current-menu-parent > a { color: var(--p24-ruby) !important; }
.main-navbar .navbar-nav ul {
  background: var(--p24-surface);
  border: 1px solid var(--p24-line);
  border-radius: 0 0 var(--p24-radius-sm) var(--p24-radius-sm);
  box-shadow: var(--p24-shadow);
  padding: 6px 0;
  width: 240px;
}
.main-navbar .navbar-nav ul li { border: 0; }
.main-navbar .navbar-nav ul a {
  color: var(--p24-ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 18px;
}
.main-navbar .navbar-nav ul a:hover { color: var(--p24-ruby); background: var(--p24-bg); opacity: 1; }
.navbar-toggle .icon-bar { background: var(--p24-ink) !important; }

/* sticky navigation (class set by p24.js) */
body.p24-stuck .main-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  box-shadow: 0 6px 20px rgba(23, 27, 36, .10);
  border-top: 0;
}
body.admin-bar.p24-stuck .main-navbar { top: 32px; }

/* ---------- "Најново" ticker ---------- */
#news-ticker {
  background: var(--p24-surface) !important;
  border-top: 0;
  border-bottom: 1px solid var(--p24-line);
  padding: 6px 0;
  color: var(--p24-ink);
}
#news-ticker .inner-wrap { height: 36px; }
#news-ticker h3 {
  font-family: var(--p24-sans);
  font-size: 0 !important;
  line-height: 36px;
  margin: 0 18px 0 0;
  color: var(--p24-ruby) !important;
  display: flex;
  align-items: center;
}
#news-ticker h3::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--p24-ruby);
  margin-right: 8px;
  animation: p24-pulse 1.8s ease-out infinite;
}
#news-ticker h3::after {
  content: "Најново";
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#news-ticker dt, #news-ticker dd { line-height: 36px; }
#news-ticker dt { color: var(--p24-ink-2); font-size: 12.5px; font-weight: 500; }
#news-ticker dd a { color: var(--p24-ink); font-weight: 600; font-size: 14.5px; }
#news-ticker dd a:hover { color: var(--p24-ruby); }
@keyframes p24-pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 32, 63, .55); }
  70% { box-shadow: 0 0 0 8px rgba(207, 32, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 32, 63, 0); }
}

/* ---------- Section / widget headings ---------- */
.widget h3.title,
.section-title,
.featured_category_2col h3.title {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: none !important;
  color: var(--p24-ink) !important;
  font-family: var(--p24-sans) !important;
  font-size: 21px !important;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: none;
  line-height: 1.2;
  padding: 0 0 12px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--p24-line);
}
.widget h3.title::before,
.section-title::before,
.featured_category_2col h3.title::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 5px; height: 20px;
  border-radius: 3px;
  background: var(--p24-ruby);
}
.section-title::after { display: none; }
.widget h3.title a,
.wpzoom-featured-cat h3.title a {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  font: inherit;
}
.widget h3.title a:hover { color: var(--p24-ruby) !important; }

/* ---------- Hero mosaic ---------- */
.featured_area {
  background: transparent;
  border: 0;
  padding: 24px 0 8px;
}
.featured_area > .inner-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: 12px;
}
.featured_area > .inner-wrap > .clear { display: none; }
.featured_area .home_widgets { grid-column: 1 / -1; margin-top: 20px; }

#slider {
  width: auto;
  float: none;
  margin: 0;
  border: 0;
  border-radius: var(--p24-radius);
  overflow: hidden;
  box-shadow: var(--p24-shadow);
}
#slider .slides, #slider .slide { height: 492px; }
#slider .slide { text-align: left; }
#slider .section-title {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 5;
  background: var(--p24-ruby) !important;
  color: #fff !important;
  font-size: 11.5px !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  margin: 0;
}
#slider .section-title::before { display: none; }
.slides li .slide-overlay {
  background-image: linear-gradient(to bottom, rgba(10, 12, 18, 0) 30%, rgba(10, 12, 18, .55) 62%, rgba(10, 12, 18, .92) 100%);
}
.slides li .slide-header {
  left: 0; right: 0; bottom: 44px;
  width: auto;
  margin: 0 32px;
}
.slides li h3 { margin: 0 0 12px; text-shadow: none; }
.slides li h3 a {
  font-family: var(--p24-serif) !important;
  font-size: 34px !important;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}
.slides li h3 a:hover { border: 0; color: #fff; opacity: .9; }
.slides li .entry-meta a,
.post-item .cat-links a {
  display: inline-block;
  border: 0 !important;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
}
.slides li .entry-meta a::before {
  content: "";
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--p24-ruby);
  vertical-align: middle;
  margin-right: 8px;
}

#slider .flickity-prev-next-button {
  top: 16px;
  width: 38px; height: 38px;
  transform: none;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 27, 36, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 1;
}
#slider .flickity-prev-next-button:hover { background: var(--p24-ruby); }
#slider .flickity-prev-next-button.previous { left: auto; right: 62px; }
#slider .flickity-prev-next-button.next { right: 16px; }
#slider .flickity-page-dots { bottom: 16px; text-align: left; padding: 0 32px; box-sizing: border-box; }

.slider_widgets {
  width: auto;
  float: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.slider_widgets .widget { width: auto; float: none; margin: 0; position: relative; }
.slider_widgets .widget h3.title {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 30;
  background: rgba(23, 27, 36, .78) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 11px;
  margin: 0;
  border: 0;
  border-radius: 999px;
}
.slider_widgets .widget h3.title::before { display: none; }
.slider_widgets .widget h3.title a:hover { color: #fff !important; }
.slider_widgets .wpzoom-featured-cat .featured-grid-2 { display: grid; gap: 12px; }
.slider_widgets .wpzoom-featured-cat .featured-grid-2 > div {
  height: 240px;
  max-height: none;
  width: auto;
}
.slider_widgets .wpzoom-featured-cat .featured-grid-2 > div .post-thumb,
.slider_widgets .wpzoom-featured-cat .featured-grid-2 > div .post-thumb a { display: block; height: 100%; }
.slider_widgets .wpzoom-featured-cat .featured-grid-2 > div .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider_widgets .wpzoom-featured-cat .featured-grid-2 > div h3.entry-title { font-size: 16.5px; }

/* ---------- Photo tiles (.post-item) ---------- */
.post-item {
  border-radius: var(--p24-radius);
  overflow: hidden;
  background: var(--p24-ink);
  box-shadow: var(--p24-shadow);
}
.post-item .background-overlay {
  border: 0;
  background: linear-gradient(to bottom, rgba(10, 12, 18, 0) 35%, rgba(10, 12, 18, .5) 65%, rgba(10, 12, 18, .9) 100%);
  pointer-events: none;
}
.post-item .post-thumb { background: var(--p24-ink); }
.post-item .post-thumb img { opacity: 1; display: block; width: 100%; height: auto; }
.post-item:hover .post-thumb { transform: scale3d(1.04, 1.04, 1); }
.post-item:hover .post-thumb img { opacity: .92; }
.post-item .entry-title,
.post-item:hover .entry-title {
  left: 16px; right: 16px; bottom: 14px;
  max-width: none;
  margin: 0;
  font-family: var(--p24-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  text-shadow: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-item .entry-title a { color: #fff; }
.post-item .entry-title a:hover { color: #fff; opacity: .88; }
.post-item .entry-meta { display: none; }

/* ---------- Home: content + sidebar ---------- */
#main { padding-top: 28px; }
#main > .inner-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 36px; }
#main > .inner-wrap > .clear { display: none; }
#main .content-area { width: auto; float: none; flex: 1 1 0; min-width: 0; }
#main #sidebar { float: none; flex: 0 0 340px; width: 340px; }
#main > .inner-wrap > .grid_posts { flex: 1 1 100%; }

.content-area .widget { margin-bottom: 40px; }
[class*="featured-grid-"] { display: grid; gap: 16px; }
[class*="featured-grid-"]::before,
[class*="featured-grid-"]::after { display: none !important; }
.content-area .featured-grid-3,
.content-area .featured-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-area .featured-grid-2,
.content-area .featured-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-area [class*="featured-grid-"] > div {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}
.content-area .featured-style-style_block .post-item .post-thumb img { aspect-ratio: 4 / 3; object-fit: cover; }

/* text-style cards (thumb + title below) */
.featured-style-style_text > .post,
.featured_category_2col > .post {
  background: none;
  border: 0;
  padding: 0;
}
.featured-style-style_text .post-thumb,
.featured_category_2col .post-thumb { margin-bottom: 12px; overflow: hidden; border-radius: var(--p24-radius-sm); }
.featured-style-style_text .post-thumb img,
.featured_category_2col .post-thumb img,
.recent-posts .post-thumb img,
.related_posts img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--p24-radius-sm);
  transition: transform .3s ease;
}
.featured-style-style_text .post:hover .post-thumb img,
.recent-posts .post:hover .post-thumb img { transform: scale(1.03); }
.featured-style-style_text h3.entry-title,
.featured_category_2col h3.entry-title {
  font-family: var(--p24-sans);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 6px;
}
.featured_category_2col > .post h3.entry-title { font-family: var(--p24-serif); font-size: 22px; line-height: 1.28; }
.featured-grid.featured-style-style_text { display: block; font-size: 0; }
.featured_category_2col { width: 48.2%; margin-right: 3.6%; font-size: 16px; }
.featured_category_2col .feat-cat_small_list { margin: 18px 0 0; padding: 0; }
.featured_category_2col .feat-cat_small_list li {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--p24-line);
}
.featured_category_2col .feat-cat_small_list h3.entry-title { font-size: 15.5px; font-weight: 600; }
.featured_category_2col .feat-cat_small_list .post-thumb { max-width: 104px; margin: 0 14px 0 0; }

.entry-meta, .entry-meta a, .entry-date, .related_posts span {
  color: var(--p24-ink-2);
  font-size: 12.5px;
  font-weight: 500;
}

/* ---------- Sidebar ---------- */
#sidebar { font-size: 14.5px; overflow: visible; }
#sidebar .widget {
  background: var(--p24-surface);
  border: 1px solid var(--p24-line);
  border-radius: var(--p24-radius);
  padding: 20px;
  margin-bottom: 24px;
}
#sidebar .widget h3.title { font-size: 18px !important; margin-bottom: 6px; }
#sidebar .widget_recent_entries ul { margin: 0; padding: 0; list-style: none; counter-reset: p24n; }
#sidebar .widget_recent_entries li {
  counter-increment: p24n;
  position: relative;
  padding: 13px 0 13px 40px;
  border-bottom: 1px solid var(--p24-line);
  font-weight: 600;
  line-height: 1.38;
}
#sidebar .widget_recent_entries li:last-child { border: 0; padding-bottom: 2px; }
#sidebar .widget_recent_entries li::before {
  content: counter(p24n, decimal-leading-zero);
  position: absolute;
  left: 0; top: 12px;
  font-family: var(--p24-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--p24-ruby);
  line-height: 1.1;
}
#sidebar .side_ad { margin-bottom: 24px; text-align: center; }

.sb-search-input, #searchform input[type="text"], #searchform input[type="search"] {
  border: 1px solid var(--p24-line);
  border-radius: 999px;
  background: var(--p24-bg);
  padding: 10px 16px;
  font-family: var(--p24-sans);
  font-size: 15px;
  box-sizing: border-box;
}

#searchsubmit, .sb-search-submit, input[type="submit"] {
  background: var(--p24-ruby) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-family: var(--p24-sans);
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .15s ease;
}
#searchsubmit:hover, .sb-search-submit:hover, input[type="submit"]:hover { background: var(--p24-ruby-dark) !important; }
#sidebar .widget_custom_html { background: none; border: 0; padding: 0; }
#sidebar .widget_custom_html:empty, #sidebar .textwidget:empty { display: none; }

/* ---------- Latest posts grid ---------- */
.grid_posts { margin-top: 12px; }
.grid_posts .recent-posts,
.archive .recent-posts,
.search .recent-posts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  font-size: 16px;
}
.grid_posts .recent-posts .post,
.archive .recent-posts .post,
.search .recent-posts .post {
  width: auto;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 0;
  background: var(--p24-surface);
  border: 1px solid var(--p24-line);
  border-radius: var(--p24-radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.recent-posts .post::before, .recent-posts .post::after { display: none; }
.grid_posts .recent-posts .post:hover,
.archive .recent-posts .post:hover,
.search .recent-posts .post:hover { box-shadow: var(--p24-shadow); transform: translateY(-2px); }
.grid_posts .recent-posts .post-thumb,
.archive .recent-posts .post-thumb,
.search .recent-posts .post-thumb { float: none; max-width: none; margin: 0; overflow: hidden; }
.grid_posts .recent-posts .post-thumb img,
.archive .recent-posts .post-thumb img,
.search .recent-posts .post-thumb img { border-radius: 0; aspect-ratio: 16 / 11; object-fit: cover; }
.recent-posts .entry-body { padding: 14px 16px 16px; }
.recent-posts .cat-links { display: block; margin: 0 0 8px; }
.recent-posts .cat-links a {
  border: 0;
  background: none;
  padding: 0;
  margin: 0 8px 0 0;
  opacity: 1;
  color: var(--p24-ruby);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.4;
}
.recent-posts .cat-links a::after { display: none; }
.recent-posts .entry-title,
.grid_posts .recent-posts .entry-title { margin: 0 0 8px; font-size: 17px; line-height: 1.34; }
.recent-posts .entry-title a {
  font-size: inherit !important;
  text-transform: none !important;
  font-weight: 700;
}
.recent-posts .entry-content {
  color: var(--p24-ink-2);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-posts .entry-content p { margin: 0; }
.recent-posts .readmore_button { display: none; }

.navigation { margin: 34px 0 10px; text-align: center; font-size: 15px; }
.navigation .page-numbers {
  display: inline-block;
  min-width: 42px;
  padding: 9px 12px;
  margin: 0 3px 6px;
  border: 1px solid var(--p24-line);
  border-radius: 999px;
  background: var(--p24-surface);
  color: var(--p24-ink);
  font-weight: 600;
  box-sizing: border-box;
}
.navigation .page-numbers.current,
.navigation a.page-numbers:hover { background: var(--p24-ruby); border-color: var(--p24-ruby); color: #fff; }
.navigation .page-numbers.dots { border: 0; background: none; }

/* ---------- Article ---------- */
.single #main .content-area,
.page #main .content-area { background: none; }
.single .entry-header { margin-bottom: 26px; display: flex; flex-direction: column; }
.single .entry-header .post-thumb { order: 4; margin-top: 22px; }
.single .entry-header .post-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--p24-radius);
}
.single .entry-category a,
.entry-category a {
  display: inline-block;
  color: var(--p24-ruby);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.single h1.entry-title,
.page h1.entry-title {
  font-family: var(--p24-serif) !important;
  font-size: 40px !important;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  text-transform: none !important;
  margin: 0 0 14px;
}
.single .entry-header .entry-meta { font-size: 14px; }
.single .entry-header .entry-meta a { font-size: 14px; color: var(--p24-ink); font-weight: 700; }
.single .entry-header .entry-meta > span { margin-right: 14px; }

.single .entry-content {
  font-size: 19px;
  line-height: 1.75;
  color: #232733;
  max-width: 740px;
}
.single .entry-content p { margin: 0 0 1.25em; }
.single .entry-content a { color: var(--p24-ruby); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.single .entry-content h2, .single .entry-content h3 { font-family: var(--p24-sans); font-weight: 800; line-height: 1.25; margin: 1.6em 0 .6em; }
.single .entry-content h2 { font-size: 27px; }
.single .entry-content h3 { font-size: 22px; }
.single .entry-content img { height: auto; border-radius: var(--p24-radius-sm); }
.single .entry-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--p24-ruby);
  font-family: var(--p24-serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--p24-ink);
  background: none;
}
.single .entry-content ul, .single .entry-content ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.single .entry-content li { margin-bottom: .4em; }
.single .entry-content iframe, .single .entry-content video { max-width: 100%; }
.post-area { border-bottom: 1px solid var(--p24-line); margin-bottom: 40px; padding-bottom: 40px; }

.related_posts { width: 210px; margin: 0 36px 24px 0; }
.related_posts h3 {
  border-top: 3px solid var(--p24-ruby);
  font-family: var(--p24-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding-top: 12px;
}
.related_posts ul { margin: 0; padding: 0; }
.related_posts ul li { margin-bottom: 22px; }
.related_posts ul li a { font-size: 14.5px; font-weight: 700; line-height: 1.36; }
.related_posts ul li img { margin-bottom: 10px; }

.previous-link a, .next-link a {
  background: var(--p24-ink) !important;
  border-radius: 999px;
  font-family: var(--p24-sans) !important;
  font-size: 14px !important;
  font-weight: 700;
  padding: 9px 18px !important;
  text-transform: none !important;
}
.previous-link a:hover, .next-link a:hover { background: var(--p24-ruby) !important; color: #fff !important; }

/* reading progress (element added by p24.js) */
#p24-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--p24-ruby);
  z-index: 99999;
  transition: width .1s linear;
}
body.admin-bar #p24-progress { top: 32px; }

/* ---------- Archive headings ---------- */
.archive .section-title, .search .section-title, .page-title, h2.section-title {
  font-size: 26px !important;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--p24-ink);
  border: 0;
  color: rgba(255, 255, 255, .72);
  margin-top: 56px;
  font-size: 15px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FF8FA3; }
.footer-widgets { border-bottom: 1px solid rgba(255, 255, 255, .09); padding-top: 44px; }
.site-footer .widget h3.title,
.site-footer .featured_category_2col h3.title {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, .12);
  font-size: 18px !important;
}
.site-footer h3.entry-title a { color: #fff; }
.site-footer .entry-meta, .site-footer .entry-date { color: rgba(255, 255, 255, .55); }
.site-footer .widget_recent_entries ul { margin: 0; padding: 0; list-style: none; }
.site-footer .widget_recent_entries li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); font-weight: 500; line-height: 1.4; }
.site-footer .feat-cat_small_list li { border-top-color: rgba(255, 255, 255, .09); }
.site-info-top {
  background: var(--p24-bordo);
  border: 0;
  padding: 26px 0;
}
.site-info-top .navbar-brand a { color: #fff !important; font-size: 30px !important; }
.site-info-top .footer-menu a { font-weight: 600; font-size: 14px; }
.site-info { background: #10131A; color: rgba(255, 255, 255, .6); font-size: 13.5px; padding: 20px 0; }
.site-info .designed-by { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  #main #sidebar { flex: 1 1 100%; width: 100%; margin-top: 12px; }
  #sidebar .theiaStickySidebar { position: static !important; transform: none !important; width: auto !important; }
  .featured_area > .inner-wrap { grid-template-columns: 1fr; }
  #slider .slides, #slider .slide { height: 430px; }
  .grid_posts .recent-posts, .archive .recent-posts, .search .recent-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .single h1.entry-title, .page h1.entry-title { font-size: 34px !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .inner-wrap { padding-left: 14px; padding-right: 14px; }
  .navbar-brand-wpz { float: none; margin: 14px 0 10px; text-align: center; }
  .navbar-brand-wpz h1 a { font-size: 36px !important; }
  #header .adv { float: none; margin: 0 auto 10px; text-align: center; }
  .top-navbar { display: none; }
  .featured_area { padding-top: 14px; }
  #slider .slides, #slider .slide { height: 340px; }
  .slides li .slide-header { margin: 0 18px; bottom: 40px; }
  #slider .flickity-page-dots { padding: 0 18px; bottom: 12px; }
  #slider .flickity-prev-next-button { top: 12px; width: 44px; height: 44px; }
  #slider .flickity-prev-next-button.previous { right: 64px; }
  #slider .flickity-prev-next-button.next { right: 12px; }
  .slides li h3 a { font-size: 23px !important; line-height: 1.25; }
  .slider_widgets { gap: 10px; }
  .slider_widgets .wpzoom-featured-cat .featured-grid-2 { gap: 10px; }
  .slider_widgets .wpzoom-featured-cat .featured-grid-2 > div { height: 170px; }
  .slider_widgets .wpzoom-featured-cat .featured-grid-2 > div h3.entry-title { font-size: 14px; }
  .post-item .entry-title, .post-item:hover .entry-title { left: 12px; right: 12px; bottom: 11px; font-size: 15px; }
  .widget h3.title, .section-title, .featured_category_2col h3.title { font-size: 19px !important; }
  .content-area .featured-grid-3, .content-area .featured-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .content-area .featured-grid-3 > div:first-child { grid-column: 1 / -1; }
  .featured_category_2col { width: 100%; margin: 0 0 28px; display: block; }
  .grid_posts .recent-posts, .archive .recent-posts, .search .recent-posts { grid-template-columns: 1fr; gap: 14px; }
  .grid_posts .recent-posts .post, .archive .recent-posts .post, .search .recent-posts .post { flex-direction: row; align-items: stretch; }
  .grid_posts .recent-posts .post-thumb, .archive .recent-posts .post-thumb, .search .recent-posts .post-thumb { flex: 0 0 38%; }
  .grid_posts .recent-posts .post-thumb a, .archive .recent-posts .post-thumb a, .search .recent-posts .post-thumb a { display: block; height: 100%; }
  .grid_posts .recent-posts .post-thumb img, .archive .recent-posts .post-thumb img, .search .recent-posts .post-thumb img { height: 100%; aspect-ratio: auto; min-height: 104px; }
  .recent-posts .entry-body { padding: 10px 12px; flex: 1 1 auto; min-width: 0; }
  .recent-posts .entry-title, .grid_posts .recent-posts .entry-title { font-size: 15.5px; }
  .recent-posts .entry-content { display: none; }
  .single h1.entry-title, .page h1.entry-title { font-size: 27px !important; line-height: 1.22; }
  .single .entry-content { font-size: 18px; line-height: 1.7; }
  .single .entry-content blockquote { font-size: 19px; }
  .related_posts { float: none; width: auto; margin: 0 0 24px; }
  .related_posts ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .related_posts ul li { margin: 0; }
  .related_posts ul li a { font-size: 13px; }
  .footer-widgets .column { float: none; width: 100% !important; margin-right: 0 !important; }
  .navigation .page-numbers { min-width: 44px; padding: 11px 12px; }
  body.admin-bar.p24-stuck .main-navbar, body.admin-bar #p24-progress { top: 46px; }
}

@media (max-width: 400px) {
  #slider .slides, #slider .slide { height: 300px; }
  .slides li h3 a { font-size: 21px !important; }
  .slider_widgets .wpzoom-featured-cat .featured-grid-2 > div { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
