/* =========================================================================
   Laurastar Style – slogi teme
   Vizualni jezik po vzoru laurastar.com:
   bela podlaga, veliko belega prostora, črna tipografija,
   rdeč poudarek, "eyebrow" nadnaslovi v velikih črkah,
   izmenične 50/50 sekcije, kartične mreže.
   ========================================================================= */

:root {
	--ls-red: #39661e;          
	--ls-red-dark: #295aa9;     /* hover/aktivno stanje */
	--ls-black: #1a1a1a;        /* glavna tipografija */
	--ls-gray: #55565a;         /* sekundarno besedilo (kontrast 7.4:1) */
	--ls-line: #e6e6e6;         /* tanke ločnice */
	--ls-tint: #f7f7f8;         /* nežno tonirane sekcije */
	--ls-white: #ffffff;
	--ls-font: "Helvetica Neue", "Segoe UI", Arial, system-ui, sans-serif;
	--ls-section-y: clamp(3.5rem, 8vw, 6.5rem);
}

body {
	font-family: var(--ls-font);
	color: var(--ls-black);
	background: var(--ls-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-wrap: balance;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 300;                 /* Laurastar: lahki, veliki naslovi */
	letter-spacing: 0.01em;
	color: var(--ls-black);
}

a { color: var(--ls-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--ls-red-dark); }

img { height: auto; max-width: 100%; }

/* ---------- Dostopnost: fokus in preskok na vsebino ---------- */
:focus-visible {
	outline: 3px solid var(--ls-red);
	outline-offset: 3px;
	border-radius: 2px;
}

.skip-link {
	position: absolute;
	top: 0; left: 0;
	z-index: 2000;
	padding: .75rem 1.25rem;
	background: var(--ls-black);
	color: #fff;
	text-decoration: none;
}
.skip-link:focus { color: #fff; }

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

/* ---------- Eyebrow (nadnaslov v velikih črkah) ---------- */
.eyebrow {
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ls-gray);
	margin-bottom: .75rem;
}

/* ---------- Gumbi in povezave znamke ---------- */
.btn-brand {
	--bs-btn-bg: var(--ls-red);
	--bs-btn-border-color: var(--ls-red);
	--bs-btn-color: #fff;
	--bs-btn-hover-bg: var(--ls-red-dark);
	--bs-btn-hover-border-color: var(--ls-red-dark);
	--bs-btn-hover-color: #fff;
	--bs-btn-active-bg: var(--ls-red-dark);
	--bs-btn-active-border-color: var(--ls-red-dark);
	--bs-btn-active-color: #fff;
	--bs-btn-focus-shadow-rgb: 213, 0, 50;
	border-radius: 0;                 /* Laurastar: ostri robovi */
	padding: .8rem 2.2rem;
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.link-brand {
	display: inline-block;
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ls-red);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: .2rem;
}
.link-brand:hover, .link-brand:focus { color: var(--ls-red-dark); }

.text-brand { color: var(--ls-red); }

/* ---------- Glava ---------- */
.site-header {
	border-bottom: 1px solid var(--ls-line);
	background: var(--ls-white);
	position: sticky;
	top: 0;
	z-index: 1030;
}

.site-navbar { padding-block: .75rem; }

.site-branding .custom-logo { max-height: 52px; width: auto; }
.site-title {
	font-size: 1.35rem;
	font-weight: 300;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--ls-black);
	text-decoration: none;
}
.site-title:hover, .site-title:focus { color: var(--ls-red); }

/* mobilni preklopnik (lastne črtice namesto Bootstrap ikone – boljši kontrast) */
.navbar-toggler {
	border: 1px solid var(--ls-line);
	border-radius: 0;
	padding: .6rem .7rem;
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
}
.navbar-toggler-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ls-black);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--ls-red); outline-offset: 3px; }

/* glavni meni */
.main-menu { gap: .25rem; }
.main-menu .nav-item > a {
	display: block;
	padding: .75rem 1rem;
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ls-black);
	text-decoration: none;
}
.main-menu .nav-item > a:hover,
.main-menu .nav-item > a:focus,
.main-menu .current-menu-item > a,
.main-menu .current-menu-ancestor > a {
	color: var(--ls-red);
}
.main-menu .current-menu-item > a { border-bottom: 2px solid var(--ls-red); }

