:root {
  --primary: #2c3e50;
  --secondary: #6e8ba8;
  --background: #f4f7f6;
  --text: #243447;
  --accent: #e67e22;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --border-color: #e0e0e0;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 20px 40px;
  overflow: visible;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  position: absolute;
  left: 40px;
  color: var(--primary);
  text-decoration: none;
}

a.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-right {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  margin-left: 0;
  text-decoration: none;
  color: var(--text);
}

/* SEARCH IN NAV */
.nav-search {
  position: absolute;
  right: 220px;
  display: flex;
}

.nav-search input {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 250px;
}

/* BUTTON STYLING */
button,
a.login-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-block;
}

button:hover,
a.login-btn:hover {
  background: rgba(230, 126, 34, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

button:active {
  transform: translateY(0);
}

/* NAV OUTLINE */
.nav-search input:focus {
  outline: none;
  border: 1px solid var(--primary);
}

/* SEARCH ICON FOR MOBILE */
.search-icon {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 70px;
  z-index: 1002;
  width: 24px;
  height: 24px;
  color: var(--primary);
  padding: 4px;
  transition: opacity 0.2s ease;
}

.search-icon:hover {
  opacity: 0.7;
}

.search-icon svg {
  width: 100%;
  height: 100%;
}

/* NAV STICKY */
.nav {
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 1000;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: relative;
  left: 40px;
  z-index: 1001;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.hamburger-menu .notification-badge {
  position: absolute !important;
  top: -8px !important;
  right: -12px !important;
  width: 20px !important;
  height: 20px !important;
  font-size: 0.65rem !important;
  background: #e74c3c !important;
  color: white !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 0 !important;
}

.nav-links.mobile-open {
  display: flex !important;
}

@media (max-width: 768px) {
  .hero-emoji {
    display: none !important;
  }

  .hamburger-menu {
    display: flex !important;
  }
}

/* Tablet/Medium Responsive Nav */
@media (max-width: 1100px) and (min-width: 901px) {
  .nav-search {
    display: none !important;
  }

  .nav-search.active {
    display: block !important;
  }

  .search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 150px;
  }

  .nav-right {
    gap: 15px;
  }
}

/* Mobile Responsive Nav */
@media (max-width: 900px) {
  .nav {
    padding: 12px 15px;
    justify-content: flex-start;
    gap: 0;
    display: flex;
    align-items: center;
    position: relative;
  }

  .hamburger-menu {
    display: flex !important;
    position: relative;
    left: 0;
    margin-right: auto;
    z-index: 1001;
  }

  .logo {
    position: relative;
    left: auto;
    margin: 0 auto;
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: white;
    gap: 0;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

  .nav-links a {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: block;
  }

  .nav-links .nav-dropdown {
    display: block;
    border: none;
  }

  .nav-links .dropdown-content {
    position: static;
    display: none;
    background: #f9f9f9;
    box-shadow: none;
  }

  .nav-links .dropdown-content a {
    padding-left: 40px;
  }

  .nav-search {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none !important;
    padding: 10px 20px;
    box-sizing: border-box;
  }

  .nav-search.active {
    display: none !important;
  }

  .nav-search input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
  }

  .search-icon {
    display: none !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .nav-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    gap: 0;
    z-index: 1000;
  }

  .login-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* NEW HOME PAGE */

:root {
  --h1-size: clamp(2.5rem, 5vw, 4rem);
  --h2-size: 2.2rem;
  --section-padding: 80px 20px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  background: var(--primary);
  color: white;
}

.hero-text {
  padding: 60px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-text h1 {
  font-size: var(--h1-size);
  line-height: 1.1;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.hero-text p {
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-img {
  background: url('images/home/home_hero.jpeg') center/cover no-repeat;
  border-left: 8px solid var(--accent);
}

.hero-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
}

.hero-btn:hover {
  background: rgba(230, 126, 34, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 126, 34, 0.3);
}

.hero-btn[style*="background: transparent"] {
  background: transparent !important;
  color: white;
  border: 2px solid white;
}

.hero-btn[style*="background: transparent"]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: white;
}

/* --- NEW CITY TICKER STYLES --- */
.city-ticker-wrap {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.city-ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: white;
  padding: 0 30px;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  z-index: 2;
  box-shadow: 10px 0 15px white;
}

.ticker-move {
  display: inline-block;
  animation: ticker-slide 40s linear infinite;
}

.ticker-move span {
  display: inline-block;
  padding: 0 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  opacity: 0.7;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ------------------------------ */

/* --- THE REALITY SPLIT (Replacing the Checklist) --- */
.reality-section {
  background: white;
  padding: 120px 20px;
  text-align: center;
}

.reality-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 60px auto;
  gap: 0;
  /* Flush edge-to-edge for momentum */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.reality-panel {
  flex: 1;
  padding: 80px 50px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* The "Scroll" side - feels empty/faded */
.reality-panel.scroll {
  background: #f8fafc;
  color: #94a3b8;
  border-right: 1px solid #e2e8f0;
}

/* The "Village" side - feels heavy/powerful */
.reality-panel.village {
  background: var(--primary);
  color: white;
  position: relative;
}

.reality-panel h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.reality-panel p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.reality-tag {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

/* "VS" Circle in the middle */
.vs-circle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  border: 4px solid white;
  z-index: 10;
}

@media (max-width: 900px) {
  .reality-grid {
    flex-direction: column;
  }

  .vs-circle {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .reality-panel {
    padding: 60px 30px;
  }
}

/* --- PILLARS SECTION --- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--accent);
  transition: transform 0.2s;
}

.pillar-box:hover {
  transform: translateY(-5px);
}

.pillar-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 15px 0;
  color: var(--primary);
}

/* --- HOW TO USE (RECLAMATION VERSION) --- */

.pillar-benefit-tag {
    display: inline-block;
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem !important;
    margin-bottom: 15px !important;
    color: var(--primary);
}

.pillar-card p {
    font-size: 1rem !important;
    color: #555 !important;
    line-height: 1.6;
}

@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    align-items: center;
    padding: 40px 20px;
  }

  .hero-img {
    min-height: 300px;
    border-left: none;
    border-top: 8px solid var(--accent);
  }

  .city-ticker-label {
    position: relative;
    padding: 10px;
    justify-content: center;
    width: 100%;
    box-shadow: none;
  }
}

/* ABOUT */
.about {
  padding: 80px 20px;
  text-align: center;
  max-width: 700px;
  margin: auto;
}

/* VALUES */
.values {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
}

/* CTA */
.cta {
  text-align: center;
  padding: 80px 20px;
}

/*------------CONNECT PAGE----------------------*/

/* PAGE HEADER */
.page-header {
  text-align: center;
  padding: 80px 20px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/connect/connect_hero.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
}

/* SEARCH */
.search-bar {
  text-align: center;
  margin: 20px;
}

.search-bar input {
  width: 60%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* CONNECT LAYOUT */
.connect-layout {
  display: flex;
  gap: 30px;
  padding: 20px 40px;
}

/* FEED */
.feed {
  flex: 2;
}

.post {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.post-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* IMAGE */
.post-image img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

/* TEXT */
.post-text {
  flex: 1;
}

.post-text h4 {
  margin-bottom: 8px;
}

.post-text p {
  color: #555;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .post-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-image img {
    width: 100%;
    height: auto;
  }
}

.post:hover {
  transform: translateY(-3px);
  transition: 0.2s ease;
}

/* SIDEBAR */
.connect-sidebar {
  flex: 1;
}

/* WIDGET */
.widget {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

/* MINI CARDS */
.mini-card {
  background: var(--secondary);
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  color: white;
}

/* ACTIVE NAV LINK */
.nav a.active {
  font-weight: bold;
  color: var(--accent);
}

/* NAV DROPDOWN */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 8px;
}

.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 1001;
  padding: 10px 0;
  pointer-events: none;
  margin-top: -8px;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
  pointer-events: auto;
}

.dropdown-content:hover {
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background: var(--background);
  color: var(--accent);
}

.dropdown-content a.active {
  color: var(--accent);
  font-weight: bold;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  background: #eee;
  padding: 5px;
  border-radius: 8px;
}

.day-name {
  font-weight: bold;
  font-size: 0.8rem;
  text-align: center;
  padding-bottom: 5px;
}

.day {
  background: white;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
}

.day:hover {
  background: var(--background);
}

.event-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 2px;
}

.add-event-btn {
  width: 100%;
  margin-top: 15px;
}

/*--------------ABOUT US PAGE----------------*/

/* ABOUT HEADER */
.about-header {
  text-align: center;
  padding: 80px 20px 40px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/about/about\ hero.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
}

.about-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
}

/* GALLERY SECTION */
.gallery-section {
  padding: 60px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-family: var(--font-heading);
  margin-bottom: 30px;
}

/* FLEXBOX GALLERY */


/* GALLERY CONTAINER */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ITEMS */
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* HOVER EFFECT */
.gallery img:hover {
  transform: scale(1.05);
}

/* HOVER ZOOM */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 12px;
  word-wrap: break-word;
}

/* SHOW TEXT */
.gallery-item:hover .overlay {
  opacity: 1;
}

@media (max-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .overlay {
    font-size: 0.85rem;
  }
}

/*--------------- FEATURES PAGE --------------------*/

/* PAGE HEADER */
.page-header2 {
  text-align: center;
  padding: 80px 20px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/stock/AdobeStock_267247970.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  padding-top: 130px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 40px;
}

/* FEATURE CARD */
.feature-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------- BLOG PAGE-------------------*/

/* BLOG CONTAINER */
.blog-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

/* BLOG POST */
.blog-post {
  background: white;
  padding: 25px;
  margin-bottom: 30px;  
  border-radius: 12px;
}

/* META TEXT */
.meta {
  font-size: 0.9rem;
  color: gray;
  margin-bottom: 15px;
}

/* BLOG IMAGES */
.blog-post img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* LINKS */
.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.read-more:focus,
.read-more:hover {
  text-decoration: underline;
}

/*-----------------DASHBOARD PAGE ----------------*/

/* DASHBOARD LAYOUT */

/* MAIN GRID LAYOUT (3 Columns) */
.dashboard-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  /* Left Sidebar | Main | Right Sidebar */
  gap: 40px;
  max-width: 1600px;
  margin: 30px auto;
  padding: 0 20px;
  min-height: 100vh;
}

/* LEFT SIDEBAR STYLING */
.left-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  background: white;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin-bottom: 15px;
}

