body {
	--trhy-green: #66BA54;
	--trhy-green-hover: #5A9B4A;
	--trhy-red: #DA5C33;
	--trhy-red-hover: #C04B2A;
	--trhy-yellow: #FEC94E;
	--trhy-yellow-hover: #E6B83F;
	--trhy-font-color: rgba(59, 60, 60, 1);
}

.intro-yellow {
	color: #FFD870;
	font-weight: bold;
}

.intro__title {
	font-size: 4rem;
	margin-top: -10px;
}

.header__logo img {
	width: 300px; /* vyřešit */
}

.intro {
	padding-top: 0; /* vyřešit */
}

.intro__bottom-element {
    position: relative;
	z-index: 10;
    bottom: 100px;
    left: 0;
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 20px;
	align-items: start;
	margin: 0 auto;
    max-width: 1604px;
}

.intro-btn-new {
	color: white;
	font-weight: bold;
	border-color: transparent;
	background-color: rgba( 255, 255, 255, 0.3 );
}

.intro-btn-new:after {
	content: '';
	display: none;
}

.intro-btn-new b {
	display: inline-block;
	margin-right: 8px;
	color: #EAEAEA;
	font-weight: normal;
}

.intro-btn-new-active {
	background-color: white;
	color: #24367C;
}

.intro-btn-new-active b {
	color: #696969;
}

.intro-btn-new:hover {
	background-color: #FFD870;
}

.intro-btn-new:hover b {
	color: #696969;
}

.intro-btn-disabled {
	pointer-events: none;
}

.menu-underline {
	text-decoration: underline;
}

.intro-btn-green {
	background-color: var(--trhy-green);
}

.intro-btn-green:hover {
	background-color: var(--trhy-green-hover);
	border-color: var(--trhy-green-hover);
}

.intro-btn-red {
	background-color: var(--trhy-red);
}

.intro-btn-red:hover {
	background-color: var(--trhy-red-hover);
	border-color: var(--trhy-red-hover);
}

.intro-btn-yellow {
	background-color: var(--trhy-yellow);
}

.intro-btn-yellow:hover {
	background-color: var(--trhy-yellow-hover);
	border-color: var(--trhy-yellow-hover);
}

.intro-btn-new {
	padding-left: 3rem;
	padding-right: 3rem;
}

.lightgreen-bg, .bg-lightgreen {
	background-color: rgba(137, 196, 119, 0.1);
}

.seller-item {
	background-color: rgba(102, 186, 84, 0.5);
}

.seller-item:hover {
	background-color: rgba(102, 186, 84, 1);
}

.seller-item .news__heading {
	color: var(--trhy-font-color);
}

.fun__button--red {
	background-color: var(--trhy-red);
}

.fun__button--green {
	background-color: var(--trhy-green);
	border-color: var(--trhy-green);
}

.fun-button--green:hover {
	background-color: var(--trhy-green-hover);
	border-color: var(--trhy-green-hover);
}

.fun-button-width {
	width: 200px;
}

.align-items-center {
	align-items: center;
}

.news__button--sm {
	color: var(--trhy-red);
	border-color: var(--trhy-red);
}

.news__text {
	background-color: #ADD59C;
}

.news__heading {
	color: var(--trhy-font-color);
}

.news__date {
	color: #404040;
	font-size: .7rem;
}

/* zvyrazneny post na HP */
.news-highlight {
	display: grid;
	align-items: stretch;
	grid-template-columns: 65% 35%;
	background-color: #f1f6ef;
	border-bottom-right-radius: 16px;
	overflow: hidden;
	max-width: 1200px;
	margin: 0 auto;
}

.news-highlight__image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-highlight__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-highlight__content {
	flex: 1;
	padding: 40px;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* align-self: start; */
}

.news-highlight__date {
	color: #666;
	font-size: 14px;
	margin-top: 10px;
}

.news-highlight h2 {
	margin-top: 0;
	font-size: 24px;
	font-weight: bold;
}

.news-highlight p {
	margin-bottom: 16px;
	line-height: 1.5;
}

/* why */
.why {
	padding-bottom: 4.25rem;
    padding-top: 4.25rem;
}

.why__container {
	margin: 0 auto;
	max-width: 1604px;
	width: 90%;
	display: flex;
	flex-direction: column;
	gap: 3.75rem;
}

.news-margin-top {
	margin-top: 3rem;
}

@media ( max-width: 1200px ) {
	.news-margin-top {
		margin-top: 1.5rem;
	}
}

/* calendar */
.calendar {
	padding-bottom: 4.25rem;
    padding-top: 4.25rem;
}

.calendar__container {
	margin: 0 auto;
	max-width: 1604px;
	width: 90%;
	display: flex;
	flex-direction: column;
	gap: 3.75rem;
}

