/*
Theme Name: FLAG Nord Sardegna
Theme URI: https://flag-nordsardegna.it
Description: Tema personalizzato basato su Elementor per il FLAG Nord Sardegna.
Version: 1.0.0
Author: Paolo Frulio | Tinxy
*/

/* Custom global styles from index.html */
:root {
  --primary: #006da6;
  --secondary: #0082cd;
  --surface: #F8F9FA;
  --text: #1F2937;
  --text-light: #9CA3AF;
  --flag-blue: #0056b3;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface);
  color: var(--text);
}

main {
  padding-top: 50px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* Custom Tab Shape for Cards */
.card-tab-shape {
  clip-path: polygon(0% 20px, 20px 0%, 100% 0%, 100% 100%, 0% 100%);
}

.card-tab-shape-reverse {
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 0% 100%);
}

/* Custom logo sizing */
.custom-logo-link {
  display: block;
}

.custom-logo {
  height: 48px; /* h-12 in tailwind */
  width: auto;
  max-width: 100%;
}

/* Center GTranslate Flags in Footer */
.gtranslate_wrapper {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 20px;
}

/* TinyMCE Table Frontend Styles */
.prose table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border: 1px solid #e5e7eb;
}

.prose table th,
.prose table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.prose table th {
  background-color: #f9fafb;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.prose table tr:nth-child(even) {
  background-color: #fcfcfc;
}
