.cp-section-hero {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cp-section-hero-container {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.cp-section-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.cp-section-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.cp-section-menu-scroll {
  position: relative;
}

.cp-section-menu-inner {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.cp-section-menu-inner::-webkit-scrollbar {
  display: none;
}

.cp-section-menu-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 40px;
  padding: 0;
  border: 0;
  background: #ffffff;
  color: #122f67;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.cp-section-menu-arrow[hidden] {
  display: none;
}

.cp-section-menu-arrow:hover,
.cp-section-menu-arrow:focus-visible {
  background: #122f67;
  color: #ffffff;
}

.cp-section-menu-arrow--prev {
  left: 0;
}

.cp-section-menu-arrow--next {
  right: 0;
}

.cp-section-menu-link {
  flex: 1;
  min-width: 160px;
  min-height: 50px;
  padding: 0 16px;
  overflow: hidden;
  background: transparent;
  color: #122f67;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.cp-section-menu-link span {
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.cp-section-menu-link:hover,
.cp-section-menu-link.active {
  background: #ffffff;
  color: #122f67;
  text-decoration: none;
}

.cp-section-mobile-menu {
  display: none;
}

.cp-section-breadcrumbs {
  margin-top: 30px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
}

.cp-section-breadcrumbs a {
  color: #2b2b29;
  font-size: 14px;
  font-weight: 400;
}

.cp-section-breadcrumbs a:hover {
  color: #4090ae;
  text-decoration: underline;
}

.cp-section-breadcrumbs .breadcrumb-separator {
  color: #2b2b29;
}

.cp-section-breadcrumbs .breadcrumb-current {
  color: #4090ae;
  font-weight: 600;
}

.cp-section-main {
  padding-bottom: 3rem;
}

.cp-section-page-title,
.visitor-main .visitor-page-title {
  margin-bottom: 50px;
  color: #122f67;
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 600;
}

.cp-section-block-title {
  margin-bottom: 30px;
  color: #122f67;
  font-size: 22px;
  font-weight: 600;
}

.cp-section-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 45px;
  align-items: start;
}

.cp-section-detail-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.cp-section-detail-main-column {
  min-width: 0;
}

.cp-section-detail-sidebar {
  position: sticky;
  top: 130px;
}

.cp-section-featured-image {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.cp-section-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cp-section-full-width-blocks {
  margin-top: 1rem;
}

.cp-block {
  margin-bottom: 30px;
}

.cp-section-wysiwyg {
  display: flow-root;
  color: #000000;
  font-size: 16px;
  line-height: 1.6;
}

.cp-section-wysiwyg p {
  color: #000000;
  font-size: 16px;
  line-height: 1.6;
}

.cp-section-wysiwyg p:last-child {
  margin-bottom: 0;
}

.cp-section-wysiwyg img.alignleft,
.cp-section-wysiwyg img.alignright {
  width: min(370px, 100%);
  height: auto;
  border-radius: 8px;
}

.cp-section-wysiwyg img.alignleft {
  float: left;
  margin: 0 30px 20px 0;
}

.cp-section-wysiwyg img.alignright {
  float: right;
  margin: 0 0 20px 30px;
}

.cp-map-embed {
  width: 100%;
  overflow: hidden;
}

.cp-map-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.visitor-cards-grid {
  max-width: 1400px;
}

.visitor-card-with-icon {
  max-width: 280px !important;
  padding: 0 !important;
  overflow: hidden;
  background: #e5f3f8;
  border-radius: 10px;
  box-shadow: 0 2px 4px #00000029;
  transition: opacity 0.25s ease;
}

.visitor-card-with-icon-link {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.visitor-card-with-icon-top {
  width: 100%;
  flex: 1;
  min-height: 180px;
  background: #e5f3f8;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.visitor-card-with-icon-top h3 {
  width: 90%;
  min-height: 70px;
  margin: 0;
  color: #4090ae;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  transition: color 0.25s ease;
}

.visitor-card-icon {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.visitor-card-with-icon:hover {
  opacity: 0.7;
}

.visitor-card-with-icon:hover .visitor-card-with-icon-top h3 {
  color: #122f67;
}

.visitor-category-download a {
  color: #122f67;
  font-size: 16px;
  font-weight: 600;
}

.visitor-image-grid,
.cp-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-items: center;
  gap: 2.5rem;
}

.visitor-image-card,
.cp-image-card {
  position: relative;
  width: 100%;
  max-width: 550px;
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
}

.visitor-image-card-overlay,
.cp-image-card-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.visitor-image-card:hover .visitor-image-card-overlay,
.cp-image-card:hover .cp-image-card-overlay {
  opacity: 0.8;
}

.visitor-image-grid h3,
.cp-image-grid h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 25px 15px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.cp-sub-tab-panel[hidden] {
  display: none !important;
}

.cp-sub-tab {
  padding: 10px 30px;
  border: 1px solid #3d5b63;
  border-radius: 8px;
  background: #e5f3f8;
  color: #3d5b63;
  font-size: 14px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
  text-transform: uppercase;
}

.cp-sub-tab.active {
  background: #3d5b63;
  color: #ffffff;
}

.cp-sub-tab:hover {
  opacity: 0.8;
}

.cp-sub-tab.active:hover {
  opacity: 1;
}

.cp-info-card,
.cp-quote-card {
  padding: 25px 12px;
  background: #e5f3f8;
  border-radius: 8px;
}

.cp-info-card h3 {
  margin: 0 0 30px;
  color: #272727;
  font-size: 20px;
  font-weight: 500;
}

.cp-info-row,
.cp-quote-card {
  color: #3b3b3a;
  font-size: 14px;
  line-height: 1.6;
}

.cp-info-row strong,
.cp-info-row span {
  display: block;
}

.cp-info-card-link {
  color: #122f67;
  font-size: 16px;
  font-weight: 700;
}

.cp-quote-card-content p {
  margin: 0;
  color: #3b3b3a;
  font-size: 14px;
  line-height: 1.65;
}

.cp-quote-card-content p:last-child {
  margin-bottom: 0;
}

.cp-quote-card-content p:first-child::before {
  content: '”';
  margin-right: 8px;
  color: #8c2f7a;
  font-size: 40px;
  font-weight: 700;
  line-height: 0;
  vertical-align: -10px;
}

.cp-quote-card-content p:last-child::after {
  content: '”';
  display: inline-block;
  margin-left: 8px;
  color: #8c2f7a;
  font-size: 40px;
  font-weight: 700;
  line-height: 0;
  vertical-align: -4px;
  transform: rotate(180deg);
}

.cp-read-more-full {
  max-height: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition:
    max-height 0.75s ease,
    transform 0.3s ease;
}

.cp-read-more-full.is-open {
  transform: translateY(0);
}

.cp-read-more-toggle {
  margin-top: 2rem;
  border: 0;
  background: transparent;
  color: #122f67;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.cp-read-more-toggle i {
  transition: transform 0.25s ease;
}

.cp-read-more-toggle.active i {
  transform: rotate(180deg);
}

.cp-accordion-item {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e5f3f8;
  border-radius: 8px;
  background: transparent;
  transition: border 0.3s ease;
}

.cp-accordion-item.active {
  border-color: #122f67;
}

.cp-accordion-title {
  width: 100%;
  padding: 15px 30px 15px 20px;
  border: 1px solid #e5f3f8;
  background: #e5f3f8;
  color: #3b3b3a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: border-bottom 0.3s ease;
}

.cp-accordion-item.active .cp-accordion-title {
  border-bottom-color: #122f67;
}

.cp-accordion-title i {
  transition: transform 0.3s ease;
}

.cp-accordion-item.active .cp-accordion-title i {
  transform: rotate(90deg);
}

.cp-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: transparent;
  transform: translateY(-6px);
  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cp-accordion-content.is-open {
  opacity: 1;
  transform: translateY(0);
}

.cp-accordion-content-inner {
  padding: 25px 35px;
  color: #000000;
  line-height: 1.6;
}

.cp-gallery-wrapper {
  position: relative;
}

.cp-gallery-slider {
  width: 100%;
}

.cp-gallery-slider .slick-list {
  margin: 0 60px;
}

.cp-gallery-slider .slick-track {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.cp-gallery-slide img {
  width: 100%;
  height: 220px;
  min-height: 220px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.cp-gallery-lightbox-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  cursor: zoom-in;
}

.cp-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #e5f3f8;
  color: #4090ae;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.cp-gallery-arrow i {
  font-size: 28px;
}

.cp-gallery-prev {
  left: 0;
}

.cp-gallery-next {
  right: 0;
}

.cp-gallery-arrow:hover {
  background: #4090ae;
  color: #ffffff;
}

.cp-gallery-arrow.slick-disabled {
  background: #ededed;
  color: #a4a4a4;
  cursor: not-allowed !important;
  opacity: 1;
}

.cp-gallery-lightbox,
.cp-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 35px;
  display: none;
  align-items: center;
  justify-content: center;
}

.cp-gallery-lightbox.active,
.cp-video-modal.active {
  display: flex;
}

.cp-gallery-lightbox-backdrop,
.cp-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.cp-gallery-lightbox-content,
.cp-video-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1050px);
  max-width: 1100px;
  max-height: 88vh;
}

.cp-gallery-lightbox-content img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.cp-gallery-lightbox-close,
.cp-video-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #122f67;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cp-gallery-lightbox-close i,
.cp-video-close i {
  font-size: 24px;
}

.cp-gallery-lightbox-close:hover,
.cp-video-close:hover {
  opacity: 0.8;
}

body.cp-modal-open {
  overflow: hidden;
}

.cp-static-gallery {
  display: grid;
  gap: 24px;
}

.cp-static-gallery--columns-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.cp-static-gallery--columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-static-gallery--columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cp-static-gallery--columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cp-static-gallery--columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cp-static-gallery-item {
  position: relative;
  width: 100%;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: transparent;
  display: block;
  cursor: zoom-in;
}

.cp-static-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cp-static-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 47, 103, 0);
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.cp-static-gallery-item:hover img {
  transform: scale(1.04);
}

