/* Google Fonts - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Book.woff2") format("woff2"), url("/static/fonts/Acto-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-BookItalic.woff2") format("woff2"), url("/static/fonts/Acto-BookItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Black.woff2") format("woff2"), url("/static/fonts/Acto-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-BlackItalic.woff2") format("woff2"), url("/static/fonts/Acto-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Bold.woff2") format("woff2"), url("/static/fonts/Acto-Bold.woff") format("woff");
  font-weight: 700;
  font-style: bold;
  font-display: swap;
}
@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-BoldItalic.woff2") format("woff2"), url("/static/fonts/Acto-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-SemiBoldItalic.woff2") format("woff2"), url("/static/fonts/Acto-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-SemiBold.woff2") format("woff2"), url("/static/fonts/Acto-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* @font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Black.woff2") format("woff2"),
    url("/static/fonts/Acto-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Bold.woff2") format("woff2"),
    url("/static/fonts/Acto-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-ExtraBoldItalic.woff2") format("woff2"),
    url("/static/fonts/Acto-ExtraBoldItalic.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Acto Hairline";
  src: url("/static/fonts/Acto-HairlineItalic.woff2") format("woff2"),
    url("/static/fonts/Acto-HairlineItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-UltraBlack.woff2") format("woff2"),
    url("/static/fonts/Acto-UltraBlack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-ThinItalic.woff2") format("woff2"),
    url("/static/fonts/Acto-ThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Acto UltraBlack";
  src: url("/static/fonts/Acto-UltraBlackItalic.woff2") format("woff2"),
    url("/static/fonts/Acto-UltraBlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Light.woff2") format("woff2"),
    url("/static/fonts/Acto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Medium.woff2") format("woff2"),
    url("/static/fonts/Acto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-UltraLight.woff2") format("woff2"),
    url("/static/fonts/Acto-UltraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-LightItalic.woff2") format("woff2"),
    url("/static/fonts/Acto-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-ExtraBold.woff2") format("woff2"),
    url("/static/fonts/Acto-ExtraBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-MediumItalic.woff2") format("woff2"),
    url("/static/fonts/Acto-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Acto Hairline";
  src: url("/static/fonts/Acto-Hairline.woff2") format("woff2"),
    url("/static/fonts/Acto-Hairline.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-Thin.woff2") format("woff2"),
    url("/static/fonts/Acto-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acto";
  src: url("/static/fonts/Acto-UltraLightItalic.woff2") format("woff2"),
    url("/static/fonts/Acto-UltraLightItalic.woff") format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
} */