/* podmeni – na namizju kot spustni, na mobilnih znotraj toka; dostopen tudi samo s tipkovnico */
.main-menu .sub-menu {
	list-style: none;
	padding: .5rem 0;
	margin: 0;
}
@media (min-width: 992px) {
	.main-menu .nav-item { position: relative; }
	.main-menu .sub-menu {
		position: absolute;
		inset-inline-start: 0;
		top: 100%;
		min-width: 240px;
		background: var(--ls-white);
		border: 1px solid var(--ls-line);
		box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
		display: none;
	}
	.main-menu .nav-item:hover > .sub-menu,
	.main-menu .nav-item:focus-within > .sub-menu {
		display: block;
	}
}
.main-menu .sub-menu a {
	display: block;
	padding: .55rem 1.25rem;
	font-size: .85rem;
	color: var(--ls-black);
	text-decoration: none;
	text-transform: none;
	letter-spacing: .02em;
}
.main-menu .sub-menu a:hover,
.main-menu .sub-menu a:focus { color: var(--ls-red); background: var(--ls-tint); }

/* iskalnik v glavi */
.header-search { position: relative; }
.search-toggle {
	display: inline-flex;
	align-items: center;
	background: none;
	border: 0;
	padding: .6rem;
	color: var(--ls-black);
	cursor: pointer;
}
.search-toggle:hover, .search-toggle:focus { color: var(--ls-red); }
.header-search__form { padding: .75rem 0; }
@media (min-width: 992px) {
	.header-search__form {
		position: absolute;
		inset-inline-end: 0;
		top: calc(100% + .5rem);
		width: min(360px, 90vw);
		background: var(--ls-white);
		border: 1px solid var(--ls-line);
		box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
		padding: 1rem;
	}
}

.search-form .form-control {
	border-radius: 0;
	border-color: var(--ls-line);
	padding: .7rem 1rem;
}
.search-form .form-control:focus {
	border-color: var(--ls-red);
	box-shadow: 0 0 0 .2rem rgba(213, 0, 50, .15);
}
.search-form .btn { border-radius: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--ls-section-y); }
.hero__title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.15;
	margin-bottom: 1.25rem;
}
.hero__text {
	font-size: 1.1rem;
	color: var(--ls-gray);
	max-width: 34rem;
	margin-bottom: 2rem;
}
.hero__text > :last-child { margin-bottom: 0; }
.hero--no-image .hero__text { margin-inline: auto; }

/* kampanjski modul pred nogo: nežno tonirano ozadje loči modul od vsebine nad njim */
.hero--campaign { background: var(--ls-tint); }
/* ko je kampanja zadnji element, se noga naslanja neposredno nanjo */
.site-main:has(> .hero--campaign:last-child) + .site-footer { margin-top: 0; }
.hero__image { width: 100%; object-fit: cover;position: relative;
    z-index: 1; }
.hero__image::before {
    content: '';
    position: absolute;
    left: -40px;
    bottom: 0;
    display: block;
    width: 746px;
    height: 400px;
    background-image: linear-gradient(40deg, #f3e3df, #ceb6ae);
}

/* ---------- Sekcije ---------- */
.section { padding-block: var(--ls-section-y); }
.section--tinted { background: var(--ls-tint); }
.section__title {
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	margin-bottom: 1.25rem;
}
.section__text {
	color: var(--ls-gray);
	margin-bottom: 1.75rem;
}
.section__image { width: 100%; }
.section--news__head { margin-bottom: 2rem; gap: 1rem; }

/* ---------- Mreža kartic (kategorije) ---------- */
.card-grid { margin-top: 2.5rem; }
.grid-card__link {
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--ls-black);
	padding: 1rem;
	background: var(--ls-white);
	border: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
	height: 100%;
}
.grid-card__link:hover,
.grid-card__link:focus-visible {
	border-color: var(--ls-line);
	box-shadow: 0 14px 34px rgba(0, 0, 0, .07);
	color: var(--ls-black);
}
.grid-card__media { display: block; margin-bottom: 1rem; }
.grid-card__media img { transition: transform .3s ease; }
.grid-card__link:hover .grid-card__media img,
.grid-card__link:focus-visible .grid-card__media img { transform: scale(1.03); }
.grid-card__title {
	display: block;
	font-size: 1.05rem;
	font-weight: 400;
	margin-bottom: .5rem;
}
.grid-card__cta {
	display: inline-block;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ls-red);
	border-bottom: 2px solid currentColor;
	padding-bottom: .15rem;
}

