/* talk.css - Full CSS for the Talk page, including popup styles */
/* Assuming base styles from styles.css; add/override as needed */
/* Base Talk Page Styles (if not already in talk.css) */
.talk-section {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
text-align: center;
color: var(--current-text); /* Changed to variable for black on mobile */
font-family: 'Montserrat', sans-serif;
/* Removed negative margins to prevent content cutoff; rely on common --side-gap and padding for mobile gaps */
/* margin-left: -1cm; */ /* Removed */
/* margin-right: -1cm; */ /* Removed */
}
.page-title {
font-size: 1.5em; /* Matched to story page's 1.5em for consistency */
font-weight: 200; /* Kept lighter, but can adjust to 300 if needed to match story h2 */
letter-spacing: 0.5rem;
margin-top: 0; /* Matched to story page's margin-top */
margin-bottom: 2.4em; /* Matched to story page's margin-bottom for 2-line gap */
opacity: 0.9;
color: var(--current-text); /* Added to ensure black on mobile */
}
.introduction {
font-size: 0.9rem; /* Matched exactly to global p font-size in styles.css for story description */
line-height: 1.6;
margin-bottom: 2rem;
opacity: 0.8;
font-weight: 300; /* Matched to story page's p font-weight */
text-align: justify; /* Matched to story page's p text-align */
color: var(--current-text); /* Added to ensure black on mobile */
}
.question {
font-size: 1.3em; /* Slightly adjusted for hierarchy, but close to story; changed to em for consistency */
font-weight: 300; /* Matched to story page's h2 and p */
opacity: 0.9;
text-align: center; /* Changed to center as requested */
margin-top: 1em; /* Matched to story h2 margin-top */
margin-bottom: 3rem; /* Balanced margin-bottom for gap, placed last to avoid override */
color: var(--current-text); /* Added to ensure black on mobile */
}
.choice-container {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 3rem;
}
.choice-button {
display: flex;
flex-direction: column;
align-items: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 10px;
padding: 1rem;
cursor: pointer;
transition: all 0.3s ease;
opacity: 0.8;
}
.choice-button img {
width: 80px;
height: 80px;
border-radius: 50%;
margin-bottom: 0.5rem;
}
.choice-button span {
font-size: 1rem;
color: var(--current-text); /* Changed to variable for black on mobile */
}
.choice-button:hover,
.choice-button.selected {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
opacity: 1;
}
/* Popup Styles */
#popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: min(135.2vw, 1183px); /* Increased by another 30% from previous min(104vw, 910px) */
height: min(135.2vh, 1183px); /* Increased by another 30% from previous min(104vh, 910px) */
z-index: 1001;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
border-radius: 50%; /* Fallback for non-SVG browsers */
overflow: hidden;
/* No glow */
}
#popup.active {
opacity: 1;
visibility: visible;
}
.popup-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.popup-background svg {
width: 100%;
height: 100%;
}
.popup-content {
position: relative;
z-index: 2;
padding: 30px; /* Reduced padding to 30px to maximize inner space for text */
text-align: center;
color: white; /* Kept as white for popup text */
font-family: 'Montserrat', sans-serif;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box;
}
.popup-content p {
margin-bottom: 0.5rem;
font-size: 0.9rem; /* Matched to global p font-size in styles.css for consistency with story description */
line-height: 1.4;
max-width: 70%; /* Reduced from 80% to 70% to add more buffer around text */
margin-left: auto;
margin-right: auto;
word-break: break-word; /* Added to handle any long words if needed */
font-weight: 300; /* Matched to story page's p font-weight */
text-align: justify; /* Matched to story page's p text-align for consistency */
color: white; /* Kept as white */
}
.popup-content p.govt-text {
font-size: 0.6rem !important; /* Slightly increased from 0.5rem for readability while keeping smaller; !important and higher specificity to override global p and .popup-content p */
margin-top: 2.5rem; /* Increased margin-top to create approximately 3 line spaces (based on line-height ~1.4 and font-size 0.85rem) */
opacity: 0.9;
max-width: 70%;
margin-left: auto;
margin-right: auto;
word-break: break-word;
color: white; /* Kept as white */
}
.close-button {
position: absolute;
top: 10px;
right: 15px;
font-size: 24px;
cursor: pointer;
color: #333;
z-index: 3;
background: none;
border: none;
font: inherit;
}
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
filter: blur(0); /* Initial no blur */
}
#overlay.active {
opacity: 1;
visibility: visible;
filter: blur(5px); /* Blur background when active */
}
/* Responsive Adjustments */
@media (max-width: 600px) {
.talk-section {
padding: 1rem;
  }
.page-title {
font-size: 1.2em; /* Adjusted proportionally to match story scaling; changed to em */
  }
.introduction {
font-size: 0.8rem; /* Adjusted proportionally, slightly smaller than global p for mobile */
  }
.question {
font-size: 1.1em; /* Adjusted proportionally; changed to em */
margin-bottom: 2.5rem; /* Slightly lowered from 3rem to 2.5rem for mobile to reduce the gap proportionally */
text-align: center; /* Ensured center on mobile too */
  }
.choice-container {
flex-direction: column;
gap: 1rem;
  }
.choice-button img {
width: 60px; /* Reduced for smaller screens */
height: 60px;
  }
.popup-content {
padding: 25px;
  }
.popup-content p {
font-size: 0.8rem; /* Adjusted for mobile consistency */
max-width: 75%;
color: white; /* Kept as white on mobile */
  }
.popup-content p.govt-text {
font-size: 0.5rem !important; /* Proportionally smaller on mobile with !important */
margin-top: 2rem; /* Slightly reduced for mobile to maintain proportionality */
color: white; /* Kept as white on mobile */
  }
}
/* Added styles for scrollable content (copied/adapted from services.html inline style) */
.scrollable-content {
max-height: 60vh; /* Adjust this value as needed for your layout */
overflow-y: scroll; /* Changed to scroll to enable scrolling */
padding: 10px;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.scrollable-content::-webkit-scrollbar {
display: none;
}