/* Editor Font Family for Titles */
@font-face {
  font-family: "Editor";
  src: url("/static/fonts/Editor-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Editor";
  src: url("/static/fonts/Editor-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Editor";
  src: url("/static/fonts/Editor-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  overflow: hidden;
  height: 100vh;
}

main {
  width: 100vw;
  min-height: 100vh;
}

.header-foto {
  width: 100vw;
  height: 565px;
  position: relative;
  transition: all 0.5s ease;
}
.header-foto .img-fundo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-foto .grad-header {
  background: linear-gradient(0deg, rgb(23, 36, 61) 0%, rgba(23, 36, 61, 0) 100%);
  width: 100vw;
  height: 190px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.header-foto .barra-header {
  width: 100vw;
  padding: 0 2rem;
  position: absolute;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html body.access .conteudo {
  height: 860px;
}

html body.access .header-foto {
  height: 860px;
}

.conteudo {
  width: 100vw;
  height: 1150px;
  overflow-y: scroll;
  padding: 2rem;
  margin-top: 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: all 0.5s ease;
  overflow-x: hidden;
}
.conteudo::-webkit-scrollbar {
  display: none;
}
.conteudo.acessibilidade {
  margin-top: 20rem;
  height: calc(1150px - 20rem);
}

.menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr 2fr;
  gap: 1.5rem;
  height: 100%;
}

.foto-link {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}
.foto-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.foto-link .foto-link-text {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: white;
  z-index: 3;
  text-align: right;
  font-size: 32px;
  font-weight: 600;
}
.foto-link .filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.foto-link .filter.municipio {
  background: linear-gradient(135deg, rgba(19, 26, 40, 0) 0%, #131a28 100%);
}
.foto-link .filter.ficar {
  background: linear-gradient(135deg, rgba(217, 198, 158, 0) 0%, #d9c69e 100%);
}
.foto-link .filter.comer {
  background: linear-gradient(135deg, rgba(204, 50, 99, 0) 0%, #cc3263 100%);
}
.foto-link .filter.visitar {
  background: linear-gradient(135deg, rgba(0, 96, 153, 0) 0%, #006099 100%);
}
.foto-link .filter.comprar {
  background: linear-gradient(135deg, rgba(140, 142, 136, 0) 0%, #8c8e88 100%);
}
.foto-link .filter.agenda {
  background: linear-gradient(135deg, rgba(255, 205, 2, 0) 0%, #ffcd02 100%);
}
.foto-link .filter.noticias {
  background: linear-gradient(135deg, rgba(49, 143, 64, 0) 0%, #318f40 100%);
}
.foto-link:hover {
  transform: scale(0.95);
}
.foto-link:nth-child(1) {
  grid-column: 1/5;
  grid-row: 1/2;
}
.foto-link.link-roteiros {
  grid-column: 2/4;
  background-color: #f28a04;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foto-link.link-roteiros img {
  width: auto;
  height: auto;
  object-fit: none;
}

/* Main Footer Styling */
.main-footer {
  width: 100vw;
  padding: 20px 40px;
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
  backdrop-filter: blur(5px);
}

/* Footer Sections Layout */
.footer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.footer-left {
  justify-content: flex-start;
}

.footer-center {
  justify-content: center;
}

.footer-right {
  justify-content: flex-end;
}

/* Unified Language Toggle Styling */
.unified-language-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.unified-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  background: transparent;
  border: none;
  flex: 1;
  min-width: 60px;
}

.unified-lang-btn img {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

/* Removed text styling - icon only */

.unified-lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.unified-lang-btn.active {
  background: rgba(34, 197, 94, 0.3);
  box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.2);
}

.lang-separator {
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.unified-language-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Selfie Button Styling (Large Circular) */
.selfie-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  width: 100px;
  height: 100px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.selfie-btn img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

/* Removed text styling - icon only */

.selfie-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.selfie-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Unified Accessibility Toggle Styling */
.unified-accessibility-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.unified-accessibility-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  transition: all 0.3s ease;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  flex: 1;
  min-width: 70px;
}

.unified-accessibility-btn img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.unified-accessibility-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.unified-accessibility-btn.active {
  background: rgba(34, 197, 94, 0.3);
  box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.2);
}

.accessibility-separator {
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.unified-accessibility-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}



/* Wheelchair Accessibility Mode - content / sidebar only.
   The home mosaic is handled in lagoa-theme.css: this rule used to set
   top:28vh on every .bento-container, which dropped the interlocking
   grid behind the footer without compressing the tiles. */
body.accessibility-mode .content-panel {
  top: calc(28vh + 240px) !important;
  height: calc(70vh - 240px - 100px) !important;
}

body.accessibility-mode .bento-container.sidebar-mode {
  top: calc(28vh + 240px) !important;
  height: calc(70vh - 240px - 100px) !important;
}

/* Ensure footer stays above content panel in accessibility mode */
body.accessibility-mode .main-footer {
  z-index: 100 !important;
}

/* High Contrast Mode Styles */
body.high-contrast-mode {
  filter: contrast(1.2) brightness(1.1);
}

body.high-contrast-mode * {
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

body.high-contrast-mode .bento-item {
  border: 3px solid #fbbf24 !important;
}

body.high-contrast-mode .selfie-btn,
body.high-contrast-mode .unified-lang-btn,
body.high-contrast-mode .unified-accessibility-btn {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5) !important;
}

body.high-contrast-mode .sidebar-item {
  border: 2px solid #fbbf24 !important;
}

/* Municipio High Contrast Mode Styles */
body.high-contrast-mode .municipio-card {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5) !important;
}

body.high-contrast-mode .municipio-contact-card {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5) !important;
}

body.high-contrast-mode .municipio-card-title {
  color: #000 !important;
}

body.high-contrast-mode .municipio-contacts-title {
  color: #000 !important;
}

body.high-contrast-mode .sidebar-content.municipio .back-button {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5) !important;
}

body.high-contrast-mode .municipio-contact-label {
  color: #000 !important;
}

body.high-contrast-mode .municipio-contact-value {
  color: #333 !important;
}

body.high-contrast-mode .municipio-contact-title {
  color: #000 !important;
}

body.high-contrast-mode .sidebar-title.municipio {
  color: #000 !important;
}

body.high-contrast-mode .municipio-contacts-carousel .owl-nav button {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5) !important;
}

body.high-contrast-mode .municipio-contacts-carousel .owl-dots .owl-dot {
  border: 2px solid #fbbf24 !important;
  background: #000 !important;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5) !important;
}

body.high-contrast-mode .municipio-contacts-carousel .owl-dots .owl-dot.active {
  background: #000 !important;
  border: 2px solid #fbbf24 !important;
}

/* Ficar High Contrast Mode Styles */
body.high-contrast-mode .sidebar-content.ficar .back-button {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5) !important;
}

body.high-contrast-mode .sidebar-title.ficar {
  color: #000 !important;
}


  



.btn {
  width: 85px;
  height: 85px;
  background-color: #047bc1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in-out;
  border-radius: 1rem;
}
.btn:hover {
  background-color: #318f40;
  transform: scale(0.95);
}

.botoes {
  display: flex;
  gap: 2rem;
}

.grid-col-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.grid-col-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.grid-col-1 .foto-link-grelha, .grid-col-1 .foto-link-grelha-item {
  height: 120px;
}

/* ==========================================
   SIDEBAR CONTENT STYLES
   Modern card-based layout for sidebar content
========================================== */

/* Sidebar Content Styles */
.sidebar-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px 20px 0px; /* Add right padding for scrollbar spacing */
  background: white;
  border-bottom: 2px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}

.sidebar-title {
  color: #17243d;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  flex: 1; /* Allow title to use available space */
  margin-right: 20px; /* Add space between title and buttons */
  line-height: 1.2; /* Better line height for long titles */
  word-wrap: break-word; /* Allow long words to wrap */
}

/* Section-specific title colors - darker versions */
.sidebar-title.noticias { color: #15803d; margin-left: 0;}
.sidebar-title.municipio { color: #a13854; margin-left: 0;}
.sidebar-title.agenda { color: #d97706; margin-left: 0;}
.sidebar-title.ficar { color: #9333ea; margin-left: 0;}
.sidebar-title.comer { color: #b91c1c; margin-left: 0;}
.sidebar-title.visitar { color: #0e7490; margin-left: 0;}
.sidebar-title.fazer { color: #3E3934; margin-left: 0;}
.sidebar-title.roteiros { color: #c2410c; margin-left: 0; }

/* Section-specific back button colors */
.sidebar-content.municipio .back-button {
  background: #a13854;
  color: white;
}

.sidebar-content.municipio .back-button:hover {
  background: #8b2f47;
}

.sidebar-content.ficar .back-button {
  background: #9333ea;
  color: white;
}

.sidebar-content.ficar .back-button:hover {
  background: #7c3aed;
}

/* Navigation Container */
.sidebar-title-container {
  flex: 1;
  margin-left: 0;
}

.sidebar-breadcrumb {
  font-size: 14px;
  color: #666;
  margin: 4px 0 0 0;
  font-weight: 400;
}

.sidebar-nav-buttons {
  display: flex;
  gap: 10px;
  margin-right: 0;
  flex-shrink: 0; /* Prevent entire button container from shrinking */
  align-items: center;
}

/* Back Button Styling */
.back-button, .home-button {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: #17243d;
  flex-shrink: 0; /* Prevent buttons from getting squashed when title is long */
}

.back-button svg, .home-button svg {
  color: white;
  width: 28px;
  height: 28px;
}

/* Section-specific button colors */
.sidebar-content.noticias .back-button, .sidebar-content.noticias .home-button { background: #15803d; }
.sidebar-content.municipio .back-button, .sidebar-content.municipio .home-button { background: #a13854; }
.sidebar-content.agenda .back-button, .sidebar-content.agenda .home-button { background: #d97706; }
.sidebar-content.ficar .back-button, .sidebar-content.ficar .home-button { background: #9333ea; }
.sidebar-content.comer .back-button, .sidebar-content.comer .home-button { background: #b91c1c; }
.sidebar-content.visitar .back-button, .sidebar-content.visitar .home-button { background: #0e7490; }
.sidebar-content.fazer .back-button, .sidebar-content.fazer .home-button { background: #3E3934; }
.sidebar-content.roteiros .back-button, .sidebar-content.roteiros .home-button { background: #c2410c; }

.back-button:hover, .home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Item Page Styling */
.sidebar-content.item-page .sidebar-content-area {
  padding: 0 40px 0 0; /* Add right padding for scrollbar spacing */
  overflow-y: auto;
  flex: 1;
}

.item-details {
  max-width: 900px;
  margin: 0 auto;
}

.item-image {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.item-section {
  background: white;
  border-radius: 12px;
  padding: 24px 40px 24px 24px; /* Add extra right padding for scrollbar spacing */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.item-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}

.item-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.item-text p {
  margin-bottom: 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  font-size: 16px;
  color: #555;
}

.contact-item strong {
  color: #333;
  margin-right: 8px;
}

/* Header buttons container */
.header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  /* Right spacing handled by parent .sidebar-header */
}

/* Home Button Styling */
.home-button {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: #17243d;
}

.home-button svg {
  color: white;
  width: 28px;
  height: 28px;
}

/* Section-specific home button colors */
.sidebar-content.noticias .home-button { background: #15803d; }
.sidebar-content.municipio .home-button { background: #a13854; }
.sidebar-content.agenda .home-button { background: #d97706; }
.sidebar-content.ficar .home-button { background: #9333ea; }
.sidebar-content.comer .home-button { background: #b91c1c; }
.sidebar-content.visitar .home-button { background: #0e7490; }
.sidebar-content.fazer .home-button { background: #3E3934; }
.sidebar-content.roteiros .home-button { background: #c2410c; }

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Sidebar grid layout */
.sidebar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 15px;
  column-gap: 20px;
  width: 100%;
  padding: 60px 40px 60px 0; /* Add right padding for scrollbar spacing */
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-grid::-webkit-scrollbar {
  display: none;
}

/* Force 3 columns for news at all screen sizes */
.sidebar-content.noticias .sidebar-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}



/* Simplified sidebar card design - no overflow issues */
.sidebar-content .sidebar-grid .sidebar-item {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  background: white !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  aspect-ratio: 1/1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.sidebar-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Very compact image container - like noticias */
.sidebar-item-image {
  width: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.sidebar-item-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.3s ease;
  position: static !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.sidebar-item:hover .sidebar-item-image img {
  transform: scale(1.05);
}

/* Very compact content container - like noticias */
.sidebar-content .sidebar-item-content {
  padding: 8px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Very compact sidebar text styling - like noticias */
.sidebar-content h5.sidebar-item-text {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #444;
  margin: 0 !important;
  line-height: 1.2 !important;
  border-radius: 8px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.sidebar-item-date {
  padding: 2px 6px;
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 500;
  background: #f3f4f6;
  border-radius: 3px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Override any conflicting old styles */
.sidebar-content .foto-link-grelha-item,
.sidebar-content .sidebar-item.foto-link-grelha-item {
  height: auto !important;
  width: 100% !important;
  border-radius: 12px !important;
}

.sidebar-content .foto-link-grelha-item img,
.sidebar-content .sidebar-item.foto-link-grelha-item img {
  height: 100% !important;
  border-radius: 12px 12px 0 0 !important;
  margin-bottom: 0 !important;
  position: static !important;
}

.slider {
  margin-top: 10rem;
}
.slider .slider-container {
  background-color: #d9d2c2;
  padding: 2rem;
  border-radius: 1.5rem;
  padding: 0;
}
.slider .item-slider {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
  color: #0d4f7f;
}
.slider .item-slider .slider-img {
  width: 135px;
  height: 135px;
  object-fit: cover;
  border-radius: 50%;
}
.slider .item-slider .info-contactos {
  text-align: left;
}
.slider .item-slider .info-contactos li {
  margin-bottom: 0.3rem;
}

.owl-stage {
  padding-left: 0px !important;
}

.grid-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.text-content {
  padding: 3rem;
  border-radius: 1.5rem;
  background-color: #f1ece2;
}
.text-content p {
  color: #3c434f;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-align: justify;
}

.mapa {
  width: 100%;
  height: 370px;
  border-radius: 1.5rem;
  overflow: hidden;
}

.btn-direcoes {
  width: 100%;
  padding: 1rem;
  color: white;
  font-weight: 700;
  text-align: center;
  background-color: #76b82a;
  font-size: 1.2rem;
  border-radius: 1rem;
  margin: 1rem 0 2rem;
}

.qr-container {
  background-color: #0e1627;
  padding: 1rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider.galeria {
  margin-top: 2rem;
}
.slider.galeria .galeria-container {
  background-color: transparent;
}
.slider.galeria .galeria-item {
  width: 100%;
  height: 270px;
  border-radius: 1.5rem;
  overflow: hidden;
}
.slider.galeria .galeria-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

* {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.top-header {
  width: 100vw;
  padding: 20px 40px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(0deg, rgba(23, 36, 61, 0) 0%, rgb(23, 36, 61) 100%);
  min-height: 240px;
}

.top-header .logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0;
}

.top-header .logo-header {
  height: 200px;
  width: auto;
  max-width: 300px;
  filter: brightness(0) invert(1);
}

.top-header .header-right {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px 0;
}

.top-header .hora-data {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.top-header .hora-data .hora {
  font-size: 3.5em;
  font-weight: 700;
}

.top-header .hora-data .data {
  font-size: 1.8em;
  margin-top: 5px;
}

.top-header .meteo-uv {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.top-header .meteo-uv .meteo {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.top-header .meteo-uv .meteo .meteo-ico {
  margin-right: 20px;
}
.top-header .meteo-uv .meteo .temperatura {
  font-size: 3.5em;
  font-weight: 700;
}
.top-header .meteo-uv .uv {
  color: white;
  margin-top: 20px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
}
.top-header .meteo-uv .uv .barra-uv {
  position: relative;
  width: 130px;
  height: 20px;
  border-radius: 50px;
  margin-left: 10px;
  background-color: black;
  width: 129px;
  background: linear-gradient(90deg, #3eab84 0%, #ebe53e 21.18%, #edae38 45.32%, #d96c28 62.07%, #e22828 84.24%, #8b4be2 100%);
}
.top-header .meteo-uv .uv .barra-uv .marcador {
  position: absolute;
  top: -3px;
  left: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.top-header .meteo-uv .uv .barra-uv .marcador .circle {
  width: 25px;
  height: 25px;
  border: 4px solid white;
  border-radius: 50%;
}
.top-header .meteo-uv .uv .barra-uv .marcador .valor {
  margin-top: 5px;
  font-weight: 700;
}

* {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.legenda {
  color: #006099;
  margin-bottom: 0.5rem;
  display: block;
}

.titulo-pagina {
  color: white;
  font-size: 52px;
  font-weight: 600;
  max-width: 70vw;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sub-titulo-pagina {
  color: white;
  font-size: 1.2rem;
  display: block;
}

.titulo-seccao {
  color: #047bc1;
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.titulo-slider-item {
  color: #0d4f7f;
  font-size: 24px;
  font-weight: 600;
}

.splash {
  background-color: #17243d;

  background-size: cover;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.splash .ico-touch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10rem;
}

/* ==========================================
   SIDEBAR ARTICLE LAYOUT
   Modern news article styling for sidebar content
========================================== */

/* Article content container */
.sidebar-article-content {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: white;
}

.sidebar-article-content::-webkit-scrollbar {
  display: none;
}

/* Featured image at top */
.article-featured-image {
  width: calc(100% - 40px); /* Reduce width for scrollbar spacing */
  height: 600px; /* Doubled from 300px to 600px */
  overflow: hidden;
  border-radius: 0;
  cursor: pointer; /* Indicate it's clickable */
  position: relative;
  margin-right: 40px; /* Add right margin for scrollbar spacing */
}

.article-featured-image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article content wrapper - align with image */
.article-content {
  padding: 40px 40px 40px 0px; /* Add right padding for scrollbar spacing */
  max-width: none;
}

/* Article header section */
.article-header {
  margin: 0 40px 30px 0px; /* Add right margin for scrollbar spacing */
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 25px;
}

.article-category {
  display: inline-block;
  background: #15803d;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.article-title {
  font-family: 'Editor', serif;
  font-size: 42px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  color: #6b7280;
  font-size: 16px;
}

.article-date {
  font-weight: 600;
  color: #15803d;
}

/* Agenda-specific styling */
.agenda-category {
  background: #d97706 !important;
}

.agenda-date {
  color: #d97706 !important;
}

/* Event details section */
.event-details {
  background: #fef3c7;
  border-left: 4px solid #d97706;
  padding: 20px;
  margin: 25px 0;
  border-radius: 8px;
}

.event-detail-item {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.event-detail-item:last-child {
  margin-bottom: 0;
}

.event-detail-item strong {
  color: #d97706;
  font-weight: 600;
}

.article-author {
  font-style: italic;
}

/* Article text content */
.article-text {
  font-size: 18px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0px 40px 0px;
}

.article-text p {
  margin-bottom: 20px;
}

.article-text h2, .article-text h3 {
  color: #15803d;
  margin: 30px 0 15px 0;
  font-family: 'Editor', serif;
}

.article-text h2 {
  font-size: 28px;
  font-weight: 600;
}

.article-text h3 {
  font-size: 24px;
  font-weight: 500;
}

.article-text ul, .article-text ol {
  margin: 20px 0;
  padding-left: 30px;
}

.article-text li {
  margin-bottom: 8px;
}

.article-text blockquote {
  border-left: 4px solid #15803d;
  padding-left: 20px;
  margin: 25px 0;
  font-style: italic;
  color: #6b7280;
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
}

/* Gallery section */
.article-gallery {
  margin: 40px 30px 0 30px; /* Add side margins for alignment */
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.gallery-title {
  font-family: 'Editor', serif;
  font-size: 28px;
  font-weight: 600;
  color: #15803d;
  margin-bottom: 25px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}



/* ======================================
   IMAGE OVERLAY (MOBILE-STYLE VIEWER)
   ====================================== */

/* Overlay container covering entire viewport */
.image-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.95) !important;
  z-index: 999999999 !important; /* Dramatically higher than any other element */
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.image-overlay.active {
  display: flex !important;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Overlay content container */
.overlay-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 50px 120px 50px; /* Extra bottom padding for close button below image */
}

/* Image inside overlay - full resolution display */
.overlay-content img {
  max-width: calc(100% - 100px); /* Account for side padding */
  max-height: calc(100% - 170px); /* Account for top padding (50px) + bottom padding (120px) */
  width: auto;
  height: auto;
  object-fit: contain; /* Shows full image without cropping */
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Close button - centered below the image for optimal touchscreen access */
.overlay-close {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #c2410c; /* Roteiros orange color */
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 9999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.overlay-close:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.overlay-close svg {
  fill: white;
  width: 28px;
  height: 28px;
}

/* ==========================================
   MUNICIPIO PAGE STYLES
   Enhanced municipio buttons and contacts
========================================== */

/* ==========================================
   MUNICIPIO PAGE CLEAN STYLES
   Organized and conflict-free styling
========================================== */

/* Municipio main grid - fits within sidebar-content */
.municipio-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 20px 40px 20px 0; /* Add right padding for scrollbar spacing */
  margin-bottom: 20px;
}

/* Municipio card styling - compact for sidebar */
.municipio-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.municipio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.municipio-card-image {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.municipio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.municipio-card:hover .municipio-card-image img {
  transform: scale(1.05);
}

/* Specific overlays for each card type */
.presidente-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(161, 56, 84, 0.3) 0%, rgba(161, 56, 84, 0.7) 100%);
}

.freguesias-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.3) 0%, rgba(25, 118, 210, 0.7) 100%);
}

.editais-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(76, 175, 80, 0.7) 100%);
}

.documentos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.3) 0%, rgba(255, 152, 0, 0.7) 100%);
}

.municipio-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.municipio-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #17243d;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Municipio contacts section - fits within sidebar */
.municipio-contacts {
  margin-top: 20px;
  margin-bottom: 30px;
  padding-right: 40px; /* Add right padding for scrollbar spacing */
}

.municipio-contacts-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #17243d;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.owl-carousel .owl-stage-outer {
  height: 240px;
}


.municipio-contacts-carousel-container {
  position: relative;
}

/* Compact Contact card styling for sidebar */
.municipio-contact-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 0 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 230px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.municipio-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #a13854 0%, #d63384 50%, #4c7ff0 100%);
}

.municipio-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: #a13854;
}

.municipio-contact-header {
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 1px solid #f8f9fa;
  padding-bottom: 10px;
}

.municipio-contact-title {
  font-size: 1rem;
  font-weight: 700;
  color: #17243d;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.municipio-contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.municipio-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.municipio-contact-label {
  font-weight: 700;
  color: #a13854;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
}

.municipio-contact-value {
  color: #495057;
  line-height: 1.3;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Owl carousel customization for municipio */
.municipio-contacts-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.municipio-contacts-carousel .owl-nav button {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #a13854;
  color: white;
  border: none;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(161, 56, 84, 0.3);
  pointer-events: all;
}

.municipio-contacts-carousel .owl-nav .owl-prev {
  left: -25px;
}

.municipio-contacts-carousel .owl-nav .owl-next {
  right: -25px;
}

.municipio-contacts-carousel .owl-nav button:hover {
  background: #d63384;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(161, 56, 84, 0.4);
}

/* Fix overlapping dots - ensure only one set of dots with consistent styling */
.municipio-contacts-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.municipio-contacts-carousel .owl-dots .owl-dot {
  display: inline-block;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: #dee2e6 !important;
  margin: 0 6px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  outline: none !important;
}

.municipio-contacts-carousel .owl-dots .owl-dot.active,
.municipio-contacts-carousel .owl-dots .owl-dot:hover {
  background: #a13854 !important;
  transform: scale(1.3) !important;
}

/* Hide any duplicate or conflicting carousel dots */
.municipio-contacts .owl-dots:not(.municipio-contacts-carousel .owl-dots) {
  display: none !important;
}

/* Override any other owl carousel dot styles in municipio section */
.municipio-contacts .owl-carousel .owl-dots .owl-dot span {
  display: none !important;
}

/* Carousel navigation styling */
.municipio-contacts-carousel .owl-nav {
  margin-top: 1.5rem;
  text-align: center;
}

.municipio-contacts-carousel .owl-nav button {
  background: #a13854 !important;
  color: white !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 8px !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.municipio-contacts-carousel .owl-nav button:hover {
  background: #17243d !important;
  transform: scale(1.1);
}

.municipio-contacts-carousel .owl-dots {
  text-align: center;
  margin-top: 1rem;
}

.municipio-contacts-carousel .owl-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #dee2e6 !important;
  margin: 0 4px !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.municipio-contacts-carousel .owl-dot.active {
  background: #a13854 !important;
  transform: scale(1.2);
}

/* Roteiro-specific styles */
.route-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-item {
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.route-item strong {
  color: #c2410c;
  min-width: 120px;
  flex-shrink: 0;
}

.booking-info {
  background: #fef7f0 !important;
  border-left: 4px solid #c2410c;
}

.booking-item {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
}

.booking-item strong {
  color: #c2410c;
  display: block;
  margin-bottom: 4px;
}

.route-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.route-point {
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px;
  border-left: 4px solid #c2410c;
}

.route-point h4 {
  font-size: 18px;
  font-weight: 600;
  color: #c2410c;
  margin: 0 0 8px 0;
}

.route-point p {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

.resource-item {
  margin-bottom: 12px;
}

.resource-link {
  display: inline-block;
  padding: 12px 20px;
  background: #c2410c;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.resource-link:hover {
  background: #a3370b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

.resource-link strong {
  color: white;
}

/* Roteiro Video Styles */
.video-full-width {
  width: 100%;
  margin: 0;
  background: #000;
}

.video-full-width iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.route-video-container {
  margin: 20px 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.route-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Touch optimization for kiosk video playback */
.video-full-width iframe,
.route-video-container iframe {
  /* Allow iframe interaction for video playback */
  pointer-events: auto;
  
  /* Enable smooth rendering */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  
  /* Prevent selection and context menus */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}





/* Make sure video container doesn't block touch on play button */
.kiosk-video-container {
  position: relative;
  width: 100%;
  margin: 20px 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  
  /* Ensure touch events pass through to iframe */
  touch-action: auto;
  pointer-events: none; /* Block container events, allow iframe events */
}

.kiosk-video-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;

  /* Critical: Enable all touch and pointer events on iframe */
  pointer-events: auto !important;
  touch-action: auto !important;
  
  /* Prevent text selection but allow video controls */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  
  /* Disable callouts but preserve functionality */
  -webkit-touch-callout: none;
  
  /* Hardware acceleration for smooth performance */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  
  /* Ensure iframe is fully interactive */
  position: relative;
  z-index: 1;
}

/* Legacy video containers - keep for backward compatibility */
.video-full-width,
.route-video-container {
  position: relative;
}

.video-full-width {
  width: 100%;
  margin: 0;
  background: #000;
}

.route-video-container {
  margin: 20px 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

/* Roteiro Map Styles */
.route-map-container {
  margin: 0;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  padding: 0;
  position: relative; /* Ensure proper positioning for toggle */
}

/* Maximized map styles */
.route-map-container.maximized {
  position: fixed !important;
  top: 40px !important;
  left: 40px !important;
  width: calc(100vw - 80px) !important;
  height: calc(100vh - 160px) !important;
  z-index: 1000 !important;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Map with QR Code Layout */
.map-with-qr-container {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.map-section {
  flex: 7;
  position: relative;
}

/* Map section without padding for roteiro pages */
.item-section-map {
  margin: 20px 0;
}

.map-section .route-map-container,
.map-section .mapa {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.qr-content {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.qr-content svg {
  background-color: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.qr-content p {
  color: #555;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0;
}

/* QR placeholder when data is unavailable */
.qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
}

.qr-placeholder p {
  color: #888 !important;
  font-style: italic;
  text-align: center;
}

/* Hide Google Maps external links and UI elements */
.route-map-container a[href^="http://maps.google.com/maps"],
.route-map-container a[href^="https://maps.google.com/maps"],
.route-map-container a[href^="https://www.google.com/maps"],
.map-section a[href^="http://maps.google.com/maps"],
.map-section a[href^="https://maps.google.com/maps"],
.map-section a[href^="https://www.google.com/maps"] {
  display: none !important;
  pointer-events: none !important;
}

/* Hide Google branding and attribution links */
.route-map-container .gmnoprint a, 
.route-map-container .gmnoprint span, 
.route-map-container .gm-style-cc,
.route-map-container .gm-style-cc a,
.map-section .gmnoprint a, 
.map-section .gmnoprint span, 
.map-section .gm-style-cc,
.map-section .gm-style-cc a {
  display: none !important;
  pointer-events: none !important;
}

/* Map controls positioning for QR layout */
.map-with-qr-container .toggle_wrapper {
  position: absolute;
  z-index: 99;
  top: 10px;
  right: 10px;
}

.map-with-qr-container #toggle_map_size {
  background-color: #2E2A2B;
  transition: all 0.4s;
  display: inline-block;
  width: 50px;
  padding: 7px;
  border-radius: 9px;
  pointer-events: all;
  border: none;
  cursor: pointer;
}

.map-with-qr-container #toggle_map_size:hover {
  background-color: #3a3a3a;
}

/* Get directions button */
.btn-direcoes {
  background: #c2410c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

.btn-direcoes:hover {
  background: #ea580c;
}

/* Clean scrollbar at edge - no global padding */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.5);
}

/* Fixed resolution 1080x1920 - QR layout always horizontal */

/* Roteiro Points Styles */
.route-points-section {
  margin: 20px 0;
}

.route-points-toggle {
  background: #c2410c;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.route-points-toggle:hover {
  background: #ea580c;
}

.route-points-content {
  display: none;
  padding: 20px;
  background: #fef7f0;
  border-radius: 0 0 6px 6px;
  border: 1px solid #c2410c;
  border-top: none;
}

.route-points-content.expanded {
  display: block;
}

.route-point-number {
  display: inline-block;
  background: #c2410c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 12px;
  font-weight: bold;
  margin-right: 10px;
}

.route-point-name {
  font-weight: 600;
  color: #c2410c;
  font-size: 16px;
}

.route-point-description {
  margin-top: 8px;
  color: #555;
  line-height: 1.5;
}

/* Roteiro Carousel Styles */
.route-carousel-section {
  margin: 30px 0;
}

.route-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.route-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: #c2410c #f1f1f1;
}

.route-carousel::-webkit-scrollbar {
  height: 8px;
}

.route-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.route-carousel::-webkit-scrollbar-thumb {
  background: #c2410c;
  border-radius: 4px;
}

.route-carousel-item {
  flex: 0 0 250px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.route-carousel-item:hover {
  transform: scale(1.05);
}

.route-carousel-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Image Overlay Styles (for roteiro gallery) */
.image-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.overlay-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.overlay-close {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #c2410c; /* Roteiros orange color */
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 9999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.overlay-close:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.overlay-close svg {
  fill: white;
  width: 28px;
  height: 28px;
}

.overlay-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.overlay-prev, .overlay-next {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.overlay-prev:hover, .overlay-next:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.overlay-prev svg, .overlay-next svg {
  fill: white;
  width: 20px;
  height: 20px;
}

#overlay-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.overlay-info {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 20px;
}

/* External link blocking for kiosk mode */
a[href^="http"]:not([href*="localhost"]):not([href*="127.0.0.1"]) {
  pointer-events: none !important;
  cursor: default !important;
  color: inherit !important;
  text-decoration: none !important;
}

.external-link-blocked {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Video and UI error messages */
.video-error-message {
  background: #f0f0f0;
  padding: 40px;
  text-align: center;
}

/* Chevron icon transitions */
.chevron-icon {
  transition: transform 0.3s ease;
}

/*# sourceMappingURL=style.css.map */

.sidebar-title-container .sidebar-title {
  margin-left: 0; /* Remove margin since container now has the spacing */
}

/* ==============================================
   SECTION-BASED IMAGE PLACEHOLDER SYSTEM
   ============================================== */

/* Base placeholder styling - matches left sidebar button appearance */
.placeholder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 1;
}

.placeholder-icon {
  width: 60px;
  height: 60px;
  z-index: 2;
  position: relative;
  filter: brightness(0) saturate(100%) invert(100%);
  opacity: 0.9;
}

/* Section-specific placeholder styles matching left sidebar colors */

/* ONDE FICAR - Purple (#9333ea) */
.placeholder-ficar {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
}

.placeholder-ficar .placeholder-icon {
  background-image: url('/static/img/icones/btn-ficar.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ONDE COMER E BEBER - Red (#b91c1c) */
.placeholder-comer {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
}

.placeholder-comer .placeholder-icon {
  background-image: url('/static/img/icones/btn-comer.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* O QUE VISITAR - Teal (#0e7490) */
.placeholder-visitar {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
}

.placeholder-visitar .placeholder-icon {
  background-image: url('/static/img/icones/btn-visitar.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ROTEIROS - Orange (#c2410c) */
.placeholder-roteiros {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
}

.placeholder-roteiros .placeholder-icon {
  background-image: url('/static/img/icones/mapa.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* NOTÍCIAS - Green (using existing bento color) */
.placeholder-noticias {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.placeholder-noticias .placeholder-icon {
  background-image: url('/static/img/icones/btn-noticias.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* AGENDA/EVENTOS - Orange/Calendar */
.placeholder-agenda {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

.placeholder-agenda .placeholder-icon {
  background-image: url('/static/img/icones/btn-eventos.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* MUNICÍPIO - Burgundy/Municipal */
.placeholder-municipio {
  background: linear-gradient(135deg, #a13854 0%, #be4067 100%);
}

.placeholder-municipio .placeholder-icon {
  background-image: url('/static/img/icones/btn-municipe.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.placeholder-editais {
  background: linear-gradient(135deg, #a13854 0%, #be4067 100%);
}

.placeholder-editais .placeholder-icon {
  background-image: url('/static/img/icones/btn-editais.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* FAZER (O Que Fazer: Animação Turística + Desporto) */
.placeholder-fazer {
  background: linear-gradient(135deg, #3E3934 0%, #221f1c 100%);
}

.placeholder-fazer .placeholder-icon {
  background-image: url('/static/img/icones/btn-fazer.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* EDITAL HEADER IMPROVEMENTS */
.edital-header-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edital-date {
  color: #888;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.3px;
}

/* EDITAL CONTENT WITH BETTER SPACING */
.edital-content {
  padding: 20px 40px 40px 15px !important; /* Much less left padding */
}

/* EDITAL DOCUMENTS STYLING - CLEANER DESIGN */
.edital-documents {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edital-document {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: all 0.2s ease;
}

.edital-document:hover {
  box-shadow: 0 4px 20px rgba(161, 56, 84, 0.15);
  border-color: rgba(161, 56, 84, 0.3);
  transform: translateY(-2px);
}

.pdf-container {
  position: relative;
  background: #f8f9fa;
}

.pdf-container object,
.pdf-container embed,
.pdf-container iframe {
  border: none;
  display: block;
  width: 100%;
  min-height: 600px;
}

/* PDF Preview Button Styling - Cleaner Design */
.pdf-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.pdf-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a13854 0%, #be4067 100%);
  border-radius: 8px;
}

.pdf-icon svg {
  filter: brightness(0) invert(1);
}

.pdf-info {
  flex: 1;
}

.pdf-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.pdf-type {
  font-size: 13px;
  color: #888;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.pdf-button {
  background: linear-gradient(135deg, #a13854 0%, #be4067 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.pdf-button:hover {
  background: linear-gradient(135deg, #8f2f47 0%, #a83659 100%);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

/* No Documents State */
.no-documents {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #666;
}

.no-documents-icon {
  margin-bottom: 20px;
  opacity: 0.6;
}

.no-documents p {
  font-size: 16px;
  margin: 0;
  max-width: 300px;
  line-height: 1.5;
}

/* PDF.js Viewer Styling - Vertical Scrolling Layout */
.pdf-viewer-container {
  background: #ffffff;
  width: 100%;
  height: 1250px;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.pdf-pages-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

.pdf-page-wrapper {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.pdf-page-wrapper canvas {
  display: block;
  width: 100%;
  height: auto;
}

/* Remove padding and overflow from content-panel-inner for PDF viewer */
.content-panel-inner.pdf-viewer-mode {
  padding: 0 !important;
  overflow: hidden !important;
  height: 1250px;
}

/* Ensure parent content panel doesn't scroll when PDF viewer is active */
.content-panel:has(.pdf-viewer-mode) {
  overflow: hidden;
}

.content-panel:has(.pdf-viewer-container) {
  overflow: hidden;
}

/* Alternative selector for broader browser support */
.sidebar-content:has(.pdf-viewer-container) {
  overflow: hidden;
  height: 100vh;
}

/* PDF viewer active state - no scrolling on parent elements */
.content-panel.pdf-viewer-active {
  overflow: hidden !important;
}

.content-panel.pdf-viewer-active .sidebar-content {
  overflow: hidden !important;
  height: 100vh;
}

/* Vertical scrolling PDF styles only */

.pdf-loading {
  text-align: center;
  color: #666;
  padding: 60px 20px;
  width: 100%;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e9ecef;
  border-top: 4px solid #be4067;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pdf-loading p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.pdf-error {
  text-align: center;
  color: #666;
  padding: 40px;
}

.pdf-error svg {
  margin-bottom: 20px;
}

.pdf-error p {
  margin: 0 0 25px 0;
  font-size: 16px;
  font-weight: 500;
}

.pdf-download-btn {
  background: linear-gradient(135deg, #a13854 0%, #be4067 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.pdf-download-btn:hover {
  background: linear-gradient(135deg, #8f2f47 0%, #a83659 100%);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(161, 56, 84, 0.3);
}

/* PDF viewer is now fully responsive with vertical scrolling */

.no-documents {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

/* Responsive icon sizing for different container sizes */

/* Small grid items (sidebar) */
.sidebar-item-image .placeholder-icon {
  width: 45px;
  height: 45px;
}

/* Medium grid items (category grids) */
.grid-item .placeholder-icon,
.category-item .placeholder-icon {
  width: 60px;
  height: 60px;
}

/* Large featured images */
.article-featured-image .placeholder-icon {
  width: 80px;
  height: 80px;
}

/* Extra large containers */
.hero-image .placeholder-icon,
.banner-image .placeholder-icon {
  width: 100px;
  height: 100px;
}

/* Gallery thumbnails */
.gallery-item .placeholder-icon {
  width: 35px;
  height: 35px;
}

/* Ensure placeholders work in all image containers */
.sidebar-item-image,
.article-featured-image,
.gallery-item,
.grid-item,
.category-item,
.hero-image,
.banner-image {
  position: relative;
}

/* Override any conflicting styles for placeholder containers */
.placeholder-image img {
  display: none; /* Hide any img tags when using CSS placeholder */
}

.contact-item {
  padding: 15px;
  background: white;
  border-radius: 6px;
  border-left: 3px solid #71717a;
}

.contact-link {
  color: #71717a;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  color: #52525b;
  text-decoration: underline;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-phone {
  background: #16a34a;
  color: white;
}

.btn-phone:hover {
  background: #15803d;
}

.btn-email {
  background: #2563eb;
  color: white;
}

.btn-email:hover {
  background: #1d4ed8;
}

.related-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.related-item {
  display: block;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.related-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item h5 {
  padding: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.related-price {
  padding: 0 10px 10px 10px;
  margin: 0;
  font-size: 12px;
  color: #71717a;
  font-weight: 500;
}

/* Map section styling for seller pages */
.map-section {
  margin: 30px 0;
}

.map-section h3 {
  margin-bottom: 20px;
}

.sidebar-item-seller {
  color: #6b7280;
  font-size: 13px;
  margin: 5px 0;
}

.sidebar-item-price {
  color: #71717a;
  font-weight: 600;
  font-size: 13px;
  margin: 5px 0 0 0;
}

.detail-label {
  font-weight: 500;
  color: #64748b;
  font-size: 14px;
}

.detail-value {
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
  text-align: right;
}

.price-item .detail-value {
  color: #be4067;
  font-size: 16px;
}

.description-title {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.visit-seller-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #be4067;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 15px;
  border: 1px solid #be4067;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.visit-seller-btn:hover {
  background: #be4067;
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
  text-decoration: none;
  padding: 10px 0 10px 10px;
  transition: color 0.2s ease;
}

.contact-item:hover {
  color: #be4067;
}

.contact-item svg {
  color: #94a3b8;
  margin-left: 12px; /* Add left padding to icons */
}

.contact-item:hover svg {
  color: #be4067;
}

/* Contact CTA Section */
.contact-cta {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #f1f5f9;
}

.cta-content {
  margin-bottom: 20px;
}

.cta-content h5 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-content p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-btn.primary {
  background: #be4067;
  color: white;
}

.cta-btn.primary:hover {
  background: #a73659;
  transform: translateY(-1px);
}

.cta-btn.secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.cta-btn.secondary:hover {
  background: #f1f5f9;
  color: #475569;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e293b;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-title svg {
  color: #be4067;
}

.related-placeholder {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.related-price {
  color: #be4067;
  font-weight: 600;
  font-size: 13px;
  margin: 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
}

.stat-item svg {
  color: #be4067;
}

.contact-header {
  margin-bottom: 20px;
}

.contact-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-weight: 600;
  font-size: 16px;
}

.contact-badge svg {
  color: #be4067;
}

.contact-info-grid {
  display: grid;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #f1f5f9;
}

.contact-info-item:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-icon svg {
  color: #be4067;
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: #1e293b;
  font-weight: 500;
  font-size: 14px;
}

.seller-description-section,
.opening-hours-section {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #f1f5f9;
}

.description-title,
.hours-title {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.seller-description,
.opening-hours {
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}

.seller-description p,
.opening-hours p {
  margin-bottom: 15px;
}

.seller-description p:last-child,
.opening-hours p:last-child {
  margin-bottom: 0;
}

.cta-header {
  margin-bottom: 20px;
}

.cta-header h4 {
  color: #1e293b;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.cta-header p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn.tertiary {
  background: #64748b;
  color: white;
}

.cta-btn.tertiary:hover {
  background: #475569;
}

/* Fixed Resolution: 1080x1920 - No responsive design needed */

/* ===================================
   CAMERA OVERLAY ANIMATION SYSTEM
   =================================== */

.camera-overlay {
  position: fixed;
  top: 100vh; /* Start below screen */
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: #000;
  overflow: hidden;
}

/* New capture area with polaroid portrait ratio */
.capture-area {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1080px;
  height: 1327px;
  background: transparent;
  z-index: 1;
}

/* Camera overlay inherits all existing camera styles */
.camera-overlay .camera {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: transparent;
  overflow: hidden;
}

.camera-overlay .video-stream {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(-1); /* Mirror the video like a selfie camera */
  /* Maintain video aspect ratio - let it be larger than container and crop */
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center; /* Ensure we always use the center of the video */
  z-index: 1;
}

.camera-overlay .tira-foto {
  width: 90px;
  height: 90px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  position: fixed;
  z-index: 2;
  bottom: 120px;
  left: 50%;
  margin-left: -45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.camera-overlay .tira-foto .circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  border-radius: 50%;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.camera-overlay .tira-foto:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.camera-overlay .tira-foto:active .circle {
  transform: scale(0.95);
  background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
}

.camera-overlay .escolha-stickers {
  position: fixed;
  z-index: 4;
  bottom: 240px;
  left: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 25px;
  transform: translateX(-50%);
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.camera-overlay .escolha-stickers button {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.camera-overlay .escolha-stickers button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.camera-overlay .escolha-stickers button img {
  width: 20px;
  height: 20px;
  filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.camera-overlay .escolha-stickers .sticker-escolhido {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  min-width: 60px;
}

.camera-overlay .escolha-stickers .sticker-escolhido img {
  width: 100%;
  max-height: 40px;
  object-fit: contain;
  max-width: 45px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Show sticker count indicator */
.camera-overlay .escolha-stickers::after {
  content: attr(data-sticker-info);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.camera-overlay .back-home {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  padding: 0; /* Remove padding to center icon properly */
  border-radius: 25px;
  transition: all 0.3s ease;
  position: fixed;
  bottom: 80px; /* Moved further from bottom */
  right: 80px;  /* Moved further from right */
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-overlay .back-home:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.camera-overlay .back-home img {
  width: 28px;  /* Slightly smaller for better centering */
  height: 28px; /* Slightly smaller for better centering */
  filter: brightness(1.2);
  display: block; /* Ensure proper display */
}

.camera-overlay #selfie {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  object-fit: cover;
  display: none; /* Initially hidden until photo is taken */
}

.camera-overlay #frame,
.camera-overlay .selfieframe {
  position: absolute;
  z-index: 4;
  opacity: 1;
  outline: none;
  pointer-events: none;
  /* Position will be set dynamically by JavaScript */
}

.camera-overlay .framebox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  object-fit: contain;
}

/* Post-capture UI container - positioned above keyboard from start */
.camera-overlay .post-capture-container {
  position: fixed;
  bottom: 600px; /* Much higher up - well above keyboard area */
  left: 50%;
  transform: translateX(-50%);
  display: none; /* Hidden by default, shown after photo capture */
  flex-direction: row;
  align-items: center;
  gap: 15px;
  z-index: 60;
  padding: 0;
}

/* Email input inside container */
.camera-overlay .selfiemailinput {
  width: 350px; /* Fixed width for predictable layout */
  height: 60px;
  padding: 18px 24px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin: 0; /* Remove any default margins */
}

.camera-overlay .selfiemailinput:focus {
  outline: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.98);
}

.camera-overlay .selfiemailinput.error {
  border: 2px solid #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.camera-overlay .selfiemailinput::placeholder {
  color: #666;
  font-weight: 500;
}

/* Send Button inside container */
.camera-overlay #sendmail {
  width: 60px;
  height: 60px;
  background: #dc3545;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 32px rgba(220, 53, 69, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0; /* Remove any default margins */
}

.camera-overlay #sendmail::before {
  content: "✉";
  color: white;
  font-size: 32px;
  font-weight: bold;
}

.camera-overlay #sendmail:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.6);
}

/* Retake Button inside container */
.camera-overlay #retake {
  width: 60px;
  height: 60px;
  background: #dc3545;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 32px rgba(220, 53, 69, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0; /* Remove any default margins */
}

.camera-overlay #retake::before {
  content: "↻";
  color: white;
  font-size: 32px;
  font-weight: bold;
}

.camera-overlay #retake:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(220, 53, 69, 0.6);
}

.camera-overlay #sendok {
  position: fixed;
  bottom: 300px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  padding: 20px 40px;
  border-radius: 25px;
  display: none;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
}

.camera-overlay #countdown {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  color: white;
  font-size: 160px;
  font-weight: 900; /* Much bolder font */
  padding: 60px;
  border-radius: 30px;
  display: none; /* Initially hidden - only show when shutter pressed */
  z-index: 100;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  min-width: 200px;
  min-height: 200px;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-style: normal;
  letter-spacing: -2px; /* Tighter letter spacing for bold numbers */
}

.camera-overlay #countdown #countdown_number {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: pulse 1s ease-in-out infinite;
  font-weight: 900; /* Ensure the number itself is also bold */
  display: block;
  line-height: 1;
}

@keyframes pulse {
  0% { 
    transform: scale(1); 
    opacity: 1; 
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); 
  }
  50% { 
    transform: scale(1.15); 
    opacity: 0.9; 
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.8); 
  }
  100% { 
    transform: scale(1); 
    opacity: 1; 
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); 
  }
}

/* Camera Flash Effect */
.camera-overlay #camera-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  display: none;
}

/* Virtual Keyboard customization for camera overlay */
#KioskBoard-VirtualKeyboard {
  z-index: 10000 !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#KioskBoard-VirtualKeyboard .kioskboard-key {
  border-radius: 8px !important;
  margin: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  background: white !important;
  color: #333 !important;
}

/* Non-interactive contact display elements: a kiosk shows a phone number,
   it never offers to dial it. */

.contact-info-display {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-display-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  line-height: 1.5;
}

.contact-display-item:last-child {
  border-bottom: none;
}

.contact-display-item strong {
  color: #be4067;
  margin-right: 10px;
  display: inline-block;
  min-width: 80px;
}

/* Ensure contact items are non-interactive */
.contact-item {
  cursor: default;
  pointer-events: none;
  user-select: text; /* Allow text selection for copying contact info */
}

.contact-info-item {
  cursor: default;
  pointer-events: none;
  user-select: text; /* Allow text selection for copying contact info */
}

/* Remove any hover effects from contact elements */
.contact-item:hover,
.contact-info-item:hover {
  background: inherit;
  transform: none;
  box-shadow: inherit;
}
