/* were-fishing.pro global styles */
:root {
	--brand-green: #1e7f47;
	--brand-dark: #0e2b1b;
	--brand-accent: #ffb703;
	--text: #1a1a1a;
	--muted: #6b7280;
	--bg: #ffffff;
	--bg-alt: #f7faf9;
	--border: #e5e7eb;
}

* { 
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	overflow-x: hidden;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.header { 
	border-bottom: 1px solid var(--border); 
	background: #fff; 
	position: sticky; 
	top: 0; 
	z-index: 50;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.header-inner { 
	display: flex; 
	align-items: center; 
	justify-content: space-between; 
	padding: 14px 0; 
	gap: 16px; 
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-dark); font-weight: 700; font-size: 20px; }
.logo img { width: 36px; height: 36px; border-radius: 8px; }

.nav { 
	display: flex; 
	gap: 14px; 
	flex-wrap: wrap; 
}
.nav a { 
	text-decoration: none; 
	color: var(--text); 
	padding: 8px 10px; 
	border-radius: 8px;
	transition: background-color 0.2s ease;
}
.nav a:hover { 
	background: var(--bg-alt); 
}
.nav a:focus {
	outline: 2px solid var(--brand-green);
	outline-offset: 2px;
}

.hero { background: linear-gradient(180deg, #eaf6ef, #ffffff); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 28px 0; align-items: center; }
.hero h1 { margin: 0 0 10px; font-size: 32px; color: var(--brand-dark); }
.hero p { margin: 0 0 16px; color: var(--muted); }
.cta { 
	display: inline-block; 
	background: var(--brand-green); 
	color: #fff; 
	padding: 10px 16px; 
	border-radius: 10px; 
	text-decoration: none; 
	font-weight: 600;
	transition: filter 0.2s ease, transform 0.1s ease;
	cursor: pointer;
}
.cta:hover { 
	filter: brightness(0.96); 
}
.cta:active {
	transform: scale(0.98);
}
.cta:focus {
	outline: 2px solid var(--brand-dark);
	outline-offset: 2px;
}

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { 
	border: 1px solid var(--border); 
	border-radius: 12px; 
	overflow: hidden; 
	background: #fff; 
	display: flex; 
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { 
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card img { 
	width: 100%; 
	height: 160px; 
	object-fit: cover;
	background: var(--bg-alt);
	display: block;
}
.card img.img-loading {
	opacity: 0.6;
	background: linear-gradient(90deg, var(--bg-alt) 25%, #e0e0e0 50%, var(--bg-alt) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}
.card img.img-error {
	display: none;
}
.card-placeholder {
	width: 100%;
	min-height: 160px;
	flex-shrink: 0;
}

@keyframes shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}
.card .content { 
	padding: 12px;
	flex-grow: 1;
}
.card .content h3 { 
	margin: 0 0 6px; 
	font-size: 18px;
	color: var(--brand-dark);
}
.card .content p { 
	margin: 0; 
	color: var(--muted); 
	font-size: 14px; 
}

.section { padding: 26px 0; }
.section h2 { margin: 0 0 12px; font-size: 24px; color: var(--brand-dark); }
.section .sub { margin: 0 0 16px; color: var(--muted); }

.footer { border-top: 1px solid var(--border); background: #fff; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; padding: 20px 0; }
.footer h4 { margin: 0 0 10px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.copy { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 10px 0; }

.breadcrumbs { font-size: 14px; margin: 8px 0 12px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.badge { display: inline-block; font-size: 12px; padding: 4px 8px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; color: var(--brand-dark); }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { border: 1px solid var(--border); padding: 8px; text-align: left; }
.table th { background: var(--bg-alt); }

.article { max-width: 780px; }
.article h1 { font-size: 30px; margin: 8px 0 10px; }
.article h2 { font-size: 22px; margin-top: 18px; }
.article p { margin: 10px 0; }
.article img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.meta { color: var(--muted); font-size: 13px; }

.klev-informer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.klev-informer .panel { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: #fff; }

.search { 
	display: flex; 
	gap: 8px; 
}
.search input { 
	flex: 1; 
	padding: 10px 12px; 
	border: 1px solid var(--border); 
	border-radius: 10px;
	font-size: 15px;
	outline: none;
	transition: border-color 0.2s ease;
}
.search input:focus {
	border-color: var(--brand-green);
}
.search button { 
	padding: 10px 16px; 
	border: 0; 
	background: var(--brand-green); 
	color: #fff; 
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
	transition: filter 0.2s ease;
	white-space: nowrap;
}
.search button:hover {
	filter: brightness(0.95);
}
.search button:active {
	transform: scale(0.98);
}

/* Large tablet devices */
@media (max-width: 1024px) {
	.container { 
		padding: 0 20px; 
	}
	.grid.cols-4 { 
		grid-template-columns: repeat(3, minmax(0, 1fr)); 
	}
}

/* Tablet devices */
@media (max-width: 900px) {
	.hero-inner { 
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.hero h1 { 
		font-size: 28px; 
	}
	.grid.cols-3 { 
		grid-template-columns: repeat(2, minmax(0, 1fr)); 
	}
	.grid.cols-4 { 
		grid-template-columns: repeat(2, minmax(0, 1fr)); 
	}
	.footer-inner { 
		grid-template-columns: 1fr; 
	}
	.klev-informer { 
		grid-template-columns: 1fr; 
	}
	.card img,
	.card-placeholder { 
		height: 180px; 
	}
}

/* Small tablet */
@media (max-width: 768px) {
	.hero h1 { 
		font-size: 26px; 
	}
	.section h2 { 
		font-size: 22px; 
	}
	.card img,
	.card-placeholder { 
		height: 170px; 
	}
}

/* Mobile devices */
@media (max-width: 640px) {
	.container { padding: 0 12px; }
	
	/* Header optimization */
	.header-inner { 
		flex-direction: column; 
		align-items: stretch;
		gap: 12px;
	}
	.logo { 
		font-size: 18px;
		justify-content: center;
	}
	.nav { 
		flex-direction: column;
		gap: 0;
	}
	.nav a {
		padding: 12px 10px;
		border-bottom: 1px solid var(--border);
	}
	.nav a:last-child {
		border-bottom: none;
	}
	
	/* Hero section */
	.hero-inner { 
		padding: 20px 0;
		gap: 16px;
	}
	.hero h1 { 
		font-size: 24px;
		line-height: 1.3;
	}
	.hero p { 
		font-size: 15px;
		margin-bottom: 12px;
	}
	
	/* Search form */
	.search {
		flex-direction: column;
		gap: 10px;
	}
	.search input,
	.search button {
		width: 100%;
		padding: 12px;
	}
	
	/* Grid layouts */
	.grid.cols-2, 
	.grid.cols-3, 
	.grid.cols-4 { 
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	/* Cards */
	.card { 
		margin-bottom: 0;
	}
	.card img,
	.card-placeholder { 
		height: 180px !important;
	}
	.card .content { 
		padding: 14px;
	}
	.card .content h3 { 
		font-size: 17px;
		line-height: 1.3;
	}
	.card .content p {
		font-size: 14px;
	}
	
	/* CTA buttons */
	.cta {
		display: block;
		text-align: center;
		width: 100%;
		padding: 12px;
		margin-top: 8px;
	}
	
	/* Section headings */
	.section { 
		padding: 20px 0;
	}
	.section h2 { 
		font-size: 22px;
		margin-bottom: 10px;
	}
	.section .sub { 
		font-size: 15px;
		margin-bottom: 14px;
	}
	
	/* Article pages */
	.article h1 { 
		font-size: 24px;
		line-height: 1.3;
	}
	.article h2 { 
		font-size: 20px;
		margin-top: 16px;
	}
	.article h3 { 
		font-size: 18px;
	}
	.article p,
	.article li { 
		font-size: 15px;
	}
	
	/* Tables */
	.table { 
		font-size: 13px;
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	/* Footer */
	.footer-inner { 
		padding: 16px 0;
	}
	.footer h4 {
		margin-bottom: 8px;
		font-size: 16px;
	}
	.footer a {
		font-size: 14px;
	}
	.copy {
		font-size: 13px;
		text-align: center;
	}
	
	/* Klev informer */
	.klev-informer {
		grid-template-columns: 1fr;
	}
	.klev-informer .panel {
		padding: 14px;
	}
	
	/* Breadcrumbs */
	.breadcrumbs {
		font-size: 13px;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
}

/* Small mobile devices */
@media (max-width: 400px) {
	.hero h1 { 
		font-size: 22px;
	}
	.card img,
	.card-placeholder { 
		height: 160px !important;
	}
	.section h2 { 
		font-size: 20px;
	}
	.logo {
		font-size: 16px;
	}
	.logo img {
		width: 32px;
		height: 32px;
	}
}