.cp-static-gallery-item:hover::after {
  background: rgba(18, 47, 103, 0.18);
}

.cp-media-text-inner {
  display: grid;
  grid-template-columns: minmax(240px, 410px) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.cp-media-text--right .cp-media-text-image {
  order: 2;
}

.cp-media-text--right .cp-media-text-content {
  order: 1;
}

.cp-media-text-image img {
  width: 100%;
  height: auto;
  max-height: 350px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.cp-news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.cp-news-card {
  width: fit-content;
  overflow: hidden;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 4px #00000029;
  transition: opacity 0.25s ease;
}

.cp-news-card:hover {
  opacity: 0.75;
}

.cp-news-card a {
  min-height: 370px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.cp-news-card > a > img {
  width: 100%;
  height: 160px;
  display: block;
  object-fit: cover;
}

.cp-news-card-body {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

.cp-news-card time {
  margin-bottom: 10px;
  color: #709149;
  font-size: 14px;
  line-height: 1.2;
}

.cp-news-card h4 {
  min-height: 0;
  margin: 0;
  color: #272727;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
}

.cp-news-card p {
  min-height: 0;
  margin: 40px 0 20px;
  color: #7c7c7c;
  font-size: 14px;
  line-height: 1.5;
}

.cp-news-card span {
  margin-top: auto;
  align-self: flex-end;
  color: #122f67;
  font-size: 14px;
  font-weight: 500;
}

.cp-video-trigger {
  position: relative;
  width: min(560px, 100%);
  min-height: 280px;
  margin: 0 auto;
  border: 0;
  border-radius: 4px;
  background-color: #d8d8d8;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-video-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}

.cp-video-play {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  padding-left: 5px;
  border-radius: 50%;
  background: #ffffff;
  color: #3b3b3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.cp-video-content iframe,
.cp-video-content video {
  width: 100%;
  height: auto;
  max-height: 82vh;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000000;
}

.cp-document-list-items {
  width: 100%;
}

.cp-document-list-item {
  padding: 18px 10px;
  border-bottom: 1px solid #dbdbdb;
  position: relative;
}

.cp-document-list-item h4 {
  margin: 0 0 8px;
  padding-left: 0.3rem;
  color: #000000;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}

.cp-document-list-item h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 30px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background-color: #1c5895;
}
.cp-document-list-item a {
  padding-left: 0.3rem;
  color: #1c5895;
  font-size: 14px;
  font-weight: 500;
}

.cp-content-section--dimotis .cp-section-block-title,
.cp-content-section--municipality .cp-section-block-title {
  margin-bottom: 35px;
  color: #122f67;
  font-size: 22px;
  font-weight: 600;
}

.cp-content-section--dimotis .cp-related-posts,
.cp-content-section--municipality .cp-related-posts,
.cp-content-section--dimotis .cp-gallery-section,
.cp-content-section--municipality .cp-gallery-section,
.cp-content-section--dimotis .cp-video-section,
.cp-content-section--municipality .cp-video-section,
.cp-content-section--dimotis .cp-accordion-section,
.cp-content-section--municipality .cp-accordion-section,
.cp-content-section--dimotis .cp-rich-text,
.cp-content-section--municipality .cp-rich-text,
.cp-content-section--dimotis .cp-document-list,
.cp-content-section--municipality .cp-document-list {
  margin-bottom: 5rem;
}

.cp-content-section--dimotis .cp-media-text,
.cp-content-section--municipality .cp-media-text {
  margin-bottom: 4.5rem;
}

.cp-content-section--dimotis .cp-gallery-wrapper,
.cp-content-section--municipality .cp-gallery-wrapper {
  margin-top: 3rem;
}

.cp-content-section--dimotis .cp-gallery-slider .slick-list,
.cp-content-section--municipality .cp-gallery-slider .slick-list {
  margin: 0 75px;
}

.cp-content-section--dimotis .cp-video-trigger,
.cp-content-section--municipality .cp-video-trigger {
  margin-top: 3rem;
}

.cp-content-section--dimotis .cp-accordion,
.cp-content-section--municipality .cp-accordion {
  width: min(780px, 100%);
  margin: 0 auto;
}

.cp-content-section--dimotis .cp-accordion-item,
.cp-content-section--municipality .cp-accordion-item {
  margin-bottom: 0;
  border: 0;
  border-radius: 5px;
  background: #f4f4f4;
}

.cp-content-section--dimotis .cp-accordion-title,
.cp-content-section--municipality .cp-accordion-title {
  min-height: 62px;
  padding: 15px 28px;
  border: 0;
  background: #f4f4f4;
  color: #122f67;
  font-size: 16px;
  font-weight: 800;
}

/* Current global markup uses chevron-right.
   Make it look like the old municipality chevron-down. */
.cp-content-section--dimotis .cp-accordion-title i,
.cp-content-section--municipality .cp-accordion-title i {
  transform: rotate(90deg);
}

.cp-content-section--dimotis .cp-accordion-item.active .cp-accordion-title i,
.cp-content-section--municipality
  .cp-accordion-item.active
  .cp-accordion-title
  i {
  transform: rotate(-90deg);
}

.cp-content-section--dimotis .cp-accordion-content-inner,
.cp-content-section--municipality .cp-accordion-content-inner {
  padding: 20px 28px 30px;
}

.cp-content-section--dimotis .cp-read-more-toggle,
.cp-content-section--municipality .cp-read-more-toggle {
  margin-top: 20px;
  font-weight: 800;
}

@media screen and (max-width: 1399px) {
  .cp-section-menu-scroll {
    display: none;
  }

  .cp-section-mobile-menu {
    position: relative;
    z-index: 100;
    width: min(420px, 95%);
    margin: 0 auto;
    display: block;
  }

  .cp-content-section--visitor .cp-section-mobile-menu {
    width: min(400px, 95%);
  }

  .cp-section-mobile-toggle {
    width: 100%;
    min-height: 48px;
    padding: 10px 15px;
    border: 0;
    border-bottom: 2px solid #122f67;
    background: #ffffff;
    color: #122f67;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  .cp-content-section--dimotis .cp-section-mobile-toggle,
  .cp-content-section--municipality .cp-section-mobile-toggle {
    font-size: 16px;
    font-weight: 800;
  }

  .cp-section-mobile-toggle i {
    color: #122f67;
    font-size: 16px;
    transition: transform 0.25s ease;
  }

  .cp-section-mobile-toggle:hover,
  .cp-section-mobile-toggle:hover i {
    color: #4090ae;
  }

  .cp-section-mobile-menu.is-open .cp-section-mobile-toggle i {
    transform: rotate(90deg);
  }

  .cp-section-mobile-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    transition: max-height 0.25s ease;
  }

  .cp-section-mobile-menu.is-open .cp-section-mobile-dropdown {
    max-height: 320px;
    overflow-y: auto;
  }

  .cp-section-mobile-link {
    min-height: 42px;
    padding: 10px 15px;
    border-bottom: 1px solid #a1a1a1;
    background: #ffffff;
    color: #4090ae;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
  }

  .cp-content-section--dimotis .cp-section-mobile-link,
  .cp-content-section--municipality .cp-section-mobile-link {
    padding: 13px 15px;
    border-bottom-color: #dddddd;
    font-weight: 700;
  }

  .cp-section-mobile-link:last-child {
    border-bottom: 0;
  }

  .cp-section-mobile-link:hover {
    background: #e5f7fb;
    color: #4090ae;
    text-decoration: none;
  }
}

@media screen and (max-width: 991px) {
  .cp-section-detail-layout.has-sidebar {
    grid-template-columns: 1fr;
  }

  .cp-section-detail-sidebar {
    position: static;
    max-width: 100%;
  }

  .cp-gallery-slider .slick-list,
  .cp-content-section--dimotis .cp-gallery-slider .slick-list,
  .cp-content-section--municipality .cp-gallery-slider .slick-list {
    margin: 0 40px;
  }

  .cp-static-gallery--columns-3,
  .cp-static-gallery--columns-4,
  .cp-static-gallery--columns-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-media-text-inner {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  .cp-section-hero,
  .cp-section-hero-container {
    min-height: 180px;
  }

  .cp-content-section--visitor .cp-section-hero,
  .cp-content-section--visitor .cp-section-hero-container {
    min-height: 150px;
  }

  .cp-section-wysiwyg img.alignleft,
  .cp-section-wysiwyg img.alignright {
    float: none;
    display: block;
    margin: 0 auto 25px;
  }

  .cp-gallery-arrow {
    width: 42px;
    height: 42px;
  }

  .cp-gallery-arrow i {
    font-size: 22px;
  }

  .cp-content-section--dimotis .cp-gallery-slider .slick-list,
  .cp-content-section--municipality .cp-gallery-slider .slick-list {
    margin: 0 45px;
  }

  .cp-video-trigger {
    min-height: 210px;
  }

  .cp-media-text-inner {
    grid-template-columns: 1fr;
  }

  .cp-media-text--right .cp-media-text-image,
  .cp-media-text--right .cp-media-text-content {
    order: initial;
  }

  .visitor-image-grid,
  .cp-image-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 575px) {
  .cp-gallery-lightbox,
  .cp-video-modal {
    padding: 20px;
  }

  .cp-gallery-lightbox-close,
  .cp-video-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .cp-gallery-lightbox-content img {
    max-height: 78vh;
  }

  .cp-static-gallery,
  .cp-static-gallery--columns-2,
  .cp-static-gallery--columns-3,
  .cp-static-gallery--columns-4,
  .cp-static-gallery--columns-5 {
    grid-template-columns: 1fr;
  }

  .visitor-card-with-icon {
    max-width: 100% !important;
  }
}

.cp-document-search-list {
  margin-bottom: 6rem;
}

.cp-document-search-list__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.cp-document-search-list__search-wrap {
  width: 100%;
  max-width: 320px;
}

.cp-document-search-list__label {
  display: block;
  margin-bottom: 0.3rem;
  margin-left: 0.5rem;
  font-weight: 600;
  color: #000000;
}

.cp-document-search-list__search {
  width: 100%;
  height: 36px;
  padding: 0 1rem;
  border: 1px solid #122f67;
  border-radius: 18px;
  outline: none;
}

.cp-document-search-list__search:focus {
  border-color: #223b70;
}

.cp-document-search-list__title {
  margin: 0;
  padding: 15px 20px;
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.cp-document-search-list__meta {
  margin-bottom: 1rem;
  color: #7d7d7d;
  font-size: 0.95rem;
}

.cp-document-search-list__table-wrap {
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.cp-document-search-list__table {
  display: flex;
  flex-direction: column;
}

.cp-document-search-list__row {
  display: block;
  padding: 0.95rem 1rem;
  color: #333;
  text-decoration: none;
  background: #f5f5f5;
  border-top: 1px solid #dbdbdb;
  transition: background 0.2s ease;
}

.cp-document-search-list__row.is-even {
  background: transparent;
}

.cp-document-search-list__row:hover {
  background: #e8edf8;
  color: #1f2f5c;
  text-decoration: none;
}

.cp-document-search-list__row:last-child {
  border-bottom: 0;
}

.cp-document-search-list__row-title {
  display: block;
  line-height: 1.45;
  font-weight: 500;
}

.cp-document-search-list__empty {
  margin-top: 1rem;
  color: #666;
}

.cp-document-search-list__pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cp-document-search-list__page-item {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.cp-document-search-list__page-btn {
  min-width: auto;
  height: auto;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #7e8d5d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.cp-document-search-list__page-btn--arrow {
  padding: 4px 5px;
  font-size: 22px;
}

.cp-document-search-list__page-btn--number:hover,
.cp-document-search-list__page-btn--number.is-active {
  color: #cbcbcb;
}

.cp-document-search-list__page-btn.is-active {
  font-weight: 700;
}

.cp-document-search-list__page-separator {
  color: #7e8d5d;
  font-size: 16px;
  line-height: 1;
}

.cp-document-search-list__page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 767px) {
  .cp-document-search-list__toolbar {
    justify-content: flex-start;
  }

  .cp-document-search-list__search-wrap {
    max-width: none;
  }

  .cp-document-search-list__pagination {
    justify-content: center;
  }
}

.cp-document-year-filter-list {
  margin: 1rem 0 6rem 0;
}

.cp-document-year-filter-list__toolbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.cp-document-year-filter-list__filter {
  width: 100%;
  max-width: 170px;
}

.cp-document-year-filter-list__label {
  display: block;
  margin-bottom: 10px;
  color: #555555;
  font-size: 15px;
  font-weight: 700;
}

.cp-document-year-filter-list__select {
  width: 100%;
  padding: 8px 30px 8px 8px;
  border: 0;
  border-bottom: 3px solid #d1d1d1;
  border-radius: 0;
  background-color: #ffffff;
  color: #666666;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.cp-document-year-filter-list__select:focus {
  border-bottom-color: #122f67;
}

.cp-document-year-filter-list__table-wrap {
  overflow: hidden;
  border: 1px solid #dbdbdb;
  border-radius: 5px;
  background: #ffffff;
}

.cp-document-year-filter-list__title {
  margin: 0;
  padding: 15px 20px;
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.cp-document-year-filter-list__table {
  display: flex;
  flex-direction: column;
}

.cp-document-year-filter-list__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 54px;
  border-top: 1px solid #dbdbdb;
  background: #f5f5f5;
  color: #000000;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.cp-document-year-filter-list__row:last-child {
  border-bottom: 0;
}

.cp-document-year-filter-list__row.is-even {
  background: transparent;
}

.cp-document-year-filter-list__row:hover {
  background: #e7edf7;
  color: #122f67;
  text-decoration: none;
}

.cp-document-year-filter-list__year {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-right: 1px solid #dddddd;
  font-weight: 700;
}

.cp-document-year-filter-list__row-title {
  display: flex;
  align-items: center;
  padding: 12px 22px;
  font-weight: 500;
  line-height: 1.45;
}

.cp-document-year-filter-list__empty {
  margin-top: 18px;
  color: #666666;
  font-size: 15px;
}

@media screen and (max-width: 767px) {
  .cp-document-year-filter-list__filter {
    max-width: 100%;
  }

  .cp-document-year-filter-list__row {
    grid-template-columns: 70px 1fr;
  }

  .cp-document-year-filter-list__year {
    padding: 12px 10px;
  }

  .cp-document-year-filter-list__row-title {
    padding: 12px 14px;
  }

  .cp-document-year-filter-list__title {
    font-size: 16px;
  }
}

/* =========================================================
   COMMUNITIES MAP + TABLE  (block: communities_map_table)
   ========================================================= */

.cp-communities-map-table {
  margin-bottom: 6rem;
}

.cp-communities-map-table__map-title {
  margin-bottom: 1rem;
}

/*
 * Ο χάρτης είναι εικόνα με hotspots τοποθετημένα σε ποσοστά, οπότε το
 * wrapper πρέπει να ακολουθεί ακριβώς τις διαστάσεις της εικόνας.
 */
/*
 * Ο χάρτης είναι 4:3 -- σε πλάτος container (1140px) θα έπιανε ~855px ύψος
 * και θα έσπρωχνε τον πίνακα εκτός οθόνης, οπότε περιορίζεται και κεντράρεται.
 */
.cp-communities-map-table__map {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.cp-communities-map-table__map-image {
  display: block;
  width: 100%;
  height: auto;
}

.cp-communities-map-table__hotspot {
  position: absolute;
  z-index: 1;
  width: 26px;
  height: 26px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #122f67;
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.cp-communities-map-table__hotspot:hover,
.cp-communities-map-table__hotspot:focus-visible,
.cp-communities-map-table__hotspot.is-open {
  z-index: 3;
  background: #c8102e;
  outline: none;
  transform: translate(-50%, -50%) scale(1.15);
}

.cp-communities-map-table__hotspot-number {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.cp-communities-map-table__hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 4;
  min-width: 130px;
  max-width: 220px;
  padding: 7px 12px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: #122f67;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}

.cp-communities-map-table__hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #122f67;
}

.cp-communities-map-table__hotspot:hover
  .cp-communities-map-table__hotspot-tooltip,
.cp-communities-map-table__hotspot:focus-visible
  .cp-communities-map-table__hotspot-tooltip,
.cp-communities-map-table__hotspot.is-open
  .cp-communities-map-table__hotspot-tooltip {
  opacity: 1;
  visibility: visible;
}

/*
 * Ο πίνακας ακολουθεί ακριβώς το styling του τηλεφωνικού καταλόγου
 * (assets/css/templates/phone-book.css) ώστε οι δύο πίνακες του site να
 * διαβάζονται ως ένα πράγμα.
 */
.cp-communities-map-table__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 20px;
}

.cp-communities-map-table__count {
  color: #777777;
  font-size: 15px;
}

.cp-communities-map-table__search-wrap {
  width: 100%;
  max-width: 320px;
}

.cp-communities-map-table__search-label {
  display: block;
  margin-bottom: 8px;
  color: #303030;
  font-size: 15px;
  font-weight: 600;
}

.cp-communities-map-table__search {
  width: 100%;
  height: 36px;
  padding: 0 16px;
  border: 2px solid #a5b1c9;
  border-radius: 24px;
  background: #ffffff;
  color: #333333;
  outline: none;
}

.cp-communities-map-table__search:focus {
  border-color: #122f67;
}

.cp-communities-map-table__table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #dddddd;
  border-radius: 5px;
  background: #ffffff;
}

.cp-communities-map-table__table {
  width: 100%;
  min-width: 780px;
  margin: 0;
  table-layout: fixed;
}

.cp-communities-map-table__table th,
.cp-communities-map-table__table td {
  padding: 14px 12px;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  color: #000000;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.cp-communities-map-table__table td {
  font-size: 13px;
}

.cp-communities-map-table__table th:last-child,
.cp-communities-map-table__table td:last-child {
  border-right: 0;
}

.cp-communities-map-table__table tbody tr:last-child td {
  border-bottom: 0;
}

.cp-communities-map-table__table th {
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.cp-communities-map-table__table th[data-role='sort'] {
  padding: 0;
}

.cp-communities-map-table__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.cp-communities-map-table__sort:hover {
  color: #122f67;
}

.cp-communities-map-table__sort-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Τρίγωνο σε CSS borders: κάτω = φθίνουσα, πάνω = αύξουσα. */
.cp-communities-map-table__sort-icon {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: 0.18;
  transition: opacity 0.15s ease;
}

.cp-communities-map-table__sort:hover .cp-communities-map-table__sort-icon,
.cp-communities-map-table__sort:focus-visible
  .cp-communities-map-table__sort-icon {
  opacity: 0.5;
}

.cp-communities-map-table__table
  th.is-sorted-asc
  .cp-communities-map-table__sort-icon {
  border-top: 0;
  border-bottom: 5px solid currentColor;
  opacity: 1;
}

.cp-communities-map-table__table
  th.is-sorted-desc
  .cp-communities-map-table__sort-icon {
  opacity: 1;
}

.cp-communities-map-table__table th.is-sorted-asc,
.cp-communities-map-table__table th.is-sorted-desc {
  color: #122f67;
}

.cp-communities-map-table__table tbody tr {
  background: #f5f5f5;
  transition: background 0.2s ease;
}

.cp-communities-map-table__table tbody tr.is-even {
  background: #ffffff;
}

.cp-communities-map-table__table tbody tr:hover {
  background: #e8edf7;
}

.cp-communities-map-table__table a {
  color: #000000;
  font-size: 13px;
  text-decoration: none;
}

.cp-communities-map-table__table a:hover {
  text-decoration: underline;
}

.cp-communities-map-table__contact-line
  + .cp-communities-map-table__contact-line {
  margin-top: 5px;
}

.cp-communities-map-table__col-name {
  width: 24%;
}

.cp-communities-map-table__col-president {
  width: 26%;
}

.cp-communities-map-table__col-email {
  width: 32%;
}

.cp-communities-map-table__col-phone {
  width: 18%;
}

.cp-communities-map-table__empty {
  margin-top: 20px;
  color: #3f3f3f;
  font-size: 15px;
}

.cp-communities-map-table [hidden] {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .cp-communities-map-table__hotspot {
    width: 20px;
    height: 20px;
  }

  .cp-communities-map-table__hotspot-number {
    font-size: 10px;
    line-height: 16px;
  }

  .cp-communities-map-table__toolbar {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 18px;
  }

  .cp-communities-map-table__search-wrap {
    max-width: none;
  }
}