.profile-card h2 {
  font-family: 'Playfair Display', serif;
  margin: 10px 0 5px;
  font-size: 1.5rem;
}

.profile-card p {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-action-buttons {
  display: none;
}

/* Sidebar Create Event Button */
.login-btn {
  width: 100%;
  margin-bottom: 15px;
}

.side-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-menu li a {
  display: block;
  padding: 15px 25px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.side-menu li a:hover {
  background: #f8f9fa;
  color: var(--accent);
}

.side-menu li a.active {
  background: var(--primary);
  color: white;
}

/* Notification Badges */
.menu-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: auto;
}

/* CENTER COLUMN STYLING */
.center-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* The News Feed Strip (Wireframe Top Row) */
.news-strip {
  background: var(--primary);
  color: white;
  padding: 20px;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.news-strip:hover {
  box-shadow: 0 0 35px rgba(230, 126, 34, 0.85), 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-strip h3 {
  font-size: 1rem;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.news-expandable {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* The Main Content Cards */
.content-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.content-card h3 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
  font-size: 1.6rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

iframe {
  max-width: 100%;
}

/* RIGHT SIDEBAR STYLING */
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.action-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.drop-btn {
  width: 100%;
  padding: 15px;
  margin-bottom: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: left;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.85rem;
}

.curated-feature {
  background: #fff9f2;
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  margin-bottom: 15px;
  font-size: 0.85rem;
}

/* COLLAPSIBLE HEADER & TICKER */
.collapsible-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.collapsible-header h3 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.collapsible-header #calIcon {
  margin-left: auto;
}

.vertical-ticker {
  flex: 1;
  height: 35px;
  overflow: hidden;
  position: relative;
}

.ticker-list {
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: ticker-scroll 10s infinite linear;
}

.ticker-list li {
  height: 35px;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
}

.ticker-list li span {
  color: var(--accent);
  font-weight: 800;
  margin-right: 10px;
}

@keyframes ticker-scroll {

  0%,
  20% {
    top: 0;
  }

  25%,
  45% {
    top: -35px;
  }

  50%,
  70% {
    top: -70px;
  }

  75%,
  95% {
    top: -105px;
  }

  100% {
    top: 0;
  }
}

/* EVENTBRITE-STYLE FILTERS */
.filter-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: #fdfdfd;
  font-size: 0.9rem;
  outline: none;
}

.search-input-wrapper input:focus {
  border-color: var(--primary);
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  outline: none;
}

.filter-select:hover {
  border-color: var(--accent);
}

/* CALENDAR INTERFACE AREA */
.calendar-ui-placeholder {
  height: 300px;
  background: #fafafa;
  border-radius: 15px;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-weight: 600;
}

.hidden {
  display: none;
}

/* Mobile Compose Sidebar */
.mobile-compose-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.mobile-compose-overlay.open {
  display: block;
}

.mobile-compose-sidebar {
  display: none;
  position: fixed;
  right: -400px;
  top: 0;
  width: 350px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
  padding: 20px;
  overflow-y: auto;
  z-index: 1000;
  transition: right 0.3s ease;
}

.mobile-compose-sidebar.open {
  display: block;
  right: 0;
}

.mobile-compose-btn {
  display: none;
}

.mobile-generate-btn {
  display: none;
}

/* Dashboard sidebar toggle button */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: visible;
}

.sidebar-toggle .notification-badge {
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  width: 24px !important;
  height: 24px !important;
  font-size: 0.75rem !important;
  background: #e74c3c !important;
  color: white !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 0 !important;
}

.sidebar-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Dashboard Mobile Header */
.dashboard-mobile-header {
  display: none;
}

/* Desktop: Show Create Event button in sidebar */
.left-sidebar>button {
  display: block !important;
}

@media (max-width: 768px) {

  /* Hide nav on dashboard when sidebar toggle is present */
  body:has(.sidebar-toggle) .nav {
    display: none !important;
  }

  .dashboard-mobile-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .mobile-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-left: 50px;
  }

  .mobile-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
  }

  .mobile-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.1);
  }

  .sidebar-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 15px;
    left: 15px;
    bottom: auto;
    width: 45px;
    height: 45px;
    z-index: 1001;
  }

  .left-sidebar {
    display: flex;
    position: fixed !important;
    left: -350px !important;
    top: 120px;
    width: 350px;
    height: calc(100vh - 120px);
    background: white;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 899;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-radius: 0;
  }

  .left-sidebar.open {
    left: 0 !important;
  }

  .profile-card {
    display: grid;
    grid-template-columns: auto auto;
    gap: 12px;
    padding: 10px;
    align-items: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .profile-card img {
    grid-column: 1;
    grid-row: 1 / 5;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid var(--accent);
    align-self: center;
    justify-self: center;
  }

  .profile-card h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    text-align: left;
    line-height: 1.1;
    margin-left: auto;
    margin-right: 12px;
  }

  .profile-card p {
    grid-column: 2;
    margin: 0;
    padding: 0;
    font-size: 0.65rem;
    color: #666;
    text-align: left;
    line-height: 1.1;
    margin-left: auto;
    margin-right: 12px;
  }

  .profile-card p:nth-of-type(2) {
    grid-row: 2;
  }

  .profile-card p:nth-of-type(3) {
    grid-row: 3;
  }

  .profile-card>div:last-of-type {
    grid-column: 2;
    grid-row: 4;
    font-size: 0.65rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    text-align: left;
    margin-left: auto;
    margin-right: 12px;
  }

  .left-sidebar>button {
    display: none !important;
  }

  .mobile-action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .mobile-action-buttons button {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.75rem;
    font-weight: 600;
  }

  .side-menu {
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
  }

  .side-menu li {
    min-width: auto;
    flex-shrink: 0;
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  .side-menu li a {
    padding: 8px 15px;
  }

  .dashboard-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 15px auto;
    padding-top: 130px;
  }

  .collapsible-header {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border-bottom: none;
    gap: 10px;
    padding-bottom: 0;
    margin-bottom: 15px;
    flex-wrap: wrap;
    width: 100%;
  }

  .collapsible-header h3 {
    margin-bottom: 0;
    order: 1;
  }

  .collapsible-header #calIcon {
    margin-left: auto;
    align-self: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: #999;
    white-space: nowrap;
    margin-bottom: 0;
    order: 2;
  }

  .vertical-ticker {
    width: 100%;
    flex-basis: 100%;
    order: 3;
    height: 35px;
    overflow: hidden;
    position: relative;
    margin-top: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .ticker-list {
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: ticker-scroll 10s infinite linear;
    top: 0;
  }

  .ticker-list li {
    height: 35px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    padding: 0 15px;
  }

  .ticker-list li span {
    color: var(--accent);
    font-weight: 800;
    margin-right: 10px;
  }

  @keyframes ticker-scroll {

    0%,
    20% {
      top: 0;
    }

    25%,
    45% {
      top: -35px;
    }

    50%,
    70% {
      top: -70px;
    }

    75%,
    95% {
      top: -105px;
    }

    100% {
      top: 0;
    }
  }

  .center-column {
    padding-top: 130px;
  }

  .mobile-compose-btn {
    display: block !important;
  }

  .mobile-generate-btn {
    display: block !important;
  }
}

