/*
Theme Name: PoC World Radio
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: Single-page React theme for PoC World Radio push-to-talk over cellular.
Version: 1.1.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: tmt
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Theme shell + admin bar + interaction defaults (Tailwind bundle: assets/build/theme-app.css). */

html {
  scroll-padding-top: 100px;
}

/* Sticky header clears the WP admin bar (logged-in users). */
body.admin-bar .tmt-theme {
  --tmt-admin-bar-offset: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .tmt-theme {
    --tmt-admin-bar-offset: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed;
  }
}

body.admin-bar #tmt-app {
  scroll-margin-top: calc(100px + var(--tmt-admin-bar-offset, 32px));
}

body.admin-bar header.sticky {
  top: var(--tmt-admin-bar-offset, 32px);
}

a[href],
button:not(:disabled),
[role="button"],
label[for],
select,
summary,
.btn,
.roll,
.cursor-pointer {
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}
