/* Alap CSS a prototípushoz - Frissítve */
:root {
	--primary-color: #2c5530;
	--secondary-color: #b89b5e;
	--light-color: #f8f5f06b; /*#f8f5f0;*/
	--dark-color: #1a1a1a;
	--gray-color: #eaeaea;
	--error-color: #c0392b;
	--rare-color: #27ae60;
}
html {
	scroll-behavior: smooth;
}	
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	line-height: 1.6;
	color: var(--dark-color);
	box-shadow: 2px 3px 20px black, 0 0 60px #8f5922 inset;
	background: #fffef0;
	background-image: url(data:image/png;base64,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);
}
body {
	overflow-x: hidden; /* Letiltja a vízszintes görgetést az egész oldalon */
	width: 100%;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-thumb {
	background: #2c5530b3;
}

small  {
	text-align: center;
	display: block;
	margin-bottom: 15px;
	margin-top: -20px;
	font-style:italic
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header - Frissítve logóval */
header {
	background-color: var(--primary-color);
	color: white;
	padding: 1rem 0;
	padding-top:3.5rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition:transform 0.25s ease, box-shadow 0.2s ease;
}

.loggedline {
	width: 100%;
	background: var(--secondary-color);
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 15px;
	font-size: 16px;
	box-sizing: border-box;
	position: fixed;
	top: 0; 
	left: 0;
	z-index: 9999;
	border-bottom: 1px solid #ffffff;
	height: 47px;
}

.loggedline-left, .loggedline-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.loggedline-left {
	gap: 8px;
}

.lang-dropdown {
	position: relative;
	display: inline-block;
}

/* Nyelvválasztó gomb */
.lang-dropbtn {

	color: #000;
	border: none;
	font-size: 17px;
	font-weight: 500;
	padding: 6px 10px;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: background 0.2s;
}

.lang-dropbtn:hover {
	background: rgba(255, 255, 255, 0.15);
}

.lang-dropdown-content {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	background-color: #b89b5e;
	min-width: 180px;
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	z-index: 10000;
	margin-top: 8px;
	overflow: visible;
}

.lang-dropdown-content::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
	background: transparent;
}

.lang-dropdown-content a {
	color: #333333;
	padding: 10px 15px;
	text-decoration: none;
	display: block;
	font-size: 17px;
	transition: background 0.2s;
	text-align: left;
}

.lang-dropdown-content a:hover {
    background-color: #2c5530;
    color: #fbfbfb;
}

.lang-dropdown-content a.active {
background-color: #4d6d4e;
    font-weight: bold;
    color: white;
}

.lang-dropdown:hover .lang-dropdown-content {
	display: block;
}

.logged-user-details {
	display: flex;
	align-items: center;
	gap: 8px;
}

.logged-avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255,255,255,0.4);
}

.logged-name {
	font-weight: 500;
	white-space: nowrap;
}

.loggedline-right {
	margin-left: 10px;
}

.logged-btn {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	padding: 4px 8px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: background 0.2s, opacity 0.2s;
	border: none;
	background: none;
	cursor: pointer;
}

.logged-btn:hover {
	background: rgba(255,80,80,0.25);
}

/* ELTŰNT ÁLLAPOT */
header.header-hidden {
	transform: translateY(-100%);
	box-shadow: none;
}