/*-----------------GROW PAGE ----------------*/

.grow-hero {
  height: 40vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
  gap: 15px;
}

.grow-hero h1 {
  font-size: 2rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  width: 100%;
  line-height: 1.2;
}

.grow-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
  width: 100%;
  line-height: 1.6;
  padding: 0 15px;
  box-sizing: border-box;
}

.grow-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.grow-section {
  margin-bottom: 50px;
}

.grow-search-container {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.grow-search-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.grow-search-wrapper input {
  flex: 1;
  min-width: 250px;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
}

.grow-search-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.opportunity-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.opportunity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.opportunity-icon {
  font-size: 3rem;
  padding: 25px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  text-align: center;
  border-bottom: 2px solid var(--border-color);
}

.opportunity-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.opportunity-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.opportunity-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  flex: 1;
}

.opportunity-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.opportunity-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.opportunity-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  width: 100%;
}

.opportunity-btn:hover {
  background: #d97820;
}

@media (max-width: 768px) {
  .grow-hero h1 {
    font-size: 1.4rem;
  }

  .grow-hero p {
    font-size: 1rem;
    max-width: 100% !important;
  }

  .grow-hero .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .opportunities-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}

/*-----------------BUILD PAGE ----------------*/

.build-hero {
  height: 40vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
  gap: 15px;
}

