/* Shared by the example-site themes (copied in as inc/site.css). Colours come from each theme: --tm-accent, --tm-cta, --tm-ink. */

.tm-topbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tm-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tm-nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: .97rem; }
.tm-nav a { color: var(--tm-ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.tm-nav a:hover { color: var(--tm-accent); }
.tm-nav a.is-active { color: var(--tm-accent); border-bottom-color: var(--tm-accent); }
.tm-nav .tm-nav-cta { display: none; }
.tm-right { display: flex; align-items: center; gap: 14px; }
.tm-lang { display: flex; border: 1px solid rgba(0,0,0,.14); border-radius: 999px; padding: 3px; font-size: .78rem; font-weight: 800; }
.tm-lang a, .tm-lang span { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--tm-ink); line-height: 1.2; }
.tm-lang .is-on { background: var(--tm-ink); color: #fff; }
.tm-cta { background: var(--tm-cta); color: #fff; text-decoration: none; font-weight: 800; font-size: .95rem; padding: 11px 20px; border-radius: var(--tm-radius, 999px); white-space: nowrap; }
.tm-cta:hover { filter: brightness(.93); }
.tm-burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(0,0,0,.14); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.tm-burger span { display: block; width: 20px; height: 2px; background: var(--tm-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.tm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Floating WhatsApp button */
.tm-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff; font-weight: 800; padding: 13px 18px 13px 14px; border-radius: 999px; box-shadow: 0 12px 26px -10px rgba(0,0,0,.5); text-decoration: none; font-size: .95rem; }
.tm-wa:hover { transform: translateY(-2px); }

/* "Example site" note shown instead of calling a made-up number */
.tm-toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 100; max-width: min(460px, calc(100vw - 32px)); background: #111a16; color: #fff; padding: 14px 18px; border-radius: 14px; font-size: .94rem; line-height: 1.45; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); opacity: 0; transition: opacity .25s, transform .25s; }
.tm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .tm-burger { display: flex; }
  .tm-cta { display: none; }
  .tm-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 5vw 20px; box-shadow: 0 24px 40px -24px rgba(0,0,0,.45); border-top: 1px solid rgba(0,0,0,.08); }
  .tm-nav.is-open { display: flex; }
  .tm-nav a { padding: 15px 2px; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 1.05rem; }
  .tm-nav a.is-active { border-bottom-color: rgba(0,0,0,.07); }
  .tm-nav .tm-nav-cta { display: block; margin-top: 14px; text-align: center; background: var(--tm-cta); color: #fff; border-radius: var(--tm-radius, 999px); border: 0; padding: 15px; font-weight: 800; }
  .tm-header { position: sticky; }
  .tm-top-a { display: none; }
  .tm-topbar { justify-content: center; }
}
@media (max-width: 560px) {
  .tm-wa span { display: none; }
  .tm-wa { padding: 14px; }
  .tm-lang a, .tm-lang span { padding: 4px 8px; }
}

/* Button rows written as plain HTML have no WordPress layout class: lay them out here so they wrap with a gap
   (the Greek labels are longer and go onto a second line). */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
/* A tap leaves focus on the menu button: keep the ring for keyboard users only. */
.tm-burger:focus:not(:focus-visible) { outline: none; }