/* LÁTSZÓ, SCROLL UTÁNI ÁLLAPOT */
header.header-visible {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.stamp {
	position: relative;
}

.stamp::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 100%;
	height: 24px;
	background: radial-gradient(circle at 12px -2px, transparent 8px, #5f7d5f 9px), linear-gradient(#e1e0d600, #5b5b5b);
	background-size: 26px 24px, 100% 100%;
	background-repeat: repeat-x, no-repeat;
	background-position: bottom left, bottom;
	transform: rotateX(180deg);
}

.stamp_up {
	position: relative;
}

.stamp_up::after {
	content: "";
	position: absolute;
	left: 0;
	top: -8px;
	width: 100%;
	height: 24px;
	background: radial-gradient(circle at 12px -2px, transparent 8px, #181818 9px), linear-gradient(#e1e0d600, #5b5b5b);
	background-size: 26px 24px, 100% 100%;
	background-repeat: repeat-x, no-repeat;
	background-position: bottom left, bottom;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1320px;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logo-icon {
	color: var(--secondary-color);
}

.logoimg {
	width:90px;
	filter: sepia(0.5);
}

.logo-text {
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.logo-text span {
	color: var(--secondary-color);
}

.logo-subtitle {
	font-size: 0.9rem;
	color: #ddd;
	font-weight: normal;
	margin-top: 3px;
}

.logo-badge {
	background-color: var(--secondary-color);
	color: var(--primary-color);
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	margin-left: 10px;
	display: inline-block;
}

/* Hero Section */
.hero {
	background: linear-gradient(rgba(44, 85, 48, 0.9), rgba(44, 85, 48, 0.7));
	background-size: cover;
	background-position: center;
	color: white;
	padding: 4rem 0;
	margin-top: -100px;
	text-align: center;
	padding-top: 140px;
	padding-bottom: 20px;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	font-family: 'Playfair Display', serif;
}

.hero p {
	font-size: 1.2rem;
	max-width: 700px;
	margin: 20px auto 2rem;
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
	word-break: normal;
}

.hero .container {
	display: flex;
	flex-direction: row;
	align-content: center;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.btn {
	display: inline-block;
	background-color: var(--secondary-color);
	color: white;
	padding: 0.8rem 1.5rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	transition: background-color 0.3s;
	border: none;
	cursor: pointer;
}

.catgomb {
	margin-top:40px;
	padding: 0 20px
}

.btn {
  background: linear-gradient(145deg, #ae9d6b, #c9b47e); 
  color: white;

  padding: 12px 24px; 
  border: none; 
  border-radius: 6px; 
  font-family: inherit;
  font-weight: bold;
  text-transform: uppercase; 
  letter-spacing: 0.5px;
  cursor: pointer; 
  display: inline-flex;
  align-items: center;
  gap: 8px;

  box-shadow: 
	0 4px 10px 0 rgba(0, 0, 0, 0.2), 
	0 1px 3px 0 rgba(0, 0, 0, 0.1),
	inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);

  transition: background 2s ease-in-out;
}

.btn:hover {

  background: linear-gradient(145deg, #bca877, #d7c28c);

  box-shadow: 
	0 2px 6px 0 rgba(0, 0, 0, 0.15),
	0 1px 2px 0 rgba(0, 0, 0, 0.1),
	inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);

  transform: translateY(1px);
}

.btn:active {
  background: #a08f61;
  box-shadow: 
	inset 0 2px 5px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}	

.badge {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: bold;
	margin-left: 0.5rem;
}

.badge-error {
	background-color: var(--error-color);
	color: white;
}

.badge-rare {
	background-color: var(--rare-color);
	color: white;
}

.badge-new {
	background-color: #e7ddcc;
	color: #676664;
}

/* =========================
   OKOSKERESŐ
========================= */
.smart-search-section {
	margin: 3rem 0;
}

.smart-search {
	max-width: 700px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	background: #e7ddcc;
	border-radius: 50px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.12);
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.smart-search:focus-within {
	border-color: var(--secondary-color);
	box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.smart-search-input {
	flex: 1;
	border: none;
	padding: 1rem 1.4rem;
	font-size: 1.05rem;
	outline: none;
	color: var(--dark-color);
	background: var(--light-color);
}

.smart-search-input::placeholder {
	color: #999;
}

.smart-search-btn {
	background: none;
	border: none;
	padding: 0 1.4rem;
	font-size: 1.2rem;
	color: var(--primary-color);
	cursor: pointer;
	transition: color 0.3s;
}

.smart-search-btn:hover {
	color: var(--secondary-color);
}

@media (max-width: 480px) {
	.smart-search-input {
		font-size: 1rem;
		padding: 0.9rem 1.2rem;
	}
	
	.logoimg {
		width:70px
	}
	
	.container {

		padding: 10px;
	}
	
	.stamp-select {
		position: sticky !important;
		top: 50px !important;
		z-index: 100;
	}
	
	.stamp-select-input {
		background: #e5e4da !important;
	}
}

.section-title {
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	margin: 3rem 0 1.5rem;
	color: var(--primary-color);
	text-align: center;
	position: relative;
}

.section-title:after {
	content: '';
	display: block;
	width: 100px;
	height: 3px;
	background-color: var(--secondary-color);
	margin: 0.5rem auto;
}

.stamp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
	padding: 0 20px;
}

.stamp-card {
	background-color: var(--light-color);;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s;
	position: relative;
}

.stamp-card:hover {
	transform: translateY(-5px);
}

.stamp-image {
	height: 180px;
	border-bottom:2px solid var(--secondary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	position: relative;
}

.stamp-image {
	background-color: #e2e0d8; 
	padding: 10px; 
	box-shadow: 
		inset 2px 2px 5px 0 rgba(0, 0, 0, 0.1), 
		inset -1px -1px 3px 0 rgba(255, 255, 255, 0.4);
	border: 1px solid #dcd7c0;

	display: flex;
	justify-content: center; 
	align-items: center; 
	width: calc(101% + 4px);
	margin-left: -2px;  
}

.stamp-image img {
	height:90%
}

.stamp-info {
	padding: 1rem;
}

.stamp-info h3 {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.stamp-info p {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
}

.stamp-wrapper {
	display: inline-flex;
	border-radius: 8px;
	width:100%;
}

.stamp-frame {
	position: relative; 
	background-color: #fdfaf0; 
	padding: 15px; 
	border-radius: 6px; 

	box-shadow: 
		inset 2px 2px 5px rgba(0, 0, 0, 0.1), 
		inset -1px -1px 3px rgba(255, 255, 255, 0.5),
		inset 0 -1px 0 rgba(0, 0, 0, 0.08); 

	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden; 
}

.stamp-frame img {
	max-width: 100%;
	height: auto;
	display: block;
	z-index: 1;
}

.corner {
	position: absolute;
	width: 20px;
	height: 20px;
}

/* Felső-bal sarok */
.corner-tl {
	top: 5px;
	left: 5px;
	border-top-left-radius: 4px;
	border-bottom-right-radius: 12px; /* Kicsit több kerekítés a "belső" saroknak */
}

/* Felső-jobb sarok */
.corner-tr {
	top: 5px;
	right: 5px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 12px;
}

/* Alsó-bal sarok */
.corner-bl {
	bottom: 5px;
	left: 5px;
	border-bottom-left-radius: 4px;
	border-top-right-radius: 12px;
}

/* Alsó-jobb sarok */
.corner-br {
	bottom: 5px;
	right: 5px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 12px;
}
/* =========================
   BÉLYEG CÍMKÉK – JOBB FENT, EGYMÁS ALATT
========================= */

.stamp-badges {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-end;
	z-index: 2;
}

.stamp-badges .badge {
	margin: 0;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.rubber_stamp {
	width: 180px;
	filter: opacity(0.5);
	position: absolute;
	z-index: -1;
	rotate: -20deg;
}	

.tables-preview {
	margin: 2rem 0;
}

.table-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.table-card {
	background-color: var(--light-color);
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.table-card:hover {
	transform: translateY(-5px);
}

.table-icon {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
	text-align: center;
}

.table-card h3 {
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	text-align: center;
}

.table-card ul {
	list-style-position: inside;
	color: #666;
}

.table-card li {
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
}

/* OUR Section */
.our-preview {
	padding: 3rem 0;
	margin: 2rem 0;
}

.our-preview p {
	text-align:justify;
	hyphens: auto;
}

/* YouTube Section */
.video-section {

	padding: 2rem 0;
	margin: 2rem 0;
}

.video-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.video-container h3 {
	font-weight:normal;
	margin-bottom:10px;
}

.video-item {
	background-color: var(--light-color);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-thumbnail {
	height: 180px;
	background-color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
}

.video-info {
	padding: 1rem;
}

/* =========================
   YOUTUBE EMBED – RESPONSIVE
========================= */


.video-item iframe {
	width: 100%;
	height: 240px;
	border: none;
}


/* Filter Section */
.filter-section {
	background-color: var(--gray-color);
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 2rem;
}

.filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.filter-group label {
	font-weight: 500;
}

.filter-group select, .filter-group input {
	padding: 0.5rem;
	border-radius: 4px;
	border: 1px solid #ccc;
}

/* Stamp Detail Page Preview - Frissítve */
.stamp-detail {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 2rem;
	margin: 2rem 0;
	padding: 0 20px;
}

.stamp-gallery {
	display: grid;
	gap: 1rem;
}

.main-image {

	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;

	flex-direction: column;
	padding-bottom: 10px;
}

.main-image img {
	width:250px;
}

.main-image .watermark-indicator {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background-color: rgba(0,0,0,0.7);
	color: white;
	padding: 0.5rem;
	border-radius: 4px;
	font-size: 0.8rem;
}

.thumbnails {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.thumbnail {
	width: 80px;
	height: 80px;
	background-color: #ddd;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
}

.thumbnail.watermark {
	border: 2px solid var(--primary-color);
}

.thumbnail.error {
	border: 2px solid var(--error-color);
}

.stamp-data {
	padding: 1rem;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.data-table tr {
	border-bottom: 1px solid #eee;
}

.data-table td {
	padding: 0.7rem 0;
}

.data-table td:first-child {
	font-weight: 500;
	color: var(--primary-color);
	width: 40%;
}

.value-range {
	color: var(--secondary-color);
	font-weight: bold;
}

.plate-flaws-section {
	margin-top: 2rem;
	padding: 1rem;
	background-color: #f9f9f9;
	border-radius: 8px;
	border-left: 4px solid var(--error-color);
}

.flaw-item {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px dashed #ddd;
}

.flaw-item:last-child {
	border-bottom: none;
}

.flaw-type {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	background-color: #e74c3c;
	color: white;
	border-radius: 4px;
	font-size: 0.8rem;
	margin-right: 0.5rem;
}

.flaw-type.type-ii {
	background-color: #9b59b6;
}

/* Footer - Frissítve logóval és tulajdonos információval */
footer {
	background-color: var(--dark-color);
	color: white;
	padding: 2rem 0;
	margin-top: 3rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.footer-logo {
	display: flex;
	gap: 10px;
	margin-bottom: 1rem;
}

.footer-logo-icon {
	color: var(--secondary-color);
}

.footer-logo-icon img {
	width: 60px;
}

.footer-logo-text {
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	font-weight: 700;
}

.footer-logo-text span {
	color: var(--secondary-color);
}

.owner-info {
	background-color: rgba(184, 155, 94, 0.1);
	padding: 1rem;
	border-radius: 8px;
	border-left: 4px solid var(--secondary-color);
	margin-top: 1rem;
}

.owner-info h4 {
	color: var(--secondary-color);
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.owner-info h4 i {
	color: var(--secondary-color);
}

.footer-section h3 {
	color: var(--secondary-color);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-section h3 i {
	font-size: 1.2rem;
}

/* =========================
   FOOTER – DESKTOP
========================= */

footer {
	background: linear-gradient(
		180deg,
		#1a1a1a 0%,
		#111 100%
	);
}

.footer-content {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 2.5rem;
	align-items: flex-start;
}

.footer-section p,
.footer-section li {
	font-size: 0.95rem;
	line-height: 1.6;
	color:#afafaf
}

.kapcs p {
	margin-bottom:10px
}

.kapcs a, .link a {
	color: var(--secondary-color);
	text-decoration: none;
}

.footer-section ul li {
	margin-bottom: 0.4rem;
}

.footer-section ul li i {
	color: var(--secondary-color);
	margin-right: 6px;
}

/* Social ikonok mint külön „oszlop” */
footer .social-icons {
	margin-top: 32px;
	justify-content: flex-start;
}	

/* =========================
   FOOTER – MOBIL
========================= */
@media (max-width: 768px) {

	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}

	.footer-logo {
		justify-content: center;
	}

	.footer-section h3 {
		justify-content: center;
	}

	.footer-section ul {
		padding-left: 0;
	}

	.footer-section ul li {
		justify-content: center;
	}

	.footer-section ul li a {
		justify-content: center;
	}

	/* Social ikonok középen, külön blokk */
	footer .social-icons {
		margin: 1.5rem 0 0;
		justify-content: center;
	}

	/* Kapcsolat szekció ikon + szöveg */
	.footer-section p {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}
	
	.btn {
		margin: 0 auto;
	}
	
	.table-card ul {
		margin-left: 20px;
	}
	
	.stamp-info {
		padding: 1rem;
		display: grid;
		justify-content: center;
	}
	
	.stamp-grid {
		grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
		gap: 1rem;
	}
	
	.stamp-data {
		padding: 1px;
	}

	.login-btn, .register-btn {
		width:100%
	}
	
	.catgomb {
		text-align:center
	}

	.rubber_stamp2 {
		width: 125px;
	}	

}

.copyright {
	text-align: center;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #444;
	font-size: 0.9rem;
	color: #aaa;
}

/* Error state for inputs */
input.error, select.error, textarea.error {
	border-color: var(--error-color) !important;
}

/* Loading animation */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255,255,255,.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* ==========================
   IMAGE MODAL
========================== */

.image-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.85);
}

.image-modal-content {
	position: relative;
	background: #111;
	padding: 20px;
	border-radius: 8px;
	max-width: 90vw;
	max-height: 90vh;
	box-shadow: 0 10px 40px rgba(0,0,0,0.6);
	text-align: center;
}

.image-modal-content img {
	max-width: 100%;
	max-height: 70vh;
	object-fit: contain;
	background: #111111;
}

.image-modal-title {
	margin-top: 10px;
	color: #ccc;
	font-size: 0.9rem;
}

.image-modal-close {
	position: absolute;
	right: 20px;
	top: 8px;
	background: none;
	border: none;
	font-size: 68px;
	cursor: pointer;
	color: white;
}

@media print {
	header, footer, .btn, .filter-section {
		display: none !important;
	}
	
	.stamp-card {
		break-inside: avoid;
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
	:root {
		--light-color: #2a2a2a;
		--gray-color: #3a3a3a;
		--dark-color: #f0f0f0;
	}
	
	body {
		background-color: #1a1a1a;
		color: #f0f0f0;
	}
}

/* =========================
SOCIAL IKONOK
========================= */
.social-icons {
	margin-top:40px;
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content:center;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.12);
	color: white;
	font-size: 1.1rem;
	transition: background-color 0.3s, transform 0.2s, color 0.3s;
	text-decoration:none;
}

.social-icons a:hover {
	background: var(--secondary-color);
	color: var(--primary-color);
	transform: translateY(-2px);
}

/* Footer verzió (sötét alapon is jó) */
footer .social-icons a {
	background: rgba(255,255,255,0.08);
	color: var(--secondary-color)
}

/* Mobilon picit kisebb */
@media (max-width: 480px) {
	.social-icons a {
		width: 32px;
		height: 32px;
		font-size: 1rem;
	}
}

/* =========================
BÉLYEG ADATLAP – GRIDES ADATNÉZET
========================= */

.stamp-title {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.stamp-attributes {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 0.6rem 2rem;
}

.stamp-attributes > div {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px dashed #b4aeae;
	padding: 4px 0;
	font-size: 0.95rem;
}

.stamp-attributes strong {
	color: var(--primary-color);
	font-weight: 500;
}

.stamp-attributes span {
	color: #333;
	text-align: end;
}

/* MOBIL: 1 OSZLOP */
@media (max-width: 768px) {
	.stamp-detail {
		grid-template-columns: 1fr;
	}

	.stamp-attributes {
		grid-template-columns: 1fr;
	}
}

.support-buttons {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
}

.support-btn-small {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #0070ba;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.support-btn-small:hover {
    background-color: #005ea6;
}

.support-info-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.support-info-btn:hover {
    background-color: rgba(184, 155, 94, 0.1);
}

.support-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #aaa;
}

.stat-item i {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
	.support-buttons {
		justify-content: center;
	}
}
	/* =========================
	támogatási rész
	========================= */
	
.why-support-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10002;
	animation: fadeInModal 0.3s ease;
}

.why-support-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
}

.why-support-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #f8f5f0d9;
	border-radius: 12px;
	max-width: 700px;
	width: 90%;
	max-height: 90vh;

	box-shadow: 0 15px 35px rgba(0,0,0,0.3);
	animation: slideUpModal 0.4s ease;
}

.why-support-modal-close {
    position: absolute;
    right: 20px;
    top: 8px;
    background: none;
    border: none;
    font-size: 68px;
    cursor: pointer;
    color: white;
}

.why-support-modal-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, #1e4620 100%);
	color: white;
	padding: 2rem;
	border-radius: 12px 12px 0 0;
	text-align: center;
}

.why-support-modal-header i {
	font-size: 3rem;
	color: var(--secondary-color);
	margin-bottom: 1rem;
}

.why-support-modal-header h3 {
	margin: 0;
	font-size: 1.8rem;
	font-family: 'Playfair Display', serif;
}

.why-support-modal-body {
	padding: 2rem;
	max-height:400px;
	overflow:auto;
}

.why-support-reasons {
	margin-bottom: 2rem;
}

.reason {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	align-items: flex-start;
}

.reason:last-child {
	margin-bottom: 0;
}

.reason i {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-top: 0.2rem;
	min-width: 30px;
}

.reason h4 {
	margin: 0 0 0.5rem 0;
	color: var(--primary-color);
	font-size: 1.2rem;
}

.reason p {
	margin: 0;
	color: #666;
	line-height: 1.5;
}

.why-support-impact {
	background-color: #f8f5f0;
	border-radius: 8px;
	padding: 1.5rem;
	margin: 2rem 0;
	border-left: 4px solid var(--secondary-color);
}

.why-support-impact h4 {
	margin: 0 0 1rem 0;
	color: var(--primary-color);
	text-align: center;
}

.impact-items {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 1rem;
}

.impact-item {
	text-align: center;
	flex: 1;
	min-width: 150px;
}

.impact-amount {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--secondary-color);
	margin-bottom: 0.3rem;
}

.impact-text {
	font-size: 0.9rem;
	color: #666;
}

.why-support-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2rem;
}

.why-support-donate-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #0070ba;
	color: white;
	padding: 1rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
}

.paybtns {
	display: flex;
	flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}

.why-support-donate-btn:hover {
	background-color: #005ea6;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 112, 186, 0.3);
}

.why-support-close-btn {
	background: none;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	padding: 0.8rem;
	border-radius: 8px;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.why-support-close-btn:hover {
	background-color: rgba(44, 85, 48, 0.1);
}

@keyframes fadeInModal {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideUpModal {
	from { 
		opacity: 0;
		transform: translate(-50%, -40%);
	}
	to { 
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

@media (max-width: 768px) {

	.why-support-modal-content {
		width: 95%;
	}
	
	.why-support-modal-header {
		padding: 1.5rem;
	}
	
	.why-support-modal-header h3 {
		font-size: 1.5rem;
	}
	
	.why-support-modal-body {
		padding: 1.5rem;
	}
	
	.why-support-modal-close {
		top: 30px;
		z-index: 999;	
	}
	
	.impact-items {
		flex-direction: column;
		align-items: center;
	}
	
	.impact-item {
		min-width: 200px;
	}
	
	.reason {
		flex-direction: column;
		text-align: center;
	}
	
	.reason i {
		margin: 0 auto 0.5rem;
	}
	
	.paybtns {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.why-support-modal-header h3 {
		font-size: 1.3rem;
	}
	
	.why-support-actions {
		gap: 0.5rem;
	}
	
	.why-support-donate-btn,
	.why-support-close-btn {
		padding: 0.8rem;
		font-size: 1rem;
	}

}

.btn.disabled {
	background: #ccc;
	color: #666;
	cursor: not-allowed;
	pointer-events: none;
	opacity: 0.6;
	position: relative;
}

.btn.disabled::after {
	content: "🚧";
	margin-left: 6px;
}

/* Cikkek*/

.carousel-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 113%;
	margin-left: -6%;
}

.articles-carousel {
	display: flex;
	gap: 25px;
	overflow: hidden;
	scroll-behavior: smooth;
	padding: 10px 16px;
}

.article-card {
	flex: 0 0 calc(33.333% - 14px);
	background: var(--light-color);
	border-radius: 8px;
	padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
	display: flex;
	flex-direction: column;
}

.article-card h3 {
	font-size: 1.05rem;
	margin: 10px 0;
}

.article-card p {
	flex-grow: 1;
	font-size: 0.95rem;
	color: #444;
}

.article-tag {
    background: #758e73;
    color: #f8f5f0;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    width: auto;
    text-align: right;
    font-weight: 600;
    text-transform: uppercase;
}

.article-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: #777;
	margin: 10px 0;
}

.read-more {
	font-weight: 600;
	text-decoration: none;
	color: #2b5d3f;
	text-align:end;
}

.carousel-btn {
    background: none;
    border: none;
    color: #2c5530;
    font-size: 4.8rem;
    width: 110px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin: 10px;
}

.carousel-btn:hover {
	color: #5f7b5c;
}

@media (max-width: 900px) {

	.articles-carousel {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding:0px;
		padding-bottom: 15px;
	}

	.article-card {
		flex: 0 0 100%;
		scroll-snap-align: start;
	}

	.carousel-btn {
		display: none;
	}
	
	.carousel-wrapper {
		position: relative;
		display: flex;
		align-items: center;
		width: 100%;
		margin-left: 0%;
	}
}

.comment-admin-badge i{
	margin-left:4px
}

.cikksection ul{
	margin-left: 30px;
}

.cikksection h4{
	margin-top:20px;
	margin-bottom:20px;
}

.article-content ul {
	margin:30px;
}

.article-content img {
	margin-bottom:30px
}

.why-support-modal-body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.why-support-modal-body::-webkit-scrollbar {
    display: none;
}

.video-cover {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #000;
	cursor: pointer;
	overflow: hidden;
	border-radius: 4px;
}

.video-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
	filter: brightness(0.8);
}

.video-cover:hover img {
	transform: scale(1.05);
	filter: brightness(1);
}

.play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.video-cover:hover .play-overlay {
	background: rgba(0, 0, 0, 0.4);
}

.play-overlay i {
	color: #ffffff;
    font-size: 1.8rem;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: #ffffff38;
    border-radius: 10%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    box-shadow: 0 4px 10px rgb(0 0 0);
    border: 1px double #817245;
}

.video-cover:hover .play-overlay i {
	transform: scale(1.15);
	opacity: 1;
	background:#2c5530;
	color:white
}

.video-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
}

.video-lightbox.active {
	display: flex;
}

.video-lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
}

.video-lightbox-content {
	position: relative;
	width: 90%;
	max-width: 850px;
	z-index: 10001;
	animation: lightboxFadeIn 0.3s ease-out;
}

.video-ratio-wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: #000;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-ratio-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-lightbox-close {
	position: absolute;
	top: -45px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 2.5rem;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s ease;
}

.video-lightbox-close:hover {
	color: #ccc;
}

@keyframes lightboxFadeIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.video-ratio-wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: #000;
	border-radius: 4px;
	overflow: hidden;
}

.video-ratio-wrapper .plyr {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

:root {
	--plyr-color-main: #2c5530;
}

/* ==========================================
   VISSZA A TETEJÉRE GOMB
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color, #a0864e);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color, #333);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.35);
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.auth-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.auth-modal.hidden {
	display: none;
}

.auth-box {
	background: #fdfcf8;
	border-radius: 12px;
	width: 500px;
	padding: 10px;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 1;

}

.avatar-upload {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    width: 150px;
    text-align: center;
    border: 1px solid #a3a0a0;
		font-size: 0.9rem;
	margin-bottom: 10px;
}

.avatar-preview {
    display: block;
    left: 200px;
    bottom: 77px;
    margin-top: 12px;
    width: 45px;
    position: absolute;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #737372;
    padding: 2px;
}

.hidden {
	display: none !important;
}
.avatar-upload:hover {
	background: #e4e4e4;
}

.avatar-upload:active {
	transform: scale(0.97);
}

.avatar-upload input[type="file"] {
	display: none;
}

.stamp-box {
	--r: 12px;

	background: #ffebbe;
	filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));

	-webkit-mask:
		radial-gradient(50% 50%, #000 66%, transparent 67%) round var(--r) var(--r) / calc(2*var(--r)) calc(2*var(--r)),
		linear-gradient(#000 0 0) content-box;

	mask:
		radial-gradient(50% 50%, #0000 66%, #000 67%) round var(--r) var(--r)/calc(2*var(--r)) calc(2*var(--r)),
		conic-gradient(#000 0 0) content-box;
}

.parchment {
	position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 2em 0;
    box-shadow: 3px 2px 20px 1px black, 0 0 40px #b1967c inset;
    background: #f1f1f1;

	background-image: url(data:image/png;base64,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);

}

.auth-close {
	position: absolute;
	right: 20px;
	top: 8px;
	background: none;
	border: none;
	font-size: 68px;
	cursor: pointer;
	color: white;
}

.auth-tabs {
	display: flex;

	border-radius: 10px;
	padding: 4px;
	gap: 4px;
	margin-bottom: 18px;
}

.auth-tabs button {
	flex: 1;
	border: none;
	background: #0000000d;
	padding: 10px 8px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: #555;
	cursor: pointer;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;

	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		box-shadow 0.25s ease;
}

.auth-tabs button i {
	font-size: 0.9rem;
	opacity: 0.85;
}

.auth-tabs button.active {
	background: linear-gradient(135deg,
			var(--primary-color),
			#1e4620);
	color: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.auth-tabs button.active i {
	color: var(--secondary-color);
}

.auth-tabs button:not(.active):hover {
	background: rgba(184, 155, 94, 0.15);
	color: var(--primary-color);
}

.auth-panel {
	display: none;
}

.auth-panel.active {
	display: block;
}

.auth-panel input {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 6px;
    border: 1px inset #ebebeb;
    background: #d4d3d1;
}

.auth-panel button {
	width: 100%;
	padding: 10px;
	background: #2f5d3b;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
}

@media (max-width: 768px) {
	.auth-box {
		width: 98% !important;
	}
}

#toast-container {
	position: fixed;
	top: 20px;
	right: 40%;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.toast {
	background: #333;
	color: #fff;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
	opacity: 0;
	transform: translateY(-10px);
	animation: toast-in 0.3s forwards;
}

.toast.success { background: #3a7d44; }
.toast.error   { background: #a94442; }
.toast.info    { background: #555; }

@keyframes toast-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* --- ALAP STÍLUSOK (Közös) --- */
.mobile-menu-btn {
    display: none;
}

nav:not(.stamp-menu) ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav:not(.stamp-menu) ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-menu li a i {
	padding-right:10px;
	min-width: 25px;
}
/* --- ASZTALI NÉZET (1201px felett) --- */
@media (min-width: 1201px) {
    nav:not(.stamp-menu) ul {
        display: flex;
    }

    nav:not(.stamp-menu) ul li {
        margin-left: 1.5rem;
        position: relative;
    }

    nav:not(.stamp-menu) ul li a:hover {
        color: var(--secondary-color);
    }

    /* Lenyíló menü asztali */
    nav:not(.stamp-menu) ul .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        min-width: 300px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
        z-index: 2000;
        flex-direction: column;
        padding: 0.5rem 0;
        border-radius: 4px;
    }

	.dropdown-menu li a {
		padding-top:10px
	}

    nav:not(.stamp-menu) ul li.dropdown:hover .dropdown-menu {
        display: flex;
    }

    nav:not(.stamp-menu) ul li.dropdown:hover .arrow-icon {
        transform: rotate(180deg);
    }
}

/* --- MOBIL NÉZET (1200px alatt) --- */
@media (max-width: 1200px) {

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 80px; 
        right: 20px;
        z-index: 3000;
        background: transparent;
        border: none;
        color: white;
        font-size: 2.1rem;
    }

    nav:not(.stamp-menu) ul {
        display: none; 
        flex-direction: column;
        background-color: #000000b5;
        position: fixed; 
        top: 47px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        z-index: 2000;
        overflow-y: auto; 
        padding: 0;
        margin: 0;				
    }

    nav:not(.stamp-menu) ul.show {
        display: flex;
		height:auto;
		max-width: 500px;
		left: auto;
        right: 0;
		overflow: auto;
        max-height: calc(100% - 50px);
    }

    nav:not(.stamp-menu) ul li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgb(255 255 255 / 20%);
    }

    nav:not(.stamp-menu) ul li:hover {
        background-color: rgb(255 255 255 / 19%);
    }
	
    nav:not(.stamp-menu) ul li a {
        padding: 1.2rem 1.5rem;
        display: flex;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
		font-size: 1.5em;
    }

    nav:not(.stamp-menu) ul li.open, 
    nav:not(.stamp-menu) ul li:active {
        background-color: rgb(184 155 94);
    }

    .arrow-icon {
        margin-left: auto;
        transition: transform 0.3s;
    }

    nav:not(.stamp-menu) ul .dropdown-menu {
        display: block;
        position: static; 
        background-color: #092306;
        width: 100%;
        padding: 0;
        box-shadow: none;
        
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-out, opacity 0.3s ease;
    }

    nav:not(.stamp-menu) ul li.dropdown.open .dropdown-menu {
        max-height: 292px;
        opacity: 1;
		overflow:auto
    }

    nav:not(.stamp-menu) ul li.dropdown.open .dropdown-menu {
        display: block;
    }

    nav:not(.stamp-menu) ul li.dropdown.open .arrow-icon {
        transform: rotate(180deg);
    }

    nav:not(.stamp-menu) ul .dropdown-menu li a {
        padding-left: 3rem;
        font-size: 1.3em;
        opacity: 0.8;
    }
}

#turul-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #2c5530;
	color: white;
	padding: 14px 24px;
	box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
	z-index: 999999;
	font-family: sans-serif;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	border-top: 2px solid #e2ded7;
}
#turul-cookie-banner p {
	margin: 0;
	line-height: 1.5;
	max-width: 75%;
}
#turul-cookie-banner p strong {
	color: #d1b48c;
}
.turul-cookie-btns {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.turul-cookie-btn {
	border: none;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.2s ease;
}
.turul-cookie-btn.accept {
	background-color: #8d7550;
	color: #ffffff;
}
.turul-cookie-btn.accept:hover {
	background-color: #a38962;
}
.turul-cookie-btn.reject {
	background-color: transparent;
	color: #b5a290;
	border: 1px solid #979797;
}
.turul-cookie-btn.reject:hover {
	background-color: rgba(255,255,255,0.05);
	color: #f4eae1;
}
@media (max-width: 768px) {
	#turul-cookie-banner {
		flex-direction: column;
		text-align: center;
		padding: 16px;
	}
	#turul-cookie-banner p {
		max-width: 100%;
	}
	.turul-cookie-btns {
		width: 100%;
		justify-content: center;
	}
	.turul-cookie-btn {
		flex: 1;
		max-width: 150px;
	}
}

/* Katalógus kódok elrendezése */
.catalog-container {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    font-size: 11px;
    align-items: flex-start;
}

.catalog-item {
    background-color: #eceae2;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 2px 6px;
    display: inline-block;
    white-space: nowrap;
    cursor: help;
    color: #333;
    font-family: sans-serif;
    transition: background-color 0.15s ease-in-out;
}

.catalog-item:hover {
    background-color: #e7ddcc;
}

.catalog-item strong {
    color: #1a1a1a;
    font-weight: 600;
}
@media (max-width: 768px) {
	.catalog-container
	{
		flex-direction: column;
	}
}