.hero {
	min-height: auto;
}

.hero .page-info .wp-block-column {
	max-width: fit-content;
}

.hero .wp-block-image, .hero .wp-block-image .alignright {
	margin: 0;
	padding: 0;
}

.hero .wp-block-column {
	margin-left: 0 !important;
}

.wp-block-cover.alignfull.hero .wp-block-cover__inner-container {
	padding: 35px 20px;
}

.hero h1 {
	margin: 0;
}

.space-page-content p {
    padding-bottom: 0.7em;
}

.space-page-content h1,
.space-page-content h2 {
    margin: 10px 0 20px;
}

.space-header-wrap {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0);
}

.space-header-wrap.fixed {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
}

th {
    background: #26a17b;
    color: #fff;
    font-weight: 800;
}

table {
    border-radius: 5px
}

table tbody tr:nth-child(even) td {
    background: #f5f5f8;
}

.space-page-content table {
    margin: 1.45em 0 2.2em;
}

.attachment-mercury-custom-logo.size-mercury-custom-logo {
    width: 80px;
}

.space-header-height .space-header-logo a {
    padding-top: 0;
}

figure.wp-block-gallery.has-nested-images.footer-link {
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.wp-block-gallery.has-nested-images.footer-link figure.wp-block-image {
    width: auto !important;
    flex: 0 1 max-content;
}

.wp-block-gallery.has-nested-images.footer-link:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
    margin-bottom: 0;
}

.wp-block-gallery.has-nested-images.footer-link figure.wp-block-image img {
    max-height: 60px;
    height: 100px;
    filter: grayscale(1);
}

.space-footer-top {
    padding: 45px 0;
    background-color: #00402b;
}

.space-header-height .space-header-top {
    background-color: #2d3436;
}

.space-header-height .space-header-top-soc a,
.space-header-height .space-header-top-menu ul li a {
    color: #ffffff;
}

.space-footer .space-news-1-item-title a,
.space-footer .space-news-1 .space-block-title,
.space-footer .space-posts-shortcode-1 .space-block-title {
    color: #fff !important;
}

.space-footer-ins {
    justify-content: space-between;
}

.age-limit {
    margin-top: 20px;
}

.page-id-403 .space-page-content-meta {
    margin-bottom: 24px;
}

.space-organizations-3-archive-item-terms-ins strong {
    font-size: 20.43px;
    color: #a03f3f;
}

.wp-block-columns p {
    line-height: 1.85em;
}

.hero-top {
    margin-bottom: 0px;
}

.icon-block {
    gap: 0em;
}

.wp-block-image.casino-preview img {
    width: 100%;
}

@media screen and (max-width: 781px) {
    .hero-img, .hero .wp-block-column:last-child {
        display: none;
    }

    .hero-top {
        gap: 10px;
    }

    .icon-block {
        flex-wrap: nowrap !important;
    }

    .icon-block .wp-block-column:first-child {
        flex-basis: 15% !important;
    }

    .icon-block figure {
        margin-bottom: 0.5em;
    }

    .casino-preview figure {
        margin-left: 0 !important;
        padding-left: 0px !important;
    }

    .wp-block-image.casino-preview img {
        width: 100%;
    }
	
}

@media screen and (min-width: 1001px) {
	.home-main #ez-toc-container {
		position: absolute;
		top: 0;
		z-index: 10;
		width: calc(30% - 20px);
		max-width: 340px;
		transition: top .3s ease-in-out, bottom .3s ease-in-out;
	}
	
	.wp-block-column:has(#ez-toc-container) {
		margin-left: 0 !important;
	}
	
}

@media screen and (max-width: 550px) {
    .icon-block {
        flex-wrap: wrap !important;
    }

    .icon-block img {
        max-width: 80px
    }
}

.space-pros-ins,
.space-cons-ins {
    margin-bottom: 0;
}

.space-pros-ins {
    background: #d6f2e247;
}

.space-cons-ins {
    background: #fde3e859;
}

.space-pros-title,
.space-cons-title {
    font-size: 1em;
}

.space-organization-single-2 .space-organization-header-logo-rating {
    position: initial;
    min-width: fit-content;
}

.space-organization-single-2 .space-style-2-organization-header-elements {
    align-items: center;
}

.space-organization-single-2 .space-organization-header-title-box span.organization-title-2 {
    font-size: 1.7em;
}

.aces-organization-2 {
    padding: 0.5em;
}

@media screen and (min-width: 768px) {

    .space-organization-single-2 .space-organization-header-logo-box {
        display: flex;
        gap: 1em;
        flex: 0 1 220px;
    }

    .space-organization-single-2 .space-organization-header-logo-rating {
        align-self: center;
    }
}

table {
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 40px 0 rgba(239, 221, 252, 0.5);
    overflow: hidden;
}

table th,
table td {
/*     min-width: 155px; */
    padding: 10px;
}

table tr:last-child td {
    border-bottom: none;
}

table td {

    border-bottom: 1px solid #E5DEEA;
    border-right: 1px solid #E5DEEA;
}

table td:last-child {
    border-right: none;
}