.calendar__header h2 {
	text-align: center;
}

/* calendar filters */
.calendar__bottom-element {
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 10px;
	align-items: start;
	margin: 0 auto;
    max-width: 1604px;
}

.calendar-btn-new {
	color: white;
	font-weight: bold;
	border-color: transparent;
	background-color: #ADD59C;
}

.calendar-btn-new:after {
	content: '';
	display: none;
}

.calendar-btn-new {
	background-color: #ADD59C;
}

.calendar-btn-new:hover {
	background-color: #8BC475;
	border-color: #8BC475;
}

.calendar-btn-active {
	background-color: white;
	color: var(--trhy-red);
	border-color: var(--trhy-red);
}

.calendar__month {
	display: none;
}

.calendar__month--active {
	display: block;
}

/* calendar item */
.calendar-highlight {
	display: grid;
	grid-template-columns: 55% 45%;
	overflow: hidden;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 4rem;
}

.calendar-highlight__image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar-highlight__image img {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

.calendar-highlight__content {
	flex: 1;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* align-self: start; */
}

.calendar-highlight__date {
	color: #666;
	font-size: 14px;
	margin-top: 10px;
}

.calendar-highlight h2 {
	margin-top: 0;
	font-size: 24px;
	font-weight: bold;
}

.calendar-highlight p {
	margin-top: 1rem;
	margin-bottom: 16px;
	line-height: 1.5;
}

/* Obrácené pořadí */
.calendar-highlight--reverse {
	grid-template-columns: 45% 55%;
}

.calendar-highlight--reverse .calendar-highlight__image {
	order: 2;
}

.calendar-highlight--reverse .calendar-highlight__content {
	order: 1;
}

.calendar-margin-top .fun__button {
	margin-top: 0 !important;
}

.fun__button--calendar {
	background-color: white;
	border-color: transparent;
	color: var(--trhy-red);
}

.fun__button--calendar:hover {
	background-color: white;
	border-color: var(--trhy-red);
	color: var(--trhy-red);
}

.fun__button--arrow2::after {
    background: url(../img/button-arrow2.svg) no-repeat center center;
    background-size: contain;
    content: "";
    height: .875rem;
    margin-top: .125rem;
    transition: all .25s;
    width: .875rem;
}

.calendar-button-width {
	width: 250px;
}

.subpage-history {
	background-attachment: unset;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom;
	background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(../img/bg-zelnak-2.jpg);
}

.subpage-sellers {
	background-attachment: unset;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom;
	background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(../img/zelny-trh-bg.jpg);
}

/* custom grid */
.custom-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  margin: 60px auto;
  background: transparent;
  gap: 48px;
  padding: 0 0;
  grid-template-areas: "text img";
}

.custom-grid__text { grid-area: text; }
.custom-grid__img { grid-area: img; }

.custom-grid--reverse {
  grid-template-areas: "img text";
}

.custom-grid__text h2, .article--history h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 0 0 22px 0;
  color: #555;
  letter-spacing: -1px;
}

.article--history h2.centered {
	text-align: center;
}

.article--history .controls {
	margin: 0 auto;
}

.article--history .calendar__bottom-element {
	flex-wrap: wrap;
	align-items: stretch;
}

.article--history .controls .calendar-btn-new {
	background-color: white;
	color: #555;
	border-color: #555;
	font-weight: normal;
    min-height: 3rem;
    font-size: 1rem;
}

.article--history .controls .calendar-btn-new:hover {
	border-color: var(--trhy-red);
	color: var(--trhy-red);
}

.article--history .controls .calendar-btn-new.is-active {
	border-color: var(--trhy-red);
	color: var(--trhy-red);
}

.history-tabs {
	max-width: 1200px;
    margin: 0 auto;
}

.history-tab-hidden {
	display: none;
}

.custom-grid__text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.custom-grid__text p:not(:first-child) {
	margin-top: 20px;
}

.custom-grid__img img {
  width: 550px;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 2px 16px #0001;
  object-fit: cover;
}

@media (max-width: 950px) {
  .custom-grid,
  .custom-grid--reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "img"
      "text";
    gap: 28px;
    justify-items: center;
    text-align: center;
  }
  .custom-grid__img img {
    width: 80vw;
    max-width: 350px;
    margin: 0 auto;
  }
}

.content__container--full {
	grid-template-columns: 1fr;
	width: 100%;
}

.subpage__container {
	border-top-width: 0;
}

.sellers__item {
	padding: 0;
	border-radius: 0 36px 18px 18px;
	/* border: 1px solid #D9D9D9; */
	overflow: hidden;
	background: white;
	text-align: left;
	align-items: flex-start;
}

/*
.sellers__item:hover .sellers__name {
	text-decoration: underline;
} */

