/* =========================================================
   NewPoseh — main theme stylesheet
   Palette: dark blue + orange + (yellow accent)
   ========================================================= */

:root {
	/* Color palette (Customizer overrides via inline <style>). */
	--np-primary:        #1e3a8a;   /* dark navy/blue   */
	--np-primary-2:      #2563eb;   /* mid bright blue  */
	--np-primary-3:      #60a5fa;   /* lighter blue     */
	--np-primary-soft:   #eff6ff;   /* tinted bg        */
	--np-accent:         #f97316;   /* orange CTA       */
	--np-accent-hover:   #ea580c;
	--np-accent-soft:    #fff7ed;   /* peach pastel     */
	--np-accent-alt:     #f4c430;   /* yellow detail    */
	--np-text:           #0f1729;   /* near-black navy  */
	--np-text-muted:     #6b7280;
	--np-bg:             #ffffff;
	--np-bg-soft:        #f8fafc;
	--np-bg-tint:        #f1f5f9;   /* light blue-gray sections */
	--np-border:         #e2e8f0;
	--np-border-strong:  #cbd5e1;
	--np-success:        #16a34a;
	--np-error:          #dc2626;

	/* Spacing */
	--np-radius:         12px;
	--np-radius-lg:      16px;
	--np-radius-pill:    999px;
	--np-shadow-sm:      0 2px 6px rgba(15, 23, 41, .06);
	--np-shadow-md:      0 10px 30px rgba(15, 23, 41, .10);
	--np-shadow-lg:      0 20px 50px rgba(15, 23, 41, .14);
	--np-container:      1200px;
	--np-gap:            24px;

	/* Typography */
	--np-font-body:      "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--np-font-heading:   "Nunito", var(--np-font-body);
	--np-font-serif:     "Noto Serif", Georgia, serif;
}

/* ---------- Reset-ish base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--np-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--np-text);
	background: var(--np-bg);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a {
	color: var(--np-primary-2);
	text-decoration: none;
	transition: color .15s ease;
}
a:hover, a:focus { color: var(--np-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--np-font-heading);
	color: var(--np-primary);
	line-height: 1.25;
	margin: 0 0 .6em;
	font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--np-container);
	margin-inline: auto;
	padding-inline: 16px;
}
.skip-link {
	position: absolute; left: -9999px;
	background: var(--np-accent); color: #fff;
	padding: 8px 12px; z-index: 9999;
}
.skip-link:focus { left: 16px; top: 16px; }
.screen-reader-text {
	position: absolute !important; clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px; overflow: hidden; word-wrap: normal !important;
}

/* ---------- Top bar ---------- */
.top-bar {
	background: var(--np-primary);
	color: #cfe1ff;
	font-size: .875rem;
}
.top-bar__inner {
	display: flex; justify-content: flex-end; align-items: center;
	min-height: 36px;
}
.top-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; }
.top-menu a { color: #cfe1ff; }
.top-menu a:hover { color: var(--np-accent-alt); }

/* ---------- Header ---------- */
.site-header {
	background: var(--np-bg);
	border-bottom: 0;
	box-shadow: var(--np-shadow-sm);
	position: sticky; top: 0;
	z-index: 50;
	transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--np-shadow-md); }
.header-main__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--np-gap); min-height: 72px;
}
.site-branding {
	display: flex; align-items: center; gap: 12px; min-width: 0;
}
/* Round avatar-style logo bubble (when no custom logo set, or wraps the logo) */
.site-logo-bubble {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--np-primary-2);
	color: #fff; font-weight: 800; font-size: 1.2rem;
	flex: 0 0 44px;
	box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}
.site-branding-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.site-branding-text .site-title-text {
	font-size: .95rem; font-weight: 700; color: var(--np-text);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	max-width: 360px;
}
.site-branding-text .site-tagline-text {
	font-size: .78rem; color: var(--np-text-muted); margin-top: 2px;
}
.custom-logo, .site-logo-fallback img {
	max-height: 44px; width: auto; display: block;
}
.site-description {
	margin: 0; color: var(--np-text-muted); font-size: .9rem;
}