.build-hero h1 {
  font-size: 2rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  width: 100%;
  line-height: 1.2;
}

.build-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
  width: 100%;
  line-height: 1.6;
  padding: 0 15px;
  box-sizing: border-box;
}

.build-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.services-hero {
  height: 40vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
  gap: 15px;
}

.services-hero h1 {
  font-size: 2rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  width: 100%;
  line-height: 1.2;
}

.services-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
  width: 100%;
  line-height: 1.6;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Unified Hero Button Styling */
.hero-button {
  background: var(--accent);
  color: white;
  border: none;
  display: inline-block;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 12px;
  transition: background 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}

.hero-button:hover {
  background: #e67e22;
  opacity: 0.9;
}

.build-section {
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.benefit-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  color: #666;
  font-weight: 600;
  font-size: 0.95rem;
}

.features-section {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 15px;
}

.feature-check {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-text h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1rem;
}

.feature-text p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.event-creation-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.form-section {
  margin-bottom: 30px;
}

.form-section h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.promotion-checklist {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
}

.checklist-item input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  accent-color: var(--accent);
}

.checklist-label {
  flex: 1;
  cursor: pointer;
  color: #555;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
  flex: 1;
  max-width: 300px;
}

.btn-primary:hover {
  background: #d97820;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #f0f4f8;
  color: var(--text);
  border: 1px solid var(--border-color);
  padding: 15px 40px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
  flex: 1;
  max-width: 300px;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: white;
}

.process-section {
  margin: 50px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.step-title {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 10px;
}

.step-description {
  color: #666;
  font-size: 0.9rem;
}

.step-connector {
  position: absolute;
  top: 30px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--accent);
  display: none;
}

@media (min-width: 900px) {
  .step-card:not(:last-child) .step-connector {
    display: block;
  }
}

@media (max-width: 768px) {
  .build-hero h1 {
    font-size: 1.4rem;
  }

  .build-hero p {
    font-size: 1rem;
    max-width: 100% !important;
  }

  .build-hero button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .services-hero h1 {
    font-size: 1.4rem;
  }

  .services-hero p {
    font-size: 1rem;
    max-width: 100% !important;
  }

  .hero-button {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .event-creation-form,
  .features-section {
    padding: 25px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    max-width: 100%;
  }
}

/*-----------------CONNECT PAGE ----------------*/

.connect-hero {
  height: 40vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
  gap: 15px;
}

.connect-hero h1 {
  font-size: 2rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  width: 100%;
  line-height: 1.2;
}

.connect-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
  width: 100%;
  line-height: 1.6;
  padding: 0 15px;
  box-sizing: border-box;
}

.connect-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.connect-section {
  margin-bottom: 50px;
}

.connect-search-container {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.connect-search-wrapper {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.connect-search-wrapper input {
  flex: 1;
  min-width: 250px;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
}

.connect-search-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.connect-feed {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 25px;
  margin-bottom: 40px;
}

.feed-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}

.post-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 20px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}

.post-meta {
  flex: 1;
}

.post-meta h4 {
  margin: 0 0 3px 0;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.post-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: #999;
}

.post-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.post-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.post-actions {
  display: flex;
  gap: 10px;
}

.post-btn {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: var(--primary);
}

.post-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.sidebar-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.member-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
}

.member-mini-card:hover {
  background: #f0f4f8;
}

.member-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  flex-shrink: 0;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.member-title {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-connect-btn {
  padding: 6px 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.member-connect-btn:hover {
  background: #d97820;
}

@media (max-width: 900px) {
  .connect-feed {
    grid-template-columns: 1fr;
  }

  .connect-hero h1 {
    font-size: 2rem;
  }

  .connect-hero p {
    font-size: 1rem;
  }
}

.connect-search-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.connect-feed {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 25px;
  margin-bottom: 40px;
}

.feed-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}

.post-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 20px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}

.post-meta {
  flex: 1;
}

.post-meta h4 {
  margin: 0 0 3px 0;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.post-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: #999;
}

.post-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.post-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.post-actions {
  display: flex;
  gap: 10px;
}

.post-btn {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: var(--primary);
}

.post-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.sidebar-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.member-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
}

.member-mini-card:hover {
  background: #f0f4f8;
}

