/* CSS FOR ACCORDION  */
.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1.2rem;
  background-color: #f7f7f7;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-toggle:hover {
  background-color: #e2e2e2;
}

.accordion-content {
  display: none;
  padding: 1rem;
  background-color: #fff;
}

.accordion-content h3 {
  margin: 0.5rem 0;
}

.accordion-content a {
  text-decoration: none;
  color: #0073aa;
}

.accordion-content a:hover {
  text-decoration: underline;
}

.upcoming-meetings {
  background-color: #f9f9f9;
  padding: 2rem 0;
}

.upcoming-meetings .section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.meeting-list {
  display: grid;
  gap: 1.5rem;
}

.meeting-item h3 {
  margin: 0;
  font-size: 1.25rem;
}

.meeting-item a {
  color: #0073aa;
  text-decoration: none;
}

.meeting-item a:hover {
  text-decoration: underline;
}

.meeting-date {
  font-size: 0.95rem;
  color: #666;
}

a {
  text-decoration: none !important;
}

body {
  font-family: "Josefin Sans", sans-serif !important;
  font-style: normal !important;
  font-size: 16px;
}

.cityWall-btn a:hover {
  color: white!important;
}

header .home-one .top-header .top-header-content {
  background-color: #49773B;
}

.cityWall-btn a {
  background-color: #1F4388!important;
}


/* EVENTS ARCHIVE  */
.rmevents-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.rmevent-item {
  margin-bottom: 1rem;
  font-family: sans-serif;
}

.rmevent-trigger {
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
  cursor: pointer;
}

.rmevent-date {
  margin-left: 10px;
  color: #666;
}

.rmevent-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.rmevent-modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
  font-family: sans-serif;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-body {
  margin: 1rem 0;
}

.calendar-btn {
  display: inline-block;
  margin-bottom: 1rem;
  background: #0077cc;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
}
.calendar-btn:hover {
  color: #fff!important;
  background-color: #024c81;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.share-buttons a {
  background: #eee;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.close-modal {
  background: #523629;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.close-modal:hover {
  background-color: #a3694e;
  color: white;
}

.fb-share {
  background-color: #4565A8!important;
  color: white!important;
}

.twitter-share {
  background-color: #24A6FC!important;
  color: white!important;
}

/* EVENTS HOME PAGE  */
/* .rmevent-list {
  display: grid;
  gap: 1.5rem;
}

.rmevent-item a {
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
}

.rmevent-date {
  display: block;
  color: #666;
  margin-top: 0.25rem;
}

.rmevent-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.rmevent-modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  font-family: sans-serif;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-body {
  margin: 1rem 0;
}

.calendar-btn {
  display: inline-block;
  margin-bottom: 1rem;
  background: #0077cc;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.share-buttons a {
  background: #eee;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.close-modal {
  background: #ccc;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
} */

.latest-rmevents {
  background: #f5f5f5;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.rmevent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2rem;
  color: #222;
}

.view-all-btn {
  background: #e0e0e0;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.rmevent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rmevent-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  flex: 1 1 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rmevent-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.event-label {
  background: #e0e0e0;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-transform: capitalize;
}

.event-date {
  font-size: 0.85rem;
  color: #666;
}

.event-title {
  font-size: 1.2rem;
  color: #003366;
  margin: 10px 0;
}

.event-description {
  color: #003366;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.event-meta {
  font-size: 0.9rem;
  color: #003366;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .rmevent-list {
    flex-direction: column;
  }

  .rmevent-card {
    flex: 1 1 100%;
  }
}

/* Modal styles */
.rmevent-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.rmevent-modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px; right: 10px;
  background: #523629;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.open-modal-btn {
  margin-top: 10px;
  background: #003366;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

/* NOTICE ARCHIVE STYLE  */
.notice-archive {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.notice-list {
  list-style: none;
  padding: 0;
}

.notice-list li {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.notice-link {
  font-size: 1.2rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.notice-link:hover {
  text-decoration: underline;
}

.notice-date {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.2rem;
}

/* Modal Styles */
.notice-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.modal-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1rem;
}

.modal-body {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-share {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.share-btn.fb {
  background-color: #3b5998;
}

.share-btn.tw {
  background-color: #1da1f2;
}

.modal-close {
  background-color: #444;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-close:hover {
  background-color: #222;
}

/* HOMEPAGE NOTICE MODAL  */
.latest-notices {
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.notice-section-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
}

.notice-preview-list {
  list-style: none;
  padding: 0;
}

.notice-preview-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.notice-preview-link {
  font-size: 1.2rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.notice-preview-link:hover {
  text-decoration: underline;
}

.notice-preview-date {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.2rem;
}

/* Modal Styles */
.notice-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.modal-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1rem;
}

.modal-body {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-share {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.share-btn.fb {
  background-color: #3b5998;
}

.share-btn.tw {
  background-color: #1da1f2;
}

.modal-close {
  align-self: flex-end;
  background-color: #444;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: auto;
}

.modal-close:hover {
  background-color: #222;
}

/* BUSINESS DIRECTORY PAGE  */
.business-directory {
  padding: 2rem;
}
.business-category-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.business-category-list li a {
  display: block;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  transition: background 0.3s;
}
.business-category-list li a:hover {
  background: #e0e0e0;
}

/* TAXONOMY CATEGORY PAGE  */
.business-category {
  padding: 2rem;
}
.business-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.business-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: box-shadow 0.3s;
}
.business-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.business-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
}
.business-card h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
.business-card p {
  font-size: 0.95rem;
  color: #666;
}

/* SINGLE BUSINESS PAGE  */
.business-single {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}
.business-single header {
  text-align: center;
}
.business-logo {
  max-width: 120px;
  margin-bottom: 1rem;
}
.business-meta p {
  margin: 0.5rem 0;
}
.business-content {
  margin-top: 2rem;
  line-height: 1.6;
}
.business-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.share-facebook,
.return-category {
  background: #4267B2;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
}
.return-category {
  background: #555;
}
.share-facebook:hover,
.return-category:hover {
  opacity: 0.85;
}


/* BUSINESS SEARCH FORM  */
.business-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: center;
}
.business-search-form label {
  font-weight: bold;
}
.business-search-form input[type="search"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.business-search-form button {
  padding: 0.5rem 1rem;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.business-search-form button:hover {
  background-color: #005f8d;
}