/*
Theme Name: CyproLink Starter
Theme URI: https://cyprolink.com
Author: CyproLink
Author URI: https://cyprolink.com
Description: A single, centered "link-in-bio" style theme -- circular logo, brand name, tagline and a short intro, pill-shaped link buttons (edit under Appearance -> Menus -> Primary), and a social icon row. Colors, brand name and copy are editable under Appearance -> Customize. Blog posts and pages use a matching, simplified layout. Activating this theme also offers to install the companion CyproLink plugin, which renders its own pages (profile links, dashboard) completely independently of whichever theme is active.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyprolink-starter
*/

* {
	box-sizing: border-box;
}

:root {
	--clt-bg: #69715b;
	--clt-logo-bg: #254b30;
	--clt-text: #ffffff;
	--clt-text-muted: rgba(255, 255, 255, 0.65);
	--clt-button-bg: #dedfdc;
	--clt-button-text: #181818;
	--clt-band: #b7ab97;
}

html {
	background: #eeeeea;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #eeeeea;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--clt-text);
}

body.home:not(.cl-has-front-card) {
	display: block;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---- Bio card (front page) ---- */
.clt-card {
	width: 100%;
	max-width: 420px;
	min-height: 780px;
	background: var(--clt-bg);
	border-radius: 36px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 40px 24px 0;
}

.clt-profile {
	text-align: center;
}

.clt-logo {
	width: 90px;
	height: 90px;
	margin: 0 auto 16px;
	background: var(--clt-logo-bg);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.clt-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.clt-logo__fallback {
	color: #ffffff;
	font-size: 34px;
	font-weight: 700;
}

.clt-brand {
	margin: 0 0 6px;
	color: var(--clt-text);
	font-size: 22px;
	font-weight: 700;
}

.clt-subtitle {
	margin: 0;
	color: var(--clt-text-muted);
	font-size: 14px;
}

.clt-intro {
	margin: 10px 0 0;
	color: var(--clt-text-muted);
	font-size: 13px;
	line-height: 1.5;
}

.clt-links {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 32px;
	list-style: none;
	padding: 0;
}

.clt-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 58px;
	background: var(--clt-button-bg);
	color: var(--clt-button-text);
	border-radius: 999px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	padding: 0 16px;
	text-align: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.clt-links a:hover {
	transform: scale(1.02);
	opacity: 0.9;
}

.clt-socials {
	display: flex;
	justify-content: center;
	gap: 22px;
	margin-top: 28px;
	list-style: none;
	padding: 0;
}

.clt-socials a {
	color: var(--clt-text);
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	display: block;
}

.clt-socials svg {
	width: 22px;
	height: 22px;
	display: block;
}

.clt-socials a:hover {
	opacity: 0.75;
	transform: scale(1.1);
}

.clt-band {
	margin-top: auto;
	padding-top: 25px;
	margin-left: -24px;
	margin-right: -24px;
	background: var(--clt-band);
	min-height: 60px;
}

@media (max-width: 480px) {
	body.cl-has-front-card {
		align-items: stretch;
	}

	.clt-card {
		max-width: 100%;
		height: 100vh;
		height: 100dvh;
		min-height: 0;
		border-radius: 0;
		overflow-y: auto;
	}
}

@media (max-width: 360px) {
	.clt-card {
		padding: 28px 16px 0;
	}

	.clt-logo {
		width: 72px;
		height: 72px;
	}

	.clt-brand {
		font-size: 19px;
	}

	.clt-links a {
		height: 52px;
		font-size: 14px;
	}

	.clt-band {
		margin-left: -16px;
		margin-right: -16px;
	}
}

/* ---- Blog posts / pages: same palette, simple readable layout ---- */
body.cl-site-page {
	display: block;
	background: var(--clt-bg);
}

.clt-site {
	max-width: 700px;
	margin: 0 auto;
	padding: 40px 24px 80px;
}

.clt-site__header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 32px;
}

.clt-site__logo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--clt-logo-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	flex-shrink: 0;
	overflow: hidden;
	text-decoration: none;
}

.clt-site__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.clt-site__title a {
	text-decoration: none;
	color: var(--clt-text);
	font-weight: 700;
	font-size: 18px;
}

.clt-site__tagline {
	margin: 2px 0 0;
	color: var(--clt-text-muted);
	font-size: 13px;
}

.clt-entry {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 24px;
	margin-bottom: 20px;
}

.clt-entry h1,
.clt-entry h2.entry-title {
	margin-top: 0;
	font-size: 22px;
}

.clt-entry h2.entry-title a {
	text-decoration: none;
	color: var(--clt-text);
}

.clt-entry .entry-meta {
	color: var(--clt-text-muted);
	font-size: 13px;
	margin-bottom: 12px;
}

.clt-entry .entry-content,
.clt-entry .entry-summary {
	line-height: 1.6;
}

.clt-entry .entry-content a {
	color: #fff;
	text-decoration: underline;
}

.clt-back-link {
	display: inline-block;
	margin-top: 12px;
	color: var(--clt-text-muted);
	text-decoration: none;
	font-size: 14px;
}

.clt-pagination {
	display: flex;
	justify-content: space-between;
	margin-top: 24px;
	color: var(--clt-text);
}

.clt-pagination a {
	text-decoration: none;
}
