/* ── exact port of the Citicomm theme stylesheet ── */
:root {
  --blue: #2a97d1;
  --red: #e42c2a;
  --darkGray: #414042;
}

@font-face {
    font-family: 'helvetica_neue_lt_std45_light';
    src: url('/fonts/helveticaneueltstd-lt-webfont.woff2') format('woff2'),
         url('/fonts/helveticaneueltstd-lt-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    color: var(--darkGray);
}

a, button, .transition-all{
	transition: all .5s ease !important;
}

.pt-sans-regular {
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-bold {
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.bold-style{
    font-weight: 500;
}

.hero-header {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
    background-color: #102833;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wp-block-heading, .page-section p{
    margin: 1.5rem 0;
}

h2.wp-block-heading, h3.wp-block-heading{
    text-align: center;
}

#particles-js {
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
}

.hero-overlay, .highlights-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    background: rgba(16, 40, 51, 0.6);
}

.highlights-overlay{
    background: rgb(26 35 53 / 74%);
}

.red{
    color: var(--red);
}

.bg-red{
    background-color: var(--red);
}

.blue, .current_page_item .nav-link.active, .current-menu-parent .nav-link.active, .current-menu-parent .nav-link, .current_page_item .nav-link, .nav-link:hover, a, .accordion-button:not(.collapsed){
    color: var(--blue);
}

.bg-blue{
    background-color: var(--blue);
}

.text-dark-gray{
    color: var(--darkGray);
}

.btn.bg-blue:hover{
    background-color: var(--blue);
    opacity: 0.6;
}

.btn.bg-red:hover{
    background-color: var(--red);
    opacity: 0.6;
}

.icon{
    width: 210px;
    height: 113px;
    background: url("/img/shield-icon.svg") no-repeat;
    background-position: center;
}

.shield-icon{
    font-size: 3.5rem;
}

.highlight-image-card{
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.dropdown-menu{
    left: 0;
}

.hover-zoom{
    transition: transform 0.3s ease-in-out;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.feature-icon-small {
    width: 3rem;
    height: 3rem;
}

@media(min-width: 768px) {
  .dropdown-menu {
    margin-top: 0;
  }
}

.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover{
    background-color: inherit;
    color: var(--blue);
}

.breadcrumb-item:before {
    color: var(--red) !important;
}

.btn-breadcrumb .btn.btn-primary:hover:not(:last-child):after {
    border-left: 10px solid #286090;
}

.cssAnimate {
  opacity: 0;
}

.page-section a{
    text-decoration: none;
}

.flip-card{
    cursor: pointer;
    min-height: 320px;
}
.svc-tile-h{ font-size: clamp(1.05rem, 1.45vw, 1.45rem); white-space: nowrap; }
.card-cover .content{ min-height: 4.5em; }

.card-cover {
  position: relative;
  overflow: hidden;
    display: block;
}

.card-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100%;
    background-color: var(--red);
    transition: bottom 0.3s ease;
    z-index: 2;
}

.card-cover:hover::before {
    bottom: 0;
}

.card-cover .contentss{
    opacity: 0;
    visibility: hidden;
    height: 0;
 }

.card-cover:hover .content{
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.card-cover::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(26 35 53 / 74%);
}

.wp-block-image img{
    border: 2px solid var(--bs-gray-300);
    padding: 4px;
}

@media(max-width: 768px) {
  .shield-icon {
        font-size: 2rem;
    }
}

/* ── the only additions, both needed for static hosting ── */

/* background-attachment:fixed renders blank on iOS/touch browsers */
@media (hover: none), (pointer: coarse) {
  .hero-header { background-attachment: scroll; }
}

/* slideshow source images are narrow portraits of differing size */
.radio-carousel .carousel-item{ height: clamp(340px, 46vw, 520px); }
.radio-carousel .carousel-item img{
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    margin-inline: auto;
}

/* ── hero parallax ───────────────────────────────────────────────
   The photo drifts down as you scroll instead of sitting locked.
   js/hero.js drives --hero-y; --hero-x holds the focal-point crop
   that industry.css sets per breakpoint, so nothing is lost. */
.hero-header.parallax {
  background-attachment: scroll;
  background-position: var(--hero-x, center) calc(50% + var(--hero-y, 0px));
  will-change: background-position;
}
@media (prefers-reduced-motion: reduce) {
  .hero-header.parallax { background-position: var(--hero-x, center) center; }
}