/* ---------- Kartice novic ---------- */
.news-card {
	display: flex;
	flex-direction: column;
	background: var(--ls-white);
	border: 1px solid var(--ls-line);
}
/* kartica brez slike (iskanje ali izklopljene slike): rdeč rob namesto slike */
.news-card--no-image { border-top: 3px solid var(--ls-red); }
.news-card--no-image .news-card__body { padding-block: 1.75rem; }
.news-card__media { display: block; overflow: hidden; }
.news-card__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .3s ease;
}
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex-grow: 1;
}
.news-card__meta {
	font-size: .78rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ls-gray);
	margin: 0;
}
.news-card__title { font-size: 1.6rem;
    margin: 0 0 1rem;
    font-weight: 500; }
.news-card__title a { color: var(--ls-black); text-decoration: none; }
.news-card__title a:hover, .news-card__title a:focus { color: var(--ls-red); }
.news-card__excerpt { color: var(--ls-gray); margin: 0 0 .5rem; }
.news-card .link-brand { margin-top: auto; align-self: flex-start; }

/* ---------- Glave strani, vsebina ---------- */
.page-header {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
	/*border-bottom: 1px solid var(--ls-line);*/
	background-color: #9cb28e;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-header__title {
	font-size: clamp(1.8rem, 4.5vw, 3rem);
	margin: 0;
	/*position: relative;*/
	font-weight: 700;
    text-transform: uppercase;
}
.wp-block-heading, .section__title, .hero__title {
	font-weight: 700;
    text-transform: uppercase;
}


/*.page-header__title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    display: block;
    width: 3px;
    height: 20px;
    background-color: #4d4d4d;
}*/
.page-header__desc { margin-top: 1rem; color: var(--ls-gray); max-width: 46rem; }
.page-header--entry { border-bottom: 0; margin-bottom: 1.5rem; text-align: center; }

.section--list { padding-bottom: var(--ls-section-y); }
.results-count { color: var(--ls-gray); margin-bottom: 1.5rem; }

.single-entry__image { margin-bottom: clamp(2rem, 5vw, 3rem); }
.single-entry__content { padding-bottom: clamp(2rem, 5vw, 3rem); }
.single-entry__footer { padding-bottom: var(--ls-section-y); }

.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content h2, .entry-content h3 { margin-top: 2.25rem; scroll-margin-top: 2em; }
.entry-content img { margin-block: 1rem; }
.entry-content blockquote {
	border-inline-start: 3px solid var(--ls-red);
	padding: .5rem 0 .5rem 1.5rem;
	color: var(--ls-gray);
	font-size: 1.15rem;
}

/* ---------- Paginacija ---------- */
.pagination-wrap { margin-top: 3rem; }
.pagination-wrap .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
}
.pagination-wrap .page-numbers {
	display: inline-block;
	min-width: 2.6rem;
	padding: .55rem .9rem;
	text-align: center;
	border: 1px solid var(--ls-line);
	color: var(--ls-black);
	text-decoration: none;
	font-size: .9rem;
}
.pagination-wrap a.page-numbers:hover,
.pagination-wrap a.page-numbers:focus { border-color: var(--ls-red); color: var(--ls-red); }
.pagination-wrap .page-numbers.current {
	background: var(--ls-red);
	border-color: var(--ls-red);
	color: #fff;
}

/* ---------- Nadomestna slika ---------- */
.lstyle-placeholder { background: var(--ls-tint); }
.lstyle-placeholder svg { width: 100%; height: 100%; }

/* ---------- Noga ---------- */
.site-footer {
	margin-top: var(--ls-section-y);
	border-top: 1px solid var(--ls-line);
	padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
	background: var(--ls-white);
}
.site-footer__widgets { margin-bottom: 2.5rem; }
.footer-widget__title {
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget li { margin-bottom: .5rem; }
.footer-widget a { color: var(--ls-gray); text-decoration: none; }
.footer-widget a:hover, .footer-widget a:focus { color: var(--ls-red); text-decoration: underline; }

.site-footer__bottom {
	border-top: 1px solid var(--ls-line);
	padding-top: 1.5rem;
}
.footer-menu, .social-menu { gap: .25rem 1.5rem; }
.footer-menu a, .social-menu a {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ls-gray);
	text-decoration: none;
}
.footer-menu a:hover, .footer-menu a:focus,
.social-menu a:hover, .social-menu a:focus { color: var(--ls-red); text-decoration: underline; }

