/* =========================================================
   "Objav región" – category tiles, category hero
   (card + chip styles come from news-archive.css)
   ========================================================= */

/* ---------- Category tiles ---------- */

body.oocr-region .oocr-region-tiles {
	margin-bottom: 1rem;
}

body.oocr-region .oocr-region-tile-col {
	display: flex;
	margin-bottom: 1.875rem;
}

body.oocr-region .oocr-region-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	min-height: 16rem;
	padding: 1.4rem 1.5rem;
	border-radius: 0.8rem;
	overflow: hidden;
	background-color: #311a08;
	background-image: var(--oocr-tile-img, none);
	background-size: cover;
	background-position: center;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 10px 24px rgba(49, 26, 8, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.oocr-region .oocr-region-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(49, 26, 8, 0.9) 0%, rgba(49, 26, 8, 0.35) 55%, rgba(49, 26, 8, 0.05) 100%);
	transition: background 0.2s ease;
}

body.oocr-region .oocr-region-tile:hover,
body.oocr-region .oocr-region-tile:focus {
	color: #fff;
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 18px 36px rgba(49, 26, 8, 0.2);
}

body.oocr-region .oocr-region-tile > span {
	position: relative;
	z-index: 1;
}

body.oocr-region .oocr-region-tile__count {
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(4px);
	border-radius: 999px;
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 12px;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.7rem;
	margin-bottom: 0.75rem;
}

body.oocr-region .oocr-region-tile__title {
	font-family: AsapBold, sans-serif;
	font-size: 1.7rem;
	line-height: 1.15;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
	margin-bottom: 0.35rem;
}

body.oocr-region .oocr-region-tile__more {
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 13px;
	color: #c9e6a3;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body.oocr-region .oocr-region-tile:hover .oocr-region-tile__more {
	opacity: 1;
	transform: none;
}

/* ---------- Latest tips on the archive ---------- */

body.oocr-region .oocr-region-latest {
	margin-top: 1.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e9ecef;
}

body.oocr-region .oocr-region-latest__title {
	text-align: center;
	margin-bottom: 1.75rem !important;
}

/* ---------- Category hero ---------- */

body.oocr-region .oocr-region-hero {
	position: relative;
	overflow: hidden;
	background: #311a08;
	color: #fff;
	padding: 3.5rem 0 2.5rem;
	min-height: 16rem;
	display: flex;
	align-items: flex-end;
}

body.oocr-region .oocr-region-hero::before {
	content: "";
	position: absolute;
	inset: -30px;
	background-image: var(--oocr-hero-img, none);
	background-size: cover;
	background-position: center;
	filter: blur(18px) brightness(0.5) saturate(1.1);
	transform: scale(1.1);
}

body.oocr-region .oocr-region-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(49, 26, 8, 0.9) 0%, rgba(49, 26, 8, 0.45) 60%, rgba(49, 26, 8, 0.25) 100%);
}

body.oocr-region .oocr-region-hero > .container {
	position: relative;
	z-index: 1;
}

body.oocr-region .oocr-region-hero__back {
	display: inline-block;
	color: rgba(255, 255, 255, 0.85);
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 1.25rem;
}

body.oocr-region .oocr-region-hero__back:hover {
	color: #fff;
	text-decoration: none;
}

body.oocr-region .oocr-region-hero__title {
	color: #fff;
	font-family: AsapBold, sans-serif;
	font-size: 2.5rem;
	line-height: 1.15;
	margin: 0 0 0.6rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

body.oocr-region .oocr-region-hero__meta {
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 14px;
	margin: 0;
	opacity: 0.95;
}

body.oocr-region .oocr-region-hero__desc {
	max-width: 50rem;
	margin: 0.75rem 0 0;
	font-size: 1.05rem;
	opacity: 0.92;
}

body.oocr-region .oocr-region-toolbar {
	margin-top: 0;
}

/* category label on cards without a date */
body.oocr-news .oocr-news-card__tag--solo::before {
	content: none;
	margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
	body.oocr-region .oocr-region-tile {
		min-height: 13rem;
	}

	body.oocr-region .oocr-region-hero {
		padding: 2.5rem 0 2rem;
		min-height: 12rem;
	}

	body.oocr-region .oocr-region-hero__title {
		font-size: 1.8rem;
	}
}