/* ---------- Main navigation ---------- */
.main-navigation { flex: 1; display: flex; justify-content: flex-end; }
.main-navigation ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 4px; align-items: center;
}
.main-navigation li { position: relative; }
.main-navigation a {
	display: block; padding: 8px 14px;
	color: var(--np-text-muted);
	font-weight: 600;
	font-size: .95rem;
	border-radius: 0;
	transition: color .15s ease, background .15s ease;
}
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current-menu-parent > a {
	color: var(--np-primary-2);
	background: transparent;
}
/* The current menu item shows a small dot underneath instead of background */
.main-navigation .current-menu-item > a {
	position: relative;
}
.main-navigation .current-menu-item > a::after {
	content: ''; position: absolute; left: 50%; bottom: 0;
	width: 4px; height: 4px; background: var(--np-accent);
	border-radius: 50%; transform: translateX(-50%);
}
/* The last item is the prominent CTA — orange pill button */
.main-navigation li:last-child > a {
	background: var(--np-accent); color: #fff !important;
	padding: 9px 22px;
	border-radius: var(--np-radius);
	box-shadow: 0 4px 12px rgba(249, 115, 22, .25);
}
.main-navigation li:last-child > a:hover,
.main-navigation li:last-child > a:focus {
	background: var(--np-accent-hover);
	box-shadow: 0 6px 16px rgba(249, 115, 22, .35);
}
.main-navigation li:last-child > a::after { display: none; }

/* Submenu */
.main-navigation .sub-menu {
	display: none; position: absolute; top: 100%; left: 0;
	background: #fff; min-width: 220px; padding: 8px;
	box-shadow: var(--np-shadow-md);
	border-radius: 0 !important;   /* square */
	border-top: 3px solid var(--np-accent-alt);
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { display: block; }
.main-navigation .sub-menu li { display: block; border-radius: 0 !important; }
.main-navigation .sub-menu a { padding: 10px 12px; border-radius: 0 !important; }
.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus { border-radius: 0 !important; }

/* Top bar + footer menu — square too */
.top-menu a,
.top-menu li,
.footer-menu a,
.footer-menu li { border-radius: 0 !important; }

/* Mobile toggle */
.menu-toggle {
	display: none;
	background: var(--np-primary);
	border: 0; padding: 12px;
	border-radius: 0 !important;            /* square */
	cursor: pointer;
}
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle[aria-expanded="true"] { border-radius: 0 !important; }
.menu-toggle__bar {
	display: block; width: 22px; height: 2px;
	background: #fff; margin: 4px 0;
	transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Site content layout ---------- */
.site-content-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--np-gap);
	padding-block: 36px;
}
.woocommerce .site-content-wrap,
.woocommerce-page .site-content-wrap {
	grid-template-columns: minmax(0, 1fr);
	max-width: 1240px;
}
.site-main.has-sidebar + .widget-area,
.site-main.has-sidebar { /* placeholder for grid below */ }