.member-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  flex-shrink: 0;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.member-title {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-connect-btn {
  padding: 6px 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.member-connect-btn:hover {
  background: #d97820;
}

@media (max-width: 900px) {
  .connect-feed {
    grid-template-columns: 1fr;
  }

  .connect-hero h1 {
    font-size: 2rem;
  }

  .connect-hero p {
    font-size: 1rem;
  }
}

/* MENU */
.menu {
  list-style: none;
  padding: 0;
}

.menu li {
  margin: 15px 0;
  cursor: pointer;
}

/* MAIN */
.dashboard-main {
  flex: 1;
  padding: 30px;
}

/* GRID */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* WIDGET */
.widget {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

/* PROFILE PANEL */
.profile-panel {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

/* HIDDEN */
.hidden {
  display: none;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  margin: 0 10px;
}

footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

/*----- CTA SECTION -----*/

.cta-section {
  background: white;
  padding: 60px 20px;
  text-align: center;
  margin: 20px auto;
  max-width: 1200px;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/*----- TESTIMONIALS PAGE -----*/

.testimonials-hero {
  height: 40vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 100px 20px;
  gap: 20px;
  padding-top: 130px;
}

.testimonials-hero h1 {
  font-size: 2.5rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

.testimonials-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.testimonials-section {
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.testimonial-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin: 0 0 20px 0;
  flex: 1;
}

.testimonial-quote::before {
  content: '"';
  font-size: 2rem;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 5px;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin: 0 0 5px 0;
  font-weight: 700;
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 5px 0;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

@media (max-width: 768px) {
  .testimonials-hero h1 {
    font-size: 2rem;
  }

  .testimonials-hero p {
    font-size: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-image {
    height: 200px;
  }

  .testimonial-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .scroll-nav {
    display: none;
  }
}

/* HOME PAGE SECTIONS */
.home-section {
  padding: 80px 20px;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-content {
  text-align: center;
}

.section-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
  margin: 0 0 30px 0;
}

.section-content p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin: 0 0 20px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* THREE PILLARS */
.three-pillars-section {
  background: var(--background);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pillar-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 4px solid var(--accent);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 15px 0;
}

.pillar-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.pillar-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.pillar-link:hover {
  color: #d97820;
}

/* STEPS GRID */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 15px 0;
}

.step-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* WHY JOIN SECTION */
.why-join-section {
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.benefit-card {
  background: var(--background);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 15px 0;
}

.benefit-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* STORIES SECTION */
.stories-section {
  background: var(--background);
}

.stories-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.story-preview {
  background: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent);
}

.story-preview h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 0 15px 0;
}

.story-preview p {
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.story-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.story-link:hover {
  color: #d97820;
}

/* CTA HOME SECTION */
.cta-home-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.cta-home-section h2 {
  color: white;
  font-size: 2.5rem;
  margin: 0 0 20px 0;
}

.cta-home-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 0 30px 0;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
  opacity: 0;
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  opacity: 0;
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  animation: slideInRight 0.8s ease forwards;
}

.slide-in-up {
  opacity: 0;
  transition: all 0.8s ease;
}

.slide-in-up.visible {
  opacity: 1;
  animation: slideInUp 0.8s ease forwards;
}

/* MESSAGES PAGE STYLES */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.message-item:hover {
  background: #f0f0f0;
  border-left-color: var(--accent);
  transform: translateX(5px);
}

.message-avatar {
  flex-shrink: 0;
}

.message-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.message-header strong {
  color: var(--primary);
  font-size: 0.95rem;
}

.message-time {
  font-size: 0.8rem;
  color: #999;
}

.message-subject {
  font-weight: 600;
  color: #333;
  margin: 5px 0;
  font-size: 0.95rem;
}

.message-preview {
  color: #666;
  font-size: 0.85rem;
  margin: 5px 0 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.unread-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

/* MESSAGE MODAL */
.message-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.message-modal-content {
  background: white;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--primary);
}

.message-modal-header {
  padding: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.message-modal-body {
  flex: 1;
  padding: 25px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.message-reply-section {
  padding: 20px 25px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== NEWS FEED PAGE (news_feed.html) ==================== */

:root {
  --accent: #e67e22;
}

.news-header {
  text-align: center;
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.news-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 0;
  letter-spacing: -1px;
}

.news-header p {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #666;
}

.news-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.featured-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 15px 0;
}

.stats-box {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bar-group {
  margin-bottom: 15px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.bar-bg {
  background: #eee;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  background: #e67e22;
  height: 100%;
  border-radius: 10px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 2px solid #333;
  padding-top: 40px;
}

.news-card {
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 15px 0 10px 0;
}

.news-card .meta {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 12px;
}

.news-card p {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 12px;
}

.read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.sidebar-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.search-box {
  margin-bottom: 15px;
}

.search-box input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.85rem;
}

.category-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.category-item input {
  margin-right: 8px;
  cursor: pointer;
}

.category-count {
  color: #999;
  font-size: 0.8rem;
  margin-left: auto;
}

.featured-item {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}

.featured-item:last-child {
  border-bottom: none;
}

.featured-item a {
  color: #333;
  text-decoration: none;
  display: block;
  line-height: 1.4;
}

.featured-item a:hover {
  color: var(--accent);
}

.news-main {
  min-width: 0;
}

.right-sidebar {
  width: 320px;
  height: fit-content;
}

@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-wrapper {
    grid-template-columns: 280px 1fr;
  }

  .right-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .featured-article {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-wrapper {
    display: block;
    padding: 0;
    padding-top: 130px;
    margin: 0;
    min-height: auto;
  }

  .center-column {
    padding: 20px;
    gap: 15px;
  }

  .right-sidebar {
    display: none;
  }

  .profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 10px;
    align-items: start;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .profile-card img {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    align-self: center;
    justify-self: center;
  }

  .profile-card h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    font-family: 'Playfair Display', serif;
    text-align: left;
    line-height: 1.2;
  }

  .profile-card p {
    grid-column: 2;
    margin: 0;
    padding: 0;
    font-size: 0.65rem;
    color: #666;
    text-align: left;
    line-height: 1.2;
  }

  .profile-card p:nth-of-type(2) {
    grid-row: 2;
  }

  .profile-card p:nth-of-type(3) {
    grid-row: 3;
  }

  .right-sidebar {
    display: none;
  }
}

/* ==================== BLOG PAGE (blog.html) ==================== */

.blog-page-right-sidebar {
  width: 320px;
  height: fit-content;
}

.blog-sidebar-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.blog-sidebar-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #e67e22;
  padding-bottom: 10px;
}

/* ==================== SERVICES PAGE ==================== */

.services-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.services-intro {
  text-align: center;
  margin-bottom: 50px;
}

.services-intro h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
  margin: 0 0 20px 0;
}

.services-intro p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-icon {
  font-size: 1.4rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  align-items: flex-start;
}

.hours-label {
  font-weight: 600;
  color: var(--primary);
  min-width: 150px;
  flex-shrink: 0;
}

.hours-time {
  color: #666;
  font-size: 0.95rem;
}

.services-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: white;
  padding: 50px 30px;
  border-radius: 12px;
  margin-top: 60px;
}

.services-cta h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 15px 0;
}

.services-cta p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

.services-cta a {
  display: inline-block;
  background: white;
  color: var(--accent);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== SERVICES PAGE COLLAPSIBLE ==================== */

.service-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: inherit;
}

.service-category-header:hover {
  color: var(--accent);
}

.service-category-header h3 {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.collapse-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.service-category.collapsed .collapse-toggle {
  transform: rotate(0deg);
}

.service-category:not(.collapsed) .collapse-toggle {
  transform: rotate(180deg);
}

.service-content {
  overflow: hidden;
  max-height: 1000px;
  transition: all 0.3s ease;
  opacity: 1;
  margin-top: 20px;
}

.service-category.collapsed .service-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
}

.service-description {
  color: #666;
  font-size: 1rem;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.service-category {
  background: white;
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .services-container {
    margin: 40px auto;
  }

  .services-intro h2 {
    font-size: 1.8rem;
  }

  .services-intro p {
    font-size: 1rem;
  }

  .service-category-header {
    padding: 0;
  }

  .service-category-header h3 {
    font-size: 1.3rem;
  }

  .collapse-toggle {
    width: 20px;
    height: 20px;
    font-size: 1rem;
  }

  .service-category {
    padding: 25px;
    margin-bottom: 20px;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .hours-list li {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .hours-label {
    min-width: auto;
  }

  .services-cta {
    padding: 35px 20px;
  }

  .services-cta h3 {
    font-size: 1.5rem;
  }

  .services-cta p {
    font-size: 1rem;
  }
}

/* ==================== EVENT CREATION MODAL ==================== */

.event-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  animation: fadeIn 0.3s ease-in;
}

.event-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-in;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: -10px -10px 0 0;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--primary);
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.form-section:last-child {
  border-bottom: none;
}

.form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.promotion-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.checklist-item:hover {
  background: #f0f0f0;
}

.checklist-item input {
  width: auto;
  margin-right: 12px;
  cursor: pointer;
}

.checklist-label {
  font-size: 0.95rem;
  color: var(--text);
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: #e0e0e0;
  color: var(--primary);
}

.btn-secondary:hover {
  background: #d0d0d0;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 25px;
    max-height: 95vh;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .form-section h3 {
    font-size: 1.05rem;
  }
}

.blog-category-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

.blog-category-item input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.blog-category-item label {
  cursor: pointer;
  flex: 1;
  font-size: 0.95rem;
}

.blog-category-count {
  color: #999;
  font-size: 0.85rem;
  margin-left: auto;
}

.blog-featured-post-link {
  display: block;
  padding: 14px 0;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid #e8e8e8;
  transition: color 0.3s;
  line-height: 1.5;
}

.blog-featured-post-link:hover {
  color: #e67e22;
}

.blog-author-item {
  padding: 14px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.95rem;
}

.blog-author-name {
  font-weight: 600;
  color: #333;
}

.blog-author-count {
  color: #999;
  font-size: 0.85rem;
}

.blog-search-filter-bar {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-search-filter-bar input {
  flex: 1;
  min-width: 200px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
}

.blog-search-filter-bar button {
  padding: 10px 20px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.blog-search-filter-bar button:hover {
  background: #c0392b;
}

/* Unified search bar style for blog and connections */
.search-filter-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 30px;
}

.search-filter-bar input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.search-filter-bar input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.1);
}

.search-filter-bar button {
  padding: 10px 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.search-filter-bar button:hover {
  background: #1e2d3d;
}

.blog-post-item {
  background: white;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.blog-post-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.blog-post-item header h2 {
  margin-bottom: 8px;
  color: #333;
  font-size: 1.6rem;
}

.blog-post-item .meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-post-item img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 6px;
  margin: 15px 0;
}

.blog-post-item p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-category-tag {
  display: inline-block;
  padding: 5px 12px;
  background: #e67e22;
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 15px 0;
  margin-right: 10px;
}

.blog-read-more {
  display: inline-block;
  color: #e67e22;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: color 0.3s;
}

.blog-read-more:hover {
  color: #c0392b;
}

.blog-center-column {
  min-width: 0;
}

.blog-page-header {
  margin-bottom: 30px;
}

.blog-page-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 5px;
}

.blog-page-header p {
  color: #999;
  font-size: 1.05rem;
}

@media (max-width: 1200px) {
  .dashboard-wrapper {
    grid-template-columns: 280px 1fr;
  }

  .blog-page-right-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .blog-page-right-sidebar {
    display: none;
  }

  .blog-search-filter-bar {
    flex-direction: column;
  }

  .blog-search-filter-bar input {
    width: 100%;
    min-width: auto;
  }

  .blog-search-filter-bar button {
    width: 100%;
  }
}

/* ==================== MEMORIES PAGE (memories.html) ==================== */

.memory-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.memory-card.tagged {
  border-left: 4px solid #3498db;
}

.memory-creator {
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 8px;
  font-style: italic;
}

.memory-image {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.memory-image:hover {
  opacity: 0.9;
}

.memory-date {
  color: #999;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.memory-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.memory-description {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.memory-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.memory-tag {
  background: #f0f0f0;
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
}

.memory-action-btn {
  flex: 1;
  padding: 6px;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  border-radius: 6px;
  font-size: 0.65rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.memory-action-btn:hover {
  background: #e67e22;
  color: white;
  border-color: #e67e22;
}

.memory-actions {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}

.tagged-users {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
  align-items: center;
  flex-wrap: wrap;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: transform 0.2s;
}

.user-avatar:hover {
  transform: scale(1.1);
}

.memory-comments {
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 8px;
}

.comment {
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.comment-author {
  font-weight: 600;
  color: var(--primary);
}

.comment-text {
  color: #666;
  margin-top: 2px;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.image-modal.active {
  display: flex;
}

.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.image-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.image-modal-close:hover {
  background: white;
}

@media (max-width: 768px) {
  .right-sidebar {
    display: none;
    position: fixed;
    right: 0;
    top: 60px;
    width: 100%;
    max-width: 320px;
    height: calc(100vh - 60px);
    flex-direction: column;
    background: white;
    border-radius: 0;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px;
    gap: 15px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .right-sidebar.mobile-open {
    display: flex;
    transform: translateX(0);
  }

  .widgets-toggle-btn {
    display: inline-block;
    padding: 8px 12px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
  }

  .widgets-toggle-btn:hover {
    background: #d97820;
  }

  .widgets-toggle-btn.active {
    background: #2c3e50;
  }

  /* Mobile sticky toggle button */
  @media (max-width: 768px) {
    .widgets-toggle-btn {
      position: sticky;
      top: 120px;
      z-index: 100;
    }
  }

  .memory-grid {
    grid-template-columns: 1fr;
  }
}

.reply-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color 0.2s;
}

.reply-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.1);
}

.reply-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-end;
}

/* CALENDAR WIDGET */
.calendar-widget {
  margin-bottom: 20px;
}

.calendar-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.calendar-month {
  background: #f9fafb;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #e5e7eb;
}

.calendar-month-header {
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  padding: 4px 0;
  text-transform: uppercase;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  background: white;
  border: 1px solid #e5e7eb;
  color: var(--text);
  transition: all 0.2s ease;
}

.calendar-day:hover {
  background: #f3f4f6;
  border-color: var(--accent);
}

.calendar-day.other-month {
  color: #d1d5db;
  cursor: default;
  background: transparent;
  border: 1px solid transparent;
}

.calendar-day.other-month:hover {
  background: transparent;
  border-color: transparent;
}

.calendar-day.today {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  font-weight: 600;
}

.calendar-day.today:hover {
  background: rgba(230, 126, 34, 0.9);
  border-color: rgba(230, 126, 34, 0.9);
}

.calendar-day.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.calendar-day.selected:hover {
  background: #1e2937;
  border-color: #1e2937;
}

.calendar-day.has-event {
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* VIDEO WIDGET */
.video-widget {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff9e6 0%, #ffe8cc 100%);
  border: 2px solid #e67e22;
  border-radius: 12px;
  padding: 18px;
}

.widget-header {
  user-select: none;
}

.widget-header:hover {
  opacity: 0.8;
}

.collapse-toggle {
  display: inline-block;
  transition: transform 0.3s ease;
  font-weight: bold;
  color: var(--primary);
}

.collapse-toggle.collapsed {
  transform: rotate(180deg);
}

.video-content {
  max-height: 500px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.video-content.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

/* EVENTS WIDGET */
.events-widget {
  margin-bottom: 20px;
}

.event-toggle-btn {
  transition: all 0.2s ease;
}

.event-toggle-btn:hover {
  opacity: 0.9;
}

.event-toggle-btn.active {
  background: var(--accent) !important;
  color: white !important;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
}

.event-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.2s ease;
}

.event-item:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.1);
}

.user-owned-event {
  border: 2px solid var(--accent);
  background: rgba(230, 126, 34, 0.03);
}

.user-owned-event:hover {
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.2);
}

.event-item-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary);
}

.event-item-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

.duplicate-btn {
  width: 100%;
  padding: 6px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.duplicate-btn:hover {
  background: #1e2937;
}

.no-events {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  padding: 20px 10px;
}

/* EVENT MODAL */
.event-modal-content {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.reply-btn:hover {
  background: #d97820;
}

.compose-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.compose-btn:hover {
  background: #d97820;
}

/* CONNECTIONS PAGE STYLES */
.connections-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.connection-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.2s ease;
}

.connection-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.connection-card.pending {
  background: #fff8f5;
  border-left: 4px solid var(--accent);
}

.connection-header {
  flex: 1;
}

.connection-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.connection-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-accept,
.btn-decline,
.btn-message,
.btn-view {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-accept {
  background: var(--accent);
  color: white;
}

.btn-accept:hover {
  background: #d97820;
}

.btn-decline {
  background: #f0f0f0;
  color: #666;
}

.btn-decline:hover {
  background: #e0e0e0;
}

.btn-message {
  background: var(--primary);
  color: white;
}

.btn-message:hover {
  background: #1e2536;
}

.btn-view {
  background: #f0f0f0;
  color: var(--primary);
}

.btn-view:hover {
  background: #e0e0e0;
}

/* RIGHT SIDEBAR - GROUPS & WIDGETS */
.groups-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.group-item {
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  transition: all 0.2s ease;
}

.group-item:hover {
  background: #f0f3f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.group-badge {
  background: var(--accent);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* =============== ARTICLE MODAL =============== */

.article-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
}

.article-modal.active {
  display: flex;
}

.article-modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close-btn {
  position: sticky;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  padding: 15px 20px;
  float: right;
  z-index: 10001;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--accent);
}

.modal-header {
  padding: 30px 40px 0 40px;
}

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.2;
}

.modal-body {
  padding: 20px 40px 40px 40px;
  line-height: 1.8;
  color: #555;
}

.modal-body p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.modal-body .meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}

