/* ── GLOBAL FONTS ── */
body,
p, a, li, td, th, input, textarea, select, button, label {
  font-family: 'Barlow', sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.article-card__title,
.event-card__name,
.contact-info-card__heading,
.contact-form-section__title,
.c-nav .c-nav__list a,
.eb-event-btn-primary,
.eb-event-btn-ghost,
.article-card__readmore,
.contact-btn-send,
.event-card__status,
.article-card__category,
.c-footer .footer1 a,
.footer-copyright p {
  font-family: 'Barlow Condensed', sans-serif !important;
}

/* ── MOBILE NAV OVERLAY ── */
.c-nav {
  background: #1A2E35 !important;
}
.c-nav__link,
.c-nav .c-nav__list a {
  color: #fff !important;
}
.c-nav__link:hover,
.c-nav .c-nav__list a:hover {
  color: #F0A050 !important;
}
.c-nav__sublink,
.c-nav .nav-child a {
  color: #C8CDD0 !important;
}
.c-nav__sublink:hover,
.c-nav .nav-child a:hover {
  color: #F0A050 !important;
}
.c-nav__close i {
  color: #fff !important;
}

/* ── ARTICLES GRID ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.article-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(21,31,34,.07);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: 0 6px 20px rgba(21,31,34,.14);
  transform: translateY(-3px);
}

.article-card__image {
  position: relative;
  overflow: hidden;
}
.article-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.article-card:hover .article-card__image img {
  transform: scale(1.03);
}

.article-card__date {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #1A2E35;
  color: #fff;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.article-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  display: inline-block;
  align-self: flex-start;
  background: #2A4A52;
  color: #fff;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.article-card__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #1A2E35;
  margin-bottom: 10px;
}
.article-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.article-card__title a:hover {
  color: #E05C2A;
}

.article-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #5A5E60;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__excerpt p { margin: 0; }
.article-card__excerpt img { display: none; }

.article-card__readmore {
  display: inline-block;
  align-self: flex-start;
  color: #E05C2A;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(224, 92, 42, 0.3);
  transition: border-color .2s, color .2s;
  margin-top: auto;
}
.article-card__readmore:hover {
  color: #c44d20;
  border-bottom-color: #c44d20;
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* ── EVENTS GRID ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.event-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(21,31,34,.07);
  border-left: 4px solid #E05C2A;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  box-shadow: 0 6px 20px rgba(21,31,34,.13);
  transform: translateY(-2px);
}

.event-card__status {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.event-card__status--open   { background: rgba(224,92,42,.12); color: #E05C2A; }
.event-card__status--soon   { background: rgba(240,160,80,.15); color: #B87A20; }
.event-card__status--closed { background: rgba(42,74,82,.1); color: #2A4A52; }

.event-card__name {
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: #1A2E35;
  line-height: 1.2;
  margin-bottom: 12px;
}
.event-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.event-card__name a:hover { color: #E05C2A; }

.event-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #2A4A52;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E5E8E9;
}
.event-card__date svg {
  width: 16px;
  height: 16px;
  fill: #2A4A52;
  flex-shrink: 0;
}

.event-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #5A5E60;
  margin-bottom: 20px;
  flex: 1;
}
.event-card__desc p { margin-bottom: 4px; }

.event-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.eb-event-btn-primary {
  display: inline-block;
  background: #E05C2A;
  color: #fff;
  padding: 8px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 2px solid #E05C2A;
  transition: all .2s;
}
.eb-event-btn-primary:hover {
  background: #1A2E35;
  border-color: #1A2E35;
  color: #F0A050;
}

.eb-event-btn-ghost {
  display: inline-block;
  background: transparent;
  color: #E05C2A;
  padding: 8px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 2px solid #E05C2A;
  transition: all .2s;
}
.eb-event-btn-ghost:hover {
  background: #E05C2A;
  color: #fff;
}

@media (max-width: 700px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.c-footer {
  background: #151F22;
  padding: 3rem 2rem 2rem;
  margin-top: 0;
}
.c-footer > .container,
.c-footer > .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.c-footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
}

/* Hide empty positions */
.c-footer .footer2,
.c-footer .footer3 {
  display: none;
}

/* Social column (left) */
.c-footer .footer1 {
  flex: 0 0 auto;
  width: auto;
  padding: 0;
  float: none;
}
.c-footer .footer1 h3 {
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: #F0A050;
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: normal;
}
.c-footer .footer1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-footer .footer1 li {
  margin-bottom: 5px;
}
.c-footer .footer1 a {
  color: #C8CDD0;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .2s;
}
.c-footer .footer1 a::before{
  content: '' !important;
}
.c-footer .footer1 a:hover {
  color: #F0A050;
}

/* Brand column (right) */
.c-footer .footer4 {
  flex: 0 0 auto;
  width: auto;
  text-align: right;
  padding: 0;
  float: none;
  margin-left: auto;
}
.c-footer .footer4 img {
  display: block;
  margin-left: auto;
  max-height: 70px;
  width: auto;
  margin-bottom: 6px;
}
.c-footer .footer4 .footer-tagline {
  color: #F0A050;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 18px;
}
.c-footer .footer4 .footer-crafted {
  color: #C8CDD0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.c-footer .footer4 a img {
  max-height: 30px;
  margin-left: auto;
  margin-bottom: 0;
}


/* Copyright bar — inside .c-footer > .container, matching demo .footer-bottom */
.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2A4A52;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright p {
  color: rgba(200, 205, 208, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
}
.footer-copyright a {
  color: rgba(200, 205, 208, 0.5);
  text-decoration: none;
  transition: color .2s;
}
.footer-copyright a:hover {
  color: #F0A050;
}

/* Override any leftover aqmain c-footer rules */
.c-footer__logo-container { display: none; }
.c-footer__bottom { display: none; }

@media (max-width: 640px) {
  .c-footer .row { flex-direction: column; }
  .c-footer .footer4 { text-align: left; margin-left: 0; }
  .c-footer .footer4 img { margin-left: 0; }
}

/* ── PAGINATION ── */
.com-content-category-blog__pagination .pagination,
.pagination.pagination-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 2rem 0 1rem;
  padding: 0;
  list-style: none;
}
.com-content-category-blog__pagination .page-item,
.pagination.pagination-toolbar .page-item {
  margin: 0;
}
.com-content-category-blog__pagination .page-link,
.pagination.pagination-toolbar .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  background: #fff;
  color: #1A2E35;
  border: 1px solid #D0D4D6;
  box-shadow: none;
}
.com-content-category-blog__pagination .page-item.active .page-link,
.pagination.pagination-toolbar .page-item.active .page-link {
  background: #E05C2A;
  color: #fff;
  border-color: #E05C2A;
  pointer-events: none;
}
.com-content-category-blog__pagination .page-item.disabled .page-link,
.pagination.pagination-toolbar .page-item.disabled .page-link {
  background: #f5f5f5;
  color: #aaa;
  border-color: #e0e0e0;
  pointer-events: none;
}
.com-content-category-blog__pagination .page-link:hover,
.pagination.pagination-toolbar .page-link:hover {
  background: #1A2E35;
  color: #fff;
  border-color: #1A2E35;
}