@media (min-width: 960px) {
	.site-content-wrap:has(.site-main.has-sidebar.sidebar-right) {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
	.site-content-wrap:has(.site-main.has-sidebar.sidebar-left) {
		grid-template-columns: 320px minmax(0, 1fr);
	}
	.site-content-wrap:has(.site-main.has-sidebar.sidebar-left) .site-main { order: 2; }
	.site-content-wrap:has(.site-main.has-sidebar.sidebar-left) .widget-area { order: 1; }
}

/* Fallback for browsers without :has() */
@supports not (selector(:has(*))) {
	.site-content-wrap { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* ---------- Page header / archive ---------- */
.page-header {
	border-left: 6px solid var(--np-accent);
	padding: 8px 0 8px 18px;
	margin-bottom: 28px;
}
.page-title { margin: 0; }
.page-subtitle { color: var(--np-text-muted); margin: 4px 0 0; }
.np-cpt-archive-intro {
	color: var(--np-archive-intro-color, var(--np-text));
	font-size: var(--np-archive-intro-font-size, 16px);
	margin-bottom: var(--np-archive-intro-spacing, 30px);
}

/* ---------- Posts ---------- */
.post-card,
.page-article,
.search-result,
.faq-entry {
	background: #fff;
	border: 1px solid var(--np-border);
	border-radius: var(--np-radius-lg);
	padding: 24px;
	box-shadow: var(--np-shadow-sm);
	margin-bottom: 24px;
}
.post-card__thumb { display: block; margin: -24px -24px 16px; overflow: hidden; border-radius: var(--np-radius-lg) var(--np-radius-lg) 0 0; }
.post-card__thumb img { display: block; width: 100%; height: auto; }
.entry-title { margin-top: 0; }
.entry-title a { color: var(--np-primary); }
.entry-title a:hover { color: var(--np-accent); }
.entry-meta { color: var(--np-text-muted); font-size: .9rem; margin-bottom: 12px; }
.read-more {
	display: inline-block; margin-top: 12px;
	color: var(--np-accent); font-weight: 600;
}
.read-more::after { content: ""; }

/* ---------- Buttons ---------- */
.button, button.search-submit, .wp-block-button__link, input[type="submit"] {
	display: inline-block;
	background: var(--np-accent);
	color: #fff !important;
	padding: 12px 22px;
	border: 0;
	border-radius: var(--np-radius);
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, transform .05s ease;
}
.button:hover, button.search-submit:hover, .wp-block-button__link:hover, input[type="submit"]:hover {
	background: var(--np-accent-hover);
}
.button:active { transform: translateY(1px); }

/* ---------- Search ---------- */
.search-form {
	display: flex; gap: 8px;
	background: #fff; border: 1px solid var(--np-border);
	border-radius: var(--np-radius); padding: 4px;
}
.search-form .search-field {
	flex: 1; border: 0; padding: 10px 12px; font-size: 1rem;
	background: transparent; outline: none;
}

/* ---------- Sidebar ---------- */
.widget-area .widget {
	background: #fff; padding: 20px; border-radius: var(--np-radius-lg);
	border: 1px solid var(--np-border); margin-bottom: 24px;
	box-shadow: var(--np-shadow-sm);
}
.widget-title {
	margin: 0 0 12px; font-size: 1.05rem;
	color: var(--np-primary);
	border-bottom: 3px solid var(--np-accent-alt);
	display: inline-block; padding-bottom: 4px;
}
.widget ul { padding-left: 1.1em; margin: 0; }
.widget a { color: var(--np-primary-2); }

/* ---------- FAQ search ---------- */
.faq-search {
	margin: 0 0 18px;
	padding: 16px 18px;
	background: var(--np-bg-soft, #f5f7fa);
	border: 1px solid var(--np-border);
	border-left: 4px solid var(--np-accent);
}
.faq-search__label {
	display: block;
	font-weight: 600;
	color: var(--np-primary);
	margin-bottom: 6px;
	font-size: .95rem;
}
.faq-search__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--np-border);
	background: #fff;
	font-size: 1rem;
}
.faq-search__input:focus {
	outline: 2px solid var(--np-accent);
	outline-offset: -2px;
}
.faq-search__nores {
	margin: 10px 0 0;
	color: var(--np-accent);
	font-weight: 600;
}

/* ---------- Ask question form (logged-in members) ---------- */
.np-ask-form {
	margin: 28px 0;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--np-border);
	border-top: 4px solid var(--np-primary);
}
.np-ask-form--login-required {
	background: var(--np-bg-soft, #f5f7fa);
	border-top-color: var(--np-accent-alt);
}
.np-ask-form__form label {
	display: block;
	margin-bottom: 6px;
	color: var(--np-primary);
}
.np-ask-form__form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--np-border);
	font-size: 1rem;
	font-family: inherit;
	min-height: 120px;
	resize: vertical;
}
.np-ask-form__form textarea:focus {
	outline: 2px solid var(--np-accent);
	outline-offset: -2px;
}
.np-ask-form__help {
	margin: 6px 0 14px;
	color: var(--np-text-muted);
	font-size: .9rem;
}
.np-ask-form__success {
	background: #e6f7eb;
	color: #1a6e3a;
	border: 1px solid #b6e3c4;
	padding: 10px 14px;
	margin-bottom: 14px;
	font-weight: 600;
}
.np-ask-form__error {
	background: #fde8e8;
	color: #a3251c;
	border: 1px solid #f5c0bd;
	padding: 10px 14px;
	margin-bottom: 14px;
	font-weight: 600;
}
.np-btn {
	display: inline-block;
	padding: 10px 20px;
	background: var(--np-primary);
	color: #fff !important;
	text-decoration: none;
	border: 0;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}