.modal-body .read-more,
.modal-body .blog-category-tag {
  display: none;
}

@media (max-width: 768px) {
  .article-modal-content {
    max-height: 100vh;
    border-radius: 8px;
  }

  .modal-header {
    padding: 20px 20px 0 20px;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 15px 20px 30px 20px;
  }

  .modal-close-btn {
    padding: 10px 15px;
    font-size: 24px;
  }
}

.suggested-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.suggested-item {
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e8ecf1;
  transition: all 0.2s ease;
}

.suggested-item:hover {
  background: #f0f3f6;
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .home-section {
    padding: 60px 20px;
  }

  .section-content h2 {
    font-size: 2rem;
  }
}

/*----- CONTACT US PAGE -----*/

.contact-hero {
  height: 40vh;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(110, 139, 168, 0.7) 100%),
              url('images/stock/20250621_153316.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
  gap: 15px;
}

.contact-hero h1 {
  font-size: 2rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  width: 100%;
  line-height: 1.2;
}

.contact-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
  width: 100%;
  line-height: 1.6;
}

.contact-hero .cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  font-size: 0.95rem;
}

.contact-hero .cta-button:hover {
  opacity: 0.9;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin: 0 0 10px 0;
}

.info-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.info-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #d97820;
  text-decoration: none;
}

