/*
  IMPORTANT:
  This stylesheet previously used global selectors like `span` and `.container`,
  which can unintentionally override the HTML5UP template layout and typography.

  Everything is now scoped under `.nhn-neighbors-css`.
  To use these styles, wrap the component in an element with class `nhn-neighbors-css`.
*/

.nhn-neighbors-css i {
    opacity: 0;
    font-size: 28px;
    color: #1F1E1E;
    will-change: transform;
    -webkit-transform: scale(.1);
            transform: scale(.1);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.nhn-neighbors-css .btn_wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow: hidden;
    cursor: pointer;
    width: 240px;
    height: 72px;
    background-color: #EEEEED;
    border-radius: 80px;
    padding: 0 18px;
    will-change: transform;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.nhn-neighbors-css .btn_wrap:hover {
    -webkit-transform: scale(1.1);
            transform: scale(1.1)
}

.nhn-neighbors-css .btn_label {
    position: absolute;
    z-index: 99;
    width: 240px;
    height: 72px;
    border-radius: 80px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    text-align: center;
    line-height: 70px;
    letter-spacing: 2px;
    color: #EEEEED;
    background-color: #1F1E1E;
    padding: 0 18px;
    -webkit-transition: all 1.2s ease;
    transition: all 1.2s ease;
}

.nhn-neighbors-css .icon_row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 240px;
    height: 64px;
    border-radius: 80px;
}

.nhn-neighbors-css .icon_row i:nth-of-type(1) {
            -webkit-transition-delay: 1.1s;
                    transition-delay: 1.1s;
}

.nhn-neighbors-css .icon_row i:nth-of-type(2) {
            -webkit-transition-delay: .9s;
                    transition-delay: .9s;
}

.nhn-neighbors-css .icon_row i:nth-of-type(3) {
            -webkit-transition-delay: .7s;
                    transition-delay: .7s;
}

.nhn-neighbors-css .icon_row i:nth-of-type(4) {
            -webkit-transition-delay: .4s;
                    transition-delay: .4s;
}

.nhn-neighbors-css .btn_wrap:hover .btn_label {
    -webkit-transition-delay: .25s;
            transition-delay: .25s;
    -webkit-transform: translateX(-280px);
            transform: translateX(-280px)
}

.nhn-neighbors-css .btn_wrap:hover i {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
}

.nhn-neighbors-css .dr {
  position: absolute;
  bottom: 16px; 
  right: 16px;
  width: 100px;
}

/* Global Smooth Scroll & Anchor Offsets */
html {
	scroll-behavior: smooth;
}

[id] {
	scroll-margin-top: 2rem;
}

/* Custom extracted utilities (replaces inline styles) */
.image-credit {
	font-size: 0.85em;
	color: #777;
	margin-top: -2.0em;
	margin-bottom: 2.0em;
	display: block;
}

.footer-donate-wrapper {
	margin-top: 1.5rem;
	text-align: center;
}

/* Partnerships Section Quick Sub-Nav */
.partnerships-subnav-box {
	padding: 1.25rem 1.5rem !important;
	text-align: center;
	margin-bottom: 2rem !important;
}

.partnerships-subnav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.subnav-link {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.1rem;
	background: rgba(0, 144, 197, 0.08);
	color: #0077a8 !important;
	border: 1px solid rgba(0, 144, 197, 0.25);
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.92em;
	text-decoration: none !important;
	transition: all 0.25s ease-in-out;
}

.subnav-link:hover,
.subnav-link:focus {
	background: #0090c5;
	color: #ffffff !important;
	border-color: #0090c5;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 144, 197, 0.25);
}

@media screen and (max-width: 736px) {
	.partnerships-subnav {
		gap: 0.5rem;
	}
	.subnav-link {
		padding: 0.4rem 0.85rem;
		font-size: 0.85em;
	}
}

/* Quote Callout */
.quote-callout {
	font-style: italic;
	border-left: 3px solid #0090c5;
	padding-left: 1rem;
	margin: 1.5rem 0;
	color: #444;
}

/* Spacing Helpers */
.mt-2 {
	margin-top: 2rem !important;
}

.mt-3 {
	margin-top: 3rem !important;
}

/* Full Width Section & Content Formatting */
.nhn-section {
	width: min(1100px, 92%) !important;
	margin: clamp(1.5rem, 5vh, 3.5rem) auto !important;
}

.nhn-section .row {
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.nhn-section .col-12 {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.nhn-section #content,
.nhn-section article,
.nhn-section section {
	width: 100% !important;
	display: block !important;
	clear: both !important;
}

.nhn-section p,
.nhn-section li,
.box p,
.box li,
article p {
	width: 100% !important;
	max-width: 100% !important;
	margin-bottom: 1.25em;
	text-align: left;
}

/* Explicit Footer & Footer Copyright Centering */
div#footer-section.footer-section.box.container {
	display: block !important;
	width: min(1100px, 92%) !important;
	margin: clamp(1.5rem, 5vh, 3.5rem) auto !important;
	text-align: center !important;
}

.footer-copyright {
	width: 100% !important;
	display: block !important;
	clear: both !important;
	text-align: center !important;
	margin: 2em auto 0 auto !important;
	padding-top: 1.5em !important;
	border-top: 1px solid rgba(52, 73, 94, 0.2) !important;
}

.footer-copyright p {
	width: 100% !important;
	text-align: center !important;
	margin: 0 auto !important;
	display: block !important;
}

/* Event Section Styling */
.event-badge {
	display: inline-block;
	background: #0090c5;
	color: #ffffff;
	font-size: 0.85em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0.35em 0.9em;
	border-radius: 50px;
	margin-bottom: 0.75em;
}

.event-subtitle {
	color: #0077a8 !important;
	font-size: 1.05em;
	margin-bottom: 0.5em !important;
}

.event-date {
	font-size: 1.15em;
	color: #2c3e50 !important;
	margin-bottom: 1.25em !important;
}

.event-date i {
	color: #0090c5;
	margin-right: 0.4em;
}

.event-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	align-items: center;
}

@media screen and (max-width: 736px) {
	.event-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.event-actions .button {
		width: 100%;
		text-align: center;
	}
}