.np-btn:hover, .np-btn:focus { background: var(--np-primary-2); }
.np-btn--primary { background: var(--np-accent); }
.np-btn--primary:hover, .np-btn--primary:focus { background: var(--np-accent-hover); }

/* ---------- FAQ accordion ---------- */
.faq-accordion { margin: 24px 0; }
.faq-group-title {
	margin: 28px 0 10px;
	color: var(--np-primary);
	border-bottom: 2px solid var(--np-primary-soft);
	padding-bottom: 6px;
}
.faq-list { margin: 0; padding: 0; }
.faq-item {
	background: #fff;
	border: 1px solid var(--np-border);
	border-radius: var(--np-radius);
	margin-bottom: 10px;
	overflow: hidden;
}
.faq-item + .faq-item { margin-top: 10px; }
.faq-question { margin: 0; }
.faq-toggle {
	width: 100%; text-align: left;
	background: transparent; border: 0;
	padding: 16px 56px 16px 18px;
	font-size: 1.05rem; font-weight: 600;
	color: var(--np-primary);
	display: flex; justify-content: space-between; align-items: center; gap: 14px;
	cursor: pointer; position: relative;
	transition: background .15s ease, color .15s ease;
}
.faq-toggle:hover, .faq-toggle:focus { background: var(--np-primary-soft); color: var(--np-primary-2); }
.faq-toggle__icon {
	width: 20px; height: 20px; flex: 0 0 20px;
	background: var(--np-accent); border-radius: 50%;
	position: relative; transition: transform .2s ease, background .2s ease;
}
.faq-toggle__icon::before, .faq-toggle__icon::after {
	content: ""; position: absolute; left: 50%; top: 50%;
	background: #fff; transform: translate(-50%, -50%);
}
.faq-toggle__icon::before { width: 10px; height: 2px; }
.faq-toggle__icon::after  { width: 2px;  height: 10px; transition: opacity .2s ease; }
.faq-toggle[aria-expanded="true"] .faq-toggle__icon { background: var(--np-accent-alt); }
.faq-toggle[aria-expanded="true"] .faq-toggle__icon::after { opacity: 0; }
.faq-answer {
	padding: 0 18px 18px;
	color: var(--np-text);
	background: #fbfcfe;
	border-top: 1px solid var(--np-border);
}
.faq-answer[hidden] { display: none; }
.faq-answer__inner > *:first-child { margin-top: 0; }
.faq-answer__inner > *:last-child  { margin-bottom: 0; }

/* =========================================================
   NewPoseh — base44-style design system
   Hero, eyebrow, stats, announcement cards, CTA band
   ========================================================= */

/* Eyebrow text — small uppercase orange label above each section heading */
.np-eyebrow {
	display: inline-block;
	font-size: .82rem; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase;
	color: var(--np-accent);
	margin-bottom: 10px;
}

/* Section helpers */
.np-section { padding: 56px 0; }
.np-section--soft { background: var(--np-bg-tint); }
.np-section--white { background: #fff; }
.np-section__heading { margin: 0 0 32px; }
.np-section__heading h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.np-section__heading p { color: var(--np-text-muted); margin: 0; }

/* ---------- HERO ---------- */
.np-hero {
	position: relative; overflow: hidden;
	color: #fff;
	padding: 80px 16px 100px;
	background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
	text-align: center;
}
/* Decorative grid + soft labels in the background, no SVG file needed */
.np-hero::before {
	content: '';
	position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,.10) 0, transparent 38%),
		radial-gradient(circle at 80% 70%, rgba(255,255,255,.08) 0, transparent 42%),
		linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size: auto, auto, 38px 38px, 38px 38px;
	pointer-events: none; opacity: .9;
}
.np-hero__inner { position: relative; max-width: 880px; margin: 0 auto; }
.np-hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px;
	background: rgba(255,255,255,.18);
	border: 1px solid rgba(255,255,255,.30);
	border-radius: var(--np-radius-pill);
	font-size: .82rem; font-weight: 600;
	color: #fff;
	margin-bottom: 18px;
	backdrop-filter: blur(6px);
}
.np-hero__title {
	color: #fff !important;
	font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 14px;
}
.np-hero__sub {
	color: rgba(255,255,255,.85);
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
	max-width: 640px; margin: 0 auto 28px;
}
.np-hero__ctas {
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}