.contact-form-section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.submit-btn {
  background: var(--accent);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #d97820;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-hero h1 {
    font-size: 1.4rem;
  }

  .contact-hero p {
    font-size: 1rem;
    max-width: 100% !important;
  }

  .contact-hero .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/*----- ABOUT US PAGE -----*/

.about-hero {
  height: 40vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 100px 20px;
  gap: 20px;
  padding-top: 130px;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

.about-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-section {
  margin-bottom: 60px;
}

.info-box {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--accent);
}

.info-box h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 20px;
}

.info-box p {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 350px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.95);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* --- ABOUT US REVISIONS (Fixing Document #2 Issues) --- */

/* Fix for Checklist Item 1: Mobile Padding */
@media (max-width: 500px) {
    .info-box {
        padding: 25px !important; /* Prevents text from being too narrow on small phones */
    }
}

/* Fix for Checklist Item 3 & 5: Font Size and Contrast */
.gallery-item .overlay {
    background: rgba(0, 0, 0, 0.85) !important; /* Darker for better contrast */
    font-size: 1.05rem !important; /* Increased from 0.9rem for readability */
    padding: 20px !important;
    font-weight: 400;
    line-height: 1.5;
}

/* Enhancing the Heading in the box */
.info-box h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* --- SECTION: ABOUT / INFORMATIONAL --- */

.about-hero {
    background: var(--primary);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* The Manifesto Box */
.info-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 8px solid var(--accent);
    margin-bottom: 80px;
}

.info-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

/* Community Gallery Refinement */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Fixed Overlay: Better Contrast & Font Size */
.gallery-item .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(44, 62, 80, 0.92); /* Darker for better contrast */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.overlay-bio {
    font-size: 1rem;
    line-height: 1.5;
}

/* MOBILE MEMORIES DISPLAY */
#memoriesMobileSection {
  display: none;
}

