/* WP Nashville: homepage (front-page.html). */
.wpn-home { margin: 0 !important; }
.wpn-home > .wp-block-group,
.wpn-home > section { margin-block: 0; }
.wpn-home .wpn-section-title { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; }

/* Hero */
.wpn-hero { background: var(--wpn-blue-hero); color: #fff; padding: 72px 32px 0; }
.wpn-hero-cols { gap: 48px; margin: 0 0 24px; align-items: center; }
.wpn-hero .wpn-hero-title { margin: 0 0 22px; color: #fff; font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.02; letter-spacing: -0.02em; }
.wpn-hero .wpn-hero-lede { margin: 0 0 22px; max-width: 600px; font-size: 1.3rem; line-height: 1.5; color: #e8f2fc; }
.wpn-hero-actions { gap: 12px; }
.wpn-btn-light .wp-block-button__link,
.wpn-btn-outline-light .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 8px; font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.wpn-btn-light .wp-block-button__link { background: #fff; color: var(--wpn-navy); border: 2px solid #fff; }
.wpn-btn-light .wp-block-button__link:hover { background: #e8f2fc; color: var(--wpn-navy); }
.wpn-btn-outline-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; }
.wpn-btn-outline-light .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.wpn-skyline { margin: 0; }
.wpn-skyline img { display: block; width: 100%; height: auto; opacity: 0.9; }

/* Next-event card */
.wpn-next-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #fff; color: var(--wpn-ink); border-radius: 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.wpn-next-card > * { margin: 0; }
.wpn-next-title { font-size: 1.75rem; line-height: 1.15; }
.wpn-next-title a { color: var(--wpn-ink); text-decoration: none; }
.wpn-next-title a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.wpn-next-when, .wpn-where { font-size: 1rem; color: var(--wpn-mute); }
.wpn-where { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.wpn-where:not(:has(*)) { display: none; }
.wpn-where a { color: var(--wpn-mute); text-decoration: none; }
.wpn-next-count { font-size: 0.95rem; color: var(--wpn-mute); }
.wpn-next-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-size: 1.05rem; background: var(--wpn-blue); color: #fff; border-radius: 8px; font-weight: 700; text-decoration: none; }
.wpn-next-cta:hover { background: var(--wpn-blue-deep); color: #fff; }

/* Find your way in */
.wpn-paths { padding: 80px 32px 40px; }
.wpn-paths .wpn-section-title { margin-bottom: 28px; }
.wpn-path-grid { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }
.wpn-path-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--wpn-line); border-radius: 16px; }
.wpn-path-card > * { margin: 0; }
.wpn-path-card::before { content: ""; width: 52px; height: 52px; border-radius: 12px; background-color: #eaf2fa; position: relative; background-repeat: no-repeat; background-position: center; background-size: 26px; }
.wpn-path-card h3 { font-size: 1.3rem; }
.wpn-path-card p { font-size: 1rem; line-height: 1.55; color: var(--wpn-mute); }
.wpn-path-card .wpn-path-link { margin-top: auto; font-weight: 600; }
.wpn-path-card .wpn-path-link a { color: var(--wpn-blue); text-decoration: none; }
.wpn-path-card .wpn-path-link a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.wpn-path-card:hover { border-color: var(--wpn-blue); }
.wpn-path-card.is-meetup::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5f99' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Cpath d='M15 14.5c.6-.3 1.3-.5 2-.5 2.2 0 4 1.8 4 4'/%3E%3C/svg%3E"); }
.wpn-path-card.is-help::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5f99' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14a8 8 0 0 1 16 0v4a2 2 0 0 1-2 2h-1v-6h3M4 14v4a2 2 0 0 0 2 2h1v-6H4'/%3E%3C/svg%3E"); }
.wpn-path-card.is-give::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5f99' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 11c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }

/* Upcoming events + Office Hours card */
.wpn-upcoming { padding: 48px 32px 80px; }
.wpn-upcoming-cols { gap: 48px; align-items: flex-start; }
.wpn-upcoming-head { gap: 12px; align-items: baseline; margin-bottom: 18px; }
.wpn-upcoming-head > * { margin: 0; }
.wpn-view-all a { font-weight: 600; color: var(--wpn-blue); }
.wpn-upcoming-query .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.wpn-event-row { position: relative; display: flex; flex-wrap: nowrap; gap: 18px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--wpn-line); border-radius: 14px; }
.wpn-event-row:hover { border-color: var(--wpn-blue); }
.wpn-chip { width: 64px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 8px 0; border-radius: 10px; background: #e6f0f9; color: #135e96; text-align: center; }
.wpn-chip > * { margin: 0; }
.wpn-chip-dow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.wpn-chip-day { font-family: var(--wpn-font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.wpn-upcoming-query li.gatherpress_topic-meetup .wpn-chip { background: #e6f4ea; color: #1e6b34; }
.wpn-upcoming-query li.gatherpress_topic-workshop .wpn-chip { background: #fcf0e1; color: #8a4b00; }
.wpn-event-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wpn-event-info > * { margin: 0; }
.wpn-event-title { font-size: 1.1rem; font-weight: 700; }
.wpn-event-title a { color: var(--wpn-ink); text-decoration: none; }
.wpn-event-title a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.wpn-event-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 0.9rem; color: #50575e; }
.wpn-event-meta > * { margin: 0; }
.wpn-event-meta:not(:has(*)) { display: none; }
.wpn-empty { padding: 28px; text-align: center; border: 1px dashed #c3c4c7; border-radius: 12px; color: #50575e; }

.wpn-office-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--wpn-navy); color: #fff; border-radius: 18px; }
.wpn-office-card > * { margin: 0; }
.wpn-office-logo { position: relative; width: 96px; height: 96px; }
.wpn-office-logo img { display: block; width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.wpn-office-logo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; border-radius: 50%; background: #f2b35e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312263f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / 22px no-repeat; border: 4px solid var(--wpn-navy); box-sizing: border-box; }
.wpn-office-card h2 { color: #fff; font-size: 1.9rem; line-height: 1.1; }
.wpn-office-card p { font-size: 1.05rem; line-height: 1.55; color: #cfe6ff; }
.wpn-office-card .wpn-btn-light .wp-block-button__link { min-height: 50px; }

/* Connect strip */
.wpn-connect { background: var(--wpn-soft); border-top: 1px solid #e3e6ea; padding: 64px 32px; }
.wpn-connect-inner { gap: 24px; align-items: center; }
.wpn-connect-copy { max-width: 560px; }
.wpn-connect-copy > * { margin: 0; }
.wpn-connect-title { font-size: 2rem; margin-bottom: 8px !important; }
.wpn-connect-copy p { font-size: 1.05rem; color: var(--wpn-mute); }
.wpn-pills { gap: 10px; }
.wpn-pills .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: #fff; color: var(--wpn-ink); border: 1px solid #c3c4c7; border-radius: 999px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.wpn-pills .wp-block-button__link:hover { border-color: var(--wpn-blue); color: var(--wpn-blue); }

@media (max-width: 781px) {
	.wpn-hero { padding-top: 48px; }
	.wpn-header-nav { width: 100%; justify-content: space-between; }
}
