/* LinkAtlas — public Link Page styles.
   Everything is driven by CSS custom properties set inline per-page
   (see ltc_get_style_vars()) so one stylesheet serves every client's
   custom colors/fonts without extra HTTP requests. */

.ltc-page {
	--ltc-bg: #0f0f10;
	--ltc-text: #ffffff;
	--ltc-btn-radius: 14px;
	--ltc-btn-bg: #ffffff;
	--ltc-btn-border: #ffffff;
	--ltc-btn-text: #111111;
	--ltc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	min-height: 100vh;
	width: 100%;
	background: var(--ltc-bg);
	color: var(--ltc-text);
	font-family: var(--ltc-font);
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	padding: 48px 20px 24px;
}

.ltc-page * {
	box-sizing: border-box;
}

.ltc-page-inner {
	width: 100%;
	max-width: 560px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ltc-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 28px;
}

.ltc-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 16px;
	box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.ltc-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.15);
	font-size: 36px;
	font-weight: 600;
	text-transform: uppercase;
}

.ltc-display-name {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.3;
}

.ltc-bio {
	font-size: 15px;
	line-height: 1.5;
	opacity: 0.9;
	margin: 0 0 16px;
	max-width: 440px;
}

.ltc-bio p {
	margin: 0 0 8px;
}

.ltc-bio p:last-child {
	margin-bottom: 0;
}

.ltc-bio a {
	color: inherit;
	text-decoration: underline;
}

.ltc-social-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 4px;
}

.ltc-social-icon {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	opacity: 0.85;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.ltc-social-icon:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.ltc-social-icon svg {
	width: 22px;
	height: 22px;
}

.ltc-links {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ltc-link-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 20px;
	border-radius: var(--ltc-btn-radius);
	background: var(--ltc-btn-bg);
	border: 2px solid var(--ltc-btn-border);
	color: var(--ltc-btn-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
	position: relative;
}

.ltc-link-btn:hover {
	transform: scale(1.015);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.ltc-link-btn:active {
	transform: scale(0.99);
}

.ltc-link-icon {
	width: 24px;
	height: 24px;
	border-radius: 5px;
	object-fit: cover;
	position: absolute;
	left: 16px;
}

.ltc-link-label {
	overflow-wrap: anywhere;
}

/* Section header dividers (grouping links) */
.ltc-section-header {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0 -2px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.85;
	text-align: center;
}

.ltc-section-header::before,
.ltc-section-header::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: currentColor;
	opacity: 0.3;
}

.ltc-links > .ltc-section-header:first-child {
	margin-top: 0;
}

/* Grid link layout — 2-column image-forward tiles, an alternative to the
   classic vertical button list, chosen per-page in the Appearance box. */
.ltc-links-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.ltc-links-grid .ltc-section-header {
	grid-column: 1 / -1;
}

.ltc-link-tile {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.94);
	color: #16161a;
	border-radius: var(--ltc-btn-radius);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ltc-link-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.ltc-link-tile-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: #f2f2f2;
	overflow: hidden;
}

.ltc-link-tile-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ltc-link-tile-image-placeholder {
	width: 30%;
	height: 30%;
	color: #b6b6bb;
}

.ltc-link-tile-label {
	padding: 10px 12px 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	overflow-wrap: anywhere;
}

.ltc-empty-note {
	text-align: center;
	opacity: 0.8;
}

.ltc-empty-note a {
	color: inherit;
	text-decoration: underline;
}

.ltc-footer {
	margin-top: 36px;
	font-size: 12px;
	opacity: 0.55;
	text-align: center;
}

/* Featured Travel Deals section */
.ltc-deals-section {
	width: 100%;
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ltc-deals-heading {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.85;
	margin: 0 0 14px;
	text-align: center;
}

.ltc-deals-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ltc-deal-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.94);
	color: #16161a;
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ltc-deal-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.ltc-deal-card-image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: #f2f2f2;
	overflow: hidden;
}

.ltc-deal-card-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ltc-deal-card-image-placeholder {
	width: 26%;
	height: 26%;
	color: #b6b6bb;
}

