/**
 * TASMAC Near Me
 * Base styles
 */

/* --------------------------------------------------
 * Design tokens
 * -------------------------------------------------- */

:root {
  --tasmac-red: #c8102e;
  --tasmac-red-dark: #a50d25;
  --tasmac-red-light: #fbeaec;

  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #888888;

  --white: #ffffff;
  --black: #000000;

  --border-color: #e5e5e5;
  --background-light: #f7f7f7;

  --container-width: 1200px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* --------------------------------------------------
 * Global reset
 * -------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  background: var(--white);
  color: var(--text-primary);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------
 * Typography
 * -------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-top: 0;
}

a {
  color: var(--tasmac-red);
  text-decoration: none;
}

a:hover {
  color: var(--tasmac-red-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------
 * Forms
 * -------------------------------------------------- */

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------
 * Accessibility
 * -------------------------------------------------- */

:focus-visible {
  outline: 3px solid var(--tasmac-red);
  outline-offset: 2px;
}

/* --------------------------------------------------
 * Drupal
 * -------------------------------------------------- */

.messages {
  margin: 1rem 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#block-tasmac-nearme-tasmacsupabasemapblock + .views-element-container {
  display: none;
}