/* ---------- BUTTONS ---------- */
.np-btn,
a.np-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px;
	background: var(--np-primary);
	color: #fff !important;
	text-decoration: none;
	border: 0;
	border-radius: var(--np-radius);
	font-weight: 700; font-size: 1rem;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
	line-height: 1.2;
}
.np-btn:hover, .np-btn:focus { transform: translateY(-1px); }

.np-btn--primary { background: var(--np-accent); box-shadow: 0 6px 16px rgba(249,115,22,.30); }
.np-btn--primary:hover, .np-btn--primary:focus { background: var(--np-accent-hover); box-shadow: 0 8px 22px rgba(249,115,22,.40); }

.np-btn--ghost {
	background: transparent;
	border: 1px solid rgba(255,255,255,.40);
	color: #fff !important;
}
.np-btn--ghost:hover, .np-btn--ghost:focus { background: rgba(255,255,255,.12); border-color: #fff; }

.np-btn--outline {
	background: transparent;
	border: 1px solid var(--np-border-strong);
	color: var(--np-text) !important;
}
.np-btn--outline:hover, .np-btn--outline:focus { border-color: var(--np-primary-2); color: var(--np-primary-2) !important; }

.np-btn--white {
	background: #fff;
	color: var(--np-accent) !important;
	box-shadow: var(--np-shadow-md);
}
.np-btn--white:hover, .np-btn--white:focus { background: #fff5ee; }

/* ---------- STATS CARDS (overlap hero) ---------- */
.np-stats {
	max-width: var(--np-container);
	margin: -56px auto 0;
	padding: 0 16px;
	position: relative; z-index: 2;
	display: grid; gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.np-stat-card {
	background: #fff;
	border-radius: var(--np-radius-lg);
	padding: 26px 20px;
	text-align: center;
	box-shadow: var(--np-shadow-md);
	border: 1px solid var(--np-border);
}
.np-stat-card__icon {
	width: 52px; height: 52px;
	margin: 0 auto 14px;
	background: var(--np-primary-soft);
	color: var(--np-primary-2);
	display: flex; align-items: center; justify-content: center;
	border-radius: var(--np-radius);
	font-size: 1.4rem;
}
.np-stat-card--accent .np-stat-card__icon { background: var(--np-accent-soft); color: var(--np-accent); }
.np-stat-card--alt .np-stat-card__icon { background: #fef3c7; color: #b45309; }
.np-stat-card__num {
	font-size: 2.2rem; font-weight: 800;
	color: var(--np-primary); margin: 0 0 4px;
	line-height: 1;
}
.np-stat-card--accent .np-stat-card__num { color: var(--np-accent); }
.np-stat-card__label {
	color: var(--np-text-muted); font-size: .92rem; margin: 0;
}

/* ---------- ANNOUNCEMENT CARDS ---------- */
.np-cards-grid {
	display: grid; gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.np-card {
	background: #fff;
	border-radius: var(--np-radius-lg);
	padding: 22px;
	border: 1px solid var(--np-border);
	box-shadow: var(--np-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
	display: flex; flex-direction: column;
}
.np-card:hover { transform: translateY(-3px); box-shadow: var(--np-shadow-md); }
.np-card__date {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--np-primary-soft);
	color: var(--np-primary-2);
	font-size: .82rem; font-weight: 600;
	padding: 4px 10px; border-radius: var(--np-radius-pill);
	margin-bottom: 12px; align-self: flex-start;
}
.np-card__title {
	font-size: 1.1rem; font-weight: 700;
	color: var(--np-text); margin: 0 0 8px;
	line-height: 1.35;
}
.np-card__excerpt {
	color: var(--np-text-muted); font-size: .95rem;
	margin: 0 0 14px; flex: 1;
}
.np-card__more {
	color: var(--np-accent); font-weight: 700; font-size: .92rem;
	display: inline-flex; align-items: center; gap: 4px;
}
.np-card__more:hover { color: var(--np-accent-hover); }
.np-card__more::after { content: '→'; transition: transform .15s ease; }
.np-card__more:hover::after { transform: translateX(3px); }

/* ---------- CTA BAND ---------- */
.np-cta-band {
	background: var(--np-accent);
	color: #fff;
	padding: 56px 16px;
	text-align: center;
}
.np-cta-band h2 { color: #fff !important; margin: 0 0 10px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.np-cta-band p { color: rgba(255,255,255,.92); margin: 0 0 22px; font-size: 1.05rem; }

/* ---------- "Section eyebrow + 'Όλες' link" header pattern ---------- */
.np-section__topbar {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.np-section__topbar .np-link-more {
	color: var(--np-accent); font-weight: 700; font-size: .95rem;
}
.np-section__topbar .np-link-more::after { content: ' →'; }

/* ---------- Footer (overhauled — dark navy, 3 columns) ---------- */
.site-footer {
	margin-top: 0;
	background: var(--np-primary);
	color: #cbd5e1;
}
.footer-top { padding: 56px 0 24px; }
.footer-top__inner {
	display: grid; gap: 36px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-top__inner--default {
	grid-template-columns: 1.4fr 1fr 1fr;
}
.footer-col .widget { background: transparent; border: 0; box-shadow: none; padding: 0; }
.footer-col .widget-title,
.footer-col h4.widget-title {
	color: #fff;
	border-bottom: 0;
	padding-bottom: 0;
	font-size: 1rem; font-weight: 700;
	margin: 0 0 14px;
}
.footer-col a { color: #cbd5e1; transition: color .15s ease; }
.footer-col a:hover { color: var(--np-accent); }

.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 14px; }
.footer-brand .site-logo-bubble { width: 36px; height: 36px; font-size: 1rem; flex: 0 0 36px; }
.footer-brand strong { color: #fff; font-size: .95rem; font-weight: 700; }
.footer-brand-tagline { color: #cbd5e1; font-size: .9rem; line-height: 1.55; max-width: 360px; }

.footer-quicklinks,
.footer-contact {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; gap: 10px;
}
.footer-contact li { display: flex; gap: 8px; align-items: center; color: #cbd5e1; }
.footer-contact span { color: var(--np-accent); }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.10);
	padding: 18px 0; font-size: .88rem;
}
.footer-bottom__inner {
	display: flex; flex-wrap: wrap; gap: 12px;
	justify-content: space-between; align-items: center;
}
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; }
.footer-menu a { color: #cbd5e1; }
.footer-menu a:hover { color: var(--np-accent); }

@media (max-width: 720px) {
	.footer-top__inner--default { grid-template-columns: 1fr; }
}

/* ---------- Full-bleed main (template-home, full-width templates) ---------- */
.site-main--full-bleed {
	display: block;
	width: 100%;
}
.site-main--full-bleed > * { display: block; }

/* ---------- Comments ---------- */
.comments-area {
	background: #fff; padding: 24px; border-radius: var(--np-radius-lg);
	border: 1px solid var(--np-border); margin-top: 24px;
}

/* ---------- Pagination ---------- */
.pagination, .nav-links {
	display: flex; gap: 6px; flex-wrap: wrap;
	margin: 24px 0;
}
.page-numbers {
	display: inline-block; padding: 8px 12px;
	border: 1px solid var(--np-border); border-radius: var(--np-radius);
	color: var(--np-primary-2); background: #fff;
}
.page-numbers.current { background: var(--np-primary); color: #fff; border-color: var(--np-primary); }
.page-numbers:hover { background: var(--np-accent); color: #fff; border-color: var(--np-accent); }

/* ---------- Register page (template-register.php) ---------- */
.np-register-wrap {
	max-width: 720px;
	margin: 32px auto 64px;
	padding: 0 16px;
}
.np-register-header {
	text-align: center;
	margin-bottom: 16px;
}
.np-register-header .entry-title {
	margin: 0 0 8px;
	color: var(--np-primary);
	font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}
.np-register-intro {
	color: var(--np-text-muted);
	text-align: center;
	font-size: 1.05rem;
	line-height: 1.65;
	margin-bottom: 28px;
}
.np-register-intro p { margin: 0 0 12px; }
.np-register-form-card {
	background: #fff;
	border: 1px solid var(--np-border);
	border-top: 4px solid var(--np-accent);
	padding: 28px;
	box-shadow: var(--np-shadow-md);
}
.np-register-form-card:empty { display: none; }

/* If the form (or its wrapper) is the only block in the content area
   and no shortcode is configured, the inline wrapper still keeps spacing. */
.np-register-form-card form { margin: 0; }
.np-register-form-card label {
	display: block;
	font-weight: 600;
	color: var(--np-primary);
	margin-bottom: 4px;
}

/* ---------- Announcement list shortcode ---------- */
.announcement-list {
	list-style: none; padding: 0; margin: 0;
	background: #fff; border: 1px solid var(--np-border); border-radius: var(--np-radius-lg);
	overflow: hidden;
}
.announcement-list li {
	padding: 14px 18px; display: flex; gap: 14px; align-items: baseline;
	border-bottom: 1px solid var(--np-border);
}
.announcement-list li:last-child { border-bottom: 0; }
.announcement-list time {
	color: var(--np-accent); font-weight: 600; font-size: .9rem;
	min-width: 110px;
}

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"],
textarea, select {
	width: 100%; padding: 10px 12px;
	border: 1px solid var(--np-border); border-radius: var(--np-radius);
	font-family: inherit; font-size: 1rem; background: #fff; color: var(--np-text);
}
input:focus, textarea:focus, select:focus {
	outline: 2px solid var(--np-primary-3); outline-offset: 1px; border-color: var(--np-primary-3);
}

/* ---------- Tables ---------- */
table { border-collapse: collapse; width: 100%; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--np-border); text-align: left; }
th { background: var(--np-bg-soft); }

/* ---------- WordPress alignment helpers ---------- */
.alignwide  { max-width: 1100px; margin-inline: auto; }
.alignfull  { max-width: 100vw; margin-inline: calc(50% - 50vw); }
.alignleft  { float: left;  margin: 4px 16px 8px 0; }
.alignright { float: right; margin: 4px 0 8px 16px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--np-text-muted); font-size: .85rem; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
	.menu-toggle { display: inline-flex; align-items: center; }
	.main-navigation {
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-top: 1px solid var(--np-border);
		max-height: 0; overflow: hidden; transition: max-height .25s ease;
	}
	.main-navigation.is-open { max-height: 80vh; overflow: auto; padding: 12px; box-shadow: var(--np-shadow-md); }
	.main-navigation ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-navigation a { padding: 14px 16px; border-radius: 0 !important; }
	.main-navigation a:hover, .main-navigation a:focus,
	.main-navigation .current-menu-item > a { border-radius: 0 !important; }
	.main-navigation .sub-menu {
		position: static; box-shadow: none; padding: 4px 0 4px 16px;
		border-top: 0; border-left: 3px solid var(--np-accent-alt);
		border-radius: 0 !important; display: block;
	}
	.header-main__inner { min-height: 72px; }
	.site-content-wrap { grid-template-columns: 1fr !important; }
	.widget-area { order: 99; }
	.faq-toggle { font-size: 1rem; padding-right: 50px; }
}

@media (max-width: 600px) {
	.post-card, .page-article, .search-result, .faq-entry { padding: 18px; }
	.post-card__thumb { margin: -18px -18px 14px; }
	.announcement-list li { flex-direction: column; gap: 4px; }
	.announcement-list time { min-width: 0; }
	.footer-bottom__inner { justify-content: center; text-align: center; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .widget-area, .menu-toggle, .nav-links { display: none !important; }
	a { color: #000; }
}
