/* ==========================================================================
   AlphaLabs Peptides — base styles (fonts, tokens, bars, generic templates)
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: local("Inter Regular"), local("Inter-Regular"), url("../fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: local("Inter Medium"), local("Inter-Medium"), url("../fonts/Inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: local("Inter SemiBold"), local("Inter-SemiBold"), url("../fonts/Inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700 900; font-display: swap; src: local("Inter Bold"), local("Inter-Bold"), url("../fonts/Inter-Bold.woff") format("woff"); }

:root {
	--alpx-teal: #148d93;
	--alpx-teal-dark: #0a6670;
	--alpx-orange: #ef7d21;
	--alpx-ink: #082d38;
	--alpx-muted: #607579;
	--alpx-line: #dce9e7;
	--alpx-font: "Inter", Arial, sans-serif;
	--alpx-v4-sticky-offset: 0px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: #fff;
	color: var(--alpx-ink);
	font-family: var(--alpx-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.alpx-menu-open-v4 { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--alpx-teal-dark); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site { position: relative; }
.alpx-shell { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }

/* Announcement bars */
.alpx-top-bar,
.alpx-promo-bar {
	position: relative;
	z-index: 60;
	padding: 9px 16px;
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.35;
}
.alpx-top-bar a,
.alpx-promo-bar a { color: inherit; text-decoration: none; }
.alpx-top-bar strong { font-weight: 800; }
.alpx-promo-bar { font-size: 12px; text-transform: uppercase; }

/* Page header for plain pages / blog */
.alpx-page-header {
	padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 4vw, 48px);
	background:
		radial-gradient(circle at 7% 28%, rgba(20,141,147,.08), transparent 27%),
		radial-gradient(circle at 94% 72%, rgba(239,125,33,.09), transparent 29%),
		#fffdf9;
}
.alpx-page-header__title { margin: 0; color: var(--alpx-ink); font-size: clamp(34px, 4vw, 56px); font-weight: 850; letter-spacing: -.045em; line-height: 1.04; }
.alpx-page-header__subtitle { max-width: 60ch; margin: 14px 0 0; color: var(--alpx-muted); font-size: 16px; }

/* Readable prose column (plain pages, posts, Woo my-account etc.) */
.alpx-main { position: relative; }
.alpx-page,
.alpx-blog { padding: clamp(40px, 5vw, 72px) 0 clamp(60px, 7vw, 100px); }
.alpx-prose { max-width: 840px; color: #2f454a; font-size: 16px; line-height: 1.75; }
.alpx-prose h1, .alpx-prose h2, .alpx-prose h3, .alpx-prose h4 { color: var(--alpx-ink); letter-spacing: -.03em; line-height: 1.15; margin: 1.6em 0 .6em; }
.alpx-prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 850; }
.alpx-prose h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; }
.alpx-prose p { margin: 0 0 1.2em; }
.alpx-prose ul, .alpx-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.alpx-prose li { margin-bottom: .4em; }
.alpx-prose a { color: var(--alpx-teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.alpx-prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--alpx-orange); background: #fff8f1; border-radius: 0 14px 14px 0; }
.alpx-prose img { border-radius: 16px; }
.alpx-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.alpx-prose th, .alpx-prose td { padding: 10px 12px; border: 1px solid var(--alpx-line); text-align: left; }
.alpx-single__thumb { margin: 0 0 32px; }

/* Blog cards */
.alpx-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.alpx-post-card { display: flex; flex-direction: column; border: 1px solid rgba(8,45,56,.09); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(6,45,56,.07); overflow: hidden; }
.alpx-post-card__thumb img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.alpx-post-card__body { padding: 22px; }
.alpx-post-card__title { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.alpx-post-card__title a { color: var(--alpx-ink); text-decoration: none; }
.alpx-post-card__excerpt { color: var(--alpx-muted); font-size: 14.5px; }
.alpx-post-card__more { display: inline-flex; gap: 6px; margin-top: 8px; color: var(--alpx-teal-dark); font-size: 14px; font-weight: 750; text-decoration: none; }
.alpx-pagination { margin-top: 36px; }
.alpx-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.alpx-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--alpx-line); border-radius: 999px; color: var(--alpx-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.alpx-pagination .page-numbers.current { background: var(--alpx-ink); border-color: var(--alpx-ink); color: #fff; }
.alpx-empty { color: var(--alpx-muted); }

/* Eyebrow + buttons outside Elementor (404, templates) */
.alpx-home-eyebrow { margin: 0 0 13px; color: var(--alpx-teal-dark); font-size: 11.5px; font-weight: 800; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.alpx-home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
a.alpx-home-button, button.alpx-home-button {
	min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 23px;
	border: 1px solid transparent; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1; text-decoration: none; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
a.alpx-home-button:hover, button.alpx-home-button:hover { transform: translateY(-2px); }
.alpx-home-button--primary { background: linear-gradient(135deg, #f58b28, #e96913); box-shadow: 0 12px 24px rgba(239,125,33,.24); color: #fff; }
.alpx-home-button--primary:hover { color: #fff; }
.alpx-home-button--secondary { border-color: #d7e3e1; background: rgba(255,255,255,.82); color: var(--alpx-ink); }
.alpx-home-button--secondary:hover { border-color: var(--alpx-teal); color: var(--alpx-teal-dark); }
.alpx-home-button--dark { background: #062632; box-shadow: 0 13px 26px rgba(6,38,50,.2); color: #fff; }
.alpx-home-button--dark:hover { background: var(--alpx-teal-dark); color: #fff; }

/* 404 */
.alpx-404 { padding: clamp(60px, 9vw, 120px) 0; }
.alpx-404__inner { max-width: 640px; }
.alpx-404 h1 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 54px); font-weight: 850; letter-spacing: -.04em; line-height: 1.05; }
.alpx-404 p { color: var(--alpx-muted); font-size: 17px; }

/* Search form (template) */
.alpx-search-again { margin-top: 32px; max-width: 520px; }
.alpx-searchform { display: flex; gap: 8px; }
.alpx-searchform__input { flex: 1 1 auto; min-height: 48px; padding: 0 16px; border: 1px solid var(--alpx-line); border-radius: 12px; font: inherit; }
.alpx-searchform__submit { min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--alpx-ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* Comments */
.alpx-comments { margin-top: 48px; }
.alpx-comment-list { list-style: none; padding: 0; }
.alpx-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--alpx-line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--alpx-line); border-radius: 10px; font: inherit; }
.comment-form .submit { min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--alpx-ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

@media (max-width: 900px) { .alpx-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .alpx-post-grid { grid-template-columns: 1fr; } .alpx-shell { width: calc(100% - 32px); } }