/* ikone družbenih omrežij (ciljna površina 44×44 px) */
.social-menu { gap: .25rem; }
.social-menu .social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ls-line);
	border-radius: 50%;
	color: var(--ls-black);
	text-decoration: none;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.social-menu .social-link:hover,
.social-menu .social-link:focus-visible {
	color: #fff;
	background: var(--ls-red);
	border-color: var(--ls-red);
}

.site-footer__copy {
	margin: 1.5rem 0 0;
	font-size: .8rem;
	color: var(--ls-gray);
}

/* ---------- Manjši zasloni ---------- */
@media (max-width: 991.98px) {
	.main-menu .nav-item > a { padding-inline: 0; }
	.main-menu .sub-menu { border-inline-start: 2px solid var(--ls-line); padding-inline-start: 1rem; }
	.header-search { padding-block: .5rem; }
}


/* LAURASTAR FAQ */
.laurastar-faq, .geo-faq-section {
  --faq-accent: #d50032;
  --faq-border: #ded2d2;
  --faq-background: #fff;
  --faq-muted: #ded2d2;
  --faq-text: #1a1a1a;

  max-width: 900px;
  margin: 0 auto;
  color: var(--faq-text);
  line-height: 1.7;
}

.laurastar-faq,
.laurastar-faq *, .geo-faq-section, .geo-faq-section * {
  box-sizing: border-box;
}

.laurastar-faq h2, .geo-faq-section h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.laurastar-faq__category {
  margin: 0 0 2.5rem;
}

.laurastar-faq__category > h3, .geo-faq-section > h3 {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #d50032;
  border-bottom: 2px solid var(--faq-accent);
  font-size: 1.4rem;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}

.laurastar-faq__item, .geo-faq-item details {
  margin: 0 0 0.65rem;
  border: 1px solid var(--faq-border);
  border-radius: 8px;
  background: var(--faq-background);
  overflow: clip;
}

.laurastar-faq__item summary, .geo-faq-item details summary {
  position: relative;
  display: list-item;
  padding: 1.1rem 3rem 1.1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}

.geo-faq-item summary {
	background: #ffffff !important;
}

.laurastar-faq__item summary::-webkit-details-marker, .geo-faq-item details summary::-webkit-details-marker {
  display: none;
}

.laurastar-faq__item summary::after, .geo-faq-item details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  transform: translateY(-50%);
  color: var(--faq-accent);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.laurastar-faq__item[open] summary::after, .geo-faq-item details[open]  summary::after {
  content: "\2212";
}

.laurastar-faq__item[open] summary, .geo-faq-item details[open]  summary {
  background: var(--faq-muted);
	    margin-bottom: 1rem;
}

.geo-faq-item details[open] summary {
  background: var(--faq-muted) !important;
  border-radius: 8px 8px 0 0 !important;
}

.laurastar-faq__item summary:hover, .geo-faq-item details summary:hover {
  background: var(--faq-muted) !important;
}

.laurastar-faq__item summary:focus-visible, .geo-faq-item details summary:focus-visible {
  outline: 3px solid var(--faq-accent);
  outline-offset: -3px;
  border-radius: 6px;
}

.laurastar-faq__answer {
  padding: 0 1.2rem 1.2rem;
  overflow-wrap: anywhere;
}

.laurastar-faq__answer p {
  margin: 0 0 0.85rem;
}

.laurastar-faq__answer p:last-child {
  margin-bottom: 0;
}

.laurastar-faq__answer ol,
.laurastar-faq__answer ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}

.laurastar-faq__answer li {
  margin-bottom: 0.4rem;
}

