
/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*inline ad*/
.cta-container {
  background: #1C1E25;
  color: white;
  padding: 36px 20px;
  text-align: center;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 860px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-family: 'Roboto', sans-serif;
}

.cta-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 15px;
  color: #bbb;
}

.cta-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-button {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  min-width: 180px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  display: inline-block;
}

.solid-white-button {
  background: white;
  color: #1C1E25;
  border: 1px solid white;
}

.solid-white-button:hover {
  background: #f2f2f2;
  border-color: #f2f2f2;
}

.white-outline-button {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.white-outline-button:hover {
  background: white;
  color: #1C1E25;
}
/*Subheaders */
p > strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.4;
  color: white; /* or black depending on your theme */
}
/* sticky back CTA */
.ameeba-chat-icon-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-block;
  line-height: 0;
}

/* Default desktop size */
.ameeba-chat-icon-badge img {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
  object-fit: contain;
  box-sizing: border-box;
}

/* Hover tooltip (desktop only) */
.ameeba-chat-icon-badge::after {
  content: "Ameeba Chat";
  position: absolute;
  bottom: 130%;
  right: 0;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.ameeba-chat-icon-badge:hover::after {
  opacity: 1;
}

/* Responsive mobile scaling */
@media screen and (max-width: 768px) {
  .ameeba-chat-icon-badge img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }

  .ameeba-chat-icon-badge::after {
    display: none !important;
  }
}