.ltc-deal-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(17, 17, 17, 0.78);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 999px;
	z-index: 1;
}

.ltc-deal-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 16px;
}

.ltc-deal-card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.ltc-deal-card-desc {
	font-size: 13px;
	line-height: 1.5;
	color: #3f3f45;
}

.ltc-deal-card-desc p {
	margin: 0 0 8px;
}

.ltc-deal-card-desc p:last-child {
	margin-bottom: 0;
}

.ltc-deal-card-desc ul,
.ltc-deal-card-desc ol {
	margin: 0 0 8px;
	padding-left: 20px;
}

.ltc-deal-card-desc h4 {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
}

.ltc-deal-card-desc a {
	color: #0a5ad6;
	text-decoration: underline;
}

.ltc-deal-card-price {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}

.ltc-deal-card-cta {
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: var(--ltc-btn-radius);
	background: var(--ltc-btn-bg);
	border: 2px solid var(--ltc-btn-border);
	color: var(--ltc-btn-text);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	text-align: center;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ltc-deal-card-cta:hover {
	transform: scale(1.015);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

@media (min-width: 480px) {
	.ltc-deals-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Amazon affiliate "shop" section */
.ltc-amazon-section {
	width: 100%;
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ltc-amazon-heading {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.85;
	margin: 0 0 14px;
	text-align: center;
}

.ltc-amazon-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.ltc-amazon-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.94);
	color: #16161a;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ltc-amazon-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.ltc-amazon-card-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: #f2f2f2;
	overflow: hidden;
}

.ltc-amazon-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 10px;
	box-sizing: border-box;
}

.ltc-amazon-card-image-placeholder {
	width: 36%;
	height: 36%;
	color: #b6b6bb;
}

.ltc-amazon-card-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 12px 12px;
	flex: 1;
}

.ltc-amazon-card-title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ltc-amazon-card-desc {
	font-size: 12px;
	line-height: 1.4;
	color: #55555b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ltc-amazon-card-footer {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ltc-amazon-card-price {
	font-size: 13px;
	font-weight: 700;
}

.ltc-amazon-card-cta {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #c45500;
	white-space: nowrap;
}

.ltc-amazon-disclosure {
	margin: 16px 0 0;
	font-size: 11px;
	line-height: 1.5;
	opacity: 0.65;
	text-align: center;
}

@media (min-width: 480px) {
	.ltc-amazon-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.ltc-rss-articles-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* RSS / podcast feed sections */
.ltc-rss-section {
	width: 100%;
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ltc-rss-heading {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.85;
	margin: 0 0 14px;
	text-align: center;
}

/* Podcast layout — a branded show header plus a list of episode cards,
   each with its own native audio player. */
.ltc-podcast-header {
	display: flex;
	align-items: center;
	gap: 14px;
	background: rgba(255, 255, 255, 0.94);
	color: #16161a;
	border-radius: 14px;
	padding: 14px;
	margin-bottom: 14px;
}

.ltc-podcast-cover {
	width: 72px;
	height: 72px;
	flex: 0 0 auto;
	border-radius: 10px;
	object-fit: cover;
}

.ltc-podcast-header-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ltc-podcast-header-text .ltc-rss-heading {
	margin: 0;
	text-align: left;
}

.ltc-podcast-show-title {
	margin: 0;
	font-size: 13px;
	opacity: 0.75;
	overflow-wrap: anywhere;
}

.ltc-podcast-episodes {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ltc-podcast-episode {
	display: flex;
	gap: 12px;
	background: rgba(255, 255, 255, 0.94);
	color: #16161a;
	border-radius: 14px;
	padding: 12px;
}

.ltc-podcast-episode-art {
	width: 64px;
	height: 64px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #f2f2f2;
	overflow: hidden;
}

.ltc-podcast-episode-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ltc-podcast-episode-art-placeholder {
	width: 50%;
	height: 50%;
	color: #b6b6bb;
}

.ltc-podcast-episode-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ltc-podcast-episode-title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.ltc-podcast-episode-meta {
	margin: 0;
	display: flex;
	gap: 4px;
	font-size: 11px;
	color: #6b6b72;
}

.ltc-podcast-player {
	width: 100%;
	height: 32px;
}

.ltc-podcast-episode-desc {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #3f3f45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ltc-podcast-episode-link {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #0a5ad6;
	text-decoration: none;
}

.ltc-podcast-episode-link:hover {
	text-decoration: underline;
}

/* General (blog/news) layout — an article-card grid, same visual language
   as the Amazon products grid but with landscape thumbnails. */
.ltc-rss-source {
	margin: -8px 0 14px;
	font-size: 12px;
	opacity: 0.75;
	text-align: center;
}

.ltc-rss-articles-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.ltc-rss-article-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.94);
	color: #16161a;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ltc-rss-article-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.ltc-rss-article-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: #f2f2f2;
	overflow: hidden;
}

.ltc-rss-article-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ltc-rss-article-image-placeholder {
	width: 30%;
	height: 30%;
	color: #b6b6bb;
}

.ltc-rss-article-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 12px 12px;
	flex: 1;
}

