/*
Theme Name:     fotografie-blocks-child
Theme URI:      https://example.com/
Description:    Child theme for the Tfotografie-blocks theme
Author:         Mart
Author URI:     https://yourwebsite.com/
Template:       fotografie-blocks
Version:        1.0.0
*/

body {
  background-color: #000 !important;
}

table {
  font-weight: 500;
  border-collapse: collapse;
  width: 100%;
}
body p {
  font-family: 'sans-serif', sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: none;
  color: #fff;
}

.wp-block-group.wp-block-entry-content {
  background: none !important;
}
/* Hide link and heading text by default */
.wp-block-group.wp-block-entry-content a,
.wp-block-group.wp-block-entry-content h2 {
  color: transparent;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

/* Show text in white and make it larger on hover */
.wp-block-group.wp-block-entry-content:hover a,
.wp-block-group.wp-block-entry-content:hover h2 {
  color: white;
  /*font-size: 1.8em; /* adjust as needed */
  text-decoration: none;
  /* text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* optional for clarity */
}
.wp-block-group.wp-block-entry-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* dark overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.wp-block-group.wp-block-entry-content:hover::before {
  opacity: 1;
}

.wp-block-group.wp-block-entry-content h2,
.wp-block-group.wp-block-entry-content a {
  position: relative;
  z-index: 2;
}
.wp-block-group.wp-block-entry-content p {
  display: none;
}