.sellers__img {
	width: 100%;
	height: 200px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.sellers__name {
	color: var(--trhy-font-color);
	padding: 5px 5px 5px 15px;
	font-size: 1.25rem;
}

.sellers__locality {
	background: none;
	padding: 5px 5px 15px 15px;
}

.seller-filter {
	color: white;
	padding: 0 15px;
}

.seller-filter-active {
	outline: 2px solid black;
}

.seller-filter:hover {
	color: white;
	text-decoration: underline;
}

.seller-tag {
	align-items: center;
    border: 0;
	margin-bottom: 5px;
    border-bottom-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: flex;
    font-weight: 700;
    gap: .5rem;
	color: white;
	min-height: 1.5rem;
    color: white;
    font-size: 13px;
    padding: 0 15px;
}

.seller-5 {
	background-color: #66BA54;
}

.seller-4 {
	background-color: #DA5C33;
}

.seller-3 {
	background-color: #FEC94E;
}

.news-btn-extra {
	border-color: black;
	color: black;
}

.news-btn-extra:hover {
	color: white;
}

.article table tr:nth-child(odd) {
	background-color: rgba(137, 196, 119, 0.3);
}

.article table tr td, .article table tr th {
	padding: 8px 12px;
}

.article table tr td a {
	text-decoration: underline;
}

.article table tr td a:hover {
	text-decoration: none;
}

span.sellers__meta {
	display: block;
    padding: 0 5px 0 15px;
    font-size: .8rem;
}

.hp-sellers-button-wrapper {
	margin-top: 30px;
}

/* upravy prodejců vypisu */
.seller-item {
	position: relative;
}

.seller-item-tag {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1;
}

.seller-item .news__text {
	background-color: white;
}

body.home .seller-item .seller-item-tag .seller-tag {
	font-size: 14px;
	padding: 5px 15px;
}

.seller-item-hover-5:hover .news__text h3 {
	color: #66BA54;
}

.seller-item-hover-4:hover .news__text h3 {
	color: #DA5C33;
}

.seller-item-hover-3:hover .news__text h3 {
	color: #FEC94E;
}

/* sellers list */
.seller-item-list {
	position: relative;
	padding-bottom: 20px;
}

.sellers-bg {
	background-color: #F5F5F5;
}

.seller-item-list.seller-item-list:hover {
	color: var(--trhy-font-color);
}

.seller-item-list.seller-item-list-hover-5:hover .sellers__name {
	color: #66BA54;
}

.seller-item-list.seller-item-list-hover-4:hover .sellers__name {
	color: #DA5C33;
}

.seller-item-list.seller-item-list-hover-3:hover .sellers__name {
	color: #FEC94E;
}

.sellers-list-button-wrapper {
	margin-bottom: 20px;
}

.sellers-detail-button-wrapper .fun__button {
	margin-top: 50px;
}

/* history grid */
@media (max-width: 1700px) {
	.history-custom-grid {
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media (max-width: 600px) {
	.history-custom-grid {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* seller detail grid */
.seller-detail-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: flex-start;
  background: transparent;
  gap: 48px;
  padding: 0 0;
  grid-template-areas: "text img";
}

@media (max-width: 1300px) {
  .seller-detail-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "img";
    gap: 24px;
  }
}

.seller-detail-grid__text { grid-area: text; }
.seller-detail-grid__img {
	position: relative;
	grid-area: img;
}

.seller-detail-grid__img .seller-tag {
	font-size: 14px;
	padding: 5px 15px;
}

.seller-detail-grid__text h2 {
	font-size: 1.625rem;
}

.seller-detail-grid__img img {
	border-radius: 50px 0px 0px 0px;
}

.contacts__item {
	background-color: #ADD59C !important;
}

.contacts__item h2 {
	color: var(--trhy-font-color) !important;
}

.sellers-intro-text {
	padding-top: 3rem;
    padding-bottom: 3rem;
}

.sellers-intro-text b, .sellers-intro-text strong {
	font-weight: bold !important;
}
/*
.sellers__filters-heading {
	font-weight: bold;
} */

.calendar__bottom-element {
	flex-wrap: wrap;
}

@media ( max-width: 768px ) {
	.calendar-highlight {
		grid-template-columns: 35% 65%;
		margin-bottom: 0;
	}

	.calendar-highlight--reverse {
		grid-template-columns: 65% 35%;
	}

	.calendar-button-width {
		max-width: 250px;
		width: auto;
	}

	.news-highlight {
		grid: none;
	}

	.intro__title {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.intro__bottom-element {
		flex-wrap: wrap;
	}

	.why {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	.partners {
		padding-top: 1rem;
	}

	.custom-grid__text p {
		text-align: justify;
		padding: 0 20px;
	}
}