.ltc-rss-article-title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ltc-rss-article-date {
	font-size: 11px;
	color: #8a8a90;
}

.ltc-rss-article-excerpt {
	font-size: 12px;
	line-height: 1.4;
	color: #55555b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Share button + "Share this page" modal */
.ltc-share-trigger {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 60;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ltc-btn-bg);
	border: 2px solid var(--ltc-btn-border);
	color: var(--ltc-btn-text);
	cursor: pointer;
	padding: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	transition: transform 0.12s ease;
}

.ltc-share-trigger:hover {
	transform: scale(1.06);
}

.ltc-share-trigger svg {
	width: 20px;
	height: 20px;
}

.ltc-share-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.ltc-share-overlay[hidden] {
	display: none;
}

.ltc-share-modal {
	width: 100%;
	max-width: 420px;
	max-height: 86vh;
	overflow-y: auto;
	background: rgba(255, 255, 255, 0.98);
	color: #16161a;
	border-radius: 20px 20px 0 0;
	padding: 28px 22px 24px;
	position: relative;
	box-sizing: border-box;
	font-family: var(--ltc-font);
}

@media (min-width: 560px) {
	.ltc-share-overlay {
		align-items: center;
	}
	.ltc-share-modal {
		border-radius: 20px;
	}
}

.ltc-share-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f2f2;
	border: none;
	color: #16161a;
	cursor: pointer;
	padding: 0;
}

.ltc-share-close svg {
	width: 16px;
	height: 16px;
}

.ltc-share-modal-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 4px 0 22px;
}

.ltc-share-modal-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 10px;
}

.ltc-share-modal-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f2f2;
	font-size: 24px;
	font-weight: 600;
	text-transform: uppercase;
	color: #16161a;
}

.ltc-share-modal-name {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 2px;
}

.ltc-share-modal-url {
	font-size: 13px;
	color: #6b7280;
	margin: 0;
	word-break: break-all;
}

.ltc-share-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px 8px;
}

.ltc-share-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: #16161a;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font: inherit;
}

.ltc-share-icon-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e5e7eb;
	color: #16161a;
	flex: 0 0 auto;
}

.ltc-share-icon-circle svg {
	width: 22px;
	height: 22px;
}

.ltc-share-icon-copy {
	background: var(--ltc-btn-bg);
	color: var(--ltc-btn-text);
	border: 2px solid var(--ltc-btn-border);
}

.ltc-share-item-label {
	font-size: 11px;
	text-align: center;
	line-height: 1.3;
	max-width: 70px;
}

.ltc-share-copied .ltc-share-item-label {
	font-weight: 700;
}

@media (max-width: 360px) {
	.ltc-share-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 400px) {
	.ltc-page {
		padding: 32px 14px 20px;
	}
	.ltc-display-name {
		font-size: 20px;
	}
	.ltc-share-trigger {
		top: 12px;
		right: 12px;
	}
}