@media (max-width: 600px) {
  .laurastar-faq h2 {
    margin-bottom: 1.5rem;
  }

  .laurastar-faq__category {
    margin-bottom: 2rem;
  }

  .laurastar-faq__category > h3 {
    font-size: 1.25rem;
  }

  .laurastar-faq__item summary {
    padding: 1rem 2.7rem 1rem 0.9rem;
  }

  .laurastar-faq__item summary::after {
    right: 0.9rem;
  }

  .laurastar-faq__answer {
    padding: 0 0.9rem 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .laurastar-faq__item {
    transition: border-color 0.2s ease;
  }

  .laurastar-faq__item:hover {
    /*border-color: var(--faq-accent);*/
  }
}

.section--grid {
    background-color: #ded2d2;
}


/* =========================================================================
   Tabele v slogu Laurastar
   - veliko ozadja, malo obrob: brez navpičnih črt, samo tanke vodoravne
   - glava: nežno tonirano ozadje, male velike črke, debelejša spodnja črta
   - deluje na navadnih tabelah in na Gutenbergovem bloku "Tabela"
   - deluje samostojno (rezervne vrednosti) ali skupaj s theme.css

   Uporaba: prilepite v assets/css/theme.css ali v Videz → Prilagodi → Dodatni CSS.

   Različice (razred tabele; pri bloku "Tabela": Napredno → Dodatni razredi CSS):
     (brez razreda)      tonirana glava + tanke vodoravne črte
     .is-style-stripes   progaste vrstice brez črt (Gutenbergov slog "Proge")
     .table-lines        samo zgornja in spodnja črta, brez ozadij
     .table-compact      manjši razmiki
   ========================================================================= */

:root {
	--tbl-text:  var(--ls-black, #1a1a1a);
	--tbl-muted: var(--ls-gray, #55565a);
	--tbl-line:  var(--ls-line, #e6e6e6);
	--tbl-tint:  var(--ls-tint, #f7f7f8);
	--tbl-red:   var(--ls-red, #d50032);
}

/* ---------- Ovoj: vodoravno drsenje na ozkih zaslonih ---------- */
.wp-block-table {
	margin: 2rem 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.wp-block-table:focus-visible {
	outline: 3px solid var(--tbl-red);
	outline-offset: 3px;
}
/* Navadne tabele brez ovoja (klasični urejevalnik) */
@media (max-width: 767.98px) {
	.entry-content > table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* ---------- Osnova ---------- */
.entry-content table,
.wp-block-table table {
	width: 100%;
	margin: 2rem 0;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
	font-size: .95rem;
	line-height: 1.5;
	color: var(--tbl-text);
	background: transparent;
}
.wp-block-table table { margin: 0; }

/* Gutenberg privzeto riše okvir okoli vsake celice – odstranimo ga */
.entry-content table th,
.entry-content table td,
.wp-block-table th,
.wp-block-table td {
	border: 0;
	border-bottom: 1px solid var(--tbl-line);
	padding: .9rem 1.1rem;
	text-align: left;
	vertical-align: top;
}

/* ---------- Glava ---------- */
.entry-content table thead th,
.wp-block-table thead th,
.entry-content table thead td,
.wp-block-table thead td {
	background: var(--tbl-tint);
	border-bottom: 2px solid var(--tbl-text);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tbl-muted);
	white-space: nowrap;
}

/* Tabela brez <thead> (Gutenberg lahko izpusti glavo): prva vrstica ni posebna */
.entry-content table tbody th,
.wp-block-table tbody th {
	font-weight: 600;
	color: var(--tbl-text);
	background: transparent;
	letter-spacing: normal;
	text-transform: none;
}

/* Noga tabele (vsote): tonirano ozadje, črta na vrhu */
.entry-content table tfoot td,
.entry-content table tfoot th,
.wp-block-table tfoot td,
.wp-block-table tfoot th {
	background: var(--tbl-tint);
	border-top: 2px solid var(--tbl-text);
	border-bottom: 0;
	font-weight: 600;
}

/* Zadnja vrstica nima črte (zaključi jo spodnja črta tabele) */
.entry-content table tbody tr:last-child > *,
.wp-block-table tbody tr:last-child > * {
	border-bottom: 1px solid var(--tbl-text);
}
.entry-content table tfoot tr:last-child > *,
.wp-block-table tfoot tr:last-child > * {
	border-bottom: 1px solid var(--tbl-text);
}

/* Nežen odziv ob prehodu z miško */
@media (hover: hover) {
	.entry-content table tbody tr:hover > *,
	.wp-block-table tbody tr:hover > * {
		background: var(--tbl-tint);
	}
}

/* Napis pod/nad tabelo */
.entry-content table caption,
.wp-block-table figcaption {
	caption-side: bottom;
	padding: .75rem 0 0;
	font-size: .85rem;
	color: var(--tbl-muted);
	text-align: left;
}

/* ---------- Različica: Proge (veliko ozadja, brez črt) ---------- */
.entry-content table.is-style-stripes th,
.entry-content table.is-style-stripes td,
.wp-block-table.is-style-stripes th,
.wp-block-table.is-style-stripes td {
	border-bottom: 0;
}
.entry-content table.is-style-stripes tbody tr:nth-child(odd) > *,
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) > * {
	background: var(--tbl-tint);
}
.wp-block-table.is-style-stripes tbody th {
	background: #ded2d2 !important;
}
.entry-content table.is-style-stripes tbody tr:nth-child(even) > *,
.wp-block-table.is-style-stripes tbody tr:nth-child(even) > * {
	background: transparent;
}
.entry-content table.is-style-stripes thead th,
.wp-block-table.is-style-stripes thead th {
	background: transparent;
	border-bottom: 2px solid var(--tbl-text);
}
.entry-content table.is-style-stripes tbody tr:last-child > *,
.wp-block-table.is-style-stripes tbody tr:last-child > * {
	border-bottom: 0;
}
@media (hover: hover) {
	.entry-content table.is-style-stripes tbody tr:hover > *,
	.wp-block-table.is-style-stripes tbody tr:hover > * {
		background: #eeeef0;
	}
}

/* ---------- Različica: samo zgornja in spodnja črta ---------- */
.entry-content table.table-lines,
.wp-block-table.table-lines table {
	border-top: 2px solid var(--tbl-text);
	border-bottom: 2px solid var(--tbl-text);
}
.entry-content table.table-lines th,
.entry-content table.table-lines td,
.wp-block-table.table-lines th,
.wp-block-table.table-lines td {
	background: transparent;
	border-bottom: 0;
}
.entry-content table.table-lines thead th,
.wp-block-table.table-lines thead th {
	border-bottom: 1px solid var(--tbl-line);
}
.entry-content table.table-lines tbody tr:last-child > *,
.wp-block-table.table-lines tbody tr:last-child > * {
	border-bottom: 0;
}
@media (hover: hover) {
	.entry-content table.table-lines tbody tr:hover > *,
	.wp-block-table.table-lines tbody tr:hover > * {
		background: transparent;
	}
}

/* ---------- Različica: kompaktna ---------- */
.entry-content table.table-compact th,
.entry-content table.table-compact td,
.wp-block-table.table-compact th,
.wp-block-table.table-compact td {
	padding: .55rem .8rem;
}

/* ---------- Mobilni zasloni: manjši razmiki ---------- */
@media (max-width: 575.98px) {
	.entry-content table th,
	.entry-content table td,
	.wp-block-table th,
	.wp-block-table td {
		padding: .7rem .8rem;
	}
	.entry-content table,
	.wp-block-table table {
		font-size: .9rem;
	}
	/* Tabele s 4+ stolpci se ne stisnejo, ampak vodoravno drsijo */
	.entry-content table:has(tr > :nth-child(4)),
	.wp-block-table table:has(tr > :nth-child(4)) {
		min-width: 32rem;
	}
}

/* ---------- Poravnave iz Gutenberga ostanejo veljavne ---------- */
.wp-block-table .has-text-align-center { text-align: center; }
.wp-block-table .has-text-align-right  { text-align: right; }
.entry-content table td[data-align="right"] { text-align: right; }
.entry-content table td[data-align="center"] { text-align: center; }

/* ---------- Tisk ---------- */
@media print {
	.entry-content table tbody tr > *,
	.wp-block-table tbody tr > * {
		background: transparent !important;
	}
	.wp-block-table { overflow: visible; }
}

.wp-block-button__link {
	background-color: #d50032;
    --bs-btn-bg: var(--ls-red);
    --bs-btn-border-color: var(--ls-red);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--ls-red-dark);
    --bs-btn-hover-border-color: var(--ls-red-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--ls-red-dark);
    --bs-btn-active-border-color: var(--ls-red-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-focus-shadow-rgb: 213, 0, 50;
    border-radius: 0;
    padding: .8rem 2.2rem;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.wp-block-button__link:hover {
	background-color: #a80028;
	color: #ffffff;
}

.wp-block-group.is-layout-flex > .wp-block-columns {
	flex: 1 1 100%;
	min-width: 0;
}