/* ── CONTACT PAGE ── */
.contact h1,
.contact .page-header h1,
.contact .page-header h2 {
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  color: #1A1D1E;
  margin-bottom: 2rem;
  border: none;
  padding: 0;
}

.contact-map {
  width: 100%;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(21,31,34,.1);
  margin-bottom: 2rem;
  background: #D5D8DA;
}
.contact-map iframe,
.contact-map > div {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.contact-info-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(21,31,34,.06);
  border-top: 3px solid #E05C2A;
}
.contact-info-card__heading {
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: #1A2E35;
  margin-bottom: 12px;
}
.contact-info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #4A4E50;
  margin-bottom: 2px;
}
.contact-info-card a {
  color: #E05C2A;
  text-decoration: none;
  transition: color .2s;
}
.contact-info-card a:hover { color: #F0A050; }
.contact-vcard-link {
  display: inline-block;
  margin-top: 8px;
  color: #F0A050 !important;
  font-style: italic;
  font-size: 13px;
}

.contact-form-section {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(21,31,34,.06);
  margin-bottom: 2rem;
}
.contact-form-section__title {
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: #1A2E35;
  margin-bottom: 8px;
}
.contact-form-section__intro {
  font-size: 14px;
  color: #4A4E50;
  line-height: 1.6;
  margin-bottom: 12px;
}
.contact-form-section__intro a {
  color: #E05C2A;
  text-decoration: none;
  font-weight: 600;
}
.contact-form-section__required {
  font-size: 13px;
  font-style: italic;
  color: #2A4A52;
  margin-bottom: 24px;
}
.contact-form-section__footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E8E9;
  font-size: 13px;
  color: #4A4E50;
  line-height: 1.6;
}
.contact-form-section__footer a {
  color: #E05C2A;
  text-decoration: none;
  font-weight: 600;
}
.contact-form-section__footer a:hover {
  color: #F0A050;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.contact-form-row--full {
  grid-template-columns: 1fr;
}
.contact-form-group {
  display: flex;
  flex-direction: column;
}
.contact-form-group label,
#contact-form label.control-label,
#contact-form label {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #1A1D1E !important;
  margin-bottom: 5px !important;
  float: none !important;
  text-align: left !important;
  width: auto !important;
  padding: 0 !important;
}
#contact-form .form-control,
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  height: auto !important;
  padding: 12px 14px !important;
  border: 1px solid #D0D4D6 !important;
  border-radius: 4px !important;
  background-color: #EEF0EF !important;
  background-image: none !important;
  font-size: 14px !important;
  color: #1A1D1E !important;
  box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
#contact-form .form-control:focus,
#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
  outline: none !important;
  border-color: #2A4A52 !important;
  box-shadow: 0 0 0 3px rgba(42,74,82,.12) !important;
}
#contact-form textarea.form-control {
  min-height: 180px !important;
  resize: vertical;
}
.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.contact-captcha {
  flex-shrink: 0;
}
.contact-form-actions__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-email-copy-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1A1D1E;
  cursor: pointer;
}
.contact-btn-send {
  display: inline-block;
  background: #E05C2A !important;
  color: #fff !important;
  padding: 10px 28px;
  border: 2px solid #E05C2A !important;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  transition: all .2s;
}
.contact-btn-send:hover {
  background: #1A2E35 !important;
  border-color: #1A2E35 !important;
  color: #F0A050 !important;
}

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-map { height: 280px; }
  .contact-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-captcha {
    display: flex;
    justify-content: center;
  }
  .contact-form-actions__right {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-btn-send {
    width: 100%;
    text-align: center;
  }
}