@media (max-width: 768px) {
  #memoriesMobileSection {
    display: block !important;
  }
}

@media (min-width: 769px) {
  #memoriesMobileSection {
    display: none !important;
  }
}

/* --- THE LOCAL EXCHANGE: HIGH-END GRID --- */

.exchange-section {
    background: #ffffff !important;
    padding: 100px 5% !important;
    text-align: center !important;
}

.exchange-grid {
    display: grid !important;
    /* This forces 3 columns on desktop and 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 50px auto !important;
}

.exchange-card {
    background: #f8fafc !important; /* Light grey background */
    padding: 40px !important;
    border-radius: 20px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.exchange-card:hover {
    background: white !important;
    border-color: #e67e22 !important; /* Orange accent */
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.exchange-card h4 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.6rem !important;
    color: #2c3e50 !important;
    margin: 0 0 15px 0 !important;
}

.exchange-card p {
    font-size: 1rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
}

.exchange-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 20px !important;
}

.exchange-label {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #e67e22 !important; /* Orange */
}

.explore-link {
    font-weight: 700 !important;
    color: #2c3e50 !important;
    text-decoration: none !important;
}

/* --- CREATE EVENT FORM --- */
.form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.create-event-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-top: 8px solid var(--accent);
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.form-section-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
}

/* COLLAPSIBLE FORM SECTIONS */
.form-section-collapsible {
  margin: 30px 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}

.form-section-collapsible .form-section-header {
  margin: 0 0 0 0;
  padding-bottom: 0;
  border-bottom: none;
  justify-content: space-between;
  margin-bottom: 0;
}

.form-section-collapsible .form-section-header h3 {
  border-bottom: none;
  margin: 0;
}

#hostTeamHeader {
  user-select: none;
}

.section-toggle {
  transition: transform 0.3s ease;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.3rem;
}

.section-toggle.rotated {
  transform: rotate(180deg);
}

.form-section-content {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.form-section-content.collapsed {
  max-height: 0;
  opacity: 0;
}

/* PERSON CHIPS */
.person-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--primary);
  transition: all 0.2s ease;
}

.person-chip:hover {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.2);
}

.person-chip-remove {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  margin-left: 4px;
  transition: opacity 0.2s;
}

.person-chip-remove:hover {
  opacity: 0.7;
}

.empty-state {
  color: #999;
  font-size: 0.9rem;
  font-style: italic;
  padding: 10px;
}

/* DISABLED SECTION STATE */
#inviteesSection.disabled-section {
  opacity: 0.6;
  pointer-events: none;
}

#inviteesSection.disabled-section h4 {
  color: #999 !important;
}

#inviteesSection.disabled-section p {
  color: #bbb !important;
}

#inviteesSection.disabled-section input,
#inviteesSection.disabled-section button {
  background-color: #f5f5f5 !important;
  color: #999 !important;
  border-color: #ddd !important;
  cursor: not-allowed !important;
}

#inviteesSection.disabled-section button {
  opacity: 0.6;
}

#inviteesSection::before {
  content: '(Only for private events)';
  display: none;
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
}

#inviteesSection.disabled-section::before {
  display: inline-block;
  margin-left: 8px;
}

.avatar-preview-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.input-group input, 
.input-group textarea, 
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

/* Toggle Styles for Online/Offline */
.type-toggle {
    display: flex;
    gap: 10px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.type-toggle button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    background: transparent;
    color: #64748b;
}

.type-toggle button.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag-checkbox {
    display: none;
}

.tag-label {
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.tag-checkbox:checked + .tag-label {
    background: var(--accent);
    color: white;
}

.privacy-notice {
    background: #fff9f2;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #9d5228;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .form-grid-2 { grid-template-columns: 1fr; }
}