@media screen and (max-width: 850px) {
    table tbody tr td:first-child:before {
        color: #00a06d;
    }

    table {
        border: 0;
        min-width: auto !important;
    }

    table thead {
        display: none;
    }

    table tr {
        display: block;
    }

    table tr:not(:last-child) {
        border-bottom: 2px solid #ddd;
    }

    table td {
        display: flex;
        border-bottom: 1px dotted #ccc;
        border-right: 1px solid transparent;
    }

    table td {
        flex-direction: column;
    }

    table td:last-child {
        border-bottom: 0;
    }

    table td:before {
        content: attr(data-label) ":";
        float: left;
        margin-right: 10px;
        font-weight: bold;
        flex: 0 0 40%;
        text-align: left;
    }
}

table.big {
    border: 0;
    min-width: auto !important;
}

table.big thead {
    display: none;
}

table.big tr {
    display: block;
}

table.big tr:not(:last-child) {
    border-bottom: 2px solid #ddd;
}

table.big td {
    display: flex;
    border-bottom: 1px dotted #ccc;
    border-right: 1px solid transparent;
}

table.big td {
    flex-direction: column;
}

table.big td:last-child {
    border-bottom: 0;
}

table.big td:before {
    content: attr(data-label) ":";
    float: left;
    margin-right: 10px;
    font-weight: bold;
    flex: 0 0 40%;
    text-align: left;
}

.ez-toc-title-container {
	display: flex;
    justify-content: space-between;
    align-items: center;
}

#ez-toc-container:not(.home-main #ez-toc-container) {
    width: auto;
}

div#ez-toc-container .ez-toc-title {
    font-size: 100%;
}

.home-main {
	position: relative;
}

@media screen and (max-width: 1000px) {
    .home-main {
        flex-direction: column-reverse;
		gap:0;
    }

    .home-main .home-main-col {
        flex-basis: 100% !important;
    }
	
		.home-main #ez-toc-container .ez-toc-list {
		display: none;
	}
	
	.home-main #ez-toc-container.toc-expanded .ez-toc-list {
		display: block;
	}
}

@media screen and (max-width: 479px) {
	.wp-block-cover.alignfull.hero .wp-block-cover__inner-container {
		padding: 20px 5px 10px;
	}
}

/* Загальний контейнер */
.casino-characteristics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  margin: 1rem 0;
}

/* Кожна секція (рядок) */
.characteristic {
  position: relative;
  background: aliceblue;
    padding: 1em 1em 1em 100px;
    border: 1px solid #00a06d;
    border-radius: 10px;
}

/* Іконка через псевдоелемент */
.characteristic::before {
  content: "";
  position: absolute;
  top: 1em;
    left: 1em;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Індивідуальні іконки */
.characteristic--basic::before {
  background-image: url('https://cazinourionlinegermania.de/wp-content/uploads/2025/04/casino-chip.svg');
}
.characteristic--reviews::before {
  background-image: url('https://cazinourionlinegermania.de/wp-content/uploads/2025/04/reviews.svg');
}
.characteristic--payments::before {
  background-image: url('https://cazinourionlinegermania.de/wp-content/uploads/2025/04/cashless-payment.svg');
}
.characteristic--bonuses::before {
  background-image: url('https://cazinourionlinegermania.de/wp-content/uploads/2025/04/bonus.svg');
}

/* Сітка рядка */
.characteristic__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.characteristic__row:not(:last-child) {
	margin-bottom: 1rem;
}

/* Колонки */
.characteristic__item {
  flex: 1;
  min-width: 210px;
}

.characteristic__item strong {
  display: block;
  font-weight: 600;
}

/* Адаптивність */
@media (max-width: 991px) {
  .characteristic {
    padding-left: 70px;
  }

  .characteristic::before {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 598px) {
	.characteristic__row {
		gap: 0.5rem;
	}
}

.home-proc-cons {
	gap: 0;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .space-content-section {
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 767px) and (min-width: 480px) {
    .space-content-section {
        margin-bottom: 0;
    }
}

.space-organization-header-button a.space-style-2-button {
	padding: 15px 10px;
}

/* .table-container {
  width: 100%;
  overflow-x: auto; 
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; 
}

.table-container th,
.table-container td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  white-space: normal; 
}

.table-container th {
  background-color: #f5f5f5;
  font-weight: bold;
}
th {
  position: relative;
}

th .resizer {
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
}
 */

.tracking-name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 8px;
}

.tracking-date::before {
	content: url("/wp-content/uploads/2025/05/calendar.svg");
	display: inline-block;
	margin-right: 4px;
	vertical-align: middle;
}

.tracking-author::before {
	content: url("/wp-content/uploads/2025/05/user.svg");
	display: inline-block;
	margin-right: 4px;
	vertical-align: middle;
}

@media screen and (max-width: 1199px) {
	.attachment-mercury-custom-logo.size-mercury-custom-logo {
    width: 60px;
		max-width: fit-content;
}
}

.space-mobile-menu .space-mobile-menu-copy {
    color: #ffffff;
}

@media screen and (max-width: 1199px) and (min-width: 1025px) {
    .space-sidebar-section .space-news-1-item {
        width: 100%;
    }
}