:root {
  --dot-color: var(--accent-text-color);
  --dot-color-fade: rgba(255, 218, 6, 0.492);
  --dot-size: 6px;
  --dot-spacing: 9px;
}
.wp-block-uagb-post-grid .uagb-post__image {
  width: 120%;
}
/* Basic Reset (Optional , but Recommended) */
.hidden {
  display: none;
}
/* Make film-details flex for horizontal sections */
.film-details {
  margin-top: 20px;
  max-width: 100%;
  /* Adjust as needed */
  display: flex;
  /* Use flexbox for horizontal layout */
  flex-wrap: wrap;
  /* Allow sections to wrap to the next line */
  gap: 4px;
  /* Space between sections */
  align-items: center;
}
/* Make section flex for inline title and content */
.film-details__section {
  display: flex;
  /* Use flexbox for horizontal layout */
  align-items: center;
  /* Vertically align items */
  gap: 4px;
  /* Space between title and content */
  margin-bottom: 0;
  /* Remove bottom margin from section */
}
.film-details__title {
  margin-bottom: 0;
  /* Remove bottom margin from title */
  border-bottom: none;
  /* Remove the bottom border */
  padding-bottom: 0;
  /* Remove padding */
  flex-shrink: 0;
  /* Prevent title from shrinking */
}
/* Inline Styling */
.film-details__inline {
  display: inline;
  /* Change to inline */
}
.film-details__inline span {
  font-weight: bold;
  margin-right: 4px;
}
.film-details__inline a {
  margin-right: 4px;
}
/* Photo Section */
.film-photos {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  /* Use flexbox for horizontal layout */
  flex-wrap: wrap;
  /* Allow photos to wrap to the next line */
  gap: 10px;
  /* Space between photos */
}
.film-photo-item {
  width: 200px;
  /* Adjust width as needed */
}
.film-photo-item img {
  width: 100%;
  /* Make images fill their container */
  height: auto;
  /* Maintain aspect ratio */
  display: block;
  /* Remove any extra space below the image */
}
/* Edit Link */
.edit-link {
  margin-top: 20px;
  margin-bottom: 40px;
}
.edit-link a {
  background-color: var(--accent-text-color);
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  border-radius: 10px;
}
/* Style Definition List Inline */
.film-details__section dl {
  display: inline;
  /* crucial for dts and dds working inline */
}
.film-details__section dt {
  display: inline-block;
  /* Make dt inline */
  font-weight: bold;
  margin-right: 5px;
  /* Add some space after the term */
}
.film-details > h1,
.film-details > h2,
.film-details__section > h2 {
  margin-bottom: 0px;
  margin-top: 0px;
  font-size: 1em;
}
.film-details__section > p {
  margin-bottom: 0px;
}
.film-details p {
  margin-bottom: 0px;
}
.dot-flashing {
  position: relative;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  /* Make it a circle */
  background-color: var(--dot-color);
  color: var(--dot-color);
  /* Remove animation from the base class */
}
/* Add animation on hover to the link */
.wp-block-button__link:hover .dot-flashing {
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
.dot-flashing span {
  display: none;
}
.dot-flashing::before,
.dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-flashing::before {
  left: calc(var(--dot-spacing) * -1);
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  /* Make it a circle */
  background-color: var(--dot-color);
  color: var(--dot-color);
  /* Remove animation from the before pseudo-element */
}
.wp-block-button__link:hover .dot-flashing::before {
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}
.dot-flashing::after {
  left: var(--dot-spacing);
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  /* Make it a circle */
  background-color: var(--dot-color);
  color: var(--dot-color);
  /* Remove animation from the after pseudo-element */
}
.wp-block-button__link:hover .dot-flashing::after {
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}
@keyframes dot-flashing {
  0% {
    background-color: var(--dot-color);
  }
  50%,
  100% {
    background-color: var(--dot-color-fade);
  }
}
.wp-block-button__link {
  display: block;
  background-color: transparent !important;
}
.wp-block-group .wp-block-uagb-image {
  margin-bottom: 20px;
}
/** Debug **/
.debug pre {
  font-size: 13px;
  text-wrap: wrap;
  color: #53bdaf;
}
h2.wp-block-post-title {
  margin-top: 20px;
  margin-bottom: 20px;
}
.post-modified {
  color: #1e1e1e;
}
/** Admin **/
#editor a {
  color: #000;
}
.wp-site-blocks,
.wp-site-blocks a,
.wp-site-blocks h2,
.wp-site-blocks h1 {
  color: #fff;
}
.film-details__section h2,
.film-details__section p {
  display: inline;
  font-size: 1em;
  margin: 0;
  line-height: 1.2em;
}
.film-details__section h2 {
  margin-right: 0.12em;
}
.film-details__section {
  margin-bottom: 0.1em;
  align-items: flex-start;
}
.film-details__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
  margin-bottom: 0.1em;
}
.film-details__headline {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.5em;
  margin-bottom: 0.1em;
}
.film-details__headline h1,
.film-details__headline h2,
.film-details__headline span {
  font-size: 1em;
  font-weight: normal;
  margin: 0;
}
.film-details__footer {
  display: flex;
  gap: 0.2em;
}
.wp-block-post-featured-image :where(img),
.wp-block-uagb-image__figure :where(img) {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
  width: 100%;
}
.read-more-link {
  border-radius: 0.33rem;
  border-color: var(--wp--preset--color--contrast);
  border-width: 0;
  color: var(--wp--preset--color--contrast);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--small);
  font-style: n;
  /* font-weight: 500; */
  line-height: inherit;
  padding-top: 0.6rem;
  /* padding-right: 1rem; */
  /* padding-bottom: 0.6rem; */
  /* padding-left: 1rem; */
  text-decoration: none;
}
.read-more-link:hover .dot-flashing {
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
