/* EscuelaGastroClub: inherited light surfaces from the Andromeda portal.
   CircularStd-Book loaded from SmartHubTech CDN to match the Andromeda portal font. */

@font-face {
  font-family: "CircularStd-Book";
  src: url("https://cdn.smarthubtech.net/Portales%20Espa%C3%B1a/Ovooz/Chicago/Fuente/CircularStd-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "CircularStd-Medium";
  src: url("https://cdn.smarthubtech.net/Portales%20Espa%C3%B1a/Ovooz/Chicago/Fuente/CircularStd-Medium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "CircularStd-Book";
  src: url("https://cdn.smarthubtech.net/Portales%20Espa%C3%B1a/Ovooz/Chicago/Fuente/CircularStd-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "CircularStd-Book";
  src: url("https://cdn.smarthubtech.net/Portales%20Espa%C3%B1a/Ovooz/Chicago/Fuente/CircularStd-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root,
.theme-escuelagastroclub {
  --primary-300: #ff99d6;
  --primary-400: #ff66bf;
  --primary-500: #24756f;
  --primary-600: #1f6661;
  --primary: #c00070;
  --primary-foreground: #ffffff;
  --gradient-primary-secondary: linear-gradient(#c00070, #c00070);
  --color-primary: #c00070;
  --color-focus-outline: #24756f;
  --background: #ffffff;
  --foreground: #647080;
  --color-bg-base: #ffffff;
  --color-bg-card: #ffffff;
  --color-text-base: #647080;
  --color-text-muted: #76808f;
  --color-text-inverse: #ffffff;
  --color-text-base-op-64: #ffffff;
  --color-border: #e7e7e7;
  --color-input-bg: #a9fff1;
  --color-input-border: transparent;
  --card: #ffffff;
  --card-foreground: #333333;
  --popover: #ffffff;
  --popover-foreground: #333333;
  --muted: #f4f5f6;
  --muted-foreground: #647080;
  --accent: #f4f5f6;
  --accent-foreground: #333333;
  --border: #e7e7e7;
  --input: #d7dce0;
  --header-bg: #ffffff;
  --header-auth-color: #63a5a0;
  --footer-bg: #3f7d78;
  --footer-border: #3f7d78;
  --header-shadow: none;
  --header-logo-height: 30px;
  --font-family-base: "CircularStd-Book", Arial, Helvetica, sans-serif;
  --font-family-display: "CircularStd-Book", Arial, Helvetica, sans-serif;

  /* Legacy visual language: crisp 2px corners across cards, buttons, inputs, and media. */
  --radius: 2px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --radius-2xl: 2px;
  --radius-3xl: 2px;
  --radius-4xl: 2px;
  --radius-card: 2px;
}

@media (max-width: 991px) {
  .theme-escuelagastroclub {
    --header-bg: #63a5a0;
  }
}

@media (min-width: 992px) {
  .theme-escuelagastroclub {
    --header-logo-height: 72px;
  }
}

body.theme-escuelagastroclub {
  background-color: var(--color-bg-base) !important;
  color: var(--color-text-base) !important;
  font-family: var(--font-family-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.theme-escuelagastroclub footer {
  padding: 15px 0 0;
  color: #fff;
}

.theme-escuelagastroclub footer .page-container > div {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.theme-escuelagastroclub footer .page-container > div > a img {
  width: auto;
  height: 50px;
}

.theme-escuelagastroclub footer nav {
  width: 100%;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.theme-escuelagastroclub footer nav a {
  height: auto;
  min-height: 0;
  padding: 3px 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.2px;
  text-decoration: underline;
}

.theme-escuelagastroclub footer a,
.theme-escuelagastroclub footer button {
  padding: 0;
  color: #fff;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.theme-escuelagastroclub footer a:hover,
.theme-escuelagastroclub footer button:hover {
  text-decoration: underline;
}

/* Tailwind derives each rounded utility directly from --radius with different
   multipliers. Collapse non-circular utilities to legacy's single 2px radius. */
.theme-escuelagastroclub :where(
  .rounded,
  .rounded-sm,
  .rounded-md,
  .rounded-lg,
  .rounded-xl,
  .rounded-2xl,
  .rounded-3xl,
  .rounded-4xl
) {
  border-radius: 2px;
}

.theme-escuelagastroclub :where(.btn, .btn-sm, .btn-lg) {
  border-radius: 2px;
}

.theme-escuelagastroclub .btn-tertiary,
.theme-escuelagastroclub .btn-tertiary:disabled {
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-family-base);
  font-weight: 400;
}

.theme-escuelagastroclub .font-bricolage {
  font-family: var(--font-family-base);
}

.theme-escuelagastroclub .pr-page {
  background-color: var(--color-bg-base);
  color: var(--color-text-base);
  font-family: var(--font-family-base);
}

/* Hide Next.js dev toolbar in all environments (matches legacy screenshots) */
nextjs-portal {
  display: none !important;
}

.theme-escuelagastroclub .cc-overlay {
  padding: 3px 16px 24px;
}

.theme-escuelagastroclub .cc-banner {
  max-width: 960px;
  padding: 18px 60px;
  box-shadow: none !important;
  border-radius: var(--radius-card);
  gap: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.theme-escuelagastroclub .cc-title {
  display: none;
}

.theme-escuelagastroclub .cc-description {
  font-size: 16px;
  line-height: 1.4;
  opacity: 1;
}

.theme-escuelagastroclub .cc-link {
  margin-left: 0;
  text-decoration: none;
}

.theme-escuelagastroclub .cc-link:hover,
.theme-escuelagastroclub .cc-config-link:hover {
  text-decoration: underline;
}

.theme-escuelagastroclub .cc-actions {
  width: 100%;
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.theme-escuelagastroclub .cc-btn {
  border-radius: 3px;
  padding: 6px 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.theme-escuelagastroclub .cc-btn-essential {
  order: 1;
}

.theme-escuelagastroclub .cc-btn-accept {
  order: 2;
}

.theme-escuelagastroclub .cc-config-link {
  order: 0;
  margin-right: auto;
  font-size: 16px;
  font-weight: 700;
  opacity: 1;
  text-align: left;
  white-space: normal;
}

.theme-escuelagastroclub .cc-btn:focus-visible,
.theme-escuelagastroclub .cc-config-link:focus-visible,
.theme-escuelagastroclub .cc-link:focus-visible {
  outline: 2px solid #24756f;
  outline-offset: 2px;
}

.theme-escuelagastroclub .cc-settings-title {
  font-size: 18px;
}

.theme-escuelagastroclub .cc-settings-sep,
.theme-escuelagastroclub .cc-settings-footer {
  border-color: #e7e7e7;
}

@media (max-width: 640px) {
  .theme-escuelagastroclub .cc-overlay {
    padding: 3px 5px;
  }

  .theme-escuelagastroclub .cc-banner {
    padding: 18px 25px;
    max-height: calc(100dvh - 6px);
    overflow-y: auto;
  }

  .theme-escuelagastroclub .cc-description {
    font-size: 15px;
  }

  .theme-escuelagastroclub .cc-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .theme-escuelagastroclub .cc-config-link {
    margin-right: 0;
  }

  .theme-escuelagastroclub .cc-btn {
    width: 100%;
  }
}
